Location: PHPKode > projects > Esvon Personals > esvon-personals/tpl/admin/payment.htm
<!-- TITLE: Payment Transactions -->

<script type="text/javascript">

function PrintExpenses(){

  var f = document.fsearch;
  var ms = f.month_s.value;
  var ds = f.day_s.value;
  var me = f.month_e.value;
  var de = f.day_e.value;
  if(ms<10) ms = '0'+ ms;
  if(ds<10) ds = '0'+ ds;
  if(me<10) me = '0'+ me;
  if(de<10) de = '0'+ de;
 
  var dts = f.year_s.value+'-'+ms+'-'+ds;
  var dte = f.year_e.value+'-'+me+'-'+de;
  var extra_p = '&ds=' + escape(dts) + '&de=' + escape(dte);
  OpenPreview('index.php?page=payment&pg=trans_print' + extra_p);
}

</script>

<table width="100%" border=0>

<form method=get name=fsearch>

<input type=hidden name=page value=payment>

<tr>
<td valign=top nowrap>

 <select name="search_by" class="txt8">
<option value="">- Search by -
##search_by##
  </select>

<input type=text size=15 name=q value="##q##" class="txt8">

</td>
<td align=right valign=top>

<select name=sort_by class="txt8">
<option value="">- Sort by -
##sort_by##
</select>

<select name=a_d class="txt8">
##a_d##
</select><input type=submit value=" Go " class=button>

</td>
</tr>
<tr>
<td class=txt9 nowrap>

From ##dt_start## &nbsp; To ##dt_end##
<input type=button class=button value=" Print " OnClick="PrintExpenses()">
<table border=0><tr height=5><td></td></tr></table>
<b>Total Income: <font color=red>##total_earned##</font> &nbsp;|&nbsp; Total Expense: <font color=red>##total_spent##</font></b>
&nbsp;|&nbsp; <font class=txt8><a href="index.php?page=payment&pg=expenses"><b>MANAGE EXPENSES</b></a>
</td>
<td class=txt8 valign=top><center>
<a href="index.php?page=payment_reg"><b>REGISTER PAYMENT</b></a>&nbsp; (for Cash,<br /> Money Order, Check payments)<br />
<a href="index.php?page=payment_pend"><b>PENDING PAYMENTS (##pend_amt##)</b></a>&nbsp; (for Cash,<br /> Money Order, Check payments)<br />

</td>
</tr>

</form>


</table>

<table border="0" cellPadding=2 cellSpacing="1" width=600 align=center>



<form method=post name=frm>


      <tr vAlign="center">

        <td width="3%" valign=top>

          <b>No.</b>

        </td>

        <td width="3%">

          <input type=checkbox name=chk_all value=1 OnClick="SwitchItemsAdm()">

        </td>

        <td width="3%">

          &nbsp;

        </td>

        <td width="91%" valign=top>

          <b>Transaction Details</b>
        </td>

      </tr>

      <tr>

        <td colspan="4"><hr size=1>

        </td>

      </tr>

      


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


  <tr vAlign="center">

    <td align="middle" vAlign="top" width="3%">

    ##number##.

    </td>

    <td align="middle" vAlign="top" width="3%">

      <input type=checkbox name=chk_id[] value="##id##" class=checkbox>
    </td>

    <td align="middle" vAlign="top" width="3%">

      &nbsp;

    </td>

    <td align="left" vAlign="top" width="91%" class=txt9>

<b>ID : ##id##</b> &nbsp; 
<b>User ID :</b> <a href="index.php?page=users&id=##userid##"><b>##userid##</b></a> &nbsp; 
<b>Ad ID :</b> <a href="index.php?page=add&lid=##link_id##&cid=##cid##"><b>##link_id##</b></a>
<br />
<b>Date / IP :</b> ##cdate## / <font color=green><b>##ip##</b></font><br />
<b>Amount : <font color=blue>##amount##</font></b><br />
<b>Reason :</b> Payment (##descr##) - Tran. No. ##txn_id##

    </td>

  </tr> 

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


      <tr>

        <td colspan="4"><center>



<p>

<input type=submit name=go value="Delete" class=button 
OnClick="return confirm('Delete?')"><input type=reset 
value="Reset" class=button>

<p>

##nav##


        </td>

      </tr>


      

</form>


    </table>

Return current item: Esvon Personals