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

📄 countries.tpl

📁 NetGou商城购物系统是一款功能强大完善、操作界面友好、可扩展性好、专门针对个人和企业进行网上销售而开发的一套商城购物系统。 它具有完善的商品管理、订单管理、销售统计、新闻管理、结算系统、税率系统、
💻 TPL
字号:
{include file="page_title.tpl" title=$lng.lbl_countries_management}
{$lng.txt_countries_management_top_text}
{capture name=dialog}

<SCRIPT type="text/javascript" language="JavaScript 1.2">
<!--
checkboxes_form = 'editcountriesform';
checkboxes = new Array({foreach from=$countries item=v key=k}{if $k > 0},{/if}'posted_data[{$v.code}][active]'{/foreach});

{include file="change_all_checkboxes.tpl"}
-->
</SCRIPT>

{section name=zone loop=$zones}
<NOBR>
{if $zones[zone].zone eq $zone or ($zones[zone].zone eq "ALL" and $zone eq "")}
<B>{$zones[zone].title}</B>
{else}
<A href="countries.php{if $zones[zone].zone}?zone={$zones[zone].zone}{/if}">{$zones[zone].title}</A>
{/if}
</NOBR>
{if not %zone.last%}&nbsp;&nbsp;&nbsp;&nbsp;{/if}
{/section}

{include file="customer/main/navigation.tpl"}
<DIV align="right" style="line-height:170%"><A href="javascript:change_all(true);">{$lng.lbl_check_all}</A> / <A href="javascript:change_all(false);">{$lng.lbl_uncheck_all}</A></DIV>

<TABLE border="0" cellpadding="2" cellspacing="1" width="100%">
<FORM action="countries.php" method="post" name="editcountriesform">
<INPUT type="hidden" name="mode" value="">
<INPUT type="hidden" name="page" value="{$smarty.get.page}">
<INPUT type="hidden" name="zone" value="{$zone}">

<TR class="TableHead">
<TD nowrap>{$lng.lbl_code}</TD>
<TD width="50%" nowrap>{$lng.lbl_country}</TD>
<TD width="10%" nowrap>{$lng.lbl_has_states}</TD>
<TD width="30%" nowrap>{$lng.lbl_charset}</TD>
<TD nowrap>{$lng.lbl_active}</TD>
</TR>

{section name=country loop=$countries}
<TR{if $countries[country].code eq $config.Company.location_country} class="TableHead"{/if}{cycle values=", class='TableSubHead'"}>
<TD nowrap>{$countries[country].code}</TD>
<TD><INPUT type="text" size="34" maxlength="50" name="posted_data[{$countries[country].code}][country]" value="{$countries[country].country}" style="width:100%"></TD>
<TD align="center"><INPUT type="checkbox" name="posted_data[{$countries[country].code}][display_states]" value="Y"{if $countries[country].display_states eq "Y"} checked{/if}></TD>
<TD><INPUT type="text" size="15" maxlength="32" name="posted_data[{$countries[country].code}][charset]" value="{$countries[country].charset}" style="width:100%"></TD>
<TD align="center"><INPUT type="checkbox" name="posted_data[{$countries[country].code}][active]" value="Y"{if $countries[country].active eq "Y"} checked{/if}></TD>
</TR>
{/section}
<TR>
<TD colspan="5"><BR>
{include file="customer/main/navigation.tpl"}
<INPUT type="submit" value="{$lng.lbl_update}">
&nbsp;&nbsp;
<INPUT type="button" value="{$lng.lbl_deactivate_all}" onclick="javascript:document.editcountriesform.mode.value='deactivate_all';document.editcountriesform.submit();">
&nbsp;&nbsp;
<INPUT type="button" value="{$lng.lbl_activate_all}" onclick="javascript:document.editcountriesform.mode.value='activate_all';document.editcountriesform.submit();">
</TD>
</TR>
</FORM>
</TABLE>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_countries_management content=$smarty.capture.dialog extra="width=100%"}

⌨️ 快捷键说明

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