3_diy_forum_viewthread_2.tpl.php 111 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336
  1. <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('viewthread_2');
  2. 0
  3. || checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/wfdsoft_jiaohu/forum/viewthread_node.htm', 1524100935, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
  4. || checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/wfdsoft_jiaohu/forum/viewthread_fastpost.htm', 1524100935, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
  5. || checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/forum/viewthread_node_body.htm', 1524100935, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
  6. || checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/common/seditor.htm', 1524100935, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
  7. || checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/forum/seccheck_post.htm', 1524100935, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
  8. || checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/common/upload.htm', 1524100935, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
  9. || checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/common/seccheck.htm', 1524100935, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
  10. ;
  11. block_get('23,24,25,27');?><?php include template('common/header'); if($wk_leftinfo ) { $close_leftinfo = 1;?><?php } if($close_leftinfo) { ?>
  12. <style>
  13. #postlist .plc {padding:0px;}
  14. #postlist .plc .side_btn .btn_s_open { margin-left:7px; }
  15. .authi .wk_ckhf { float:left; margin-top:0; line-height:24px; }
  16. </style>
  17. <?php } ?>
  18. <script type="text/javascript">var fid = parseInt('<?php echo $_G['fid'];?>'), tid = parseInt('<?php echo $_G['tid'];?>');</script>
  19. <?php if($modmenu['thread'] || $modmenu['post']) { ?>
  20. <script src="<?php echo $_G['setting']['jspath'];?>forum_moderate.js?<?php echo VERHASH;?>" type="text/javascript"></script>
  21. <?php } ?>
  22. <script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script>
  23. <script type="text/javascript">zoomstatus = parseInt(<?php echo $_G['setting']['zoomstatus'];?>);var imagemaxwidth = '<?php echo $_G['setting']['imagemaxwidth'];?>';var aimgcount = new Array();</script>
  24. <style id="diy_style" type="text/css">#frameD3JKMO { border:0px !important;margin:0px !important;}#portal_block_23 { border:0px !important;margin:0px !important;}#portal_block_23 .dxb_bc { margin:0px !important;}#frameJHKW79 { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#portal_block_24 { border:#000000 0px !important;margin:0px !important;}#portal_block_24 .dxb_bc { margin:0px !important;}#framefLHHtH { border:0px !important;margin:0px !important;}#portal_block_25 { border:0px !important;margin:0px !important;}#portal_block_25 .dxb_bc { margin:0px !important;}#framesA58eC { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#frametesXuT { border:0px !important;margin:0px !important;}#portal_block_27 { border:0px !important;margin:0px !important;}#portal_block_27 .dxb_bc { margin:0px !important;}</style>
  25. <!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
  26. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_top'])) echo $_G['setting']['pluginhooks']['viewthread_top'];?><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css">#frameD3JKMO { border:0px !important;margin:0px !important;}#portal_block_23 { border:0px !important;margin:0px !important;}#portal_block_23 .dxb_bc { margin:0px !important;}#frameJHKW79 { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#portal_block_24 { border:#000000 0px !important;margin:0px !important;}#portal_block_24 .dxb_bc { margin:0px !important;}#framefLHHtH { border:0px !important;margin:0px !important;}#portal_block_25 { border:0px !important;margin:0px !important;}#portal_block_25 .dxb_bc { margin:0px !important;}#framesA58eC { border:#000000 0px !important;margin-top:-1px !important;margin-right:0px !important;margin-bottom:0px !important;margin-left:0px !important;}#frametesXuT { border:0px !important;margin:0px !important;}#portal_block_27 { border:0px !important;margin:0px !important;}#portal_block_27 .dxb_bc { margin:0px !important;}</style>
  27. <div class="wp">
  28. <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
  29. </div>
  30. <div id="ct" class="wp cl week_ct2">
  31. <div class="wk_f_mn padding15 backfff">
  32. <div id="pt" class="bm cl">
  33. <div class="z">
  34. <a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a><em>&raquo;</em><a href="forum.php"><?php echo $_G['setting']['navs']['2']['navname'];?></a><?php echo $navigation;?> <em>&rsaquo;</em> <a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>"><?php echo $_G['forum_thread']['short_subject'];?></a>
  35. </div>
  36. </div>
  37. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_postbutton_top'])) echo $_G['setting']['pluginhooks']['viewthread_postbutton_top'];?>
  38. <?php if($_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])) { ?>
  39. <ul class="p_pop" id="newspecial_menu" style="display: none">
  40. <?php if(!$_G['forum']['allowspecialonly']) { ?><li><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>">发表帖子</a></li><?php } if($_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']) { if(is_array($_G['forum']['threadsorts']['types'])) foreach($_G['forum']['threadsorts']['types'] as $id => $threadsorts) { if($_G['forum']['threadsorts']['show'][$id]) { ?>
  41. <li class="popupmenu_option"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;sortid=<?php echo $id;?>"><?php echo $threadsorts;?></a></li>
  42. <?php } } } if($_G['group']['allowpostpoll']) { ?><li class="poll"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=1">发起投票</a></li><?php } if($_G['group']['allowpostreward']) { ?><li class="reward"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=3">发布悬赏</a></li><?php } if($_G['group']['allowpostdebate']) { ?><li class="debate"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=5">发起辩论</a></li><?php } if($_G['group']['allowpostactivity']) { ?><li class="activity"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=4">发起活动</a></li><?php } if($_G['group']['allowposttrade']) { ?><li class="trade"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;special=2">出售商品</a></li><?php } if($_G['setting']['threadplugins']) { if(is_array($_G['forum']['threadplugin'])) foreach($_G['forum']['threadplugin'] as $tpid) { if(array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])) { ?>
  43. <li class="popupmenu_option"<?php if($_G['setting']['threadplugins'][$tpid]['icon']) { ?> style="background-image:url(source/plugin/<?php echo $tpid;?>/<?php echo $_G['setting']['threadplugins'][$tpid]['icon'];?>)"<?php } ?>><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>&amp;specialextra=<?php echo $tpid;?>"><?php echo $_G['setting']['threadplugins'][$tpid]['name'];?></a></li>
  44. <?php } } } ?>
  45. </ul>
  46. <?php } ?>
  47. <!--[diy=diy_ad_a]--><div id="diy_ad_a" class="area"></div><!--[/diy]-->
  48. <?php if($modmenu['post']) { ?>
  49. <div id="mdly" class="fwinmask" style="display:none;z-index:350;">
  50. <table cellspacing="0" cellpadding="0" class="fwin">
  51. <tr>
  52. <td class="t_l"></td>
  53. <td class="t_c"></td>
  54. <td class="t_r"></td>
  55. </tr>
  56. <tr>
  57. <td class="m_l">&nbsp;&nbsp;</td>
  58. <td class="m_c">
  59. <div class="f_c">
  60. <div class="c">
  61. <h3>选中&nbsp;<strong id="mdct" class="xi1"></strong>&nbsp;篇: </h3>
  62. <?php if($_G['forum']['ismoderator']) { if($_G['group']['allowwarnpost']) { ?><a href="javascript:;" onclick="modaction('warn')">警告</a><span class="pipe">|</span><?php } if($_G['group']['allowbanpost']) { ?><a href="javascript:;" onclick="modaction('banpost')">屏蔽</a><span class="pipe">|</span><?php } if($_G['group']['allowdelpost'] && !$rushreply) { ?><a href="javascript:;" onclick="modaction('delpost')">删除</a><span class="pipe">|</span><?php } } if($_G['forum']['ismoderator'] && $_G['group']['allowstickreply'] || $_G['forum_thread']['authorid'] == $_G['uid']) { ?><a href="javascript:;" onclick="modaction('stickreply')">置顶</a><span class="pipe">|</span><?php } if($_G['forum_thread']['pushedaid'] && $allowpostarticle) { ?><a href="javascript:;" onclick="modaction('pushplus', '', 'aid=<?php echo $_G['forum_thread']['pushedaid'];?>', 'portal.php?mod=portalcp&ac=article&op=pushplus')">文章连载</a><span class="pipe">|</span><?php } ?>
  63. </div>
  64. </div>
  65. </td>
  66. <td class="m_r"></td>
  67. </tr>
  68. <tr>
  69. <td class="b_l"></td>
  70. <td class="b_c"></td>
  71. <td class="b_r"></td>
  72. </tr>
  73. </table>
  74. </div>
  75. <?php } if($modmenu['thread']) { ?>
  76. <div id="modmenu" class="xi2 pbm"><?php $modopt=0;?><?php if($_G['forum']['ismoderator']) { if($_G['group']['allowdelpost']) { $modopt++?><a href="javascript:;" onclick="modthreads(3, 'delete')">删除主题</a><span class="pipe">|</span><?php } if($_G['group']['allowbumpthread'] && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modthreads(3, 'bump')">升降</a><span class="pipe">|</span><?php } if($_G['group']['allowstickthread'] && ($_G['forum_thread']['displayorder'] <= 3 || $_G['adminid'] == 1) && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modthreads(1, 'stick')">置顶</a><span class="pipe">|</span><?php } if($_G['group']['allowlivethread'] && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modaction('live')">直播</a><span class="pipe">|</span><?php } if($_G['group']['allowhighlightthread'] && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modthreads(1, 'highlight')">高亮</a><span class="pipe">|</span><?php } if($_G['group']['allowdigestthread'] && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modthreads(1, 'digest')">精华</a><span class="pipe">|</span><?php } if($_G['group']['allowrecommendthread'] && !empty($_G['forum']['modrecommend']['open']) && $_G['forum']['modrecommend']['sort'] != 1 && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modthreads(1, 'recommend')">推荐</a><span class="pipe">|</span><?php } if($_G['group']['allowstampthread'] && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modaction('stamp')">图章</a><span class="pipe">|</span><?php } if($_G['group']['allowstamplist'] && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modaction('stamplist')">图标</a><span class="pipe">|</span><?php } if($_G['group']['allowclosethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3) { $modopt++?><a href="javascript:;" onclick="modthreads(4)"><?php if(!$_G['forum_thread']['closed']) { ?>关闭<?php } else { ?>打开<?php } ?></a><span class="pipe">|</span><?php } if($_G['group']['allowmovethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3) { $modopt++?><a href="javascript:;" onclick="modthreads(2, 'move')">移动</a><span class="pipe">|</span><?php } if($_G['group']['allowedittypethread'] && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modthreads(2, 'type')">分类</a><span class="pipe">|</span><?php } if(!$_G['forum_thread']['special'] && !$_G['forum_thread']['is_archived']) { if($_G['group']['allowcopythread'] && $_G['forum']['status'] != 3) { $modopt++?><a href="javascript:;" onclick="modaction('copy')">复制</a><span class="pipe">|</span><?php } if($_G['group']['allowmergethread'] && $_G['forum']['status'] != 3) { $modopt++?><a href="javascript:;" onclick="modaction('merge')">合并</a><span class="pipe">|</span><?php } if($_G['group']['allowrefund'] && $_G['forum_thread']['price'] > 0) { $modopt++?><a href="javascript:;" onclick="modaction('refund')">撤销付费</a><span class="pipe">|</span><?php } } if($_G['group']['allowsplitthread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3) { $modopt++?><a href="javascript:;" onclick="modaction('split')">分割</a><span class="pipe">|</span><?php } if($_G['group']['allowrepairthread'] && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modaction('repair')">修复</a><span class="pipe">|</span><?php } if($_G['forum_thread']['is_archived'] && $_G['adminid'] == 1) { $modopt++?><a href="javascript:;" onclick="modaction('restore', '', 'archiveid=<?php echo $_G['forum_thread']['archiveid'];?>')">取消存档</a><span class="pipe">|</span><?php } if($_G['forum_firstpid']) { if($_G['group']['allowwarnpost']) { $modopt++?><a href="javascript:;" onclick="modaction('warn', '<?php echo $_G['forum_firstpid'];?>')">警告</a><span class="pipe">|</span><?php } if($_G['group']['allowbanpost']) { $modopt++?><a href="javascript:;" onclick="modaction('banpost', '<?php echo $_G['forum_firstpid'];?>')">屏蔽</a><span class="pipe">|</span><?php } } if($_G['group']['allowremovereward'] && $_G['forum_thread']['special'] == 3 && !$_G['forum_thread']['is_archived']) { $modopt++?><a href="javascript:;" onclick="modaction('removereward')">移除悬赏</a><span class="pipe">|</span><?php } if($_G['forum']['status'] == 3 && in_array($_G['adminid'], array('1','2')) && $_G['forum_thread']['closed'] < 1) { ?><a href="javascript:;" onclick="modthreads(5, 'recommend_group');return false;">推到版块</a><span class="pipe">|</span><?php } if($_G['group']['allowmanagetag']) { ?><a href="javascript:;" onclick="showWindow('mods', 'forum.php?mod=tag&op=manage&tid=<?php echo $_G['tid'];?>', 'get', 0)">标签</a><span class="pipe">|</span><?php } if($_G['group']['alloweditusertag']) { ?><a href="javascript:;" onclick="showWindow('usertag', 'forum.php?mod=misc&action=usertag&tid=<?php echo $_G['tid'];?>', 'get', 0)">用户标签</a><span class="pipe">|</span><?php } } if($allowpusharticle && $allowpostarticle) { $modopt++?><a href="portal.php?mod=portalcp&amp;ac=article&amp;from_idtype=tid&amp;from_id=<?php echo $_G['tid'];?>">生成文章</a><span class="pipe">|</span><?php } ?>
  77. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_modoption'])) echo $_G['setting']['pluginhooks']['viewthread_modoption'];?>
  78. </div>
  79. <?php } ?>
  80. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_beginline'])) echo $_G['setting']['pluginhooks']['viewthread_beginline'];?>
  81. <div id="postlist" class="pl bm wk_bm">
  82. <table cellspacing="0" cellpadding="0">
  83. <tr>
  84. <?php if(!$close_leftinfo) { ?>
  85. <td class="pls ptn pbn">
  86. <?php if($_G['page'] > 1) { ?>
  87. <div id="tath" class="cl">
  88. <?php if($_G['forum_thread']['authorid'] && $_G['forum_thread']['author']) { ?>
  89. <a href="home.php?mod=space&amp;uid=<?php echo $_G['forum_thread']['authorid'];?>" title="<?php echo $_G['forum_thread']['author'];?>"><?php echo avatar($_G[forum_thread][authorid],small);?></a>
  90. 楼主: <a href="home.php?mod=space&amp;uid=<?php echo $_G['forum_thread']['authorid'];?>" title="<?php echo $_G['forum_thread']['author'];?>"><?php echo $_G['forum_thread']['author'];?></a>
  91. <?php } else { ?>
  92. 楼主:
  93. <?php if($_G['forum']['ismoderator']) { ?>
  94. <a href="home.php?mod=space&amp;uid=<?php echo $_G['forum_thread']['authorid'];?>">匿名</a>
  95. <?php } else { ?>
  96. 匿名
  97. <?php } } ?>
  98. </div>
  99. <?php } else { ?>
  100. <div class="hm ptn">
  101. <span class="xg1">查看:</span> <span class="xi1"><?php echo $_G['forum_thread']['views'];?></span><span class="pipe">|</span><span class="xg1">回复:</span> <span class="xi1"><?php echo $_G['forum_thread']['allreplies'];?></span>
  102. </div>
  103. <?php } ?>
  104. </td>
  105. <?php } ?>
  106. <td class="plc ptm pbn vwthd">
  107. <?php if(!IS_ROBOT) { ?>
  108. <div class="y">
  109. <?php if($post['invisible'] == 0) { ?><a href="forum.php?mod=viewthread&amp;action=printable&amp;tid=<?php echo $_G['tid'];?>" title="打印" target="_blank"><img src="<?php echo IMGDIR;?>/print.png" alt="打印" class="vm" /></a>
  110. <?php } ?>
  111. <a href="forum.php?mod=redirect&amp;goto=nextoldset&amp;tid=<?php echo $_G['tid'];?>" title="上一主题"><img src="<?php echo IMGDIR;?>/thread-prev.png" alt="上一主题" class="vm" /></a>
  112. <a href="forum.php?mod=redirect&amp;goto=nextnewset&amp;tid=<?php echo $_G['tid'];?>" title="下一主题"><img src="<?php echo IMGDIR;?>/thread-next.png" alt="下一主题" class="vm" /></a>
  113. </div>
  114. <?php } if($_G['setting']['close_leftinfo_userctrl']) { ?>
  115. <span class="xg1 side_btn">
  116. <?php if(!$close_leftinfo) { ?>
  117. <a onclick="setcookie('close_leftinfo', 1);location.reload();" title="收起左侧" class="btn_s_close" href="javascript:;"><img src="<?php echo IMGDIR;?>/control_l.png" alt="收起左侧" class="vm" /></a>
  118. <?php } else { ?>
  119. <a onclick="setcookie('close_leftinfo', 2);location.reload();" title="开启左侧" class="btn_s_open" href="javascript:;"><img src="<?php echo IMGDIR;?>/control_r.png" alt="开启左侧" class="vm" /></a>
  120. <?php } ?>
  121. </span>
  122. <?php } ?>
  123. <h1 class="ts">
  124. <?php if($_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]) { if(!IS_ROBOT && ($_G['forum']['threadtypes']['listable'] || $_G['forum']['status'] == 3)) { ?>
  125. <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=typeid&amp;typeid=<?php echo $_G['forum_thread']['typeid'];?>">[<?php echo $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']];?>]</a>
  126. <?php } else { ?>
  127. [<?php echo $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']];?>]
  128. <?php } } if($threadsorts && $_G['forum_thread']['sortid']) { ?>
  129. <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>&amp;filter=sortid&amp;sortid=<?php echo $_G['forum_thread']['sortid'];?>">[<?php echo $_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']];?>]</a>
  130. <?php } ?>
  131. <span id="thread_subject"><?php echo $_G['forum_thread']['subject'];?></span>
  132. </h1>
  133. <span class="xg1">
  134. <?php if($_G['forum_thread']['displayorder'] == -2) { ?>(审核中)
  135. <?php } elseif($_G['forum_thread']['displayorder'] == -3) { ?>(已忽略)
  136. <?php } elseif($_G['forum_thread']['displayorder'] == -4) { ?>(草稿)
  137. <?php if($post['first'] && $post['invisible'] == -3) { ?>
  138. <a class="psave" href="forum.php?mod=misc&amp;action=pubsave&amp;tid=<?php echo $_G['tid'];?>">发表</a>
  139. <?php } } if($_G['setting']['threadhidethreshold'] && $_G['forum_thread']['hidden'] >= $_G['setting']['threadhidethreshold']) { ?>
  140. <?php if($_G['forum_thread']['authorid'] == $_G['uid']) { ?><a class="psave" id="hiderecover" title="点击恢复主题隐藏状态" href="forum.php?mod=misc&amp;action=hiderecover&amp;tid=<?php echo $_G['tid'];?>&amp;formhash=<?php echo FORMHASH;?>" onclick="showWindow(this.id, this.href, 'get', 0);">隐藏</a><?php } else { ?>(隐藏)<?php } ?>
  141. &nbsp;
  142. <?php } if($_G['forum_thread']['recommendlevel']) { ?>
  143. &nbsp;<img src="<?php echo IMGDIR;?>/recommend_<?php echo $_G['forum_thread']['recommendlevel'];?>.gif" alt="" title="评价指数 <?php echo $_G['forum_thread']['recommends'];?>" />
  144. <?php } if($_G['forum_thread']['heatlevel']) { ?>
  145. &nbsp;<img src="<?php echo IMGDIR;?>/hot_<?php echo $_G['forum_thread']['heatlevel'];?>.gif" alt="" title="热度: <?php echo $_G['forum_thread']['heats'];?>" />
  146. <?php } if($_G['forum_thread']['closed'] == 1) { ?>
  147. &nbsp;<img src="<?php echo IMGDIR;?>/locked.gif" alt="关闭" title="关闭" class="vm" />
  148. <?php } ?>
  149. <a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?><?php echo $fromuid;?>" onclick="return copyThreadUrl(this, '<?php echo $_G['setting']['bbname'];?>')" <?php if($fromuid) { ?>title="您的朋友访问此链接后,您将获得相应的积分奖励"<?php } ?>>[复制链接]</a>
  150. </span>
  151. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_title_extra'])) echo $_G['setting']['pluginhooks']['viewthread_title_extra'];?>
  152. </td>
  153. </tr>
  154. </table>
  155. <?php if($_G['forum_thread']['replycredit'] > 0 || $rushreply) { ?>
  156. <div id="pl_top">
  157. <table cellspacing="0" cellpadding="0">
  158. <tr class="ad">
  159. <td class="pls"></td>
  160. <td class="plc"></td>
  161. </tr>
  162. <?php if($_G['forum_thread']['replycredit'] > 0 ) { ?>
  163. <tr>
  164. <?php if(!$close_leftinfo) { ?>
  165. <td class="pls vm ptm">
  166. <?php } else { ?>
  167. <td class="pls ptm pbm xi1" colspan="2">
  168. <?php } ?>
  169. <img src="<?php echo IMGDIR;?>/thread_prize_s.png" class="hm" alt="回帖奖励" />
  170. <strong><?php echo $_G['forum_thread']['replycredit'];?> <?php echo $_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']]['title'];?></strong>
  171. <?php if(!$close_leftinfo) { ?>
  172. </td>
  173. <td class="plc ptm pbm xi1">
  174. <?php } else { ?>
  175. &nbsp;&nbsp;&nbsp;&nbsp;
  176. <?php } ?>
  177. 回复本帖可获得 <?php echo $_G['forum_thread']['replycredit_rule']['extcredits'];?> <?php echo $_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']]['title'];?>奖励! 每人限 <?php echo $_G['forum_thread']['replycredit_rule']['membertimes'];?> 次<?php if($_G['forum_thread']['replycredit_rule']['random'] > 0) { ?><span class="xg1">(中奖概率 <?php echo $_G['forum_thread']['replycredit_rule']['random'];?>%)</span><?php } ?>
  178. </td>
  179. </tr>
  180. <?php if($rushreply) { ?>
  181. <tr class="ad">
  182. <td class="pls"></td>
  183. <td class="plc"></td>
  184. </tr>
  185. <?php } } if($rushreply) { ?>
  186. <tr>
  187. <?php if(!$close_leftinfo) { ?>
  188. <td class="pls vm ptm">
  189. <img src="<?php echo IMGDIR;?>/rushreply_s.png" class="vm" alt="抢楼" />
  190. <strong>抢楼</strong>
  191. </td>
  192. <td class="plc ptm pbm xi1">
  193. <?php } else { ?>
  194. <td class="plc ptm pbm xi1" colspan="2">
  195. <img src="<?php echo IMGDIR;?>/rushreply_s.png" class="vm" alt="抢楼" />
  196. <?php } if($rushresult['rewardfloor']) { ?>
  197. <span class="y">
  198. <?php if($_G['uid'] == $_G['thread']['authorid'] || $_G['forum']['ismoderator']) { ?><a href="javascript:;" onclick="showWindow('membernum', 'forum.php?mod=ajax&action=get_rushreply_membernum&tid=<?php echo $_G['tid'];?>')" class="y pn xi2"><span>统计参与人数</span></a><?php } if(!$_GET['checkrush']) { ?>
  199. <a href="forum.php?mod=viewthread&amp;tid=<?php echo $post['tid'];?>&amp;checkrush=1" rel="nofollow" class="y pn xi2"><span>查看抢中楼层</span></a>
  200. <?php } ?>
  201. </span>
  202. <?php } if($rushresult['creditlimit'] == '') { ?>
  203. 本帖为抢楼帖,欢迎抢楼!&nbsp;
  204. <?php } else { ?>
  205. 本帖为抢楼帖,<?php echo $rushresult['creditlimit_title'];?>大于<?php echo $rushresult['creditlimit'];?>可以抢楼 &nbsp;
  206. <?php } if($rushresult['timer']) { ?>
  207. <span id="rushtimer_<?php echo $thread['tid'];?>"> 【还有 <span id="rushtimer_body_<?php echo $thread['tid'];?>"></span> <script language="javascript">settimer(<?php echo $rushresult['timer'];?>, 'rushtimer_body_<?php echo $thread['tid'];?>');</script><?php if($rushresult['timertype'] == 'start') { ?> 开始 <?php } else { ?> 结束 <?php } ?> 】</span>
  208. <?php } if($rushresult['stopfloor']) { ?>
  209. 截止楼层:<?php echo $rushresult['stopfloor'];?>&nbsp;
  210. <?php } if($rushresult['rewardfloor']) { ?>
  211. 奖励楼层: <?php echo $rushresult['rewardfloor'];?>&nbsp;
  212. <?php } if($rushresult['rewardfloor'] && $_GET['checkrush']) { ?>
  213. <p class="ptn">
  214. <?php if($countrushpost) { ?>[<strong><?php echo $countrushpost;?></strong>]个楼层已中奖<?php } else { ?> 暂时还没有楼层中奖 <?php } ?>&nbsp;&nbsp;
  215. <a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>" class="xi2">返回抢楼帖</a>
  216. </p>
  217. <?php } ?>
  218. </td>
  219. </tr>
  220. <?php } ?>
  221. </table>
  222. </div>
  223. <?php } ?>
  224. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_title_row'])) echo $_G['setting']['pluginhooks']['viewthread_title_row'];?>
  225. <table cellspacing="0" cellpadding="0" class="ad">
  226. <tr>
  227. <td class="pls">
  228. <?php if(!$close_leftinfo) { ?>
  229. </td>
  230. <td class="plc">
  231. <?php } ?>
  232. </td>
  233. </tr>
  234. </table><?php $postcount = 0;?><?php if(is_array($postlist)) foreach($postlist as $post) { if($rushreply && $_GET['checkrush'] && $post['rewardfloor'] != 1) { continue;?><?php } ?>
  235. <div id="post_<?php echo $post['pid'];?>" <?php if($_G['blockedpids'] && $post['inblacklist']) { ?>style="display:none;"<?php } ?>><?php $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);
  236. $postshowavatars = !($_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)));?><?php
  237. $authorverifys = <<<EOF
  238. EOF;
  239. if(is_array($post['verifyicon'])) foreach($post['verifyicon'] as $vid) {
  240. $authorverifys .= <<<EOF
  241. <a href="home.php?mod=spacecp&amp;ac=profile&amp;op=verify&amp;vid={$vid}" target="_blank">
  242. EOF;
  243. if($_G['setting']['verify'][$vid]['icon']) {
  244. $authorverifys .= <<<EOF
  245. <img src="{$_G['setting']['verify'][$vid]['icon']}" class="vm" alt="{$_G['setting']['verify'][$vid]['title']}" title="{$_G['setting']['verify'][$vid]['title']}" />
  246. EOF;
  247. } else {
  248. $authorverifys .= <<<EOF
  249. {$_G['setting']['verify'][$vid]['title']}
  250. EOF;
  251. }
  252. $authorverifys .= <<<EOF
  253. </a>
  254. EOF;
  255. } if(is_array($post['unverifyicon'])) foreach($post['unverifyicon'] as $vid) {
  256. $authorverifys .= <<<EOF
  257. <a href="home.php?mod=spacecp&amp;ac=profile&amp;op=verify&amp;vid={$vid}" target="_blank"><img src="{$_G['setting']['verify'][$vid]['unverifyicon']}" class="vm" alt="{$_G['setting']['verify'][$vid]['title']}" title="{$_G['setting']['verify'][$vid]['title']}" /></a>
  258. EOF;
  259. }
  260. $authorverifys .= <<<EOF
  261. EOF;
  262. ?>
  263. <?php if($post['first'] && $_G['forum_threadstamp']) { ?>
  264. <div id="threadstamp"><img src="<?php echo STATICURL;?>image/stamp/<?php echo $_G['forum_threadstamp']['url'];?>" title="<?php echo $_G['forum_threadstamp']['text'];?>" /></div>
  265. <?php } if(empty($post['deleted'])) { ?>
  266. <table id="pid<?php echo $post['pid'];?>" class="plhin" summary="pid<?php echo $post['pid'];?>" cellspacing="0" cellpadding="0">
  267. <tr>
  268. <?php if(!$close_leftinfo) { ?>
  269. <td class="pls" rowspan="2">
  270. <div id="favatar<?php echo $post['pid'];?>" class="pls favatar">
  271. <?php echo $post['newpostanchor'];?> <?php echo $post['lastpostanchor'];?>
  272. <?php if($post['authorid'] && $post['username'] && !$post['anonymous']) { if($_G['setting']['authoronleft']) { ?>
  273. <div class="pi">
  274. <div class="authi"><a href="home.php?mod=space&amp;uid=<?php echo $post['authorid'];?>" target="_blank" class="xw1"<?php if($post['groupcolor']) { ?> style="color: <?php echo $post['groupcolor'];?>"<?php } ?>><?php echo $post['author'];?></a><?php echo $authorverifys;?></div>
  275. </div>
  276. <?php } ?>
  277. <div class="p_pop blk bui card_gender_<?php echo $post['gender'];?>" id="userinfo<?php echo $post['pid'];?>" style="display: none; <?php if($_G['setting']['authoronleft']) { ?>margin-top: -11px;<?php } ?>">
  278. <div class="m z">
  279. <div id="userinfo<?php echo $post['pid'];?>_ma"></div>
  280. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_profileside'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_profileside'][$postcount];?>
  281. </div>
  282. <div class="i y">
  283. <div>
  284. <strong><a href="home.php?mod=space&amp;uid=<?php echo $post['authorid'];?>" target="_blank" class="xi2"<?php if($post['groupcolor']) { ?> style="color: <?php echo $post['groupcolor'];?>"<?php } ?>><?php echo $post['author'];?></a></strong>
  285. <?php if($_G['setting']['vtonlinestatus'] && $post['authorid']) { if(($_G['setting']['vtonlinestatus'] == 2 && $_G['forum_onlineauthors'][$post['authorid']]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])) { ?>
  286. <em>当前在线</em>
  287. <?php } else { ?>
  288. <em>当前离线</em>
  289. <?php } } ?>
  290. </div><?php viewthread_profile_node('top', $post);?><div class="imicn">
  291. <?php if($post['qq'] && !$post['privacy']['profile']['qq']) { ?><a href="http://wpa.qq.com/msgrd?V=3&amp;Uin=<?php echo $post['qq'];?>&amp;Site=<?php echo $_G['setting']['bbname'];?>&amp;Menu=yes&amp;from=discuz" target="_blank" title="QQ"><img src="<?php echo IMGDIR;?>/qq.gif" alt="QQ" /></a><?php } if($post['icq'] && !$post['privacy']['profile']['icq']) { ?><a href="http://wwp.icq.com/scripts/search.dll?to=<?php echo $post['icq'];?>" target="_blank" title="ICQ"><img src="<?php echo IMGDIR;?>/icq.gif" alt="ICQ" /></a><?php } if($post['yahoo'] && !$post['privacy']['profile']['yahoo']) { ?><a href="http://edit.yahoo.com/config/send_webmesg?.target=<?php echo $post['yahoo'];?>&amp;.src=pg" target="_blank" title="Yahoo"><img src="<?php echo IMGDIR;?>/yahoo.gif" alt="Yahoo!" /></a><?php } if($post['taobao'] && !$post['privacy']['profile']['taobao']) { ?><a href="javascript:;" onclick="window.open('http://amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('<?php echo $post['taobaoas'];?>')+'&site=cntaobao&s=2&charset=utf-8')" title="阿里旺旺"><img src="<?php echo IMGDIR;?>/taobao.gif" alt="阿里旺旺" /></a><?php } if($post['site'] && !$post['privacy']['profile']['site']) { ?><a href="<?php echo $post['site'];?>" target="_blank" title="查看个人网站"><img src="<?php echo IMGDIR;?>/forumlink.gif" alt="查看个人网站" /></a><?php } ?>
  292. <a href="home.php?mod=space&amp;uid=<?php echo $post['authorid'];?>&amp;do=profile" target="_blank" title="查看详细资料"><img src="<?php echo IMGDIR;?>/userinfo.gif" alt="查看详细资料" /></a>
  293. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_imicons'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_imicons'][$postcount];?>
  294. <?php if($_G['setting']['magicstatus']) { if(!empty($_G['setting']['magics']['showip'])) { ?>
  295. <a href="home.php?mod=magic&amp;mid=showip&amp;idtype=user&amp;id=<?php echo rawurlencode($post['author']); ?>" id="a_showip_li_<?php echo $post['pid'];?>" class="xi2" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>/image/magic/showip.small.gif" alt="" /> <?php echo $_G['setting']['magics']['showip'];?></a>
  296. <?php } if(!empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']) { ?>
  297. <a href="home.php?mod=magic&amp;mid=checkonline&amp;idtype=user&amp;id=<?php echo rawurlencode($post['author']); ?>" id="a_repent_<?php echo $post['pid'];?>" class="xi2" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>/image/magic/checkonline.small.gif" alt="" /> <?php echo $_G['setting']['magics']['checkonline'];?></a>
  298. <?php } ?>
  299. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_magic_user'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_magic_user'][$postcount];?>
  300. <?php } ?>
  301. </div>
  302. <div id="avatarfeed"><span id="threadsortswait"></span></div>
  303. </div>
  304. </div>
  305. <?php } if($post['authorid'] && $post['username'] && !$post['anonymous']) { ?>
  306. <div>
  307. <?php if(!$postshowavatars) { ?>
  308. <div class="avatar">头像被屏蔽</div>
  309. <?php } elseif($post['avatar'] && $showavatars) { if($post['mobiletype']) { ?>
  310. <div class="mobile-type mobile-type-<?php echo $post['mobiletype'];?>">
  311. <a></a>
  312. </div>
  313. <?php } ?>
  314. <div class="avatar"<?php if(!($_G['setting']['threadguestlite'] && !$_G['uid'])) { ?> onmouseover="showauthor(this, 'userinfo<?php echo $post['pid'];?>')"<?php } ?>><a href="home.php?mod=space&amp;uid=<?php echo $post['authorid'];?>" class="avtm" target="_blank"><?php echo $post['avatar'];?></a></div>
  315. <?php } ?>
  316. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_avatar'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_avatar'][$postcount];?>
  317. </div>
  318. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_sidetop'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_sidetop'][$postcount];?>
  319. <?php if(!($_G['setting']['threadguestlite'] && !$_G['uid'])) { viewthread_profile_node('left', $post);?><?php if($post['authorid'] != $_G['uid']) { ?>
  320. <ul class="xl xl2 o cl">
  321. <?php if(helper_access::check_module('follow')) { ?>
  322. <li class="addflw">
  323. <a href="home.php?mod=spacecp&amp;ac=follow&amp;op=add&amp;hash=<?php echo FORMHASH;?>&amp;fuid=<?php echo $post['authorid'];?>" id="followmod_<?php echo $post['authorid'];?>" title="收听TA" class="xi2" onclick="showWindow('followmod', this.href, 'get', 0);">收听TA</a>
  324. </li>
  325. <?php } ?>
  326. <li class="pm2"><a href="home.php?mod=spacecp&amp;ac=pm&amp;op=showmsg&amp;handlekey=showmsg_<?php echo $post['authorid'];?>&amp;touid=<?php echo $post['authorid'];?>&amp;pmid=0&amp;daterange=2&amp;pid=<?php echo $post['pid'];?>&amp;tid=<?php echo $post['tid'];?>" onclick="showWindow('sendpm', this.href);" title="发消息" class="xi2">发消息</a></li>
  327. </ul>
  328. <?php } } ?>
  329. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_sidebottom'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_sidebottom'][$postcount];?>
  330. <?php } elseif(getstatus($post['status'], 5)) { if($_G['setting']['authoronleft']) { ?>
  331. <div class="pi">
  332. <div class="authi"><a href="javascript:;" class="xw1"><?php echo $post['author'];?></a></div>
  333. </div>
  334. <?php } if($showavatars) { ?>
  335. <div>
  336. <div class="avatar avtm"><a href="javascript:;"><?php echo $post['avatar'];?></a></div>
  337. </div>
  338. <?php } } else { ?>
  339. <div class="pi">
  340. <?php if(!$post['authorid']) { ?>
  341. <a href="javascript:;"><?php echo $_G['setting']['anonymoustext'];?> <em><?php echo $post['useip'];?><?php if($post['port']) { ?>:<?php echo $post['port'];?><?php } ?></em></a>
  342. <?php } elseif($post['authorid'] && $post['username'] && $post['anonymous']) { if($_G['forum']['ismoderator']) { ?><a href="home.php?mod=space&amp;uid=<?php echo $post['authorid'];?>" target="_blank"><?php echo $_G['setting']['anonymoustext'];?></a><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } } else { ?>
  343. <?php echo $post['author'];?> <em>该用户已被删除</em>
  344. <?php } ?>
  345. </div>
  346. <?php } if(($_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'])) && !getstatus($post['status'], 5)) { ?>
  347. <p class="cp_pls cl">
  348. <?php if($_G['forum']['ismoderator'] && $_G['group']['allowviewip']) { ?>
  349. <a href="forum.php?mod=topicadmin&amp;action=getip&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?><?php if($_G['forum_auditstatuson']) { ?>&amp;modthreadkey=<?php echo $_GET['modthreadkey'];?><?php } ?>" onclick="ajaxmenu(this, 0, 0, 2);doane(event)">IP</a>
  350. <?php } if($_G['group']['allowedituser']) { ?>
  351. <a href="<?php if($_G['adminid'] == 1) { ?>admin.php?frames=yes&action=members&operation=search&uid=<?php echo $post['authorid'];?>&submit=yes<?php } else { ?>forum.php?mod=modcp&action=member&op=edit&uid=<?php echo $post['authorid'];?><?php } ?>" target="_blank">编辑</a>
  352. <?php } if($_G['group']['allowbanuser']) { if($_G['adminid'] == 1) { ?>
  353. <a href="admin.php?action=members&amp;operation=ban&amp;username=<?php echo $post['usernameenc'];?>&amp;frames=yes" target="_blank">禁止</a>
  354. <?php } else { ?>
  355. <a href="forum.php?mod=modcp&amp;action=member&amp;op=ban&amp;uid=<?php echo $post['authorid'];?>" target="_blank">禁止</a>
  356. <?php } } ?>
  357. <a href="forum.php?mod=modcp&amp;action=thread&amp;op=post&amp;do=search&amp;searchsubmit=1&amp;users=<?php echo $post['usernameenc'];?>" target="_blank">帖子</a>
  358. <?php if($_G['adminid'] == 1) { ?>
  359. <a href="forum.php?mod=ajax&amp;action=quickclear&amp;uid=<?php echo $post['authorid'];?>" onclick="showWindow('qclear_<?php echo $post['authorid'];?>', this.href, 'get', 0)">清理</a>
  360. <?php } ?>
  361. </p>
  362. <?php } ?>
  363. </div>
  364. </td>
  365. <?php } ?>
  366. <td class="plc"<?php if($close_leftinfo) { ?> style="width:100%"<?php } ?>>
  367. <div class="pi"<?php if($close_leftinfo && !$post['anonymous'] && $postshowavatars && $showavatars) { ?> style="height:48px"<?php } ?>>
  368. <?php if(!IS_ROBOT) { if(!$postcount && !$_G['forum_thread']['archiveid'] && $post['first'] ) { ?>
  369. <div id="fj" class="y">
  370. <label class="z">电梯直达</label>
  371. <input type="text" class="px p_fre z" size="2" onkeyup="$('fj_btn').href='forum.php?mod=redirect&ptid=<?php echo $_G['tid'];?>&authorid=<?php echo $_GET['authorid'];?>&postno='+this.value" onkeydown="if(event.keyCode==13) {window.location=$('fj_btn').href;return false;}" title="跳转到指定楼层" />
  372. <a href="javascript:;" id="fj_btn" class="z" title="跳转到指定楼层"><img src="<?php echo IMGDIR;?>/fj_btn.png" alt="跳转到指定楼层" class="vm" /></a>
  373. </div>
  374. <?php } if($post['warned']) { ?>
  375. <a href="forum.php?mod=misc&amp;action=viewwarning&amp;tid=<?php echo $_G['tid'];?>&amp;uid=<?php echo $post['authorid'];?>" title="受到警告" class="y" onclick="showWindow('viewwarning', this.href)"><img src="<?php echo IMGDIR;?>/warning.gif" alt="受到警告" /></a>
  376. <?php } ?>
  377. <strong>
  378. <a href="<?php if($post['first']) { ?>forum.php?mod=viewthread&tid=<?php echo $_G['tid'];?><?php echo $fromuid;?><?php } else { ?>forum.php?mod=redirect&goto=findpost&ptid=<?php echo $_G['tid'];?>&pid=<?php echo $post['pid'];?><?php echo $fromuid;?><?php } ?>" <?php if($fromuid) { ?>title="您的朋友访问此链接后,您将获得相应的积分奖励"<?php } ?> id="postnum<?php echo $post['pid'];?>" onclick="setCopy(this.href, '帖子地址复制成功');return false;">
  379. <?php if(isset($post['isstick'])) { ?>
  380. <img src ="<?php echo IMGDIR;?>/settop.png" title="置顶回复" class="vm" /> 来自 <?php echo $post['number'];?><?php echo $postnostick;?>
  381. <?php } elseif($post['number'] == -1) { ?>
  382. 推荐
  383. <?php } else { if(!empty($postno[$post['number']])) { ?>
  384. <?php echo $postno[$post['number']];?>
  385. <?php } else { ?>
  386. <em><?php echo $post['number'];?></em><?php echo $postno['0'];?>
  387. <?php } } ?>
  388. </a>
  389. </strong>
  390. <?php } ?>
  391. <div class="pti">
  392. <div class="pdbt">
  393. <?php if(!$post['first'] && $post['rewardfloor']) { ?>
  394. <label class="pdbts pdbts_1">
  395. <a href="forum.php?mod=viewthread&amp;tid=<?php echo $post['tid'];?>&amp;checkrush=1" rel="nofollow" title="查看抢中楼层" class="v">恭喜</a>
  396. <a href="forum.php?mod=viewthread&amp;tid=<?php echo $post['tid'];?>&amp;checkrush=1" rel="nofollow" title="查看抢中楼层" class="b">抢中本楼</a>
  397. </label>
  398. <?php } if(!$post['first'] && $_G['forum_thread']['special'] == 5) { ?>
  399. <label class="pdbts pdbts_<?php echo intval($post['stand']); ?>">
  400. <?php if($post['stand'] == 1) { ?><a class="v" href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;filter=debate&amp;stand=1" title="只看正方">正方</a>
  401. <?php } elseif($post['stand'] == 2) { ?><a class="v" href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;filter=debate&amp;stand=2" title="只看反方">反方</a>
  402. <?php } else { ?><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;filter=debate&amp;stand=0" title="只看中立">中立</a><?php } if($post['stand']) { ?>
  403. <a class="b" href="forum.php?mod=misc&amp;action=debatevote&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?>" id="voterdebate_<?php echo $post['pid'];?>" onclick="ajaxmenu(this);doane(event);">支持 <?php echo $post['voters'];?></a>
  404. <?php } ?>
  405. </label>
  406. <?php } ?>
  407. </div>
  408. <div class="authi">
  409. <?php if($close_leftinfo && !$post['anonymous'] && $postshowavatars && $showavatars) { ?>
  410. <div class="z">
  411. <a href="home.php?mod=space&amp;uid=<?php echo $post['authorid'];?>" target="_blank" class="xi2 z wk_tzimg" style="padding-right:15px;"><?php echo avatar($post['authorid'], 'small'); ?></a>
  412. </div>
  413. <?php } ?>
  414. <div class="wk_ckhf">
  415. <?php $_self = $thread['author'] && $post['author'] == $thread['author'] && $post['position'] !== '1';?> <?php if($_self ) { ?>
  416. <img class="authicn vm" id="authicon<?php echo $post['pid'];?>" src="<?php echo IMGDIR;?>/ico_lz.png" />
  417. <?php } else { ?>
  418. <?php if(!$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]) { ?>
  419. <img class="authicn vm" id="authicon<?php echo $post['pid'];?>" src="<?php echo $_G['cache']['groupicon'][$post['groupid']];?>" />
  420. <?php } else { ?>
  421. <img class="authicn vm" id="authicon<?php echo $post['pid'];?>" src="<?php echo $_G['cache']['groupicon']['0'];?>" />
  422. <?php } ?>
  423. <?php } ?>
  424. <?php if($post['authorid'] && !$post['anonymous']) { ?>
  425. <?php if($_self) { ?>
  426. &nbsp;楼主<span class="pipe">|</span>
  427. <?php } ?>
  428. <?php if(!$_G['setting']['authoronleft']) { ?><a href="home.php?mod=space&amp;uid=<?php echo $post['authorid'];?>" target="_blank" class="xi2"><?php echo $post['author'];?></a><?php echo $authorverifys;?><?php } ?>
  429. <?php if($close_leftinfo) { } ?>
  430. <em id="authorposton<?php echo $post['pid'];?>">发表于 <?php echo $post['dateline'];?></em>
  431. <?php if($post['status'] & 8) { ?>
  432. <span class="xg1"><?php if($_G['setting']['mobile']['mobilecomefrom']) { ?><?php echo $_G['setting']['mobile']['mobilecomefrom'];?><?php } else { ?>来自手机<?php } ?></span>
  433. <?php } ?>
  434. <?php if($post['invisible'] == 0) { ?>
  435. <span class="pipe">|</span>
  436. <?php if(!IS_ROBOT && !$_GET['authorid'] && !$_G['forum_thread']['archiveid']) { ?>
  437. <a href="forum.php?mod=viewthread&amp;tid=<?php echo $post['tid'];?>&amp;page=<?php echo $page;?>&amp;authorid=<?php echo $post['authorid'];?>" rel="nofollow">只看该作者</a>
  438. <?php } elseif(!$_G['forum_thread']['archiveid']) { ?>
  439. <a href="forum.php?mod=viewthread&amp;tid=<?php echo $post['tid'];?>&amp;page=<?php echo $page;?>" rel="nofollow">显示全部楼层</a>
  440. <?php } ?>
  441. <?php } ?>
  442. <?php } elseif(getstatus($post['status'], 5)) { ?>
  443. <?php if(!$_G['setting']['authoronleft']) { ?><a href="javascript:;" class="xi2"><?php echo $post['author'];?></a><?php } ?>
  444. &nbsp;<em id="authorposton<?php echo $post['pid'];?>">发表于 <?php echo $post['dateline'];?></em>
  445. <?php } elseif($post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']) { ?>
  446. <?php echo $_G['setting']['anonymoustext'];?>&nbsp;
  447. <em id="authorposton<?php echo $post['pid'];?>">发表于 <?php echo $post['dateline'];?></em>
  448. <?php } ?>
  449. <?php if(!IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] ) { ?>
  450. <?php if($_G['forum_thread']['attachment'] == 2 && $_G['group']['allowgetimage'] && (!$_G['setting']['guestviewthumb']['flag'] || $_G['setting']['guestviewthumb']['flag'] && $_G['uid'])) { ?>
  451. <span class="pipe">|</span><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;from=album">只看大图</a>
  452. <?php } ?>
  453. <span class="none"><img src="<?php echo IMGDIR;?>/arw_r.gif" class="vm" alt="回帖奖励" /></span>
  454. <?php if(!$rushreply) { ?>
  455. <?php if($ordertype != 1) { ?>
  456. <span class="pipe show">|</span><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;ordertype=1" class="show">倒序浏览</a>
  457. <?php } else { ?>
  458. <span class="pipe show">|</span><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;ordertype=2" class="show">正序浏览</a>
  459. <?php } ?>
  460. <?php } ?>
  461. <?php } ?>
  462. <?php if($post['first']) { ?>
  463. <span class="pipe show">|</span><a href="javascript:;" onclick="readmode($('thread_subject').innerHTML, <?php echo $post['pid'];?>);" class="show">阅读模式</a>
  464. <?php } ?>
  465. <?php if($close_leftinfo) { ?>
  466. <?php if(!IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] ) { ?>
  467. <div class="clear"></div>
  468. <span class="xg1">查看 : </span> <span class="xi1"><?php echo $_G['forum_thread']['views'];?></span><span class="pipe"></span><span class="pipe">|</span><span class="pipe"></span><span class="xg1">回复 : </span> <span class="xi1"><?php echo $_G['forum_thread']['allreplies'];?></span>
  469. <?php } ?>
  470. <?php } ?>
  471. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_postheader'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_postheader'][$postcount];?>
  472. </div>
  473. </div>
  474. </div>
  475. </div><?php $ad_a_pr=adshow("thread/a_pr/3/$postcount");?><div class="pct"><?php echo adshow("thread/a_pt/2/$postcount");?><?php if(empty($ad_a_pr_css)) { ?>
  476. <style type="text/css">.pcb{margin-right:0}</style><?php $ad_a_pr_css=1;?><?php } if(!$post['first'] && $post['replycredit'] > 0) { ?>
  477. <div class="cm">
  478. <h3 class="psth xs1"><span class="icon_ring vm"></span>
  479. 回帖奖励 <span class="xw1 xs2 xi1">+<?php echo $post['replycredit'];?></span> <?php echo $_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']]['title'];?>
  480. </h3>
  481. </div>
  482. <?php } ?><div class="pcb">
  483. <?php if(!$_G['forum']['ismoderator'] && $_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($_G['thread']['digest'] == 0 && ($post['groupid'] == 4 || $post['groupid'] == 5 || $post['memberstatus'] == '-1')))) { ?>
  484. <div class="locked">提示: <em>作者被禁止或删除 内容自动屏蔽</em></div>
  485. <?php } elseif(!$_G['forum']['ismoderator'] && $post['status'] & 1) { ?>
  486. <div class="locked">提示: <em>该帖被管理员或版主屏蔽</em></div>
  487. <?php } elseif($needhiddenreply) { ?>
  488. <div class="locked">此帖仅作者可见</div>
  489. <?php } elseif($post['first'] && $_G['forum_threadpay']) { include template('forum/viewthread_pay'); } elseif($_G['forum_discuzcode']['passwordlock'][$post['pid']]) { ?>
  490. <div class="locked">本帖为密码帖 ,请输入密码<input type="text" id="postpw_<?php echo $post['pid'];?>" class="vm" />&nbsp;<button class="pn vm" type="button" onclick="submitpostpw(<?php echo $post['pid'];?><?php if($_GET['from'] == 'preview') { ?>,<?php echo $post['tid'];?><?php } else { } ?>)"><strong>提交</strong></button></div>
  491. <?php } else { if(!$post['first'] && !empty($post['subject'])) { ?>
  492. <h2><?php echo $post['subject'];?></h2>
  493. <?php } ?>
  494. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_posttop'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_posttop'][$postcount];?>
  495. <?php if($_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($_G['thread']['digest'] == 0 && ($post['groupid'] == 4 || $post['groupid'] == 5 || $post['memberstatus'] == '-1')))) { ?>
  496. <div class="locked">提示: <em>作者被禁止或删除 内容自动屏蔽,只有管理员或有管理权限的成员可见</em></div>
  497. <?php } elseif($post['status'] & 1) { ?>
  498. <div class="locked">提示: <em>该帖被管理员或版主屏蔽,只有管理员或有管理权限的成员可见</em></div>
  499. <?php } if(!$post['first'] && $hiddenreplies && $_G['forum']['ismoderator']) { ?>
  500. <div class="locked">此帖仅作者可见</div>
  501. <?php } if($post['first']) { ?>
  502. <?php if($_G['forum_thread']['price'] > 0 && $_G['forum_thread']['special'] == 0 && empty($previewspecial)) { ?>
  503. <div class="locked"><em class="y"><a href="forum.php?mod=misc&amp;action=viewpayments&amp;tid=<?php echo $_G['tid'];?>" onclick="showWindow('pay', this.href)">记录</a></em>付费主题, 价格: <strong><?php echo $_G['forum_thread']['price'];?> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['title'];?> </strong></div>
  504. <?php } if($threadsort && $threadsortshow) { if($threadsortshow['typetemplate']) { ?>
  505. <?php echo $threadsortshow['typetemplate'];?>
  506. <?php } elseif($threadsortshow['optionlist']) { ?>
  507. <div class="typeoption">
  508. <?php if($threadsortshow['optionlist'] == 'expire') { ?>
  509. 该信息已经过期
  510. <?php } else { ?>
  511. <table summary="分类信息" cellpadding="0" cellspacing="0" class="cgtl mbm">
  512. <caption><?php echo $_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']];?></caption>
  513. <tbody><?php if(is_array($threadsortshow['optionlist'])) foreach($threadsortshow['optionlist'] as $option) { if($option['type'] != 'info') { ?>
  514. <tr>
  515. <th><?php echo $option['title'];?>:</th>
  516. <td><?php if($option['value'] !== '') { ?><?php echo $option['value'];?> <?php echo $option['unit'];?><?php } else { ?>-<?php } ?></td>
  517. </tr>
  518. <?php } } ?>
  519. </tbody>
  520. </table>
  521. <?php } ?>
  522. </div>
  523. <?php } } } if($_G['forum_discuzcode']['passwordauthor'][$post['pid']]) { ?>
  524. <div class="locked">本帖为密码帖</div>
  525. <?php } ?>
  526. <div class="<?php if(!$_G['forum_thread']['special']) { ?>t_fsz<?php } else { ?>pcbs<?php } ?>">
  527. <?php echo $_G['forum_posthtml']['header'][$post['pid']];?>
  528. <?php if($post['first']) { if(!$_G['forum_thread']['special']) { ?>
  529. <table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_<?php echo $post['pid'];?>">
  530. <?php if(!$_G['inajax']) { if($ad_a_pr) { ?>
  531. <?php echo $ad_a_pr;?>
  532. <?php } } if(!empty($_G['setting']['guesttipsinthread']['flag']) && empty($_G['uid']) && !$post['attachment'] && $_GET['from'] != 'preview') { ?>
  533. <div class="attach_nopermission attach_tips">
  534. <div>
  535. <h3><strong>
  536. <?php if(!empty($_G['setting']['guesttipsinthread']['text'])) { ?>
  537. <?php echo $_G['setting']['guesttipsinthread']['text'];?>
  538. <?php } else { ?>
  539. 马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
  540. <?php } ?>
  541. </strong></h3>
  542. <p>您需要 <a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href);return false;">登录</a> 才可以下载或查看,没有帐号?<a href="member.php?mod=<?php echo $_G['setting']['regname'];?>" title="注册帐号"><?php echo $_G['setting']['reglinkname'];?></a> <?php if(!empty($_G['setting']['pluginhooks']['global_login_text'])) echo $_G['setting']['pluginhooks']['global_login_text'];?></p>
  543. </div>
  544. <span class="atips_close" onclick="this.parentNode.style.display='none'">x</span>
  545. </div>
  546. <?php } ?>
  547. <?php echo $post['message'];?></td></tr></table>
  548. <?php } elseif($_G['forum_thread']['special'] == 1) { include template('forum/viewthread_poll'); } elseif($_G['forum_thread']['special'] == 2) { include template('forum/viewthread_trade'); } elseif($_G['forum_thread']['special'] == 3) { include template('forum/viewthread_reward'); } elseif($_G['forum_thread']['special'] == 4) { include template('forum/viewthread_activity'); } elseif($_G['forum_thread']['special'] == 5) { include template('forum/viewthread_debate'); } elseif($_G['forum_thread']['special'] == 127) { ?>
  549. <?php echo $threadplughtml;?>
  550. <table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_<?php echo $post['pid'];?>"><?php echo $post['message'];?></td></tr></table>
  551. <?php } } else { ?>
  552. <table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_<?php echo $post['pid'];?>">
  553. <?php if(!$_G['inajax']) { if($ad_a_pr) { ?>
  554. <?php echo $ad_a_pr;?>
  555. <?php } } if($post['invisible'] != '-2' || $_G['forum']['ismoderator']) { ?><?php echo $post['message'];?><?php } else { ?><span class="xg1">待审核</span><?php } ?></td></tr></table>
  556. <?php } ?>
  557. <?php echo $_G['forum_posthtml']['footer'][$post['pid']];?>
  558. <?php if($post['first'] && ($post['tags'] || $relatedkeywords) && $_GET['from'] != 'preview') { ?>
  559. <div class="ptg mbm mtn">
  560. <?php if($post['tags']) { $tagi = 0;?><?php if(is_array($post['tags'])) foreach($post['tags'] as $var) { if($tagi) { ?>, <?php } ?><a title="<?php echo $var['1'];?>" href="misc.php?mod=tag&amp;id=<?php echo $var['0'];?>" target="_blank"><?php echo $var['1'];?></a><?php $tagi++;?><?php } } if($relatedkeywords) { ?><span><?php echo $relatedkeywords;?></span><?php } ?>
  561. </div>
  562. <?php } if(!IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']) { if(!empty($lastmod['modaction'])) { ?><div class="modact"><a href="forum.php?mod=misc&amp;action=viewthreadmod&amp;tid=<?php echo $_G['tid'];?>" title="帖子模式" onclick="showWindow('viewthreadmod', this.href)"><?php if($lastmod['modactiontype'] == 'REB') { ?>本主题由 <?php echo $lastmod['modusername'];?> 于 <?php echo $lastmod['moddateline'];?> <?php echo $lastmod['modaction'];?>到 <?php echo $lastmod['reason'];?><?php } else { ?>本主题由 <?php echo $lastmod['modusername'];?> 于 <?php echo $lastmod['moddateline'];?> <?php echo $lastmod['modaction'];?><?php } ?></a></div><?php } ?>
  563. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_modaction'])) echo $_G['setting']['pluginhooks']['viewthread_modaction'];?>
  564. <?php } if($post['attachment'] && $_GET['from'] != 'preview') { ?>
  565. <div class="attach_nopermission attach_tips">
  566. <div>
  567. <h3><strong>本帖子中包含更多资源</strong></h3>
  568. <p><?php if($_G['uid']) { ?>您所在的用户组无法下载或查看附件<?php } elseif($_G['connectguest']) { ?>您需要 <a href="member.php?mod=connect" class="xi2">完善帐号信息</a> 或 <a href="member.php?mod=connect&amp;ac=bind" class="xi2">绑定已有帐号</a> 后才可以下载或查看<?php } else { ?>您需要 <a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href);return false;">登录</a> 才可以下载或查看,没有帐号?<a href="member.php?mod=<?php echo $_G['setting']['regname'];?>" title="注册帐号"><?php echo $_G['setting']['reglinkname'];?></a> <?php if(!empty($_G['setting']['pluginhooks']['global_login_text'])) echo $_G['setting']['pluginhooks']['global_login_text'];?><?php } ?></p>
  569. </div>
  570. <span class="atips_close" onclick="this.parentNode.style.display='none'">x</span>
  571. </div>
  572. <?php } elseif($post['imagelist'] || $post['attachlist']) { ?>
  573. <div class="pattl">
  574. <?php if($post['imagelist'] && $_G['setting']['imagelistthumb'] && $post['imagelistcount'] >= $_G['setting']['imagelistthumb']) { if(!isset($imagelistkey)) { $imagelistkey = rawurlencode(dsign($_G[tid].'|100|100'))?><script type="text/javascript" reload="1">var imagelistkey = '<?php echo $imagelistkey;?>';</script>
  575. <?php } $post['imagelistthumb'] = true;?><div class="bbda cl mtw mbm pbm">
  576. <strong>更多图片</strong>
  577. <a href="javascript:;" onclick="attachimglst('<?php echo $post['pid'];?>', 0)" class="xi2 attl_g">小图</a>
  578. <a href="javascript:;" onclick="attachimglst('<?php echo $post['pid'];?>', 1, <?php echo intval($_G['setting']['lazyload']); ?>)" class="xi2 attl_m">大图</a>
  579. </div>
  580. <div id="imagelist_<?php echo $post['pid'];?>" class="cl" style="display:none"><?php echo showattach($post, 1); ?></div>
  581. <div id="imagelistthumb_<?php echo $post['pid'];?>" class="pattl_c cl"><img src="<?php echo IMGDIR;?>/loading.gif" width="16" height="16" class="vm" /> 组图打开中,请稍候......</div>
  582. <?php } else { echo showattach($post, 1); } if($post['attachlist']) { echo showattach($post); } ?>
  583. </div>
  584. <?php } if($_G['setting']['allowfastreply'] && $post['first'] && $fastpost && $allowpostreply && !$_G['forum_thread']['archiveid'] && $_GET['from'] != 'preview') { ?>
  585. <form method="post" autocomplete="off" id="vfastpostform" action="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;fromvf=1&amp;extra=<?php echo $_G['gp_extra'];?>&amp;replysubmit=yes<?php if($_G['gp_ordertype'] != 1) { ?>&amp;infloat=yes&amp;handlekey=vfastpost<?php } if($_G['gp_from']) { ?>&amp;from=<?php echo $_G['gp_from'];?><?php } ?>" onsubmit="this.message.value = parseurl(this.message.value);ajaxpost('vfastpostform', 'return_reply', 'return_reply', 'onerror');return false;">
  586. <div id="vfastpost" class="fullvfastpost">
  587. <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
  588. <table cellspacing="0" cellpadding="0" id="vfastposttb">
  589. <tr>
  590. <td id="vf_l"></td>
  591. <td id="vf_m"><input type="text" name="message" id="vmessage" onKeyDown="seditor_ctlent(event, '$(\'vfastpostform\').submit()');"/></td>
  592. <td id="vf_r"></td>
  593. <td id="vf_b">
  594. <button type="submit" class="pn pnc" name="replysubmit" id="vreplysubmit" value="true" style="">post_newreply</button>
  595. </td>
  596. </tr>
  597. </table>
  598. </div>
  599. <div id="vfastpostseccheck"></div>
  600. </form>
  601. <script type="text/javascript">vmessage();</script>
  602. <?php } ?>
  603. </div>
  604. <div id="comment_<?php echo $post['pid'];?>" class="cm">
  605. <?php if($_GET['from'] != 'preview' && $_G['setting']['commentnumber'] && !empty($comments[$post['pid']])) { ?>
  606. <h3 class="psth xs1"><span class="icon_ring vm"></span>点评</h3>
  607. <?php if($totalcomment[$post['pid']]) { ?><div class="pstl"><?php echo $totalcomment[$post['pid']];?></div><?php } if(is_array($comments[$post['pid']])) foreach($comments[$post['pid']] as $comment) { ?><div class="pstl xs1 cl">
  608. <div class="psta vm">
  609. <a href="home.php?mod=space&amp;uid=<?php echo $comment['authorid'];?>" c="1"><?php echo $comment['avatar'];?></a>
  610. <?php if($comment['authorid']) { ?>
  611. <a href="home.php?mod=space&amp;uid=<?php echo $comment['authorid'];?>" class="xi2 xw1"><?php echo $comment['author'];?></a>
  612. <?php } else { ?>
  613. 游客
  614. <?php } ?>
  615. </div>
  616. <div class="psti">
  617. <?php echo $comment['comment'];?>&nbsp;
  618. <?php if($comment['rpid']) { ?>
  619. <a href="forum.php?mod=redirect&amp;goto=findpost&amp;pid=<?php echo $comment['rpid'];?>&amp;ptid=<?php echo $_G['tid'];?>" class="xi2">详情</a>
  620. <a href="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;repquote=<?php echo $comment['rpid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;page=<?php echo $page;?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" class="xi2" onclick="showWindow('reply', this.href)">回复</a>
  621. <?php } ?>
  622. <span class="xg1">
  623. 发表于 <?php echo dgmdate($comment[dateline], 'u');?><?php if($comment['useip'] && $_G['group']['allowviewip']) { ?>&nbsp;IP:<?php echo $comment['useip'];?><?php if($comment['port']) { ?>:<?php echo $comment['port'];?><?php } } if($_G['forum']['ismoderator'] && $_G['group']['allowdelpost']) { ?>&nbsp;<a href="javascript:;" onclick="modaction('delcomment', <?php echo $comment['id'];?>)">删除</a><?php } ?>
  624. </span>
  625. </div>
  626. </div>
  627. <?php } if($commentcount[$post['pid']] > $_G['setting']['commentnumber']) { ?><div class="pgs mbm mtn cl"><div class="pg"><a href="javascript:;" class="nxt" onclick="ajaxget('forum.php?mod=misc&action=commentmore&tid=<?php echo $post['tid'];?>&pid=<?php echo $post['pid'];?>&page=2', 'comment_<?php echo $post['pid'];?>')">下一页</a></div></div><?php } } ?>
  628. </div>
  629. <?php if($_GET['from'] != 'preview' && !empty($post['ratelog'])) { ?>
  630. <h3 class="psth xs1"><span class="icon_ring vm"></span>评分</h3>
  631. <dl id="ratelog_<?php echo $post['pid'];?>" class="rate<?php if(!empty($_G['cookie']['ratecollapse'])) { ?> rate_collapse<?php } ?>">
  632. <?php if($_G['setting']['ratelogon']) { ?>
  633. <dd style="margin:0">
  634. <?php } else { ?>
  635. <dt>
  636. <?php if(!empty($postlist[$post['pid']]['totalrate'])) { ?>
  637. <strong><a href="forum.php?mod=misc&amp;action=viewratings&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?>" onclick="showWindow('viewratings', this.href)" title="已有<?php echo count($postlist[$post['pid']]['totalrate']);; ?>人评分, 查看全部评分"><?php echo count($postlist[$post['pid']]['totalrate']);; ?></a></strong>
  638. <p><a href="forum.php?mod=misc&amp;action=viewratings&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?>" onclick="showWindow('viewratings', this.href)">查看全部评分</a></p>
  639. <?php } ?>
  640. </dt>
  641. <dd>
  642. <?php } ?>
  643. <div id="post_rate_<?php echo $post['pid'];?>"></div>
  644. <?php if($_G['setting']['ratelogon']) { ?>
  645. <table class="ratl">
  646. <tr>
  647. <th class="xw1" width="120"><a href="forum.php?mod=misc&amp;action=viewratings&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?>" onclick="showWindow('viewratings', this.href)" title="查看全部评分"> 参与人数 <span class="xi1"><?php echo count($postlist[$post['pid']]['totalrate']);; ?></span></a></th><?php if(is_array($post['ratelogextcredits'])) foreach($post['ratelogextcredits'] as $id => $score) { if($score > 0) { ?>
  648. <th class="xw1" width="80"><?php echo $_G['setting']['extcredits'][$id]['title'];?> <i><span class="xi1">+<?php echo $score;?></span></i></th>
  649. <?php } else { ?>
  650. <th class="xw1" width="80"><?php echo $_G['setting']['extcredits'][$id]['title'];?> <i><span class="xi1"><?php echo $score;?></span></i></th>
  651. <?php } } ?>
  652. <th>
  653. <a href="javascript:;" onclick="toggleRatelogCollapse('ratelog_<?php echo $post['pid'];?>', this);" class="y xi2 op"><?php if(!empty($_G['cookie']['ratecollapse'])) { ?>展开<?php } else { ?>收起<?php } ?></a>
  654. <i class="txt_h">理由</i>
  655. </th>
  656. </tr>
  657. <tbody class="ratl_l"><?php if(is_array($post['ratelog'])) foreach($post['ratelog'] as $uid => $ratelog) { ?><tr id="rate_<?php echo $post['pid'];?>_<?php echo $uid;?>">
  658. <td>
  659. <a href="home.php?mod=space&amp;uid=<?php echo $uid;?>" target="_blank"><?php echo avatar($uid, 'small');; ?></a> <a href="home.php?mod=space&amp;uid=<?php echo $uid;?>" target="_blank"><?php echo $ratelog['username'];?></a>
  660. </td><?php if(is_array($post['ratelogextcredits'])) foreach($post['ratelogextcredits'] as $id => $score) { if($ratelog['score'][$id] > 0) { ?>
  661. <td class="xi1"> + <?php echo $ratelog['score'][$id];?></td>
  662. <?php } else { ?>
  663. <td class="xg1"><?php echo $ratelog['score'][$id];?></td>
  664. <?php } } ?>
  665. <td class="xg1"><?php echo $ratelog['reason'];?></td>
  666. </tr>
  667. <?php } ?>
  668. </tbody>
  669. </table>
  670. <p class="ratc">
  671. <a href="forum.php?mod=misc&amp;action=viewratings&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?>" onclick="showWindow('viewratings', this.href)" title="查看全部评分" class="xi2">查看全部评分</a>
  672. </p>
  673. <?php } else { ?>
  674. <ul class="cl"><?php if(is_array($post['ratelog'])) foreach($post['ratelog'] as $uid => $ratelog) { ?><li>
  675. <p id="rate_<?php echo $post['pid'];?>_<?php echo $uid;?>" onmouseover="showTip(this)" tip="<strong><?php echo $ratelog['reason'];?></strong>&nbsp;<?php if(is_array($ratelog['score'])) foreach($ratelog['score'] as $id => $score) { if($score > 0) { ?>
  676. <em class='xi1'><?php echo $_G['setting']['extcredits'][$id]['title'];?> + <?php echo $score;?> <?php echo $_G['setting']['extcredits'][$id]['unit'];?></em>
  677. <?php } else { ?>
  678. <span><?php echo $_G['setting']['extcredits'][$id]['title'];?> <?php echo $score;?> <?php echo $_G['setting']['extcredits'][$id]['unit'];?></span>
  679. <?php } } ?>" class="mtn mbn"><a href="home.php?mod=space&amp;uid=<?php echo $uid;?>" target="_blank" class="avt"><?php echo avatar($uid, 'small');; ?></a></p>
  680. <p><a href="home.php?mod=space&amp;uid=<?php echo $uid;?>" target="_blank"><?php echo $ratelog['username'];?></a></p>
  681. </li>
  682. <?php } ?>
  683. </ul>
  684. <?php } ?>
  685. </dd>
  686. </dl>
  687. <?php } else { ?>
  688. <div id="post_rate_div_<?php echo $post['pid'];?>"></div>
  689. <?php } } ?>
  690. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_postbottom'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_postbottom'][$postcount];?>
  691. </div>
  692. </div>
  693. <?php if(helper_access::check_module('collection') && !$_G['forum']['disablecollect']) { if($post['relatecollection']) { ?>
  694. <div class="cm">
  695. <h3 class="psth xs1"><span class="icon_ring vm"></span>本帖被以下淘专辑推荐:</h3>
  696. <ul class="mbw xl xl2 cl"><?php if(is_array($post['relatecollection'])) foreach($post['relatecollection'] as $var) { ?><li>&middot; <a href="forum.php?mod=collection&amp;action=view&amp;ctid=<?php echo $var['ctid'];?>" title="<?php echo $var['name'];?>" target="_blank" class="xi2 xw1"><?php echo $var['name'];?></a><span class="pipe">|</span><span class="xg1">主题: <?php echo $var['threadnum'];?>, 订阅: <?php echo $var['follownum'];?></span></li>
  697. <?php } if($post['releatcollectionmore']) { ?>
  698. <li>&middot; <a href="forum.php?mod=collection&amp;tid=<?php echo $_G['tid'];?>" target="_blank" class="xi2 xw1">更多</a></li>
  699. <?php } ?>
  700. </ul>
  701. </div>
  702. <?php if($post['sourcecollection']['ctid']) { ?>
  703. <div>
  704. 您是从淘专辑 <a href="forum.php?mod=collection&amp;action=view&amp;ctid=<?php echo $post['sourcecollection']['ctid'];?>" target="_blank" class="xi2"><?php echo $post['sourcecollection']['name'];?></a> 访问到本帖的,欢迎对专辑打分:
  705. <form action="forum.php?mod=collection&amp;action=comment&amp;ctid=<?php echo $ctid;?>&amp;tid=<?php echo $_G['tid'];?>" method="POST" class="ptm pbm cl">
  706. <input type="hidden" name="ratescore" id="ratescore" />
  707. <span class="clct_ratestar">
  708. <span class="btn">
  709. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',1)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',1,'ratescore')">1</a>
  710. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',2)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',2,'ratescore')">2</a>
  711. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',3)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',3,'ratescore')">3</a>
  712. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',4)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',4,'ratescore')">4</a>
  713. <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',5)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',5,'ratescore')">5</a>
  714. </span>
  715. <span id="clct_ratestar_star" class="star star<?php echo $memberrate;?>"></span>
  716. </span>
  717. &nbsp;<button type="submit" value="submit" class="pn"><span>评分</span></button>
  718. </form>
  719. </div>
  720. <?php } } } ?>
  721. </td></tr>
  722. <tr><td class="plc plm">
  723. <?php if($locations[$post['pid']]) { ?>
  724. <div class="mobile-location"><?php echo $locations[$post['pid']]['location'];?></div>
  725. <?php } if(!IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']) { if($post['invisible'] == 0) { ?>
  726. <div id="p_btn" class="mtw mbm hm cl">
  727. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_share_method'])) { ?>
  728. <div class="tshare cl">
  729. <b>分享到:&nbsp;</b>
  730. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_share_method'])) echo $_G['setting']['pluginhooks']['viewthread_share_method'];?>
  731. </div>
  732. <?php } ?>
  733. <a href="home.php?mod=spacecp&amp;ac=favorite&amp;type=thread&amp;id=<?php echo $_G['tid'];?>&amp;formhash=<?php echo FORMHASH;?>" id="k_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('favoritenumber').innerHTML + ' 人收藏'" title="收藏本帖"><i><img src="<?php echo IMGDIR;?>/fav.gif" alt="收藏" />收藏<span id="favoritenumber"<?php if(!$_G['forum_thread']['favtimes']) { ?> style="display:none"<?php } ?>><?php echo $_G['forum_thread']['favtimes'];?></span></i></a>
  734. <?php if($_G['group']['raterange'] && $post['authorid']) { ?>
  735. <a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=<?php echo $_G['tid'];?>&pid=<?php echo $post['pid'];?>', 'get', -1);return false;" title="评分表立场"><i><img src="<?php echo IMGDIR;?>/agree.gif" alt="评分" />评分</i></a>
  736. <?php } if(!$post['anonymous'] && $post['first'] && helper_access::check_module('follow')) { ?>
  737. <a class="followp" href="home.php?mod=spacecp&amp;ac=follow&amp;op=relay&amp;tid=<?php echo $_G['tid'];?>&amp;from=forum" onclick="showWindow('relaythread', this.href, 'get', 0);" title="转播求扩散"><i><img src="<?php echo IMGDIR;?>/rt.png" alt="转播" />转播<?php if($_G['forum_thread']['relay']) { ?><span id="relaynumber" style="display:none"><?php echo $_G['forum_thread']['relay'];?></span><?php } ?></i></a>
  738. <?php } if($post['first'] && helper_access::check_module('share')) { ?>
  739. <a class="sharep" href="home.php?mod=spacecp&amp;ac=share&amp;type=thread&amp;id=<?php echo $_G['tid'];?>" onclick="showWindow('sharethread', this.href, 'get', 0);" title="分享推精华"><i><img src="<?php echo IMGDIR;?>/oshr.png" alt="分享" />分享<?php if($_G['forum_thread']['sharetimes']) { ?><span id="sharenumber"><?php echo $_G['forum_thread']['sharetimes'];?></span><?php } ?></i></a>
  740. <?php } if(!$_G['forum']['disablecollect'] && helper_access::check_module('collection')) { ?>
  741. <a href="forum.php?mod=collection&amp;action=edit&amp;op=addthread&amp;tid=<?php echo $_G['tid'];?>" id="k_collect" onclick="showWindow(this.id, this.href);return false;" onmouseover="this.title = $('collectionnumber').innerHTML + ' 人淘帖'" title="淘好帖进专辑"><i><img src="<?php echo IMGDIR;?>/collection.png" alt="分享" />淘帖<span id="collectionnumber"<?php if(!$post['releatcollectionnum']) { ?> style="display:none"<?php } ?>><?php echo $post['releatcollectionnum'];?></span></i></a>
  742. <?php } if(($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']) { if(!empty($_G['setting']['recommendthread']['addtext'])) { ?>
  743. <a id="recommend_add" href="forum.php?mod=misc&amp;action=recommend&amp;do=add&amp;tid=<?php echo $_G['tid'];?>&amp;hash=<?php echo FORMHASH;?>" <?php if($_G['uid']) { ?>onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(<?php echo $_G['group']['allowrecommend'];?>)');return false;"<?php } else { ?> onclick="showWindow('login', this.href)"<?php } ?> onmouseover="this.title = $('recommendv_add').innerHTML + ' 人<?php echo $_G['setting']['recommendthread']['addtext'];?>'" title="顶一下"><i><img src="<?php echo IMGDIR;?>/rec_add.gif" alt="<?php echo $_G['setting']['recommendthread']['addtext'];?>" /><?php echo $_G['setting']['recommendthread']['addtext'];?><span id="recommendv_add"<?php if(!$_G['forum_thread']['recommend_add']) { ?> style="display:none"<?php } ?>><?php echo $_G['forum_thread']['recommend_add'];?></span></i></a>
  744. <?php } if(!empty($_G['setting']['recommendthread']['subtracttext'])) { ?>
  745. <a id="recommend_subtract" href="forum.php?mod=misc&amp;action=recommend&amp;do=subtract&amp;tid=<?php echo $_G['tid'];?>&amp;hash=<?php echo FORMHASH;?>" <?php if($_G['uid']) { ?>onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(-<?php echo $_G['group']['allowrecommend'];?>)');return false;"<?php } else { ?> onclick="showWindow('login', this.href)"<?php } ?> onmouseover="this.title = $('recommendv_subtract').innerHTML + ' 人<?php echo $_G['setting']['recommendthread']['subtracttext'];?>'" title="踩一下"><i><img src="<?php echo IMGDIR;?>/rec_subtract.gif" alt="<?php echo $_G['setting']['recommendthread']['subtracttext'];?>" /><?php echo $_G['setting']['recommendthread']['subtracttext'];?><span id="recommendv_subtract"<?php if(!$_G['forum_thread']['recommend_sub']) { ?> style="display:none"<?php } ?>><?php echo $_G['forum_thread']['recommend_sub'];?></span></i></a>
  746. <?php } } ?>
  747. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_useraction'])) echo $_G['setting']['pluginhooks']['viewthread_useraction'];?>
  748. </div>
  749. <?php } } if($post['relateitem']) { ?>
  750. <div class="mtw mbw wk_mbw">
  751. <h3 class="pbm mbm bbda">相关帖子</h3>
  752. <ul class="xl xl2 cl"><?php if(is_array($post['relateitem'])) foreach($post['relateitem'] as $var) { ?><li>&#8226; <a href="forum.php?mod=viewthread&amp;tid=<?php echo $var['tid'];?>" title="<?php echo $var['subject'];?>" target="_blank"><?php echo $var['subject'];?></a></li>
  753. <?php } ?>
  754. </ul>
  755. </div>
  756. <?php } if($post['signature'] && ($_G['setting']['bannedmessages'] & 4 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))) { ?>
  757. <div class="sign">签名被屏蔽</div>
  758. <?php } elseif($post['signature'] && !$post['anonymous'] && $showsignatures) { ?>
  759. <div class="sign" style="max-height:<?php echo $_G['setting']['maxsigrows'];?>px;maxHeightIE:<?php echo $_G['setting']['maxsigrows'];?>px;"><?php echo $post['signature'];?></div>
  760. <?php } elseif(!$post['anonymous'] && $showsignatures && $_G['setting']['globalsightml']) { ?>
  761. <div class="sign"><?php echo $_G['setting']['globalsightml'];?></div>
  762. <?php } ?>
  763. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_postsightmlafter'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_postsightmlafter'][$postcount];?><?php echo adshow("thread/a_pb/1/$postcount");?></td>
  764. </tr>
  765. <tr id="_postposition<?php echo $post['pid'];?>"></tr>
  766. <?php if(!$_G['forum_thread']['archiveid']) { ?>
  767. <tr>
  768. <?php if(!$close_leftinfo) { ?>
  769. <td class="pls"></td>
  770. <?php } ?>
  771. <td class="plc" style="overflow:visible;<?php if($close_leftinfo) { ?>--> width:100%<?php } ?>">
  772. <div class="po hin">
  773. <?php if(!$post['first'] && $modmenu['post']) { ?>
  774. <span class="y">
  775. <label for="manage<?php echo $post['pid'];?>">
  776. <input type="checkbox" id="manage<?php echo $post['pid'];?>" class="pc" <?php if(!empty($modclick)) { ?>checked="checked" <?php } ?>onclick="pidchecked(this);modclick(this, <?php echo $post['pid'];?>)" value="<?php echo $post['pid'];?>" autocomplete="off" />
  777. 管理
  778. </label>
  779. </span>
  780. <?php } ?>
  781. <div class="pob cl">
  782. <em>
  783. <?php if($post['invisible'] == 0) { if($allowpostreply && $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])) { ?><a class="cmmnt" href="forum.php?mod=misc&amp;action=comment&amp;tid=<?php echo $post['tid'];?>&amp;pid=<?php echo $post['pid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;page=<?php echo $page;?><?php if($_G['forum_thread']['special'] == 127) { ?>&amp;special=<?php echo $specialextra;?><?php } ?>" onclick="showWindow('comment', this.href, 'get', 0)">点评</a><?php } if((!$_G['uid'] || $allowpostreply) && !$needhiddenreply) { if($post['first']) { ?>
  784. <a class="fastre" href="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;reppost=<?php echo $post['pid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;page=<?php echo $page;?>" onclick="showWindow('reply', this.href)">回复</a>
  785. <?php } else { ?>
  786. <a class="fastre" href="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;repquote=<?php echo $post['pid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;page=<?php echo $page;?>" onclick="showWindow('reply', this.href)">回复</a>
  787. <?php } } } if((($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))) { ?>
  788. <a class="editp" href="forum.php?mod=post&amp;action=edit&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?><?php if(!empty($_GET['modthreadkey'])) { ?>&amp;modthreadkey=<?php echo $_GET['modthreadkey'];?><?php } ?>&amp;page=<?php echo $page;?>"><?php if($_G['forum_thread']['special'] == 2 && !$post['message']) { ?>添加柜台介绍<?php } else { ?>编辑</a><?php } } elseif($_G['uid'] && $post['authorid'] == $_G['uid'] && $_G['setting']['postappend']) { ?>
  789. <a class="appendp" href="forum.php?mod=misc&amp;action=postappend&amp;tid=<?php echo $post['tid'];?>&amp;pid=<?php echo $post['pid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;page=<?php echo $page;?>" onClick="showWindow('postappend', this.href, 'get', 0)">补充</a>
  790. <?php } if($post['first'] && $post['invisible'] == -3) { ?>
  791. <!--<a class="psave" href="forum.php?mod=misc&amp;action=pubsave&amp;tid=<?php echo $_G['tid'];?>">发表</a>-->
  792. <?php } if($post['invisible'] == -2 && !$post['first']) { ?>
  793. <span class="xg1">(待审核)</span>
  794. <?php } if($post['first'] && $allowblockrecommend) { ?><a class="push" href="javascript:;" onclick="modaction('recommend', '<?php echo $_G['forum_firstpid'];?>', 'op=recommend&idtype=<?php if($_G['forum_thread']['isgroup']) { ?>gtid<?php } else { ?>tid<?php } ?>&id=<?php echo $_G['tid'];?>&pid=<?php echo $post['pid'];?>', 'portal.php?mod=portalcp&ac=portalblock')">推送</a><?php } if(!$_G['forum_thread']['special'] && !$rushreply && !$hiddenreplies && $_G['setting']['repliesrank'] && !$post['first'] && !($post['isWater'] && $_G['setting']['filterednovote'])) { ?>
  795. <a class="replyadd" href="forum.php?mod=misc&amp;action=postreview&amp;do=support&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?>&amp;hash=<?php echo FORMHASH;?>" <?php if($_G['uid']) { ?>onclick="ajaxmenu(this, 3000, 1, 0, '43', '');return false;"<?php } else { ?> onclick="showWindow('login', this.href)"<?php } ?> onmouseover="this.title = ($('review_support_<?php echo $post['pid'];?>').innerHTML ? $('review_support_<?php echo $post['pid'];?>').innerHTML : 0) + ' 人 支持'">支持 <span id="review_support_<?php echo $post['pid'];?>"><?php echo $post['postreview']['support'];?></span></a>
  796. <a class="replysubtract" href="forum.php?mod=misc&amp;action=postreview&amp;do=against&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?>&amp;hash=<?php echo FORMHASH;?>" <?php if($_G['uid']) { ?>onclick="ajaxmenu(this, 3000, 1, 0, '43', '');return false;"<?php } else { ?> onclick="showWindow('login', this.href)"<?php } ?> onmouseover="this.title = ($('review_against_<?php echo $post['pid'];?>').innerHTML ? $('review_against_<?php echo $post['pid'];?>').innerHTML : 0) + ' 人 反对'">反对 <span id="review_against_<?php echo $post['pid'];?>"><?php echo $post['postreview']['against'];?></span></a>
  797. <?php } ?>
  798. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_postfooter'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_postfooter'][$postcount];?>
  799. </em>
  800. <p>
  801. <?php if($post['invisible'] == 0) { if($_G['setting']['magicstatus']) { ?>
  802. <a href="javascript:;" id="mgc_post_<?php echo $post['pid'];?>" onmouseover="showMenu(this.id)" class="showmenu">使用道具</a>
  803. <?php } if($_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G['timestamp'] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0) { ?>
  804. <a href="javascript:;" onclick="setanswer(<?php echo $post['pid'];?>, '<?php echo $_GET['from'];?>')">最佳答案</a>
  805. <?php } if(!$post['first'] && $_G['group']['raterange'] && $post['authorid']) { ?>
  806. <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=<?php echo $_G['tid'];?>&pid=<?php echo $post['pid'];?>', 'get', -1);return false;">评分</a>
  807. <?php } if(!empty($postlist[$post['pid']]['totalrate']) && $_G['forum']['ismoderator']) { ?>
  808. <a href="forum.php?mod=misc&amp;action=removerate&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $post['pid'];?>&amp;page=<?php echo $page;?>" onclick="showWindow('rate', this.href, 'get', -1)">撤销评分</a>
  809. <?php } if($post['authorid'] != $_G['uid']) { ?>
  810. <a href="javascript:;" onclick="showWindow('miscreport<?php echo $post['pid'];?>', 'misc.php?mod=report&rtype=post&rid=<?php echo $post['pid'];?>&tid=<?php echo $_G['tid'];?>&fid=<?php echo $_G['fid'];?>', 'get', -1);return false;">举报</a>
  811. <?php } } ?>
  812. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_postaction'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_postaction'][$postcount];?>
  813. </p>
  814. <?php if($_G['setting']['magicstatus']) { ?>
  815. <ul id="mgc_post_<?php echo $post['pid'];?>_menu" class="p_pop mgcmn" style="display: none;">
  816. <?php if($post['first']) { if(!empty($_G['setting']['magics']['bump'])) { ?>
  817. <li><a href="home.php?mod=magic&amp;mid=bump&amp;idtype=tid&amp;id=<?php echo $_G['tid'];?>" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/bump.small.gif" /><?php echo $_G['setting']['magics']['bump'];?></a></li>
  818. <?php } if(!empty($_G['setting']['magics']['stick'])) { ?>
  819. <li><a href="home.php?mod=magic&amp;mid=stick&amp;idtype=tid&amp;id=<?php echo $_G['tid'];?>" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/stick.small.gif" /><?php echo $_G['setting']['magics']['stick'];?></a></li>
  820. <?php } if(!empty($_G['setting']['magics']['close'])) { ?>
  821. <li><a href="home.php?mod=magic&amp;mid=close&amp;idtype=tid&amp;id=<?php echo $_G['tid'];?>" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/close.small.gif" /><?php echo $_G['setting']['magics']['close'];?></a></li>
  822. <?php } if(!empty($_G['setting']['magics']['open'])) { ?>
  823. <li><a href="home.php?mod=magic&amp;mid=open&amp;idtype=tid&amp;id=<?php echo $_G['tid'];?>" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/open.small.gif" /><?php echo $_G['setting']['magics']['open'];?></a></li>
  824. <?php } if(!empty($_G['setting']['magics']['highlight'])) { ?>
  825. <li><a href="home.php?mod=magic&amp;mid=highlight&amp;idtype=tid&amp;id=<?php echo $_G['tid'];?>" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/highlight.small.gif" /><?php echo $_G['setting']['magics']['highlight'];?></a></li>
  826. <?php } if(!empty($_G['setting']['magics']['sofa'])) { ?>
  827. <li><a href="home.php?mod=magic&amp;mid=sofa&amp;idtype=tid&amp;id=<?php echo $_G['tid'];?>" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/sofa.small.gif" /><?php echo $_G['setting']['magics']['sofa'];?></a></li>
  828. <?php } if(!empty($_G['setting']['magics']['jack'])) { ?>
  829. <li><a href="home.php?mod=magic&amp;mid=jack&amp;idtype=tid&amp;id=<?php echo $_G['tid'];?>" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/jack.small.gif" /><?php echo $_G['setting']['magics']['jack'];?></a></li>
  830. <?php } ?>
  831. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_magic_thread'])) echo $_G['setting']['pluginhooks']['viewthread_magic_thread'];?>
  832. <?php } if(!empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply) { ?>
  833. <li><a href="home.php?mod=magic&amp;mid=repent&amp;idtype=pid&amp;id=<?php echo $post['pid'];?>:<?php echo $_G['tid'];?>" id="a_repent_<?php echo $post['pid'];?>" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/repent.small.gif" /><?php echo $_G['setting']['magics']['repent'];?></a></li>
  834. <?php } if(!empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']) { ?>
  835. <li><a href="home.php?mod=magic&amp;mid=anonymouspost&amp;idtype=pid&amp;id=<?php echo $post['pid'];?>:<?php echo $_G['tid'];?>" id="a_anonymouspost_<?php echo $post['pid'];?>" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/anonymouspost.small.gif" /><?php echo $_G['setting']['magics']['anonymouspost'];?></a><li>
  836. <?php } if(!empty($_G['setting']['magics']['namepost'])) { ?>
  837. <li><a href="home.php?mod=magic&amp;mid=namepost&amp;idtype=pid&amp;id=<?php echo $post['pid'];?>:<?php echo $_G['tid'];?>" id="a_namepost_<?php echo $post['pid'];?>" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>image/magic/namepost.small.gif" /><?php echo $_G['setting']['magics']['namepost'];?></a><li>
  838. <?php } ?>
  839. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_magic_post'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_magic_post'][$postcount];?>
  840. </ul>
  841. <script type="text/javascript" reload="1">checkmgcmn('post_<?php echo $post['pid'];?>')</script>
  842. <?php } ?>
  843. </div>
  844. </div>
  845. </td>
  846. </tr>
  847. <?php } ?>
  848. <tr class="ad">
  849. <td class="pls">
  850. <?php if(!$close_leftinfo) { ?>
  851. </td>
  852. <td class="plc">
  853. <?php } if($post['first'] && $_G['forum_thread']['special'] == 5 && $_G['forum_thread']['displayorder'] >= 0) { ?>
  854. <ul class="ttp cl">
  855. <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">按立场筛选: </strong></li>
  856. <li<?php if(!isset($_GET['stand'])) { ?> class="xw1 a"<?php } ?>><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>" hidefocus="true">全部</a></li>
  857. <li<?php if($_GET['stand'] == 1) { ?> class="xw1 a"<?php } ?>><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;stand=1" hidefocus="true">正方</a></li>
  858. <li<?php if($_GET['stand'] == 2) { ?> class="xw1 a"<?php } ?>><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;stand=2" hidefocus="true">反方</a></li>
  859. <li<?php if(isset($_GET['stand']) && $_GET['stand'] == 0) { ?> class="xw1 a"<?php } ?>><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;stand=0" hidefocus="true">中立</a></li>
  860. </ul>
  861. <?php } if($_G['forum_thread']['replies']) { ?><?php echo adshow("interthread/a_p/$postcount");?><?php } ?>
  862. </td>
  863. </tr>
  864. </table>
  865. <?php if(!empty($aimgs[$post['pid']])) { ?>
  866. <script type="text/javascript" reload="1">
  867. aimgcount[<?php echo $post['pid'];?>] = [<?php echo dimplode($aimgs[$post['pid']]);; ?>];
  868. attachimggroup(<?php echo $post['pid'];?>);
  869. <?php if(empty($_G['setting']['lazyload'])) { if(!$post['imagelistthumb']) { ?>
  870. attachimgshow(<?php echo $post['pid'];?>);
  871. <?php } else { ?>
  872. attachimgshow(<?php echo $post['pid'];?>, 1);
  873. <?php } } ?>
  874. var aimgfid = 0;
  875. <?php if($_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])) { ?>
  876. aimgfid = <?php echo $_G['fid'];?>;
  877. <?php } if($post['imagelistthumb']) { ?>
  878. attachimglstshow(<?php echo $post['pid'];?>, <?php echo intval($_G['setting']['lazyload']); ?>, aimgfid, '<?php echo $_G['setting']['showexif'];?>');
  879. <?php } ?>
  880. </script>
  881. <?php } } else { ?>
  882. <table id="pid<?php echo $post['pid'];?>" summary="pid<?php echo $post['pid'];?>" cellspacing="0" cellpadding="0">
  883. <tbody>
  884. <tr>
  885. <?php if(!$close_leftinfo) { ?>
  886. <td class="pls"></td>
  887. <?php } ?>
  888. <td class="plc"<?php if($close_leftinfo) { ?> style="width:100%"<?php } ?>>
  889. <div class="pi">
  890. <strong><a><?php if(!empty($postno[$post['number']])) { ?><?php echo $postno[$post['number']];?><?php } else { ?><em><?php echo $post['number'];?></em><?php echo $postno['0'];?><?php } ?></a></strong>
  891. </div>
  892. <div class="pct">无效楼层,该帖已经被删除</div>
  893. </td>
  894. </tr>
  895. <tr class="ad">
  896. <?php if(!$close_leftinfo) { ?>
  897. <td class="pls"></td>
  898. <?php } ?>
  899. <td class="plc"></td>
  900. </tr>
  901. </tbody>
  902. </table>
  903. <?php } ?>
  904. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_endline'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_endline'][$postcount];?>
  905. </div><?php $postcount++;?><?php } ?>
  906. <div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div>
  907. <?php if($_G['blockedpids']) { ?>
  908. <div id='hiddenpoststip'><a href='javascript:display_blocked_post();'>还有一些帖子被系统自动隐藏,点此展开</a></div>
  909. <div id="hiddenposts"></div>
  910. <?php } ?>
  911. </div>
  912. <?php if($modmenu['thread']) { ?>
  913. <div class="xi2 mbm pbm bbs wk_bbsbj">
  914. <script type="text/javascript">
  915. $('modmenu').lastChild.style.visibility = 'hidden';
  916. document.write($('modmenu').innerHTML);
  917. </script>
  918. </div>
  919. <?php } ?>
  920. <form method="post" autocomplete="off" name="modactions" id="modactions">
  921. <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
  922. <input type="hidden" name="optgroup" />
  923. <input type="hidden" name="operation" />
  924. <input type="hidden" name="listextra" value="<?php echo $_GET['extra'];?>" />
  925. <input type="hidden" name="page" value="<?php echo $page;?>" />
  926. </form>
  927. <?php echo $_G['forum_tagscript'];?>
  928. <?php if($multipage && $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']) { $nxtpage = $page + 1;?><div class="pgbtn wk_pgbtn"><a href="forum.php?mod=viewthread&amp;tid=<?php echo $_G['tid'];?><?php if($_GET['authorid']) { ?>&amp;authorid=<?php echo $_GET['authorid'];?><?php } ?>&amp;page=<?php echo $nxtpage;?>" hidefocus="true" class="bm_h">下一页 &raquo;</a></div>
  929. <?php } ?>
  930. <div class="pgs mtm mbm cl">
  931. <span class="pgb y"<?php if($_G['setting']['visitedforums']) { ?> id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"<?php } ?>><a href="<?php echo $upnavlink;?>">返回列表</a></span>
  932. <?php echo $multipage;?>
  933. </div>
  934. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_middle'])) echo $_G['setting']['pluginhooks']['viewthread_middle'];?>
  935. <!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
  936. <?php if($fastpost) { ?><script type="text/javascript">
  937. var postminchars = parseInt('<?php echo $_G['setting']['minpostsize'];?>');
  938. var postmaxchars = parseInt('<?php echo $_G['setting']['maxpostsize'];?>');
  939. var disablepostctrl = parseInt('<?php echo $_G['group']['disablepostctrl'];?>');
  940. </script>
  941. <div id="f_pst" class="pl<?php if(empty($_GET['from'])) { ?> bm bmw<?php } ?> wk_bmwft">
  942. <form method="post" autocomplete="off" id="fastpostform" action="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $_GET['extra'];?>&amp;replysubmit=yes<?php if($_GET['ordertype'] != 1) { ?>&amp;infloat=yes&amp;handlekey=fastpost<?php } if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>"<?php if($_GET['ordertype'] != 1) { ?> onSubmit="return fastpostvalidate(this)"<?php } ?>>
  943. <?php if(empty($_GET['from'])) { ?>
  944. <table cellspacing="0" cellpadding="0">
  945. <tr>
  946. <td class="pls">
  947. <?php if($_G['uid']) { ?><div class="avatar avtm"><?php echo avatar($_G['uid']); ?></div><?php } ?>
  948. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_fastpost_side'])) echo $_G['setting']['pluginhooks']['viewthread_fastpost_side'];?>
  949. </td>
  950. <td class="plc">
  951. <?php } ?>
  952. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_fastpost_content'])) echo $_G['setting']['pluginhooks']['viewthread_fastpost_content'];?>
  953. <span id="fastpostreturn"></span>
  954. <?php if($_G['forum_thread']['special'] == 5 && empty($firststand)) { ?>
  955. <div class="pbt cl">
  956. <div class="ftid sslt">
  957. <select id="stand" name="stand">
  958. <option value="">选择观点</option>
  959. <option value="0">中立</option>
  960. <option value="1">正方</option>
  961. <option value="2">反方</option>
  962. </select>
  963. </div>
  964. <script type="text/javascript">simulateSelect('stand');</script>
  965. </div>
  966. <?php } ?>
  967. <div class="cl">
  968. <?php if(empty($_GET['from']) && $_G['setting']['fastsmilies']) { ?><div id="fastsmiliesdiv" class="y"><div id="fastsmiliesdiv_data"><div id="fastsmilies"></div></div></div><?php } ?>
  969. <div<?php if(empty($_GET['from']) && $_G['setting']['fastsmilies']) { ?> class="hasfsl"<?php } ?> id="fastposteditor">
  970. <div class="tedt<?php if(!($_G['forum_thread']['special'] == 5 && empty($firststand))) { ?> mtn<?php } ?>">
  971. <div class="bar">
  972. <span class="y">
  973. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_fastpost_func_extra'])) echo $_G['setting']['pluginhooks']['viewthread_fastpost_func_extra'];?>
  974. <a href="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onclick="return switchAdvanceMode(this.href)">高级模式</a>
  975. </span><?php $seditor = array('fastpost', array('at', 'bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'), !$allowfastpost ? 1 : 0, $allowpostattach && $_GET['from'] != 'preview' && $allowfastpost ? '<span class="pipe z">|</span><span id="spanButtonPlaceholder">'.lang('template', 'upload').'</span>' : '');?><?php if(!empty($_G['setting']['pluginhooks']['viewthread_fastpost_ctrl_extra'])) echo $_G['setting']['pluginhooks']['viewthread_fastpost_ctrl_extra'];?><script src="<?php echo $_G['setting']['jspath'];?>seditor.js?<?php echo VERHASH;?>" type="text/javascript"></script>
  976. <div class="fpd">
  977. <?php if(in_array('bold', $seditor['1'])) { ?>
  978. <a href="javascript:;" title="文字加粗" class="fbld"<?php if(empty($seditor['2'])) { ?> onclick="seditor_insertunit('<?php echo $seditor['0'];?>', '[b]', '[/b]');doane(event);"<?php } ?>>B</a>
  979. <?php } if(in_array('color', $seditor['1'])) { ?>
  980. <a href="javascript:;" title="设置文字颜色" class="fclr" id="<?php echo $seditor['0'];?>forecolor"<?php if(empty($seditor['2'])) { ?> onclick="showColorBox(this.id, 2, '<?php echo $seditor['0'];?>');doane(event);"<?php } ?>>Color</a>
  981. <?php } if(in_array('img', $seditor['1'])) { ?>
  982. <a id="<?php echo $seditor['0'];?>img" href="javascript:;" title="图片" class="fmg"<?php if(empty($seditor['2'])) { ?> onclick="seditor_menu('<?php echo $seditor['0'];?>', 'img');doane(event);"<?php } ?>>Image</a>
  983. <?php } if(in_array('link', $seditor['1'])) { ?>
  984. <a id="<?php echo $seditor['0'];?>url" href="javascript:;" title="添加链接" class="flnk"<?php if(empty($seditor['2'])) { ?> onclick="seditor_menu('<?php echo $seditor['0'];?>', 'url');doane(event);"<?php } ?>>Link</a>
  985. <?php } if(in_array('quote', $seditor['1'])) { ?>
  986. <a id="<?php echo $seditor['0'];?>quote" href="javascript:;" title="引用" class="fqt"<?php if(empty($seditor['2'])) { ?> onclick="seditor_menu('<?php echo $seditor['0'];?>', 'quote');doane(event);"<?php } ?>>Quote</a>
  987. <?php } if(in_array('code', $seditor['1'])) { ?>
  988. <a id="<?php echo $seditor['0'];?>code" href="javascript:;" title="代码" class="fcd"<?php if(empty($seditor['2'])) { ?> onclick="seditor_menu('<?php echo $seditor['0'];?>', 'code');doane(event);"<?php } ?>>Code</a>
  989. <?php } if(in_array('smilies', $seditor['1'])) { ?>
  990. <a href="javascript:;" class="fsml" id="<?php echo $seditor['0'];?>sml"<?php if(empty($seditor['2'])) { ?> onclick="showMenu({'ctrlid':this.id,'evt':'click','layer':2});return false;"<?php } ?>>Smilies</a>
  991. <?php if(empty($seditor['2'])) { ?>
  992. <script type="text/javascript" reload="1">smilies_show('<?php echo $seditor['0'];?>smiliesdiv', <?php echo $_G['setting']['smcols'];?>, '<?php echo $seditor['0'];?>');</script>
  993. <?php } } if(in_array('at', $seditor['1']) && $_G['group']['allowat']) { ?>
  994. <script src="<?php echo $_G['setting']['jspath'];?>at.js?<?php echo VERHASH;?>" type="text/javascript"></script>
  995. <a id="<?php echo $seditor['0'];?>at" href="javascript:;" title="@朋友" class="fat"<?php if(empty($seditor['2'])) { ?> onclick="seditor_menu('<?php echo $seditor['0'];?>', 'at');doane(event);"<?php } ?>>@朋友</a>
  996. <?php } ?>
  997. <?php echo $seditor['3'];?>
  998. </div></div>
  999. <div class="area">
  1000. <?php if($allowfastpost) { ?>
  1001. <textarea rows="6" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, <?php if($_GET['ordertype'] != 1) { ?>'fastpostvalidate($(\'fastpostform\'))'<?php } else { ?>'$(\'fastpostform\').submit()'<?php } ?>);" tabindex="4" class="pt"<?php echo getreplybg($_G['forum']['replybg']);?>></textarea>
  1002. <?php } else { ?>
  1003. <div class="pt hm">
  1004. <?php if(!$_G['uid']) { if(!$_G['connectguest']) { ?>
  1005. 您需要登录后才可以回帖 <a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href)" class="xi2">登录</a> | <a href="member.php?mod=<?php echo $_G['setting']['regname'];?>" class="xi2"><?php echo $_G['setting']['reglinkname'];?></a>
  1006. <?php } else { ?>
  1007. 您需要 <a href="member.php?mod=connect" class="xi2">完善帐号信息</a> 或 <a href="member.php?mod=connect&amp;ac=bind" class="xi2">绑定已有帐号</a> 后才可以发帖
  1008. <?php } } else { ?>
  1009. 您现在无权发帖。<a href="javascript:;" onclick="$('fastpostform').submit()" class="xi2">点击查看原因</a>
  1010. <?php } ?>
  1011. <?php if(!empty($_G['setting']['pluginhooks']['global_login_text'])) echo $_G['setting']['pluginhooks']['global_login_text'];?>
  1012. </div>
  1013. <?php } ?>
  1014. </div>
  1015. </div>
  1016. </div>
  1017. </div>
  1018. <div id="seccheck_fastpost">
  1019. <?php if($allowpostreply && ($secqaacheck || $seccodecheck)) { ?><?php
  1020. $sectpl = <<<EOF
  1021. <sec> <span id="sec<hash>" onclick="showMenu(
  1022. EOF;
  1023. if(!empty($_G['gp_infloat'])) {
  1024. $sectpl .= <<<EOF
  1025. {'ctrlid':this.id,'win':'{$_GET['handlekey']}'}
  1026. EOF;
  1027. } else {
  1028. $sectpl .= <<<EOF
  1029. this.id
  1030. EOF;
  1031. }
  1032. $sectpl .= <<<EOF
  1033. )"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div>
  1034. EOF;
  1035. ?>
  1036. <div class="mtm"><?php $sechash = !isset($sechash) ? 'S'.($_G['inajax'] ? 'A' : '').$_G['sid'] : $sechash.random(3);
  1037. $sectpl = str_replace("'", "\'", $sectpl);?><?php if($secqaacheck) { ?>
  1038. <span id="secqaa_q<?php echo $sechash;?>"></span>
  1039. <script type="text/javascript" reload="1">updatesecqaa('q<?php echo $sechash;?>', '<?php echo $sectpl;?>', '<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>');</script>
  1040. <?php } if($seccodecheck) { ?>
  1041. <span id="seccode_c<?php echo $sechash;?>"></span>
  1042. <script type="text/javascript" reload="1">updateseccode('c<?php echo $sechash;?>', '<?php echo $sectpl;?>', '<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>');</script>
  1043. <?php } ?></div><?php } ?>
  1044. </div>
  1045. <?php if($allowpostattach && $_GET['from'] != 'preview') { ?>
  1046. <script type="text/javascript">
  1047. var editorid = '';
  1048. var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
  1049. </script>
  1050. <input type="hidden" name="posttime" id="posttime" value="<?php echo TIMESTAMP;?>" />
  1051. <div class="upfl<?php if(empty($_GET['from']) && $_G['setting']['fastsmilies']) { ?> hasfsl<?php } ?>">
  1052. <table cellpadding="0" cellspacing="0" border="0" id="attach_tblheader" style="display: none;">
  1053. <tr>
  1054. <td>点击附件文件名添加到帖子内容中</td>
  1055. <td class="atds">描述</td>
  1056. <?php if($_G['group']['allowsetattachperm']) { ?>
  1057. <td class="attv">
  1058. 阅读权限
  1059. <img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="阅读权限按由高到低排列,高于或等于选中组的用户才可以阅读" />
  1060. </td>
  1061. <?php } if($_G['group']['maxprice']) { ?><td class="attpr"><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['title'];?></td><?php } ?>
  1062. <td class="attc"></td>
  1063. </tr>
  1064. </table>
  1065. <div class="fieldset flash" id="attachlist"></div>
  1066. <?php if(empty($_G['setting']['pluginhooks']['viewthread_fastpost_upload_extend'])) { if(empty($_G['uploadjs'])) { ?>
  1067. <script src="<?php echo $_G['setting']['jspath'];?>upload.js?<?php echo VERHASH;?>" type="text/javascript"></script><?php $_G['uploadjs'] = 1;?><?php } ?><script type="text/javascript">
  1068. var upload = new SWFUpload({
  1069. upload_url: "<?php echo $_G['siteurl'];?>misc.php?mod=swfupload&action=swfupload&operation=upload&fid=<?php echo $_G['fid'];?>",
  1070. post_params: {"uid" : "<?php echo $_G['uid'];?>", "hash":"<?php echo $swfconfig['hash'];?>"},
  1071. file_size_limit : "<?php echo $swfconfig['max'];?>",
  1072. file_types : "<?php echo $swfconfig['attachexts']['ext'];?>",
  1073. file_types_description : "<?php echo $swfconfig['attachexts']['depict'];?>",
  1074. file_upload_limit : <?php echo $swfconfig['limit'];?>,
  1075. file_queue_limit : 0,
  1076. swfupload_preload_handler : preLoad,
  1077. swfupload_load_failed_handler : loadFailed,
  1078. file_dialog_start_handler : fileDialogStart,
  1079. file_queued_handler : fileQueued,
  1080. file_queue_error_handler : fileQueueError,
  1081. file_dialog_complete_handler : fileDialogComplete,
  1082. upload_start_handler : uploadStart,
  1083. upload_progress_handler : uploadProgress,
  1084. upload_error_handler : uploadError,
  1085. upload_success_handler : uploadSuccess,
  1086. upload_complete_handler : uploadComplete,
  1087. button_image_url : "<?php echo IMGDIR;?>/uploadbutton_small.png",
  1088. button_placeholder_id : "spanButtonPlaceholder",
  1089. button_width: 17,
  1090. button_height: 25,
  1091. button_cursor:SWFUpload.CURSOR.HAND,
  1092. button_window_mode: "transparent",
  1093. custom_settings : {
  1094. progressTarget : "attachlist",
  1095. uploadSource: 'forum',
  1096. uploadType: 'attach',
  1097. <?php if($swfconfig['maxsizeperday']) { ?>
  1098. maxSizePerDay: <?php echo $swfconfig['maxsizeperday'];?>,
  1099. <?php } if($swfconfig['maxattachnum']) { ?>
  1100. maxAttachNum: <?php echo $swfconfig['maxattachnum'];?>,
  1101. <?php } ?>
  1102. uploadFrom: 'fastpost'
  1103. },
  1104. debug: false
  1105. });
  1106. </script>
  1107. <?php } else { ?>
  1108. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_fastpost_upload_extend'])) echo $_G['setting']['pluginhooks']['viewthread_fastpost_upload_extend'];?>
  1109. <?php } ?>
  1110. </div>
  1111. <?php } ?>
  1112. <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
  1113. <input type="hidden" name="usesig" value="<?php echo $usesigcheck;?>" />
  1114. <input type="hidden" name="subject" value=" " />
  1115. <p class="ptm pnpost">
  1116. <a href="home.php?mod=spacecp&amp;ac=credit&amp;op=rule&amp;fid=<?php echo $_G['fid'];?>" class="y" target="_blank">本版积分规则</a>
  1117. <button <?php if($allowpostreply) { ?>type="submit" <?php } elseif(!$_G['uid']) { ?>type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" <?php } if(!$seccodecheck) { ?>onmouseover="checkpostrule('seccheck_fastpost', 'ac=reply');this.onmouseover=null" <?php } ?>name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit" tabindex="5"><strong>发表回复</strong></button>
  1118. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_fastpost_btn_extra'])) echo $_G['setting']['pluginhooks']['viewthread_fastpost_btn_extra'];?>
  1119. <?php if(helper_access::check_module('follow')) { ?>
  1120. <label class="lb"><input type="checkbox" name="adddynamic" class="pc" value="1" />回帖并转播</label>
  1121. <?php } if($_GET['ordertype'] != 1 && empty($_GET['from'])) { ?>
  1122. <label for="fastpostrefresh"><input id="fastpostrefresh" type="checkbox" class="pc" />回帖后跳转到最后一页</label>
  1123. <script type="text/javascript">if(getcookie('fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script>
  1124. <?php } ?>
  1125. </p>
  1126. <?php if(empty($_GET['from'])) { ?>
  1127. </td>
  1128. </tr>
  1129. </table>
  1130. <?php } ?>
  1131. </form>
  1132. </div><?php } ?>
  1133. <!--[diy=diy_ad_b]--><div id="diy_ad_b" class="area"></div><!--[/diy]-->
  1134. <?php if(!empty($_G['setting']['pluginhooks']['viewthread_bottom'])) echo $_G['setting']['pluginhooks']['viewthread_bottom'];?>
  1135. <?php if(($_G['setting']['visitedforums']) && $_G['forum']['status'] != 3) { ?>
  1136. <div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
  1137. <table cellspacing="0" cellpadding="0">
  1138. <tr>
  1139. <td id="v_forums">
  1140. <h3 class="mbn pbn bbda xg1">浏览过的版块</h3>
  1141. <ul class="xl xl1">
  1142. <?php echo $_G['setting']['visitedforums'];?>
  1143. </ul>
  1144. </td>
  1145. </tr>
  1146. </table>
  1147. </div>
  1148. <?php } if($_G['medal_list']) { if(is_array($_G['medal_list'])) foreach($_G['medal_list'] as $medalid => $medal) { ?><div id="md_<?php echo $medalid;?>_menu" class="tip tip_4" style="display: none;">
  1149. <div class="tip_horn"></div>
  1150. <div class="tip_c">
  1151. <h4><?php echo $medal['name'];?></h4>
  1152. <p><?php echo $medal['description'];?></p>
  1153. </div>
  1154. </div>
  1155. <?php } } if(!IS_ROBOT && !empty($_G['setting']['lazyload'])) { ?>
  1156. <script type="text/javascript">
  1157. new lazyload();
  1158. </script>
  1159. <?php } if(!IS_ROBOT && $_G['setting']['threadmaxpages'] > 1) { ?>
  1160. <script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <?php if($page > 1) { ?>1<?php } else { ?>0<?php } ?>, <?php if($page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']) { ?>1<?php } else { ?>0<?php } ?>, 'forum.php?mod=viewthread&tid=<?php echo $_G['tid'];?><?php if($_GET['authorid']) { ?>&authorid=<?php echo $_GET['authorid'];?><?php } ?>', <?php echo $page;?>);}</script>
  1161. <?php } ?>
  1162. </div>
  1163. <div class="wk_f_sd">
  1164. <div class="wk_kd260 padding15 backfff">
  1165. <a id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"<?php if(!$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']) { ?> onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=<?php echo $_G['fid'];?>')"<?php } else { ?> onclick="location.href='forum.php?mod=post&action=newthread&fid=<?php echo $_G['fid'];?>';return false;"<?php } ?> href="javascript:;" title="发新帖" class="wk_tzpost"><i class="icon wk_tzpost_icon1"></i><span><?php echo $forum_lang['27'];?></span></a>
  1166. <a id="post_reply" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=<?php echo $_G['fid'];?>&tid=<?php echo $_G['tid'];?>')" href="javascript:;" title="回复" class="wk_tzpost"><i class="icon wk_tzpost_icon2"></i><span><?php echo $forum_lang['28'];?></span></a>
  1167. <div class="clear"></div>
  1168. </div>
  1169. <div class="clear"></div>
  1170. <div class="backfff wk_bk_search">
  1171. <?php include template('common/forum_pubsearchform'); ?> <div class="clear"></div>
  1172. </div>
  1173. <div class="clear"></div>
  1174. <div class="wk_lbbkx backfff">
  1175. <div class="wk_rmbk">
  1176. <span class="wk_spat"><?php echo $forum_lang['11'];?></span>
  1177. <div class="clear"></div>
  1178. <!--[diy=wk_rmbk_diy]--><div id="wk_rmbk_diy" class="area"><div id="frameD3JKMO" class=" frame move-span cl frame-1"><div id="frameD3JKMO_left" class="column frame-1-c"><div id="frameD3JKMO_left_temp" class="move-span temp"></div><?php block_display('23');?></div></div></div><!--[/diy]-->
  1179. </div>
  1180. </div>
  1181. <div class="clear"></div>
  1182. <div class="backfff mb10"><!--[diy=wk_bkad_diy1]--><div id="wk_bkad_diy1" class="area"><div id="frameJHKW79" class=" frame move-span cl frame-1"><div id="frameJHKW79_left" class="column frame-1-c"><div id="frameJHKW79_left_temp" class="move-span temp"></div><?php block_display('24');?></div></div></div><!--[/diy]--></div>
  1183. <div class="clear"></div>
  1184. <div class="wk_kd260 padding15 backfff">
  1185. <div class="wk_bktjtz">
  1186. <span class="wk_spae"><?php echo $forum_lang['12'];?></span>
  1187. <div class="clear"></div>
  1188. <!--[diy=wk_tjtz_diy]--><div id="wk_tjtz_diy" class="area"><div id="framefLHHtH" class=" frame move-span cl frame-1"><div id="framefLHHtH_left" class="column frame-1-c"><div id="framefLHHtH_left_temp" class="move-span temp"></div><?php block_display('25');?></div></div></div><!--[/diy]-->
  1189. </div>
  1190. </div>
  1191. <div class="clear"></div>
  1192. <div class="wk_kd260 padding15 backfff">
  1193. <div class="wk_bktwrt">
  1194. <span class="wk_spaf"><?php echo $forum_lang['13'];?></span>
  1195. <div class="clear"></div>
  1196. <!--[diy=wk_twrt_diy]--><div id="wk_twrt_diy" class="area"><div id="frametesXuT" class=" frame move-span cl frame-1"><div id="frametesXuT_left" class="column frame-1-c"><div id="frametesXuT_left_temp" class="move-span temp"></div><?php block_display('27');?></div></div></div><!--[/diy]-->
  1197. </div>
  1198. </div>
  1199. <div class="clear"></div>
  1200. <div class="backfff mb10"><!--[diy=wk_bkad_diy2]--><div id="wk_bkad_diy2" class="area"><div id="framesA58eC" class=" frame move-span cl frame-1"><div id="framesA58eC_left" class="column frame-1-c"><div id="framesA58eC_left_temp" class="move-span temp"></div></div></div></div><!--[/diy]--></div>
  1201. <div class="clear"></div>
  1202. <div class="wk_kd260 padding15 backfff">
  1203. <div class="wk_opkf">
  1204. <span class="wk_spac"><?php echo $forum_lang['14'];?></span>
  1205. <div class="clear"></div>
  1206. <div class="wk_topyb cl">
  1207. <p class="wk_font1"><?php echo $forum_lang['15'];?></p>
  1208. <p class="wk_font2"><?php echo $forum_lang['16'];?></p>
  1209. </div>
  1210. <ul class="cl">
  1211. <li><a href="<?php echo $forum_lang['18'];?>" target="_blank" title="<?php echo $forum_lang['17'];?>"><i class="wk_ico1"></i><?php echo $forum_lang['17'];?></a></li>
  1212. <li class="last"><a target="_blank" href="<?php echo $forum_lang['20'];?>" title="<?php echo $forum_lang['19'];?>"><i class="wk_ico2"></i><?php echo $forum_lang['19'];?></a></li>
  1213. <li><a target="_blank" href="<?php echo $forum_lang['22'];?>" title="<?php echo $forum_lang['21'];?>"><i class="wk_ico3"></i><?php echo $forum_lang['21'];?></a></li>
  1214. <li class="last"><a target="_blank" href="<?php echo $forum_lang['24'];?>" title="<?php echo $forum_lang['23'];?>"><i class="wk_ico3"></i><?php echo $forum_lang['23'];?></a></li>
  1215. </ul>
  1216. </div>
  1217. </div>
  1218. <div class="clear"></div>
  1219. <div class="mb10"><!--[diy=wk_bkad_diy3]--><div id="wk_bkad_diy3" class="area"></div><!--[/diy]--></div>
  1220. <div class="clear"></div>
  1221. </div>
  1222. </div>
  1223. <div class="wp mtn">
  1224. <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
  1225. </div>
  1226. <?php if($_G['relatedlinks'] || $_GET['highlight']) { ?>
  1227. <script type="text/javascript">
  1228. var relatedlink = [];<?php if(is_array($_G['relatedlinks'])) foreach($_G['relatedlinks'] as $key => $link) { ?>relatedlink[<?php echo $key;?>] = {'sname':'<?php echo $link['name'];?>', 'surl':'<?php echo $link['url'];?>'};
  1229. <?php } $highlights = explode(' ', str_replace(array('\'', chr(125)), array('&#039;', '&#125;'), dhtmlspecialchars($_GET['highlight'])));?><?php if(is_array($highlights)) foreach($highlights as $word) { $key++;?>relatedlink[<?php echo $key;?>] = {'sname':'<?php echo $word;?>', 'surl':''};
  1230. <?php } ?>
  1231. relatedlinks('postmessage_<?php echo $_G['forum_firstpid'];?>');
  1232. </script>
  1233. <?php } if(!empty($_G['cookie']['clearUserdata']) && $_G['cookie']['clearUserdata'] == 'forum') { ?>
  1234. <script type="text/javascript">saveUserdata('forum_'+discuz_uid, '')</script>
  1235. <?php } ?>
  1236. <script type="text/javascript">
  1237. <?php if($_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])) { ?>
  1238. function showsetcover(obj) {
  1239. if(obj.parentNode.id == 'postmessage_<?php echo $_G['forum_firstpid'];?>') {
  1240. var defheight = <?php echo $_G['setting']['forumpicstyle']['thumbheight'];?>;
  1241. var defwidth = <?php echo $_G['setting']['forumpicstyle']['thumbwidth'];?>;
  1242. var newimgid = 'showcoverimg';
  1243. var imgsrc = obj.src ? obj.src : obj.file;
  1244. if(!imgsrc) return;
  1245. var tempimg=new Image();
  1246. tempimg.src=imgsrc;
  1247. if(tempimg.complete) {
  1248. if(tempimg.width < defwidth || tempimg.height < defheight) return;
  1249. } else {
  1250. return;
  1251. }
  1252. if($(newimgid) && obj.id != newimgid) {
  1253. $(newimgid).id = 'img'+Math.random();
  1254. }
  1255. if($(newimgid+'_menu')) {
  1256. var menudiv = $(newimgid+'_menu');
  1257. } else {
  1258. var menudiv = document.createElement('div');
  1259. menudiv.className = 'tip tip_4 aimg_tip';
  1260. menudiv.id = newimgid+'_menu';
  1261. menudiv.style.position = 'absolute';
  1262. menudiv.style.display = 'none';
  1263. obj.parentNode.appendChild(menudiv);
  1264. }
  1265. menudiv.innerHTML = '<div class="tip_c xs0"><a onclick="showWindow(\'setcover_'+newimgid+'\', this.href)" href="forum.php?mod=ajax&amp;action=setthreadcover&amp;tid=<?php echo $_G['tid'];?>&amp;pid=<?php echo $_G['forum_firstpid'];?>&amp;fid=<?php echo $_G['fid'];?>&amp;imgurl='+imgsrc+'">设为封面</a></div>';
  1266. obj.id = newimgid;
  1267. showMenu({'ctrlid':newimgid,'pos':'12'});
  1268. }
  1269. return;
  1270. }
  1271. <?php } ?>
  1272. function succeedhandle_followmod(url, msg, values) {
  1273. var fObj = $('followmod_'+values['fuid']);
  1274. if(values['type'] == 'add') {
  1275. fObj.innerHTML = '不收听';
  1276. fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
  1277. } else if(values['type'] == 'del') {
  1278. fObj.innerHTML = '收听TA';
  1279. fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash=<?php echo FORMHASH;?>&fuid='+values['fuid'];
  1280. }
  1281. }
  1282. <?php if($_G['blockedpids']) { ?>
  1283. var blockedPIDs = [<?php echo implode(',', $_G['blockedpids']); ?>];
  1284. <?php } if($postlist && empty($_G['setting']['disfixedavatar'])) { ?>
  1285. fixed_avatar([<?php echo implode(',', array_keys($postlist)); ?>], <?php if(empty($_G['setting']['disfixednv_viewthread']) ) { ?>1<?php } else { ?>0<?php } ?>);
  1286. <?php } elseif(empty($_G['setting']['disfixednv_viewthread'])) { ?>
  1287. fixed_top_nv();
  1288. <?php } ?>
  1289. </script><?php include template('common/footer'); ?>