<?php if (!defined('THINK_PATH')) exit(); if(!empty($ad_list)): ?><div class="top_wrap"><div class="top_box"><div class="banner_r"><dl><?php if(is_array($ad_list)): $i = 0; $__LIST__ = array_slice($ad_list,2,6,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ad): $mod = ($i % 2 );++$i;?><dd><a href="<?php echo ($ad["url"]); ?>" target="_blank"><img src="<?php echo attach($ad['content'],'advert');?>"></a></dd><?php endforeach; endif; else: echo "" ;endif; ?></dl></div><div class="banner_l"><dl><?php if(is_array($ad_list)): $i = 0; $__LIST__ = array_slice($ad_list,0,2,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ad): $mod = ($i % 2 );++$i;?><dd><a href="<?php echo ($ad["url"]); ?>" target="_blank"><img src="<?php echo attach($ad['content'],'advert');?>"></a></dd><?php endforeach; endif; else: echo "" ;endif; ?></dl></div><div class="round"><div class="adType"></div></div></div></div><?php endif; ?>