stats.tpl

来自「NetGou商城购物系统是一款功能强大完善、操作界面友好、可扩展性好、专门针对个」· TPL 代码 · 共 69 行

TPL
69
字号
{* $Id: stats.tpl,v 1.1 2004/06/21 06:53:48 max Exp $ *}{if $statistics}<TABLE border="0" cellpadding="0" cellspacing="0" width="100%"><TR>	<TD bgcolor="#000000"><TABLE border="0" cellpadding="2" cellspacing="1" width="100%"><TR height="16"><TH class="TableHead" align="left" nowrap rowspan="2">{$lng.lbl_customer}</TH><TH class="TableHead" align="left" nowrap colspan="2"><CENTER>{$lng.lbl_date}</CENTER></TH><TH class="TableHead" nowrap rowspan="2">{$lng.lbl_current_page}</TH><TH class="TableHead" nowrap rowspan="2">{$lng.lbl_cart_content}</TH></TR><TR height="16"><TH class="TableHead" align="left" nowrap>{$lng.lbl_first_entry}</TH><TH class="TableHead" align="left" nowrap>{$lng.lbl_last_entry}</TH></TR>{foreach from=$statistics item=v}<TR>	<TD bgcolor="#FFFFFF" nowrap valign="top">{if $v.userinfo ne ''}<A href="user_modify.php?user={$v.userinfo.login}&usertype=C">{$v.userinfo.firstname} {$v.userinfo.firstname}</A>{if $v.userinfo.status eq 'A'}<BR><I>({$lng.lbl_anonymous_customer})</I>{/if}{else}{$lng.lbl_unregistered_customer}{/if}</TD>	<TD bgcolor="#FFFFFF" nowrap valign="top" align="center">{$v.session_create_date|date_format:"%d/%m/%Y"}<BR>{$v.session_create_date|date_format:"%H:%M:%S"}</TD>	<TD bgcolor="#FFFFFF" nowrap valign="top" align="center">{$v.current_date|date_format:"%d/%m/%Y"}<BR>{$v.current_date|date_format:"%H:%M:%S"}</TD>	<TD bgcolor="#FFFFFF" valign="top"><A href="{$v.current_url_page}" target="_blank">{$v.current_url_page|regex_replace:"/^.+\/(customer\/[^\/]+)$/S":"\\1"}</A></TD>	<TD bgcolor="#FFFFFF" nowrap valign="top">	{if $v.products ne ''}	<TABLE border="0" cellpadding="2" cellspacing="1" width="100%">	{foreach from=$v.products item=p}	<TR{cycle values=", class=TableSubHead" name=$v.last_date}>		<TD>		<TABLE border="0" cellpadding="2" cellspacing="1">		<TR>			<TD nowrap valign="top"><A href="product_modify.php?productid={$p.productid}"><B>{$p.product}</A>:</B></TD>		</TR>		<TR>			<TD>{$p.amount} x {include file="currency.tpl" value=$p.price} = {if $p.price > 0}{math assign="total" equation="x*y" x=$p.amount y=$p.price}{else}{assign var="total" value=0}{/if}{include file="currency.tpl" value=$total}</TD>		</TR>		</TABLE>	{if $p.product_options ne ''}		<TABLE border="0" cellpadding="0" cellspacing="1">		<TR>			<TD width="15"><IMG src="{$ImagesDir}/spacer.gif" width="15" height="1" border="0"></TD>			<TD>{include file="modules/Product_Options/display_options.tpl" options=$p.product_options}</TD>		</TR>		</TABLE>	{/if}		</TD>	</TR>	{/foreach}	</TABLE>	{else}	{/if}	</TD></TR>{/foreach}</TABLE>	</TD></TR></TABLE>{else}<BR><DIV align="center">{$lng.txt_no_statistics}</DIV>{/if}

⌨️ 快捷键说明

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