<!--<?php
print <<<EOT
-->
<h2 class="S_h2" style="padding-left:5px;"><div class="S_ico S_goods">商品列表</div></h2>
<div class="S_ulB">
	<table width="100%"><tr class="vt"><td height="300">
	<ul class="cc">
<!--
EOT;
if($_viewer->products){
foreach($_viewer->products as $p){
print <<<EOT
-->
					<li><a href="{$_viewer->baseUrl}&a=detail&id={$_viewer->dianpuinfo->dianpuid}&productid={$p[productid]}"><img src="{$p[photopath]}" class="B_img" width="100" height="100" /><p>{$p[title]}</p></a></li>
<!--
EOT;
}}else{
print <<<EOT
-->	
					<li>暂无商品列表</li>
<!--
EOT;
}
print <<<EOT
-->					
	</ul>
	<div class="p10 cc">{$_viewer->pager}</div>
	</td></tr></table>
</div>
<!--
EOT;
?>