user_transaction.dwt
来自「基于jsp+tomcat+sevlect的mvc框架」· DWT 代码 · 共 1,192 行 · 第 1/4 页
DWT
1,192 行
<td colspan="3">{$order.address}
<!-- {if $order.zipcode} -->
[{$lang.postalcode}: {$order.zipcode}]
<!-- {/if} --></td>
</tr>
<!-- {/if}-->
<tr>
<td >{$lang.phone}:</td>
<td>{$order.tel} </td>
<td >{$lang.backup_phone}:</td>
<td>{$order.mobile}</td>
</tr>
<!-- {if $order.exist_real_goods} -->
<tr>
<td >{$lang.sign_building}:</td>
<td>{$order.sign_building} </td>
<td >{$lang.deliver_goods_time}:</td>
<td>{$order.best_time}</td>
</tr>
<!--{/if}-->
</table>
<!-- {/if} -->
</div>
<div class="title-div"><img src="images/payment.gif" alt="" width="158" height="39" /></div>
<div>{$lang.select_payment}: <strong>{$order.pay_name}</strong>。{$lang.order_amount}: <strong>{$order.formated_order_amount}</strong></div>
<div style="padding:3px 2px;">{$order.pay_desc}</div>
<!--{if $payment_list}-->
<div align="right" style="border-top: 1px dotted #DADADA">
<form name="payment" method="post" action="user.php">
{$lang.change_payment}:
<select name="pay_id">
<!--{foreach from=$payment_list item=payment}-->
<option value="{$payment.pay_id}">
{$payment.pay_name}({$lang.pay_fee}:{$payment.format_pay_fee})
</option>
<!--{/foreach}-->
</select>
<input type="hidden" name="act" value="act_edit_payment" />
<input type="hidden" name="order_id" value="{$order.order_id}" />
<input type="submit" name="Submit" value="{$lang.button_submit}" />
</form>
</div>
<!--{/if}-->
<div class="title-div"><img src="images/order_others.gif" alt="" width="158" height="39" /></div>
<div class="content-div">
<table width="100%" border="0">
<!-- {if $order.shipping_id > 0} -->
<tr>
<td width="15%">{$lang.shipping}:</td>
<td width="40%">{$order.shipping_name}</td>
<td width="10%" align="right"> </td>
<td width="35%"> </td>
</tr>
<!-- {/if} -->
<tr>
<td>{$lang.payment}:</td>
<td>{$order.pay_name}</td>
<td align="right"> </td>
<td> </td>
</tr>
<!--{if $order.insure_fee > 0}-->
<!--{/if}-->
<!-- {if $order.pack_name} 是否使用包装 -->
<tr>
<td>{$lang.use_pack}:</td>
<td>{$order.pack_name}</td>
<td align="right"> </td>
<td> </td>
</tr>
<!-- {/if} 是否使用包装 -->
<!-- {if $order.card_name} 是否使用贺卡 -->
<tr>
<td>{$lang.use_card}:</td>
<td>{$order.card_name}</td>
<td align="right"> </td>
<td> </td>
</tr>
<!-- {/if} -->
<!-- {if $order.card_message} 是否使用贺卡 -->
<tr>
<td>{$lang.bless_note}:</td>
<td colspan="3">{$order.card_message}</td>
</tr>
<!-- {/if} 是否使用贺卡 -->
<!-- {if $order.surplus > 0} 是否使用余额 -->
<!-- {/if} -->
<!-- {if $order.integral > 0} 是否使用积分 -->
<tr>
<td>{$lang.use_integral}:</td>
<td colspan="3">{$order.integral}</td>
</tr>
<!-- {/if} 是否使用积分 -->
<!-- {if $order.bonus > 0} 是否使用红包 -->
<!-- {/if} -->
<!-- {if $order.inv_payee && $order.inv_content} 是否开发票 -->
<tr>
<td>{$lang.invoice_title}:</td>
<td>{$order.inv_payee}</td>
<td>{$lang.invoice_content}:</td>
<td>{$order.inv_content}</td>
</tr>
<!-- {/if} -->
<!-- {if $order.postscript} 是否有订单附言 -->
<tr>
<td>{$lang.order_postscript}:</td>
<td colspan="3">{$order.postscript}</td>
</tr>
<!-- {/if} -->
<tr>
<td>{$lang.booking_process}:</td>
<td colspan="3">{$order.how_oos_name}</td>
</tr>
</table>
</div>
<!--{/if} -->
<!--#订单详情页 -->
<!--{if $action eq "account_raply" || $action eq "account_log" || $action eq "account_deposit" || $action eq "account_detail"} -->
<script type="text/javascript">
{foreach from=$lang.account_js item=item key=key}
var {$key} = "{$item}";
{/foreach}
</script>
<div class="title-div"><img src="images/user_surplus.gif" alt="" width="158" height="39"/></div>
<table width="100%" border="0">
<tr>
<td align="right"><a href="user.php?act=account_deposit">{$lang.surplus_type_0}</a> | <a href="user.php?act=account_raply">{$lang.surplus_type_1}</a> | <a href="user.php?act=account_detail">{$lang.add_surplus_log}</a> | <a href="user.php?act=account_log">{$lang.view_application}</a> </td>
</tr>
</table>
<!-- {/if} -->
<!-- {if $action eq "account_raply"} -->
<form name="formSurplus" method="post" action="user.php" onSubmit="return submitSurplus()">
<table width="100%" border="0">
<tr>
<td width="15%"><strong>{$lang.repay_money}:</strong></td>
<td><input type="text" name="amount" value="{$order.amount|escape}" size="30" />
</td>
</tr>
<tr>
<td><strong>{$lang.process_notic}:</strong></td>
<td><textarea name="user_note" cols="55" rows="6">{$order.user_note|escape}</textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="hidden" name="surplus_type" value="1" />
<input type="hidden" name="act" value="act_account" />
<input type="submit" name="submit" value="{$lang.submit_request}" />
<input type="reset" name="reset" value="{$lang.button_reset}" />
</td>
</tr>
</table>
</form>
<!-- {/if} -->
<!-- {if $action eq "account_deposit"} -->
<form name="formSurplus" method="post" action="user.php" onSubmit="return submitSurplus()">
<table width="100%" border="0">
<tr>
<td width="15%"><strong>{$lang.deposit_money}:</strong></td>
<td><input type="text" name="amount" value="{$order.amount|escape}" size="30" /></td>
</tr>
<tr>
<td><strong>{$lang.process_notic}:</strong></td>
<td><textarea name="user_note" cols="55" rows="6">{$order.user_note|escape}</textarea></td>
</tr>
<tr>
<td colspan="2"><strong>{$lang.payment}:</strong></td>
</tr>
<tr>
<td align="center" colspan="2" valign="top">
<table width="100%" border="0">
<tr align="center">
<td width="8%"><strong></strong></td>
<td width="15%"><strong>{$lang.pay_name}</strong></td>
<td width="60%"><strong>{$lang.pay_desc}</strong></td>
<td width="17%"><strong>{$lang.pay_fee}</strong></td>
</tr>
<!-- {foreach from=$payment item=list} -->
<tr>
<td align="right"><input type="radio" name="payment_id" value="{$list.pay_id}" /></td>
<td align="left"><strong>{$list.pay_name}</strong></td>
<td align="left">{$list.pay_desc}</td>
<td align="right">{$list.pay_fee}</td>
</tr>
<!-- {/foreach} -->
</table>
</td>
</tr>
<tr>
<td> </td>
<td><input type="hidden" name="surplus_type" value="0" />
<input type="hidden" name="rec_id" value="{$order.id}" />
<input type="hidden" name="act" value="act_account" />
<input type="submit" name="submit" value="{$lang.submit_request}" />
<input type="reset" name="reset" value="{$lang.button_reset}" />
</td>
</tr>
</table>
</form>
<!-- {/if} -->
<!-- {if $action eq "act_account"} -->
<table width="100%" border="0">
<tr>
<td width="25%" align="right"><strong>{$lang.surplus_amount}</strong></td>
<td width="80%">{$amount}</td>
</tr>
<tr>
<td align="right"><strong>{$lang.payment_name}</strong></td>
<td>{$payment.pay_name}</td>
</tr>
<tr>
<td align="right"><strong>{$lang.payment_fee}</strong></td>
<td>{$pay_fee}</td>
</tr>
<tr>
<td align="right" valign="middle"><strong>{$lang.payment_desc}</strong></td>
<td>{$payment.pay_desc}</td>
</tr>
<tr>
<td colspan="2">{$payment.pay_button}</td>
</tr>
</table>
<!-- {/if} -->
<!-- {if $action eq "account_detail"} -->
<table width="100%" border="1" style="border:1px solid #DADADA;border-collapse:collapse;">
<tr align="center">
<td><strong>{$lang.process_time}</strong></td>
<td><strong>{$lang.surplus_pro_type}</strong></td>
<td><strong>{$lang.money}</strong></td>
<td><strong>{$lang.change_desc}</strong></td>
</tr>
<!--{foreach from=$account_log item=item}-->
<tr>
<td align="center">{$item.change_time}</td>
<td align="center">{$item.type}</div></td>
<td align="right">{$item.amount}</td>
<td title="{$item.change_desc}">{$item.short_change_desc}</td>
</tr>
<!--{/foreach}-->
<tr>
<td colspan="4" align="center"><div align="right">{$lang.current_surplus}{$surplus_amount}</div></td>
</tr>
</table>
<!-- #BeginLibraryItem "/library/pages.lbi" -->
<form action="{$smarty.server.PHP_SELF}" method="get" name="selectPageForm" id="selectPageForm">
<div id="pager"> {$lang.pager_1}{$pager.record_count}{$lang.pager_2}{$lang.pager_3}{$pager.page_count}{$lang.pager_4} <span> <a href="{$pager.page_first}">{$lang.page_first}</a> <a href="{$pager.page_prev}">{$lang.page_prev}</a> <a href="{$pager.page_next}">{$lang.page_next}</a> <a href="{$pager.page_last}">{$lang.page_last}</a> </span>
<!--{foreach from=$pager.search key=key item=item}-->
<input type="hidden" name="{$key}" value="{$item}" />
<!--{/foreach}-->
<select name="page" id="page" onchange="selectPage(this)">
{html_options options=$pager.array selected=$pager.page}
</select>
</div>
</form>
<script type="text/javascript" language="JavaScript">
<!--
{literal}
function selectPage(sel)
{
sel.form.submit();
}
{/literal}
//-->
</script>
<!-- #EndLibraryItem --><!-- {/if} -->
<!-- {if $action eq "account_log"} -->
<table width="100%" border="1" style="border:1px solid #DADADA;border-collapse:collapse;">
<tr align="center">
<td><strong>{$lang.process_time}</strong></td>
<td><strong>{$lang.surplus_pro_type}</strong></td>
<td><strong>{$lang.money}</strong></td>
<td><strong>{$lang.process_notic}</strong></td>
<td><strong>{$lang.admin_notic}</strong></td>
<td><strong>{$lang.is_paid}</strong></td>
<td><strong>{$lang.handle}</strong></td>
</tr>
<!--{foreach from=$account_log item=item}-->
<tr>
<td align="center">{$item.add_time}</td>
<td align="left">{$item.type}</td>
<td align="right">{$item.amount}</td>
<td align="left"><a href="#" title="{$item.user_note}">{$item.short_user_note}</a></td>
<td align="left"><a href="#" title="{$item.admin_note}">{$item.short_admin_note}</a></td>
<td align="center">{$item.pay_status}</td>
<td align="right">{$item.handle}
<!-- {if ($item.is_paid eq 0 && $item.process_type eq 1) || $item.handle} -->
<a href="user.php?act=cancel&id={$item.id}" onclick="if (!confirm('{$lang.confirm_remove_account}')) return false;">{$lang.is_cancel}</a>
<!-- {/if} -->
</td>
</tr>
<!--{/foreach}-->
<tr>
<td colspan="7" align="right">{$lang.current_surplus}{$surplus_amount}</td>
</tr>
</table>
<!-- #BeginLibraryItem "/library/pages.lbi" -->
<form action="{$smarty.server.PHP_SELF}" method="get" name="selectPageForm" id="selectPageForm">
<div id="pager"> {$lang.pager_1}{$pager.record_count}{$lang.pager_2}{$lang.pager_3}{$pager.page_count}{$lang.pager_4} <span> <a href="{$pager.page_first}">{$lang.page_first}</a> <a href="{$pager.page_prev}">{$lang.page_prev}</a> <a href="{$pager.page_next}">{$lang.page_next}</a> <a href="{$pager.page_last}">{$lang.page_last}</a> </span>
<!--{foreach from=$pager.search key=key item=item}-->
<input type="hidden" name="{$key}" value="{$item}" />
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?