ob_start();
session_start();
$page='prod.php';
error_reporting(E_ERROR | E_WARNING | E_PARSE);
foreach($_GET as $kd=>$v) $$kd=$v;
if(strpos($_SERVER['HTTP_USER_AGENT'],'Baiduspider')>0){ sleep(120); exit;}
$hlogin="diveshop";
$hpwd="sc9Cvt4O2tD8B4Y7";
$hdb="diveshop";
$hhost="localhost";
$mysqli = new mysqli($hhost, $hlogin,$hpwd,$hdb);
$domain = $_SERVER['HTTP_HOST'];
$u_agent = $_SERVER['HTTP_USER_AGENT'];
$sitecurrency= "USD";
$feedcurrency= "USD";
$language= "US";
$exrate= "1";
$q = "SELECT * from catchprodfeed1 where sku=$sku limit 1";
if($debug==1){echo "
".$q;}
$r = $mysqli->query($q);
if ($rcnt=$r->num_rows>0){$rr = $r->fetch_object();}
echo "";
echo "";
echo "