transactions.tpl

来自「太烦了」· TPL 代码 · 共 57 行

TPL
57
字号
{strip}
{assign var="page_hdr01_text" value="{lang mkey='transactions_report'}"}
{include file="admin/admin_page_hdr01.tpl"}
<br />
<center>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
	<tr>
		<td class="module_detail_inside" width="100%">
			{assign var="page_hdr02_text" value="{lang mkey='trans_count'}: "|cat:$total_recs}
			{include file="admin/admin_page_hdr02.tpl"}
      <form name="frmPytTrans" action="transactions.php" method="post" >
			<table cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" width="100%">
		  	<tbody>
			    <tr class="table_head">
	  				<th>{lang mkey='col_head_date'}</th>
	  				<th>{lang mkey='pay_no'}</th>
	  				<th>{lang mkey='col_head_username'}</th>
	  				<th>{lang mkey='membership_hdr'}</th>
	  				<th>{lang mkey='paid_thru'}</th>
	  				<th>{lang mkey='ref_no'}</th>
	  				<th>{lang mkey='pay_status'}</th>
				</tr>
		{if $data|@count > 0}
			{foreach item=item key=key from=$data}
				<tr class="{cycle values="oddrow,evenrow"}">
		  			<td width="17%%" >{$item.trans_dt}</td>
		  			<td width="15%">{$item.invoice_no}</td>
		  			<td width="10%">
		  				{if $config.enable_mod_rewrite == 'Y'}
							<a href="javascript:popUpScrollWindow('{if $config.seo_username == 'Y'}{$item.username}{else}{$item.user_id}.htm{/if}','top',650,600)">
						{else}
							<a href="javascript:popUpScrollWindow('showprofile.php?{if $config.seo_username == 'Y'}username={$item.username}{else}id={$item.user_id}{/if}','top',650,600)">
						{/if}
						{$item.username}
						</a>
					</td>
					<td width="16%">{$item.mship_from_name}{lang mkey='to'}{$item.mship_to_name}</td>
					<td width="10%">{$item.payment_mod}</td>
					<td width="20%">{$item.txn_id}</td>
					<td width="12%">{$item.payment_status}</td>
				</tr>
			{/foreach}
		{else}
				<tr>
					<td colspan="7" style="padding-left: 5px; ">
						{lang mkey='no_record_found'}
					</td>
				</tr>
		{/if}
  			</tbody>
			</table>
	    </form>
		</td>
	</tr>
</table>
</center>
{/strip}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?