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

📄 advanced_stats.tpl

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

{if $nav_bar}
<A class="NavigationPath" href="statistics.php?mode=shop">{$lng.lbl_root_level}</A>
{else}
<FONT class="NavigationPath">{$lng.lbl_root_level}</FONT>
{/if}

{section name=index loop=$nav_bar}
&nbsp;::&nbsp;
<A class="NavigationPath" href="{$nav_bar[index].1}">{$nav_bar[index].0}</A>
{/section}

<TABLE width="100%" border="0" cellspacing="2" cellpadding="0">
<TR>
<TD colspan="4" align="right"><B>{$lng.lbl_statistics_for_dates}: <I><FONT color="#000099">{$start_date|date_format:$config.Appearance.datetime_format} - {$end_date|date_format:$config.Appearance.datetime_format}</FONT></I></B>
</TD>
</TR>

<TR>
<TD colspan="4" bgcolor="#CCCCCC"><IMG src="{$ImagesDir}/null.gif" width="1" height="1" alt=""><BR></TD>
</TR>

{if $category_viewes}

{section name=index loop=$category_viewes}
<TR>
  <TD valign="top" width="90%" class="Text"><A href="statistics.php?mode=shop&cat={$category_viewes[index].categoryid}">{$category_viewes[index].category_path}</A></TD>
  <TD valign="top" class="Text">
    <DIV align="right">{$category_viewes[index].views_stats}</DIV>
  </TD>
  <TD width="5"></TD>
  <TD width="110">
   <TABLE width="100" border="0" cellspacing="0" cellpadding="0">
    <TR>
     <TD class="StatisticsBar" width="{math equation="floor(a/b*100)" a=$category_viewes[index].views_stats b=$max_category_viewes}">{if ($category_viewes[index].views_stats ne 0)}&nbsp;{/if}</TD>
     <TD width="{math equation="100-floor(a/b*100)" a=$category_viewes[index].views_stats b=$max_category_viewes}">&nbsp;</TD>
    </TR>
   </TABLE>	
  </TD>
</TR>
{/section}

{else}

<TR>
<TD align="center"><BR>{$lng.lbl_no_categories_viewed}</TD>
</TR>

{/if}

</TABLE>

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

<BR>

{if ($product_viewes != "")}

{capture name=dialog}

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

<TR>
<TD colspan="5" align="right"><B>{$lng.lbl_statistics_for_dates}: <I><FONT color="#000099">{$start_date|date_format:$config.Appearance.datetime_format} - {$end_date|date_format:$config.Appearance.datetime_format}</FONT></I></B>
</TD>
</TR>

<TR>
<TD colspan="5" bgcolor="#CCCCCC"><IMG src="{$ImagesDir}/null.gif" width="1" height="1" alt=""><BR></TD>
</TR>

{section name=index loop=$product_viewes}
<TR>
  <TD valign="top" class="Text">#{$product_viewes[index].productid}&nbsp;&nbsp;</TD>
  <TD valign="top" width="90%" class="Text"><A href="product.php?productid={$product_viewes[index].productid}" target=_blank>{$product_viewes[index].product}</A></TD>
  <TD valign="top" class="Text">
    <DIV align="right">{$product_viewes[index].views_stats}</DIV>
  </TD>
  <TD width="5"></TD>
  <TD width="110">
   <TABLE width="100" border="0" cellspacing="0" cellpadding="0">
    <TR>
     <TD class="StatisticsBar" width="{math equation="floor(a/b*100)" a=$product_viewes[index].views_stats b=$max_product_viewes}">{if ($product_viewes[index].views_stats ne 0)}&nbsp;{/if}</TD>
     <TD width="{math equation="100-floor(a/b*100)" a=$product_viewes[index].views_stats b=$max_product_viewes}">&nbsp;</TD>
    </TR>
   </TABLE>	
  </TD>
</TR>

{/section}

</TABLE>

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

<BR>

{/if}

{if ($product_sales != "")}

{capture name=dialog}

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

<TR>
<TD colspan="5" align="right"><B>{$lng.lbl_statistics_for_dates}: <I><FONT color="#000099">{$start_date|date_format:$config.Appearance.datetime_format} - {$end_date|date_format:$config.Appearance.datetime_format}</FONT></I></B>
</TD>
</TR>

<TR>
<TD colspan="5" bgcolor="#CCCCCC"><IMG src="{$ImagesDir}/null.gif" width="1" height="1" alt=""><BR></TD>
</TR>

{section name=index loop=$product_sales}
<TR>
  <TD valign="top" class="Text">#{$product_viewes[index].productid}&nbsp;&nbsp;</TD>
  <TD valign="top" width="90%" class="Text"><A href="product.php?productid={$product_sales[index].productid}" target=_blank>{$product_sales[index].product}</A></TD>
  <TD valign="top" class="Text">
    <DIV align="right">{$product_sales[index].sales_stats}</DIV>
  </TD>
  <TD width="5"></TD>
  <TD width="110">
   <TABLE width="100" border="0" cellspacing="0" cellpadding="0">
    <TR>
     <TD class="StatisticsBar" width="{math equation="floor(a/b*100)" a=$product_sales[index].sales_stats b=$max_product_sales}">{if ($product_sales[index].sales_stats ne 0)}&nbsp;{/if}</TD>
     <TD width="{math equation="100-floor(a/b*100)" a=$product_sales[index].sales_stats b=$max_product_sales}">&nbsp;</TD>
    </TR>
   </TABLE>	
  </TD>
</TR>
{/section}

</TABLE>

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

{/if}

{if ($product_deleted != "")}

<BR>

{capture name=dialog}

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

<TR>
<TD colspan="5" align="right"><B>{$lng.lbl_statistics_for_dates}: <I><FONT color="#000099">{$start_date|date_format:$config.Appearance.datetime_format} - {$end_date|date_format:$config.Appearance.datetime_format}</FONT></I></B>
</TD>
</TR>

<TR>
<TD colspan="5" bgcolor="#CCCCCC"><IMG src="{$ImagesDir}/null.gif" width="1" height="1" alt=""><BR></TD>
</TR>

{section name=index loop=$product_deleted}
<TR>
  <TD valign="top" class="Text">#{$product_deleted[index].productid}&nbsp;&nbsp;</TD>
  <TD valign="top" width="90%" class="Text"><A href="product.php?productid={$product_deleted[index].productid}" target=_blank>{$product_deleted[index].product}</A></TD>
  <TD valign="top" width="67" class="Text">
    <DIV align="right">{$product_deleted[index].del_stats}</DIV>
  </TD>
  <TD width="5"></TD>
 <TD width="110">
   <TABLE width="100" border="0" cellspacing="0" cellpadding="0">
    <TR>
     <TD class="StatisticsBar" width="{math equation="floor(a/b*100)" a=$product_deleted[index].del_stats b=$max_product_deleted}">{if ($product_deleted[index].del_stats ne 0)}&nbsp;{/if}</TD>
     <TD width="{math equation="100-floor(a/b*100)" a=$product_deleted[index].del_stats b=$max_product_deleted}">&nbsp;</TD>
    </TR>
   </TABLE>	
  </TD>
</TR> 
{/section}

</TABLE>

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

{/if}

{if $referers_array}

<BR>

{capture name=dialog}

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

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

{section name=index loop=$referers_array}
<TR>
  <TD valign="top" width="90%" class="Text"><A HREF="{$referers_array[index].referer}">{$referers_array[index].referer|truncate:50:"..."}</A></TD>
  <TD valign="top" width="67" class="Text">
    <DIV valign="bottom" align="right">{$referers_array[index].visits}</DIV>
  </TD>
  <TD width="5"></TD>
 <TD width="110">
   <TABLE width="100" border="0" cellspacing="0" cellpadding="0">
    <TR>
     <TD class="StatisticsBar" width="{math equation="floor(a/b*100)" a=$referers_array[index].visits b=$max_visits}">{if ($referers_array[index].visits ne 0)}&nbsp;{/if}</TD>
     <TD width="{math equation="100-floor(a/b*100)" a=$referers_array[index].visits b=$max_visits}">&nbsp;</TD>
    </TR>
   </TABLE>	
  </TD>
</TR> 
{/section}

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

</TABLE>

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

{/if}

⌨️ 快捷键说明

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