Sorry, the site is down for maintenance."; //Connect to database include("/home/shopping/public_html/integration/uus.php"); include("/home/shopping/public_html/functions.php"); include("/home/shopping/public_html/functions-displays.php"); include("/home/shopping/public_html/ratings/_drawrating.php"); include("/home/shopping/public_html/wp-includes/functions-formatting.php"); include("/home/shopping/public_html/tidytidy.php"); include("/home/shopping/public_html/index-ebay.php"); //-------------------------------------- //Get the userid if(authenticateUser()) {$userID = getUserID(); $userInfo = getUserInfo(); $usIn = $userInfo['admin'];} $referer = (isset($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : ""; //-------------------------------------- if ($qType != "") {include("/home/shopping/public_html/querypages.php");} //-------------------------------------- //send to the appropriate table and pic folder if ($prefix == "book_") {$folder = "books"; $pref = "book"; $caturl = "cat/books/"; $prcat ="br/"; $titextra = " Book";} elseif ($prefix == "movie_") {$folder = "movies"; $pref = "movie"; $caturl = "cat/movies/"; $prcat ="vr/"; $titextra = " DVD";} elseif ($prefix == "music_") {$folder = "music"; $pref = "music"; $caturl = "cat/music/"; $prcat ="mr/"; $titextra = " CD";} elseif ($prefix == "") {$folder = "products"; $pref = "product"; $caturl = ""; $prcat ="pr/"; $titextra = "";} else {$folder = "products"; $pref = "product"; $caturl = ""; $prcat ="pr/"; $titextra = "";} //if($usIn ==1){echo "prefix $prefix";} //-------------------------------------------------------------- //if($usIn != 1){include("/home/shopping/public_html/errormailsender.php");} //start buffer ob_start(); //-------------------------------------------------------------- //Set some defaults and do some protection if($catNice == "") { $cat = 0; $titleExtra = "Compare Prices at Shopping Nexus"; $metaKeyExtra = "Online Shopping, Comparison Shopping, Compare Prices, Product Reviews, Lowest Price, Shop Online, ShoppingNexus.com, Shop, Save"; $metaDescExtra = "Compare Prices at Shopping Nexus. We let you comparison shop, read product reviews, & save. Let us find the lowest price when you shop online."; $catDesc2 = "products"; $page_name = "home"; $fbinit = ""; $fbscriptfoot = ""; $origcatDesc = "Compare Prices"; $titleExtra2 = "Compare Prices"; } //-------------------------------------- //elseif($catNice != "") {include("/home/shopping/public_html/headermeta.php");} //-------------------------------------- //Include the header if ($usIn == "1"){echo "
Admin Mode Logout
";} //-------------------------------------- include("/home/shopping/public_html/header.php"); //include("/home/shopping/public_html/banners.php"); //-------------------------------------- //begin content div echo "
"; echo "
"; echo "

Compare Prices and Save

"; echo "
"; echo "
"; //No Listings //--------------------------------------------------------------- $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; $pageURL2 = $_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; $pageURL2 = $_SERVER["REQUEST_URI"]; } if($pageURL == ""){$pageURL = "http://www.shoppingnexus.com";} $currentpage = $pageURL2; $currentpage = str_replace(".html","",$currentpage); $currentpage = str_replace(".htm","",$currentpage); $currentpage = str_replace(".jpg","",$currentpage); $currentpage = str_replace(".gif","",$currentpage); $currentpage = str_replace(".php","",$currentpage); $currentpage = str_replace("-thumb","",$currentpage); $curpagear = explode("/",$currentpage); if($curpagear[0] == "images") { if($curpagear[1] == "thumbs") { $prodNice = $curpagear[3]; } else { $prodNice = $curpagear[4]; } //-------------------------------------- //send to the appropriate table and pic folder if($curpagear[1] == "books") {$folder = "books"; $pref = "book"; $caturl = "cat/books/"; $prcat ="br/"; $titextra = " Book";} elseif($curpagear[1] == "movies") {$folder = "movies"; $pref = "movie"; $caturl = "cat/movies/"; $prcat ="vr/"; $titextra = " DVD";} elseif($curpagear[1] == "music") {$folder = "music"; $pref = "music"; $caturl = "cat/music/"; $prcat ="mr/"; $titextra = " CD";} elseif($curpagear[1] == "products") {$folder = "products"; $pref = "product"; $caturl = ""; $prcat ="pr/"; $titextra = "";} else {$folder = "products"; $pref = "product"; $caturl = ""; $prcat ="pr/"; $titextra = "";} //if($usIn ==1){echo "prefix $prefix";} //-------------------------------------------------------------- if($prodNice != "") { //get the product $productinforesult = query("SELECT ".$prefix."product_id, ".$prefix."product_name, ".$prefix."product_image_url FROM ".$prefix."data_feed_products WHERE ".$prefix."product_nicename='$prodNice' LIMIT 1",$dir_link); list($productID,$prodTitle,$productImageUrl) = mysql_fetch_row($productinforesult); //--------------------------------------------------------------------------------------- //image $mainimg = "/home/shopping/public_html/images/".$folder."/".$prodNicename.".jpg"; $thumbimagefile = "/home/shopping/public_html/images/thumbs/".$folder."/".$prodNicename."-thumb.jpg"; $mainimgsize = 0; $thumbimgsize = 0; $mainimagefileexists = 0; $thumbimagefileexists = 0; $timgwidth = ""; $imgwidth = ""; $imgheight = ""; $imgtype = ""; $imgattr = ""; //---------------------------------- if(@file_exists($mainimg)) { list($imgwidth, $imgheight, $imgtype, $imgattr) = @getimagesize($mainimg); $mainimgsize = @filesize($mainimg); $mainimagefileexists = 1; } if(@file_exists($thumbimagefile)) { list($timgwidth, $timgheight, $timgtype, $timgattr) = @getimagesize($thumbimagefile); $thumbimgsize = @filesize($thumbimagefile); $thumbimagefileexists = 1; } //---------------------------------- if($productImageUrl != "" && strstr('$productImageUrl',"noimg")===FALSE && ($mainimgsize < 1000 || $mainimagefileexists == 0)) { processImagez($prefix, $prodNicename, $productImageUrl); if(@file_exists($mainimg)) { list($imgwidth, $imgheight, $imgtype, $imgattr) = @getimagesize($mainimg); $mainimgsize = @filesize($mainimg); $mainimagefileexists = 1; create_thumbnail($mainimg, $thumbimagefile, 100, $prodNicename); if(@file_exists($thumbimagefile)) { list($timgwidth, $timgheight, $timgtype, $timgattr) = @getimagesize($thumbimagefile); $thumbimgsize = @filesize($thumbimagefile); $thumbimagefileexists = 1; if($timgwidth == ""){$timgwidth = "100";} if($timgheight == ""){$timgheight = "100";} } } } if(($thumbimagefileexists == 0 || $thumbimgsize < 1000) && $mainimagefileexists == 1) { create_thumbnail($mainimg, $thumbimagefile, 100, $prodNicename); if(@file_exists($thumbimagefile)) { list($timgwidth, $timgheight, $timgtype, $timgattr) = @getimagesize($thumbimagefile); $thumbimgsize = @filesize($thumbimagefile); $thumbimagefileexists = 1; if($timgwidth == ""){$timgwidth = "100";} if($timgheight == ""){$timgheight = "100";} } } if($timgwidth == ""){$timgwidth = "100";} if($timgheight == ""){$timgheight = "100";} if($imgwidth == ""){$imgwidth = "500";} if($imgheight == ""){$imgheight = "500";} //---------------------------------------------------------------------------------------------- } } //--------------------------------------------------------------- echo "

Sorry, You've reached a page that's not available

"; //echo "

currentpage $currentpage

"; echo " "; echo "
"; //if($bannerBottom != "") { echo "
$bottomBannerImage
"; } echo "
";//end contentmain echo "
";//end post content echo "
";//end content include("/home/shopping/public_html/sidebar.php"); echo "
"; echo "
"; //end float-wrap //include("/home/shopping/public_html/rightbar.php"); //echo "
"; //echo "
"; echo "
";//end inner echo "
";//end outer //----------------------------------------------------------------------- //footer echo "
"; echo "
 
"; $disclaimer="".disclaimer().""; if($userInfo['admin'] != 'ssss') { echo "
"; } if ($page_name == "homezzzzzzzz") { echo "
"; echo "$disclaimer"; echo "
"; } //if(authenticateUser()) {echo "
  • Logout
  • ";} //else {echo \"
  • Login
  • \";} $copyYear = date("Y"); echo "
    Copyright {$copyYear}. All Rights Reserved

    Thank you for Comparison shopping.
     
    "; echo " "; if($prefix==""){$sprefix="";} elseif($prefix=="book_"){$sprefix="book_";} elseif($prefix=="movie_"){$sprefix="movie_";} elseif($prefix=="music_"){$sprefix="music_";} echo "
    "; echo " "; echo " "; //echo "";//end inner //echo "";//end outer //----------------------------------------------------------------------- $tidyhtml = ob_get_contents(); $tidyhtml = tidytidy($tidyhtml,$scripts,$referer); //$tidyhtml = "".$tidyhtml."".$scripts.""; // || $referer != "" ob_end_clean(); if($usIn == 1) { $config = array( 'indent' => true, 'output-xhtml' => true, 'wrap' => 100 ); $tidyhtml = tidy_repair_string( $tidyhtml, $config, 'utf8' ); } $config = array( 'indent' => true, 'output-xhtml' => true, 'wrap' => 100 ); $tidyhtml = tidy_repair_string( $tidyhtml, $config, 'utf8' ); echo $tidyhtml; //----------------------------------------------------------- ?>