]]>Sun, 25 Jul 2010 07:55:13 PDT250000128067451300021AuctionListed with PayPal
US $15.99 End Date: Sunday Aug-01-2010 7:56:57 PDT Buy It Now for only: US $15.99 Buy it now | Add to watch list
]]>Wed, 02 Jun 2010 07:51:57 PDT159915991280674617000Buy It NowListed with PayPal
US $15.99 End Date: Sunday Aug-01-2010 7:56:57 PDT Buy It Now for only: US $15.99 Buy it now | Add to watch list
]]>Wed, 02 Jun 2010 07:51:57 PDT159915991280674617000Buy It NowListed with PayPal
US $15.99 End Date: Sunday Aug-01-2010 7:56:57 PDT Buy It Now for only: US $15.99 Buy it now | Add to watch list
]]>Wed, 02 Jun 2010 07:51:57 PDT159915991280674617000Buy It NowListed with PayPal
US $15.99 End Date: Sunday Aug-01-2010 7:56:57 PDT Buy It Now for only: US $15.99 Buy it now | Add to watch list
]]>Wed, 02 Jun 2010 07:51:57 PDT159915991280674617000Buy It NowListed with PayPal
$i=0;
if ($resp){
foreach ($resp->items as $item) {
$afflink=$item['link'];
$affurl=$afflink;
$afftitle=$item['title'];
$afftitle = preg_replace ('#\$#', '$',$item['title']);//kill the dollar
$affdesc=$item['description'];
$affdesc = preg_replace ('#\$#', '$',$item['description']);//kill the dollar
if(($i % 2)==0){
$ebaystuff.="
";
}
if (($totalresults-1)==$i){break;}
$i++;
}
if(($i % 2)==0){$ebaystuff.="\n";}//do just in case 1 left over
}
///////////////////////////////////////////////////////
//do amazon
////now grab amazon
//get the number of reviewpages
//http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&IdType=ASIN&ResponseGroup=Reviews&Operation=ItemSearch&Keywords=074356619X&SearchIndex=Blended&AWSAccessKeyId=0Y8KDG6D1DV454YVBK82&AssociateTag=espressomachine-20&Version=2007-05-14
$whaturl="http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&IdType=ASIN&ResponseGroup=Large&SearchIndex=" . $searchindex . "&Operation=ItemSearch&Keywords=" . $SafeQuery . "&AWSAccessKeyId=" . $amazonid . "&AssociateTag=" . $amazontag . "&Version=2007-05-14";
echo $whaturl;
?>
$ch = curl_init();
//Set curl to return the data instead of printing it to the browser.
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
//Set the URL
curl_setopt($ch, CURLOPT_URL, $whaturl);
//Execute the fetch
$data = curl_exec($ch);
//Close the connection
curl_close($ch);
$xml = new SimpleXMLElement($data);
$mark = $xml->TotalPages;
$error = $xml->ErrorMsg;
$contentcenter.="
";
if ($xml->Items->Item) {
$contentcenter.="
Shop for " . str_replace("-"," ",ucwords($theproduct)). "