Jump to content

tim28061983

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tim28061983's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. yes seen that its because of the smylie function in here but thanks i am more after an answer why everzthingelse like name surname country and so on show up but not the numbers and tours checked it over nearly 20 000 times going mental soon
  2. hi ya and thanks in advance i wrote a php script to give me inputs from the page before ok long talk no resolution! some thinks like name and so on shows but not the prices and the tours is that because i forgot something (brackets or so)????? i need despertly help!!! please! after the red lines inclusiv that one no inputs show up anymore <!--force IE into Quirks Mode--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>YeeHa Tours</title> <meta http-equiv="Content-Type"     content="text/html; charset=iso-8859-1" /> <link href="index.css" rel="stylesheet" type="text/css"/> <style type="text/css"> <!-- A.ssmItems:link {color:black;text-decoration:none;} A.ssmItems:hover {color:black;text-decoration:none;} A.ssmItems:active {color:black;text-decoration:none;} A.ssmItems:visited {color:black;text-decoration:none;} //.style1 {font-size: 200%} --> </style> <style type="text/css"> .leftimg { float: left; margin-right: 20px; margin-bottom: 10px; } .rightimg { float: right; margin-right: 20px; margin-bottom: 10px; } .clear { clear: both; } a:link { color: #000000; } a:visited { color: #FF0000; } .style1 { font-size: 24px; font-weight: bold; } .style2 { color: #FF0000; font-weight: bold; font-size: 24px; } input.txt { color:#000000; background-color:#FFCC33; border: 0px; } </style> <!--[if IE]> <style type="text/css"> body {   overflow-y: hidden; } div#wrapper {     height: 100%; overflow: auto; } </style> <![endif]--> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_goToURL() { //v3.0   var i, args=MM_goToURL.arguments; document.MM_returnValue = false;   for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } function MM_findObj(n, d) { //v4.01   var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);   if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_validateForm() { //v4.0   var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;   for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);     if (val) { nm=val.name; if ((val=val.value)!="") {       if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');         if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';       } else if (test!='R') { num = parseFloat(val);         if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';         if (test.indexOf('inRange') != -1) { p=test.indexOf(':');           min=test.substring(8,p); max=test.substring(p+1);           if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';     } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }   } if (errors) alert('The following error(s) occurred:\n'+errors);   document.MM_returnValue = (errors == ''); } //--> </script> </head> <body bgcolor="#CCFF33"> <div id="wrapper">   <div id="content">              <?php require_once('Connections/yeeha.php'); ?>     <?php function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") {   $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;   switch ($theType) {     case "text":       $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";       break;        case "long":     case "int":       $theValue = ($theValue != "") ? intval($theValue) : "NULL";       break;     case "double":       $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";       break;     case "date":       $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";       break;     case "defined":       $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;       break;   }   return $theValue; } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) {   $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form2")) {   $insertSQL = sprintf("INSERT INTO guests (guestid, name, surname, street, number, city, postcode, country, phone, email) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",                       GetSQLValueString($_POST['guestid'], "int"),                       GetSQLValueString($_POST['name'], "text"),                       GetSQLValueString($_POST['surname'], "text"),                       GetSQLValueString($_POST['street'], "text"),                       GetSQLValueString($_POST['number'], "text"),                       GetSQLValueString($_POST['city'], "text"),                       GetSQLValueString($_POST['postcode'], "text"),                       GetSQLValueString($_POST['country'], "text"),                       GetSQLValueString($_POST['phone'], "text"),                       GetSQLValueString($_POST['email'], "text"));   mysql_select_db($database_yeeha, $yeeha);   $Result1 = mysql_query($insertSQL, $yeeha) or die(mysql_error()); } ?>     <br>     <br> <?php $name = $_POST['name']; $surname = $_POST['surname']; $street = $_POST['street']; $number = $_POST['number']; $city = $_POST['city']; $postcode = $_POST['postcode']; $country = $_POST['country']; $phone = $_POST['phone']; $email = $_POST['email']; $tour = $_POST['tour']; $addon = $_POST['addon']; $day = $_POST['day']; $month = $_POST['month']; $year = $_POST['year']; $peoplenumber = $_POST['peoplenumber']; $totalamount = $_POST['totalamount']; define('RAC', 399); define('BE', 599); define('TYHOH', 129); define('OAPD', 99); define('NONE', 0); define('BMG', 249); define('BS', 99); define('PN1', 1); define('PN2', 2); define('PN3', 3); define('PN4', 4); define('PN5', 5); define('PN6', 6); define('PN7', 7); define('PN8', 8); define('PN9', 9); define('PN10', 10); ?> <form action="https://yeeha-tours.com/processbooking3.php" method="post" name="form3" onsubmit="MM_validateForm('cardnumber','','RisNum','amex','','NisNum','holdername','','R');return document.MM_returnValue" > <table align="left">     <strong>Dear <?php echo $name.' '; ?>your order is at follows:</strong>     <br> <br> <input readonly="true" type="text" class="txt" name="name" size="30" maxlength="50" value="<?php echo $name.' '; ?>"> <br> <input readonly="true" type="text" class="txt" name="surname" size="30" maxlength="50" value="<?php echo $surname.' '; ?>"> <br> <?php echo $street.' '; echo $number.' <br>'; echo $postcode.' '; echo $city.' <br>'; echo $country.' <br>'; echo $phone.' <br>'; echo $email.' <br>'; ?> </table> <br /> <table align="center" border="0" bgcolor="#FFCC33" cellspacing="20"> <tr> <td width="300"><div align="left" class="style1">Tour</div></td> <td> [color=red]<input readonly="true" type="text" class="txt" name="tour" size="30" maxlength="50" value="<?php { if($toura) echo '4 Day Ride and Camp'; elseif($tourb) echo '6 Day Bush Experience'; elseif($tourc) echo 'Take your Horse on Holidays'; elseif($tourd) echo 'Own a Pony Day'; } ?>">[/color] </td> <td><div align="right">   <?php { if($toura) echo RAC; elseif($tourb) echo BE; elseif($tourc) echo TYHOH; elseif($tourd) echo OAPD; } ?> </div></td> <td>AUS Dollar</td> </tr> <tr> <td width="300"><div align="left" class="style1">ADD-ON</div></td> <td> <input readonly="true" type="text" class="txt" name="addon" size="30" maxlength="50" value=" <?php { if($addona) echo 'NONE'; elseif($addonb) echo 'Bunya Mountain Getaway'; elseif($addonc) echo '1 Day Bush Survival'; } ?>"> </td> <td><div align="right">     <?php { if($addona) echo NONE; elseif($addonb) echo BMG; elseif($addonc) echo BS; } ?> </div></td> <td>AUS Dollar</td> </tr> <tr> <td width="300"><div align="left" class="style1">Date</div></td> <td> <input readonly="true" type="text" class="txt" name="date" size="30" maxlength="50" value=" <?php { if($daya) echo '01 '; elseif($dayb) echo '02 '; elseif($dayc) echo '03 '; elseif($dayd) echo '04 '; elseif($daye) echo '05 '; elseif($dayf) echo '06 '; elseif($dayg) echo '07 '; elseif($dayh) echo '08 '; elseif($dayi) echo '09 '; elseif($dayj) echo '10 '; elseif($dayk) echo '11 '; elseif($dayl) echo '12 '; elseif($daym) echo '13 '; elseif($dayn) echo '14 '; elseif($dayo) echo '15 '; elseif($dayp) echo '16 '; elseif($dayq) echo '17 '; elseif($dayr) echo '18 '; elseif($days) echo '19 '; elseif($dayt) echo '20 '; elseif($dayu) echo '21 '; elseif($dayv) echo '22 '; elseif($dayw) echo '23 '; elseif($dayx) echo '24 '; elseif($dayy) echo '25 '; elseif($dayz) echo '26 '; elseif($dayaz) echo '27 '; elseif($daybz) echo '28 '; elseif($daycz) echo '29 '; elseif($daydz) echo '30 '; elseif($dayez) echo '31 '; if($montha) echo 'January '; elseif($monthb) echo 'February '; elseif($monthc) echo 'March '; elseif($monthd) echo 'April '; elseif($monthe) echo 'May '; elseif($monthf) echo 'June '; elseif($monthg) echo 'July '; elseif($monthh) echo 'August '; elseif($monthi) echo 'September '; elseif($monthj) echo 'October '; elseif($monthk) echo 'Novenmber '; elseif($monthl) echo 'December '; if($yeara) echo '2006'; elseif($yearb) echo '2007'; } ?>"> </td></tr> <tr> <td width="300"><div align="left" class="style1">Number of People</div></td> <td> <input readonly="true" type="text" class="txt" name="peoplenumber" size="30" maxlength="50" value=" <?php { if($peoplenumbera) echo '01'; elseif($peoplenumberb) echo '02'; elseif($peoplenumberc) echo '03'; elseif($peoplenumberd) echo '04'; elseif($peoplenumbere) echo '05'; elseif($peoplenumberf) echo '06'; elseif($peoplenumberg) echo '07'; elseif($peoplenumberh) echo '08'; elseif($peoplenumberi) echo '09'; elseif($peoplenumberj) echo '10'; } ?>"> </td></tr> <tr> <td><div align="left" class="style2">Total Amount</div></td> <td></td> <td>   <div align="right">     <input readonly="true" type="text" class="txt" name="price" size="10" maxlength="50" value=" <?php { if(( $toura) && ($addona) && ($peoplenumbera)) $totalamount = (RAC + NONE) * PN1; elseif(( $toura) && ($addonb) && ($peoplenumbera)) $totalamount = (RAC + BMG) * PN1; elseif(( $toura) && ($addonc) && ($peoplenumbera)) $totalamount = (RAC + BS) * PN1; elseif(( $tourb) && ($addona) && ($peoplenumbera)) $totalamount = (BE + NONE) * PN1; elseif(( $tourb) && ($addonb) && ($peoplenumbera)) $totalamount = (BE + BMG) * PN1; elseif(( $tourb) && ($addonc) && ($peoplenumbera)) $totalamount = (BE + BS) * PN1; elseif(( $tourc) && ($addona) && ($peoplenumbera)) $totalamount = (TYHOH + NONE) * PN1; elseif(( $tourc) && ($addonb) && ($peoplenumbera)) $totalamount = (TYHOH + BMG) * PN1; elseif(( $tourc) && ($addonc) && ($peoplenumbera)) $totalamount = (TYHOH + BS) * PN1; elseif(( $tourd) && ($addona) && ($peoplenumbera)) $totalamount = (OAPD + NONE) * PN1; elseif(( $tourd) && ($addonb) && ($peoplenumbera)) $totalamount = (OAPD + BMG) * PN1; elseif(( $tourd) && ($addonc) && ($peoplenumbera)) $totalamount = (OAPD + BS) * PN1; elseif(( $toura) && ($addona) && ($peoplenumberb)) $totalamount = (RAC + NONE) * PN2; elseif(( $toura) && ($addonb) && ($peoplenumberb)) $totalamount = (RAC + BMG) * PN2; elseif(( $toura) && ($addonc) && ($peoplenumberb)) $totalamount = (RAC + BS) * PN2; elseif(( $tourb) && ($addona) && ($peoplenumberb)) $totalamount = (BE + NONE) * PN2; elseif(( $tourb) && ($addonb) && ($peoplenumberb)) $totalamount = (BE + BMG) * PN2; elseif(( $tourb) && ($addonc) && ($peoplenumberb)) $totalamount = (BE + BS) * PN2; elseif(( $tourc) && ($addona) && ($peoplenumberb)) $totalamount = (TYHOH + NONE) * PN2; elseif(( $tourc) && ($addonb) && ($peoplenumberb)) $totalamount = (TYHOH + BMG) * PN2; elseif(( $tourc) && ($addonc) && ($peoplenumberb)) $totalamount = (TYHOH + BS) * PN2; elseif(( $tourd) && ($addona) && ($peoplenumberb)) $totalamount = (OAPD + NONE) * PN2; elseif(( $tourd) && ($addonb) && ($peoplenumberb)) $totalamount = (OAPD + BMG) * PN2; elseif(( $tourd) && ($addonc) && ($peoplenumberb)) $totalamount = (OAPD + BS) * PN2; elseif(( $toura) && ($addona) && ($peoplenumberc)) $totalamount = (RAC + NONE) * PN3; elseif(( $toura) && ($addonb) && ($peoplenumberc)) $totalamount = (RAC + BMG) * PN3; elseif(( $toura) && ($addonc) && ($peoplenumberc)) $totalamount = (RAC + BS) * PN3; elseif(( $tourb) && ($addona) && ($peoplenumberc)) $totalamount = (BE + NONE) * PN3; elseif(( $tourb) && ($addonb) && ($peoplenumberc)) $totalamount = (BE + BMG) * PN3; elseif(( $tourb) && ($addonc) && ($peoplenumberc)) $totalamount = (BE + BS) * PN3; elseif(( $tourc) && ($addona) && ($peoplenumberc)) $totalamount = (TYHOH + NONE) * PN3; elseif(( $tourc) && ($addonb) && ($peoplenumberc)) $totalamount = (TYHOH + BMG) * PN3; elseif(( $tourc) && ($addonc) && ($peoplenumberc)) $totalamount = (TYHOH + BS) * PN3; elseif(( $tourd) && ($addona) && ($peoplenumberc)) $totalamount = (OAPD + NONE) * PN3; elseif(( $tourd) && ($addonb) && ($peoplenumberc)) $totalamount = (OAPD + BMG) * PN3; elseif(( $tourd) && ($addonc) && ($peoplenumberc)) $totalamount = (OAPD + BS) * PN3; elseif(( $toura) && ($addona) && ($peoplenumberd)) $totalamount = (RAC + NONE) * PN4; elseif(( $toura) && ($addonb) && ($peoplenumberd)) $totalamount = (RAC + BMG) * PN4; elseif(( $toura) && ($addonc) && ($peoplenumberd)) $totalamount = (RAC + BS) * PN4; elseif(( $tourb) && ($addona) && ($peoplenumberd)) $totalamount = (BE + NONE) * PN4; elseif(( $tourb) && ($addonb) && ($peoplenumberd)) $totalamount = (BE + BMG) * PN4; elseif(( $tourb) && ($addonc) && ($peoplenumberd)) $totalamount = (BE + BS) * PN4; elseif(( $tourc) && ($addona) && ($peoplenumberd)) $totalamount = (TYHOH + NONE) * PN4; elseif(( $tourc) && ($addonb) && ($peoplenumberd)) $totalamount = (TYHOH + BMG) * PN4; elseif(( $tourc) && ($addonc) && ($peoplenumberd)) $totalamount = (TYHOH + BS) * PN4; elseif(( $tourd) && ($addona) && ($peoplenumberd)) $totalamount = (OAPD + NONE) * PN4; elseif(( $tourd) && ($addonb) && ($peoplenumberd)) $totalamount = (OAPD + BMG) * PN4; elseif(( $tourd) && ($addonc) && ($peoplenumberd)) $totalamount = (OAPD + BS) * PN4; elseif(( $toura) && ($addona) && ($peoplenumbere)) $totalamount = (RAC + NONE) * PN5; elseif(( $toura) && ($addonb) && ($peoplenumbere)) $totalamount = (RAC + BMG) * PN5; elseif(( $toura) && ($addonc) && ($peoplenumbere)) $totalamount = (RAC + BS) * PN5; elseif(( $tourb) && ($addona) && ($peoplenumbere)) $totalamount = (BE + NONE) * PN5; elseif(( $tourb) && ($addonb) && ($peoplenumbere)) $totalamount = (BE + BMG) * PN5; elseif(( $tourb) && ($addonc) && ($peoplenumbere)) $totalamount = (BE + BS) * PN5; elseif(( $tourc) && ($addona) && ($peoplenumbere)) $totalamount = (TYHOH + NONE) * PN5; elseif(( $tourc) && ($addonb) && ($peoplenumbere)) $totalamount = (TYHOH + BMG) * PN5; elseif(( $tourc) && ($addonc) && ($peoplenumbere)) $totalamount = (TYHOH + BS) * PN5; elseif(( $tourd) && ($addona) && ($peoplenumbere)) $totalamount = (OAPD + NONE) * PN5; elseif(( $tourd) && ($addonb) && ($peoplenumbere)) $totalamount = (OAPD + BMG) * PN5; elseif(( $tourd) && ($addonc) && ($peoplenumbere)) $totalamount = (OAPD + BS) * PN5; elseif(( $toura) && ($addona) && ($peoplenumberf)) $totalamount = (RAC + NONE) * PN6; elseif(( $toura) && ($addonb) && ($peoplenumberf)) $totalamount = (RAC + BMG) * PN6; elseif(( $toura) && ($addonc) && ($peoplenumberf)) $totalamount = (RAC + BS) * PN6; elseif(( $tourb) && ($addona) && ($peoplenumberf)) $totalamount = (BE + NONE) * PN6; elseif(( $tourb) && ($addonb) && ($peoplenumberf)) $totalamount = (BE + BMG) * PN6; elseif(( $tourb) && ($addonc) && ($peoplenumberf)) $totalamount = (BE + BS) * PN6; elseif(( $tourc) && ($addona) && ($peoplenumberf)) $totalamount = (TYHOH + NONE) * PN6; elseif(( $tourc) && ($addonb) && ($peoplenumberf)) $totalamount = (TYHOH + BMG) * PN6; elseif(( $tourc) && ($addonc) && ($peoplenumberf)) $totalamount = (TYHOH + BS) * PN6; elseif(( $tourd) && ($addona) && ($peoplenumberf)) $totalamount = (OAPD + NONE) * PN6; elseif(( $tourd) && ($addonb) && ($peoplenumberf)) $totalamount = (OAPD + BMG) * PN6; elseif(( $tourd) && ($addonc) && ($peoplenumberf)) $totalamount = (OAPD + BS) * PN6; elseif(( $toura) && ($addona) && ($peoplenumberg)) $totalamount = (RAC + NONE) * PN7; elseif(( $toura) && ($addonb) && ($peoplenumberg)) $totalamount = (RAC + BMG) * PN7; elseif(( $toura) && ($addonc) && ($peoplenumberg)) $totalamount = (RAC + BS) * PN7; elseif(( $tourb) && ($addona) && ($peoplenumberg)) $totalamount = (BE + NONE) * PN7; elseif(( $tourb) && ($addonb) && ($peoplenumberg)) $totalamount = (BE + BMG) * PN7; elseif(( $tourb) && ($addonc) && ($peoplenumberg)) $totalamount = (BE + BS) * PN7; elseif(( $tourc) && ($addona) && ($peoplenumberg)) $totalamount = (TYHOH + NONE) * PN7; elseif(( $tourc) && ($addonb) && ($peoplenumberg)) $totalamount = (TYHOH + BMG) * PN7; elseif(( $tourc) && ($addonc) && ($peoplenumberg)) $totalamount = (TYHOH + BS) * PN7; elseif(( $tourd) && ($addona) && ($peoplenumberg)) $totalamount = (OAPD + NONE) * PN7; elseif(( $tourd) && ($addonb) && ($peoplenumberg)) $totalamount = (OAPD + BMG) * PN7; elseif(( $tourd) && ($addonc) && ($peoplenumberg)) $totalamount = (OAPD + BS) * PN7; elseif(( $toura) && ($addona) && ($peoplenumberh)) $totalamount = (RAC + NONE) * PN8; elseif(( $toura) && ($addonb) && ($peoplenumberh)) $totalamount = (RAC + BMG) * PN8; elseif(( $toura) && ($addonc) && ($peoplenumberh)) $totalamount = (RAC + BS) * PN8; elseif(( $tourb) && ($addona) && ($peoplenumberh)) $totalamount = (BE + NONE) * PN8; elseif(( $tourb) && ($addonb) && ($peoplenumberh)) $totalamount = (BE + BMG) * PN8; elseif(( $tourb) && ($addonc) && ($peoplenumberh)) $totalamount = (BE + BS) * PN8; elseif(( $tourc) && ($addona) && ($peoplenumberh)) $totalamount = (TYHOH + NONE) * PN8; elseif(( $tourc) && ($addonb) && ($peoplenumberh)) $totalamount = (TYHOH + BMG) * PN8; elseif(( $tourc) && ($addonc) && ($peoplenumberh)) $totalamount = (TYHOH + BS) * PN8; elseif(( $tourd) && ($addona) && ($peoplenumberh)) $totalamount = (OAPD + NONE) * PN8; elseif(( $tourd) && ($addonb) && ($peoplenumberh)) $totalamount = (OAPD + BMG) * PN8; elseif(( $tourd) && ($addonc) && ($peoplenumberh)) $totalamount = (OAPD + BS) * PN8; elseif(( $toura) && ($addona) && ($peoplenumberi)) $totalamount = (RAC + NONE) * PN9; elseif(( $toura) && ($addonb) && ($peoplenumberi)) $totalamount = (RAC + BMG) * PN9; elseif(( $toura) && ($addonc) && ($peoplenumberi)) $totalamount = (RAC + BS) * PN9; elseif(( $tourb) && ($addona) && ($peoplenumberi)) $totalamount = (BE + NONE) * PN9; elseif(( $tourb) && ($addonb) && ($peoplenumberi)) $totalamount = (BE + BMG) * PN9; elseif(( $tourb) && ($addonc) && ($peoplenumberi)) $totalamount = (BE + BS) * PN9; elseif(( $tourc) && ($addona) && ($peoplenumberi)) $totalamount = (TYHOH + NONE) * PN9; elseif(( $tourc) && ($addonb) && ($peoplenumberi)) $totalamount = (TYHOH + BMG) * PN9; elseif(( $tourc) && ($addonc) && ($peoplenumberi)) $totalamount = (TYHOH + BS) * PN9; elseif(( $tourd) && ($addona) && ($peoplenumberi)) $totalamount = (OAPD + NONE) * PN9; elseif(( $tourd) && ($addonb) && ($peoplenumberi)) $totalamount = (OAPD + BMG) * PN9; elseif(( $tourd) && ($addonc) && ($peoplenumberi)) $totalamount = (OAPD + BS) * PN9; elseif(( $toura) && ($addona) && ($peoplenumberj)) $totalamount = (RAC + NONE) * PN10; elseif(( $toura) && ($addonb) && ($peoplenumberj)) $totalamount = (RAC + BMG) * PN10; elseif(( $toura) && ($addonc) && ($peoplenumberj)) $totalamount = (RAC + BS) * PN10; elseif(( $tourb) && ($addona) && ($peoplenumberj)) $totalamount = (BE + NONE) * PN10; elseif(( $tourb) && ($addonb) && ($peoplenumberj)) $totalamount = (BE + BMG) * PN10; elseif(( $tourb) && ($addonc) && ($peoplenumberj)) $totalamount = (BE + BS) * PN10; elseif(( $tourc) && ($addona) && ($peoplenumberj)) $totalamount = (TYHOH + NONE) * PN10; elseif(( $tourc) && ($addonb) && ($peoplenumberj)) $totalamount = (TYHOH + BMG) * PN10; elseif(( $tourc) && ($addonc) && ($peoplenumberj)) $totalamount = (TYHOH + BS) * PN10; elseif(( $tourd) && ($addona) && ($peoplenumberj)) $totalamount = (OAPD + NONE) * PN10; elseif(( $tourd) && ($addonb) && ($peoplenumberj)) $totalamount = (OAPD + BMG) * PN10; elseif(( $tourd) && ($addonc) && ($peoplenumberj)) $totalamount = (OAPD + BS) * PN10; echo number_format($totalamount,2); } ?>">   </div></td> <td>AUS Dollar</td> </tr> </table> <table  border="0" align="center" cellpadding="3" cellspacing="3" >   <tr>     <td>Type of Card</td>     <td><select name="cardtype"> <option value="a">Visa</option> <option value="b">Mastercard</option> <option value="c">Bankcard</option> </select> </td>   </tr>   <tr>     <td>Cardnumber</td>     <td><input name="cardnumber" type="text" size="30" maxlength="50" /></td>   </tr>   <tr>     <td>AMEX code (if required)</td>     <td><input name="amex" type="text" size="3" maxlength="3" /></td>   </tr>   <tr>     <td>Expiry Date</td>     <td>Month <select name="cardmonth"> <option value="a">01</option> <option value="b">02</option> <option value="c">03</option> <option value="d">04</option> <option value="e">05</option> <option value="f">06</option> <option value="g">07</option> <option value="h">08</option> <option value="i">09</option> <option value="j">10</option> <option value="k">11</option> <option value="l">12</option> </select> Year <select name="cardyear"> <option value="a">2006</option> <option value="b">2007</option> </select> </td>   </tr>   <tr>     <td>Name on Card</td>     <td><input name="cardname" type="text" size="30" maxlength="50" /></td>   </tr> </table> <input type="submit" value="BOOK!"> <input type="hidden" name="orderid" value="">   <input type="hidden" name="MM_insert" value="form3"> </form> </div> </div> <div id="nav"> <div style="position:relative; left: 0; top: 100%; "><img src="Pics.gif/wire-corner.gif"/></div> </div> <div id="footer">   <img src="Pics.gif/banner-green.gif" width="100%" height="100%">             </div> </body> </html>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.