⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gc_admin.tpl

📁 NetGou商城购物系统是一款功能强大完善、操作界面友好、可扩展性好、专门针对个人和企业进行网上销售而开发的一套商城购物系统。 它具有完善的商品管理、订单管理、销售统计、新闻管理、结算系统、税率系统、
💻 TPL
字号:
{* $Id: gc_admin.tpl,v 1.20 2004/05/28 12:21:09 max Exp $ *}
{if $smarty.get.mode eq "add_gc" or ($smarty.get.mode eq "modify_gc" and $gc_readonly ne "Y")}
{include file="modules/Gift_Certificates/giftcert.tpl"}
{elseif $smarty.get.mode eq "modify_gc"}
{include file="modules/Gift_Certificates/giftcert_static.tpl"}
{else}

{include file="page_title.tpl" title=$lng.lbl_gc_menu}

{$lng.txt_gc_admin_top_text}

<BR><BR>

{capture name=dialog}

<TABLE border="0" cellpadding="3" cellspacing="1" width="100%">

<TR class="TableHead">
<TD width="10%">{$lng.lbl_order}</TD>
<TD width="25%">{$lng.lbl_giftcert_ID}</TD>
<TD width="10%">{$lng.lbl_gc_type}</TD>
<TD width="10%">{$lng.lbl_status}</TD>
<TD width="25%" align="center">{$lng.lbl_rem_amount}</TD>
<TD width="20%" align="center">{$lng.lbl_added}</TD>
</TR>

{if $giftcerts ne ""}

<FORM action="giftcerts.php" method="POST">

{section name=gc_num loop=$giftcerts}
<TR{cycle values=", class='TableSubHead'"}>
{if $giftcerts[gc_num].orderid}
<TD><A href="order.php?orderid={$giftcerts[gc_num].orderid}">#{$giftcerts[gc_num].orderid}</A></TD>
{else}
<TD>{$lng.txt_not_available}</TD>
{/if}
<TD><A href="giftcerts.php?mode=modify_gc&gcid={$giftcerts[gc_num].gcid}">{$giftcerts[gc_num].gcid}</A></TD>
<TD>
{if $giftcerts[gc_num].send_via eq "E"}{$lng.lbl_email}{else}{$lng.lbl_mail}{/if}
</TD>
<TD>
<SELECT name="status-{$giftcerts[gc_num].gcid}">
<OPTION value="P" {if $giftcerts[gc_num].status eq "P"}selected{/if}>{$lng.lbl_pending}</OPTION>
<OPTION value="A" {if $giftcerts[gc_num].status eq "A"}selected{/if}>{$lng.lbl_active}</OPTION>
<OPTION value="B" {if $giftcerts[gc_num].status eq "B"}selected{/if}>{$lng.lbl_blocked}</OPTION>
<OPTION value="D" {if $giftcerts[gc_num].status eq "D"}selected{/if}>{$lng.lbl_disabled}</OPTION>
<OPTION value="E" {if $giftcerts[gc_num].status eq "E"}selected{/if}>{$lng.lbl_expired}</OPTION>
<OPTION value="U" {if $giftcerts[gc_num].status eq "U"}selected{/if}>{$lng.lbl_used}</OPTION>
</SELECT>
</TD>
<TD align="center" nowrap>
{include file="currency.tpl" value=$giftcerts[gc_num].debit}/{include file="currency.tpl" value=$giftcerts[gc_num].amount}  
</TD>
<TD align="center" nowrap>
{if $giftcerts[gc_num].orderid}<A href="user_modify.php?user={$giftcerts[gc_num].login}&usertype={$giftcerts[gc_num].usertype}">{$giftcerts[gc_num].purchaser|truncate:"30":"...":true}</A>{else}{$giftcerts[gc_num].purchaser|truncate:"30":"...":true}{/if}<BR>
<FONT class="SmallText">{$giftcerts[gc_num].add_date|date_format:$config.Appearance.datetime_format}</FONT>
</TD>
</TR>
{/section}

<TR>
<TD colspan="6"><BR>
<INPUT type="submit" value="{$lng.lbl_update}">
<BR><BR>
{$lng.txt_gc_update_warning}
</TD>
</TR>

</FORM>

{else}

<TR>
<TD colspan="6" align="center">{$lng.txt_no_gc}</TD>
</TR>

{/if}

<TR>
<TD colspan="6"><BR>
<INPUT type="button" value="{$lng.lbl_add_new_}" onclick="javascript:self.location='giftcerts.php?mode=add_gc'">
</TD>

</TR>

</TABLE>

{/capture}
{include file="dialog.tpl" title=$lng.lbl_gc_menu content=$smarty.capture.dialog extra="width=100%"}
{/if}

⌨️ 快捷键说明

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