{* $Id: advanced_stats.tpl,v 1.9.2.2 2003/02/19 12:55:17 svowl Exp $ *} {$config.Company.company_name} {section name=index loop=$nav_bar} {if %index.first% eq "true"} ::  {/if} {$nav_bar[index].cat_name} {if %index.last% ne "true"} ::  {/if} {/section}

Click on a category to get statistics on subcategories and products.

{capture name=dialog} {if $category_viewes} {section name=index loop=$category_viewes} {/section} {else} {/if}
Statistics for dates: {$start_date|date_format:"%d/%m/%Y %T"} - {$end_date|date_format:"%d/%m/%Y %T"}

{$category_viewes[index].category}
{$category_viewes[index].views_stats}
{if ($category_viewes[index].views_stats ne 0)} {/if}  

No categories viewed
{/capture} {include file="dialog.tpl" title="Category views" content=$smarty.capture.dialog extra="width=100%"}
{if ($product_viewes != "")} {capture name=dialog} {section name=index loop=$product_viewes} {/section}
Statistics for dates: {$start_date|date_format:"%d/%m/%Y %T"} - {$end_date|date_format:"%d/%m/%Y %T"}

#{$product_viewes[index].productid}   {$product_viewes[index].product}
{$product_viewes[index].views_stats}
{if ($product_viewes[index].views_stats ne 0)} {/if}  
{/capture} {include file="dialog.tpl" title="Product views" content=$smarty.capture.dialog extra="width=100%"}
{/if} {if ($product_sales != "")} {capture name=dialog} {section name=index loop=$product_sales} {/section}
Statistics for dates: {$start_date|date_format:"%d/%m/%Y %T"} - {$end_date|date_format:"%d/%m/%Y %T"}

#{$product_viewes[index].productid}   {$product_sales[index].product}
{$product_sales[index].sales_stats}
{if ($product_sales[index].sales_stats ne 0)} {/if}  
{/capture} {include file="dialog.tpl" title="Product sales" content=$smarty.capture.dialog extra="width=100%"} {/if} {if ($product_deleted != "")}
{capture name=dialog} {section name=index loop=$product_deleted} {/section}
Statistics for dates: {$start_date|date_format:"%d/%m/%Y %T"} - {$end_date|date_format:"%d/%m/%Y %T"}

#{$product_deleted[index].productid}   {$product_deleted[index].product}
{$product_deleted[index].del_stats}
{if ($product_deleted[index].del_stats ne 0)} {/if}  
{/capture} {include file="dialog.tpl" title="Deleted from the cart" content=$smarty.capture.dialog extra="width=100%"} {/if} {if ($referers_array != "")}
{include file="customer/main/navigation.tpl"} {capture name=dialog} {section name=index loop=$referers_array} {/section}
{$referers_array[index].referer|truncate:70:"...":true"}
{$referers_array[index].visits}
{if ($referers_array[index].visits ne 0)} {/if}  
{/capture} {include file="dialog.tpl" title="Refered from" content=$smarty.capture.dialog extra="width=100%"} {/if}