shareinfo.phtml
1.18 KB
<?php foreach($this->comments as $exhibit_key => $val){
if(empty($val['product'])){
continue;
}
if(empty($val['user']['head_ico']))
{
$val['user']['head_ico'] = '';
}
$product = $val['product'];
?>
<div class="list">
<div class="li-t">
<div class="pic">
<a href="<?php echo $product['url'];?>" target="_blank"><img src="<?php echo $this->QFSFImages($product['default_pic'],'goodsimg','60x60',2);?>" alt="<?php echo $product['product_name'];?>"/></a>
</div>
<div class="txt">
<a target="_blank" href="<?php echo $product['url']; ?>">
<?php echo $this->MbSubstr($val['content'],24); ?>
</a>
</div>
</div>
<div class="li-b">
<span class="name">
<a target="_blank" href="<?php echo $product['url']; ?>"><img src="<?php print $this->GetHeadPic($val['user']['head_ico'], '16x16');?>"/><?php echo empty($val['user']['nickname']) ? '无名' : $this->MbSubstr( $val['user']['nickname'], 6);?></a>
</span>
<span class="time"></span>
</div>
</div>
<?php } ?>