|
This is a PHP display $template = ""; $format = "180x150"; $campaignid = "1"; $category = ""; $seller_ID = ""; $SID = "campID-1"; $bordercolor = "000000"; $BGcolor = "FFFFFF"; $headcolor = "3281FF"; $textcolor = "000000"; $linkcolor = "FFFFFF"; $opentype = "Y"; $keywords = "camera"; /* To show auction ad blocks in a directory outside of the root folder, you will need to modify the 'include' and 'require_once' code below by adding '../' to each. For example ... you have a page in a folder called /cars. The URL to that page is www.yoursite.com/cars/index.html The PHP code in the this index.html file for the 'include' and 'require_once' tags would be: include("../MyAds/ads/do_funct.php"); require_once("../MyAds/ads/do_ebay.php"); include("../MyAds/ads/do_head.php"); include("../MyAds/ads/do_foot.php"); Please note that there is additional PHP code between these tags that I removed so as to just show the 'include' and 'require_once' changes */ include("MyAds/ads/do_funct.php"); require_once("MyAds/ads/do_ebay.php"); $auction = new auction(); $auction->saprclo = "";//set min price $auction->saprchi = "";// set max price $auction->frpp = "$listnum"; $auction->buildit($keywords, $category); include("MyAds/ads/do_head.php"); $xALLproducts = $auction->ALLproducts; echo $auction->html; include("MyAds/ads/do_foot.php"); ?> Javascript display |
|