3_study_seo_sitemap_sitemap.tpl.php 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('sitemap');?><?php include template('common/header'); ?><div id="pt" class="bm cl">
  2. <div class="z"><a href="./" class="nvhm"><?php echo $_G['setting']['bbname'];?></a>
  3. <em>&rsaquo;</em>
  4. <a href="./" title="!home!"><?php echo $_G['setting']['bbname'];?></a>
  5. <em>&rsaquo;</em>
  6. <a href="sitemap.php"><?php echo $splugin_setting['navtitle'];?></a>
  7. </div>
  8. </div>
  9. <div class="boardnav">
  10. <div id="ct" class="wp cl">
  11. <div class="mn">
  12. <div id="pgt" class="bm bw0 pgs cl">
  13. <?php echo $multipage;?>
  14. <span class="pgb y"><a href="sitemap.php">首页</a></span>
  15. <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>
  16. </div>
  17. <div id="threadlist" class="tl bm bmw"<?php if($_G['uid']) { ?> style="position: relative;"<?php } ?>>
  18. <div class="th">
  19. <table cellspacing="0" cellpadding="0">
  20. <tr>
  21. <th>
  22. 主题
  23. </th>
  24. <td class="by">发帖人</td>
  25. <td class="by">发贴时间</td>
  26. </tr>
  27. </table>
  28. </div>
  29. <div class="bm_c">
  30. <div id="forumnew" style="display:none"></div>
  31. <table cellspacing="0" cellpadding="0">
  32. <?php if($threadlist) { if(is_array($threadlist)) foreach($threadlist as $key => $thread) { ?><tbody id="<?php echo $thread['pid'];?>">
  33. <tr>
  34. <th>
  35. <?php if($splugin_setting['show_forum_radio']) { ?>
  36. <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>
  37. <?php } ?>
  38. <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>
  39. <?php if($thread['attachment'] == 2) { ?>
  40. <img src="static/image/filetype/image_s.gif" alt="attach_img" title="有图片" align="absmiddle" />
  41. <?php } elseif($thread['attachment'] == 1) { ?>
  42. <img src="static/image/filetype/common.gif" alt="attachment" title="有附件" align="absmiddle" />
  43. <?php } if($thread['digest'] > 0) { ?>
  44. <img src="static/image/common/digest_<?php echo $thread['digest'];?>.gif" align="absmiddle" alt="digest" title="精华 <?php echo $thread['digest'];?>" />
  45. <?php } if($thread['heatlevel']) { ?>
  46. <img src="static/image/common/hot_<?php echo $thread['heatlevel'];?>.gif" align="absmiddle" alt="heatlevel" title="<?php echo $thread['heatlevel'];?> 级热门" />
  47. <?php } if($thread['rate'] > 0) { ?>
  48. <img src="static/image/common/agree.gif" align="absmiddle" alt="agree" title="帖子被加分" />
  49. <?php } elseif($thread['rate'] < 0) { ?>){
  50. <img src="static/image/common/disagree.gif" align="absmiddle" alt="disagree" title="帖子被减分" />
  51. <?php } ?>
  52. </th>
  53. <td class="by">
  54. <a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" c="1"><?php echo $thread['author'];?></a>
  55. </td>
  56. <td class="by">
  57. <em><span<?php if($thread['dateline'] > $todaytime) { ?> class="xi1"<?php } ?>><?php echo dgmdate($thread['dateline'], 'Y-n-j H:i:s');?>&nbsp;</span></em>
  58. </td>
  59. </tr>
  60. </tbody>
  61. <?php } } else { ?>
  62. <tbody class="bw0_all"><tr><th colspan="5"><p class="emp">目前暂无主题</p></th></tr></tbody>
  63. <?php } ?>
  64. </table>
  65. </div>
  66. </div>
  67. <div class="bm bw0 pgs cl">
  68. <?php echo $multipage;?>
  69. <span class="pgb y"><a href="sitemap.php">首页</a></span>
  70. </div>
  71. </div>
  72. </div>
  73. </div><?php include template('common/footer'); ?>