<?php if(!empty($_G['cache']['heats']['message'])) { ?> <div class="bm"> <div class="bm_h cl"><h2><?php echo $_G['setting']['navs']['2']['navname'];?>热点</h2></div> <div class="bm_c cl"> <div class="heat z"> <!--source/function/cache/cache_heats.php--> <?php if(is_array($_G['cache']['heats']['message'])) foreach($_G['cache']['heats']['message'] as $data) { ?> <dl class="xld"> <dt> <!--是否为管理员(用户管理组ID)--> <?php if($_G['adminid'] == 1) { ?> <a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=<?php echo $data['tid'];?>" onclick="return removeindexheats()">delete</a> <?php } ?> <a href="forum.php?mod=viewthread&tid=<?php echo $data['tid'];?>" target="_blank" class="xi2"><?php echo $data['subject'];?></a></dt> <dd><?php echo $data['message'];?></dd> </dl> <?php } ?> </div> <ul class="xl xl1 heatl"> <?php if(is_array($_G['cache']['heats']['subject'])) foreach($_G['cache']['heats']['subject'] as $data) { ?> <li> <!--是否为管理员(用户管理组ID)--> <?php if($_G['adminid'] == 1) { ?> <a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=<?php echo $data['tid'];?>" onclick="return removeindexheats()">delete</a> <?php } ?> <a href="forum.php?mod=viewthread&tid=<?php echo $data['tid'];?>" target="_blank" class="xi2"><?php echo $data['subject'];?></a></li> <?php } ?> </ul> </div> </div> <?php } ?>