View Single Post
  #195  
Old 02-28-2006, 08:26 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
&nbsp;</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&amp;ai=s%7di%3a%3d%3a&amp;bdrcolor=<?php print "$TableBorderColour"?>&amp;cid=0&amp;encode=ISO-8859-1&amp;endcolor=<?php print "$EndingTimeColour"?>&amp;endtime=<?php print "$ShowEndTime"?>&amp;fntcolor=<?php print "$ResultsFontColour"?>&amp;fs=<?php print "$FontType"?>&amp;hdrcolor=<?php print "$TableHeaderColour"?>&amp;img=<?php print "$ShowImages"?>&amp;lnkcolor=0000FF&amp;logo=<?php print "$LogoType"?>&amp;num=<?php print "$ResultsPerPage"?>&amp;numbid=<?php print "$ShowBidNumbers"?>&amp;paypal=<?php print "$PayPal"?>&amp;popup=<?php print "$PopUp"?>&amp;prvd=<?php print "$TrackingProvider"?>&amp;query=<?php print "$item"?>&amp;r0=3&amp;shipcost=<?php print "$ShowShipping"?>&amp;sid=<?php print "$SID"?>&amp;siteid=<?php print "$LocationSiteID"?>&amp;sort=MetaEndSort&amp;sortby=<?php print "$SortBy"?>&amp;sortdir=asc&amp;srchdesc=<?php print "$SearchDescriptions"?>&amp;tbgcolor=FFFFFF&amp;tlecolor=FFCE63&amp;tlefs=0&amp;tlfcolor=000000&amp;track=<?php print "$TrackingID"?>&amp;width=<?php print "$TableWidth"?>"></script> 
<BR> </TD> 
</TR> 
</TABLE>
</BODY>
</HTML>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01264 seconds
  • Memory Usage 1,836KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete