<!--<?php
print <<<EOT
-->
<style>
<!--
.B_img{border:1px solid #dedede;background:#fff;padding:1px;}
.B_boxF dl{border-left:2px solid #e4e4e4;}
.B_boxF .B_h6{border-left:2px solid #ff5500;font:bold 14px/18px Simsun;padding:0 15px;margin-bottom:10px;overflow:hidden;}
.B_dlD dl{float:left;width:240px;padding:0 0 10px 0;line-height:18px;}
.B_dlD dt{width:72px;padding:2px 0 0 15px;margin-right:5px;}
.B_dlD dd{width:130px;}
.B_dlD dd h3{margin-bottom:5px;max-height:36px;line-height:18px;overflow:hidden;_height:18px;}

.ico_mobile,.ico_verify,.ico_vip{width:24px;height:15px;overflow:hidden;display:block; text-indent:-2000em;margin-left:5px;}
.ico_mobile{ width:14px; background:url(mode/dianpu/images/ico_mobile.png) no-repeat;}
.ico_verify{ background:url(mode/dianpu/images/ico_verify.png) no-repeat;}
.ico_vip{ background:url(mode/dianpu/images/ico_vip.png) no-repeat;}
-->
</style>
<!-- 
EOT;
if($params['products']){
print <<<EOT
-->
<div class="B_boxF p15">
	<h2 class="B_h6">推荐商品</h2>
	<div class="cc B_dlD" style="width:240px;">
<!-- 
EOT;
foreach($params['products'] as $product){
print <<<EOT
-->
		<dl class="fl">
			<dt class="fl"><a target="_blank" href="index.php?m=dianpu&c=product&a=detail&id={$product[objectid]}&productid={$product[productid]}"><img src="$product[photopath]" class="B_img fl" width="58" height="58" /></a></dt>
			<dd class="fl">
				<h3><a target="_blank" href="index.php?m=dianpu&c=product&a=detail&id={$product[objectid]}&productid={$product[productid]}">$product[title]</a></h3>
				<p>市场价：$product[market_price]元</p>
				<p>会员价：<em class="f16 s2 b">$product[member_price]</em> 元</p>
			</dd>
		</dl>
<!-- 
EOT;
}
print <<<EOT
-->
	</div>
</div>
<!-- 
EOT;
}
print <<<EOT
-->
<!-- 
EOT;
if($params['dianpu']){
print <<<EOT
-->
<div class="s_boxA p15">
   <h2>推荐店铺</h2>
   <div style="padding:5px 0 5px 15px;border-left:2px solid #e4e4e4;">
<!-- 
EOT;
foreach($params['dianpu'] as $dianpu){
print <<<EOT
-->   
      <dl>
         <dt class="mb5"><a target="_blank" href="index.php?m=dianpu&c=info&id={$dianpu[dianpuid]}" class="f16">$dianpu[title]</a></dt>
         <dd>
            <div class="mb5 cc">$dianpu[checkwayhtml]</div>
            <p class="mb5"><span class="s6">地址：</span>$dianpu[address]</p>
            <p class="mb5"><span class="s6">电话：</span><span class="s2">{$dianpu[phone]}</span></p>
            <p><a target="_blank" href="index.php?m=dianpu&c=info&id={$dianpu[dianpuid]}">去店里看看>></a></p>
         </dd>
      </dl>
<!-- 
EOT;
}
print <<<EOT
-->      
   </div>
</div>
<!-- 
EOT;
}
print <<<EOT
-->
<!--
EOT;
?>-->