echo $pro['iPrice']; ?> 元</p> </div> <?php } } ?> </div> <div class="shopList_sm clearfix"> <?php $prosSmall = getSmallProsByCid($cate['id']); if ($prosSmall && is_array($prosSmall)) { foreach ($prosSmall as $proSmall) { $proSmallImg = getProImgById($proSmall['id']); ?> <div class="shopItem_sm"> <div class="shopItem_smImg"> <a href="proDetails.php?id=<?php echo $proSmall['id']; ?> " target="_blank"><img width="95" height="95" src="image_220/<?php echo $proSmallImg['albumPath']; ?> " alt=""></a> </div> <div class="shopItem_text"> <p><?php echo $proSmall['pName']; ?>
echo $pro['iPrice']; ?> 元</p> </div> <?php } } ?> </div> <div class="shopList_sm clearfix"> <?php $pros_small = getSmallProsByCid($cate['id']); if ($pros_small && is_array($pros_small)) { foreach ($pros_small as $pros_small) { $proImg = getProImgById($pros_small['id']); ?> <div class="shopItem_sm"> <div class="shopItem_smImg"> <a href="#"><img src="image_220/<?php echo $proImg['albumPath']; ?> " alt=""></a> </div> <div class="shopItem_text"> <p><?php echo mb_substr($pros_small['pName'], 0, 10, "utf-8") . "..."; ?> </p> <h3>¥<?php echo $pros_small['iPrice'];