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

📄 productdisplay.htm

📁 这个版本只是修正了一些BUG
💻 HTM
字号:
{template header}
<table id="singleframe" border="0" cellspacing="0" cellpadding="0" width="100%" align=center>
<tr><td bgcolor="{BORDERCOLOR}">
<table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
	<tr class="header">
	<td ><img border=0 src="{IMGDIR}/nav_m.gif">&nbsp;$sort[sortname]
	</td></tr>
	<tr>
	<td bgcolor="{ALTBG1}">
	<!--{if ($subsortnum)}-->
	<!--{loop $subsortlist $table}-->
	<a href="productdisplay.php?sortid=$table['sortid']" class=sort>$table['sortname']</a>&nbsp;&nbsp;
	 <!--{/loop}-->
	<!--{else}-->
	<!--{/if}-->
	</td>
	</tr>
<tr><td class=header height=1 colspan=4></td></tr>
</table></td></tr></table>
<br>
 
 
<form method="post" action="productdisplay.php">
<input type="hidden" name="sortid" value="$sortid">
<table cellspacing="0" cellpadding="4" border="0" width="100%" >
<tr><td colspan=2 class="largefontb">$sort[sortname]</td></tr>
<tr><td colspan=2>({lang word_NO} $startnum - $endnum {lang order_unit},{lang word_total} $productnum {lang order_unit})</td></tr>
<tr><td width="42%">
{lang word_compositor}<a href="?sortid=$sortid&orderindex=productname&orderway=$orderway&page=$page&hideimg=$hideimg" class=largelink>{lang product_name}</a> | 
<a href="?sortid=$sortid&orderindex=ourprice&orderway=$orderway&page=$page&hideimg=$hideimg" class=largelink>{lang product_price}</a>
 | 
 <a href="?sortid=$sortid&orderindex=posttime&orderway=$orderway&page=$page&hideimg=$hideimg" class=largelink>{lang postdate}</a>
( <a href="?sortid=$sortid&orderindex=$orderindex&orderway=down&page=$page&hideimg=$hideimg" class=largelink>&darr;</a>|
<a href="?sortid=$sortid&orderindex=$orderindex&orderway=up&page=$page&hideimg=$hideimg" class=largelink>&uarr;</a>)
</td>
<td width="58%" align="right">
<!--{if $multipage}-->
$multipage
<!--{/if}-->
</td>
</tr></table>

<table id="singleframe" cellspacing="0" cellpadding="0" border="0" width="100%">
<tr><td bgcolor="{BORDERCOLOR}">
<table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%">
<tr class=header>
<td colspan='7'  height=1></td>
</tr>
<tr bgcolor="{ALTBG1}">
<td width="10%" align=center>
	<!--{if $hideimg}-->
		<a href="?sortid=$sortid&orderindex=$orderindex&orderway=$orderway&page=$page&hideimg=0" class=sort>{lang viewimg}</a>
	<!--{else}-->
		<a href="?sortid=$sortid&orderindex=$orderindex&orderway=$orderway&page=$page&hideimg=1" class=sort>{lang hideimg}</a>
	<!--{/if}-->
</td>
<td width="40%"  align="center">{lang product_name}</td>
<td width="5%"  align="center">{lang product_viewtimes}</td>
<td width="12%"  align="center">{lang product_marketprice}({CURCDE_UNIT})</td>
<td width="12%"  align="center">{lang product_ourprice}({CURCDE_UNIT})</td>
<td width="15%"  align=center>{lang product_buyfav}</td>
</tr>
<tr class=header>
<td colspan='7'  height=1></td>
</tr>
<tr>
<td colspan='7'  height=5></td>
</tr>
<!--{if ($productnum)}-->
<!--{eval $bgcolor="#FFFFFF";}-->
<!--{loop $productlist $product}-->
<!--{if ($bgcolor=="#FFFFFF")}-->
<!--{eval $bgcolor=ALTBG3;}-->
<!--{else}-->
<!--{eval $bgcolor="#FFFFFF";}-->
<!--{/if}-->

	<tr>
	<td bgcolor="$bgcolor" align="center">
		<!--{if !$hideimg}-->
 		<a href="$product['img']" target=_blank><img border="0" src="$product['img']"  alt="$product['productname']"></a>
		<!--{else}-->
		<img border=0 src="{IMGDIR}/pic.gif">
		<!--{/if}-->
	</td> 
	<td  bgcolor="$bgcolor" valign=top>
	<!--{if $hideimg}-->
	<a title="$product['subject']" href='./viewproduct.php?productid=$product['productid']' class=sort><b>$product['productname']</b></a>	 
	<!--{else}-->
	<a  href='./viewproduct.php?productid=$product['productid']' class=sort><b>$product['productname']</b></a>	 
	<br>$product['subject']
	<!--{/if}-->
	</td>
	<td bgcolor="$bgcolor" align="center">
	$product['viewtimes']
	</td>
	<td  bgcolor="$bgcolor" align="center"><span class=deline>$product['marketprice']</span></td>
	<td  bgcolor="$bgcolor" align="center"><span class=hlbtext>$product['ourprice']</span></td>
	<td  bgcolor="$bgcolor" align="center">
	<a href="./favorite.php?action=add&productid=$product['productid']"><img alt="{lang fav}" border="0" src="{IMGDIR}/fav.gif"></a>&nbsp;<a href="./buy.php?action=buy&productid=$product['productid']"><img alt="{lang buy}" border="0" src="{IMGDIR}/buy.gif"></a>
	</td>
	</tr>
<!--{/loop}-->
<tr>
<td colspan='7'  height=5></td>
</tr>
<tr class=header>
<td colspan='7'  height=1></td>
</tr>
	
<!--{else}-->
<tr>
<td bgcolor="{ALTBG1}" colspan="8">{lang product_nofound}</td>
</tr>
<!--{/if}-->
</table>
</td></tr></table>
</form>
<br><br>
 
{template footer}

⌨️ 快捷键说明

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