-
Search Items
Categories
-
Skeleton Key Wiki
" echo"$showsearch";?>" items for sale
Browse echo"$showsearch";?> items for Sale Below. These are Best echo"$showsearch";?> Deals.
Your search for " echo"$showsearch";?>" returned these items:
$search = str_replace(" ", "+",$search);
$search = str_replace("'", "",$search);
if( $sacat=='11116') {$searchdefault = 'gold+coin';}
else {$searchdefault = 'vintage';}
if($search == "") {$search="$searchdefault";}
//---- FEED ----
//$newsfeed = "http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=0&language=en-US&output=RSS20&catref=C5&sacur=1&fsop=1&fsoo=1&from=R6&saobfmts=exsif&afepn=$ebaycampID&sacqyop=ge&sabfmts=0&saaff=afepn&ftrv=1&fbfmt=1&ftrt=1&fcl=3&frpp=25&customid=$ebaycustID&nojspr=y&satitle=$search&sacat=$sacat&saslop=1&fss=0&saatc=1";
//$newsfeed = "http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&dfsp=32&from=R6&nojspr=y&output=RSS20&saaff=afepn&siteId=0&afepn=$ebaycampID&customid=$ebaycustID&satitle=$search&sacat=$sacat&catref=C5&fbfmt=1&sabfmts=0&sascs=0&fsop=32&fsoo=2";
//$newsfeed = "http://rest.ebay.com/epn/v1/find/item.rss?keyword=$search&categoryId1=$sacat&sortOrder=BestMatch&programid=1&campaignid=$ebaycampID&toolid=10039&customid=&lgeo=1&feedType=rss";
$newsfeed = "http://rest.ebay.com/epn/v1/find/item.rss?keyword=$search&categoryId1=$sacat&sortOrder=BestMatch&programid=1&campaignid=$ebaycampID&toolid=10039&customid=&lgeo=1&feedType=rss";
// The @ is to supress the function´ errors
if (function_exists('curl_init'))
{
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $newsfeed);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 0);
$row = "";
$row = curl_exec($ch);
curl_close($ch);
}
else
{
$fp = @fopen($newsfeed, 'r');
$row = "";
while(!feof($fp))
{
$row .= @fgets($fp, 4096);
}
@fclose($fp);
}
if( eregi('- (.*)
', $row, $rowitem ) ) {
$item = explode('- ', $rowitem[0]);
$i=0;
While($i < $maxshow) {
eregi('
(.*) ', $item[$i+1], $title );
$title = str_replace("", "", $title);
eregi('(.*)', $item[$i+1], $url );
$url = str_replace("", "", $url);
eregi('(.*) ', $item[$i+1], $categorie);
$categorie = str_replace("", "", $categorie);
$categorie = str_replace("<", "<", $categorie);
$categorie = str_replace(">", ">", $categorie);
$categorie = str_replace("", "Price: ", $categorie);
$categorie = str_replace("", "", $categorie);
echo '';
echo '
';
$i++;
} //end while loop
} else {
//---- IF NO RESULTS ----
echo "
Sorry. No Results found for $showsearch - or unable to connect to database at the moment.
Please use our Search Form and try again.
";
} //end if eregi stmt
//echo 'Word:'.$search;
//echo 'SaCat:'.$sacat;
?>
' . $title[1] . ' |
Sorry. No Results found for $showsearch - or unable to connect to database at the moment.
Please use our Search Form and try again.