califdon wrote:No, is an HTML entity meaning "non-breaking-space' -- it's just a way to spread out space between 2 elements.
Well, forms only work if they begin with a <form> tag, so it has to be there.
i really can not see it i must be blind
this page is templates/ship_datil.tpl
Code: Select all
<?php
/****************************************************************************
* Copyright ByeeBay.com
* Email :admin@byebay.com
* Software Language :PHP
* Version Created :v9
*
***************************************************************************/
/****************************************************************************
* Licence Agreement:
* This program is a Commercial licensed software;
* you are not authorized to redistribute it and/or modify/and or sell it under any publication
* or license /or term it under the GNU General Public License as published by the Free Software Foundation;
* either user and developer versions of the License, or (at your option)
* any later version is applicable for the same.
*****************************************************************************/
?>
<table width="980" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td valign="top">
<?
$tilte="Better Things Better Price";
require 'include/detail_top.php';?>
</td>
</tr>
<tr height=40>
<td class="tr_border"><font size="3"><b>
Sell Your Item:Shipping Details & Sales Tax</b></font> </td></tr>
<tr class="sub_tr_border">
<td height="30" colspan="2">
1.Category 2. Title & Description 3.Pictures & Details <b>4. Shipping Details </b> 5. Preview & Submit</td>
</tr>
<tr><td>
<table width="100%" cellpadding="5" cellspacing="0" align="center" border="0">
<tr>
<td>
<?
if($err_flag==1)
{
?>
<table width="758" align="center">
<tr><td>
<img src="images/warning_39x35.gif"></td>
<td><font size=2 color="red">The following must be corrected before continuing:</font></td>
<?
if(!empty($err_route))
{
?>
<tr><td></td>
<td><a href="ship_detail.php#world">Seller shipping to</a> - <?= $err_route; ?></td></tr>
<?
}
?>
<? if(!empty($err_serivce))
{
?>
<tr><td></td>
<td><a href="ship_detail.php#txtservice">Services</a> - <?= $err_service; ?></td></tr>
<?
}
?>
<? if(!empty($err_amt))
{
?>
<tr><td> </td>
<td><a href="ship_detail.php#txtship_amt">Shipping Amount</a> - <?= $err_amt; ?></td></tr>
<?
}
?>
<? if(!empty($err_ship))
{
?>
<tr><td> </td>
<td><a href="ship_detail.php#txtship_amt">Shipping Amount</a> - <?= $err_ship; ?></td></tr>
<?
}
?>
<? if(!empty($err_tax))
{
?>
<tr><td> </td>
<td><a href="ship_detail.php#tax">Shipping Amount</a> - <?= $err_tax; ?></td></tr>
<?
}
?>
</table>
<?
}
?>
</td></tr>
<tr><td><font size=6><b>Item Title:</b></font><font size=5> <?= stripslashes($_SESSION[item_name]); ?></td></tr>
<tr><td><font size=5><b>Subtitle:</b></font><font size=5> <?= stripslashes($_SESSION[subtitle]); ?></td></tr>
<tr ><td class="tr_bottomless_border">
<form name="ship" method="post" action="ship_detail.php">
<? if(!empty($err_ship_loc))
{?>
<img src="images/warning_9x10.gif"> <font size=2 color=red><?= $err_ship_loc ?></font>
<br>
<b><font size=2 color=red>Seller Shipping To</font></b>
<?
}
else
{
?>
<b><font size=4><font color="#787878">Item Location</font></b>
<?
}
?>
</td>
</tr>
<tr>
<td>
<table align="left" width="430" cellpadding="5" cellspacing="2">
<?
$ship_sql="select * from shipping_location";
$ship_res=mysql_query($ship_sql);
$total=mysql_num_rows($ship_res);
$j=0;
$r=0;
$shipping_route=explode(",",$_SESSION[shipping_route]);
while($ship_row=mysql_fetch_array($ship_res))
{
for($s=0;$s<=$total;$s++)
{
?>
<tr><td>
<?
if($ship_row['ship_id']==$shipping_route[$s])
{
?>
<input type="checkbox" name="ship<?= $r ?>" value="<?=$ship_row['ship_id'];?>" checked><?=$ship_row[location];?>
<?
break;
}
else
{
$j++;
}
if($j==$total)
{
?>
<input type="checkbox" name="ship<?=$r ?>" value="<?=$ship_row['ship_id'];?>" onclick="return selectall();"><?=$ship_row[location];?>
<?
}
}
$j=0;
$r++;
}
?>
</table>
<tr>
<td class="tr_bottomless_border"><b><font size=4><font color="#787878"><b>Postage Cost Does Not add on With instant Buy Now Price only Bid Price When item Sold to high bidder:</b></font></td></tr>
<tr><td align="left">
<? if(!empty($err_service))
{?>
<img src="images/warning_9x10.gif"> <font size=2 color=red><?= $err_service ?></font>
<br>
<b><font size=2 color=red>Services</font></b>
<?
}
else
{
?>
<font size=2>Choose Postage Service</font></b>
<?
}
?>
<select name="chkservice">
<option value="">Select</option>
<?
$ser_sql="select * from postage_service";
$ser_res=mysql_query($ser_sql);
while($service_row=mysql_fetch_array($ser_res))
{
if($service_row['service_name']==$service)
{
?>
<option value="<?= $service_row['service_name'] ?>" selected><?= ucwords($service_row['service_name']) ?></option>
<?
}
else
{
?>
<option value="<?= $service_row['service_name'] ?>"><?= ucwords($service_row['service_name'])?></option>
<?
}
}
?>
</select></td></tr>
<tr>
<td class="tr_bottomless_border"><b><font size=4><font color="#787878"><b>Postage Cost</b></font></td></tr>
<tr><td align="left">
<? if(!empty($err_amt))
{?>
<img src="images/warning_9x10.gif"> <font size=2 color=red><?= $err_amt ?></font>
<br>
<b><font size=2 color=red>Shipping Amount</font></b>
<?
}
else
{
?>
<font size=2>Choose Postage Amount</font></b>
<?
}
?>
<input type="text" name=txtship_amt class="txtsmall" value="<?=$shipping_amt;?>"></td></tr>
<tr >
</tr>
</td>
</tr>
<tr><td class="tr_bottomless_border"><b><font size=4><font color="#787878"><b>Return Policy</b></font></td></tr>
<tr><td>
<input type="checkbox" name="chkreturns" <? if($returns_accepted) { ?>checked="checked" <? } ?>>
Returns Accepted - Specify a return policy.<a onClick="window.open('returnpolicy.php','My_Popup','width=700,height=700');" href="#">Learn More.</a>
</td></tr>
<tr><td>
<input type="text" style="background:#FFFFFF; border-style:none;" value="Buyer to return Item within" name="item1" size="25"/>
<?
//modified query to display the duration in order
$auction_query="select * from auction_duration order by duration";
$table=mysql_query($auction_query);
?>
<select name="cboreturndays">
<option value="0">Select</option>
<?
while($row=mysql_fetch_array($table))
{
?>
<? if($refund_days==$row['duration'])
{
?>
<option value="<?= $row['duration'] ?>" selected> <?= $row['duration'] ?> Days</option>
<?
}
else
{
?>
<option value="<?= $row['duration'] ?>" > <?= $row['duration'] ?> Days</option>
<?
}
} // while($row=mysql_fetch_array($table))
?>
</select>
</td></tr>
<tr><td>
<input type="text" style="background:#FFFFFF; border-style:none;" value="Refund given as" name="item2"/> <select name="cborefund">
<?
if($refund_method=="Exchange")
{
?>
<option value="Exchange" selected="selected">Exchange</option>
<?
}
else
{
?>
<option value="Exchange">Exchange</option>
<?
}
?>
<?
if($refund_method=="Money Back")
{
?>
<option value="Money Back" selected="selected">Money Back</option>
<?
}
else
{
?>
<option value="Money Back">Money Back</option>
<?
}
?>
<?
if($refund_method=="Merchandise Credit")
{
?>
<option value="Merchandise Credit" selected="selected">Merchandise Credit</option>
<?
}
else
{
?>
<option value="Merchandise Credit">Merchandise Credit</option>
<?
}
?>
</select></td></tr>
<tr><td class="tr_bottomless_border"><b><font size=4><font color="#787878"><b>Return Policy Details{Optional}</b></font></td></tr>
<tr><td>
<textarea name="txtploicy" cols="60" rows="6"><?= $returnpolicy_instructions ?></textarea></td></tr>
<tr><td class="tr_bottomless_border"><b><font size=4><font color="#787878"><b>More Payment Options and Instructions{Optional}</b></font></td></tr>
<tr><td>Please Enter More Payment Options.</td></tr>
<tr><td>
<textarea name="txtpaymentins" cols="60" rows="6" ><?= $payment_instructions ?> </textarea>
</td></tr>
<!--<tr><td class="tr_bottomless_border">
<table width="100%" >
<tr><td><font size="2"><b>Buyer Requirements</b></font></td><td align="right">
<a href=# onClick="window.open('buyerblockpreferences.php','pop_up','toolbar=no, top=0,location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=780, height=600')">Edit Preferences</a></td></table>
</td></tr>
<tr><td>
<input type="text" name="blockpreferencesoption" id=blockpreferencesoption style="border:#FFFFFF;width:500" />
</td></tr>
<tr><td>
<input type="text" name="blockbuyercountries" id=blockcountryid style="border:#FFFFFF;width:500" value="<?= $_SESSION[blockbuyercountries] ?>"/></td></tr>
<tr><td>
<input type="hidden" name="feedbackscore" />
<input type="text" name="blockbuyerfeedbakscore" id=blockbuyerfeedbakscore style="border:#FFFFFF;width:500" /></td></tr>
<tr><td>
<input type="text" name="blockunpaidistrick" id=blockcountryid style="border:#FFFFFF;width:500" /></td></tr>
<tr><td>
<input type="text" name="ItemLimit" id=blockcountryid style="border:#FFFFFF;width:500" /></td></tr>
<tr><td>
<input type="text" name="blockmerkatobid" id=blockmerkatobid style="border:#FFFFFF;width:500" /></td></tr>-->
<tr><td align="center">
<input type="hidden" name="ItemLimitMinFeedback" value="">
<input type="hidden" name="ItemLimitoption" value="">
<input type="hidden" name="checkflag" value="">
<input type="hidden" name="flag" value="1">
<input type="submit" name=submit value="Submit" class="buttonsearch"></td></tr>
</form>
</table>
<script language="javascript1.1">
function checkfun()
{
a=document.ship.chkreturns.checked;
if(a==true)
{
document.ship.cboreturndays.style.visibility="visible";
document.ship.cborefund.style.visibility="visible";
document.ship.txtploicy.style.visibility="visible";
document.ship.item1.style.visibility="visible";
document.ship.item2.style.visibility="visible";
document.ship.item3.style.visibility="visible";
}
else
{
document.ship.cboreturndays.style.visibility="hidden";
document.ship.cborefund.style.visibility="hidden";
document.ship.txtploicy.style.visibility="hidden";
document.ship.item1.style.visibility="hidden";
document.ship.item2.style.visibility="hidden";
document.ship.item3.style.visibility="hidden";
}
}
</script>
this is ship_detail.php
Code: Select all
<?php
/****************************************************************************
* Copyright ByeeBay.com
* Email :admin@byebay.com
* Software Language :PHP
* Version Created :v9
*
***************************************************************************/
/****************************************************************************
* Licence Agreement:
* This program is a Commercial licensed software;
* you are not authorized to redistribute it and/or modify/and or sell it under any publication
* or license /or term it under the GNU General Public License as published by the Free Software Foundation;
* either user and developer versions of the License, or (at your option)
* any later version is applicable for the same.
*****************************************************************************/
?>
<? session_start();
//error_reporting(0);
/*
*/
if(!isset($_SESSION[username]))
{
$link="signin.php";
$url="sell.php";
echo '<meta http-equiv="refresh" content="0;url='.$link.'?url='.$url.'">';
echo "You have been Re-Directed, if not please <a href=$link?$url>Click here</a>";
exit();
}
$_SESSION[categoryid];
$_SESSION['cate_id'];
require 'include/connect.php';
if($_GET[item_id])
$_SESSION[item_id]=$_GET[item_id];
if($_GET[mode])
{
$mode=$_GET[mode];
$_SESSION[mode]=$mode;
}
else if($_POST[mode])
{
$mode=$_POST[mode];
$_SESSION[mode]=$mode;
}
$mode=$_SESSION[mode];
if($_SESSION[item_id])
{
$item_id=$_SESSION[item_id];
}
$returns_accepted=1;
$flag=$_POST[flag];
//$mode=$_REQUEST['mode'];
//$submit=$_POST['submit'];
// $user_id=$_SESSION['userid'];
if($mode=="change")
{
$shipping_route=$_SESSION[shipping_route];
$shipping_amt=$_SESSION[shipping_amt];
$returns_accepted=$_SESSION[returns_accepted];
$refund_method=$_SESSION[refund_method];
//$payment_gateway=$_SESSION[payment];
$payment_instructions=$_SESSION[payment_instructions];
$returnpolicy_instructions=$_SESSION[returnpolicy_instructions];
$refund_days=$_SESSION[refund_days];
$tax=$_SESSION[tax];
}
if($mode=="sellsimilar" and empty($flag))
{
$sql="select * from placing_item_bid where item_id=$item_id";
$sqlqry=mysql_query($sql);
$sqlfetch=mysql_fetch_array($sqlqry);
$shipping_route=$sqlfetch['shipping_route'];
$shipping_amt=$sqlfetch['shipping_cost'];
$returns_accepted=$sqlfetch['returns_accepted'];
$refund_method=$sqlfetch['refund_method'];
//$payment=$sqlfetch['payment_gateway'];
$payment_instructions=$sqlfetch['payment_instructions'];
$returnpolicy_instructions=$sqlfetch['returnpolicy_instructions'];
$refund_days=$sqlfetch['refund_days'];
$tax=$sqlfetch['tax'];
}
if($flag==1)
{
$pay_method="select * from payment_gateway where status='Yes'";
$pay_qry=mysql_query($pay_method);
$total=mysql_num_rows($pay_qry);
$world=$_POST[world];
/* $payid=$_POST[payid];
$payname=$_POST[payname];
$payment=$_POST[payment]; */
$_SESSION[blockbuyercountries]=$_POST[blockbuyercountries];
$_SESSION[blockbuyerfeedbakscore]=$_POST[blockbuyerfeedbakscore];
$_SESSION[blockunpaidistrick]=$_POST[blockunpaidistrick];
$_SESSION[ItemLimit]=$_POST[ItemLimit];
$_SESSION[feedbackscore]=$_POST[feedbackscore];
$_SESSION[feedbackLimit]=$_POST[feedbackLimit];
$_SESSION[ItemLimitMinFeedback]=$_POST[ItemLimitMinFeedback];
$_SESSION[blockmerkatobid]=$_POST[blockmerkatobid];
$_SESSION[ItemLimitoption]=$_POST[ItemLimitoption];
$_SESSION[applytoalllistings]=$_POST[applytoalllistings];
if($_SESSION[blockbuyercountries] || $_SESSION[blockbuyerfeedbakscore] || $_SESSION[blockunpaidistrick] || $_SESSION[ItemLimit] ||$_SESSION[feedbackscore] || $_SESSION[feedbackLimit] || $_SESSION[ItemLimitMinFeedback] || $_SESSION[blockmerkatobid] || $_SESSION[ItemLimitoption] || $_SESSION[applytoalllistings] )
{
$_SESSION[buyerrequirements]="yes";
}
$shipping_amt=$_POST[txtship_amt];
//shipping amount checking for special characters and to accept only numbers
$validZipExpr="^[0-9.]*$";
if(!empty($shipping_amt))
{
if(!eregi($validZipExpr,$shipping_amt))
{
$err_ship="Invalid shipping amount";
$err_flag=1;
}
}
$tax=$_POST[tax];
//tax checking to accept only numbers and not special characters
if(!empty($tax))
{
if(!eregi($validZipExpr,$tax))
{
$err_tax="Invalid tax amount";
$err_flag=1;
}
}
$returns_accepted=$_POST[chkreturns];
$refund_method=$_POST[cborefund];
$returnpolicy_instructions=$_POST[txtploicy];
$payment_instructions=$_POST[txtpaymentins];
$refund_days=$_POST[cboreturndays];
$ship_sql="select * from shipping_location";
$ship_res=mysql_query($ship_sql);
$total1=mysql_num_rows($ship_res);
$shipping_route=" ";
for($s=0;$s<=$total1;$s++)
{
if($_REQUEST['ship'.$s])
{
$shipping_route.=$_REQUEST['ship'.$s];
$shipping_route.=",";
}
}
$shipping_route=rtrim($shipping_route,",");
$_SESSION[shipping_route]=$shipping_route;
// for payment mode
$pay_method="select * from payment_gateway";
$pay_qry=mysql_query($pay_method);
$tot=mysql_num_rows($pay_qry);
// $payment_gateway=" ";
for($i=0;$i<=$tot;$i++)
{
if($_REQUEST['pay'.$i])
{
/*if($_REQUEST['pay'.$i]==1)
{
$paypal_sql="select * from paypal where user_id=".$_SESSION[userid];
$paypal_qry=mysql_query($paypal_sql);
$paypal_rows=mysql_num_rows($paypal_qry);
$paypal_fetch=mysql_fetch_array($paypal_qry);
if($paypal_rows==0 or $paypal_fetch[paypalId]=='')
{
$err_pay=1;
}
}
if($_REQUEST['pay'.$i]==2)
{
$intgold_sql="select * from int_gold where user_id=".$_SESSION[userid];
$intgold_qry=mysql_query($intgold_sql);
$intgold_rows=mysql_num_rows($intgold_qry);
$intgold_fetch=mysql_fetch_array($intgold_qry);
if($intgold_rows==0 or $intgold_fetch[Intgoldnumber]=='')
{
$err_pay=1;
}
}
if($_REQUEST['pay'.$i]==3)
{
$egold_sql="select * from egold where user_id=".$_SESSION[userid];
$egold_qry=mysql_query($egold_sql);
$egold_rows=mysql_num_rows($egold_qry);
$egold_fetch=mysql_fetch_array($egold_qry);
if($egold_rows==0 or $egold_fetch[egoldnumber]=='')
{
$err_pay=1;
}
}
if($_REQUEST['pay'.$i]==4)
{
$moneybooker_sql="select * from moneybooker where user_id=".$_SESSION[userid];
$moneybooker_qry=mysql_query($moneybooker_sql);
$moneybooker_rows=mysql_num_rows($moneybooker_qry);
$moneybooker_fetch=mysql_fetch_array($moneybooker_qry);
if($moneybooker_rows==0 or $moneybooker_fetch[moneybookerId]=='')
{
$err_pay=1;
}
}
if($_REQUEST['pay'.$i]==5)
{
$ebullion_sql="select * from ebullion where user_id=".$_SESSION[userid];
$ebullion_qry=mysql_query($ebullion_sql);
$ebullion_rows=mysql_num_rows($ebullion_qry);
$ebullion_fetch=mysql_fetch_array($ebullion_qry);
if($ebullion_rows==0 or $ebullion_fetch[ebullionnumber]=='' or $ebullion_fetch[ebullionname]=='')
{
$err_pay=1;
}
}
if($_REQUEST['pay'.$i]==6)
{
$stormpay_sql="select * from stormpay where user_id=".$_SESSION[userid];
$stormpay_qry=mysql_query($stormpay_sql);
$stormpay_rows=mysql_num_rows($stormpay_qry);
$stormpay_fetch=mysql_fetch_array($stormpay_qry);
if($stormpay_rows==0 or $stormpay_fetch[stormpaynumber]=='')
{
$err_pay=1;
}
}
if($_REQUEST['pay'.$i]==7)
{
$bank_info_sql="select * from bank_info where user_id=".$_SESSION[userid];
$bank_info_qry=mysql_query($bank_info_sql);
$bank_info_rows=mysql_num_rows($bank_info_qry);
if($bank_info_rows==0)
{
$err_pay=1;
}
}
if($_REQUEST['pay'.$i]==8)
{
$card_info_sql="select * from card_info where userid=".$_SESSION[userid];
$card_info_qry=mysql_query($card_info_sql);
$card_info_rows=mysql_num_rows($card_info_qry);
if($card_info_rows==0)
{
$err_pay=1;
}
}
if($err_pay==1)
{
$err_payment="You must fill in payment details before selecting payment method";
$err_flag=1;
}*/
//$payment_gateway.=$_REQUEST['pay'.$i];
// $payment_gateway.=",";
}
}
//$payment_gateway=rtrim($payment_gateway,",");
//$_SESSION[payment_gateway]=$payment_gateway;
if($err_flag!=1)
{
$_SESSION[shipping_route]=$shipping_route;
$_SESSION[shipping_amt]=$shipping_amt;
$_SESSION[tax]=$tax;
$_SESSION[payid]=$_POST[payid];
$_SESSION[payname]=$_POST[payname];
// $_SESSION[payment]=$_POST[payment];
$_SESSION[returns_accepted]=$returns_accepted;
$_SESSION[refund_method]=$refund_method;
$_SESSION[payment_instructions]=$payment_instructions;
$_SESSION[returnpolicy_instructions]=$returnpolicy_instructions;
$_SESSION[refund_days]=$refund_days;
if($mode==change)
{
echo '<meta http-equiv="refresh" content="0;url=preview.php">';
$_SESSION['cate_id'];
exit();
}
else
{
echo '<meta http-equiv="refresh" content="0;url=paymentdetail.php">';
echo "You have been Re-Directed, if not please <a href=paymentdetail.php>Click here</a>";
$_SESSION['cate_id'];
exit();
}
}
}
$Gallery=$_SESSION[Gallery];
$Border=$_SESSION[Border];
$Highlight=$_SESSION[Highlight];
$Bold=$_SESSION[Bold];
$Home=$_SESSION[Home];
$repost=$_SESSION[repost];
$Insertionfee=$_SESSION[Insertionfee];
?>
<link href="<?= $ret1; ?>" rel="stylesheet" type="text/css">
<? require'templates/ship_detail.tpl';?>
</table>
<tr><td align="center"><? require 'include/footer.php'?></td></tr>
</body>
</html>
<script language="javascript">
function selectall()
{
if(document.ship.world.checked==false)
{
document.ship.aus.checked=false;
document.ship.america.checked=false;
document.ship.europe.checked=false;
document.ship.africa.checked=false;
document.ship.asia.checked=false;
}
else
{
document.ship.aus.checked=true;
document.ship.america.checked=true;
document.ship.europe.checked=true;
document.ship.africa.checked=true;
document.ship.asia.checked=true;
}
}
function pay_refresh()
{
payment=document.ship.payment.value;
if(payment=="") {
pay.innerHTML="";
}
else if(payment==1){
txt="<input type=text name=payid value=<?=$payid;?>>";
pay.innerHTML="<b>Paypal Id</b>"+txt;
}
else if(payment==2){
txt="<input type=text name=payid value=<?=$payid;?>>";
pay.innerHTML="<b>INT-Gold Id</b> "+txt;
}
else if(payment==3){
txt="<input type=text name=payid value=<?=$payid;?>>";
txtname="<input type=text name=payname value=<?= $payname; ?>>";
pay.innerHTML="<b>E-Gold Id</b> "+txt+"<br><b>E-Gold name</b> "+txtname;
}
else if(payment==4){
txt="<input type=text name=payid value=<?=$payid;?>>";
pay.innerHTML="<b>Money Bookers Id</b> "+txt;
}
else if(payment==5){
txt="<input type=text name=payid value=<?=$payid;?>>";
txtname="<input type=text name=payname value=<?= $payname; ?>>";
pay.innerHTML="<b>E-Bullion Id</b> "+txt+"<br><b>E-Bullion name</b> "+txtname;
}
else if(payment==6){
txt="<input type=text name=payid value=<?=$payid;?>>";
pay.innerHTML="<b>Stormpay Id</b> "+txt;
}
}
</script>
and this is the final page located include/ship_detail.php
Code: Select all
<?php
/****************************************************************************
* Copyright ByeeBay.com
* Email :admin@byebay.com
* Software Language :PHP
* Version Created :v9
*
***************************************************************************/
/****************************************************************************
* Licence Agreement:
* This program is a Commercial licensed software;
* you are not authorized to redistribute it and/or modify/and or sell it under any publication
* or license /or term it under the GNU General Public License as published by the Free Software Foundation;
* either user and developer versions of the License, or (at your option)
* any later version is applicable for the same.
*****************************************************************************/
?>
<table width="100%" cellpadding="5" cellspacing="0" align="center" border="0">
<tr height=40>
<td class="tr_border"><font size="3"><b>
Sell Your Item:Shipping Details & Sales Tax</b></font> </td></tr>
<tr class="sub_tr_border">
<td height="30" colspan="2" >
1.Category 2. Tittle & Description <b>3. Shipping Details & Sales Tax</b>
4. Preview & Submit</td>
</tr>
<tr>
<td>
<? if($err_flag==1)
{
?>
<table width="100%" align="center"><tr><td>
<img src="images/warning_39x35.gif"></td>
<td><font size=2 color="red">The following must be corrected before continuing:</font></td>
<? if(!empty($err_route))
{
?>
<tr><td> </td>
<td><a href="ship_detail.php#world">Shipping Location</a> - <?= $err_route; ?></td></tr>
<?
}
?>
<? if(!empty($err_amt))
{
?>
<tr><td> </td>
<td><a href="ship_detail.php#txtship_amt">Shipping Amount</a> - <?= $err_amt; ?></td></tr>
<?
}
?>
</table>
<?
}
?>
</td></tr>
<tr><td>
<form name="ship" method="post" action="ship_detail.php">
<table width="100%" cellpadding="5" cellspacing="2" border="0">
<tr><td><font size=2><b>Title:</b></font> <?= $_session[item_name]; ?></td></tr>
<tr class="tr_border"><td><font size="2"><b>Payment</b></font></td></tr>
<tr><td align="center"><font size="2"><b>Payment Method</b></font>
<?
$pay_sql="select * from payment_gateway where status='Yes'";
$pay_res=mysql_query($pay_sql);
?><select name="payment" onChange="pay_refresh()">
<option value="">Select</option>
<?
while($pay_row=mysql_fetch_array($pay_res))
{
if($pay_row[gateway_id]==$payment)
{
?>
<option value="<?=$pay_row['gateway_id'];?>" selected><?=$pay_row[payment_gateway];?></option>
<?
}
else
{
?>
<option value="<?=$pay_row['gateway_id'];?>"><?=$pay_row[payment_gateway];?></option>
<?
}
}
?>
</select>
</td>
</tr>
<tr><td align="center"><div id="pay"></div></td></tr>
<tr class="tr_border"><td>
<? if(!empty($err_ship_loc))
{?>
<img src="images/warning_9x10.gif"> <font size=2 color=red><?= $err_ship_loc ?></font>
<br>
<b><font size=2 color=red>Shipping Location</font></b>
<?
}
else
{
?>
<b><font size=2>Shipping Location</font></b>
<?
}
?>
</td>
</tr>
<tr><td>
<table align="center" width="250" cellpadding="5" cellspacing="2">
<tr><td>
<? if($world=="all")
{
?>
<input type="checkbox" name=world value="all" onClick="selectall()" checked>Worldwide</td>
<?
}
else
{
?>
<input type="checkbox" name=world value="all" onClick="selectall()">Worldwide</td>
<?
}
if($asia=="asia")
{
?>
<td><input type="checkbox" name=asia value="asia" checked>Asia</td>
<?
}
else
{
?>
<td><input type="checkbox" name=asia value="asia">Asia</td>
<?
}
if($aus=="aus")
{
?>
<td><input type="checkbox" name=aus value="aus" checked>Australia</td></tr>
<?
}
else
{
?>
<td><input type="checkbox" name=aus value="aus">Australia</td></tr>
<?
}
if($america=="america")
{
?>
<tr><td><input type="checkbox" name=america value="america" checked>America/Canada</td>
<?
}
else
{
?>
<tr><td><input type="checkbox" name=america value="america">America/Canada</td>
<?
}
if($africa=="africa")
{
?>
<td><input type="checkbox" name=africa value="africa" checked>Africa</td>
<?
}
else
{
?>
<td><input type="checkbox" name=africa value="africa">Africa</td>
<?
}
if($europe=="europe")
{
?>
<td><input type="checkbox" name=europe value="europe" checked>Europe</td></tr>
<?
}
else
{
?>
<td><input type="checkbox" name=europe value="europe">Europe</td></tr>
<?
}
?>
</table>
<tr class="tr_border">
<td><font size="2"><b>Shipping Cost</b></font></td></tr>
<tr><td align="center">
<? if(!empty($err_amt))
{?>
<img src="images/warning_9x10.gif"> <font size=2 color=red><?= $err_amt ?></font>
<br>
<b><font size=2 color=red>Shipping Amount</font></b>
<?
}
else
{
?>
<b><font size=2>Shipping Amount</font></b>
<?
}
?>
<input type="text" name=txtship_amt class="txtsmall" value=<?= $shipping_amt;?>></td></tr>
<input type="hidden" name="mode" value="<?= $mode; ?>">
<tr class="tr_border">
<td><font size="2"><b>Sales Tax </b></font></td>
</tr>
<tr><td align="center"> <font size="2"><b>Tax Amouunt</b></font>
<input type="text" name=tax class="txtsmall" value=<?= $tax; ?>> <b> % </b>
</td>
</tr>
<br>
<input type="hidden" name=flag value=1>
<tr><td align="center">
<input type="submit" name=submit value="submit" class="buttonsearch"></td></tr>
</table>
</form>
</td></tr>
</table>
i am using notepad++ and have used te search function and can not see anything linked to postage_service / service / postage for a form.
am i being really stupid here? thank you for your patience, your time help is appreciated.