日期:2014-05-16 浏览次数:20533 次
<div class="louceng">
<?php if(!empty($output['class_list']) && is_array($output['class_list'])){
$i = 0;
?>
<?php foreach($output['class_list'] as $k=>$v){
$i++;
?>
<div class="floor_area">
<?php if ($_GET['cate_id'] == $v['sc_parent_id']){
?>
<h2><?php echo $i;?>F <?php echo $v['sc_name'];?></h2>
<?php if(!empty($output['store_list']) && is_array($output['store_list'])){?>
<ul>
<?php foreach($output['store_list'] as $skey => $store){?>
<li><a href="<?php echo ncUrl(array('act'=>'show_store','id'=>$store['store_id']),'store',$store['store_domain']);?>" title="" target="_blank"><span class="thumb size72">
<img src="<?php echo SiteUrl.'/'.(ATTACH_PATH.DS.'ad'.DS.$store['shopad']);?>" onload="javascript:DrawImage(this,240,240);" /></span></a>
</li>
<?php }?>
</ul>
<div class="clear"></div>
<?php }?>
<?php }elseif (!isset($v['child']) && $output['class_list'][$_GET['cate_id']]['sc_parent_id'] == $v['sc_parent_id']){?>
<h2><?php echo $v['sc_name'];?></h2>
<?php }?>
</div>
<?php }?>
<?php }?>
</div>