<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('sitemap');?><?php include template('common/header'); ?><div id="pt" class="bm cl">
<div class="z"><a href="./" class="nvhm"><?php echo $_G['setting']['bbname'];?></a>
 <em>&rsaquo;</em> 
 <a href="./" title="!home!"><?php echo $_G['setting']['bbname'];?></a>
 	 <em>&rsaquo;</em>
 <a href="sitemap.php"><?php echo $splugin_setting['navtitle'];?></a>
</div>
</div>
<div class="boardnav">
<div id="ct" class="wp cl">
<div class="mn">
<div id="pgt" class="bm bw0 pgs cl">
<?php echo $multipage;?>
<span class="pgb y"><a href="sitemap.php">首页</a></span>
<a onclick="showWindow('nav', this.href, 'get', 0)" href="forum.php?mod=misc&amp;action=nav"><img src="<?php echo IMGDIR;?>/pn_post.png" alt="快速发帖" /></a>
</div>
<div id="threadlist" class="tl bm bmw"<?php if($_G['uid']) { ?> style="position: relative;"<?php } ?>>
<div class="th">
<table cellspacing="0" cellpadding="0">
<tr>
<th>
主题
</th>
<td class="by">发帖人</td>
<td class="by">发贴时间</td>
</tr>
</table>
</div>
<div class="bm_c">
<div id="forumnew" style="display:none"></div>
<table cellspacing="0" cellpadding="0">
<?php if($threadlist) { if(is_array($threadlist)) foreach($threadlist as $key => $thread) { ?><tbody id="<?php echo $thread['pid'];?>">
<tr>
<th>
<?php if($splugin_setting['show_forum_radio']) { ?>
<em><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $thread['fid'];?>" <?php echo $study_new_blank;?>>[<?php echo $_G['cache']['forums'][$thread['fid']]['name'];?>]</a></em>
<?php } ?>
 <a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>" <?php echo $thread['highlight'];?> title="<?php echo $thread['subject'];?>" <?php echo $study_new_blank;?>><?php echo $thread['subject'];?></a>
<?php if($thread['attachment'] == 2) { ?>
<img src="static/image/filetype/image_s.gif" alt="attach_img" title="有图片" align="absmiddle" />
<?php } elseif($thread['attachment'] == 1) { ?>
<img src="static/image/filetype/common.gif" alt="attachment" title="有附件" align="absmiddle" />
<?php } if($thread['digest'] > 0) { ?>
<img src="static/image/common/digest_<?php echo $thread['digest'];?>.gif" align="absmiddle" alt="digest" title="精华 <?php echo $thread['digest'];?>" />
<?php } if($thread['heatlevel']) { ?>
<img src="static/image/common/hot_<?php echo $thread['heatlevel'];?>.gif" align="absmiddle" alt="heatlevel" title="<?php echo $thread['heatlevel'];?> 级热门" />
<?php } if($thread['rate'] > 0) { ?>
<img src="static/image/common/agree.gif" align="absmiddle" alt="agree" title="帖子被加分" />
<?php } elseif($thread['rate'] < 0) { ?>){
<img src="static/image/common/disagree.gif" align="absmiddle" alt="disagree" title="帖子被减分" />
<?php } ?>
</th>
<td class="by">
<a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" c="1"><?php echo $thread['author'];?></a>
</td>
<td class="by">
<em><span<?php if($thread['dateline'] > $todaytime) { ?> class="xi1"<?php } ?>><?php echo dgmdate($thread['dateline'], 'Y-n-j H:i:s');?>&nbsp;</span></em>
</td>
</tr>
</tbody>
<?php } } else { ?>
<tbody class="bw0_all"><tr><th colspan="5"><p class="emp">目前暂无主题</p></th></tr></tbody>
<?php } ?>
</table>
</div>
</div>
<div class="bm bw0 pgs cl">
<?php echo $multipage;?>
<span class="pgb y"><a href="sitemap.php">首页</a></span>
</div>
</div>
</div>
</div><?php include template('common/footer'); ?>