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

<center>

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

##USER_MENU##

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

</center>

<script type="text/javascript">

 function CheckOrder() {
   var block = 'term[]';
   var el = document.frm.elements;
   var ok = 0;
   var s_term = '';
   for (var i=0; i<el.length; i++) {
     if (el[i].name.substr(0,block.length)== block && (el[i].checked || (el[i].tagName=='SELECT' && el[i].selectedIndex>0))){
       ok = 1;
       s_term = el[i].value;
       break;
     }
   }
/*
   if(s_term=='SUB_FREE'){
     alert('You are automatically registered at this level so there is no need to select it. If you purchased premium membership level and want to move to the free membership level, you will automatically be moved to the free level upon current membership level expiration');
     return false;
   }
*/
   if(!ok){
     alert('Please select at least one payment option');
     return false;
   }
 
   return true;
 }

</script>

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

<form method=post name=frm OnSubmit="return CheckOrder()">

<span class=err>##err_msg##</span><p>

You are going to order/renew membership.<br />
<br />

User ID: <b>##id##</b><br />
E-mail: <b>##l_title##</b>

<!-- TPL_INSERT : row -->

<!-- TPL_CELL : pp -->

<hr size=1 />
<input type=radio name=term[] value="##pp_id##" ##pp_checked##> <b>##pp_name##</b>

<!-- IF ##pp_url## -->
&nbsp; <a href="javascript:OpenPreview('##pp_url##')" class=txt8>View Sample</a>
<!-- ENDIF -->

<br />

<font class=txt8>

<b>Expires:</b>
<!-- IF ##pp_exp_days## == 9999 -->
never 
<!-- ELSE -->
in ##pp_exp_days## days
<!-- ENDIF -->

&nbsp;

<b>Fee:</b> 

<!-- IF ##IS_FREE## -->
<strike>##CURR_SIGN####pp_fee##</strike> &nbsp;<font color=FF0000>Free within your allowance</font>
<!-- ELSE -->
##CURR_SIGN####pp_fee##
<!-- ENDIF -->

<br />
<b>Description:</b> ##pp_descr##</font>

<!-- /TPL_CELL : pp -->

<!-- TPL_CELL : extra_start -->
<p>
<table border=0 cellpadding=0>
<tr height=20>
<td colspan=2><font color=0000FF><b>Extra Options</td>
</tr>
<!-- /TPL_CELL : extra_start -->

<!-- TPL_CELL : extra -->
<tr>
<td class=txt8><b>##e_title##</b>&nbsp;</td>
<td class=txt8>##e_ctl## &nbsp; <!--Term: ##e_term## days--></td>
</tr>
<!-- /TPL_CELL : extra -->

<!-- TPL_CELL : extra_end -->
</table>
<!-- /TPL_CELL : extra_end -->

<!-- /TPL_INSERT : row -->

<hr size=1 />

<table border=0 cellpadding=0>

<!-- IF ##Mod_Coupons## == "1" -->
<tr>
<td colspan=2>
If you have a promotional "coupon" code, please enter it now.
</td>
</tr>
<tr>
<td><font color=red><b>Coupon Code</b></font></td>
<td><input name=hw_coupon_id type=text size=20></td>
</tr>
<!-- ENDIF -->

<tr>
<td>Payment Method&nbsp;</td>
<td>##pay_method##</td>
</tr>
</table>

<br />
<br />

<input class=button type=submit value="Proceed">

</form>
Return current item: Esvon Personals