Business & Industrie
· Bau & Handwerk
··Arbeitskleidung & -schutz
··Geräte, Werkzeuge & Zubehör
··Baustellenausrüstung
··Baustoffe & Bauelemente
··Erdbewegung & Transport
··Großhandelsposten
··Handbücher & Fachliteratur
··Hebe-, Zurr- & Fördertechnik
··Spezielle Bautechnik
··Sonstige
$result_template = '$pic | $title $description | \n';
# http://rcm-de.amazon.de/e/cm?t=preispiraten-21&l=st1&search=porshe&mode=books&p=11&o=3&f=ifr
$fp = fsockopen ("rcm-de.amazon.de", 80, $errno, $errstr, 5);
if ($fp) {
$getpath = "/e/cm?t=preispiraten-21&l=st1&search=$QUERY_STRING&mode=books&p=11&o=3&f=ifr";
fputs ($fp, "GET $getpath HTTP/1.0\r\nHost: amazon.de\r\n\r\n");
while (!feof($fp)) {
$page .= fgets ($fp,128);
}
fclose ($fp);
}
$pic = ' ';
$pieces = split(" | ", $page);
if(eregi(" (.*)(.*)(.*) ", $pieces[$i], $regs)) {
$link = $regs[1];
$title = strip_tags($regs[2]);
$description = strip_tags($regs[3]);
eval ("\$content .= \"$result_template\";");
}
$pic = ' ';
}
if($content) {
print "Amazon Links:
\n";
} else {
print "\n";
}
?>
$keyword = $espot;
include('ebay.php3');
include ("http://www.webtip.de/schnipsel_pure.txt");
$espot = urlencode($espot);
$page = implode('', file ("http://affiliate.espotting.de/search/qsearch/results.asp?affiliateid=15&keyword=$espot&bkfill=0"));
if(ereg("T=", $page)) {
$pieces = split("T=", $page);
for($i=1; $i";
}
if(!( eregi('ebay', $title) || eregi('ebay', $description) ) ) {
list($garbage, $follow_url) = split('url=http%3A%2F%2F', $real_URL);
list($follow_url, $garbage) = split('%2F', $follow_url);
$follow_url = 'http://' . urldecode($follow_url);
$link_tag = "";
$espot_results .= "$link_tag $img_tag | $link_tag $title - $description | \n";
}
}
}
if($espot_results) {
$espot_results = "\n";
}
print $espot_results;
?>
| |