📄 advanced_stats.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}
::
<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)} {/if}</TD>
<TD width="{math equation="100-floor(a/b*100)" a=$category_viewes[index].views_stats b=$max_category_viewes}"> </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} </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)} {/if}</TD>
<TD width="{math equation="100-floor(a/b*100)" a=$product_viewes[index].views_stats b=$max_product_viewes}"> </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} </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)} {/if}</TD>
<TD width="{math equation="100-floor(a/b*100)" a=$product_sales[index].sales_stats b=$max_product_sales}"> </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} </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)} {/if}</TD>
<TD width="{math equation="100-floor(a/b*100)" a=$product_deleted[index].del_stats b=$max_product_deleted}"> </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)} {/if}</TD>
<TD width="{math equation="100-floor(a/b*100)" a=$referers_array[index].visits b=$max_visits}"> </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 + -