|
Tickets
· Sport
·· Fußball-Bundesliga
···1. FC Kaiserslautern
···1. FC Köln
···1.FC Nürnberg
···1860 München
···Bayer 04 Leverkusen
···Bayern München
···Borussia Dortmund
···Borussia M'gladbach
···Eintracht Frankfurt
···FC Schalke 04
···Hamburger SV
···Hannover 96
···Hansa Rostock
···Hertha BSC Berlin
···Karlsruher SC
···SC Freiburg
···VFB Stuttgart
···VFL Bochum
···VFL Wolfsburg
···Werder Bremen
include ("http://www.webtip.de/schnipsel_pure.txt");
$keyword = $_SERVER["QUERY_STRING"];
$fp = fsockopen ("affiliate.espotting.de", 80, $errno, $errstr, 5);
if ($fp) {
$getpath = "/search/qsearch/results.asp?affiliateid=15&keyword=$keyword";
fputs ($fp, "GET $getpath HTTP/1.0\r\nHost: affiliate.espotting.de\r\n\r\n");
while (!feof($fp)) {
$page .= fgets ($fp,128);
}
fclose ($fp);
}
if(ereg("T=", $page)) {
$pieces = split("T=", $page);
for($i=1; $i";
}
if(!( eregi('ebay', $title) || eregi('ebay', $description)) && eregi('redirector.asp', $real_URL) ) {
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;
?>
Um sich kostenlos bei eBay zu registrieren - hier klicken
//http://index.meta-spinner.de/ebay/remotebay_api.php?353
$redir_switch = 1; # ON
$sofortKaufenPic = '';
# edit the template to meet fit your layout
$result_template = '$pic | $title $bin_or_bid_caption $bin_or_bid_value | | \n';
$eBayPic = "";
$track_base = 'http://www.preispiraten.de/cgi-bin/wtr/tr.pl?';
if(!isset($ebay_num)) { $ebay_num = $_SERVER["QUERY_STRING"]; }
$cache_path = 'ebay/cache/';
$appID = 'WEBTIPMEDII976B459XCHLT596W2IG';
$country = 'EBAY-DE';
$results_count = 20;
$api_url = 'http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByCategory&SERVICE-VERSION=1.0.0&SECURITY-APPNAME=' . $appID . '&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&categoryId=' . $ebay_num . '&paginationInput.entriesPerPage=' . $results_count . '&GLOBAL-ID=' . $country;
$content = '';
$responseXml = file_get_contents($api_url);
//get results nodes
$xml = simplexml_load_string($responseXml);
if($xml->searchResult->item) {
foreach ($xml->searchResult->item as $item) {
$title = utf8_decode($item->title);
$itemUrl = utf8_decode($item->viewItemURL);
$price = $item->sellingStatus->currentPrice;
$picUrl = $item->galleryURL;
if($picUrl)
$pic = '';
else
$pic = $eBayPic;
if($redir_switch) {
//$tracklink = 'http://rover.ebay.com/rover/1/707-53477-19255-0/1?ff3=4&pub=5574643622&toolid=10001&campid=5336645584&customid=&mpre=' . urlencode($itemUrl);
$tracklink = 'http://rover.ebay.com/rover/1/707-53477-19255-0/1?ff3=4&pub=5574866061&toolid=10001&campid=5338210209&customid=&mpre=' . urlencode($itemUrl);
} else {
$tracklink = $itemUrl;
}
$tracklink = $track_base.$tracklink;
$BINPrice = $item->listingInfo->buyItNowPrice;
$bin_or_bid_caption = '';
$bin_or_bid_value = '';
// is current item an auction?
if(($item->listingInfo->listingType == 'Auction')
|| ($item->listingInfo->listingType == 'AuctionWithBIN'))
{
$bin_or_bid_caption = 'Aktuelles Gebot:';
$bin_or_bid_value = ''.$price.' €';
}
else // FixedPrice, StoreInventory, AdFormat, Classified
{
$bin_or_bid_caption = "".
"";
$bin_or_bid_value = "".$price." €";
}
/*
if($redir_switch)
$tracklink = 'http://rover.ebay.com/rover/1/707-53477-19255-0/1?ff3=4&pub=5574643622&toolid=10001&campid=5336645584&customid=&mpre=' . urlencode($itemUrl);
else
$tracklink = $itemUrl;
*/
eval ("\$content .= \"$result_template\";");
}
}
print $content;
//print "fabs";
##################### CLEAN CACHE FUNCTION ##############################
function clean_cache()
{
global $cache_path;
$rnd = rand(0, 100);
if($rnd == 1)
{
if ($handle = opendir($cache_path))
{
while (false !== ($file = readdir($handle)))
{
if ($file != "." && $file != "..")
{
$fileto = $cache_path . $file;
$tm = time() - filemtime($fileto);
if($tm > 3600) # remove cache files older > 1 hour
unlink($fileto);
}
}
closedir($handle);
}
}
}
?>
include('/usr/local/httpd/htdocs/amazon/amz_func.php');
if(!$q) { $q = $_SERVER["QUERY_STRING"]; } # implode('', $argv);
# AMAZON BOOKS
$books_template = '$pic | $ProductName Author $Authors; ReleaseDate: $ReleaseDate; Publisher: $Manufacturer; Availability: $Availability | $OurPrice | \n';
$books_blok = amz_books($q);
$books_rows = split("\n", trim($books_blok));
for($i=0; $i"; }
eval ("\$books_content .= \"$books_template\";");
}
}
if($books_content) {
print " Amazon Bücher:
\n";
}
# AMAZON ELECTRONICS
$ce_template = '$pic | $ProductName Manufacturer: $Manufacturer; Availability: $Availability | $OurPrice | \n';
$ce_blok = amz_ce($q);
$ce_rows = split("\n", trim($ce_blok));
for($i=0; $i"; }
eval ("\$ce_content .= \"$ce_template\";");
}
}
if($ce_content) {
print "
Amazon Electronik und Foto:
\n";
}
?>
|
|
|