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

📄 shipping.tpl

📁 NetGou商城购物系统是一款功能强大完善、操作界面友好、可扩展性好、专门针对个人和企业进行网上销售而开发的一套商城购物系统。 它具有完善的商品管理、订单管理、销售统计、新闻管理、结算系统、税率系统、
💻 TPL
字号:
{* $Id: shipping.tpl,v 1.26.2.3 2004/08/30 06:45:24 svowl Exp $ *}

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

<!-- IN THIS SECTION -->

{include file="dialog_tools.tpl"}

<!-- IN THIS SECTION -->

<BR>

{$lng.txt_shipping_methods_top_text}

<BR><BR>

{capture name=dialog}

<BR>

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

<FORM action="shipping.php" method="POST" name="shippingmethodsform">

<INPUT type="hidden" name="carrier" value="{$carrier}">

<TR>
<TD colspan="2"><A name="rt"/>{include file="main/subheader.tpl" title=$lng.lbl_realtime_shipping_methods}</TD>
</TR>

{section name=car loop=$carriers}

<TR class="TableSubHead">
<TD colspan="2">
<TABLE border="0" cellpadding="1" cellspacing="0" width="100%">
<TR>
<TD width="25%">{if $carriers[car].code eq $carrier}<IMG src="{$ImagesDir}/darrow.gif" width="9" border="0" align="absmiddle">&nbsp;<A href="shipping.php#rt"><B>{$carriers[car].shipping}</B></A>{else}<IMG src="{$ImagesDir}/rarrow.gif" width="9" border="0" align="absmiddle">&nbsp;<A href="shipping.php?carrier={$carriers[car].code}#rt">{$carriers[car].shipping}</A>{/if}</TD>
<TD width="40%">{$lng.lbl_X_from_Y_shipping_methods_enabled|substitute:"enabled":$carriers[car].total_enabled:"methods":$carriers[car].total_methods}</TD>
<TD>
{if $config.Shipping.realtime_shipping eq "Y" and $config.Shipping.use_intershipper ne "Y" and $active_modules.UPS_OnLineTools eq "" and ($carriers[car].code eq "CPC" or $carriers[car].code eq "FDX" or $carriers[car].code eq "USPS" or $carriers[car].code eq "ARB")}
<A href="shipping_options.php?carrier={$carriers[car].code}">{$lng.lbl_options} &gt;&gt;</A>
{elseif $config.Shipping.realtime_shipping eq "Y" and $active_modules.UPS_OnLine_Tools and $config.Shipping.use_intershipper ne "Y" and $carriers[car].code eq "UPS"}
<A href="ups.php">{$lng.lbl_ups_online_tools_configure} &gt;&gt;</A>
{/if}
</TD>
</TR>
</TABLE>
</TD>
</TR>

{if $carriers[car].code eq $carrier}

<SCRIPT type="text/javascript" language="JavaScript 1.2">
<!--
checkboxes_form = 'shippingmethodsform';
checkboxes = new Array({foreach from=$shipping item=v key=k}{if $k > 0},{/if}'{if $v.code eq $carriers[car].code}active-{$v.shippingid}{/if}'{/foreach});
  
{include file="change_all_checkboxes.tpl"} 
--> 
</SCRIPT>

<TR>
<TD width="10">&nbsp;</TD>
<TD>

<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%">

<TR style="BACKGROUND-COLOR: #CCCCCC; HEIGHT: 20px;">
<TD><B>{$lng.lbl_shipping_method}</B></TD>
<TD><B>{$lng.lbl_period}</B></TD>
<TD><B>{$lng.lbl_destination}</B></TD>
<TD nowrap><B>{$lng.lbl_weight_limit} ({$config.General.weight_symbol})</B></TD>
<TD><B>{$lng.lbl_pos}</B></TD>
<TD><B>{$lng.lbl_active}</B></TD>
</TR>

{section name=prod_num loop=$shipping}
{if $shipping[prod_num].code eq $carriers[car].code}

<TR{cycle values=", class='TableSubHead'"}>
<TD>{$shipping[prod_num].shipping|trademark:$insert_trademark}</TD>
<TD><INPUT type="text" name="shipping_time-{$shipping[prod_num].shippingid}" size="8" value="{$shipping[prod_num].shipping_time}"></TD>
<TD>
{if $shipping[prod_num].destination eq "L"}{$lng.lbl_national}{else}{$lng.lbl_international}{/if}
</TD>
<TD align="center"><INPUT type="text" size="8" name="weight_limit-{$shipping[prod_num].shippingid}" value="{$shipping[prod_num].weight_limit}"></TD>
<TD align="center"><INPUT type="text" name="orderby-{$shipping[prod_num].shippingid}" size="4" value="{$shipping[prod_num].orderby}"></TD>
<TD align="center">
<INPUT type="checkbox" name="active-{$shipping[prod_num].shippingid}" {if $shipping[prod_num].active eq "Y"}checked{/if}>
</TD>
</TR>

{/if}
{/section}

</TABLE>
</TD>
</TD>
{/if}

{/section}

<TR>
<TD colspan="2"><BR>{include file="main/subheader.tpl" title=$lng.lbl_defined_shipping_methods}</TD>
</TR>

<TR>
<TD colspan="2">
<TABLE border="0" cellpadding="2" cellspacing="1" width="100%">

<TR class="TableHead">
<TD>{$lng.lbl_shipping_method}</TD>
<TD>{$lng.lbl_period}</TD>
<TD>{$lng.lbl_destination}</TD>
<TD>{$lng.lbl_weight_limit} ({$config.General.weight_symbol})</TD>
<TD>{$lng.lbl_pos}</TD>
<TD>{$lng.lbl_active}</TD>
</TR>

{section name=prod_num loop=$shipping}
{if $shipping[prod_num].code eq ""}
<TR>
<TD><INPUT type="text" name="shipping-{$shipping[prod_num].shippingid}" size="32" value="{$shipping[prod_num].shipping}"></TD>
<TD><INPUT type="text" name="shipping_time-{$shipping[prod_num].shippingid}" size="8" value="{$shipping[prod_num].shipping_time}"></TD>
<TD>
<SELECT name="destination-{$shipping[prod_num].shippingid}">
<OPTION value="I" {if $shipping[prod_num].destination eq "I"}selected{/if}>{$lng.lbl_international}</OPTION>
<OPTION value="L" {if $shipping[prod_num].destination eq "L"}selected{/if}>{$lng.lbl_national}</OPTION>
</SELECT>
</TD>
<TD><INPUT type="text" size="8" name="weight_limit-{$shipping[prod_num].shippingid}" value="{$shipping[prod_num].weight_limit}"></TD>
<TD><INPUT type="text" name="orderby-{$shipping[prod_num].shippingid}" size="4" value="{$shipping[prod_num].orderby}"></TD>
<TD nowrap>
<INPUT type="checkbox" name="active-{$shipping[prod_num].shippingid}"{if $shipping[prod_num].active eq "Y"} checked{/if}>
<INPUT type="button" value="{$lng.lbl_delete}" onclick="self.location='shipping.php?mode=delete&shippingid={$shipping[prod_num].shippingid}'">
</TD>
</TR>
{/if}
{/section}

<TR>
<TD class="AdminTitle" colspan="6"><BR>{$lng.lbl_add_shipping_method}</TD>
</TR>

<TR>
<TD><INPUT type="text" name="shipping_new" size="32"></TD>
<TD><INPUT type="text" name="shipping_time_new" size="8"></TD>
<TD>
<SELECT name="destination_new">
<OPTION value="I">{$lng.lbl_international}</OPTION>
<OPTION value="L">{$lng.lbl_national}</OPTION>
</SELECT>
</TD>
<TD><INPUT type="text" name="shipping_weight_limit_new" size="8"></TD>
<TD><INPUT type="text" name="orderby_new" size="4"></TD>
<TD>
</TD>
</TR>

</TABLE>
</TD>
</TR>

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

{if $shipping}
<TR>
<TD colspan="6" align="right"><INPUT type="button" onclick="self.location='shipping.php?mode=enable_all&carrier={$carrier}'" value="{$lng.lbl_enable_all}">
&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type="button" onclick="self.location='shipping.php?mode=disable_all&carrier={$carrier}'" value="{$lng.lbl_disable_all}">
</TD>
</TR>
{/if}

</FORM>

</TABLE>

<BR><BR>

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

⌨️ 快捷键说明

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