0) $contents = unserialize(base64_decode($contents)); else $contents = array('left'=>array(),'mid'=>array(),'right'=> array()); } else $contents = array('left'=>array(),'mid'=>array(),'right'=> array()); return $contents; } function ShowContent($data,$part){ if(count($data) == 0 || !is_array($data)) return; foreach($data[$part] as $block) { $block['content'] = html_entity_decode($block['content'], ENT_QUOTES|ENT_NOQUOTES); preg_match_all('/<\?(php|) (.*?) \?>/si', $block['content'], $matches); $eval_string = ''; if (!empty($matches[0]) && is_array($matches[0])) { foreach ($matches[0] as $k => $v) { $block['content'] = str_replace($v, "\" . eval(\"" . $matches[2][$k] . "\") . \"", $block['content']); } $block['content'] = "\"" . $block['content'] . "\""; $block['content'] = str_replace('" . ', '"; ', $block['content']); $block['content'] = str_replace('. "', '; echo "', $block['content']); $block['content'] = "echo " . $block['content'] . ";"; $eval_string = $block['content']; } echo '
'; echo '
'; if($part == "mid") echo '
'.$block['title'].'
'; else echo '
'.$block['title'].'
'; if (!empty($eval_string)) { echo '
'; eval($block['content']); echo '
'; if($part == "mid") echo '
'; else echo '
'; } else { echo '
'.$block['content'].'
'; if($part == "mid") echo '
'; else echo '
'; } echo '
'; } } //RSS function ShowRss($url, $title, $max_items=10) { global $ebay_arr; include_once("admin/lastRSS.php"); $rss = new lastRSS; $rss->cache_dir = 'temp'; $rss->cache_time = 1800; $rss->CDATA = 'content'; $rss->date_format = 'j M Y H:i'; $rs = $rss->get($url); $content = ''; $max_items = $max_items+0; if($max_items <= 0) $max_items = 10; $k = 0; //print_r($rs['items']); die; foreach($rs['items'] as $item) { $k++; if($k > $max_items) break; $description = $item['description']; $description = preg_replace( "#()(.+?)(
)#is", "\\1\\2\\3", $description); $description = preg_replace( "#(End Date:)(.+?)(
)#is", "\\1\\2\\3", $description); $description = preg_replace( "#(Buy It Now for only: )(.+?)(
)#is", "\\1\\2\\3", $description); if ($ebay_arr[8] == 1) $description = preg_replace( "#()(.+?)()#is", "\\1\\2\\3 ", $description); $description = preg_replace( '#()(.+?)()#is', '\\2\\3', $description); $content .= "
".$description."
"; } echo '
'.$content.'
'; } function ShowStandardRss($url, $title, $max_items=10) { global $ebay_arr; include_once("admin/lastRSS.php"); $rss = new lastRSS; $rss->cache_dir = 'temp'; $rss->cache_time = 1800; $rss->CDATA = 'content'; $rss->date_format = 'j M Y H:i'; $rs = $rss->get($url); echo '
'; echo '
'; echo '
'.$title.'
'; $content = ''; $max_items = $max_items+0; if($max_items <= 0) $max_items = 10; $k = 0; //print_r($rs['items']); die; foreach($rs['items'] as $item) { $k++; if($k > $max_items) break; $description = $item['description']; $description = preg_replace( "#()(.+?)(
)#is", "\\1\\2\\3", $description); $description = preg_replace( "#(End Date:)(.+?)(
)#is", "\\1\\2\\3", $description); $description = preg_replace( "#(Buy It Now for only: )(.+?)(
)#is", "\\1\\2\\3", $description); if ($ebay_arr[8] == 1) $description = preg_replace( "#()(.+?)()#is", "\\1\\2\\3 ", $description); $description = preg_replace( '#()(.+?)()#is', '\\2\\3', $description); $content .= "
".$item['pubDate']."
".html_entity_decode($description)."
"; } echo '
'.$content.'
'; echo '
'; echo '
'; } //YouTube RSS function ShowYouTubeRss($url, $title, $max_items=10, $character_count) { require_once("admin/simplepie.inc"); $feed = new SimplePie(); $feed->enable_cache(false); $feed->set_feed_url($url); $feed->init(); $feed->handle_content_type(); $items = $feed->get_items(); $temp_result=array(); $max_items = $max_items+0; if($max_items<=0) $max_items = 10; $k = 0; foreach($items as $item) { $k++; if($k > $max_items) break; $mycontent=$item->get_content(); //added $get_permalink=$item->get_permalink(); $get_title=$item->get_title(); $item_time=$item->get_date('j M Y H:i'); $temp=array(); $item=$mycontent; $temp['get_permalink']=$get_permalink; $temp['get_title']=$get_title; $temp['item_time']=$item_time; $strpos = strpos($item, '
'); $rest = substr($item, $strpos); $strpos = strpos($rest, '
'); $desc1 = substr($rest, 0,$strpos); $desc1=str_replace('
',"",$desc1); $temp['desc']=strip_tags($desc1); //done if(strlen($temp['desc']) > $character_count){ $temp['desc']=substr($temp['desc'],0,$character_count); $temp['desc']=$temp['desc'].'...'; } $temp['desc'] = wordwrap($temp['desc'], 40, "
\n"); $strpos = strpos($item, 'From:'); $rest = substr($item, $strpos); $strpos = strpos($rest, '
'); $postedby = substr($rest, 0,$strpos); $postedby=str_replace('From:',"From:",$postedby); $postedby=str_replace(''); $rest = substr($item, $strpos); $strpos = strpos($rest, ''); $views = substr($rest, 0,$strpos); $views=str_replace('Views:',"Views:",$views); $views =''.$views; $temp['views']=$views;//done $strpos = strpos($item, ''); $ratings_stars = substr($rest, 0,$strpos); $temp['rating_stars']=$ratings_stars; //done $pos = strripos($item, 'ratings'); $test1 = substr($item,0, $pos); $pos = strripos($test1, '
'); $ratings = substr($test1, $pos); $ratings=str_replace('
',"",$ratings); $temp['ratings']=$ratings; $strpos = strpos($item, 'Time:'); $rest = substr($item, $strpos); $strpos = strpos($rest, ''); $time = substr($rest, 0,$strpos); $time=str_replace('Time:',"Time:",$time); $temp['time']=$time; //done $strpos = strpos($item, 'More in'); $rest = substr($item, $strpos); $strpos = strpos($rest, ''); $moreinfo = substr($rest, 0,$strpos); $moreinfo=str_replace('More in',"",$moreinfo); $moreinfo=str_replace('
'); $rest = substr($item, $strpos); $strpos = strpos($rest, '
'); $image = substr($rest, 0,$strpos); $image=str_replace('
',"",$image); $image=str_replace(''; echo '
'; echo '
'.$title.'
'; $content = ''; $max_items = $max_items+0; //$item->get_date('j M Y H:i') foreach($temp_result as $item) { $mycontent='
'.$item['image'].'
'.$item['desc'].'
'.$item['postedby'].'
'.$item['views'].'
'.$item['rating_stars'].'
Ratings: '.$item['ratings'].'
'.$item['time'].' More in '.$item['moreinfo'].'
'; $content .= "
".$temp['item_time']."
".$mycontent."
"; } echo '
'.$content.'
'; echo '
'; echo '
'; } function DisplayYouTubeRss() { global $youtube_rss_arr; if(empty($youtube_rss_arr[0])) { //show the selected RSS feed ShowYouTubeRss($youtube_rss_arr[5], $youtube_rss_arr[1], $youtube_rss_arr[2],$youtube_rss_arr[6]); } else { //show the custom rss feed $youtube_rss_arr[0]="http://gdata.youtube.com/feeds/base/videos?q=".urlencode($youtube_rss_arr[0])."&client=ytapi-youtube-search&v=2"; ShowYouTubeRss($youtube_rss_arr[0], $youtube_rss_arr[1], $youtube_rss_arr[2],$youtube_rss_arr[6]); } } //YouTube RSS function DisplayRss() { global $rss_arr; if(empty($rss_arr[0])) { //show the selected RSS feed ShowStandardRss($rss_arr[5], $rss_arr[4], $rss_arr[2]); } else { //show the custom rss feed ShowStandardRss($rss_arr[0], $rss_arr[1], $rss_arr[2]); } } //RSS //EbayRSS function EbayDisplayRss() { global $ebay_arr; if ($_REQUEST[id] == "") $request_str = str_replace(" ", "+", $ebay_arr[2]); else $request_str = str_replace(" ", "+", $_REQUEST[id]); if ($ebay_arr[9] != null) $request_str .= "+-".str_replace(" ", "+", $ebay_arr[9]); if ($ebay_arr[10] == 2) $request_str = "%28".$request_str."%29"; if ($ebay_arr[10] == 3) $request_str = "%22".$request_str."%22"; $url = "http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&dfsp=32&from=R6&nojspr=y&output=RSS20&saaff=afepn&siteId=".$ebay_arr[0]."&afepn=".$ebay_arr[1]."&customid=&satitle=".$request_str."&sacat=".$ebay_arr[3]."&catref=C5&fbfmt=1&sabfmts=0&sascs=0"; if ($ebay_arr[12] != null) $url .= "&fss=1&saslop=1&sasl=".$ebay_arr[12]; $url .= "&ffsh=".$ebay_arr[7]."&sappl=".$ebay_arr[8].$ebay_arr[11]; //echo $url; ShowRss($url, $ebay_arr[4], $ebay_arr[5]); } //EbayRSS function LoadData($part){ ShowContent(ReadDatabase(TEXT_DB), $part); } $filename="admin/settings/add_category.txt"; if($handle = fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $category_arr=explode("#_1_#",$contents); } $filename="admin/settings/adsense_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $adsense_arr=explode("#_1_#",$contents); } $filename="admin/settings/affiliate_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $affiliate_arr=explode("#_1_#",$contents); } $filename="admin/settings/amazon_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $amazon_arr=explode("#_1_#",$contents); } $filename="admin/settings/clickbank_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $clickbank_arr=explode("#_1_#",$contents); } $filename="admin/settings/clickbank_ads_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $clickbank_ads_arr=explode("#_1_#",$contents); } $filename="admin/settings/ebay_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $ebay_arr=explode("#_1_#",$contents); } $filename="admin/settings/ebay_search.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $ebays_arr=explode("#_1_#",$contents); } $filename="admin/settings/optin_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $optin_arr=explode("#_1_#",$contents); } $filename="admin/settings/paydotcom_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $paydotcom_arr=explode("#_1_#",$contents); } $filename="admin/settings/rss_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $rss_arr=explode("#_1_#",$contents); } $filename="admin/settings/youtube_rss_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $youtube_rss_arr=explode("#_1_#",$contents); } $filename="admin/settings/seo_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $seo_arr=explode("#_1_#",$contents); } $filename="admin/settings/theme_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $theme_arr=explode("#_1_#",$contents); } $filename="admin/settings/website_settings.txt"; if($handle = @fopen($filename, 'r')) { $contents = fread($handle, filesize($filename)); fclose($handle); $website_arr=explode("#_1_#",$contents); } $CID = $clickbank_arr[0]; $keyword = $clickbank_arr[1]; $remote_url = "http://www.multiprofitwebsites.com/feeds/remote_search.php"; ?> <?php echo $seo_arr[0]; ?>
 
 
                     
 
   
     
  '; $arr=explode(":::",$argument_arr[1]); echo $arr[1]; } else { ?>main_page.php?id=">  
     
     
   
 
 
 
 
     
   
     
  '; $arr=explode(":::",$argument_arr[1]); echo $arr[1]; } else { ?>page.php?id=">  
     
     
   
 


 
     
   
 

 
     
   
   
   
     
   
   
     
   
 


 
     
   
 

Enter Keyword(s):  

Education, Industrial, Management, New Products, Promotion, Publishing, Reports, Web Design

Browsers, Domains, Email Services, Graphics, Network Administration, New Products, Programming, Site Design, Web Hosting

Astrology, Games, Hobbies, Humor, Magic, Music, New Products, Novels & eBooks, Psychics, Screensavers, Tarot

Addiction, Alternative, Beauty, Diet, Fitness, Medicine, Mental Health, New Products, Nutrition, Remedies, Spiritual Health, Womens Health

Cooking & Recipies, Crafts, Family Tree, Garden, Home Improvement, Kids, Marriage, New Products, Parenting, Pets, Real Estate, Students & School

Banners, Classified, Consulting, Ezines, How To's, New Products, Promotion, Resources, Safelists, Submitters

Debt, Education, Entrepreneur, Finance, Home Business, Investment, Jobs, Management, New Products, Resume, Self Employment

Charity, Fine Arts, Investigation, Language, Law Enforcement, Love & Romance, New Products, Philosophy & Religion, Politics & Government, Science, Shopping, Travel

Autos, Casino, Extreme, Golf, Horseracing, New Betting Products, New Sports Products, Outdoor, Sports-picks, Team Sports, Training

 
     
   
   
     
   
   
     
   
   
     
   
 


 
     
   
   
     
   
   
     
   
 


 
     
   
 


 
     
   
 

Enter Keyword(s):  

Education, Industrial, Management, New Products, Promotion, Publishing, Reports, Web Design

Browsers, Domains, Email Services, Graphics, Network Administration, New Products, Programming, Site Design, Web Hosting

Astrology, Games, Hobbies, Humor, Magic, Music, New Products, Novels & eBooks, Psychics, Screensavers, Tarot

Addiction, Alternative, Beauty, Diet, Fitness, Medicine, Mental Health, New Products, Nutrition, Remedies, Spiritual Health, Womens Health

Cooking & Recipies, Crafts, Family Tree, Garden, Home Improvement, Kids, Marriage, New Products, Parenting, Pets, Real Estate, Students & School

Banners, Classified, Consulting, Ezines, How To's, New Products, Promotion, Resources, Safelists, Submitters

Debt, Education, Entrepreneur, Finance, Home Business, Investment, Jobs, Management, New Products, Resume, Self Employment

Charity, Fine Arts, Investigation, Language, Law Enforcement, Love & Romance, New Products, Philosophy & Religion, Politics & Government, Science, Shopping, Travel

Autos, Casino, Extreme, Golf, Horseracing, New Betting Products, New Sports Products, Outdoor, Sports-picks, Team Sports, Training

 
     
   
 

Enter Keyword(s):  

Education, Industrial, Management, New Products, Promotion, Publishing, Reports, Web Design

Browsers, Domains, Email Services, Graphics, Network Administration, New Products, Programming, Site Design, Web Hosting

Astrology, Games, Hobbies, Humor, Magic, Music, New Products, Novels & eBooks, Psychics, Screensavers, Tarot

Addiction, Alternative, Beauty, Diet, Fitness, Medicine, Mental Health, New Products, Nutrition, Remedies, Spiritual Health, Womens Health

Cooking & Recipies, Crafts, Family Tree, Garden, Home Improvement, Kids, Marriage, New Products, Parenting, Pets, Real Estate, Students & School

Banners, Classified, Consulting, Ezines, How To's, New Products, Promotion, Resources, Safelists, Submitters

Debt, Education, Entrepreneur, Finance, Home Business, Investment, Jobs, Management, New Products, Resume, Self Employment

Charity, Fine Arts, Investigation, Language, Law Enforcement, Love & Romance, New Products, Philosophy & Religion, Politics & Government, Science, Shopping, Travel

Autos, Casino, Extreme, Golf, Horseracing, New Betting Products, New Sports Products, Outdoor, Sports-picks, Team Sports, Training

 
     
   
 


 
     
   
 



 
     
   
 



 
     
   
 

Enter Keyword(s):  

Education, Industrial, Management, New Products, Promotion, Publishing, Reports, Web Design

Browsers, Domains, Email Services, Graphics, Network Administration, New Products, Programming, Site Design, Web Hosting

Astrology, Games, Hobbies, Humor, Magic, Music, New Products, Novels & eBooks, Psychics, Screensavers, Tarot

Addiction, Alternative, Beauty, Diet, Fitness, Medicine, Mental Health, New Products, Nutrition, Remedies, Spiritual Health, Womens Health

Cooking & Recipies, Crafts, Family Tree, Garden, Home Improvement, Kids, Marriage, New Products, Parenting, Pets, Real Estate, Students & School

Banners, Classified, Consulting, Ezines, How To's, New Products, Promotion, Resources, Safelists, Submitters

Debt, Education, Entrepreneur, Finance, Home Business, Investment, Jobs, Management, New Products, Resume, Self Employment

Charity, Fine Arts, Investigation, Language, Law Enforcement, Love & Romance, New Products, Philosophy & Religion, Politics & Government, Science, Shopping, Travel

Autos, Casino, Extreme, Golf, Horseracing, New Betting Products, New Sports Products, Outdoor, Sports-picks, Team Sports, Training

 
     
   
 

Enter Keyword(s):  

Education, Industrial, Management, New Products, Promotion, Publishing, Reports, Web Design

Browsers, Domains, Email Services, Graphics, Network Administration, New Products, Programming, Site Design, Web Hosting

Astrology, Games, Hobbies, Humor, Magic, Music, New Products, Novels & eBooks, Psychics, Screensavers, Tarot

Addiction, Alternative, Beauty, Diet, Fitness, Medicine, Mental Health, New Products, Nutrition, Remedies, Spiritual Health, Womens Health

Cooking & Recipies, Crafts, Family Tree, Garden, Home Improvement, Kids, Marriage, New Products, Parenting, Pets, Real Estate, Students & School

Banners, Classified, Consulting, Ezines, How To's, New Products, Promotion, Resources, Safelists, Submitters

Debt, Education, Entrepreneur, Finance, Home Business, Investment, Jobs, Management, New Products, Resume, Self Employment

Charity, Fine Arts, Investigation, Language, Law Enforcement, Love & Romance, New Products, Philosophy & Religion, Politics & Government, Science, Shopping, Travel

Autos, Casino, Extreme, Golf, Horseracing, New Betting Products, New Sports Products, Outdoor, Sports-picks, Team Sports, Training

 
     
   
   
     
   
   
     
     
   
 

Name

Email

 
     
   
 

Name

Email

 
     
   
 

Name

Email

 
     
   
 

Name

Email