Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/admin/user_edit.htm
<!-- TITLE: Modify User -->

<script type="text/javascript">

function DelCharge(id){
  if(confirm('Delete #'+id+' ?')) document.location="index.php?page=users&id=##id##&act=delcharge&token=##TOKEN##&tr_id="+id;
}

</script>


<center>

<table width=100% border=0 cellspacing=0 cellpadding=1>

<form method=post ##enc_type## name=frm>

<tr>
  <td width="35%"><p class=ag_adm>ID&nbsp;</p></td>
  <td width="65%">##id##
  &nbsp;
  <font class=txt8><a href="index.php?page=chklink&s_by=userid_ex&q=##id##">View {Items}</a> (##ads_amt##)
  </td>
</tr>

<!-- TPL_INSERT : row -->

<!-- TPL_CELL : def -->
<tr>
     <td><p class=ag_##css##>##f_t##&nbsp;</p></td>
     <td>##f_v## <font class=txt8 color=blue>##f_txt##</td>
</tr>
<!-- /TPL_CELL : def -->

<!-- /TPL_INSERT : row -->

<tr><td><p class=ag_adm>Price Plan:</p></td>
<td class=txt8>##ctl_pay_plan##</td>
</tr>

<tr height=20>
  <td>&nbsp;</td>
  <td valign=bottom>
  <input type=submit name=go value="Update" 
class="button"><input type=button value="Cancel" class=button 
onClick="document.location='##PAGE_URL##'">
  </td>
</tr>

<tr>
  <td colspan=2><hr size=1 color=green>
  </td>
</tr>

</form>    

</table>


<table width=600 border=0>

<form action="index.php" target=_blank method=post>

<tr>
<td>

<center>

  <input type=hidden name=page value="login_user">
  <input type=hidden name=id value="##id##">
  
  <input type=button value="Delete Account" class="button" 
  onclick="if(confirm('Delete account?')) { document.location='##PAGE_URL##submdel=yes&chk_id=##id##&token=##TOKEN##'; }">
  
  <input type=submit value="Login to Account" class="button" name=go>

</td>
</tr>

</form>    
     
<tr>
<td><hr size=1 color=green>
	<center><font face="Arial" size=3><b>Account transactions</b></font></center>

<br />

<table border=1 width="100%" cellspacing=1 cellpadding=2 bordercolor=000066>
<tr class=ex_row>
  <td>#</td>
  <td>ID</td>
  <td>Date</td>
  <td nowrap>Item ID</td>
  <td>Details</td>
  <td>Amount</td>
  <td>Total</td>	  
  <td>&nbsp;</td>	  
</tr>




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

<tr>
		<td>##num##</td>
		<td>##charge_id##</td>
		<td>##cdate##</td>
		<td align=center>
<!-- IF ##cr_lid## -->
##cr_lid##
<!-- ELSE -->
&#151;
<!-- ENDIF -->

</td>
		<td>Payment (##descr##) - Tran. No. ##txn_id##</td>
		<td>##amount##</td>
		<td>##balance##</td>
		<td><a href="javascript:DelCharge(##charge_id##)">Delete</a></td>
</tr>

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



</table>

<br />

<center>
##nav##
</center>

  </td>
</tr>

</table>


<br />

<!-- TPL_INSERT : b_Credits_Admin -->

<!-- TPL_CELL : start -->

<script type="text/javascript">
function DelCredit(id){
  if(confirm('Delete #'+id+' ?')) document.location="index.php?page=users&id=##id##&credits_del="+id;
}
</script>

<form method=post action="##REQUEST_URI###credits">

<b class=txt11>Credits payment history</b> 

<br /><br />

<center>
<span class=err>##cr_err_msg##</span>
</center>

<table border=0 width="80%" cellspacing=0 cellpadding=0>
<tr>
<td class=txt8>

<a name="credits"></a>

<b>Add/Subtract Credits</b> <br />
Credits Amount
<input name=credits_amt size=4 value="0.00">
&nbsp;
<font class=txt8 color="blue">Enter negative value to subtract credits from User Account</font>
<br />
Addition/Subtraction Reason 
<input name=credits_descr size=25>

<input type=submit name=credits_add value="Add/Subtract" class=button>
</td>
</tr>
</table>


</form>

<font class=txt8>
Displaying ##cr_show## last log entries from ##cr_total## total
</font>

<table border=1 width="80%" cellspacing=0 cellpadding=1>
<tr class=ex_row>
	<td>&nbsp;ID</td>
	<td>&nbsp;Date</td>
	<td>&nbsp;Details</td>
	<td>&nbsp;Credits</td>
	<td>&nbsp;Fee</td>
	<td>&nbsp;</td>
</tr>


<!-- /TPL_CELL : start -->


<!-- TPL_CELL : row -->

<tr>
	<td align=center class=txt8>##cr_id##</td>
	<td align=center class=txt8>##cdate##</td>
	<td class=txt8>##descr##</td>
	<td align=right class=txt8>##camount##</td>
	<td align=right class=txt8>##fee##</td>
	<td class=txt8>&nbsp;<a href="javascript:DelCredit(##cr_id##)">Delete</a></td>
</tr>

<!-- /TPL_CELL : row -->

<!-- TPL_CELL : end -->

</table>

<!-- /TPL_CELL : end -->

<!-- /TPL_INSERT : b_Credits_Admin -->
Return current item: Esvon Personals