Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/order_preview.htm
<!-- TITLE: Order Preview -->

<center>

<!-- TPL_INSERT : b_User_Menu -->
<!-- TPL_CELL : def -->

##USER_MENU##

<!-- /TPL_CELL : def -->
<!-- /TPL_INSERT : b_User_Menu -->

</center>

<p class=pagetitle>Order Preview</p>

<form method=post name="frm" onSubmit="return CheckAgree(this)">

<!-- TPL_INSERT : ex -->

<!-- TPL_CELL : start -->
<table border=0>
<tr>
<td colspan=2>
* Please note that bold fields are required
</td>
</tr>
<!-- /TPL_CELL : start -->

<!-- TPL_CELL : row -->
<tr>
<td><b>##f_t##</b></td>
<td>##f_v##</td>
</tr>

<!-- IF ##f_txt|len## -->
<tr>
<td></td>
<td><font class=txt8 color=blue>##f_txt##</font></td>
</tr>
<!-- ENDIF -->

<!-- /TPL_CELL : row -->

<!-- TPL_CELL : end -->
</table>
<p>
<!-- /TPL_CELL : end -->

<!-- /TPL_INSERT : ex -->


Please review your order and proceed if it is correct:

<blockquote>
<p>
Order Number:&nbsp; <b>##o_id##</b><br />
Order Details:<br /> <b>##term_out##</b><br />

Amount: <b>##CURR_SIGN####total_gross##</b><br />
Discount: <b>##CURR_SIGN####discount##</b><br />

<!-- IF ##total_tax## != "0.00" -->
Tax: <b>##CURR_SIGN####total_tax##</b><br />
<!-- ENDIF -->

<!-- IF ##proc_fee## != "0.00" -->
Processing Fee: <b>##CURR_SIGN####proc_fee##</b><br />
<!-- ENDIF -->

Total: <b>##CURR_SIGN####total##</b><br />

<!-- IF ##total## != "0.00" -->
Payment Method: <b>##pay_method_t##</b><br />
<!-- ENDIF -->

</p>
</blockquote>

<input type=checkbox name=hw_agree value=1> 
<!-- onClick="agreesubmit(this)" -->

I agree to be bound by the following 
<a href="#" OnClick="OpenPreview('index.php?page=extra&pg=terms')">Terms of Use</a> and 
<a href="#" OnClick="OpenPreview('index.php?page=extra&pg=privacy')">Privacy Policy</a>
<p>

<center>
<input class=button type=button value="<< Back" OnClick="GoBack();">
<!-- javascript:history.go(-1) -->
<input class=button type=submit value="Next >>" name="hw_submit">
</center>

##post_vars##

<input type=hidden name=id value="##id##">
<input type=hidden name=cid value="##cid##">
<input type=hidden name=hw_back value="">

</form>

<script language="javascript" type="text/javascript">
<!--

function GoBack() {
  var f = document.frm;
  if(f.hw_ref) f.action = f.hw_ref.value;
  f.hw_back.value = "Y";
  f.submit();
}	

	
function CheckAgree(el){
  var f = document.frm;
  if(!f.hw_agree || f.hw_agree.checked) return true;
  else{
    alert("Please read/accept terms to submit form");
    return false;
  }
}

/*

function agreesubmit(el){
  var checkobj=el;
  if (document.all||document.getElementById){
    for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
	var tempobj=checkobj.form.elements[i];
	if(tempobj.type.toLowerCase()=="submit")
	  tempobj.disabled=!checkobj.checked;
    }
  }
}

var f = document.forms.frm;
if(f.hw_agree && !f.hw_agree.checked) f.hw_submit.disabled = true;

*/

// -->

</script>
Return current item: Esvon Personals