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

📄 category_products.tpl

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

{include file="admin/main/location.tpl"}
<TABLE border="0" width="100%">

<TR>
<TD align="center" class="TopLabel">{$lng.lbl_current_category}: "{$current_category.category|default:$lng.lbl_root_level}"
{if $current_category.avail eq "N"}
<DIV class="ErrorMessage">{$lng.txt_category_disabled}</DIV>
{/if}
</TD>
</TR>
<TR>
<TD align="right">
<INPUT type="button" value="{$lng.lbl_modify}" onclick="self.location='category_modify.php?cat={$cat}'">
&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT type="button" value="{$lng.lbl_delete}" onclick="self.location='dealcategory.php?cat={$cat}&mode=delete'">
</TD>
</TR>
</TABLE>

{include file="main/subheader.tpl" title=$lng.lbl_products}

<!-- SEARCH RESULTS SUMMARY -->

{if $mode eq "search"}
{if $total_items gt "1"}
{$lng.txt_N_results_found|substitute:"items":$total_items}&nbsp;
{$lng.txt_displaying_X_Y_results|substitute:"first_item":$first_item:"last_item":$last_item}
{elseif $total_items eq "0"}
<DIV align="center">{$lng.txt_no_products_in_cat}</DIV>
{/if}
{/if}

{if $products}

<!-- SEARCH RESULTS START -->
{if $total_pages gt 2}
{assign var="navpage" value=$navigation_page}
{/if}

<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<FORM action="dealproduct.php" method="POST" name="processproductform">
<INPUT type="hidden" name="section" value="category_products">
<INPUT type="hidden" name="mode" value="update">
<INPUT type="hidden" name="navpage" value="{$navpage}">
<INPUT type="hidden" name="cat" value="{$cat}">

<TR>
<TD>
{include file="customer/main/navigation.tpl"}

{include file="main/products.tpl" products=$products}
<BR>

{include file="customer/main/navigation.tpl"}
<BR>

<INPUT type="button" value="{$lng.lbl_delete_selected}" onclick="if(confirm('{$lng.txt_delete_products_warning|strip_tags}')){ldelim}document.processproductform.mode.value='delete'; document.processproductform.submit();{rdelim}">
&nbsp;&nbsp;
<INPUT type="submit" value="{$lng.lbl_update}">
&nbsp;&nbsp;
<INPUT type="button" value="{$lng.lbl_modify_selected}" onclick="document.processproductform.mode.value='list';document.processproductform.action='product_modify.php'; document.processproductform.submit();">
<BR><BR>
{$lng.txt_operation_for_first_selected_only}
<BR><BR>

<INPUT type="button" value="{$lng.lbl_preview_product}" onclick="document.processproductform.mode.value='details'; document.processproductform.submit();">
&nbsp;&nbsp;
<INPUT type="button" value="{$lng.lbl_clone_product}" onclick="document.processproductform.mode.value='clone'; document.processproductform.submit();">
&nbsp;&nbsp;
<INPUT type="button" value="{$lng.lbl_generate_html_links}" onclick="document.processproductform.mode.value='links'; document.processproductform.submit();">

</TD>
</TR>
</FORM>
</TABLE>
{/if}
<BR>
<INPUT type="button" value="{$lng.lbl_add_new_}" onclick="self.location='product_modify.php?categoryid={$cat}'">
{/capture}
{include file="dialog.tpl" title=$lng.lbl_products content=$smarty.capture.dialog extra="width=100%"}

⌨️ 快捷键说明

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