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

📄 subscription_plans.tpl

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

<TABLE border="0" {if $productids ne ''}cellspacing="0" cellpadding="4"{else}cellspacing="1" cellpadding="2"{/if} width="100%">

<FORM action="product_modify.php" method="POST" name="subscription_form">

<INPUT type="hidden" name="mode" value="subscription_modify">
<INPUT type="hidden" name="productid" value="{$product.productid}">
{if $productids ne ''}
<TR>
    <TD width="15" class="TableSubHead">&nbsp;</TD>
    <TD class="TableSubHead" colspan="4"><B>* {$lng.txt_note}:</B> {$lng.txt_edit_product_group}</TD>
</TR>
{/if}

<TR class="TableHead">
{if $productids ne ''}<TD width="15" class="TableSubHead">&nbsp;</TD>{/if}
<TD width="30%" nowrap>{$lng.lbl_pay_period}</TD>
<TD width="25%" nowrap>{$lng.lbl_period_fee} ({$config.General.currency_symbol})</TD>
<TD width="25%" nowrap>{$lng.lbl_cost_of_one_day} ({$config.General.currency_symbol})</TD>
<TD width="25%" nowrap>{$lng.lbl_days_same_period}</TD>
</TR>

<TR>
{if $productids ne ''}<TD width="15" class="TableSubHead"><INPUT id="fields_subscription" type="checkbox" value="Y" name="fields[subscription]"></TD>{/if}
<TD valign="top"><SELECT name="subscription[pay_period_type]" onchange="{literal}if (this.selectedIndex == 4) { this.form.pay_period.disabled = false; this.form.pay_period.focus(); }else{ this.form.pay_period.disabled = true; }{/literal}" style="width:100%">
{foreach key=key item=item from=$subscription_periods}
<OPTION value="{$key}" {if $key eq $subscription.pay_period_type}selected{/if}>{$key}
{/foreach}
</SELECT></TD>
<TD valign="top"><INPUT type="text" name="subscription[price_period]" value="{$subscription.price_period}" size="15" style="width:100%"></TD>
<TD valign="top"><INPUT type="text" name="subscription[oneday_price]" value="{$subscription.oneday_price}" size="15" style="width:100%"></TD>
<TD valign="top"><INPUT type="text" name="subscription[days_as_period]" value="{$subscription.days_as_period}" size="15" style="width:100%"></TD>
</TR>
<TR>
{if $productids ne ''}<TD width="15" class="TableSubHead">&nbsp;</TD>{/if}
<TD nowrap><INPUT type="text" name="pay_period" size="12" value="{$pay_period}" {if $subscription.pay_period_type ne "By Period"}disabled{/if} style="width:80%">&nbsp;{$lng.lbl_days}</TD>
<TD colspan="3">&nbsp;</TD>
</TR>

<TR>
{if $productids ne ''}<TD width="15" class="TableSubHead">&nbsp;</TD>{/if}
<TD colspan="4"><BR>
<INPUT type="submit" value="{$lng.lbl_apply}">
&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type="button" value="{$lng.lbl_delete}" onclick="javascript:this.form.mode.value='subscription_delete'; this.form.submit();">
{if $subscription.pay_period_type}
&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type="button" value="{$lng.lbl_pay_dates}" onclick="javascript:window.open('calendar.php?productid={$product.productid}','calendar','width=600,height=500,toolbar=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no,direction=no');">
{/if}
</TD>
</TR>

</FORM>

</TABLE>

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

⌨️ 快捷键说明

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