Hi peeps
I am trying to make a new page with this script (below)
It does not show how i want it to
Basically what it does is pulls a specified search criteria off
eBay and lists it on a on a page as you can see the script is
php and i thought it might have just been a case of cut and
pasting it into a new template, evidently not as it dont pull
the search criteria.....
Anyway please try yourselves and see what i mean and see if
there is a work around for me
PHP Code:
<?php
### Feel free to edit suitable values the first two values are very important
// tracking id is your ebay given id for affiliates
$TrackingID = '*****'; // ***** REQUIRED
// SID is for Commision Junction tracking and given to you by cj.com
$SID = "******"; // extra tracking
$TrackingProvider = "1"; // Either 0=No Affiliate, 1=Commission Junction, 5=Mediaplex
$DefaultItems = "NTL"; // Front Page items to display by default
### OTHER INFORMATION TO CHANGE (If Required)
$TableHeaderColour = "D5E1F5"; // results table header color
$TableBorderColour = "003399"; // Table Border Colour
$ResultsFontColour = "000000"; // Results Font Colour
$FontType = "2"; // 0=Arial, 2=Times New Roman, 3=Verdana,
$LogoType = "5"; // What eBay Logo to Display
$ResultsPerPage = '50'; // number of listings to show
$EndingTimeColour = "FF0000";
$TableWidth = "750"; // Width of eBay Table Results
### YES / NO
$SearchDescriptions = "n"; // search title and description y or n
$ShowImages = "y"; // Display thumbnails
$ShowEndTime = "y"; // auction end times
$ShowBidNumbers = "y"; // number of bids
$PopUp = "y"; // links open in a new window when this set to yes
$PayPal = "y"; // paypal logo appears when available
### COUNTRY LOCATION SECTION ** See Installion/Help Guide for Country Codes
$LocationSiteID = "3"; //
### END CONFIGURATION
$item = $_GET['item'];
if (!$item) {$item ="$DefaultItems";}
?>
<HTML>
<HEAD>
<TITLE><?php echo $item; ?> from the eBay auction place.</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<table width="<?php print "$TableWidth"; ?>" border="0" align="left" cellpadding="4" cellspacing="1" bgcolor="<?php print "$TableBorderColour"; ?>">
<tr>
<td align="center" valign="top" bgcolor="<?php print "$TableHeaderColour"; ?>">
<div align="center">
<form method="get">
<p align="left">
<input name="item" type="text" value="<?php echo $item; ?>" size="35" maxlength="100">
<input type="submit" name="Submit" value="Search eBay">
<br>
<font face="Verdana" size="2">
<A HREF="http://www.qksrv.net/click-<?php print "$TrackingID"; ?>-5463217?loc=http%3A//cgi4.ebay.co.uk/aw-cgi/eBayISAPI.dll%3FRegisterShow%26ssPageName%3Dh%3Ah%3Areg%3AUS" target="_blank">
<B><font color="#000080">Register with eBay</font></B></A></font></p>
</form>
</div></td>
</tr>
</table>
<p><br>
<br>
<br>
</p>
<table border="0" align="left" cellpadding="4" cellspacing="1">
<tr>
<td align="center"><BR>
<BR>
<script language="JavaScript" src="http://ilapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=s%7di%3a%3d%3a&bdrcolor=<?php print "$TableBorderColour"; ?>&cid=0&encode=ISO-8859-1&endcolor=<?php print "$EndingTimeColour"; ?>&endtime=<?php print "$ShowEndTime"; ?>&fntcolor=<?php print "$ResultsFontColour"; ?>&fs=<?php print "$FontType"; ?>&hdrcolor=<?php print "$TableHeaderColour"; ?>&img=<?php print "$ShowImages"; ?>&lnkcolor=0000FF&logo=<?php print "$LogoType"; ?>&num=<?php print "$ResultsPerPage"; ?>&numbid=<?php print "$ShowBidNumbers"; ?>&paypal=<?php print "$PayPal"; ?>&popup=<?php print "$PopUp"; ?>&prvd=<?php print "$TrackingProvider"; ?>&query=<?php print "$item"; ?>&r0=3&shipcost=<?php print "$ShowShipping"; ?>&sid=<?php print "$SID"; ?>&siteid=<?php print "$LocationSiteID"; ?>&sort=MetaEndSort&sortby=<?php print "$SortBy"; ?>&sortdir=asc&srchdesc=<?php print "$SearchDescriptions"; ?>&tbgcolor=FFFFFF&tlecolor=FFCE63&tlefs=0&tlfcolor=000000&track=<?php print "$TrackingID"; ?>&width=<?php print "$TableWidth"; ?>"></script>
<BR> </TD>
</TR>
</TABLE>
</BODY>
</HTML>