t9026 7 anni fa
parent
commit
71b0d8f608
100 ha cambiato i file con 5579 aggiunte e 5377 eliminazioni
  1. BIN
      data/attachment/image/000/00/00/64_360_230.jpg
  2. 0 0
      data/attachment/image/000/00/00/index.html
  3. 0 0
      data/attachment/image/000/00/index.html
  4. 0 0
      data/attachment/image/000/index.html
  5. 1 1
      data/template/3_3_common_header.tpl.php
  6. 2 175
      data/template/3_3_common_header_connect_login.tpl.php
  7. 0 95
      data/template/3_3_common_header_diy.tpl.php
  8. 1 1
      data/template/3_3_common_header_forum_forumdisplay.tpl.php
  9. 1 1
      data/template/3_3_common_header_forum_guide.tpl.php
  10. 1 1
      data/template/3_3_common_header_forum_index.tpl.php
  11. 2 2
      data/template/3_3_common_header_forum_misc.tpl.php
  12. 2 2
      data/template/3_3_common_header_forum_post.tpl.php
  13. 154 0
      data/template/3_3_common_header_forum_redirect.tpl.php
  14. 1 1
      data/template/3_3_common_header_forum_viewthread.tpl.php
  15. 1 1
      data/template/3_3_common_header_group_forumdisplay.tpl.php
  16. 1 1
      data/template/3_3_common_header_group_group.tpl.php
  17. 1 1
      data/template/3_3_common_header_group_index.tpl.php
  18. 1 1
      data/template/3_3_common_header_group_my.tpl.php
  19. 1 1
      data/template/3_3_common_header_home_magic.tpl.php
  20. 1 1
      data/template/3_3_common_header_home_medal.tpl.php
  21. 1 1
      data/template/3_3_common_header_home_space.tpl.php
  22. 154 0
      data/template/3_3_common_header_home_spacecp.tpl.php
  23. 1 1
      data/template/3_3_common_header_home_task.tpl.php
  24. 1 1
      data/template/3_3_common_header_member_logging.tpl.php
  25. 1 1
      data/template/3_3_common_header_member_register.tpl.php
  26. 154 0
      data/template/3_3_common_header_misc_tag.tpl.php
  27. 1 1
      data/template/3_3_common_header_plugin_study_seo_sitemap.tpl.php
  28. 1 1
      data/template/3_3_common_header_plugin_wechat.tpl.php
  29. 154 0
      data/template/3_3_common_header_plugin_xj_event.tpl.php
  30. 1 1
      data/template/3_3_common_header_portal_index.tpl.php
  31. 1 1
      data/template/3_3_common_header_portal_list.tpl.php
  32. 1 1
      data/template/3_3_common_header_portal_view.tpl.php
  33. 9 0
      data/template/3_3_common_ipnotice.tpl.php
  34. 0 63
      data/template/3_3_common_preview.tpl.php
  35. 4 4
      data/template/3_3_forum_forumdisplay_fastpost.tpl.php
  36. 1 1
      data/template/3_3_forum_guide.tpl.php
  37. 1278 0
      data/template/3_3_forum_post.tpl.php
  38. 157 0
      data/template/3_3_forum_post_forumselect.tpl.php
  39. 136 0
      data/template/3_3_forum_post_poll.tpl.php
  40. 42 0
      data/template/3_3_forum_viewthread_mod.tpl.php
  41. 53 0
      data/template/3_3_forum_viewthread_printable.tpl.php
  42. 0 122
      data/template/3_3_home_space_card.tpl.php
  43. 3 3
      data/template/3_3_home_space_header.tpl.php
  44. 1 1
      data/template/3_3_home_space_menu.tpl.php
  45. 6 6
      data/template/3_3_home_space_profile.tpl.php
  46. 5 5
      data/template/3_3_home_space_wall.tpl.php
  47. 0 662
      data/template/3_3_home_spacecp_index.tpl.php
  48. 1 1
      data/template/3_3_member_login.tpl.php
  49. 0 869
      data/template/3_3_portal_portalcp_block.tpl.php
  50. 0 198
      data/template/3_3_portal_portalcp_diy.tpl.php
  51. 21 0
      data/template/3_3_tag_tag.tpl.php
  52. 157 0
      data/template/3_3_tag_tagitem.tpl.php
  53. 7 7
      data/template/3_diy_forum_forumdisplay.tpl.php
  54. 7 7
      data/template/3_diy_forum_forumdisplay_2.tpl.php
  55. 7 7
      data/template/3_diy_forum_viewthread.tpl.php
  56. 7 7
      data/template/3_diy_forum_viewthread_2.tpl.php
  57. 10 10
      data/template/3_diy_group_group.tpl.php
  58. 6 6
      data/template/3_diy_home_space_album_list.tpl.php
  59. 6 6
      data/template/3_diy_home_space_blog_list.tpl.php
  60. 6 6
      data/template/3_diy_home_space_doing.tpl.php
  61. 6 6
      data/template/3_diy_home_space_friend.tpl.php
  62. 5 5
      data/template/3_diy_home_space_home.tpl.php
  63. 6 6
      data/template/3_diy_home_space_share_list.tpl.php
  64. 0 541
      data/template/3_diy_home_space_thread.tpl.php
  65. 2 2
      data/template/3_diy_portal_view_19.tpl.php
  66. 2 2
      data/template/3_diy_portal_view_2.tpl.php
  67. 2 2
      data/template/3_diy_portal_view_20.tpl.php
  68. 2 2
      data/template/3_diy_portal_view_21.tpl.php
  69. 2 2
      data/template/3_diy_portal_view_22.tpl.php
  70. 2 2
      data/template/3_diy_portal_view_week_jiaohu_news_wide.tpl.php
  71. 161 0
      data/template/3_xj_event_center.tpl.php
  72. 35 0
      data/template/3_xj_event_center_top.tpl.php
  73. 22 0
      data/template/3_xj_event_city.tpl.php
  74. 444 0
      data/template/3_xj_event_event_join_modify.tpl.php
  75. 93 0
      data/template/3_xj_event_event_my.tpl.php
  76. 13 0
      data/template/3_xj_event_event_post.tpl.php
  77. 93 0
      data/template/3_xj_event_event_setting.tpl.php
  78. 15 0
      data/template/3_xj_event_event_userinfo.tpl.php
  79. 132 0
      data/template/3_xj_event_list.tpl.php
  80. 46 0
      data/template/3_xj_event_list_ajax.tpl.php
  81. 608 0
      data/template/3_xj_event_post_event.tpl.php
  82. 42 0
      data/template/3_xj_event_threadlist.tpl.php
  83. 53 0
      data/template/3_xj_event_userlist.tpl.php
  84. 1220 0
      data/template/3_xj_event_viewthread_event.tpl.php
  85. 0 130
      data/template/5_5_common_footer.tpl.php
  86. 0 13
      data/template/5_5_common_header_diynav.tpl.php
  87. 0 249
      data/template/5_5_common_header_group_index.tpl.php
  88. 0 51
      data/template/5_5_common_header_userstatus.tpl.php
  89. 0 50
      data/template/5_5_touch_common_showmessage.tpl.php
  90. 0 239
      data/template/5_5_touch_forum_discuzcode.tpl.php
  91. 0 64
      data/template/5_5_touch_home_space_profile.tpl.php
  92. 0 57
      data/template/5_5_touch_portal_list_about.tpl.php
  93. 0 887
      data/template/5_cloudsearch_module.tpl.php
  94. 0 109
      data/template/5_diy_group_index.tpl.php
  95. 0 129
      data/template/5_diy_touch_forum_discuz.tpl.php
  96. 0 51
      data/template/5_diy_touch_forum_forumdisplay.tpl.php
  97. 0 338
      data/template/5_diy_touch_forum_viewthread.tpl.php
  98. 0 70
      data/template/5_diy_touch_portal_list.tpl.php
  99. 0 85
      data/template/5_diy_touch_portal_view.tpl.php
  100. 1 0
      source/plugin/milu_seotool/data/cache/56/42/fd/5642fd158fca253e1af06cf10c24909f.cache.php

BIN
data/attachment/image/000/00/00/64_360_230.jpg


+ 0 - 0
data/attachment/image/000/00/00/index.html


+ 0 - 0
data/attachment/image/000/00/index.html


+ 0 - 0
data/attachment/image/000/index.html


+ 1 - 1
data/template/3_3_common_header.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523452044, '3', './data/template/3_3_common_header.tpl.php', './template/wfdsoft_jiaohu', 'common/header')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524604070, '3', './data/template/3_3_common_header.tpl.php', './template/wfdsoft_jiaohu', 'common/header')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 2 - 175
data/template/3_mobile_mobile.tpl.php → data/template/3_3_common_header_connect_login.tpl.php

xqd xqd
@@ -1,8 +1,6 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('mobile');
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./source/plugin/mobile/template/mobile.htm', './template/wfdsoft_jiaohu/common/header.htm', 1523429026, 'mobile', './data/template/3_mobile_mobile.tpl.php', './source/plugin/mobile/template', 'mobile')
-|| checktplrefresh('./source/plugin/mobile/template/mobile.htm', './template/wfdsoft_jiaohu/common/footer.htm', 1523429026, 'mobile', './data/template/3_mobile_mobile.tpl.php', './source/plugin/mobile/template', 'mobile')
-|| checktplrefresh('./source/plugin/mobile/template/mobile.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523429026, 'mobile', './data/template/3_mobile_mobile.tpl.php', './source/plugin/mobile/template', 'mobile')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524147175, '3', './data/template/3_3_common_header_connect_login.tpl.php', './template/wfdsoft_jiaohu', 'common/header_connect_login')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -154,174 +152,3 @@ FOM(".u-box").hide(), FOM(".log-dropdown").hide()
     <?php if($wk_nav) { ?><script src="<?php echo $_G['style']['styleimgdir'];?>/js/week_nav.js" type="text/javascript"></script><?php } ?> 
 
 <div id="wp" class="wp">
-<link rel="stylesheet" type="text/css" href="source/plugin/mobile/template/style.css" />
-<?php if($_G['adminid'] == 1) { ?>
-<script type="text/javascript">
-function hiddentips() {
-setcookie("mobiletips", "1");
-display('admintips');
-}
-</script>
-<?php } ?>
-<div id="ct" class="wp cl ptw pbw">
-<?php if($_G['cache']['mobileoem_data']['iframeUrl']) { ?>
-<iframe frameborder="0" width="100%" scrolling="no" height="810" src="<?php echo $_G['cache']['mobileoem_data']['iframeUrl'];?>"></iframe>
-<?php } else { if($_G['adminid'] == 1 && !$_G['cookie']['mobiletips']) { ?>
-  <div class="wrap">
-<div id="admintips" class="tips"><span class="y"><a href="javascript:hiddentips();" class="close">关闭</a></span>尊敬的站长,您可以在Discuz!程序根目录上传"mobile.png"图片(尺寸178x178),以确保论坛客户端能成功获得到论坛的logo</div>
-    <?php } ?>
-<div class="content">
-<ul class="platform">
-<li><a href="http://www.discuz.net/mobile.php?platform=ios"><img src="./source/plugin/mobile/template/image/iphone.jpg" alt="iphone-适用于苹果手机"/></a></li>
-<li><a href="http://www.discuz.net/mobile.php?platform=android"><img src="./source/plugin/mobile/template/image/android.jpg" alt="Android-适用于装有安卓系统的三星/HTC/小米等手机"/></a></li>
-<li><a href="http://www.discuz.net/mobile.php?platform=windowsphone"><img src="./source/plugin/mobile/template/image/wp7.jpg" alt="WinodwsPhone-适用于装有微软WindowsPhone7 系统的手机"/></a></li>
-</ul>
-<div class="inner cl">
-<div class="intro z">
-<h2><img src="./source/plugin/mobile/template/image/title_intro.jpg" alt="掌上论坛优势"></h2>
-<dl>
-<dt>随时随地,快速访问</dt>
-<dd>只要手机在手,您都可以快速、方便地看贴发帖,与论坛好友收发短消息。</dd>
-<dt>极致优化,畅快"悦"读</dt>
-<dd>独有的论坛界面和触屏设计,手机论坛也变得赏心悦目,操作自如。</dd>
-<dt>即拍即发,分享生活</dt>
-<dd>不管是风景图画,还是新闻现场,拍照发帖一气呵成,让您在论坛出尽风头。</dd>
-</dl>
-</div>
-<div class="code y">
-<dl>
-<dt class="shoot">下载客户端后,拍摄二维码快速访问本站:</dt>
-<dd class="code_img"><img src="data/cache/mobile_siteqrcode.png" alt="二维码"/></dd>
-<dt>或者通过以下地址访问:</dt>
-<dd class="url"><a href="<?php echo $_G['siteurl'];?>" target="_blank"><?php echo $_G['siteurl'];?></a></dd>
-</dl>
-</div>
-</div>
-</div>
-<?php } ?>
-</div>
-</div>	</div>
-<?php if(empty($topic) || ($topic['usefooter'])) { $focusid = getfocus_rand($_G[basescript]);?><?php if($focusid !== null) { $focus = $_G['cache']['focus']['data'][$focusid];?><?php $focusnum = count($_G['setting']['focus'][$_G[basescript]]);?><div class="focus" id="sitefocus">
-  <div class="bm">
-<div class="bm_h cl">
-<a href="javascript:;" onclick="setcookie('nofocus_<?php echo $_G['basescript'];?>', 1, <?php echo $_G['cache']['focus']['cookie'];?>*3600);$('sitefocus').style.display='none'" class="y" title="关闭">关闭</a>
-<h2>
-<?php if($_G['cache']['focus']['title']) { ?><?php echo $_G['cache']['focus']['title'];?><?php } else { ?>站长推荐<?php } ?>
-<span id="focus_ctrl" class="fctrl"><img src="<?php echo IMGDIR;?>/pic_nv_prev.gif" alt="上一条" title="上一条" id="focusprev" class="cur1" onclick="showfocus('prev');" /> <em><span id="focuscur"></span>/<?php echo $focusnum;?></em> <img src="<?php echo IMGDIR;?>/pic_nv_next.gif" alt="下一条" title="下一条" id="focusnext" class="cur1" onclick="showfocus('next')" /></span>
-</h2>
-</div>
-<div class="bm_c" id="focus_con">
-</div>
-</div>
-</div><?php $focusi = 0;?><?php if(is_array($_G['setting']['focus'][$_G['basescript']])) foreach($_G['setting']['focus'][$_G['basescript']] as $id) { ?><div class="bm_c" style="display: none" id="focus_<?php echo $focusi;?>">
-<dl class="xld cl bbda">
-<dt><a href="<?php echo $_G['cache']['focus']['data'][$id]['url'];?>" class="xi2" target="_blank"><?php echo $_G['cache']['focus']['data'][$id]['subject'];?></a></dt>
-<?php if($_G['cache']['focus']['data'][$id]['image']) { ?>
-<dd class="m"><a href="<?php echo $_G['cache']['focus']['data'][$id]['url'];?>" target="_blank"><img src="<?php echo $_G['cache']['focus']['data'][$id]['image'];?>" alt="<?php echo $_G['cache']['focus']['data'][$id]['subject'];?>" /></a></dd>
-<?php } ?>
-<dd><?php echo $_G['cache']['focus']['data'][$id]['summary'];?></dd>
-</dl>
-<p class="ptn cl"><a href="<?php echo $_G['cache']['focus']['data'][$id]['url'];?>" class="xi2 y" target="_blank">查看 &raquo;</a></p>
-</div><?php $focusi ++;?><?php } ?>
-<script type="text/javascript">
-var focusnum = <?php echo $focusnum;?>;
-if(focusnum < 2) {
-$('focus_ctrl').style.display = 'none';
-}
-if(!$('focuscur').innerHTML) {
-var randomnum = parseInt(Math.round(Math.random() * focusnum));
-$('focuscur').innerHTML = Math.max(1, randomnum);
-}
-showfocus();
-var focusautoshow = window.setInterval('showfocus(\'next\', 1);', 5000);
-</script>
-<?php } if($_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1) { ?>
-<div class="focus patch" id="patch_notice"></div>
-<?php } ?><?php echo adshow("footerbanner/wp a_f/1");?><?php echo adshow("footerbanner/wp a_f/2");?><?php echo adshow("footerbanner/wp a_f/3");?><?php echo adshow("float/a_fl/1");?><?php echo adshow("float/a_fr/2");?><?php echo adshow("couplebanner/a_fl a_cb/1");?><?php echo adshow("couplebanner/a_fr a_cb/2");?><?php echo adshow("cornerbanner/a_cn");?><?php if(!empty($_G['setting']['pluginhooks']['global_footer'])) echo $_G['setting']['pluginhooks']['global_footer'];?>
-    <div id="wk_ft">
-    	<section class="section fp-auto-height">
-            <div class="wk_footer_side">
-                <div class="wk_footer">
-                	Copyright &copy; <?php echo date("Y");?> <a href="http://www.9026.com" target="_blank">Think Different Inc.</a>  All Rights Reserved. By <a href="http://www.9026.com" title="思维定制" target="_blank">思维定制</a> <?php if(!empty($_G['setting']['boardlicensed'])) { ?> <a href="http://www.9026.com" target="_blank">Licensed</a><?php } ?>  <br /><?php if($_G['setting']['icp']) { ?><?php echo $_G['setting']['icp'];?></a><?php } ?><?php if(!empty($_G['setting']['pluginhooks']['global_footerlink'])) echo $_G['setting']['pluginhooks']['global_footerlink'];?><?php if($_G['setting']['statcode']) { ?><?php echo $_G['setting']['statcode'];?><?php } ?>
-                </div>
-            </div>
-</section> 
-
-        <div id="ft" class="wp cl" style="border:0;">
-            <?php updatesession();?>            <?php if($_G['uid'] && $_G['group']['allowinvisible']) { ?>
-                <script type="text/javascript">
-                var invisiblestatus = '<?php if($_G['session']['invisible']) { ?>隐身<?php } else { ?>在线<?php } ?>';
-                var loginstatusobj = $('loginstatusid');
-                if(loginstatusobj != undefined && loginstatusobj != null) loginstatusobj.innerHTML = invisiblestatus;
-                </script>
-            <?php } ?>
-        </div>
-    </div>
-<?php } if($_G['setting']['search']) { ?>
-    <ul id="scbar_type_menu" class="p_pop" style="display: none;"><?php echo implode('', $slist);; ?></ul>
-    <script type="text/javascript">
-        initSearchmenu('scbar', '<?php echo $searchparams['url'];?>');
-    </script>
-<?php } include template('common/service'); if(!$_G['setting']['bbclosed'] && !$_G['member']['freeze'] && !$_G['member']['groupexpiry']) { if($_G['uid'] && !isset($_G['cookie']['checkpm'])) { ?>
-<script src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=<?php echo $_G['timestamp'];?>" type="text/javascript"></script>
-<?php } if($_G['uid'] && helper_access::check_module('follow') && !isset($_G['cookie']['checkfollow'])) { ?>
-<script src="home.php?mod=spacecp&ac=follow&op=checkfeed&rand=<?php echo $_G['timestamp'];?>" type="text/javascript"></script>
-<?php } if(!isset($_G['cookie']['sendmail'])) { ?>
-<script src="home.php?mod=misc&ac=sendmail&rand=<?php echo $_G['timestamp'];?>" type="text/javascript"></script>
-<?php } if($_G['uid'] && $_G['member']['allowadmincp'] == 1 && !isset($_G['cookie']['checkpatch'])) { ?>
-<script src="misc.php?mod=patch&action=checkpatch&rand=<?php echo $_G['timestamp'];?>" type="text/javascript"></script>
-<?php } } if($_GET['diy'] == 'yes') { if(check_diy_perm($topic) && (empty($do) || $do != 'index')) { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>common_diy.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script src="<?php echo $_G['setting']['jspath'];?>portal_diy<?php if(!check_diy_perm($topic, 'layout')) { ?>_data<?php } ?>.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php } if($space['self'] && CURMODULE == 'space' && $do == 'index') { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>common_diy.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script src="<?php echo $_G['setting']['jspath'];?>space_diy.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php } } if($_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1) { ?>
-<script type="text/javascript">patchNotice();</script>
-<?php } if($_G['uid'] && $_G['member']['allowadmincp'] == 1 && empty($_G['cookie']['pluginnotice'])) { ?>
-<div class="focus plugin" id="plugin_notice"></div>
-<script type="text/javascript">pluginNotice();</script>
-<?php } if(!$_G['setting']['bbclosed'] && !$_G['member']['freeze'] && !$_G['member']['groupexpiry'] && $_G['setting']['disableipnotice'] != 1 && $_G['uid'] && !empty($_G['cookie']['lip'])) { ?>
-<div class="focus plugin" id="ip_notice"></div>
-<script type="text/javascript">ipNotice();</script>
-<?php } if($_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G['uid']]) || $_G['cookie']['promptstate_'.$_G['uid']] != $_G['member']['newprompt']) && $_GET['do'] != 'notice') { ?>
-<script type="text/javascript">noticeTitle();</script>
-<?php } if(($_G['member']['newpm'] || $_G['member']['newprompt']) && empty($_G['cookie']['ignore_notice'])) { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>html5notification.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script type="text/javascript">
-var h5n = new Html5notification();
-if(h5n.issupport()) {
-<?php if($_G['member']['newpm'] && $_GET['do'] != 'pm') { ?>
-h5n.shownotification('pm', '<?php echo $_G['siteurl'];?>home.php?mod=space&do=pm', '<?php echo avatar($_G[uid],small,true);?>', '新的短消息', '有新的短消息,快去看看吧');
-<?php } if($_G['member']['newprompt'] && $_GET['do'] != 'notice') { if(is_array($_G['member']['category_num'])) foreach($_G['member']['category_num'] as $key => $val) { $noticetitle = lang('template', 'notice_'.$key);?>h5n.shownotification('notice_<?php echo $key;?>', '<?php echo $_G['siteurl'];?>home.php?mod=space&do=notice&view=<?php echo $key;?>', '<?php echo avatar($_G[uid],small,true);?>', '<?php echo $noticetitle;?> (<?php echo $val;?>)', '有新的提醒,快去看看吧');
-<?php } } ?>
-}
-</script>
-<?php } userappprompt();?><?php if($_G['basescript'] != 'userapp') { ?>
-<div id="scrolltop">
-<?php if($_G['fid'] && $_G['mod'] == 'viewthread') { ?>
-<span><a href="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;page=<?php echo $page;?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onclick="showWindow('reply', this.href)" class="replyfast" title="快速回复"><b>快速回复</b></a></span>
-<?php } ?>
-<span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>返回顶部</b></a></span>
-<?php if($_G['fid']) { ?>
-<span>
-<?php if($_G['mod'] == 'viewthread') { ?>
-<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>" hidefocus="true" class="returnlist" title="返回列表"><b>返回列表</b></a>
-<?php } else { ?>
-<a href="forum.php" hidefocus="true" class="returnboard" title="返回版块"><b>返回版块</b></a>
-<?php } ?>
-</span>
-<?php } ?>
-</div>
-<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
-<?php } if(isset($_G['makehtml'])) { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>html2dynamic.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script type="text/javascript">
-var html_lostmodify = <?php echo TIMESTAMP;?>;
-htmlGetUserStatus();
-<?php if(isset($_G['htmlcheckupdate'])) { ?>
-htmlCheckUpdate();
-<?php } ?>
-</script>
-<?php } output();?></body>
-</html>

+ 0 - 95
data/template/3_3_common_header_diy.tpl.php

xqd
@@ -1,95 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
-<style type="text/css">
-/* DIY MODE CSS STYLE */
-.hide { display: none; }
-.frame,.tab,.block { position: relative; zoom:1; min-height: 20px; }
-.edit { position: absolute; top: 0; right: 0; z-index: 199; padding: 0 5px; background: red; line-height: 26px; color: #FFF; cursor: pointer; }
-.block .edit { background: #369; }
-.edit-menu { position: absolute; z-index: 300; border-style: solid; border-width: 0 1px 1px 1px; border-color: #DDD #999 #999 #CCC; background: #FFF; }
-.mitem { padding: 4px 4px 4px 14px; width: 36px; border-top: 1px solid #DDD; cursor: pointer; }
-.mitem:hover { background: #F2F2F2; color: #06C; }
-.subtitle { margin: 0 4px; }
-.frame-tab .title .move-span { float: left; margin: 0 3px 0 0; padding: 0; width: 100px; border-bottom: none; cursor: pointer; }
-#samplepanel { background: #FFF; }
-.block-name { display: block; visibility: hidden; background: #000; color: #FFF; position: absolute; top: 5px; left: 5px; padding: 2px; opacity: 0.85; filter: alpha(opacity=85); z-index: 1; }
-</style>
-<div id="button_more_menu" class="p_pop" style="display: none;">
-<ul>
-<li><a href="javascript:;" onclick="spaceDiy.recover();return false;" title="恢复备份">恢复备份</a></li>
-<li><a href="javascript:;" onclick="drag.frameExport();return false;" title="导出当前页面中所有DIY数据">导出</a></li>
-<li><a href="javascript:;" onclick="drag.openFrameImport();$('button_more_menu').style.display='none';return false;" title="将DIY数据导入到当前页面">导入</a></li>
-<li><a href="javascript:;" onclick="drag.blockForceUpdateBatch();$('button_more_menu').style.display='none';return false;" title="更新当前页面所有模块的数据">更新</a></li>
-<li><a href="javascript:;" onclick="drag.clearAll();$('button_more_menu').style.display='none';return false;" title="清空页面上所在DIY数据">清空</a></li>
-</ul>
-</div>
-<div id="controlpanel" class="cl hide">
-<div id="controlheader" class="cl">
-<p class="y">
-<span id="navcancel"><a href="javascript:;" id="diycancel" onclick="spaceDiy.cancel();return false;">关闭</a></span>
-<a href="javascript:;" title="更多操作" id="button_more" onmouseover="showMenu(this.id);">More</a>
-<span id="navsave"><a href="javascript:;" onclick="javascript:spaceDiy.save();return false;">保存</a></span>
-<span id="button_redo" class="unusable"><a href="javascript:;" onclick="spaceDiy.redo();return false;" title="重做" onfocus="this.blur();">重做</a></span>
-<span id="button_undo" class="unusable"><a href="javascript:;" onclick="spaceDiy.undo();return false;" title="撤销" onfocus="this.blur();">撤销</a></span>
-<span id="preview" class="unusable"><a href="javascript:;" onclick="spaceDiy.save('preview');return false;" onfocus="this.blur();" title="预览DIY的效果" id="diy_preview">预览</a></span>
-<span id="savecachemsg" class="xg1" style="display: none;"></span>
-</p>
-<ul id="controlnav">
-<li id="navstart" class="current"><a href="javascript:" onclick="spaceDiy.getdiy('start');this.blur();return false;">开始</a></li>
-<li id="navframe"><a href="javascript:;" onclick="spaceDiy.getdiy('frame');this.blur();return false;">框架</a></li>
-<li id="navblockclass"><a href="javascript:;" onclick="spaceDiy.getdiy('blockclass');this.blur();return false;" id="hd_mod">模块</a></li>
-<?php if(!empty($topic)) { ?>
-<li id="navstyle"><a href="javascript:;" onclick="spaceDiy.getdiy('style');this.blur();return false;">风格</a></li>
-<li id="navdiy"><a href="javascript:;" onclick="spaceDiy.getdiy('diy', 'topicid', '<?php echo $topic['topicid'];?>');this.blur();return false;">自定义</a></li>
-<?php } ?>
-</ul>
-<div id="diy_backup_tip" class="tip tip_2" style="display: none;">
-<div class="tip_horn"></div>
-<div class="tip_c">您可以通过导出进行模板备份 &nbsp; <a href="javascript:;" class="xi2" onclick="drag.saveViewTip('diy_backup_tip');return false;">我知道了</a></div>
-</div>
-</div>
-<div id="controlcontent" class="cl">
-<ul id="contentstart" class="content">
-  <li><a href="javascript:;" onclick="spaceDiy.getdiy('frame');return false;"><img src="<?php echo STATICURL;?>image/diy/layout.png" />添加框架</a></li>
-  <li><a href="javascript:;" onclick="spaceDiy.getdiy('blockclass');return false;"><img src="<?php echo STATICURL;?>image/diy/module.png" />添加模块</a></li>
-  <?php if(!empty($topic)) { ?>
-  <li><a href="javascript:;" onclick="spaceDiy.getdiy('style');return false;"><img src="<?php echo STATICURL;?>image/diy/style.png" />风格</a></li>
-  <li><a href="javascript:;" onclick="spaceDiy.getdiy('diy', 'topicid', '<?php echo $topic['topicid'];?>');return false;"><img src="<?php echo STATICURL;?>image/diy/diy.png" />自定义</a></li>
-  <?php } ?>
-</ul>
-<ul id="contentframe" class="content hide">
-<li><a href="javascript:;" id="frame_1" onmousedown="drag.createObj(event,'frame','1');" onfocus="this.blur();" data="<?php echo $widthstr;?>"><img src="<?php echo STATICURL;?>image/diy/layout-1.png" />100%框架</a></li>
-<li><a href="javascript:;" id="frame_1_1" onmousedown="drag.createObj(event,'frame','1-1');" onfocus="this.blur();"><img src="<?php echo STATICURL;?>image/diy/layout-1-1.png" />1:1</a></li>
-<li><a href="javascript:;" id="frame_1_2" onmousedown="drag.createObj(event,'frame','1-2');" onfocus="this.blur();"><img src="<?php echo STATICURL;?>image/diy/layout-1-2.png" />1:2</a></li>
-<li><a href="javascript:;" id="frame_2_1" onmousedown="drag.createObj(event,'frame','2-1');" onfocus="this.blur();"><img src="<?php echo STATICURL;?>image/diy/layout-2-1.png" />2:1</a></li>
-<li><a href="javascript:;" id="frame_1_3" onmousedown="drag.createObj(event,'frame','1-3');" onfocus="this.blur();"><img src="<?php echo STATICURL;?>image/diy/layout-1-3.png" />1:3</a></li>
-<li><a href="javascript:;" id="frame_3_1" onmousedown="drag.createObj(event,'frame','3-1');" onfocus="this.blur();"><img src="<?php echo STATICURL;?>image/diy/layout-3-1.png" />3:1</a></li>
-<li><a href="javascript:;" id="frame_1_1_1" onmousedown="drag.createObj(event,'frame','1-1-1');" onfocus="this.blur();" data="<?php echo $widthstr;?>"><img src="<?php echo STATICURL;?>image/diy/layout-1-1-1.png" />1:1:1</a></li>
-<li><a href="javascript:;" id="frame_tab" onmousedown="drag.createObj(event,'tab');" onfocus="this.blur();" data="<?php echo $widthstr;?>"><img src="<?php echo STATICURL;?>image/diy/layout-tab.png" />tab框架</a></li>
-</ul>
-<div id="contentblockclass" class="content"></div>
-</div>
-<div id="cpfooter"><table cellpadding="0" cellspacing="0" width="100%"><tr><td class="l">&nbsp;</td><td class="c">&nbsp;</td><td class="r">&nbsp;</td></tr></table></div>
-</div>
-<div id="samplepanel" class="hide ptm pbm bbda hm">
-<span class="y"><a href="javascript:;" onclick="spaceDiy.cancel();return false;" class="xi2">关闭</a>&nbsp;&nbsp;</span>
-当前为<strong>简洁模式</strong>,您可以更新模块,修改模块属性和数据,要使用完整的拖拽功能,<a href="javascript:;" onclick="spaceDiy.init();" class="xw1 xi2">请点击进入高级模式</a>
-</div>
-
-<form method="post" autocomplete="off" name="diyform" id="diyform" action="<?php echo $_G['siteurl'];?>portal.php?mod=portalcp&ac=diy">
-<input type="hidden" name="template" value="<?php echo $_G['style']['tplfile'];?>" />
-<input type="hidden" name="tpldirectory" value="<?php echo $_G['style']['tpldirectory'];?>" />
-<input type="hidden" name="diysign" value="<?php echo dsign($_G['style']['tpldirectory'].$_G['style']['tplfile']); ?>" />
-<input type="hidden" name="prefile" id="prefile" value="<?php echo $_G['style']['prefile'];?>" />
-<input type="hidden" name="savemod" value="<?php echo $_G['style']['tplsavemod'];?>" />
-<input type="hidden" name="spacecss" value="" />
-<input type="hidden" name="style" value="" />
-<input type="hidden" name="rejs" value="" />
-<input type="hidden" name="handlekey" value="" />
-<input type="hidden" name="layoutdata" value="" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<input type="hidden" name="gobackurl" id="gobackurl" value=""/>
-<input type="hidden" name="recover" value=""/>
-<input type="hidden" name="optype" value=""/>
-
-<input type="hidden" name="diysubmit" value="true"/>
-</form>

+ 1 - 1
data/template/3_3_common_header_forum_forumdisplay.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428923, '3', './data/template/3_3_common_header_forum_forumdisplay.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_forumdisplay')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524100815, '3', './data/template/3_3_common_header_forum_forumdisplay.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_forumdisplay')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_forum_guide.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523451787, '3', './data/template/3_3_common_header_forum_guide.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_guide')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524125830, '3', './data/template/3_3_common_header_forum_guide.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_guide')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_forum_index.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428917, '3', './data/template/3_3_common_header_forum_index.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_index')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524105617, '3', './data/template/3_3_common_header_forum_index.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_index')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 2 - 2
data/template/3_3_common_header_group_post.tpl.php → data/template/3_3_common_header_forum_misc.tpl.php

xqd xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523497902, '3', './data/template/3_3_common_header_group_post.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_post')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524364107, '3', './data/template/3_3_common_header_forum_misc.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_misc')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -18,7 +18,7 @@
 <meta name="MSSmartTagsPreventParsing" content="True" />
 <meta http-equiv="MSThemeCompatible" content="Yes" />
     <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
-<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_group_post.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
+<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_forum_misc.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
 <script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
 <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/jquery-1.7.2.js" type="text/javascript"></script>
     <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/pace.js" type="text/javascript"></script>

+ 2 - 2
data/template/3_3_common_header_group_viewthread.tpl.php → data/template/3_3_common_header_forum_post.tpl.php

xqd xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523446876, '3', './data/template/3_3_common_header_group_viewthread.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_viewthread')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524603997, '3', './data/template/3_3_common_header_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_post')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -18,7 +18,7 @@
 <meta name="MSSmartTagsPreventParsing" content="True" />
 <meta http-equiv="MSThemeCompatible" content="Yes" />
     <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
-<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_group_viewthread.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
+<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_forum_post.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
 <script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
 <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/jquery-1.7.2.js" type="text/javascript"></script>
     <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/pace.js" type="text/javascript"></script>

+ 154 - 0
data/template/3_3_common_header_forum_redirect.tpl.php

xqd
@@ -0,0 +1,154 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
+0
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524604001, '3', './data/template/3_3_common_header_forum_redirect.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_redirect')
+;?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
+<?php if($_G['config']['output']['iecompatible']) { ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE<?php echo $_G['config']['output']['iecompatible'];?>" /><?php } ?>
+<title><?php if(!empty($navtitle)) { ?><?php echo $navtitle;?> <?php } if(empty($nobbname)) { ?> <?php echo $_G['setting']['bbname'];?><?php } ?></title>
+<?php echo $_G['setting']['seohead'];?>
+
+<meta name="keywords" content="<?php if(!empty($metakeywords)) { echo dhtmlspecialchars($metakeywords); } ?>" />
+<meta name="description" content="<?php if(!empty($metadescription)) { echo dhtmlspecialchars($metadescription); ?> <?php } if(empty($nobbname)) { ?>,<?php echo $_G['setting']['bbname'];?><?php } ?>" />
+<meta name="generator" content="思维定制! <?php echo $_G['setting']['version'];?>" />
+<meta name="author" content="思维定制! Think Different Team" />
+<meta name="copyright" content="2001-2020 Think Different Inc." />
+<meta name="MSSmartTagsPreventParsing" content="True" />
+<meta http-equiv="MSThemeCompatible" content="Yes" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
+<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_forum_redirect.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
+<script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<script src="/<?php echo $_G['style']['styleimgdir'];?>/js/jquery-1.7.2.js" type="text/javascript"></script>
+    <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/pace.js" type="text/javascript"></script>
+    <?php require("./template/wfdsoft_jiaohu/week_config.php");?><?php require("./template/wfdsoft_$week/language/$wk_language");?><?php if(empty($_GET['diy'])) { $_GET['diy'] = '';?><?php } if(!isset($topic)) { $topic = array();?><?php } ?>
+<link href="/<?php echo $_G['style']['styleimgdir'];?>/style.css" rel="stylesheet" type="text/css" />
+<meta name="application-name" content="<?php echo $_G['setting']['bbname'];?>" />
+<meta name="msapplication-tooltip" content="<?php echo $_G['setting']['bbname'];?>" />
+<?php if($_G['setting']['portalstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['1']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G['siteurl'].'portal.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/portal.ico" /><?php } ?>
+<meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['2']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G['siteurl'].'forum.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/bbs.ico" />
+<?php if($_G['setting']['groupstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['3']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G['siteurl'].'group.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/group.ico" /><?php } if(helper_access::check_module('feed')) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['4']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G['siteurl'].'home.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/home.ico" /><?php } if($_G['basescript'] == 'forum' && $_G['setting']['archiver']) { ?>
+<link rel="archives" title="<?php echo $_G['setting']['bbname'];?>" href="<?php echo $_G['siteurl'];?>archiver/" />
+<?php } if(!empty($rsshead)) { ?><?php echo $rsshead;?><?php } if(widthauto()) { ?>
+<link rel="stylesheet" id="css_widthauto" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_widthauto?<?php echo VERHASH;?>' />
+<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
+<?php } if($_G['basescript'] == 'forum' || $_G['basescript'] == 'group') { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>forum.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } elseif($_G['basescript'] == 'home' || $_G['basescript'] == 'userapp') { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>home.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($_G['basescript'] != 'portal' || $_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>portal.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
+<link rel="stylesheet" type="text/css" id="diy_common" href="<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_css_diy.css?<?php echo VERHASH;?>" />
+<?php } ?>
+</head>
+
+<body id="nv_<?php echo $_G['basescript'];?>" class="pg_<?php echo CURMODULE;?><?php if($_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)) { ?> <?php echo $cat['bodycss'];?><?php } ?>" onkeydown="if(event.keyCode==27) return false;" >
+<div id="append_parent"></div><div id="ajaxwaitid"></div>
+<?php if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { include template('common/header_diy'); } if(check_diy_perm($topic)) { include template('common/header_diynav'); } if(CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)) { ?>
+<?php echo $diynav;?>
+<?php } if(empty($topic) || $topic['useheader']) { if($_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')) { ?>
+<div class="xi1 bm bm_c">
+    请选择 <a href="<?php echo $_G['siteurl'];?>forum.php?mobile=yes">进入手机版</a> <span class="xg1">|</span> <a href="<?php echo $_G['setting']['mobile']['nomobileurl'];?>">继续访问电脑版</a>
+</div>
+<?php } if($_G['setting']['shortcut'] && $_G['member']['credits'] >= $_G['setting']['shortcut']) { ?>
+<div id="shortcut">
+<span><a href="javascript:;" id="shortcutcloseid" title="关闭">关闭</a></span>
+您经常访问 <?php echo $_G['setting']['bbname'];?>,试试添加到桌面,访问更方便!
+<a href="javascript:;" id="shortcuttip">添加 <?php echo $_G['setting']['bbname'];?> 到桌面</a>
+
+</div>
+<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
+<?php } ?>
+<div id="toptb" class="cl" style="display:none;">
+<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_top'])) echo $_G['setting']['pluginhooks']['global_cpnav_top'];?>
+</div>
+<?php if(!IS_ROBOT) { if($_G['uid']) { ?>
+<ul id="myprompt_menu" class="p_pop mt23" style="display: none;">				
+<li><a href="home.php?mod=space&amp;do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news<?php if(empty($_G['member']['newpm'])) { ?>_0<?php } ?>"></em>消息</a></li>
+<li><a href="home.php?mod=follow&amp;do=follower"><em class="prompt_follower<?php if(empty($_G['member']['newprompt_num']['follower'])) { ?>_0<?php } ?>"></em>新听众<?php if($_G['member']['newprompt_num']['follower']) { ?>(<?php echo $_G['member']['newprompt_num']['follower'];?>)<?php } ?></a></li>
+<?php if($_G['member']['newprompt'] && $_G['member']['newprompt_num']['follow']) { ?>
+<li><a href="home.php?mod=follow"><em class="prompt_concern"></em>我关注的(<?php echo $_G['member']['newprompt_num']['follow'];?>)</a></li>
+<?php } if($_G['member']['newprompt']) { if(is_array($_G['member']['category_num'])) foreach($_G['member']['category_num'] as $key => $val) { ?><li><a href="home.php?mod=space&amp;do=notice&amp;view=<?php echo $key;?>"><em class="notice_<?php echo $key;?>"></em><?php echo lang('template', 'notice_'.$key); ?>(<span class="rq"><?php echo $val;?></span>)</a></li>
+<?php } } if(empty($_G['cookie']['ignore_notice'])) { ?>
+<li class="ignore_noticeli"><a href="javascript:;" onClick="setcookie('ignore_notice', 1);hideMenu('myprompt_menu')" title="暂不提醒"><em class="ignore_notice"></em></a></li>
+<?php } ?>
+</ul>
+<?php } if($_G['uid'] && !empty($_G['style']['extstyle'])) { ?>
+<div id="sslct_menu" class="cl p_pop" style="display: none;">
+<?php if(!$_G['style']['defaultextstyle']) { ?><span class="sslct_btn" onClick="extstyle('')" title="默认"><i></i></span><?php } if(is_array($_G['style']['extstyle'])) foreach($_G['style']['extstyle'] as $extstyle) { ?><span class="sslct_btn" onClick="extstyle('<?php echo $extstyle['0'];?>')" title="<?php echo $extstyle['1'];?>"><i style='background:<?php echo $extstyle['2'];?>'></i></span>
+<?php } ?>
+</div>
+<?php } } ?><?php echo adshow("headerbanner/wp a_h");?><div id="hd" style="background:#FFF; height:60px; border-bottom:1px solid #E6E6E6; "><div class="clear"></div>
+            <div id="week_nav">
+                <div class="wk_navwp">
+                    <div class="wk_lonav">
+                        <div class="wk_logo">
+                            <?php $mnid = getcurrentnav();?>                            <h2><?php if(!isset($_G['setting']['navlogos'][$mnid])) { ?><a href="<?php if($_G['setting']['domain']['app']['default']) { ?>http://<?php echo $_G['setting']['domain']['app']['default'];?>/<?php } else { ?>./<?php } ?>" title="<?php echo $_G['setting']['bbname'];?>"><?php echo $_G['style']['boardlogo'];?></a><?php } else { ?><?php echo $_G['setting']['navlogos'][$mnid];?><?php } ?></h2>
+                        </div>
+                        <div class="wk_inav">
+                            <ul class="nav">
+                                <?php if(is_array($_G['setting']['navs'])) foreach($_G['setting']['navs'] as $nav) { ?>                                    <?php if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><li <?php if($mnid == $nav['navid']) { ?>class="a" <?php } ?><?php echo $nav['nav'];?>></li><?php } ?>
+                                <?php } ?>
+                            </ul>
+                            <?php if(!empty($_G['setting']['pluginhooks']['global_nav_extra'])) echo $_G['setting']['pluginhooks']['global_nav_extra'];?>
+                       	</div>
+                    </div>
+                    <div class="wk_idl">
+                        <div class="week-header-log">
+                             <ul class="week-log">
+                                  <li class="log-dd-trigger" style="display:block;">
+                                    <a>
+                                    	<span class="user_avatar">
+                                    <?php echo avatar($_G[uid],small);?>                                    	</span>
+                                        <img class="week-arrow" src="<?php echo $_G['style']['styleimgdir'];?>/log-arrow.png" width="10" height="6" >
+                                    </a>
+                                    <div class="u-box" style="display:none;"></div>
+                                    <?php include template('common/header_userstatus'); ?>                                </li>
+                            </ul>
+                        </div>
+                    </div>
+                    
+                </div>
+            </div>
+        </div>
+        
+        <script type="text/javascript">
+window.jQuery && !window.handleHeaderProduct && (window.handleHeaderProduct = function() {
+FOM(".log-dd-trigger").hover(function() {
+FOM(".u-box").show(), FOM(".log-dropdown").show()
+}, function() {
+FOM(".u-box").hide(), FOM(".log-dropdown").hide()
+});
+}());
+        </script>
+
+        <?php if(!empty($_G['setting']['plugins']['jsmenu'])) { ?>
+            <ul class="p_pop h_pop" id="plugin_menu" style="display: none">
+            <?php if(is_array($_G['setting']['plugins']['jsmenu'])) foreach($_G['setting']['plugins']['jsmenu'] as $module) { ?>                 <?php if(!$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])) { ?>
+                 <li><?php echo $module['url'];?></li>
+                 <?php } ?>
+            <?php } ?>
+            </ul>
+        <?php } ?>
+
+        <div class="sub_nav"> <?php echo $_G['setting']['menunavs'];?> </div>
+        <div id="mu" class="cl">
+            <div class="wp">
+            <?php if($_G['setting']['subnavs']) { ?>
+                <?php if(is_array($_G['setting']['subnavs'])) foreach($_G['setting']['subnavs'] as $navid => $subnav) { ?>                    <?php if($_G['setting']['navsubhover'] || $mnid == $navid) { ?>
+                    <style>#mu {width:100%; overflow:hidden; background:#F2F2F2; display:block; }</style>
+                    <ul class="cl <?php if($mnid == $navid) { ?>current<?php } ?>" id="snav_<?php echo $navid;?>" style="display:<?php if($mnid != $navid) { ?>none<?php } ?>">
+                    <?php echo $subnav;?>
+                    </ul>
+                    <?php } ?>
+                <?php } ?>
+            <?php } ?>
+            </div>
+        </div>
+        <?php echo adshow("subnavbanner/a_mu");?>    <?php if(!empty($_G['setting']['pluginhooks']['global_header'])) echo $_G['setting']['pluginhooks']['global_header'];?>
+<?php } ?>
+    <?php if($wk_nav) { ?><script src="<?php echo $_G['style']['styleimgdir'];?>/js/week_nav.js" type="text/javascript"></script><?php } ?> 
+
+<div id="wp" class="wp">

+ 1 - 1
data/template/3_3_common_header_forum_viewthread.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428751, '3', './data/template/3_3_common_header_forum_viewthread.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_viewthread')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524100935, '3', './data/template/3_3_common_header_forum_viewthread.tpl.php', './template/wfdsoft_jiaohu', 'common/header_forum_viewthread')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_group_forumdisplay.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428986, '3', './data/template/3_3_common_header_group_forumdisplay.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_forumdisplay')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524717344, '3', './data/template/3_3_common_header_group_forumdisplay.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_forumdisplay')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_group_group.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428818, '3', './data/template/3_3_common_header_group_group.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524563502, '3', './data/template/3_3_common_header_group_group.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_group')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_group_index.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428816, '3', './data/template/3_3_common_header_group_index.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_index')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524249352, '3', './data/template/3_3_common_header_group_index.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_index')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_group_my.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523451955, '3', './data/template/3_3_common_header_group_my.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_my')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524582165, '3', './data/template/3_3_common_header_group_my.tpl.php', './template/wfdsoft_jiaohu', 'common/header_group_my')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_home_magic.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523446823, '3', './data/template/3_3_common_header_home_magic.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_magic')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524604049, '3', './data/template/3_3_common_header_home_magic.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_magic')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_home_medal.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523446829, '3', './data/template/3_3_common_header_home_medal.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_medal')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524296834, '3', './data/template/3_3_common_header_home_medal.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_medal')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_home_space.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523440382, '3', './data/template/3_3_common_header_home_space.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_space')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524159293, '3', './data/template/3_3_common_header_home_space.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_space')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 154 - 0
data/template/3_3_common_header_home_spacecp.tpl.php

xqd
@@ -0,0 +1,154 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
+0
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524603999, '3', './data/template/3_3_common_header_home_spacecp.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_spacecp')
+;?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
+<?php if($_G['config']['output']['iecompatible']) { ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE<?php echo $_G['config']['output']['iecompatible'];?>" /><?php } ?>
+<title><?php if(!empty($navtitle)) { ?><?php echo $navtitle;?> <?php } if(empty($nobbname)) { ?> <?php echo $_G['setting']['bbname'];?><?php } ?></title>
+<?php echo $_G['setting']['seohead'];?>
+
+<meta name="keywords" content="<?php if(!empty($metakeywords)) { echo dhtmlspecialchars($metakeywords); } ?>" />
+<meta name="description" content="<?php if(!empty($metadescription)) { echo dhtmlspecialchars($metadescription); ?> <?php } if(empty($nobbname)) { ?>,<?php echo $_G['setting']['bbname'];?><?php } ?>" />
+<meta name="generator" content="思维定制! <?php echo $_G['setting']['version'];?>" />
+<meta name="author" content="思维定制! Think Different Team" />
+<meta name="copyright" content="2001-2020 Think Different Inc." />
+<meta name="MSSmartTagsPreventParsing" content="True" />
+<meta http-equiv="MSThemeCompatible" content="Yes" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
+<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_home_spacecp.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
+<script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<script src="/<?php echo $_G['style']['styleimgdir'];?>/js/jquery-1.7.2.js" type="text/javascript"></script>
+    <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/pace.js" type="text/javascript"></script>
+    <?php require("./template/wfdsoft_jiaohu/week_config.php");?><?php require("./template/wfdsoft_$week/language/$wk_language");?><?php if(empty($_GET['diy'])) { $_GET['diy'] = '';?><?php } if(!isset($topic)) { $topic = array();?><?php } ?>
+<link href="/<?php echo $_G['style']['styleimgdir'];?>/style.css" rel="stylesheet" type="text/css" />
+<meta name="application-name" content="<?php echo $_G['setting']['bbname'];?>" />
+<meta name="msapplication-tooltip" content="<?php echo $_G['setting']['bbname'];?>" />
+<?php if($_G['setting']['portalstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['1']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G['siteurl'].'portal.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/portal.ico" /><?php } ?>
+<meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['2']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G['siteurl'].'forum.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/bbs.ico" />
+<?php if($_G['setting']['groupstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['3']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G['siteurl'].'group.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/group.ico" /><?php } if(helper_access::check_module('feed')) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['4']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G['siteurl'].'home.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/home.ico" /><?php } if($_G['basescript'] == 'forum' && $_G['setting']['archiver']) { ?>
+<link rel="archives" title="<?php echo $_G['setting']['bbname'];?>" href="<?php echo $_G['siteurl'];?>archiver/" />
+<?php } if(!empty($rsshead)) { ?><?php echo $rsshead;?><?php } if(widthauto()) { ?>
+<link rel="stylesheet" id="css_widthauto" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_widthauto?<?php echo VERHASH;?>' />
+<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
+<?php } if($_G['basescript'] == 'forum' || $_G['basescript'] == 'group') { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>forum.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } elseif($_G['basescript'] == 'home' || $_G['basescript'] == 'userapp') { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>home.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($_G['basescript'] != 'portal' || $_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>portal.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
+<link rel="stylesheet" type="text/css" id="diy_common" href="<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_css_diy.css?<?php echo VERHASH;?>" />
+<?php } ?>
+</head>
+
+<body id="nv_<?php echo $_G['basescript'];?>" class="pg_<?php echo CURMODULE;?><?php if($_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)) { ?> <?php echo $cat['bodycss'];?><?php } ?>" onkeydown="if(event.keyCode==27) return false;" >
+<div id="append_parent"></div><div id="ajaxwaitid"></div>
+<?php if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { include template('common/header_diy'); } if(check_diy_perm($topic)) { include template('common/header_diynav'); } if(CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)) { ?>
+<?php echo $diynav;?>
+<?php } if(empty($topic) || $topic['useheader']) { if($_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')) { ?>
+<div class="xi1 bm bm_c">
+    请选择 <a href="<?php echo $_G['siteurl'];?>forum.php?mobile=yes">进入手机版</a> <span class="xg1">|</span> <a href="<?php echo $_G['setting']['mobile']['nomobileurl'];?>">继续访问电脑版</a>
+</div>
+<?php } if($_G['setting']['shortcut'] && $_G['member']['credits'] >= $_G['setting']['shortcut']) { ?>
+<div id="shortcut">
+<span><a href="javascript:;" id="shortcutcloseid" title="关闭">关闭</a></span>
+您经常访问 <?php echo $_G['setting']['bbname'];?>,试试添加到桌面,访问更方便!
+<a href="javascript:;" id="shortcuttip">添加 <?php echo $_G['setting']['bbname'];?> 到桌面</a>
+
+</div>
+<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
+<?php } ?>
+<div id="toptb" class="cl" style="display:none;">
+<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_top'])) echo $_G['setting']['pluginhooks']['global_cpnav_top'];?>
+</div>
+<?php if(!IS_ROBOT) { if($_G['uid']) { ?>
+<ul id="myprompt_menu" class="p_pop mt23" style="display: none;">				
+<li><a href="home.php?mod=space&amp;do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news<?php if(empty($_G['member']['newpm'])) { ?>_0<?php } ?>"></em>消息</a></li>
+<li><a href="home.php?mod=follow&amp;do=follower"><em class="prompt_follower<?php if(empty($_G['member']['newprompt_num']['follower'])) { ?>_0<?php } ?>"></em>新听众<?php if($_G['member']['newprompt_num']['follower']) { ?>(<?php echo $_G['member']['newprompt_num']['follower'];?>)<?php } ?></a></li>
+<?php if($_G['member']['newprompt'] && $_G['member']['newprompt_num']['follow']) { ?>
+<li><a href="home.php?mod=follow"><em class="prompt_concern"></em>我关注的(<?php echo $_G['member']['newprompt_num']['follow'];?>)</a></li>
+<?php } if($_G['member']['newprompt']) { if(is_array($_G['member']['category_num'])) foreach($_G['member']['category_num'] as $key => $val) { ?><li><a href="home.php?mod=space&amp;do=notice&amp;view=<?php echo $key;?>"><em class="notice_<?php echo $key;?>"></em><?php echo lang('template', 'notice_'.$key); ?>(<span class="rq"><?php echo $val;?></span>)</a></li>
+<?php } } if(empty($_G['cookie']['ignore_notice'])) { ?>
+<li class="ignore_noticeli"><a href="javascript:;" onClick="setcookie('ignore_notice', 1);hideMenu('myprompt_menu')" title="暂不提醒"><em class="ignore_notice"></em></a></li>
+<?php } ?>
+</ul>
+<?php } if($_G['uid'] && !empty($_G['style']['extstyle'])) { ?>
+<div id="sslct_menu" class="cl p_pop" style="display: none;">
+<?php if(!$_G['style']['defaultextstyle']) { ?><span class="sslct_btn" onClick="extstyle('')" title="默认"><i></i></span><?php } if(is_array($_G['style']['extstyle'])) foreach($_G['style']['extstyle'] as $extstyle) { ?><span class="sslct_btn" onClick="extstyle('<?php echo $extstyle['0'];?>')" title="<?php echo $extstyle['1'];?>"><i style='background:<?php echo $extstyle['2'];?>'></i></span>
+<?php } ?>
+</div>
+<?php } } ?><?php echo adshow("headerbanner/wp a_h");?><div id="hd" style="background:#FFF; height:60px; border-bottom:1px solid #E6E6E6; "><div class="clear"></div>
+            <div id="week_nav">
+                <div class="wk_navwp">
+                    <div class="wk_lonav">
+                        <div class="wk_logo">
+                            <?php $mnid = getcurrentnav();?>                            <h2><?php if(!isset($_G['setting']['navlogos'][$mnid])) { ?><a href="<?php if($_G['setting']['domain']['app']['default']) { ?>http://<?php echo $_G['setting']['domain']['app']['default'];?>/<?php } else { ?>./<?php } ?>" title="<?php echo $_G['setting']['bbname'];?>"><?php echo $_G['style']['boardlogo'];?></a><?php } else { ?><?php echo $_G['setting']['navlogos'][$mnid];?><?php } ?></h2>
+                        </div>
+                        <div class="wk_inav">
+                            <ul class="nav">
+                                <?php if(is_array($_G['setting']['navs'])) foreach($_G['setting']['navs'] as $nav) { ?>                                    <?php if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><li <?php if($mnid == $nav['navid']) { ?>class="a" <?php } ?><?php echo $nav['nav'];?>></li><?php } ?>
+                                <?php } ?>
+                            </ul>
+                            <?php if(!empty($_G['setting']['pluginhooks']['global_nav_extra'])) echo $_G['setting']['pluginhooks']['global_nav_extra'];?>
+                       	</div>
+                    </div>
+                    <div class="wk_idl">
+                        <div class="week-header-log">
+                             <ul class="week-log">
+                                  <li class="log-dd-trigger" style="display:block;">
+                                    <a>
+                                    	<span class="user_avatar">
+                                    <?php echo avatar($_G[uid],small);?>                                    	</span>
+                                        <img class="week-arrow" src="<?php echo $_G['style']['styleimgdir'];?>/log-arrow.png" width="10" height="6" >
+                                    </a>
+                                    <div class="u-box" style="display:none;"></div>
+                                    <?php include template('common/header_userstatus'); ?>                                </li>
+                            </ul>
+                        </div>
+                    </div>
+                    
+                </div>
+            </div>
+        </div>
+        
+        <script type="text/javascript">
+window.jQuery && !window.handleHeaderProduct && (window.handleHeaderProduct = function() {
+FOM(".log-dd-trigger").hover(function() {
+FOM(".u-box").show(), FOM(".log-dropdown").show()
+}, function() {
+FOM(".u-box").hide(), FOM(".log-dropdown").hide()
+});
+}());
+        </script>
+
+        <?php if(!empty($_G['setting']['plugins']['jsmenu'])) { ?>
+            <ul class="p_pop h_pop" id="plugin_menu" style="display: none">
+            <?php if(is_array($_G['setting']['plugins']['jsmenu'])) foreach($_G['setting']['plugins']['jsmenu'] as $module) { ?>                 <?php if(!$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])) { ?>
+                 <li><?php echo $module['url'];?></li>
+                 <?php } ?>
+            <?php } ?>
+            </ul>
+        <?php } ?>
+
+        <div class="sub_nav"> <?php echo $_G['setting']['menunavs'];?> </div>
+        <div id="mu" class="cl">
+            <div class="wp">
+            <?php if($_G['setting']['subnavs']) { ?>
+                <?php if(is_array($_G['setting']['subnavs'])) foreach($_G['setting']['subnavs'] as $navid => $subnav) { ?>                    <?php if($_G['setting']['navsubhover'] || $mnid == $navid) { ?>
+                    <style>#mu {width:100%; overflow:hidden; background:#F2F2F2; display:block; }</style>
+                    <ul class="cl <?php if($mnid == $navid) { ?>current<?php } ?>" id="snav_<?php echo $navid;?>" style="display:<?php if($mnid != $navid) { ?>none<?php } ?>">
+                    <?php echo $subnav;?>
+                    </ul>
+                    <?php } ?>
+                <?php } ?>
+            <?php } ?>
+            </div>
+        </div>
+        <?php echo adshow("subnavbanner/a_mu");?>    <?php if(!empty($_G['setting']['pluginhooks']['global_header'])) echo $_G['setting']['pluginhooks']['global_header'];?>
+<?php } ?>
+    <?php if($wk_nav) { ?><script src="<?php echo $_G['style']['styleimgdir'];?>/js/week_nav.js" type="text/javascript"></script><?php } ?> 
+
+<div id="wp" class="wp">

+ 1 - 1
data/template/3_3_common_header_home_task.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523446809, '3', './data/template/3_3_common_header_home_task.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_task')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524196043, '3', './data/template/3_3_common_header_home_task.tpl.php', './template/wfdsoft_jiaohu', 'common/header_home_task')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_member_logging.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523462274, '3', './data/template/3_3_common_header_member_logging.tpl.php', './template/wfdsoft_jiaohu', 'common/header_member_logging')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524147175, '3', './data/template/3_3_common_header_member_logging.tpl.php', './template/wfdsoft_jiaohu', 'common/header_member_logging')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_member_register.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523449616, '3', './data/template/3_3_common_header_member_register.tpl.php', './template/wfdsoft_jiaohu', 'common/header_member_register')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524369713, '3', './data/template/3_3_common_header_member_register.tpl.php', './template/wfdsoft_jiaohu', 'common/header_member_register')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 154 - 0
data/template/3_3_common_header_misc_tag.tpl.php

xqd
@@ -0,0 +1,154 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
+0
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524603997, '3', './data/template/3_3_common_header_misc_tag.tpl.php', './template/wfdsoft_jiaohu', 'common/header_misc_tag')
+;?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
+<?php if($_G['config']['output']['iecompatible']) { ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE<?php echo $_G['config']['output']['iecompatible'];?>" /><?php } ?>
+<title><?php if(!empty($navtitle)) { ?><?php echo $navtitle;?> <?php } if(empty($nobbname)) { ?> <?php echo $_G['setting']['bbname'];?><?php } ?></title>
+<?php echo $_G['setting']['seohead'];?>
+
+<meta name="keywords" content="<?php if(!empty($metakeywords)) { echo dhtmlspecialchars($metakeywords); } ?>" />
+<meta name="description" content="<?php if(!empty($metadescription)) { echo dhtmlspecialchars($metadescription); ?> <?php } if(empty($nobbname)) { ?>,<?php echo $_G['setting']['bbname'];?><?php } ?>" />
+<meta name="generator" content="思维定制! <?php echo $_G['setting']['version'];?>" />
+<meta name="author" content="思维定制! Think Different Team" />
+<meta name="copyright" content="2001-2020 Think Different Inc." />
+<meta name="MSSmartTagsPreventParsing" content="True" />
+<meta http-equiv="MSThemeCompatible" content="Yes" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
+<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_misc_tag.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
+<script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<script src="/<?php echo $_G['style']['styleimgdir'];?>/js/jquery-1.7.2.js" type="text/javascript"></script>
+    <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/pace.js" type="text/javascript"></script>
+    <?php require("./template/wfdsoft_jiaohu/week_config.php");?><?php require("./template/wfdsoft_$week/language/$wk_language");?><?php if(empty($_GET['diy'])) { $_GET['diy'] = '';?><?php } if(!isset($topic)) { $topic = array();?><?php } ?>
+<link href="/<?php echo $_G['style']['styleimgdir'];?>/style.css" rel="stylesheet" type="text/css" />
+<meta name="application-name" content="<?php echo $_G['setting']['bbname'];?>" />
+<meta name="msapplication-tooltip" content="<?php echo $_G['setting']['bbname'];?>" />
+<?php if($_G['setting']['portalstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['1']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G['siteurl'].'portal.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/portal.ico" /><?php } ?>
+<meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['2']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G['siteurl'].'forum.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/bbs.ico" />
+<?php if($_G['setting']['groupstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['3']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G['siteurl'].'group.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/group.ico" /><?php } if(helper_access::check_module('feed')) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['4']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G['siteurl'].'home.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/home.ico" /><?php } if($_G['basescript'] == 'forum' && $_G['setting']['archiver']) { ?>
+<link rel="archives" title="<?php echo $_G['setting']['bbname'];?>" href="<?php echo $_G['siteurl'];?>archiver/" />
+<?php } if(!empty($rsshead)) { ?><?php echo $rsshead;?><?php } if(widthauto()) { ?>
+<link rel="stylesheet" id="css_widthauto" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_widthauto?<?php echo VERHASH;?>' />
+<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
+<?php } if($_G['basescript'] == 'forum' || $_G['basescript'] == 'group') { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>forum.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } elseif($_G['basescript'] == 'home' || $_G['basescript'] == 'userapp') { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>home.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($_G['basescript'] != 'portal' || $_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>portal.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
+<link rel="stylesheet" type="text/css" id="diy_common" href="<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_css_diy.css?<?php echo VERHASH;?>" />
+<?php } ?>
+</head>
+
+<body id="nv_<?php echo $_G['basescript'];?>" class="pg_<?php echo CURMODULE;?><?php if($_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)) { ?> <?php echo $cat['bodycss'];?><?php } ?>" onkeydown="if(event.keyCode==27) return false;" >
+<div id="append_parent"></div><div id="ajaxwaitid"></div>
+<?php if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { include template('common/header_diy'); } if(check_diy_perm($topic)) { include template('common/header_diynav'); } if(CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)) { ?>
+<?php echo $diynav;?>
+<?php } if(empty($topic) || $topic['useheader']) { if($_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')) { ?>
+<div class="xi1 bm bm_c">
+    请选择 <a href="<?php echo $_G['siteurl'];?>forum.php?mobile=yes">进入手机版</a> <span class="xg1">|</span> <a href="<?php echo $_G['setting']['mobile']['nomobileurl'];?>">继续访问电脑版</a>
+</div>
+<?php } if($_G['setting']['shortcut'] && $_G['member']['credits'] >= $_G['setting']['shortcut']) { ?>
+<div id="shortcut">
+<span><a href="javascript:;" id="shortcutcloseid" title="关闭">关闭</a></span>
+您经常访问 <?php echo $_G['setting']['bbname'];?>,试试添加到桌面,访问更方便!
+<a href="javascript:;" id="shortcuttip">添加 <?php echo $_G['setting']['bbname'];?> 到桌面</a>
+
+</div>
+<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
+<?php } ?>
+<div id="toptb" class="cl" style="display:none;">
+<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_top'])) echo $_G['setting']['pluginhooks']['global_cpnav_top'];?>
+</div>
+<?php if(!IS_ROBOT) { if($_G['uid']) { ?>
+<ul id="myprompt_menu" class="p_pop mt23" style="display: none;">				
+<li><a href="home.php?mod=space&amp;do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news<?php if(empty($_G['member']['newpm'])) { ?>_0<?php } ?>"></em>消息</a></li>
+<li><a href="home.php?mod=follow&amp;do=follower"><em class="prompt_follower<?php if(empty($_G['member']['newprompt_num']['follower'])) { ?>_0<?php } ?>"></em>新听众<?php if($_G['member']['newprompt_num']['follower']) { ?>(<?php echo $_G['member']['newprompt_num']['follower'];?>)<?php } ?></a></li>
+<?php if($_G['member']['newprompt'] && $_G['member']['newprompt_num']['follow']) { ?>
+<li><a href="home.php?mod=follow"><em class="prompt_concern"></em>我关注的(<?php echo $_G['member']['newprompt_num']['follow'];?>)</a></li>
+<?php } if($_G['member']['newprompt']) { if(is_array($_G['member']['category_num'])) foreach($_G['member']['category_num'] as $key => $val) { ?><li><a href="home.php?mod=space&amp;do=notice&amp;view=<?php echo $key;?>"><em class="notice_<?php echo $key;?>"></em><?php echo lang('template', 'notice_'.$key); ?>(<span class="rq"><?php echo $val;?></span>)</a></li>
+<?php } } if(empty($_G['cookie']['ignore_notice'])) { ?>
+<li class="ignore_noticeli"><a href="javascript:;" onClick="setcookie('ignore_notice', 1);hideMenu('myprompt_menu')" title="暂不提醒"><em class="ignore_notice"></em></a></li>
+<?php } ?>
+</ul>
+<?php } if($_G['uid'] && !empty($_G['style']['extstyle'])) { ?>
+<div id="sslct_menu" class="cl p_pop" style="display: none;">
+<?php if(!$_G['style']['defaultextstyle']) { ?><span class="sslct_btn" onClick="extstyle('')" title="默认"><i></i></span><?php } if(is_array($_G['style']['extstyle'])) foreach($_G['style']['extstyle'] as $extstyle) { ?><span class="sslct_btn" onClick="extstyle('<?php echo $extstyle['0'];?>')" title="<?php echo $extstyle['1'];?>"><i style='background:<?php echo $extstyle['2'];?>'></i></span>
+<?php } ?>
+</div>
+<?php } } ?><?php echo adshow("headerbanner/wp a_h");?><div id="hd" style="background:#FFF; height:60px; border-bottom:1px solid #E6E6E6; "><div class="clear"></div>
+            <div id="week_nav">
+                <div class="wk_navwp">
+                    <div class="wk_lonav">
+                        <div class="wk_logo">
+                            <?php $mnid = getcurrentnav();?>                            <h2><?php if(!isset($_G['setting']['navlogos'][$mnid])) { ?><a href="<?php if($_G['setting']['domain']['app']['default']) { ?>http://<?php echo $_G['setting']['domain']['app']['default'];?>/<?php } else { ?>./<?php } ?>" title="<?php echo $_G['setting']['bbname'];?>"><?php echo $_G['style']['boardlogo'];?></a><?php } else { ?><?php echo $_G['setting']['navlogos'][$mnid];?><?php } ?></h2>
+                        </div>
+                        <div class="wk_inav">
+                            <ul class="nav">
+                                <?php if(is_array($_G['setting']['navs'])) foreach($_G['setting']['navs'] as $nav) { ?>                                    <?php if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><li <?php if($mnid == $nav['navid']) { ?>class="a" <?php } ?><?php echo $nav['nav'];?>></li><?php } ?>
+                                <?php } ?>
+                            </ul>
+                            <?php if(!empty($_G['setting']['pluginhooks']['global_nav_extra'])) echo $_G['setting']['pluginhooks']['global_nav_extra'];?>
+                       	</div>
+                    </div>
+                    <div class="wk_idl">
+                        <div class="week-header-log">
+                             <ul class="week-log">
+                                  <li class="log-dd-trigger" style="display:block;">
+                                    <a>
+                                    	<span class="user_avatar">
+                                    <?php echo avatar($_G[uid],small);?>                                    	</span>
+                                        <img class="week-arrow" src="<?php echo $_G['style']['styleimgdir'];?>/log-arrow.png" width="10" height="6" >
+                                    </a>
+                                    <div class="u-box" style="display:none;"></div>
+                                    <?php include template('common/header_userstatus'); ?>                                </li>
+                            </ul>
+                        </div>
+                    </div>
+                    
+                </div>
+            </div>
+        </div>
+        
+        <script type="text/javascript">
+window.jQuery && !window.handleHeaderProduct && (window.handleHeaderProduct = function() {
+FOM(".log-dd-trigger").hover(function() {
+FOM(".u-box").show(), FOM(".log-dropdown").show()
+}, function() {
+FOM(".u-box").hide(), FOM(".log-dropdown").hide()
+});
+}());
+        </script>
+
+        <?php if(!empty($_G['setting']['plugins']['jsmenu'])) { ?>
+            <ul class="p_pop h_pop" id="plugin_menu" style="display: none">
+            <?php if(is_array($_G['setting']['plugins']['jsmenu'])) foreach($_G['setting']['plugins']['jsmenu'] as $module) { ?>                 <?php if(!$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])) { ?>
+                 <li><?php echo $module['url'];?></li>
+                 <?php } ?>
+            <?php } ?>
+            </ul>
+        <?php } ?>
+
+        <div class="sub_nav"> <?php echo $_G['setting']['menunavs'];?> </div>
+        <div id="mu" class="cl">
+            <div class="wp">
+            <?php if($_G['setting']['subnavs']) { ?>
+                <?php if(is_array($_G['setting']['subnavs'])) foreach($_G['setting']['subnavs'] as $navid => $subnav) { ?>                    <?php if($_G['setting']['navsubhover'] || $mnid == $navid) { ?>
+                    <style>#mu {width:100%; overflow:hidden; background:#F2F2F2; display:block; }</style>
+                    <ul class="cl <?php if($mnid == $navid) { ?>current<?php } ?>" id="snav_<?php echo $navid;?>" style="display:<?php if($mnid != $navid) { ?>none<?php } ?>">
+                    <?php echo $subnav;?>
+                    </ul>
+                    <?php } ?>
+                <?php } ?>
+            <?php } ?>
+            </div>
+        </div>
+        <?php echo adshow("subnavbanner/a_mu");?>    <?php if(!empty($_G['setting']['pluginhooks']['global_header'])) echo $_G['setting']['pluginhooks']['global_header'];?>
+<?php } ?>
+    <?php if($wk_nav) { ?><script src="<?php echo $_G['style']['styleimgdir'];?>/js/week_nav.js" type="text/javascript"></script><?php } ?> 
+
+<div id="wp" class="wp">

+ 1 - 1
data/template/3_3_common_header_plugin_study_seo_sitemap.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523452220, '3', './data/template/3_3_common_header_plugin_study_seo_sitemap.tpl.php', './template/wfdsoft_jiaohu', 'common/header_plugin_study_seo_sitemap')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524249359, '3', './data/template/3_3_common_header_plugin_study_seo_sitemap.tpl.php', './template/wfdsoft_jiaohu', 'common/header_plugin_study_seo_sitemap')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_plugin_wechat.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523468285, '3', './data/template/3_3_common_header_plugin_wechat.tpl.php', './template/wfdsoft_jiaohu', 'common/header_plugin_wechat')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524249353, '3', './data/template/3_3_common_header_plugin_wechat.tpl.php', './template/wfdsoft_jiaohu', 'common/header_plugin_wechat')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 154 - 0
data/template/3_3_common_header_plugin_xj_event.tpl.php

xqd
@@ -0,0 +1,154 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
+0
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524100378, '3', './data/template/3_3_common_header_plugin_xj_event.tpl.php', './template/wfdsoft_jiaohu', 'common/header_plugin_xj_event')
+;?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
+<?php if($_G['config']['output']['iecompatible']) { ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE<?php echo $_G['config']['output']['iecompatible'];?>" /><?php } ?>
+<title><?php if(!empty($navtitle)) { ?><?php echo $navtitle;?> <?php } if(empty($nobbname)) { ?> <?php echo $_G['setting']['bbname'];?><?php } ?></title>
+<?php echo $_G['setting']['seohead'];?>
+
+<meta name="keywords" content="<?php if(!empty($metakeywords)) { echo dhtmlspecialchars($metakeywords); } ?>" />
+<meta name="description" content="<?php if(!empty($metadescription)) { echo dhtmlspecialchars($metadescription); ?> <?php } if(empty($nobbname)) { ?>,<?php echo $_G['setting']['bbname'];?><?php } ?>" />
+<meta name="generator" content="思维定制! <?php echo $_G['setting']['version'];?>" />
+<meta name="author" content="思维定制! Think Different Team" />
+<meta name="copyright" content="2001-2020 Think Different Inc." />
+<meta name="MSSmartTagsPreventParsing" content="True" />
+<meta http-equiv="MSThemeCompatible" content="Yes" />
+    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
+<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
+<script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<script src="/<?php echo $_G['style']['styleimgdir'];?>/js/jquery-1.7.2.js" type="text/javascript"></script>
+    <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/pace.js" type="text/javascript"></script>
+    <?php require("./template/wfdsoft_jiaohu/week_config.php");?><?php require("./template/wfdsoft_$week/language/$wk_language");?><?php if(empty($_GET['diy'])) { $_GET['diy'] = '';?><?php } if(!isset($topic)) { $topic = array();?><?php } ?>
+<link href="/<?php echo $_G['style']['styleimgdir'];?>/style.css" rel="stylesheet" type="text/css" />
+<meta name="application-name" content="<?php echo $_G['setting']['bbname'];?>" />
+<meta name="msapplication-tooltip" content="<?php echo $_G['setting']['bbname'];?>" />
+<?php if($_G['setting']['portalstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['1']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G['siteurl'].'portal.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/portal.ico" /><?php } ?>
+<meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['2']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G['siteurl'].'forum.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/bbs.ico" />
+<?php if($_G['setting']['groupstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['3']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G['siteurl'].'group.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/group.ico" /><?php } if(helper_access::check_module('feed')) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['4']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G['siteurl'].'home.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/home.ico" /><?php } if($_G['basescript'] == 'forum' && $_G['setting']['archiver']) { ?>
+<link rel="archives" title="<?php echo $_G['setting']['bbname'];?>" href="<?php echo $_G['siteurl'];?>archiver/" />
+<?php } if(!empty($rsshead)) { ?><?php echo $rsshead;?><?php } if(widthauto()) { ?>
+<link rel="stylesheet" id="css_widthauto" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_widthauto?<?php echo VERHASH;?>' />
+<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
+<?php } if($_G['basescript'] == 'forum' || $_G['basescript'] == 'group') { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>forum.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } elseif($_G['basescript'] == 'home' || $_G['basescript'] == 'userapp') { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>home.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($_G['basescript'] != 'portal' || $_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>portal.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
+<link rel="stylesheet" type="text/css" id="diy_common" href="<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_css_diy.css?<?php echo VERHASH;?>" />
+<?php } ?>
+</head>
+
+<body id="nv_<?php echo $_G['basescript'];?>" class="pg_<?php echo CURMODULE;?><?php if($_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)) { ?> <?php echo $cat['bodycss'];?><?php } ?>" onkeydown="if(event.keyCode==27) return false;" >
+<div id="append_parent"></div><div id="ajaxwaitid"></div>
+<?php if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { include template('common/header_diy'); } if(check_diy_perm($topic)) { include template('common/header_diynav'); } if(CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)) { ?>
+<?php echo $diynav;?>
+<?php } if(empty($topic) || $topic['useheader']) { if($_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')) { ?>
+<div class="xi1 bm bm_c">
+    请选择 <a href="<?php echo $_G['siteurl'];?>forum.php?mobile=yes">进入手机版</a> <span class="xg1">|</span> <a href="<?php echo $_G['setting']['mobile']['nomobileurl'];?>">继续访问电脑版</a>
+</div>
+<?php } if($_G['setting']['shortcut'] && $_G['member']['credits'] >= $_G['setting']['shortcut']) { ?>
+<div id="shortcut">
+<span><a href="javascript:;" id="shortcutcloseid" title="关闭">关闭</a></span>
+您经常访问 <?php echo $_G['setting']['bbname'];?>,试试添加到桌面,访问更方便!
+<a href="javascript:;" id="shortcuttip">添加 <?php echo $_G['setting']['bbname'];?> 到桌面</a>
+
+</div>
+<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
+<?php } ?>
+<div id="toptb" class="cl" style="display:none;">
+<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_top'])) echo $_G['setting']['pluginhooks']['global_cpnav_top'];?>
+</div>
+<?php if(!IS_ROBOT) { if($_G['uid']) { ?>
+<ul id="myprompt_menu" class="p_pop mt23" style="display: none;">				
+<li><a href="home.php?mod=space&amp;do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news<?php if(empty($_G['member']['newpm'])) { ?>_0<?php } ?>"></em>消息</a></li>
+<li><a href="home.php?mod=follow&amp;do=follower"><em class="prompt_follower<?php if(empty($_G['member']['newprompt_num']['follower'])) { ?>_0<?php } ?>"></em>新听众<?php if($_G['member']['newprompt_num']['follower']) { ?>(<?php echo $_G['member']['newprompt_num']['follower'];?>)<?php } ?></a></li>
+<?php if($_G['member']['newprompt'] && $_G['member']['newprompt_num']['follow']) { ?>
+<li><a href="home.php?mod=follow"><em class="prompt_concern"></em>我关注的(<?php echo $_G['member']['newprompt_num']['follow'];?>)</a></li>
+<?php } if($_G['member']['newprompt']) { if(is_array($_G['member']['category_num'])) foreach($_G['member']['category_num'] as $key => $val) { ?><li><a href="home.php?mod=space&amp;do=notice&amp;view=<?php echo $key;?>"><em class="notice_<?php echo $key;?>"></em><?php echo lang('template', 'notice_'.$key); ?>(<span class="rq"><?php echo $val;?></span>)</a></li>
+<?php } } if(empty($_G['cookie']['ignore_notice'])) { ?>
+<li class="ignore_noticeli"><a href="javascript:;" onClick="setcookie('ignore_notice', 1);hideMenu('myprompt_menu')" title="暂不提醒"><em class="ignore_notice"></em></a></li>
+<?php } ?>
+</ul>
+<?php } if($_G['uid'] && !empty($_G['style']['extstyle'])) { ?>
+<div id="sslct_menu" class="cl p_pop" style="display: none;">
+<?php if(!$_G['style']['defaultextstyle']) { ?><span class="sslct_btn" onClick="extstyle('')" title="默认"><i></i></span><?php } if(is_array($_G['style']['extstyle'])) foreach($_G['style']['extstyle'] as $extstyle) { ?><span class="sslct_btn" onClick="extstyle('<?php echo $extstyle['0'];?>')" title="<?php echo $extstyle['1'];?>"><i style='background:<?php echo $extstyle['2'];?>'></i></span>
+<?php } ?>
+</div>
+<?php } } ?><?php echo adshow("headerbanner/wp a_h");?><div id="hd" style="background:#FFF; height:60px; border-bottom:1px solid #E6E6E6; "><div class="clear"></div>
+            <div id="week_nav">
+                <div class="wk_navwp">
+                    <div class="wk_lonav">
+                        <div class="wk_logo">
+                            <?php $mnid = getcurrentnav();?>                            <h2><?php if(!isset($_G['setting']['navlogos'][$mnid])) { ?><a href="<?php if($_G['setting']['domain']['app']['default']) { ?>http://<?php echo $_G['setting']['domain']['app']['default'];?>/<?php } else { ?>./<?php } ?>" title="<?php echo $_G['setting']['bbname'];?>"><?php echo $_G['style']['boardlogo'];?></a><?php } else { ?><?php echo $_G['setting']['navlogos'][$mnid];?><?php } ?></h2>
+                        </div>
+                        <div class="wk_inav">
+                            <ul class="nav">
+                                <?php if(is_array($_G['setting']['navs'])) foreach($_G['setting']['navs'] as $nav) { ?>                                    <?php if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><li <?php if($mnid == $nav['navid']) { ?>class="a" <?php } ?><?php echo $nav['nav'];?>></li><?php } ?>
+                                <?php } ?>
+                            </ul>
+                            <?php if(!empty($_G['setting']['pluginhooks']['global_nav_extra'])) echo $_G['setting']['pluginhooks']['global_nav_extra'];?>
+                       	</div>
+                    </div>
+                    <div class="wk_idl">
+                        <div class="week-header-log">
+                             <ul class="week-log">
+                                  <li class="log-dd-trigger" style="display:block;">
+                                    <a>
+                                    	<span class="user_avatar">
+                                    <?php echo avatar($_G[uid],small);?>                                    	</span>
+                                        <img class="week-arrow" src="<?php echo $_G['style']['styleimgdir'];?>/log-arrow.png" width="10" height="6" >
+                                    </a>
+                                    <div class="u-box" style="display:none;"></div>
+                                    <?php include template('common/header_userstatus'); ?>                                </li>
+                            </ul>
+                        </div>
+                    </div>
+                    
+                </div>
+            </div>
+        </div>
+        
+        <script type="text/javascript">
+window.jQuery && !window.handleHeaderProduct && (window.handleHeaderProduct = function() {
+FOM(".log-dd-trigger").hover(function() {
+FOM(".u-box").show(), FOM(".log-dropdown").show()
+}, function() {
+FOM(".u-box").hide(), FOM(".log-dropdown").hide()
+});
+}());
+        </script>
+
+        <?php if(!empty($_G['setting']['plugins']['jsmenu'])) { ?>
+            <ul class="p_pop h_pop" id="plugin_menu" style="display: none">
+            <?php if(is_array($_G['setting']['plugins']['jsmenu'])) foreach($_G['setting']['plugins']['jsmenu'] as $module) { ?>                 <?php if(!$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])) { ?>
+                 <li><?php echo $module['url'];?></li>
+                 <?php } ?>
+            <?php } ?>
+            </ul>
+        <?php } ?>
+
+        <div class="sub_nav"> <?php echo $_G['setting']['menunavs'];?> </div>
+        <div id="mu" class="cl">
+            <div class="wp">
+            <?php if($_G['setting']['subnavs']) { ?>
+                <?php if(is_array($_G['setting']['subnavs'])) foreach($_G['setting']['subnavs'] as $navid => $subnav) { ?>                    <?php if($_G['setting']['navsubhover'] || $mnid == $navid) { ?>
+                    <style>#mu {width:100%; overflow:hidden; background:#F2F2F2; display:block; }</style>
+                    <ul class="cl <?php if($mnid == $navid) { ?>current<?php } ?>" id="snav_<?php echo $navid;?>" style="display:<?php if($mnid != $navid) { ?>none<?php } ?>">
+                    <?php echo $subnav;?>
+                    </ul>
+                    <?php } ?>
+                <?php } ?>
+            <?php } ?>
+            </div>
+        </div>
+        <?php echo adshow("subnavbanner/a_mu");?>    <?php if(!empty($_G['setting']['pluginhooks']['global_header'])) echo $_G['setting']['pluginhooks']['global_header'];?>
+<?php } ?>
+    <?php if($wk_nav) { ?><script src="<?php echo $_G['style']['styleimgdir'];?>/js/week_nav.js" type="text/javascript"></script><?php } ?> 
+
+<div id="wp" class="wp">

+ 1 - 1
data/template/3_3_common_header_portal_index.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428799, '3', './data/template/3_3_common_header_portal_index.tpl.php', './template/wfdsoft_jiaohu', 'common/header_portal_index')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524100379, '3', './data/template/3_3_common_header_portal_index.tpl.php', './template/wfdsoft_jiaohu', 'common/header_portal_index')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_portal_list.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428800, '3', './data/template/3_3_common_header_portal_list.tpl.php', './template/wfdsoft_jiaohu', 'common/header_portal_list')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524102453, '3', './data/template/3_3_common_header_portal_list.tpl.php', './template/wfdsoft_jiaohu', 'common/header_portal_list')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_common_header_portal_view.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428933, '3', './data/template/3_3_common_header_portal_view.tpl.php', './template/wfdsoft_jiaohu', 'common/header_portal_view')
+|| checktplrefresh('./template/wfdsoft_jiaohu/common/header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524103032, '3', './data/template/3_3_common_header_portal_view.tpl.php', './template/wfdsoft_jiaohu', 'common/header_portal_view')
 ;?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 9 - 0
data/template/3_3_common_ipnotice.tpl.php

xqd
@@ -0,0 +1,9 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
+<div class="bm"><div class="bm_h cl"><a href="javascript:;" onclick="$('ip_notice').style.display='none';setcookie('lip', '', -1);" class="y" title="关闭">关闭</a>
+<h2>安全提醒</h2></div><div class="bm_c">
+<dl class="xld cl bbda">
+<dd>本次登录位置 <?php echo $status['lastip'];?> <?php echo $nowipConvert;?><br />上次登录位置 <?php echo $lip['0'];?> <?php echo $lastipConvert;?><br />上次登录时间 <?php echo $lastipDate;?></dd>
+</dl>
+<p class="ptn cl"><a href="home.php?mod=spacecp&amp;ac=profile&amp;op=password" onclick="$('ip_notice').style.display='none';setcookie('lip', '', -1);" class="xi2 y" target="_blank">登录地点异常,建议立即更改密码 &raquo;</a></p>
+</div>
+</div>

+ 0 - 63
data/template/3_3_common_preview.tpl.php

xqd
@@ -1,63 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<link rel="stylesheet" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo $_GET['styleid'];?>_common.css?<?php echo VERHASH;?>' />
-<style type="text/css">
-body { padding: 10px; }
-.premsg { padding: 5px; background-color: <?php echo $_G['style']['commonbg'];?>; }
-.xst { font-family: <?php echo $_G['style']['threadtitlefont'];?>; font-size: <?php echo $_G['style']['threadtitlefontsize'];?>; }
-#ft { padding: 10px; text-align: center; }
-</style>
-</head>
-<body>
-
-<div id="hd" class="mbm">
-<div class="hdc cl">
-<h2><?php echo $_G['style']['boardlogo'];?></h2>
-<div id="um">
-<div class="avt y"><?php echo avatar($_G['member'],small);?></div>
-<p><strong><a href="#"><?php echo $_G['member']['username'];?></a></strong><span class="xg1"> <a href="#">设置</a></span><span class="pipe">|</span><a href="#">消息</a></p>
-<p>积分<span class="pipe">|</span>用户组</p>
-</div>
-</div>
-<div id="nv">
-<ul>
-<li><a href="#"><?php echo $_G['setting']['navs']['1']['navname'];?><span>Home</span></a></li>
-<li><a href="#"><?php echo $_G['setting']['navs']['2']['navname'];?><span>BBS</span></a></li>
-<li><a href="#"><?php echo $_G['setting']['navs']['3']['navname'];?><span>Group</span></a></li>
-<li><a href="#"><?php echo $_G['setting']['navs']['4']['navname'];?><span>Space</span></a></li>
-</ul>
-</div>
-</div>
-
-<div class="bm">
-<div class="bm_h cl">
-<h2>表头</h2>
-</div>
-<div class="bm_c">
-<div class="premsg"><a href="javascript:;" class="xi2">Crossday Discuz! Board</a> 社区系统(简称 <stong class="xw1 xi1">Discuz!</stong>)是一个采用 PHP 和 MySQL 等其他多种数据库构建的高效建站解决方案。</div>
-<table class="dt">
-<tr>
-<td class="xs0">SMALL FONT</td>
-<td><a href="javascript:;">链接文字</a></td>
-<td><a href="javascript:;" class="xi2">高亮链接</a></td>
-</tr>
-<tr>
-<td>普通文本</td>
-<td class="xg2">中等文本</td>
-<td class="xg1">浅色文字</td>
-</tr>
-<tr class="bw0_all">
-<td colspan="3" class="xst">主题列表字体</td>
-</tr>
-</table>
-</div>
-</div>
-
-<div id="ft">
-版权及页脚信息
-</div>
-
-</body>
-</html>

+ 4 - 4
data/template/3_3_forum_forumdisplay_fastpost.tpl.php

xqd
@@ -1,9 +1,9 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/default/forum/forumdisplay_fastpost.htm', './template/default/common/seditor.htm', 1523428986, '3', './data/template/3_3_forum_forumdisplay_fastpost.tpl.php', './template/wfdsoft_jiaohu', 'forum/forumdisplay_fastpost')
-|| checktplrefresh('./template/default/forum/forumdisplay_fastpost.htm', './template/default/forum/seccheck_post.htm', 1523428986, '3', './data/template/3_3_forum_forumdisplay_fastpost.tpl.php', './template/wfdsoft_jiaohu', 'forum/forumdisplay_fastpost')
-|| checktplrefresh('./template/default/forum/forumdisplay_fastpost.htm', './template/default/common/upload.htm', 1523428986, '3', './data/template/3_3_forum_forumdisplay_fastpost.tpl.php', './template/wfdsoft_jiaohu', 'forum/forumdisplay_fastpost')
-|| checktplrefresh('./template/default/forum/forumdisplay_fastpost.htm', './template/default/common/seccheck.htm', 1523428986, '3', './data/template/3_3_forum_forumdisplay_fastpost.tpl.php', './template/wfdsoft_jiaohu', 'forum/forumdisplay_fastpost')
+|| checktplrefresh('./template/default/forum/forumdisplay_fastpost.htm', './template/default/common/seditor.htm', 1524717344, '3', './data/template/3_3_forum_forumdisplay_fastpost.tpl.php', './template/wfdsoft_jiaohu', 'forum/forumdisplay_fastpost')
+|| checktplrefresh('./template/default/forum/forumdisplay_fastpost.htm', './template/default/forum/seccheck_post.htm', 1524717344, '3', './data/template/3_3_forum_forumdisplay_fastpost.tpl.php', './template/wfdsoft_jiaohu', 'forum/forumdisplay_fastpost')
+|| checktplrefresh('./template/default/forum/forumdisplay_fastpost.htm', './template/default/common/upload.htm', 1524717344, '3', './data/template/3_3_forum_forumdisplay_fastpost.tpl.php', './template/wfdsoft_jiaohu', 'forum/forumdisplay_fastpost')
+|| checktplrefresh('./template/default/forum/forumdisplay_fastpost.htm', './template/default/common/seccheck.htm', 1524717344, '3', './data/template/3_3_forum_forumdisplay_fastpost.tpl.php', './template/wfdsoft_jiaohu', 'forum/forumdisplay_fastpost')
 ;?>
 <script type="text/javascript">
 var postminchars = parseInt('<?php echo $_G['setting']['minpostsize'];?>');

+ 1 - 1
data/template/3_3_forum_guide.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('guide');
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/forum/guide.htm', './template/wfdsoft_jiaohu/forum/guide_list_row.htm', 1523451787, '3', './data/template/3_3_forum_guide.tpl.php', './template/wfdsoft_jiaohu', 'forum/guide')
+|| checktplrefresh('./template/wfdsoft_jiaohu/forum/guide.htm', './template/wfdsoft_jiaohu/forum/guide_list_row.htm', 1524125830, '3', './data/template/3_3_forum_guide.tpl.php', './template/wfdsoft_jiaohu', 'forum/guide')
 ;?><?php include template('common/header'); ?><style type="text/css">
 .xl2 { background: url(<?php echo IMGDIR;?>/vline.png) repeat-y 50% 0; }
 .xl2 li { width: 49.9%; }

+ 1278 - 0
data/template/3_3_forum_post.tpl.php

xqd
@@ -0,0 +1,1278 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('post');
+0
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/post_editor_extra.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/post_editor_body.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/post_editor_attribute.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/seccheck_post.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/common/editor_menu.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/editor_menu_forum.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/common/upload.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/common/editor.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/common/seccheck.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/post_attachlimit.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/post_attachlimit.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/post_attachlimit.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+|| checktplrefresh('./template/default/forum/post.htm', './template/default/forum/post_attachlimit.htm', 1524717412, '3', './data/template/3_3_forum_post.tpl.php', './template/wfdsoft_jiaohu', 'forum/post')
+;?><?php include template('common/header'); ?><script type="text/javascript">
+var allowpostattach = parseInt('<?php echo $_G['group']['allowpostattach'];?>');
+var allowpostimg = parseInt('<?php echo $allowpostimg;?>');
+var pid = parseInt('<?php echo $pid;?>');
+var tid = parseInt('<?php echo $_G['tid'];?>');
+var extensions = '<?php echo $_G['group']['attachextensions'];?>';
+var imgexts = '<?php echo $imgexts;?>';
+var postminchars = parseInt('<?php echo $_G['setting']['minpostsize'];?>');
+var postmaxchars = parseInt('<?php echo $_G['setting']['maxpostsize'];?>');
+var disablepostctrl = parseInt('<?php echo $_G['group']['disablepostctrl'];?>');
+var seccodecheck = parseInt('<?php if($seccodecheck) { ?>1<?php } else { ?>0<?php } ?>');
+var secqaacheck = parseInt('<?php if($secqaacheck) { ?>1<?php } else { ?>0<?php } ?>');
+var typerequired = parseInt('<?php echo $_G['forum']['threadtypes']['required'];?>');
+var sortrequired = parseInt('<?php echo $_G['forum']['threadsorts']['required'];?>');
+var special = parseInt('<?php echo $special;?>');
+var isfirstpost = <?php if($isfirstpost) { ?>1<?php } else { ?>0<?php } ?>;
+var allowposttrade = parseInt('<?php echo $_G['group']['allowposttrade'];?>');
+var allowpostreward = parseInt('<?php echo $_G['group']['allowpostreward'];?>');
+var allowpostactivity = parseInt('<?php echo $_G['group']['allowpostactivity'];?>');
+var sortid = parseInt('<?php echo $sortid;?>');
+var special = parseInt('<?php echo $special;?>');
+var fid = <?php echo $_G['fid'];?>;
+var postaction = '<?php echo $_GET['action'];?>';
+var ispicstyleforum = <?php if($_G['forum']['picstyle']) { ?>1<?php } else { ?>0<?php } ?>;
+</script>
+
+<?php if($_GET['action'] == 'edit') { $editor[value] = $postinfo[message];?><?php } else { $editor[value] = $message;?><?php } ?>
+<script src="<?php echo $_G['setting']['jspath'];?>forum_post.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+
+<?php if($isfirstpost && $sortid) { ?>
+<script type="text/javascript">
+var forum_optionlist = <?php if($forum_optionlist) { ?>'<?php echo $forum_optionlist;?>'<?php } else { ?>''<?php } ?>;
+</script>
+<script src="<?php echo $_G['setting']['jspath'];?>threadsort.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } ?><?php
+$actiontitle = <<<EOF
+
+
+EOF;
+ if($_GET['action'] == 'newthread') { if($special == 0) { 
+$actiontitle .= <<<EOF
+发表帖子
+
+EOF;
+ } elseif($special == 1) { 
+$actiontitle .= <<<EOF
+发起投票
+
+EOF;
+ } elseif($special == 2) { 
+$actiontitle .= <<<EOF
+出售商品
+
+EOF;
+ } elseif($special == 3) { 
+$actiontitle .= <<<EOF
+发布悬赏
+
+EOF;
+ } elseif($special == 4) { 
+$actiontitle .= <<<EOF
+发起活动
+
+EOF;
+ } elseif($special == 5) { 
+$actiontitle .= <<<EOF
+发起辩论
+
+EOF;
+ } elseif($specialextra) { 
+$actiontitle .= <<<EOF
+{$_G['setting']['threadplugins'][$specialextra]['name']}
+
+EOF;
+ } } elseif($_GET['action'] == 'reply' && !empty($_GET['addtrade'])) { 
+$actiontitle .= <<<EOF
+
+添加商品
+
+EOF;
+ } elseif($_GET['action'] == 'reply') { 
+$actiontitle .= <<<EOF
+
+参与/回复主题
+
+EOF;
+ } elseif($_GET['action'] == 'edit') { if($special == 2) { 
+$actiontitle .= <<<EOF
+编辑商品
+EOF;
+ } else { 
+$actiontitle .= <<<EOF
+编辑帖子
+EOF;
+ } } 
+$actiontitle .= <<<EOF
+
+
+EOF;
+?><?php
+$icon = <<<EOF
+
+
+EOF;
+ if($special == 1) { 
+$icon .= <<<EOF
+poll
+
+EOF;
+ } elseif($special == 2) { 
+$icon .= <<<EOF
+trade
+
+EOF;
+ } elseif($special == 3) { 
+$icon .= <<<EOF
+reward
+
+EOF;
+ } elseif($special == 4) { 
+$icon .= <<<EOF
+activity
+
+EOF;
+ } elseif($special == 5) { 
+$icon .= <<<EOF
+debate
+
+EOF;
+ } elseif($isfirstpost && $sortid) { 
+$icon .= <<<EOF
+sort
+
+EOF;
+ } 
+$icon .= <<<EOF
+
+
+EOF;
+?>
+
+<?php if($_GET['action'] != 'newthread') { $subjectcut = cutstr($thread[subject], 30);?><?php } ?><?php
+$actionsubject = <<<EOF
+
+
+EOF;
+ if($_GET['action'] == 'reply') { 
+$actionsubject .= <<<EOF
+
+<em>&rsaquo;</em><a href="forum.php?mod=viewthread&amp;tid={$thread['tid']}">{$subjectcut}</a>
+
+EOF;
+ } elseif($_GET['action'] == 'edit') { 
+$actionsubject .= <<<EOF
+
+<em>&rsaquo;</em><a href="forum.php?mod=redirect&amp;goto=findpost&amp;ptid={$thread['tid']}&amp;pid={$pid}">{$subjectcut}</a>
+
+EOF;
+ } 
+$actionsubject .= <<<EOF
+
+
+EOF;
+?>
+
+<div id="pt" class="bm cl">
+<div class="z"><a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a> <?php echo $navigation;?><?php echo $actionsubject;?> <em>&rsaquo;</em> <?php echo $actiontitle;?></div>
+</div><?php $adveditor = $isfirstpost && $special || $special == 2 && ($_GET['action'] == 'newthread' || $_GET['action'] == 'reply' && !empty($_GET['addtrade']) || $_GET['action'] == 'edit' && $thread['special'] == 2);?><?php $advmore = !$showthreadsorts && !$special || $_GET['action'] == 'reply' && empty($_GET['addtrade']) || $_GET['action'] == 'edit' && !$isfirstpost && ($thread['special'] == 2 && !$special || $thread['special'] != 2);?><form method="post" autocomplete="off" id="postform"
+<?php if($_GET['action'] == 'newthread') { ?>action="forum.php?mod=post&amp;action=<?php if($special != 2) { ?>newthread<?php } else { ?>newtrade<?php } ?>&amp;fid=<?php echo $_G['fid'];?>&amp;extra=<?php echo $extra;?>&amp;topicsubmit=yes"
+<?php } elseif($_GET['action'] == 'reply') { ?>action="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;extra=<?php echo $extra;?>&amp;replysubmit=yes"
+<?php } elseif($_GET['action'] == 'edit') { ?>action="forum.php?mod=post&amp;action=edit&amp;extra=<?php echo $extra;?>&amp;editsubmit=yes" <?php echo $enctype;?>
+<?php } ?>
+onsubmit="return validate(this)">
+<div id="ct" class="ct2_a ct2_a_r wp cl">
+<input type="hidden" name="formhash" id="formhash" value="<?php echo FORMHASH;?>" />
+<input type="hidden" name="posttime" id="posttime" value="<?php echo TIMESTAMP;?>" />
+<?php if($_GET['action'] == 'edit') { ?>
+<input type="hidden" name="delattachop" id="delattachop" value="0" />
+<?php } if(!empty($_GET['modthreadkey'])) { ?><input type="hidden" name="modthreadkey" id="modthreadkey" value="<?php echo $_GET['modthreadkey'];?>" /><?php } ?>
+<input type="hidden" name="wysiwyg" id="<?php echo $editorid;?>_mode" value="<?php echo $editormode;?>" />
+<?php if($_GET['action'] == 'reply') { ?>
+<input type="hidden" name="noticeauthor" value="<?php echo $noticeauthor;?>" />
+<input type="hidden" name="noticetrimstr" value="<?php echo $noticetrimstr;?>" />
+<input type="hidden" name="noticeauthormsg" value="<?php echo $noticeauthormsg;?>" />
+<?php if($reppid) { ?>
+<input type="hidden" name="reppid" value="<?php echo $reppid;?>" />
+<?php } if($_GET['reppost']) { ?>
+<input type="hidden" name="reppost" value="<?php echo $_GET['reppost'];?>" />
+<?php } elseif($_GET['repquote']) { ?>
+<input type="hidden" name="reppost" value="<?php echo $_GET['repquote'];?>" />
+<?php } } if($_GET['action'] == 'edit') { ?>
+<input type="hidden" name="fid" id="fid" value="<?php echo $_G['fid'];?>" />
+<input type="hidden" name="tid" value="<?php echo $_G['tid'];?>" />
+<input type="hidden" name="pid" value="<?php echo $pid;?>" />
+<input type="hidden" name="page" value="<?php echo $_GET['page'];?>" />
+<?php } if($special) { ?>
+<input type="hidden" name="special" value="<?php echo $special;?>" />
+<?php } if($specialextra) { ?>
+<input type="hidden" name="specialextra" value="<?php echo $specialextra;?>" />
+<?php } ?>
+<div class="bm bw0 cl"<?php if(!$showthreadsorts && !$adveditor) { ?> id="editorbox"<?php } ?>>
+<?php if($_GET['action'] == 'newthread') { ?>
+<ul class="tb cl mbw">
+<?php if($savecount) { ?>
+<li class="y"><a id="draftlist" href="javascript:;" class="xi2" onmouseover="showMenu({'ctrlid':'draftlist','ctrlclass':'a','duration':2,'pos':'34'})">草稿箱(<strong><?php echo $savecount;?></strong>)</a></li>
+<?php } if(!$_G['forum']['threadsorts']['required'] && !$_G['forum']['allowspecialonly']) { ?><li<?php echo $postspecialcheck['0'];?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread')">发表帖子</a></li><?php } if(is_array($_G['forum']['threadsorts']['types'])) foreach($_G['forum']['threadsorts']['types'] as $tsortid => $name) { ?><li<?php if($sortid == $tsortid) { ?> class="a"<?php } ?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread&sortid=<?php echo $tsortid;?>')"><?php echo strip_tags($name);; ?></a></li>
+<?php } if($_G['group']['allowpostpoll']) { ?><li<?php echo $postspecialcheck['1'];?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread&special=1')">发起投票</a></li><?php } if($_G['group']['allowpostreward']) { ?><li<?php echo $postspecialcheck['3'];?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread&special=3')">发布悬赏</a></li><?php } if($_G['group']['allowpostdebate']) { ?><li<?php echo $postspecialcheck['5'];?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread&special=5')">发起辩论</a></li><?php } if($_G['group']['allowpostactivity']) { ?><li<?php echo $postspecialcheck['4'];?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread&special=4')">发起活动</a></li><?php } if($_G['group']['allowposttrade']) { ?><li<?php echo $postspecialcheck['2'];?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread&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'])) { ?>
+<li<?php if($specialextra==$tpid) { ?> class="a"<?php } ?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=newthread&specialextra=<?php echo $tpid;?>')"><?php echo $_G['setting']['threadplugins'][$tpid]['name'];?></a></li>
+<?php } } } ?>
+</ul>
+
+<div id="draftlist_menu" style="display:none">
+<ul class="xl xl1">
+<?php if($savethreads) { if(is_array($savethreads)) foreach($savethreads as $savethread) { ?><li>
+<label>[<a href="javascript:;" title="引用" onclick="insertsave(<?php echo $savethread['pid'];?>)">引用</a>]</label>
+<a href="forum.php?mod=post&amp;action=edit&amp;fid=<?php echo $savethread['fid'];?>&amp;tid=<?php echo $savethread['tid'];?>&amp;pid=<?php echo $savethread['pid'];?>" class="xi2" target="_blank"><?php echo $savethread['subject'];?></a>
+<span class="xg1"><?php echo $savethread['dateline'];?></span>
+</li>
+<?php } } if($savethreadothers) { if(is_array($savethreadothers)) foreach($savethreadothers as $savethread) { ?><li>
+<label>[<a href="javascript:;" title="引用" onclick="insertsave(<?php echo $savethread['pid'];?>)">引用</a>]</label>
+<a href="forum.php?mod=post&amp;action=edit&amp;fid=<?php echo $savethread['fid'];?>&amp;tid=<?php echo $savethread['tid'];?>&amp;pid=<?php echo $savethread['pid'];?>" class="xi2" target="_blank"><?php echo $savethread['subject'];?></a>
+<span class="xg1"><?php echo $savethread['dateline'];?></span>
+</li>
+<?php } } ?>
+<li class="xi2"><a href="forum.php?mod=guide&amp;view=my&amp;type=thread&amp;filter=save&amp;fid=0" target="_blank">查看所有草稿</a></li>
+</ul>
+</div>
+
+<?php } elseif($_GET['action'] == 'edit' && $isfirstpost && !$thread['sortid']) { ?>
+<ul class="tb cl mbw">
+<li<?php if(!$sortid) { ?> class="a"<?php } ?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=edit&tid=<?php echo $_G['tid'];?>&pid=<?php echo $pid;?>')"><?php echo $actiontitle;?></a></li>
+<?php if($_GET['action'] == 'edit' && $isfirstpost && !$thread['sortid']) { if(is_array($_G['forum']['threadsorts']['types'])) foreach($_G['forum']['threadsorts']['types'] as $tsortid => $name) { ?><li<?php if($sortid == $tsortid) { ?> class="a"<?php } ?>><a href="javascript:;" onclick="switchpost('forum.php?mod=post&action=edit&tid=<?php echo $_G['tid'];?>&pid=<?php echo $pid;?>&sortid=<?php echo $tsortid;?>')"><?php echo strip_tags($name);; ?></a></li>
+<?php } } ?>
+</ul>
+<?php } ?>
+
+<div id="postbox">
+<?php if($_GET['action'] == 'newthread' && $_G['setting']['sitemessage']['newthread'] || $_GET['action'] == 'reply' && $_G['setting']['sitemessage']['reply']) { ?>
+<span id="custominfo" class="y cur1<?php if($_GET['action'] != 'reply') { ?> mtn<?php } ?>">&nbsp;<img src="<?php echo IMGDIR;?>/info_small.gif" alt="帮助" /></span>
+<?php } ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_top'])) echo $_G['setting']['pluginhooks']['post_top'];?><div class="pbt cl">
+<?php if($sortid) { ?>
+<input type="hidden" name="sortid" value="<?php echo $sortid;?>" />
+<?php } if($isfirstpost && !empty($_G['forum']['threadtypes']['types'])) { ?>
+<div class="ftid">
+<?php if($_G['forum']['ismoderator'] || empty($_G['forum']['threadtypes']['moderators'][$thread['typeid']])) { ?>
+<select name="typeid" id="typeid" width="80">
+<option value="0">选择主题分类</option><?php if(is_array($_G['forum']['threadtypes']['types'])) foreach($_G['forum']['threadtypes']['types'] as $typeid => $name) { if(empty($_G['forum']['threadtypes']['moderators'][$typeid]) || $_G['forum']['ismoderator']) { ?>
+<option value="<?php echo $typeid;?>"<?php if($thread['typeid'] == $typeid || $_GET['typeid'] == $typeid) { ?> selected="selected"<?php } ?>><?php echo strip_tags($name);; ?></option>
+<?php } } ?>
+</select>
+<?php } else { ?>
+[<?php echo strip_tags($_G['forum']['threadtypes']['types'][$thread['typeid']]);; ?>]
+<?php } ?>
+</div>
+<?php } ?>
+<div class="z">
+<?php if($_GET['action'] == 'reply' && !empty($_GET['addtrade']) || $_GET['action'] == 'edit' && $thread['special'] == 2 && !$postinfo['first']) { ?>
+<input name="subject" type="hidden" value="" />
+<?php } else { if($_GET['action'] != 'reply') { ?>
+<span><input type="text" name="subject" id="subject" class="px" value="<?php echo $postinfo['subject'];?>" <?php if($_GET['action'] == 'newthread') { ?>onblur="if($('tags')){relatekw('-1','-1'<?php if($_G['group']['allowposttag']) { ?>,function(){extraCheck(4)}<?php } ?>);doane();}"<?php } ?> onkeyup="strLenCalc(this, 'checklen', 80);" style="width: 25em" tabindex="1" /></span>
+<?php } else { ?>
+<span id="subjecthide" class="z">RE: <?php echo $thread['subject'];?> [<a href="javascript:;" onclick="display('subjecthide');display('subjectbox');$('subject').value='RE: <?php echo dhtmlspecialchars(str_replace('\'', '\\\'', $thread['subject'])); ?>';display('subjectchk');strLenCalc($('subject'), 'checklen', 80);return false;">修改</a>]</span>
+<span id="subjectbox" style="display:none"><input type="text" name="subject" id="subject" class="px" value="" onkeyup="strLenCalc(this, 'checklen', 80);" style="width: 25em" /></span>
+<?php } ?>			
+<span id="subjectchk"<?php if($_GET['action'] == 'reply') { ?> style="display:none"<?php } ?>>还可输入 <strong id="checklen">80</strong> 个字符</span>
+<script type="text/javascript">strLenCalc($('subject'), 'checklen', 80)</script>
+<?php } if($_GET['action'] == 'newthread' && $modnewthreads) { ?> <span class="xg1 xw0">(需审核)</span><?php } if($_GET['action'] == 'reply' && $modnewreplies) { ?> <span class="xg1 xw0">(需审核)</span><?php } if($_GET['action'] == 'edit' && $isfirstpost && $thread['displayorder'] == -4) { ?> <span class="xg1 xw0">(草稿)</span><?php } ?>
+</div>
+</div>
+<?php if(!$isfirstpost && $thread['special'] == 5 && empty($firststand) && $_GET['action'] != 'edit') { ?>
+<div class="pbt cl">
+<div class="ftid">
+<select name="stand" id="stand">
+<option value="">选择观点</option>
+<option value="0">中立</option>
+<option value="1"<?php if($stand == 1) { ?> selected="selected"<?php } ?>>正方</option>
+<option value="2"<?php if($stand == 2) { ?> selected="selected"<?php } ?>>反方</option>
+</select>
+</div>
+</div>
+<?php } ?>
+
+<div id="attachnotice_attach" class="tbms mbm xl" style="display:none">
+您有 <span id="unusednum_attach"></span> 个未使用的附件 &nbsp; <a href="javascript:;" class="xi2" onclick="attachoption('attach', 2);" />查看</a><span class="pipe">|</span><a href="javascript:;" class="xi2" onclick="attachoption('attach', 1)">使用</a><span class="pipe">|</span><a href="javascript:;" class="xi2" onclick="attachoption('attach', 0)">删除</a>
+<div id="unusedlist_attach" style="display:none"></div>
+</div>
+<div id="attachnotice_img" class="tbms mbm xl" style="display:none">
+您有 <span id="unusednum_img"></span> 个未使用的图片 &nbsp; <a href="javascript:;" class="xi2" onclick="attachoption('img', 2);" />查看</a><span class="pipe">|</span><a href="javascript:;" class="xi2" onclick="attachoption('img', 1)">使用</a><span class="pipe">|</span><a href="javascript:;" class="xi2" onclick="attachoption('img', 0)">删除</a>
+<div id="unusedlist_img" style="display:none"></div>
+</div>
+
+<?php if($showthreadsorts) { ?>
+<div class="exfm cl"><?php include template('forum/post_sortoption'); ?></div>
+<?php } elseif($adveditor) { if($special == 1) { include template('forum/post_poll'); } elseif($special == 2 && ($_GET['action'] != 'edit' || ($_GET['action'] == 'edit' && ($thread['authorid'] == $_G['uid'] && $_G['group']['allowposttrade'] || $_G['group']['allowedittrade'])))) { ?><p class="xg1">添加商品信息,完成后可在本帖中继续添加多个商品</p><?php include template('forum/post_trade'); } elseif($special == 3) { include template('forum/post_reward'); } elseif($special == 4) { include template('forum/post_activity'); } elseif($special == 5) { include template('forum/post_debate'); } elseif($specialextra) { ?><div class="specialpost s_clear"><?php echo $threadplughtml;?></div>
+<?php } } if($_GET['action'] == 'reply' && $quotemessage) { ?>
+<div class="pbt cl"><?php echo $quotemessage;?></div>
+<?php } ?><div id="<?php echo $editorid;?>_body_loading"><img src="<?php echo IMGDIR;?>/loading.gif" width="16" height="16" class="vm" /> 请稍后 ...</div>
+<div class="edt" id="<?php echo $editorid;?>_body" style="display: none">
+<div id="<?php echo $editorid;?>_controls" class="bar">
+<div class="y">
+<div class="b2r nbl nbr" id="<?php echo $editorid;?>_adv_5">
+<p>
+<a id="<?php echo $editorid;?>_undo" title="撤销">Undo</a>
+</p>
+<p>
+<a id="<?php echo $editorid;?>_redo" title="重做">Redo</a>
+</p>
+</div>
+<div class="z">
+<span class="mbn"><a id="<?php echo $editorid;?>_fullswitcher"></a><a id="<?php echo $editorid;?>_simple"></a></span>
+<label id="<?php echo $editorid;?>_switcher" class="bar_swch ptn"><input id="<?php echo $editorid;?>_switchercheck" type="checkbox" class="pc" name="checkbox" value="0" <?php if(!$editor['editormode']) { ?>checked="checked"<?php } ?> onclick="switchEditor(this.checked?0:1)" />纯文本</label>
+</div>
+</div>
+<?php if(!empty($_G['setting']['pluginhooks']['post_editorctrl_right'])) { ?>
+<div class="y"><?php if(!empty($_G['setting']['pluginhooks']['post_editorctrl_right'])) echo $_G['setting']['pluginhooks']['post_editorctrl_right'];?></div>
+<?php } ?>
+<div id="<?php echo $editorid;?>_button" class="btn cl">
+<div class="b2r nbr nbl" id="<?php echo $editorid;?>_adv_s2">
+<a id="<?php echo $editorid;?>_fontname" class="dp" title="设置字体" menupos="43!"><span id="<?php echo $editorid;?>_font">字体</span></a>
+<a id="<?php echo $editorid;?>_fontsize" class="dp" title="设置文字大小" menupos="43!" menuwidth="25"><span id="<?php echo $editorid;?>_size">大小</span></a>
+<span id="<?php echo $editorid;?>_adv_1">
+<a id="<?php echo $editorid;?>_inserthorizontalrule" title="分隔线">Hr</a>
+<br />
+</span>
+<a id="<?php echo $editorid;?>_bold" title="文字加粗">B</a>
+<a id="<?php echo $editorid;?>_italic" title="文字斜体">I</a>
+<a id="<?php echo $editorid;?>_underline" title="文字加下划线">U</a>
+<a id="<?php echo $editorid;?>_forecolor" title="设置文字颜色">Color</a>
+<a id="<?php echo $editorid;?>_backcolor" title="设置文字背景色">BgColor</a>
+<a id="<?php echo $editorid;?>_url" title="添加链接">Url</a>
+<span id="<?php echo $editorid;?>_adv_8">
+<a id="<?php echo $editorid;?>_unlink" title="移除链接">Unlink</a>
+</span>
+</div>
+<div class="b2r nbl" id="<?php echo $editorid;?>_adv_2">
+<p id="<?php echo $editorid;?>_adv_3">
+<a id="<?php echo $editorid;?>_tbl" title="添加表格">Table</a>
+</p>
+<p>
+<a id="<?php echo $editorid;?>_removeformat" title="清除文本格式">Removeformat</a>
+</p>
+</div>
+<div class="b2r">
+<p>
+<a id="<?php echo $editorid;?>_autotypeset" title="自动排版">Autotypeset</a>
+<a id="<?php echo $editorid;?>_justifyleft" title="居左">Left</a>
+<a id="<?php echo $editorid;?>_justifycenter" title="居中">Center</a>
+<a id="<?php echo $editorid;?>_justifyright" title="居右">Right</a>
+</p>
+<p id="<?php echo $editorid;?>_adv_4">
+<a id="<?php echo $editorid;?>_floatleft" title="左浮动">FloatLeft</a>
+<a id="<?php echo $editorid;?>_floatright" title="右浮动">FloatRight</a>
+<a id="<?php echo $editorid;?>_insertorderedlist" title="排序的列表">Orderedlist</a>
+<a id="<?php echo $editorid;?>_insertunorderedlist" title="未排序列表">Unorderedlist</a>
+</p>
+</div>
+<div class="b1r" id="<?php echo $editorid;?>_adv_s1">
+<a id="<?php echo $editorid;?>_sml" title="添加表情">表情</a>
+<div id="<?php echo $editorid;?>_imagen" style="display:none">!</div>
+<a id="<?php echo $editorid;?>_image" title="添加图片" menupos="00" menuwidth="600">图片</a>
+<?php if($_G['group']['allowpostattach']) { ?>
+<div id="<?php echo $editorid;?>_attachn" style="display:none">!</div>
+<a id="<?php echo $editorid;?>_attach" title="添加附件" menupos="00" menuwidth="600">附件</a>
+<?php } if($_G['forum']['allowmediacode'] && $_G['group']['allowmediacode']) { ?>
+<a id="<?php echo $editorid;?>_aud" title="添加音乐">音乐</a>
+<a id="<?php echo $editorid;?>_vid" title="添加视频">视频</a>
+<a id="<?php echo $editorid;?>_fls" title="添加 Flash">Flash</a>
+<?php } if(($_GET['action'] == 'newthread' || $_GET['action'] == 'reply' || $_GET['action'] == 'edit') && $_G['group']['allowat']) { ?>
+<a id="<?php echo $editorid;?>_at" title="@好友和关注的人" menupos="43" menuwidth="600">@朋友</a>
+<?php } ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_editorctrl_left'])) echo $_G['setting']['pluginhooks']['post_editorctrl_left'];?>
+</div>
+<div class="b2r esb" id="<?php echo $editorid;?>_adv_s3">
+<?php if(!empty($_G['setting']['pluginhooks']['post_editorctrl_top'])) echo $_G['setting']['pluginhooks']['post_editorctrl_top'];?>
+<a id="<?php echo $editorid;?>_quote" title="添加引用文字">引用</a>
+<a id="<?php echo $editorid;?>_code" title="添加代码文字">代码</a>
+<?php if($isfirstpost) { ?>
+<a id="<?php echo $editorid;?>_free" adv="1" title="添加免费信息">Free</a>
+<?php if($_G['group']['allowhidecode']) { ?><a id="<?php echo $editorid;?>_hide" adv="1" title="添加隐藏内容">Hide</a><?php } } ?>
+<a id="<?php echo $editorid;?>_pasteword" adv="1" title="从 Word 粘贴内容">Word 粘贴</a>
+<?php if($_G['group']['allowdownremoteimg']) { if(!($_G['setting']['magicstatus'] && !empty($_G['setting']['magics']['doodle']))) { } ?><a id="<?php echo $editorid;?>_downremoteimg" adv="1" title="下载远程图片">下载图片</a><?php } if($isfirstpost) { ?>
+<a id="<?php echo $editorid;?>_page" adv="1" title="分页">Page</a>
+<a id="<?php echo $editorid;?>_index" adv="1" title="目录">Index</a>
+<?php } if($_G['setting']['magicstatus'] && !empty($_G['setting']['magics']['doodle'])) { ?>
+<a id="a_magic_doodle" adv="1" href="home.php?mod=magic&amp;mid=doodle&amp;showid=comment_doodle&amp;target=<?php echo $editorid;?>_textarea&amp;from=forumeditor" class="cst" onclick="showWindow(this.id, this.href, 'get', 0)"><img src="<?php echo STATICURL;?>image/magic/doodle.small.gif" alt="doodle" title="<?php echo $_G['setting']['magics']['doodle'];?>" style="margin-top:2px" /></a>
+<?php } ?>
+<a id="<?php echo $editorid;?>_password" adv="1" title="帖子密码">Password</a>
+<a id="<?php echo $editorid;?>_postbg" adv="1" title="帖子背景">Background</a>
+<?php if($_G['group']['allowbegincode'] && $isfirstpost) { ?>
+<a id="<?php echo $editorid;?>_beginning" adv="1" title="添加起始动画" menupos="43" menuwidth="600">动画</a>
+<?php } if(is_array($_G['cache']['bbcodes_display'][$_G['groupid']])) foreach($_G['cache']['bbcodes_display'][$_G['groupid']] as $tag => $bbcode) { ?><a id="<?php echo $editorid;?>_cst<?php echo $bbcode['params'];?>_<?php echo $tag;?>" class="cst" title="<?php echo $bbcode['explanation'];?>"><img src="<?php echo STATICURL;?>image/common/<?php echo $bbcode['icon'];?>" title="<?php echo $bbcode['explanation'];?>" alt="<?php echo $tag;?>" /></a>
+<?php } ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_editorctrl_bottom'])) echo $_G['setting']['pluginhooks']['post_editorctrl_bottom'];?>
+</div>
+</div>
+</div>
+
+<div id="rstnotice" class="ntc_l bbs" style="display:none">
+<a href="javascript:;" title="清除内容" class="d y" onclick="userdataoption(0)">close</a>您有上次未提交成功的数据 <a class="xi2" href="javascript:;" onclick="userdataoption(1)"><strong>恢复数据</strong></a>
+</div>
+
+<div class="area">
+<textarea name="<?php echo $editor['textarea'];?>" id="<?php echo $editorid;?>_textarea" class="pt" rows="15" tabindex="2"><?php echo $editor['value'];?></textarea>
+</div><link rel="stylesheet" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_editor.css?<?php echo VERHASH;?>' />
+<script src="<?php echo $_G['setting']['jspath'];?>editor.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<script src="<?php echo $_G['setting']['jspath'];?>bbcode.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<script type="text/javascript">
+var editorid = '<?php echo $editorid;?>';
+var textobj = $(editorid + '_textarea');
+var wysiwyg = (BROWSER.ie || BROWSER.firefox || (BROWSER.opera >= 9)) && parseInt('<?php echo $editor['editormode'];?>') == 1 ? 1 : 0;
+var allowswitcheditor = parseInt('<?php echo $editor['allowswitcheditor'];?>');
+var allowhtml = parseInt('<?php echo $editor['allowhtml'];?>');
+var allowsmilies = parseInt('<?php echo $editor['allowsmilies'];?>');
+var allowbbcode = parseInt('<?php echo $editor['allowbbcode'];?>');
+var allowimgcode = parseInt('<?php echo $editor['allowimgcode'];?>');
+var simplodemode = parseInt('<?php if($editor['simplemode'] > 0) { ?>1<?php } else { ?>0<?php } ?>');
+var fontoptions = new Array("宋体", "新宋体", "黑体", "微软雅黑", "Arial", "Verdana", "simsun", "Helvetica", "Trebuchet MS", "Tahoma", "Impact", "Times New Roman", "仿宋,仿宋_GB2312", "楷体,楷体_GB2312");
+var smcols = <?php echo $_G['setting']['smcols'];?>;
+var custombbcodes = new Array();
+<?php if($_G['cache']['bbcodes_display'][$_G['groupid']]) { if(is_array($_G['cache']['bbcodes_display'][$_G['groupid']])) foreach($_G['cache']['bbcodes_display'][$_G['groupid']] as $tag => $bbcode) { ?>custombbcodes["<?php echo $tag;?>"] = {'prompt' : '<?php echo $bbcode['prompt'];?>'};
+<?php } } ?>
+</script>
+
+<div id="<?php echo $editorid;?>_bbar" class="bbar">
+<em id="<?php echo $editorid;?>_tip"></em>
+<span id="<?php echo $editorid;?>_svdsecond"></span>
+<a href="javascript:;" onclick="discuzcode('svd');return false;" id="<?php echo $editorid;?>_svd">保存数据</a> |
+<a href="javascript:;" onclick="discuzcode('rst');return false;" id="<?php echo $editorid;?>_rst">恢复数据</a> &nbsp;&nbsp;
+<?php if($editor['allowchecklength']) { ?>
+<a href="javascript:;" onclick="discuzcode('chck');return false;" id="<?php echo $editorid;?>_chck">字数检查</a> |
+<?php } if($editor['allowtopicreset']) { ?>
+<a href="javascript:;" onclick="discuzcode('tpr');return false;" id="<?php echo $editorid;?>_tpr">清除内容</a> &nbsp;&nbsp;
+<?php } if($editor['allowresize']) { ?>
+<span id="<?php echo $editorid;?>_resize"><a href="javascript:;" onclick="editorsize('+');return false;">加大编辑框</a> | <a href="javascript:;" onclick="editorsize('-');return false;">缩小编辑框</a><img src="<?php echo STATICURL;?>image/editor/resize.gif" onmousedown="editorresize(event)" /></span>
+<?php } ?>
+</div></div>
+<?php if(!empty($_G['setting']['pluginhooks']['post_middle'])) echo $_G['setting']['pluginhooks']['post_middle'];?><div id="post_extra" class="ptm cl">
+<div id="post_extra_tb" class="cl" onselectstart="return false">
+<label id="extra_additional_b" onclick="showExtra('extra_additional')"><span id="extra_additional_chk">附加选项</span></label>
+<?php if($_GET['action'] == 'newthread' || $_GET['action'] == 'edit' && $isfirstpost) { if($_G['group']['allowsetreadperm']) { ?>
+<label id="extra_readperm_b" onclick="showExtra('extra_readperm')"><span id="extra_readperm_chk">阅读权限</span></label>
+<?php } if($_G['group']['allowreplycredit'] && !in_array($special, array(2, 3))) { if($_GET['action'] == 'newthread') { $extcreditstype = $_G['setting']['creditstransextra'][10];?><?php } else { $extcreditstype = $replycredit_rule['extcreditstype'] ? $replycredit_rule['extcreditstype'] : $_G['setting']['creditstransextra'][10];?><?php } $userextcredit = getuserprofile('extcredits'.$extcreditstype);?><?php if(($_GET['action'] == 'newthread' && $userextcredit > 0) || ($_GET['action'] == 'edit' && $isorigauthor && isfirstpost)) { ?>
+<label id="extra_replycredit_b" onclick="showExtra('extra_replycredit')"><span id="extra_replycredit_chk">回帖奖励</span></label>
+<?php } } if(($_GET['action'] == 'newthread' && $_G['group']['allowpostrushreply'] && $special != 2) || ($_GET['action'] == 'edit' && getstatus($thread['status'], 3))) { ?>
+<label id="extra_rushreplyset_b" onclick="showExtra('extra_rushreplyset')"><span id="extra_rushreplyset_chk">抢楼主题</span></label>
+<?php } if($_G['group']['maxprice'] && !$special) { ?>
+<label id="extra_price_b" onclick="showExtra('extra_price')"><span id="extra_price_chk">主题售价</span></label>
+<?php } if($_G['group']['allowposttag']) { ?>
+<label id="extra_tag_b" onclick="showExtra('extra_tag')"><span id="extra_tag_chk">主题标签</span></label>
+<?php } if($_G['group']['allowsetpublishdate'] && ($_GET['action'] == 'newthread' || ($_GET['action'] == 'edit' && $isfirstpost && $thread['displayorder'] == -4))) { ?>
+<label id="extra_pubdate_b" onclick="showExtra('extra_pubdate')"><span id="extra_pubdate_chk">定时发布</span></label>
+<?php } } ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_attribute_extra'])) echo $_G['setting']['pluginhooks']['post_attribute_extra'];?>
+</div>
+
+<div id="post_extra_c">
+<?php if($_GET['action'] == 'newthread' || $_GET['action'] == 'edit' && $isfirstpost) { if(!empty($userextcredit)) { ?>
+<div id="extra_replycredit_c" class="exfm cl" style="display: none;">
+<div><label>每次回帖奖励: <input type="text" name="replycredit_extcredits" id="replycredit_extcredits" class="px pxs vm" value="<?php if($replycredit_rule['extcredits'] && $thread['replycredit'] > 0) { ?><?php echo $replycredit_rule['extcredits'];?><?php } else { ?>0<?php } ?>" onkeyup="javascript:getreplycredit();" onblur="extraCheck(0)" /> <?php echo $_G['setting']['extcredits'][$extcreditstype]['unit'];?><?php echo $_G['setting']['extcredits'][$extcreditstype]['title'];?></label><span class="xg1">(留空或填 0 为不奖励)</span> , <label>奖励 <input type="text" name="replycredit_times" id="replycredit_times" class="px pxs vm" value="<?php if($replycredit_rule['lasttimes']) { ?><?php echo $replycredit_rule['lasttimes'];?><?php } else { ?>1<?php } ?>" onkeyup="javascript:getreplycredit();"  onblur="extraCheck(0)" /> 次</label>, <label>每人最多可获得 <select id="replycredit_membertimes" name="replycredit_membertimes" class="ps vm"><?php for($i=1;$i<11;$i++) {;?><option value="<?php echo $i;?>"<?php if($replycredit_rule['membertimes'] == $i) { ?> selected="selected"<?php } ?>><?php echo $i;?></option><?php };?></select> 次</label>, <label>中奖率 <select id="replycredit_random" name="replycredit_random" class="ps vm">
+ <?php for($i=100;$i>9;$i=$i-10) {;?><option value="<?php echo $i;?>"<?php if($replycredit_rule['random'] == $i) { ?> selected="selected"<?php } ?>><?php echo $i;?></option><?php };?></select> %</label></div>
+<div class="xg1">回帖奖励总额: <span id="replycredit_sum"><?php if($thread['replycredit']) { ?><?php echo $thread['replycredit'];?><?php } else { ?>0<?php } ?></span> <?php echo $_G['setting']['extcredits'][$extcreditstype]['unit'];?><?php echo $_G['setting']['extcredits'][$extcreditstype]['title'];?><?php if($thread['replycredit']) { ?><span class="xg1">(本帖尚有 <?php echo $thread['replycredit'];?> <?php echo $_G['setting']['extcredits'][$extcreditstype]['unit'];?><?php echo $_G['setting']['extcredits'][$extcreditstype]['title'];?>)</span><?php } ?>, <span id="replycredit">税后支付 <?php echo $_G['setting']['extcredits'][$extcreditstype]['title'];?> 0</span> <?php echo $_G['setting']['extcredits'][$extcreditstype]['unit'];?>, 您有 <?php echo $_G['setting']['extcredits'][$extcreditstype]['title'];?> <?php echo $userextcredit;?> <?php echo $_G['setting']['extcredits'][$extcreditstype]['unit'];?></div>
+</div>
+<?php } if($_G['group']['allowsetreadperm']) { ?>
+<div id="extra_readperm_c" class="exfm cl" style="display:none">
+<table cellspacing="0" cellpadding="0">
+<tr>
+<td class="xw1">阅读权限</td>
+<td>
+<select name="readperm" id="readperm" class="ps" style="width:90px" onchange="extraCheck(1)">
+<option value="">不限</option><?php if(is_array($_G['cache']['groupreadaccess'])) foreach($_G['cache']['groupreadaccess'] as $val) { ?><option value="<?php echo $val['readaccess'];?>" title="阅读权限: <?php echo $val['readaccess'];?>"<?php if($thread['readperm'] == $val['readaccess']) { ?> selected="selected"<?php } ?>><?php echo $val['grouptitle'];?></option>
+<?php } ?>
+<option value="255"<?php if($thread['readperm'] == 255) { ?> selected="selected"<?php } ?>>最高权限</option>
+</select>
+<span class="xg1">阅读权限按由高到低排列,高于或等于选中组的用户才可以阅读</span>
+</td>
+</tr>
+</table>
+</div>
+<?php } if($_G['group']['maxprice'] && !$special) { ?>
+<div id="extra_price_c" class="exfm cl" style="display:none">
+售价:
+<input type="text" id="price" name="price" class="px pxs" value="<?php echo $thread['pricedisplay'];?>" onblur="extraCheck(2)" /> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['title'];?>
+<span class="xg1">(最高 <?php echo $_G['group']['maxprice'];?> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit'];?>)</span>
+<?php if($_G['group']['maxprice'] && ($_GET['action'] == 'newthread' || $_GET['action'] == 'edit' && $isfirstpost)) { if($_G['setting']['maxincperthread']) { ?><p class="xg1">主题出售最高收入上限为 <?php echo $_G['setting']['maxincperthread'];?> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit'];?>&nbsp;&nbsp;&nbsp;&nbsp;</p><?php } if($_G['setting']['maxchargespan']) { ?><p class="xg1">主题最多能销售 <?php echo $_G['setting']['maxchargespan'];?> 个小时<?php if($_GET['action'] == 'edit' && $freechargehours) { ?>,本主题还能销售 <?php echo $freechargehours;?> 个小时<?php } ?></p><?php } } ?>
+</div>
+<?php } if($_G['group']['allowposttag']) { ?>
+<div id="extra_tag_c" class="exfm cl" style="display: none;">
+<table cellspacing="0" cellpadding="0">
+<tr>
+<td class="xw1">标签</td>
+<td>
+<input type="text" class="px vm" size="60" id="tags" name="tags" value="<?php echo $postinfo['tag'];?>" onblur="extraCheck(4)" />
+<a href="javascript:;" id="clickbutton[]" class="xi2" onclick="relatekw('-1','-1');doane();">自动获取</a><span class="pipe">|</span><a href="javascript:;" id="choosetag" class="xi2" onclick="showWindow(this.id, 'forum.php?mod=tag', 'get', 0)">选择标签</a>
+</td>
+</tr>
+<tr>
+<td></td>
+<td>
+<p class="xg1">用逗号或空格隔开多个标签,最多可填写 5 个</p><?php $recent_use_tag = recent_use_tag();?><?php if($recent_use_tag) { ?>
+<p class="mtn">最近使用标签:&nbsp;<?php $tagi = 0;?><?php if(is_array($recent_use_tag)) foreach($recent_use_tag as $var) { if($tagi) { ?>, <?php } ?><a href="javascript:;" class="xi2" onclick="$('tags').value == '' ? $('tags').value += '<?php echo $var;?>' : $('tags').value += ',<?php echo $var;?>';extraCheck(4);doane();"><?php echo $var;?></a><?php $tagi++;?><?php } ?>
+</p>
+<?php } ?>
+</td>
+</tr>
+</table>
+</div>
+<?php } if(($_GET['action'] == 'newthread' && $_G['group']['allowpostrushreply'] && $special != 2) || ($_GET['action'] == 'edit' && getstatus($thread['status'], 3))) { ?>
+<div class="exfm cl" id="extra_rushreplyset_c" style="display: none;">
+<div class="sinf sppoll z">
+<dl>
+<dt><span style="width: 4em">&nbsp;</span></dt>
+<dd><label for="rushreply"><input type="checkbox" name="rushreply" id="rushreply" class="pc vm" value="1" <?php if($_GET['action'] == 'edit' && getstatus($thread['status'], 3)) { ?>disabled="disabled" checked="checked"<?php } ?> onclick="extraCheck(3)" /> 设为抢楼主题</label></dd>
+<dt><label>抢楼时间:</label></dt>
+<dd>
+<div>
+<input type="text" name="rushreplyfrom" id="rushreplyfrom" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="<?php echo $postinfo['rush']['starttimefrom'];?>" onkeyup="$('rushreply').checked = true;" /><span> ~ </span><input type="text" onclick="showcalendar(event, this, true)" autocomplete="off" id="rushreplyto" name="rushreplyto" class="px" value="<?php echo $postinfo['rush']['starttimeto'];?>" onkeyup="$('rushreply').checked = true;" />
+</div>
+</dd>
+<dt><label>奖励楼层:</label></dt>
+<dd>
+<input type="text" name="rewardfloor" id="rewardfloor" class="px oinf" value="<?php echo $postinfo['rush']['rewardfloor'];?>" onkeyup="$('rushreply').checked = true;" />
+<p class="xg1">多楼层用英文逗号隔开,*号可匹配任意数或空值,如:8,88,*88</p>
+</dd>
+</dl>
+</div>
+<div class="sadd z">
+<dl>
+<dt>&nbsp;</dt>
+<dd>&nbsp;</dd>
+<dt><label for="stopfloor">回帖限制: </label></dt>
+<dd>
+<input type="text" name="replylimit" id="replylimit" class="px" autocomplete="off" value="<?php echo $postinfo['rush']['replylimit'];?>" onkeyup="$('rushreply').checked = true;" /> <span class="xg1">每个用户回帖次数上限</span>
+</dd>
+<dt><label for="stopfloor">截止楼层:</label></dt>
+<dd>
+<input type="text" name="stopfloor" id="stopfloor" class="px" autocomplete="off" value="<?php echo $postinfo['rush']['stopfloor'];?>" onkeyup="$('rushreply').checked = true;" />
+</dd>
+<dt><label for="creditlimit"><?php if($_G['setting']['creditstransextra']['11']) { ?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['11']]['title'];?><?php } else { ?>积分<?php } ?>下限:</label></dt>
+<dd>
+<input type="text" name="creditlimit" id="creditlimit" class="px" autocomplete="off" value="<?php echo $postinfo['rush']['creditlimit'];?>" onkeyup="$('rushreply').checked = true;" />
+<p class="xg1"><?php if($_G['setting']['creditstransextra']['11']) { ?>(<?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['11']]['title'];?>)<?php } else { ?>总积分<?php } ?>大于此设置才能参与抢楼,可不填</p>
+</dd>
+</dl>
+</div>
+</div>
+<?php } if($_G['group']['allowsetpublishdate'] && ($_GET['action'] == 'newthread' || ($_GET['action'] == 'edit' && $isfirstpost && $thread['displayorder'] == -4))) { ?>
+<div class="exfm cl" id="extra_pubdate_c" style="display: none;">
+<label><input type="checkbox" name="cronpublish" onclick="if(this.checked) {$('cronpublishdate').click();doane(event,false);};extraCheck(5);hidenFollowBtn(this.checked);" id="cronpublish" value="true" class="pc"<?php if($cronpublish) { ?> checked="checked"<?php } ?> />定时发布</label>
+<input type="text" name="cronpublishdate" id="cronpublishdate" class="px" onclick="showcalendar(event, this, true, false, false, true);" autocomplete="off" value="<?php echo $cronpublishdate;?>" onchange="if(this.value) $('cronpublish').checked = true;">
+</div>
+<?php } } ?>
+
+<div class="exfm cl" id="extra_additional_c" style="display: none;">
+<table cellspacing="0" cellpadding="0">
+<tr>
+<td class="xw1" valign="top">基本属性</td>
+<td>
+<?php if($_GET['action'] != 'edit') { if($_G['group']['allowanonymous']) { ?><label for="isanonymous"><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" />使用匿名发帖</label><?php } } else { if($_G['group']['allowanonymous'] || (!$_G['group']['allowanonymous'] && $orig['anonymous'])) { ?><label for="isanonymous"><input type="checkbox" name="isanonymous" id="isanonymous" class="pc" value="1" <?php if($orig['anonymous']) { ?>checked="checked"<?php } ?> />使用匿名发帖</label><?php } } if($_GET['action'] == 'newthread' || $_GET['action'] == 'edit' && $isfirstpost) { ?>
+<label for="hiddenreplies"><input type="checkbox" name="hiddenreplies" id="hiddenreplies" class="pc"<?php if($thread['hiddenreplies']) { ?> checked="checked"<?php } ?> value="1">回帖仅作者可见</label>
+<?php } if($_G['uid'] && ($_GET['action'] == 'newthread' || $_GET['action'] == 'edit' && $isfirstpost) && $special != 3) { ?>
+<label for="ordertype"><input type="checkbox" name="ordertype" id="ordertype" class="pc" value="1" <?php echo $ordertypecheck;?> />回帖倒序排列</label>
+<?php } if(($_GET['action'] == 'newthread' || $_GET['action'] == 'edit' && $isfirstpost)) { ?>
+<label for="allownoticeauthor"><input type="checkbox" name="allownoticeauthor" id="allownoticeauthor" class="pc" value="1"<?php if($allownoticeauthor) { ?> checked="checked"<?php } ?> />接收回复通知</label>
+<?php } if($_GET['action'] != 'edit' && helper_access::check_module('feed') && $_G['forum']['allowfeed']) { ?>
+<label for="addfeed"><input type="checkbox" name="addfeed" id="addfeed" class="pc" value="1" <?php echo $addfeedcheck;?>>发送动态</label>
+<?php } ?>
+<label for="usesig"><input type="checkbox" name="usesig" id="usesig" class="pc" value="1" <?php if(!$_G['group']['maxsigsize']) { ?>disabled <?php } else { ?><?php echo $usesigcheck;?> <?php } ?>/>使用个人签名</label>
+</td>
+</tr>
+<tr>
+<td class="xw1" valign="top">文本特性</td>
+<td>
+<?php if(($_G['forum']['allowhtml'] || ($_GET['action'] == 'edit' && ($orig['htmlon'] & 1))) && $_G['group']['allowhtml']) { ?>
+<label for="htmlon"><input type="checkbox" name="htmlon" id="htmlon" class="pc" value="1" <?php echo $htmloncheck;?> />HTML 代码</label>
+<?php } else { ?>
+<label for="htmlon"><input type="checkbox" name="htmlon" id="htmlon" class="pc" value="0" <?php echo $htmloncheck;?> disabled="disabled" />HTML 代码</label>
+<?php } ?>
+<label for="allowimgcode"><input type="checkbox" id="allowimgcode" class="pc" disabled="disabled"<?php if($_G['forum']['allowimgcode']) { ?> checked="checked"<?php } ?> />[img] 代码</label>
+<?php if($_G['forum']['allowimgcode']) { ?>
+<label for="allowimgurl"><input type="checkbox" id="allowimgurl" class="pc" checked="checked" />解析图片链接</label>
+<?php } ?>
+<label for="parseurloff"><input type="checkbox" name="parseurloff" id="parseurloff" class="pc" value="1" <?php echo $urloffcheck;?> />禁用链接识别</label>
+<label for="smileyoff"><input type="checkbox" name="smileyoff" id="smileyoff" class="pc" value="1" <?php echo $smileyoffcheck;?> />禁用表情</label>
+<label for="bbcodeoff"><input type="checkbox" name="bbcodeoff" id="bbcodeoff" class="pc" value="1" <?php echo $codeoffcheck;?> />禁用编辑器代码</label>
+<?php if($_G['group']['allowimgcontent']) { ?>
+<label for="imgcontent"><input type="checkbox" name="imgcontent" id="imgcontent" class="pc" value="1" <?php echo $imgcontentcheck;?> onclick="switchEditor(this.checked?0:1);$('e_switchercheck').checked=this.checked;" />内容生成图片</label>
+<?php } else { ?>
+<label for="imgcontent"><input type="checkbox" name="imgcontent" id="imgcontent" class="pc" value="0" <?php echo $imgcontentcheck;?> disabled="disabled"/>内容生成图片</label>
+<?php } ?>
+</td>
+</tr>
+<?php if($_GET['action'] == 'newthread' && $_G['forum']['ismoderator'] && ($_G['group']['allowdirectpost'] || !$_G['forum']['modnewposts'])) { if($_GET['action'] == 'newthread' && $_G['forum']['ismoderator'] && ($_G['group']['allowdirectpost'] || !$_G['forum']['modnewposts']) && ($_G['group']['allowstickthread'] || $_G['group']['allowdigestthread'])) { ?>
+<tr>
+<td class="xw1" valign="top">管理操作</td>
+<td>
+<?php if($_G['group']['allowstickthread']) { ?>
+<label for="sticktopic"><input type="checkbox" name="sticktopic" id="sticktopic" class="pc" value="1" <?php echo $stickcheck;?> />主题置顶</label>
+<?php } if($_G['group']['allowdigestthread']) { ?>
+<label for="addtodigest"><input type="checkbox" name="addtodigest" id="addtodigest" class="pc" value="1" <?php echo $digestcheck;?> />精华帖子</label>
+<?php } ?>
+</td>
+</tr>
+<?php } } elseif($_GET['action'] == 'edit' && $_G['forum_auditstatuson']) { ?>
+<tr>
+<td class="xw1" valign="top">管理操作</td>
+<td>
+<label for="audit"><input type="checkbox" name="audit" id="audit" class="pc" value="1">通过审核</label>
+</td>
+</tr>
+<?php } if($_GET['action'] == 'edit' && $isorigauthor && ($isfirstpost && $thread['replies'] < 1 || !$isfirstpost) && !$rushreply && $_G['setting']['editperdel']) { ?>
+<tr>
+<td class="xw1" valign="top">删除本帖</td>
+<td>
+<button type="button" class="pn xi1" onclick="deleteThread();"><span>删除本帖</span></button>
+<input type="hidden" name="delete" id="delete" value="0" />
+删除后无法撤销<?php if($thread['special'] == 3) { ?>, ,返还悬赏费用,不退还手续费<?php } ?>
+</td>
+</tr>
+<?php } ?>
+</table>
+</div>
+
+<?php if(!empty($_G['setting']['pluginhooks']['post_attribute_extra_body'])) echo $_G['setting']['pluginhooks']['post_attribute_extra_body'];?>
+</div>
+</div>
+<?php if($_GET['action'] != 'edit') { ?>
+<div id="seccheck">
+<?php if($secqaacheck || $seccodecheck) { ?><?php
+$sectpl = <<<EOF
+<sec> <span id="sec<hash>" onclick="showMenu(
+EOF;
+ if(!empty($_G['gp_infloat'])) { 
+$sectpl .= <<<EOF
+{'ctrlid':this.id,'win':'{$_GET['handlekey']}'}
+EOF;
+ } else { 
+$sectpl .= <<<EOF
+this.id
+EOF;
+ } 
+$sectpl .= <<<EOF
+)"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div>
+EOF;
+?>
+<div class="mtm"><?php $sechash = !isset($sechash) ? 'S'.($_G['inajax'] ? 'A' : '').$_G['sid'] : $sechash.random(3);
+$sectpl = str_replace("'", "\'", $sectpl);?><?php if($secqaacheck) { ?>
+<span id="secqaa_q<?php echo $sechash;?>"></span>		
+<script type="text/javascript" reload="1">updatesecqaa('q<?php echo $sechash;?>', '<?php echo $sectpl;?>', '<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>');</script>
+<?php } if($seccodecheck) { ?>
+<span id="seccode_c<?php echo $sechash;?>"></span>		
+<script type="text/javascript" reload="1">updateseccode('c<?php echo $sechash;?>', '<?php echo $sectpl;?>', '<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>');</script>
+<?php } ?></div><?php } ?>
+</div>
+<?php } ?>
+
+<div class="mtm mbm pnpost">
+<a href="home.php?mod=spacecp&amp;ac=credit&amp;op=rule&amp;fid=<?php echo $_G['fid'];?>" class="y" target="_blank">本版积分规则</a>
+<button type="submit" id="postsubmit" class="pn pnc" value="true" name="<?php if($_GET['action'] == 'newthread') { ?>topicsubmit<?php } elseif($_GET['action'] == 'reply') { ?>replysubmit<?php } elseif($_GET['action'] == 'edit') { ?>editsubmit<?php } ?>">
+<?php if($_GET['action'] == 'newthread') { if($special == 0) { ?><span>发表帖子</span>
+<?php } elseif($special == 1) { ?><span>发起投票</span>
+<?php } elseif($special == 2) { ?><span>出售商品</span>
+<?php } elseif($special == 3) { ?><span>发布悬赏</span>
+<?php } elseif($special == 4) { ?><span>发起活动</span>
+<?php } elseif($special == 5) { ?><span>发起辩论</span>
+<?php } elseif($special == 127) { ?>
+<span><?php if($buttontext) { ?><?php echo $buttontext;?><?php } else { ?>发表帖子<?php } ?></span>
+<?php } } elseif($_GET['action'] == 'reply' && !empty($_GET['addtrade'])) { ?><span>添加商品</span>
+<?php } elseif($_GET['action'] == 'reply') { ?><span>参与/回复主题</span>
+<?php } elseif($_GET['action'] == 'edit' && $isfirstpost && $thread['displayorder'] == -4) { ?>
+<span>发表帖子</span>
+<?php } elseif($_GET['action'] == 'edit') { ?><span>保存</span>
+<?php } ?>
+</button>
+<?php if($_G['uid']) { ?>
+<input type="hidden" id="postsave" name="save" value="" />
+<?php if($_GET['action'] == 'newthread' && !$modnewthreads || $_GET['action'] == 'edit' && $isfirstpost && !$modnewreplies && $thread['displayorder'] == -4) { ?>
+<button type="button" id="postsubmit" class="pn" value="true" onclick="$('postsave').value = 1;$('postsubmit').click();"><em>保存草稿</em></button>
+<?php } } ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_btn_extra'])) echo $_G['setting']['pluginhooks']['post_btn_extra'];?>
+<?php if(helper_access::check_module('follow') && $_GET['action'] != 'edit') { ?>
+<span id="adddynamicspan"><label><input type="checkbox" name="adddynamic" id="adddynamic" value="true" class="pc" <?php if($_G['forum']['allowfeed'] && !$_G['tid'] && empty($_G['forum']['viewperm'])) { ?>checked="checked"<?php } ?> />转播给听众</label></span>
+<?php } if(!empty($_G['setting']['pluginhooks']['post_sync_method'])) { ?>
+<span>
+将此主题同步到:
+<?php if(!empty($_G['setting']['pluginhooks']['post_sync_method'])) echo $_G['setting']['pluginhooks']['post_sync_method'];?>
+</span>
+<?php } if($special == 2) { ?>
+<label><input type="checkbox" name="continueadd" value="yes" class="pc" />继续添加商品</label>
+<?php } if(helper_access::check_module('group') && $mygroups && $_G['forum']['status'] != 3) { ?>
+<span id="adddynamicspan"><label>&nbsp;&nbsp;来自群组:<select name="mygroupid"><option value="">选择我的群组</option><?php if(is_array($mygroups)) foreach($mygroups as $mygroupid => $mygroupname) { ?><option value="<?php echo $mygroupid;?>__<?php echo $mygroupname;?>" <?php if($selectgroupid == $mygroupid) { ?> selected<?php } ?>><?php echo $mygroupname;?></option><?php } ?></select></label></span>
+<?php } ?>
+</div>
+
+<?php if(!empty($_G['setting']['pluginhooks']['post_bottom'])) echo $_G['setting']['pluginhooks']['post_bottom'];?>
+</div>
+</div>
+</div>
+</form>
+<iframe name="ajaxpostframe" id="ajaxpostframe" style="display: none;"></iframe>
+
+<div id="<?php echo $editorid;?>_menus" class="editorrow" style="overflow: hidden; margin-top: -5px; height: 0; border: none; background: transparent;"><div id="<?php echo $editorid;?>_editortoolbar" class="editortoolbar"><?php $fontoptions = array("宋体", "新宋体", "黑体", "微软雅黑", "Arial", "Verdana", "simsun", "Helvetica", "Trebuchet MS", "Tahoma", "Impact", "Times New Roman", "仿宋,仿宋_GB2312", "楷体,楷体_GB2312")?><div class="p_pop fnm" id="<?php echo $editorid;?>_fontname_menu" style="display: none">
+<ul unselectable="on"><?php if(is_array($fontoptions)) foreach($fontoptions as $fontname) { ?><li onclick="discuzcode('fontname', '<?php echo $fontname;?>')" style="font-family: <?php echo $fontname;?>" unselectable="on"><a href="javascript:;" title="<?php echo $fontname;?>"><?php echo $fontname;?></a></li>
+<?php } ?>
+</ul>
+</div><?php $sizeoptions = array(1, 2, 3, 4, 5, 6, 7)?><div class="p_pop fszm" id="<?php echo $editorid;?>_fontsize_menu" style="display: none">
+<ul unselectable="on"><?php if(is_array($sizeoptions)) foreach($sizeoptions as $size) { ?><li onclick="discuzcode('fontsize', <?php echo $size;?>)" unselectable="on"><a href="javascript:;" title="<?php echo $size;?>"><font size="<?php echo $size;?>" unselectable="on"><?php echo $size;?></font></a></li>
+<?php } ?>
+</ul>
+</div>
+
+</div>
+
+<script type="text/javascript">smilies_show('smiliesdiv', <?php echo $_G['setting']['smcols'];?>, editorid + '_');showHrBox(editorid+'_inserthorizontalrule');showHrBox(editorid+'_postbg', 'postbg');</script><?php
+$creditstring = <<<EOF
+
+EOF;
+ if(is_array($postattachcredits)) foreach($postattachcredits as $id => $credit) { if($credit != '') { 
+$creditstring .= <<<EOF
+{$_G['setting']['extcredits'][$id]['title']} 
+EOF;
+ if($credit >= 0) { 
+$creditstring .= <<<EOF
++{$credit}
+EOF;
+ } else { 
+$creditstring .= <<<EOF
+{$credit}
+EOF;
+ } 
+$creditstring .= <<<EOF
+ {$_G['setting']['extcredits'][$id]['unit']} &nbsp;
+EOF;
+ } } 
+$creditstring .= <<<EOF
+
+EOF;
+?>
+
+
+<script type="text/javascript">
+function switchImagebutton(btn) {
+switchButton(btn, 'image');
+$(editorid + '_image_menu').style.height = '';
+doane();
+}
+function switchAttachbutton(btn) {
+switchButton(btn, 'attach');
+doane();
+}
+</script>
+<div class="p_pof" id="<?php echo $editorid;?>_image_menu" style="display: none" unselectable="on">
+<table width="100%" cellpadding="0" cellspacing="0" class="fwin"><tr><td class="t_l"></td><td class="t_c"></td><td class="t_r"></td></tr><tr><td class="m_l">&nbsp;&nbsp;</td><td class="m_c"><div class="mtm">
+<ul class="tb tb_s cl" id="<?php echo $editorid;?>_image_ctrl" style="margin-top:0;margin-bottom:0;">
+<li class="y"><span class="flbc" onclick="hideAttachMenu('image')">关闭</span></li>
+<?php if($allowpostimg) { ?>
+<li class="current" id="<?php echo $editorid;?>_btn_imgattachlist"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('imgattachlist');">上传图片</a></li>
+<?php if($allowuploadtoday) { ?>
+<li id="<?php echo $editorid;?>_btn_local" style="display:none;" did="<?php echo $editorid;?>_btn_imgattachlist|local"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('local');">普通上传</a></li>
+<?php } } if(helper_access::check_module('album')) { ?><li <?php if(!$allowpostimg) { ?>class="current"<?php } ?> id="<?php echo $editorid;?>_btn_albumlist"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('albumlist');">相册图片</a></li><?php } ?>
+<li <?php if(!$allowpostimg && !helper_access::check_module('album')) { ?>class="current"<?php } ?> id="<?php echo $editorid;?>_btn_www"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('www');">网络图片</a></li>
+
+<?php if(!empty($_G['setting']['pluginhooks']['post_image_btn_extra'])) echo $_G['setting']['pluginhooks']['post_image_btn_extra'];?>
+</ul>
+<div unselectable="on" id="<?php echo $editorid;?>_www" <?php if($allowpostimg || helper_access::check_module('album')) { ?>style="display: none;"<?php } ?>>
+<div class="p_opt popupfix">
+<table cellpadding="0" cellspacing="0" width="100%">
+<tr class="xg1">
+<th width="74%" class="pbn">请输入图片地址</th>
+<th width="13%" class="pbn">宽(可选)</th>
+<th width="13%" class="pbn">高(可选)</th>
+</tr>
+<tr>
+<td><input type="text" id="<?php echo $editorid;?>_image_param_1" onchange="loadimgsize(this.value)" style="width: 95%;" value="" class="px" autocomplete="off" /></td>
+<td><input id="<?php echo $editorid;?>_image_param_2" size="3" value="" class="px p_fre" autocomplete="off" /></td>
+<td><input id="<?php echo $editorid;?>_image_param_3" size="3" value="" class="px p_fre" autocomplete="off" /></td>
+</tr>
+</table>
+</div>
+<div class="o">
+<button type="button" class="pn pnc" id="<?php echo $editorid;?>_image_submit"><strong>提交</strong></button>
+</div>
+</div>
+<?php if($allowpostimg) { ?>
+
+<div unselectable="on" id="<?php echo $editorid;?>_local" style="display: none;">
+<div class="p_opt">
+<table cellpadding="0" cellspacing="0" border="0" width="100%">
+<tbody id="imgattachbodyhidden" style="display:none"><tr>
+<td class="atnu"><span id="imglocalno[]"><img src="<?php echo STATICURL;?>image/filetype/common_new.gif" /></span></td>
+<td class="atna">
+<span id="imgdeschidden[]" style="display:none">
+<span id="imglocalfile[]"></span>
+</span>
+<input type="hidden" name="imglocalid[]" />
+</td>
+<td class="attc"><span id="imgcpdel[]"></span></td>
+</tr></tbody>
+</table>
+<div class="p_tbl"><table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%"><tbody id="imgattachbody"></tbody></table></div>
+<div class="upbk pbm bbda">
+<div id="imgattachbtnhidden" style="display:none"><span><form name="imgattachform" id="imgattachform" method="post" autocomplete="off" action="misc.php?mod=swfupload&amp;operation=upload&amp;simple=1&amp;type=image" target="attachframe" <?php echo $enctype;?>><input type="hidden" name="uid" value="<?php echo $_G['uid'];?>"><input type="hidden" name="hash" value="<?php echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid']); ?>"><input type="file" name="Filedata" size="45" class="filedata" /></form></span></div>
+<div id="imgattachbtn" class="ptm pbn"></div>
+<p id="imguploadbtn">
+<button class="pn pnc vm" type="button" onclick="uploadAttach(0, 0, 'img')"><span>上传</span></button>
+<span class="xg1">&larr;选择完文件后请点击“上传”按钮</span>
+</p>
+<p id="imguploading" style="display: none;"><img src="<?php echo IMGDIR;?>/uploading.gif" style="vertical-align: middle;" /> 上传中,请稍候,您可以<a href="javascript:;" onclick="hideMenu()">暂时关闭这个小窗口</a>,上传完成后您会收到通知</p>
+</div>
+<div class="notice upnf">
+文件尺寸: <span class="xi1"><?php if($_G['group']['maxattachsize']) { ?>小于 <?php echo $maxattachsize_mb;?> <?php } else { ?>大小不限制<?php } ?></span>
+<?php if($imgexts) { ?>
+, 可用扩展名: <span class="xi1"><?php echo $imgexts;?></span>&nbsp;
+<?php } if($creditstring) { ?>
+<br /><a href="forum.php?mod=faq&amp;action=credits&amp;fid=<?php echo $_G['fid'];?>" target="_blank" title="积分说明">每上传一个附件您的&nbsp;<?php echo $creditstring;?></a>
+<?php } if($_G['group']['maxattachnum'] || $_G['group']['maxsizeperday']) { ?><br /><?php if($allowuploadtoday) { ?>
+您今日还能上传 <?php if($_G['group']['maxattachnum']) { ?><strong><?php echo $allowuploadnum;?></strong> 个文件<?php } if($_G['group']['maxsizeperday']) { if($_G['group']['maxattachnum']) { ?> 或者 <?php } ?>总大小 <strong><?php echo $allowuploadsize;?></strong> 以内的文件<?php } } else { ?>
+<span class="xi1 xw1">今日您已无法上传更多的附件</span>
+<?php } } ?>
+</div>
+</div>
+<div class="o">
+<button onclick="hideAttachMenu('image')" class="pn pnc">
+<strong>确定</strong>
+</button>
+</div>
+</div>
+
+
+<div unselectable="on" id="<?php echo $editorid;?>_imgattachlist">
+<div class="p_opt">
+<?php if($allowuploadtoday) { ?>
+<div class="pbm bbda cl">
+<div id="imgattach_notice" class="y" <?php if(empty($imgattachs['used'])) { ?> style="display: none"<?php } ?>>
+<?php if(helper_access::check_module('album') && $_G['group']['allowupload']) { ?>
+<div id="uploadPanel">
+<label style="margin-right:10px;"><input type="checkbox" name="selectallimg" class="pc" value="1" onchange="selectAllSaveImg(this.checked);" onpropertychange="selectAllSaveImg(this.checked);" />全选</label>
+将选中的图片保存到相册:
+<select name="uploadalbum" id="uploadalbum" class="ps vm" onchange="if(this.value == '-1') {selectCreateTab(0);}">
+<?php if($albumlist) { if(is_array($albumlist)) foreach($albumlist as $album) { ?><option value="<?php echo $album['albumid'];?>"><?php echo $album['albumname'];?></option>
+<?php } } else { ?>
+<option value="-2">-------</option>
+<?php } ?>
+<option value="-1" style="color:red;">+创建新相册</option>
+</select>
+</div>
+<div id="createalbum" style="display:none">
+<?php if($_G['setting']['albumcategorystat'] && !empty($_G['cache']['albumcategory'])) { echo category_showselect('album', 'albumcatid', !$_G['setting']['albumcategoryrequired'] ? true : false, $_GET['catid']);?>&nbsp;
+<?php } ?>
+<input type="text" name="newalbum" id="newalbum" class="px vm" size="15" value="请输入相册名称"  onfocus="if(this.value == '请输入相册名称') {this.value = '';}" onblur="if(this.value == '') {this.value = '请输入相册名称';}" />&nbsp;<button type="button" class="pn pnc" onclick="createNewAlbum();"><span>创建新相册</span></button><button type="button" class="pn" onclick="selectCreateTab(1);"><span>取消</span></button>
+</div>
+<?php } ?>
+</div>
+<span id="imgSpanButtonPlaceholder"></span>
+</div>
+<?php } ?>
+<div class="upfilelist upfl bbda">
+<?php if(!empty($imgattachs['used'])) { $imagelist = $imgattachs['used'];?><?php include template('forum/ajax_imagelist'); } ?>
+<div id="imgattachlist"></div>
+<div id="unusedimgattachlist"></div>
+
+<?php if($allowuploadtoday) { ?>
+
+<div class="fieldset flash" id="imgUploadProgress"></div>
+
+<script type="text/javascript">
+function createNewAlbum() {
+var inputObj = $('newalbum');
+if(inputObj.value == '' || inputObj.value == '请输入相册名称') {
+inputObj.value = '请输入相册名称';
+} else {
+var x = new Ajax();
+x.get('home.php?mod=misc&ac=ajax&op=createalbum&inajax=1&name=' + inputObj.value, function(s){
+var aid = parseInt(s);
+var albumList = $('uploadalbum');
+var haveoption = false;
+for(var i = 0; i < albumList.options.length; i++) {
+if(albumList.options[i].value == aid) {
+albumList.selectedIndex = i;
+haveoption = true;
+break;
+}
+}
+if(!haveoption) {
+var oOption = document.createElement("OPTION");
+oOption.text = trim(inputObj.value);
+oOption.value = aid;
+albumList.options.add(oOption);
+albumList.selectedIndex = albumList.options.length-1;
+}
+inputObj.value = ''
+});
+selectCreateTab(1)
+}
+}
+function selectCreateTab(flag) {
+var vwObj = $('uploadPanel');
+var opObj = $('createalbum');
+var selObj = $('uploadalbum');
+if(flag) {
+vwObj.style.display = '';
+opObj.style.display = 'none';
+selObj.value = selObj.options[0].value;
+} else {
+vwObj.style.display = 'none';
+opObj.style.display = '';
+}
+}
+</script>
+<?php } ?>
+</div>
+<div class="notice upnf">
+点击图片添加到帖子内容中
+<br />文件尺寸: <span class="xi1"><?php if($_G['group']['maxattachsize']) { ?>小于 <?php echo $maxattachsize_mb;?> <?php } else { ?>大小不限制<?php } ?></span>
+<?php if($imgexts) { ?>
+, 可用扩展名: <span class="xi1"><?php echo $imgexts;?></span>&nbsp;
+<?php } if($creditstring) { ?>
+<br /><a href="forum.php?mod=faq&amp;action=credits&amp;fid=<?php echo $_G['fid'];?>" target="_blank" title="积分说明">每上传一个附件您的&nbsp;<?php echo $creditstring;?></a>
+<?php } if($_G['group']['maxattachnum'] || $_G['group']['maxsizeperday']) { ?><br /><?php if($allowuploadtoday) { ?>
+您今日还能上传 <?php if($_G['group']['maxattachnum']) { ?><strong><?php echo $allowuploadnum;?></strong> 个文件<?php } if($_G['group']['maxsizeperday']) { if($_G['group']['maxattachnum']) { ?> 或者 <?php } ?>总大小 <strong><?php echo $allowuploadsize;?></strong> 以内的文件<?php } } else { ?>
+<span class="xi1 xw1">今日您已无法上传更多的附件</span>
+<?php } } ?>
+</div>
+</div>
+<div class="o">
+<button onclick="hideAttachMenu('image')" class="pn pnc">
+<strong>确定</strong>
+</button>
+</div>
+</div>
+<?php } if(helper_access::check_module('album')) { ?>
+<div unselectable="on" id="<?php echo $editorid;?>_albumlist" <?php if($allowpostimg) { ?>style="display: none;"<?php } ?>>
+<div class="p_opt">
+<div class="upfilelist pbm bbda">
+从我的相册中选择图片:
+<select onchange="if(this.value) {ajaxget('forum.php?mod=post&action=albumphoto&aid='+this.value, 'albumphoto');}">
+<option value="">选择相册</option><?php if(is_array($albumlist)) foreach($albumlist as $album) { ?><option value="<?php echo $album['albumid'];?>"><?php echo $album['albumname'];?></option>
+<?php } ?>
+</select>
+<div id="albumphoto"></div>
+</div>
+<p class="notice">点击图片添加到帖子内容中</p>
+</div>
+<div class="o">
+<button onclick="hideAttachMenu('image')" class="pn pnc">
+<strong>确定</strong>
+</button>
+</div>
+</div>
+<?php } ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_image_tab_extra'])) echo $_G['setting']['pluginhooks']['post_image_tab_extra'];?>
+</div></td><td class="m_r"></td></tr><tr><td class="b_l"></td><td class="b_c"></td><td class="b_r"></td></tr></table>
+</div>
+
+<?php if($_G['group']['allowpostattach']) { ?>
+<div class="p_pof upf" id="<?php echo $editorid;?>_attach_menu" style="display: none" unselectable="on">
+<table width="100%" cellpadding="0" cellspacing="0" class="fwin"><tr><td class="t_l"></td><td class="t_c"></td><td class="t_r"></td></tr><tr><td class="m_l">&nbsp;&nbsp;</td><td class="m_c"><div class="mtm">
+<ul class="tb tb_s cl" id="<?php echo $editorid;?>_attach_ctrl" style="margin-top:0;margin-bottom:0;">
+<li class="y"><span class="flbc" onclick="hideAttachMenu('attach')">关闭</span></li>
+<li class="current" id="<?php echo $editorid;?>_btn_attachlist"><a href="javascript:;" hidefocus="true" onclick="switchAttachbutton('attachlist');">上传附件</a></li>
+<?php if($allowuploadtoday) { ?>
+<li id="<?php echo $editorid;?>_btn_upload" style="display: none;" did="<?php echo $editorid;?>_btn_attachlist|upload"><a href="javascript:;" hidefocus="true" onclick="switchAttachbutton('upload');">普通上传</a></li>
+<?php } ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_attach_btn_extra'])) echo $_G['setting']['pluginhooks']['post_attach_btn_extra'];?>
+</ul>
+
+<div class="p_opt" unselectable="on" id="<?php echo $editorid;?>_upload" style="display: none;">
+<table cellpadding="0" cellspacing="0" border="0" width="100%">
+<tbody id="attachbodyhidden" style="display:none"><tr>
+<td class="atnu"><span id="localno[]"><img src="<?php echo STATICURL;?>image/filetype/common_new.gif" /></span></td>
+<td class="atna">
+<span id="deschidden[]" style="display:none">
+<span id="localfile[]"></span>
+</span>
+<input type="hidden" name="localid[]" />
+</td>
+<td class="attc"><span id="cpdel[]"></span></td>
+</tr></tbody>
+</table>
+<div class="p_tbl"><table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%"><tbody id="attachbody"></tbody></table></div>
+<div class="upbk pbm bbda">
+<div id="attachbtnhidden" style="display:none"><span><form name="attachform" id="attachform" method="post" autocomplete="off" action="misc.php?mod=swfupload&amp;operation=upload&amp;simple=1" target="attachframe" <?php echo $enctype;?>><input type="hidden" name="uid" value="<?php echo $_G['uid'];?>"><input type="hidden" name="hash" value="<?php echo md5(substr(md5($_G['config']['security']['authkey']), 8).$_G['uid']); ?>"><input type="file" name="Filedata" size="45" class="fldt" /></form></span></div>
+<div id="attachbtn" class="ptm pbn"></div>
+<p id="uploadbtn">
+<button type="button" class="pn pnc vm" onclick="uploadAttach(0, 0)"><span>上传</span></button>
+<span class="xg1">&larr;选择完文件后请点击“上传”按钮</span>
+</p>
+<p id="uploading" style="display: none;"><img src="<?php echo IMGDIR;?>/uploading.gif" style="vertical-align: middle;" /> 上传中,请稍候,您可以<a href="javascript:;" onclick="hideMenu()">暂时关闭这个小窗口</a>,上传完成后您会收到通知</p>
+</div>
+<div class="notice upnf">
+文件尺寸: <span class="xi1"><?php if($_G['group']['maxattachsize']) { ?>小于 <?php echo $maxattachsize_mb;?> <?php } else { ?>大小不限制<?php } ?></span>
+<?php if($_G['group']['attachextensions']) { ?>
+, 可用扩展名: <span class="xi1"><?php echo $_G['group']['attachextensions'];?></span>&nbsp;
+<?php } if($creditstring) { ?>
+<br /><a href="forum.php?mod=faq&amp;action=credits&amp;fid=<?php echo $_G['fid'];?>" target="_blank" title="积分说明">每上传一个附件您的&nbsp;<?php echo $creditstring;?></a>
+<?php } if($_G['group']['maxattachnum'] || $_G['group']['maxsizeperday']) { ?><br /><?php if($allowuploadtoday) { ?>
+您今日还能上传 <?php if($_G['group']['maxattachnum']) { ?><strong><?php echo $allowuploadnum;?></strong> 个文件<?php } if($_G['group']['maxsizeperday']) { if($_G['group']['maxattachnum']) { ?> 或者 <?php } ?>总大小 <strong><?php echo $allowuploadsize;?></strong> 以内的文件<?php } } else { ?>
+<span class="xi1 xw1">今日您已无法上传更多的附件</span>
+<?php } } ?>
+</div>
+</div>
+
+
+<div class="p_opt post_tablelist" unselectable="on" id="<?php echo $editorid;?>_attachlist">
+<?php if($allowuploadtoday) { ?>
+<div class="pbm bbda">
+<span id="spanButtonPlaceholder"></span>
+</div>
+<?php } ?>
+<table cellpadding="0" cellspacing="0" border="0" width="100%" id="attach_tblheader" class="mtn bbs"<?php if(empty($attachs['used'])) { ?> style="display: none"<?php } ?>>
+<tr>
+<td class="atnu"></td>
+<td class="atna pbn">文件名 ( <a onclick="insertAllAttachTag();return false;" href="javascript:;" class="xi2">插入全部附件</a> )</td>
+<td class="atds pbn">描述</td>
+<?php if($_G['group']['allowsetattachperm']) { ?>
+<td class="attv pbn">
+阅读权限
+<img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="阅读权限按由高到低排列,高于或等于选中组的用户才可以阅读" />
+</td>
+<?php } if($_G['group']['maxprice']) { ?><td class="attp pbn"><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['title'];?></td><?php } ?>
+<td class="attc"></td>
+</tr>
+</table>
+<div class="upfl">
+<?php if(!empty($attachs['used'])) { $attachlist = $attachs['used'];?><?php include template('forum/ajax_attachlist'); } ?>
+<div id="attachlist"></div>
+<div id="unusedattachlist"></div>
+
+<?php if($allowuploadtoday) { ?>
+<div class="fieldset flash" id="fsUploadProgress"></div>
+<?php } ?>
+
+</div>
+<div class="notice upnf">
+<p id="attach_notice"<?php if(empty($attachs['used']) && empty($attachs['unused'])) { ?> style="display: none"<?php } ?>>点击附件文件名添加到帖子内容中<?php if($_G['setting']['allowattachurl']) { ?>,"attach://" 开头的附件地址支持任何人下载请谨慎添加<?php } ?></p>
+文件尺寸: <span class="xi1"><?php if($_G['group']['maxattachsize']) { ?>小于 <?php echo $maxattachsize_mb;?> <?php } else { ?>大小不限制<?php } ?></span>
+<?php if($_G['group']['attachextensions']) { ?>
+, 可用扩展名: <span class="xi1"><?php echo $_G['group']['attachextensions'];?></span>&nbsp;
+<?php } if($creditstring) { ?>
+<br /><a href="forum.php?mod=faq&amp;action=credits&amp;fid=<?php echo $_G['fid'];?>" target="_blank" title="积分说明">每上传一个附件您的&nbsp;<?php echo $creditstring;?></a>
+<?php } if($_G['group']['maxattachnum'] || $_G['group']['maxsizeperday']) { ?><br /><?php if($allowuploadtoday) { ?>
+您今日还能上传 <?php if($_G['group']['maxattachnum']) { ?><strong><?php echo $allowuploadnum;?></strong> 个文件<?php } if($_G['group']['maxsizeperday']) { if($_G['group']['maxattachnum']) { ?> 或者 <?php } ?>总大小 <strong><?php echo $allowuploadsize;?></strong> 以内的文件<?php } } else { ?>
+<span class="xi1 xw1">今日您已无法上传更多的附件</span>
+<?php } } if($_G['group']['maxprice'] && $_G['setting']['maxincperthread']) { ?><br />附件出售最高收入上限为 <?php echo $_G['setting']['maxincperthread'];?> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit'];?>&nbsp;&nbsp;&nbsp;&nbsp;<?php } ?>
+</div>
+</div>
+<?php if(!empty($_G['setting']['pluginhooks']['post_attach_tab_extra'])) echo $_G['setting']['pluginhooks']['post_attach_tab_extra'];?>
+</div>
+<div class="o">
+<button onclick="hideAttachMenu('attach')" class="pn pnc" id="attach_confirms">
+<strong>确定</strong>
+</button>
+</div>
+</td><td class="m_r"></td></tr><tr><td class="b_l"></td><td class="b_c"></td><td class="b_r"></td></tr></table>
+</div>
+<?php } ?>
+
+<iframe name="attachframe" id="attachframe" style="display: none;" onload="uploadNextAttach();"></iframe>
+
+<script type="text/javascript">
+if(wysiwyg) {
+newEditor(1, bbcode2html(textobj.value));
+} else {
+newEditor(0, textobj.value);
+}
+<?php if($editor['simplemode'] > 0) { ?>
+editorsimple();
+<?php } ?>
+
+var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
+<?php if($allowpostimg) { ?>
+ATTACHNUM['imageused'] = <?php echo @count($imgattachs['used']); ?>;
+<?php if(!empty($imgattachs['used']) || !empty($imgattachs['unused'])) { ?>
+switchImagebutton('imgattachlist');
+$(editorid + '_image').evt = false;
+updateattachnum('image');
+<?php } else { ?>
+switchImagebutton('multi');
+<?php } } if($_G['group']['allowpostattach'] || $_G['group']['allowpostimage']) { ?>
+
+ATTACHNUM['attachused'] = <?php echo @count($attachs['used']); ?>;
+<?php if(!empty($attachs['used']) || !empty($attachs['unused'])) { ?>
+$(editorid + '_attach').evt = false;
+updateattachnum('attach');
+<?php } else { ?>
+switchAttachbutton('swfupload');
+<?php } } if(!empty($attachs['unused'])) { ?>
+display('attachnotice_attach');
+var msg = '';<?php if(is_array($attachs['unused'])) foreach($attachs['unused'] as $attach) { if(!empty($attach['aid'])) { ?>
+msg += '<p><label><input id="unused<?php echo $attach['aid'];?>" name="unused[]" value="<?php echo $attach['aid'];?>" checked type="checkbox" class="pc" /><span title="<?php echo $attach['filenametitle'];?> <?php echo $attach['dateline'];?>"><?php echo $attach['filename'];?></span></label></p>'
+ATTACHUNUSEDAID[<?php echo $attach['aid'];?>] = '<?php echo $attach['aid'];?>';
+<?php } } ?>
+$('unusedlist_attach').innerHTML = '<div class="cl">' + msg + '</div>';
+$('unusednum_attach').innerHTML = parseInt(<?php echo @count($attachs['unused']); ?>);
+<?php } if(!empty($imgattachs['unused'])) { ?>
+display('attachnotice_img');
+var msg = '';<?php if(is_array($imgattachs['unused'])) foreach($imgattachs['unused'] as $attach) { if(!empty($attach['aid'])) { ?>
+msg += '<p style="float:left;width:220px;"><label><input id="unused<?php echo $attach['aid'];?>" name="unused[]" value="<?php echo $attach['aid'];?>" checked type="checkbox" class="pc" /><span title="<?php echo $attach['filenametitle'];?> <?php echo $attach['dateline'];?>"><?php echo $attach['filename'];?></span></label></p>'
+IMGUNUSEDAID[<?php echo $attach['aid'];?>] = '<?php echo $attach['aid'];?>';
+<?php } } ?>
+$('unusedlist_img').innerHTML = '<div class="cl">' + msg + '</div>';
+$('unusednum_img').innerHTML = parseInt(<?php echo @count($imgattachs['unused']); ?>);
+<?php } ?>
+setCaretAtEnd();
+if(BROWSER.ie >= 5 || BROWSER.firefox >= '2') {
+_attachEvent(window, 'beforeunload', unloadAutoSave);
+}
+<?php if(!empty($_GET['cedit']) && $_GET['cedit'] == 'yes') { ?>
+loadData(1);
+$(editorid + '_switchercheck').checked = !wysiwyg;
+<?php } ?>
+</script>
+</div>
+
+<?php if($special || ($_G['group']['allowsetpublishdate'] && ($_GET['action'] == 'newthread' || ($_GET['action'] == 'edit' && $isfirstpost && $thread['displayorder'] == -4))) || ($_GET['action'] == 'newthread' && $_G['group']['allowpostrushreply'] && $special != 2) || ($_GET['action'] == 'edit' && getstatus($thread['status'], 3))) { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } if($allowuploadtoday || $special == 1) { if(empty($_G['setting']['pluginhooks']['post_upload_extend'])) { if(empty($_G['uploadjs'])) { ?>
+<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">
+<?php if($allowpostimg) { ?>
+var imgUpload = new SWFUpload({
+upload_url: "<?php echo $_G['siteurl'];?>misc.php?mod=swfupload&action=swfupload&operation=upload&fid=<?php echo $_G['fid'];?>",
+post_params: {"uid" : "<?php echo $_G['uid'];?>", "hash":"<?php echo $swfconfig['hash'];?>", "type":"image"},
+file_size_limit : "<?php echo $swfconfig['max'];?>",
+file_types : "<?php echo $swfconfig['imageexts']['ext'];?>",
+file_types_description : "<?php echo $swfconfig['imageexts']['depict'];?>",
+file_upload_limit : <?php echo $swfconfig['limit'];?>,
+file_queue_limit : 0,
+swfupload_preload_handler : preLoad,
+swfupload_load_failed_handler : loadFailed,
+file_dialog_start_handler : fileDialogStart,
+file_queued_handler : fileQueued,
+file_queue_error_handler : fileQueueError,
+file_dialog_complete_handler : fileDialogComplete,
+upload_start_handler : uploadStart,
+upload_progress_handler : uploadProgress,
+upload_error_handler : uploadError,
+upload_success_handler : uploadSuccess,
+upload_complete_handler : uploadComplete,
+button_image_url : "<?php echo IMGDIR;?>/uploadbutton.png",
+button_placeholder_id : "imgSpanButtonPlaceholder",
+button_width: 100,
+button_height: 25,
+button_cursor:SWFUpload.CURSOR.HAND,
+button_window_mode: "transparent",
+custom_settings : {
+progressTarget : "imgUploadProgress",
+uploadSource: 'forum',
+uploadType: 'image',
+imgBoxObj: $('imgattachlist'),
+<?php if($swfconfig['maxsizeperday']) { ?>
+maxSizePerDay: <?php echo $swfconfig['maxsizeperday'];?>,
+<?php } if($swfconfig['maxattachnum']) { ?>
+maxAttachNum: <?php echo $swfconfig['maxattachnum'];?>,
+<?php } if($swfconfig['filtertype']) { ?>
+filterType: <?php echo $swfconfig['filtertype'];?>,
+<?php } ?>
+singleUpload: $('<?php echo $editorid;?>_btn_local')
+},
+debug: false
+});
+<?php } if($_G['group']['allowpostattach']) { ?>
+var upload = new SWFUpload({
+upload_url: "<?php echo $_G['siteurl'];?>misc.php?mod=swfupload&action=swfupload&operation=upload&fid=<?php echo $_G['fid'];?>",
+post_params: {"uid":"<?php echo $_G['uid'];?>", "hash":"<?php echo $swfconfig['hash'];?>"},
+file_size_limit : "<?php echo $swfconfig['max'];?>",
+file_types : "<?php echo $swfconfig['attachexts']['ext'];?>",
+file_types_description : "<?php echo $swfconfig['attachexts']['depict'];?>",
+file_upload_limit : <?php echo $swfconfig['limit'];?>,
+file_queue_limit : 0,
+swfupload_preload_handler : preLoad,
+swfupload_load_failed_handler : loadFailed,
+file_dialog_start_handler : fileDialogStart,
+file_queued_handler : fileQueued,
+file_queue_error_handler : fileQueueError,
+file_dialog_complete_handler : fileDialogComplete,
+upload_start_handler : uploadStart,
+upload_progress_handler : uploadProgress,
+upload_error_handler : uploadError,
+upload_success_handler : uploadSuccess,
+upload_complete_handler : uploadComplete,
+button_image_url : "<?php echo IMGDIR;?>/uploadbutton.png",
+button_placeholder_id : "spanButtonPlaceholder",
+button_width: 100,
+button_height: 25,
+button_cursor:SWFUpload.CURSOR.HAND,
+button_window_mode: "transparent",
+custom_settings : {
+progressTarget : "fsUploadProgress",
+uploadSource: 'forum',
+uploadType: 'attach',
+<?php if($swfconfig['maxsizeperday']) { ?>
+maxSizePerDay: <?php echo $swfconfig['maxsizeperday'];?>,
+<?php } if($swfconfig['maxattachnum']) { ?>
+maxAttachNum: <?php echo $swfconfig['maxattachnum'];?>,
+<?php } if($swfconfig['filtertype']) { ?>
+filterType: <?php echo $swfconfig['filtertype'];?>,
+<?php } ?>
+singleUpload: $('<?php echo $editorid;?>_btn_upload')
+},
+
+debug: false
+});
+<?php } ?>
+</script>
+<?php } else { ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_upload_extend'])) echo $_G['setting']['pluginhooks']['post_upload_extend'];?>
+<?php } } ?>
+
+<script type="text/javascript">
+var editorsubmit = $('postsubmit');
+var editorform = $('postform');
+<?php if($isfirstpost && !empty($_G['forum']['threadtypes']['types'])) { ?>
+simulateSelect('typeid');
+<?php } if(!$isfirstpost && $thread['special'] == 5 && empty($firststand) && $_GET['action'] != 'edit') { ?>
+simulateSelect('stand');
+<?php } ?>
+function switchpost(href) {
+editchange = false;
+saveData(1);
+location.href = href + '&fid=<?php echo $_G['fid'];?>&cedit=yes<?php if(!empty($_G['tid'])) { ?>&tid=<?php echo $_G['tid'];?><?php } if(!empty($modelid)) { ?>&modelid=<?php echo $modelid;?><?php } ?>&extra=<?php echo $extra;?>';
+doane();
+}
+
+<?php if($_GET['action'] == 'newthread' && $_G['setting']['sitemessage']['newthread'] || $_GET['action'] == 'reply' && $_G['setting']['sitemessage']['reply']) { ?>
+showPrompt('custominfo', 'mouseover', '<?php if($_GET['action'] == 'newthread') { echo trim($_G['setting']['sitemessage']['newthread'][array_rand($_G['setting']['sitemessage']['newthread'])]); } elseif($_GET['action'] == 'reply') { echo trim($_G['setting']['sitemessage']['reply'][array_rand($_G['setting']['sitemessage']['reply'])]); } ?>', <?php echo $_G['setting']['sitemessage']['time'];?>);
+<?php } if($_G['group']['allowpostattach']) { ?>addAttach();<?php } if($allowpostimg) { ?>addAttach('img');<?php } ?>
+
+(function () {
+var oSubjectbox = $('subjectbox'),
+oSubject = $('subject'),
+oTextarea = $('e_textarea'),
+sLen = 0;
+if(oSubjectbox) {
+if(oTextarea && oTextarea.style.display == '') {
+oTextarea.focus();
+}
+} else if(oSubject) {
+if(BROWSER.chrome) {
+sLen = oSubject.value.length;
+oSubject.setSelectionRange(sLen, sLen);
+}
+oSubject.focus();
+}
+})();
+
+<?php if(empty($_GET['cedit'])) { ?>
+if(loadUserdata('forum_'+discuz_uid)) {
+$('rstnotice').style.display = '';
+}
+<?php } if(!empty($userextcredit)) { ?>
+var have_replycredit = 0;
+var creditstax = <?php echo $_G['setting']['creditstax'];?>;
+var replycredit_result_lang = "税后支付<?php echo $_G['setting']['extcredits'][$extcreditstype]['title'];?> ";
+var userextcredit = <?php echo $userextcredit;?>;
+<?php if($thread['replycredit'] > 0) { ?>
+have_replycredit = <?php echo $thread['replycredit'];?>;
+<?php } } if($_GET['action'] == 'edit') { ?>
+extraCheckall();
+<?php } ?>
+</script>
+<?php if(($_GET['action'] == 'newthread' || $_GET['action'] == 'reply' || $_GET['action'] == 'edit') && $_G['group']['allowat']) { ?>
+<script src="<?php echo $_G['setting']['jspath'];?>at.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<?php } include template('common/footer'); ?>

+ 157 - 0
data/template/3_3_forum_post_forumselect.tpl.php

xqd
@@ -0,0 +1,157 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('post_forumselect');?><?php include template('common/header'); if(empty($_GET['infloat'])) { ?>
+<div id="pt" class="bm cl">
+<div class="z"><a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a> <em>&rsaquo;</em> <?php echo $navigation;?></div>
+</div>
+<div id="ct" class="wp cl">
+<div class="mn">
+<div class="bm bw0">
+<?php } ?>
+
+<div style="display: none">
+<ul id="fs_group"><?php echo $grouplist;?></ul>
+<ul id="fs_forum_common"><?php echo $commonlist;?></ul><?php if(is_array($forumlist)) foreach($forumlist as $forumid => $forum) { ?><ul id="fs_forum_<?php echo $forumid;?>"><?php echo $forum;?></ul>
+<?php } if(is_array($subforumlist)) foreach($subforumlist as $forumid => $forum) { ?><ul id="fs_subforum_<?php echo $forumid;?>"><?php echo $forum;?></ul>
+<?php } ?>
+</div>
+<h3 class="flb">
+<?php if($special === null) { ?>
+<em>论坛导航</em>
+<?php } else { ?><?php
+$actiontitle = <<<EOF
+
+EOF;
+ if($special == 1) { 
+$actiontitle .= <<<EOF
+发起投票
+EOF;
+ } elseif($special == 2) { 
+$actiontitle .= <<<EOF
+出售商品
+EOF;
+ } elseif($special == 3) { 
+$actiontitle .= <<<EOF
+发布悬赏
+EOF;
+ } elseif($special == 4) { 
+$actiontitle .= <<<EOF
+发起活动
+EOF;
+ } elseif($special == 5) { 
+$actiontitle .= <<<EOF
+发起辩论
+EOF;
+ } else { 
+$actiontitle .= <<<EOF
+发新帖
+EOF;
+ } 
+$actiontitle .= <<<EOF
+
+EOF;
+?>
+<em><?php echo $actiontitle;?></em>
+<?php } if(!empty($_GET['infloat'])) { ?>
+<span>
+<a href="javascript:;" class="flbc" onclick="hideWindow('nav')" title="关闭">关闭</a>
+</span>
+<?php } ?>
+</h3>
+<div class="c"<?php if(empty($_GET['infloat'])) { ?> style="width: 620px;"<?php } ?>>
+<p class="cl">
+<?php if($_G['group']['allowpost'] || !$_G['uid']) { if($special === null) { ?>
+<button id="postbtn" class="pn pnc y" onclick="hideWindow('nav');showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=' + selectfid)" disabled="disabled"><span>发新帖</span></button>
+<?php } else { ?>
+<button id="postbtn" class="pn pnc y" onclick="hideWindow('nav');window.location.href='forum.php?mod=post&action=newthread&fid=' + selectfid + '&special=<?php echo $special;?>'" disabled="disabled"><span><?php echo $actiontitle;?></span></button>
+<?php } } ?>
+<span class="pbnv"><?php echo $_G['setting']['bbname'];?><span id="pbnv"></span> <a id="enterbtn" class="xg1" href="javascript:;" onclick="locationforums(currentblock, currentfid)">[进入版块]</a></span>
+</p>
+<ul class="pbl cl">
+<li id="block_group"></li>
+<li id="block_forum"></li>
+<li id="block_subforum"></li>
+</ul>
+</div>
+
+<script type="text/javascript" reload="1">
+var s = '<?php if($commonfids) { ?><p><a id="commonforum" href="javascript:;" onclick="switchforums(this, 1, \'common\')" class="pbsb lightlink">常用版块</a></p><?php } ?>';
+var lis = $('fs_group').getElementsByTagName('LI');
+for(i = 0;i < lis.length;i++) {
+var gid = lis[i].getAttribute('fid');
+if($('fs_forum_' + gid)) {
+s += '<p><a href="javascript:;" ondblclick="locationforums(1, ' + gid + ')" onclick="switchforums(this, 1, ' + gid + ')" class="pbsb">' + lis[i].innerHTML + '</a></p>';
+}
+
+}
+$('block_group').innerHTML = s;
+var lastswitchobj = null;
+var selectfid = 0;
+var switchforum = switchsubforum = '';
+
+switchforums($('commonforum'), 1, 'common');
+
+function switchforums(obj, block, fid) {
+if(lastswitchobj != obj) {
+if(lastswitchobj) {
+lastswitchobj.parentNode.className = '';
+}
+obj.parentNode.className = 'pbls';
+}
+var s = '';
+if(fid != 'common') {
+$('enterbtn').className = 'xi2';
+currentblock = block;
+currentfid = fid;
+} else {
+$('enterbtn').className = 'xg1';
+}
+if(block == 1) {
+var lis = $('fs_forum_' + fid).getElementsByTagName('LI');
+for(i = 0;i < lis.length;i++) {
+fid = lis[i].getAttribute('fid');
+if(fid != '') {
+s += '<p><a href="javascript:;" ondblclick="locationforums(2, ' + fid + '\)" onclick="switchforums(this, 2, ' + fid + ')"' + ($('fs_subforum_' + fid) ?  ' class="pbsb"' : '') + '>' + lis[i].innerHTML + '</a></p>';
+}
+}
+$('block_forum').innerHTML = s;
+$('block_subforum').innerHTML = '';
+switchforum = switchsubforum = '';
+selectfid = 0;
+$('postbtn').setAttribute("disabled", "disabled");
+$('postbtn').className = 'pn xg1 y';
+} else if(block == 2) {
+selectfid = fid;
+if($('fs_subforum_' + fid)) {
+var lis = $('fs_subforum_' + fid).getElementsByTagName('LI');
+for(i = 0;i < lis.length;i++) {
+fid = lis[i].getAttribute('fid');
+s += '<p><a href="javascript:;" ondblclick="locationforums(3, ' + fid + ')" onclick="switchforums(this, 3, ' + fid + ')">' + lis[i].innerHTML + '</a></p>';
+}
+$('block_subforum').innerHTML = s;
+} else {
+$('block_subforum').innerHTML = '';
+}
+switchforum = obj.innerHTML;
+switchsubforum = '';
+$('postbtn').removeAttribute("disabled");
+$('postbtn').className = 'pn pnc y';
+} else {
+selectfid = fid;
+switchsubforum = obj.innerHTML;
+$('postbtn').removeAttribute("disabled");
+$('postbtn').className = 'pn pnc y';
+}
+lastswitchobj = obj;
+$('pbnv').innerHTML = switchforum ? '&nbsp;&gt;&nbsp;' + switchforum + (switchsubforum ? '&nbsp;&gt;&nbsp;' + switchsubforum : '') : '';
+}
+
+function locationforums(block, fid) {
+location.href = block == 1 ? 'forum.php?gid=' + fid : 'forum.php?mod=forumdisplay&fid=' + fid;
+}
+
+</script>
+
+<?php if(empty($_GET['infloat'])) { ?>
+</div>
+</div>
+</div>
+<?php } include template('common/footer'); ?>

+ 136 - 0
data/template/3_3_forum_post_poll.tpl.php

xqd
@@ -0,0 +1,136 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
+0
+|| checktplrefresh('./template/default/forum/post_poll.htm', './template/default/common/upload.htm', 1524717458, '3', './data/template/3_3_forum_post_poll.tpl.php', './template/wfdsoft_jiaohu', 'forum/post_poll')
+;?>
+<input type="hidden" name="polls" value="yes" />
+<div class="exfm cl">
+<div class="sinf sppoll z">
+<input type="hidden" name="fid" value="<?php echo $_G['fid'];?>" />
+<?php if($_GET['action'] == 'newthread') { ?>
+<input type="hidden" name="tpolloption" value="1" />
+<div class="cl">
+<h4 class="z">
+<em>选项: </em>
+最多可填写 <?php echo $_G['setting']['maxpolloptions'];?> 个选项 &nbsp;
+<span class="xw0"><input id="pollchecked" type="checkbox" class="pc" onclick="switchpollm(1)" /><label for="pollchecked">单框模式</label></span>
+</h4>
+</div>
+<div id="pollm_c_1" class="mbm">
+<span id="polloption_new"></span>
+<p id="polloption_hidden" style="display: none">
+<a href="javascript:;" class="d" onclick="delpolloption(this)">del</a>
+<input type="text" name="polloption[]" class="px vm" autocomplete="off" style="width:290px;" tabindex="1" />
+<span id="pollUploadProgress" class="vm" style="display: none;"></span>
+<span id="newpoll" class="vm"></span>
+</p>
+<p><a href="javascript:;" onclick="addpolloption()">+增加一项</a></p>
+</div>
+<div id="pollm_c_2" class="mbm" style="display:none">
+<textarea name="polloptions" class="pt" style="width:340px;" tabindex="1" rows="6" onchange="switchpollm(0)" /></textarea>
+<p class="cl">每行填写 1 个选项</p>
+</div>
+<?php } else { if(is_array($poll['polloption'])) foreach($poll['polloption'] as $key => $option) { $ppid = $poll['polloptionid'][$key];?><p>
+<input type="hidden" name="polloptionid[<?php echo $poll['polloptionid'][$key];?>]" value="<?php echo $poll['polloptionid'][$key];?>" />
+<input type="text" name="displayorder[<?php echo $poll['polloptionid'][$key];?>]" class="px pxs vm" autocomplete="off" tabindex="1" value="<?php echo $poll['displayorder'][$key];?>" />
+<input type="text" name="polloption[<?php echo $poll['polloptionid'][$key];?>]" class="px vm" autocomplete="off" style="width:230px;" tabindex="1" value="<?php echo $option;?>"<?php if(!$_G['group']['alloweditpoll']) { ?> readonly="readonly"<?php } ?> />
+<!--img src="<?php echo $poll['imginfo'][$ppid]['small'];?>" class="cur1" /-->
+
+<span id="newpoll_<?php echo $key;?>" class="vm"></span>
+<span id="pollUploadProgress_<?php echo $key;?>" class="vm">
+<?php if($poll['isimage']) { ?>
+<img src="<?php echo IMGDIR;?>/attachimg_2.png" class="cur1" onmouseover="showMenu({'menuid':'poll_img_preview_<?php echo $poll['imginfo'][$ppid]['aid'];?>_menu','ctrlclass':'a','duration':2,'timeout':0,'pos':'34'});" onmouseout="hideMenu('poll_img_preview_<?php echo $poll['imginfo'][$ppid]['aid'];?>_menu');" />
+<?php } ?>
+<input type="hidden" name="pollimage[<?php echo $poll['polloptionid'][$key];?>]" id="pollUploadProgress_<?php echo $key;?>_aid" value="<?php echo $poll['imginfo'][$ppid]['aid'];?>" />
+<span id="poll_img_preview_<?php echo $poll['imginfo'][$ppid]['aid'];?>_menu" style="display: none">
+<img src="<?php echo $poll['imginfo'][$ppid]['small'];?>" />
+</span>
+</span>
+</p>
+<?php } ?>
+<span id="polloption_new"></span>
+<p id="polloption_hidden" style="display: none">
+<a href="javascript:;" class="d" onclick="delpolloption(this)">del</a>
+<input type="text" name="displayorder[]" class="px pxs vm" autocomplete="off" tabindex="1" />
+<input type="text" name="polloption[]" class="px vm" autocomplete="off" style="width:230px;" tabindex="1" />
+<span id="newpoll" class="vm"></span>
+<span id="pollUploadProgress" class="vm" style="display: none;"></span>
+</p>
+<p><a href="javascript:;" onclick="addpolloption()">+增加一项</a></p>
+<?php } ?>
+</div>
+<div class="sadd z">
+<p class="mbn">
+<label for="maxchoices">最多可选</label>
+<input type="text" name="maxchoices" id="maxchoices" class="px pxs" value="<?php if($_GET['action'] == 'edit' && $poll['maxchoices']) { ?><?php echo $poll['maxchoices'];?><?php } else { ?>1<?php } ?>" tabindex="1" /> 项
+</p>
+<p class="mbn">
+<label for="polldatas">记票天数</label>
+<input type="text" name="expiration" id="polldatas" class="px pxs" value="<?php if($_GET['action'] == 'edit') { if(!$poll['expiration']) { ?>0<?php } elseif($poll['expiration'] < 0) { ?>关闭投票<?php } elseif($poll['expiration'] < TIMESTAMP) { ?>已结束<?php } else { echo (round(($poll['expiration'] - TIMESTAMP) / 86400)); } } ?>" tabindex="1" /> 天
+</p>
+<p class="mbn">
+<input type="checkbox" name="visibilitypoll" id="visibilitypoll" class="pc" value="1"<?php if($_GET['action'] == 'edit' && !$poll['visible']) { ?> checked<?php } ?> tabindex="1" /><label for="visibilitypoll">投票后结果可见</label>
+</p>
+<p class="mbn">
+<input type="checkbox" name="overt" id="overt" class="pc" value="1"<?php if($_GET['action'] == 'edit' && $poll['overt']) { ?> checked<?php } ?> tabindex="1" /><label for="overt">公开投票参与人</label>
+</p>
+<?php if(!empty($_G['setting']['pluginhooks']['post_poll_extra'])) echo $_G['setting']['pluginhooks']['post_poll_extra'];?>
+</div>
+</div><?php if(empty($_G['uploadjs'])) { ?>
+<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" reload="1">
+var maxoptions = parseInt('<?php echo $_G['setting']['maxpolloptions'];?>');
+<?php if($_GET['action'] == 'newthread') { ?>
+var curoptions = 0;
+var curnumber = 1;
+addpolloption();
+addpolloption();
+addpolloption();
+<?php } else { ?>
+var curnumber = curoptions = <?php echo count($poll['polloption']); ?>;
+for(var i=0; i < curnumber; i++) {
+addUploadEvent('newpoll_'+i, 'pollUploadProgress_'+i);
+}
+<?php } ?>
+function addUploadEvent(imgid, pollstr) {
+<?php if(empty($_G['setting']['pluginhooks']['post_upload_extend']) && empty($_G['setting']['pluginhooks']['post_poll_upload_extend'])) { ?>
+new SWFUpload({
+upload_url: SITEURL + 'misc.php?mod=swfupload&action=swfupload&operation=poll&fid=<?php echo $_G['fid'];?>',
+post_params: {"uid":"<?php echo $_G['uid'];?>", "hash":"<?php echo $swfconfig['hash'];?>"},
+
+file_size_limit : "2048",
+file_types : "*.jpg;*.jpeg;*.gif;*.png;*.bmp",
+file_types_description : "图片文件",
+file_upload_limit : 0,
+file_queue_limit : 1,
+
+swfupload_preload_handler : preLoad,
+swfupload_load_failed_handler : loadFailed,
+file_dialog_start_handler : fileDialogStart,
+file_queued_handler : fileQueued,
+file_queue_error_handler : fileQueueError,
+file_dialog_complete_handler : fileDialogComplete,
+upload_start_handler : uploadStart,
+upload_progress_handler : uploadProgress,
+upload_error_handler : uploadError,
+upload_success_handler : uploadSuccess,
+upload_complete_handler : uploadComplete,
+
+button_image_url : IMGDIR+"/uploadbutton_small_pic.png",
+button_placeholder_id : imgid,
+button_width: 26,
+button_height: 26,
+button_cursor:SWFUpload.CURSOR.HAND,
+button_window_mode: "transparent",
+
+custom_settings : {
+progressTarget : pollstr,
+uploadSource: 'forum',
+uploadType: 'poll'
+},
+
+debug: false
+});
+<?php } else { ?>
+<?php if(!empty($_G['setting']['pluginhooks']['post_poll_upload_extend'])) echo $_G['setting']['pluginhooks']['post_poll_upload_extend'];?>
+<?php } ?>
+}
+</script>

+ 42 - 0
data/template/3_3_forum_viewthread_mod.tpl.php

xqd
@@ -0,0 +1,42 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('viewthread_mod');?><?php include template('common/header'); if(empty($_GET['infloat'])) { ?>
+<div id="pt" class="bm cl">
+<div class="z"><a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a> <em>&rsaquo;</em> <?php echo $navigation;?></div>
+</div>
+<div id="ct" class="wp cl">
+<div class="mn">
+<div class="bm bw0">
+<?php } ?>
+
+<div class="f_c">
+<h3 class="flb">
+<em id="return_<?php echo $_GET['handlekey'];?>">主题操作记录</em>
+<span>
+<?php if(!empty($_GET['infloat'])) { ?><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>')" title="关闭">关闭</a><?php } ?>
+</span>
+</h3>
+<div class="c floatwrap">
+<table class="list" cellspacing="0" cellpadding="0">
+<thead>
+<tr>
+<td>操作者</td>
+<td>时间</td>
+<td>操作</td>
+<td>有效期</td>
+</tr>
+</thead><?php if(is_array($loglist)) foreach($loglist as $log) { ?><tr>
+<td><?php if($log['uid']) { ?><a href="home.php?mod=space&amp;uid=<?php echo $log['uid'];?>" target="_blank"><?php echo $log['username'];?></a><?php } else { ?>任务系统<?php } ?></td>
+<td><?php echo $log['dateline'];?></td>
+<td <?php echo $log['status'];?>><?php echo $modactioncode[$log['action']];?><?php if($log['magicid']) { ?>(<?php echo $log['magicname'];?>)<?php } if($log['action'] == 'REB') { ?>到 <?php echo $log['reason'];?><?php } ?>
+</td>
+<td <?php echo $log['status'];?>><?php if($log['expiration']) { ?><?php echo $log['expiration'];?><?php } elseif(in_array($log['action'], array('STK', 'HLT', 'DIG', 'CLS', 'OPN'))) { ?>永 久<?php } ?></td>
+</tr>
+<?php } ?>
+</table>
+</div>
+</div>
+
+<?php if(empty($_GET['infloat'])) { ?>
+</div>
+</div>
+</div>
+<?php } include template('common/footer'); ?>

+ 53 - 0
data/template/3_3_forum_viewthread_printable.tpl.php

xqd
@@ -0,0 +1,53 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
+<html>
+<head>
+<title><?php echo $_G['forum_thread']['subject'];?> - <?php echo $_G['setting']['bbname'];?> - Powered by Discuz!</title>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
+<style type="text/css">
+body 	   {margin: 10px 80px;}
+body,table {font-size: <?php echo FONTSIZE;?>; font-family: <?php echo FONT;?>;}
+h1 { font-size: 24px; margin-bottom: 20px; color: #999; }
+</style>
+<script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script>
+<script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>';</script>
+</head>
+
+<body>
+<h1><?php echo $_G['setting']['bbname'];?></h1>
+<b>标题: </b><?php echo $_G['forum_thread']['subject'];?> <b><a href="###" onclick="this.style.visibility='hidden';window.print();this.style.visibility='visible'">[打印本页]</a></b></span><br />
+<script type="text/javascript">var zoomstatus = 0;var aimgcount = new Array();</script><?php if(is_array($postlist)) foreach($postlist as $post) { ?><hr noshade size="2" width="100%" color="#808080">
+<b>作者: </b><?php if($post['author'] && !$post['anonymous']) { ?><?php echo $post['author'];?><?php } else { ?>匿名<?php } ?>&nbsp; &nbsp; <b>时间: </b><?php echo $post['dateline'];?>
+<br />
+<?php if($_G['adminid'] != 1 && $_G['setting']['bannedmessages'] && (($post['authorid'] && !$userinfo[$post['authorid']]['username']) || ($userinfo[$post['authorid']]['groupid'] == 4 || $userinfo[$post['authorid']]['groupid'] == 5))) { ?>
+提示: <em>作者被禁止或删除 内容自动屏蔽</em>
+<?php } elseif($_G['adminid'] != 1 && $post['status'] & 1) { ?>
+提示: <em>该帖被管理员或版主屏蔽</em>
+<?php } elseif($post['first'] && $_G['forum_threadpay']) { ?>
+本主题需向作者支付 <strong><?php echo $thread['price'];?> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['title'];?></strong> 才能浏览
+<?php } else { if($post['subject']) { ?><b>标题: </b><?php echo $post['subject'];?><br /><?php } ?>
+<?php echo $post['message'];?>
+<?php if($post['imagelist']) { echo showattach($post, 1); } if($post['attachlist']) { echo showattach($post); } } if(!empty($aimgs[$post['pid']])) { ?>
+<script type="text/javascript" reload="1">
+aimgcount[<?php echo $post['pid'];?>] = [<?php echo dimplode($aimgs[$post['pid']]);; ?>];
+attachimggroup(<?php echo $post['pid'];?>);
+<?php if(empty($_G['setting']['lazyload'])) { if(!$post['imagelistthumb']) { ?>
+attachimgshow(<?php echo $post['pid'];?>);
+<?php } else { ?>
+attachimgshow(<?php echo $post['pid'];?>, 1);
+<?php } } if($post['imagelistthumb']) { ?>
+attachimglstshow(<?php echo $post['pid'];?>, <?php echo intval($_G['setting']['lazyload']), 0, 0; ?>);
+<?php } if(!IS_ROBOT && !empty($_G['setting']['lazyload'])) { ?>
+new lazyload();
+<?php } ?>
+</script>
+<?php } } ?>
+
+<br /><br /><br /><br /><hr noshade size="2" width="100%" color="<?php echo BORDERCOLOR;?>">
+<table cellspacing="0" cellpadding="0" border="0" width="95%" align="center" style="font-size: <?php echo SMFONTSIZE;?>; font-family: <?php echo SMFONT;?>">
+<tr><td>欢迎光临 <?php echo $_G['setting']['bbname'];?> (<?php echo $_G['siteurl'];?>)</td>
+<td align="right">
+Powered by Discuz! <?php echo $_G['setting']['version'];?></td></tr></table>
+
+</body>
+</html>

+ 0 - 122
data/template/3_3_home_space_card.tpl.php

xqd
@@ -1,122 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_card');?><?php include template('common/header'); ?><div class="card_gender_<?php echo $space['gender'];?>"><?php $encodeusername = rawurlencode($space['username']);?><?php if(!empty($_G['setting']['pluginhooks']['space_card_top'])) echo $_G['setting']['pluginhooks']['space_card_top'];?>
-<div class="card_mn">
-<div class="avt">
-<a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>" target="_blank" title="进入<?php echo $space['username'];?>的空间"><?php echo avatar($space[uid],small);?></a>
-</div>
-<div class="c">
-<p class="pbn cl">
-<span class="y xg1" style="color:<?php echo $space['group']['color'];?>"<?php if($upgradecredit !== false) { ?> title="积分 <?php echo $space['credits'];?>, 距离下一级还需 <?php echo $upgradecredit;?> 积分"<?php } ?>><?php echo $space['group']['grouptitle'];?></span>
-<strong><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>"><?php echo $space['username'];?></a></strong>
-<?php if($_G['ols'][$space['uid']]) { ?>
-<img src="<?php echo IMGDIR;?>/ol.gif" alt="online" title="在线" class="vm" />&nbsp;
-<?php } if($_G['setting']['verify']['enabled']) { if(is_array($_G['setting']['verify'])) foreach($_G['setting']['verify'] as $vid => $verify) { if($verify['available'] && $verify['showicon']) { if($space['verify'.$vid] == 1) { ?>
-<a href="home.php?mod=spacecp&amp;ac=profile&amp;op=verify&amp;vid=<?php echo $vid;?>" target="_blank"><?php if($verify['icon']) { ?><img src="<?php echo $verify['icon'];?>" class="vm" alt="<?php echo $verify['title'];?>" title="<?php echo $verify['title'];?>" /><?php } else { ?><?php echo $verify['title'];?><?php } ?></a>&nbsp;
-<?php } elseif(!empty($verify['unverifyicon'])) { ?>
-<a href="home.php?mod=spacecp&amp;ac=profile&amp;op=verify&amp;vid=<?php echo $vid;?>" target="_blank"><?php if($verify['unverifyicon']) { ?><img src="<?php echo $verify['unverifyicon'];?>" class="vm" alt="<?php echo $verify['title'];?>" title="<?php echo $verify['title'];?>" /><?php } ?></a>&nbsp;
-<?php } } } } ?>
-</p><?php $isfriendinfo = 'home_friend_info_'.$space['uid'].'_'.$_G[uid];?><?php if($_G[$isfriendinfo]['note']) { ?>
-<p class="xg1"><?php echo $_G[$isfriendinfo]['note'];?></p>
-<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['space_card_baseinfo_middle'])) echo $_G['setting']['pluginhooks']['space_card_baseinfo_middle'];?>
-<div<?php if($allowupdatedoing) { $scdoingid='scdoing'.random(4);?> id="return_<?php echo $scdoingid;?>" onclick="cardUpdatedoing('<?php echo $scdoingid;?>', 0)"<?php } ?>><?php echo $space['spacenote'];?><?php if(helper_access::check_module('doing') && $allowupdatedoing) { ?> <a href="javascript:;" class="xi2">[更新记录]</a><?php } ?></div>
-<?php if(helper_access::check_module('doing') && $allowupdatedoing) { ?>
-<form id="<?php echo $scdoingid;?>" method="post" action="home.php?mod=spacecp&amp;ac=doing&amp;inajax=1" onsubmit="return false;" style="display:none">
-<input type="hidden" name="addsubmit" value="true" />
-<input type="hidden" name="fromcard" value="1" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<textarea name="message" class="card_msg pt xs1"><?php echo strip_tags($space['spacenote']); ?></textarea>
-<p class="ptn pns cl">
-<button type="button" onclick="cardSubmitdoing('<?php echo $scdoingid;?>');" class="pn"><span>保存</span></button>
-<span class="pipe">|</span>
-<a href="javascript:;" onclick="cardUpdatedoing('<?php echo $scdoingid;?>', 1)">取消</a>
-</p>
-</form>
-<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['space_card_baseinfo_bottom'])) echo $_G['setting']['pluginhooks']['space_card_baseinfo_bottom'];?>
-</div>
-</div>
-<?php if($profiles) { ?>
-<ul class="card_info"><?php if(is_array($profiles)) foreach($profiles as $value) { ?><li>
-<div class="avt xg1"><?php echo $value['title'];?></div>
-<p><?php echo $value['value'];?></p>
-</li>
-<?php } ?>
-</ul>
-<?php } ?>
-<div class="o cl">
-<?php if($space['self']) { if($_G['setting']['homepagestyle']) { ?>
-<a href="home.php?mod=space&amp;diy=yes" class="xi2">装扮空间</a>
-<?php } if(helper_access::check_module('wall')) { ?>
-<a href="home.php?mod=space&amp;do=wall" class="xi2">查看留言</a>
-<?php } ?>
-<a href="home.php?mod=spacecp&amp;ac=avatar" class="xi2">编辑头像</a>
-<a href="home.php?mod=spacecp&amp;ac=profile" class="xi2">更新资料</a>
-<?php } else { if(helper_access::check_module('follow')) { ?>
-<a href="home.php?mod=spacecp&amp;ac=follow&amp;op=<?php if(!empty($follow)) { ?>del<?php } else { ?>add<?php } ?>&amp;hash=<?php echo FORMHASH;?>&amp;fuid=<?php echo $space['uid'];?>" id="card_followmod_<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0)" class="xi2"><?php if(!empty($follow)) { ?>取消收听<?php } else { ?>收听TA<?php } ?></a>
-<?php } require_once libfile('function/friend');$isfriend=friend_check($space[uid]);?><?php if(!$isfriend) { ?>
-<a href="home.php?mod=spacecp&amp;ac=friend&amp;op=add&amp;uid=<?php echo $space['uid'];?>&amp;handlekey=addfriendhk_<?php echo $space['uid'];?>" id="a_friend_li_<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);" class="xi2">加为好友</a>
-<?php } else { ?>
-<a href="home.php?mod=spacecp&amp;ac=friend&amp;op=ignore&amp;uid=<?php echo $space['uid'];?>&amp;handlekey=ignorefriendhk_<?php echo $space['uid'];?>" id="a_ignore_<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);" class="xi2">解除好友</a>
-<?php } ?>
-<a href="home.php?mod=spacecp&amp;ac=pm&amp;op=showmsg&amp;handlekey=showmsg_<?php echo $space['uid'];?>&amp;touid=<?php echo $space['uid'];?>&amp;pmid=0&amp;daterange=2" id="a_sendpm_<?php echo $space['uid'];?>" onclick="showWindow('showMsgBox', this.href, 'get', 0)" class="xi2">发送消息</a>
-<a href="home.php?mod=spacecp&amp;ac=poke&amp;op=send&amp;uid=<?php echo $space['uid'];?>&amp;handlekey=propokehk_<?php echo $space['uid'];?>" id="a_poke_<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);" class="xi2">打个招呼</a>
-<?php if(helper_access::check_module('wall')) { ?>
-<a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=wall" class="xi2">给我留言</a>
-<?php } ?>
-
-<script type="text/javascript">
-function succeedhandle_card_followmod_<?php echo $space['uid'];?>(url, msg, values) {
-var linkObj = $('card_followmod_'+values['fuid']);
-if(linkObj) {
-if(values['type'] == 'add') {
-linkObj.innerHTML = '取消收听';
-linkObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
-} else if(values['type'] == 'del') {
-linkObj.innerHTML = '收听TA';
-linkObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash=<?php echo FORMHASH;?>&fuid='+values['fuid'];
-}
-}
-}
-</script>
-<?php } if(checkperm('allowbanuser') || checkperm('allowedituser')) { if(checkperm('allowedituser')) { ?>
-<a href="<?php if($_G['adminid'] == 1) { ?>admin.php?action=members&operation=search&username=<?php echo $encodeusername;?>&submit=yes&frames=yes<?php } else { ?>forum.php?mod=modcp&action=member&op=edit&uid=<?php echo $space['uid'];?><?php } ?>" target="_blank" class="xi1">编辑用户</a>
-<?php } if(checkperm('allowbanuser')) { ?>
-<a href="<?php if($_G['adminid'] == 1) { ?>admin.php?action=members&operation=ban&username=<?php echo $encodeusername;?>&frames=yes<?php } else { ?>forum.php?mod=modcp&action=member&op=ban&uid=<?php echo $space['uid'];?><?php } ?>" target="_blank" class="xi1">禁止用户</a>
-<?php } ?>
-<a href="forum.php?mod=modcp&amp;action=thread&amp;op=post&amp;do=search&amp;searchsubmit=1&amp;users=<?php echo $encodeusername;?>" target="_blank" class="xi1">管理帖子</a>
-<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['space_card_option'])) echo $_G['setting']['pluginhooks']['space_card_option'];?>
-</div>
-<?php if($_G['setting']['magicstatus']) { ?>
-<div class="mgc">
-<?php if(!empty($_G['setting']['magics']['showip'])) { ?>
-<a href="home.php?mod=magic&amp;mid=showip&amp;idtype=user&amp;id=<?php echo $encodeusername;?>" id="a_showip_li_<?php echo $space['pid'];?>" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>/image/magic/showip.small.gif" class="vm" title="<?php echo $_G['setting']['magics']['showip'];?>" /> <?php echo $_G['setting']['magics']['showip'];?></a>
-<?php } if(!empty($_G['setting']['magics']['checkonline']) && $space['uid'] != $_G['uid']) { ?>
-<a href="home.php?mod=magic&amp;mid=checkonline&amp;idtype=user&amp;id=<?php echo $encodeusername;?>" id="a_repent_<?php echo $space['pid'];?>" onclick="showWindow(this.id, this.href)"><img src="<?php echo STATICURL;?>/image/magic/checkonline.small.gif" class="vm" title="<?php echo $_G['setting']['magics']['checkonline'];?>" /> <?php echo $_G['setting']['magics']['checkonline'];?></a>
-<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['space_card_magic_user'])) echo $_G['setting']['pluginhooks']['space_card_magic_user'];?>
-</div>
-<?php } ?>
-<div class="f cl"><?php if(!empty($_G['setting']['pluginhooks']['space_card_bottom'])) echo $_G['setting']['pluginhooks']['space_card_bottom'];?></div>
-
-<?php if($allowupdatedoing) { ?>
-<script type="text/javascript">
-function cardUpdatedoing(scdoing, op) {
-if($(scdoing)) {
-if(!op) {
-$('return_' + scdoing).style.display = 'none';
-$(scdoing).style.display = '';
-} else {
-$('return_' + scdoing).style.display = '';
-$(scdoing).style.display = 'none';
-}
-}
-}
-function cardSubmitdoing(scdoing) {
-ajaxpost(scdoing, 'return_' + scdoing);
-$('return_' + scdoing).style.display = '';
-$(scdoing).style.display = 'none';
-}
-</script>
-<?php } ?>
-</div><?php include template('common/footer'); ?>

+ 3 - 3
data/template/3_3_home_space_header.tpl.php

xqd
@@ -1,8 +1,8 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
 0
-|| checktplrefresh('./template/default/home/space_header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523429001, '3', './data/template/3_3_home_space_header.tpl.php', './template/wfdsoft_jiaohu', 'home/space_header')
-|| checktplrefresh('./template/default/home/space_header.htm', './template/default/home/space_diy.htm', 1523429001, '3', './data/template/3_3_home_space_header.tpl.php', './template/wfdsoft_jiaohu', 'home/space_header')
-|| checktplrefresh('./template/default/home/space_header.htm', './template/default/home/space_header_personalnv.htm', 1523429001, '3', './data/template/3_3_home_space_header.tpl.php', './template/wfdsoft_jiaohu', 'home/space_header')
+|| checktplrefresh('./template/default/home/space_header.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524187002, '3', './data/template/3_3_home_space_header.tpl.php', './template/wfdsoft_jiaohu', 'home/space_header')
+|| checktplrefresh('./template/default/home/space_header.htm', './template/default/home/space_diy.htm', 1524187002, '3', './data/template/3_3_home_space_header.tpl.php', './template/wfdsoft_jiaohu', 'home/space_header')
+|| checktplrefresh('./template/default/home/space_header.htm', './template/default/home/space_header_personalnv.htm', 1524187002, '3', './data/template/3_3_home_space_header.tpl.php', './template/wfdsoft_jiaohu', 'home/space_header')
 ;?>
 <?php $_G[cookie][extstyle] = false;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 1 - 1
data/template/3_3_home_space_menu.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_menu');
 0
-|| checktplrefresh('./template/default/home/space_menu.htm', './template/default/home/follow_user_header.htm', 1523440382, '3', './data/template/3_3_home_space_menu.tpl.php', './template/wfdsoft_jiaohu', 'home/space_menu')
+|| checktplrefresh('./template/default/home/space_menu.htm', './template/default/home/follow_user_header.htm', 1524159293, '3', './data/template/3_3_home_space_menu.tpl.php', './template/wfdsoft_jiaohu', 'home/space_menu')
 ;?>
 <?php if($space['uid']) { ?>
 <div id="uhd">

+ 6 - 6
data/template/3_3_home_space_profile.tpl.php

xqd
@@ -1,11 +1,11 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_profile');
 0
-|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_header.htm', 1523428998, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
-|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_profile_body.htm', 1523428998, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
-|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_userabout.htm', 1523428998, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
-|| checktplrefresh('./template/default/home/space_profile.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523428998, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
-|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_diy.htm', 1523428998, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
-|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_header_personalnv.htm', 1523428998, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
+|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_header.htm', 1524124302, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
+|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_profile_body.htm', 1524124302, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
+|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_userabout.htm', 1524124302, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
+|| checktplrefresh('./template/default/home/space_profile.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524124302, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
+|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_diy.htm', 1524124302, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
+|| checktplrefresh('./template/default/home/space_profile.htm', './template/default/home/space_header_personalnv.htm', 1524124302, '3', './data/template/3_3_home_space_profile.tpl.php', './template/wfdsoft_jiaohu', 'home/space_profile')
 ;?>
 <?php if($_G['setting']['homepagestyle']) { $_G[cookie][extstyle] = false;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 5 - 5
data/template/3_3_home_space_wall.tpl.php

xqd
@@ -1,10 +1,10 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_wall');
 0
-|| checktplrefresh('./template/default/home/space_wall.htm', './template/default/home/space_header.htm', 1523431188, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
-|| checktplrefresh('./template/default/home/space_wall.htm', './template/default/home/space_userabout.htm', 1523431188, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
-|| checktplrefresh('./template/default/home/space_wall.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523431188, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
-|| checktplrefresh('./template/default/home/space_wall.htm', './template/default/home/space_diy.htm', 1523431188, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
-|| checktplrefresh('./template/default/home/space_wall.htm', './template/default/home/space_header_personalnv.htm', 1523431188, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
+|| checktplrefresh('./template/default/home/space_wall.htm', './template/default/home/space_header.htm', 1524131347, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
+|| checktplrefresh('./template/default/home/space_wall.htm', './template/default/home/space_userabout.htm', 1524131347, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
+|| checktplrefresh('./template/default/home/space_wall.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524131347, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
+|| checktplrefresh('./template/default/home/space_wall.htm', './template/default/home/space_diy.htm', 1524131347, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
+|| checktplrefresh('./template/default/home/space_wall.htm', './template/default/home/space_header_personalnv.htm', 1524131347, '3', './data/template/3_3_home_space_wall.tpl.php', './template/wfdsoft_jiaohu', 'home/space_wall')
 ;?>
 <?php $_G['home_tpl_titles'] = array('留言板');?><?php if($_G['setting']['homepagestyle']) { $_G[cookie][extstyle] = false;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 0 - 662
data/template/3_3_home_spacecp_index.tpl.php

xqd
@@ -1,662 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('spacecp_index');
-0
-|| checktplrefresh('./template/default/home/spacecp_index.htm', './template/default/common/seditor.htm', 1523429332, '3', './data/template/3_3_home_spacecp_index.tpl.php', './template/wfdsoft_jiaohu', 'home/spacecp_index')
-|| checktplrefresh('./template/default/home/spacecp_index.htm', './template/default/home/space_header_personalnv.htm', 1523429332, '3', './data/template/3_3_home_spacecp_index.tpl.php', './template/wfdsoft_jiaohu', 'home/spacecp_index')
-;?><?php include template('common/header'); if($_GET['op'] == 'start') { ?>
-<ul id="contentstart" class="content">
-<li><a href="javascript:;" onclick="spaceDiy.getdiy('layout');return false;"><img src="<?php echo STATICURL;?>image/diy/layout.png" />版式</a></li>
-<li><a href="javascript:;" onclick="spaceDiy.getdiy('style');return false;"><img src="<?php echo STATICURL;?>image/diy/style.png" />风格</a></li>
-<li><a href="javascript:;" onclick="spaceDiy.getdiy('block');return false;"><img src="<?php echo STATICURL;?>image/diy/module.png" />添加模块</a></li>
-<li><a href="javascript:;" onclick="spaceDiy.getdiy('diy', 'topicid', '<?php echo $topic['topicid'];?>');return false;"><img src="<?php echo STATICURL;?>image/diy/diy.png" />自定义</a></li>
-</ul>
-<?php } elseif($_GET['op'] == 'layout') { ?>
-<ul id="contentframe" class="content selector"><?php if(is_array($layoutarr)) foreach($layoutarr as $key => $value) { $widthstr = implode(' ',$value);?><li id="layout<?php echo $key;?>" data="<?php echo $widthstr;?>"><a href="javascript:;" onclick="spaceDiy.changeLayout('<?php echo $key;?>');this.blur();return false;"><?php echo $key;?></a></li>
-<?php } ?>
-</ul>
-
-<?php } elseif($_GET['op'] == 'style') { ?>
-<ul class="content" style="overflow-y: auto; height: 90px;"><?php if(is_array($themes)) foreach($themes as $value) { ?>  <li><a href="javascript:;" onclick="spaceDiy.changeStyle('<?php echo $value['dir'];?>');this.blur();return false;"><img src="<?php echo STATICURL;?><?php echo $value['dir'];?>/preview.jpg" /><?php echo $value['name'];?></a></li>
-<?php } ?>
-</ul>
-<?php } elseif($_GET['op'] == 'block') { ?>
-<ul class="blocks content selector"><?php if(is_array($block)) foreach($block as $key => $value) { if(check_ban_block($key, $space)) { ?>
-<li id="chk<?php echo $key;?>"><a href="javascript:;" onclick="drag.toggleBlock('<?php echo $key;?>');this.blur();return false;"><?php echo $value;?></a></li>
-<?php } } ?>
-</ul>
-<?php } elseif($_GET['op'] == 'image') { $friendsname = array(1 => '仅好友可见',2 => '指定好友可见',3 => '仅自己可见',4 => '凭密码可见');?><div id="diyimg_prev" class="z"><?php echo $multi;?></div>
-<ul id="imagebody"><?php if(is_array($list)) foreach($list as $key => $value) { ?><li class="thumb"><a href="javascript:;" onclick="return false;"><img src="<?php echo $value['pic'];?>" alt="" onclick="spaceDiy.setBgImage(this);"/></a></li>
-<?php } ?>
-</ul>
-<div id="diyimg_next" class="z"><?php echo $multi;?></div>
-<?php if($albumlist[$albumid]['friend']) { ?>
-<script type="text/javascript">showDialog('该相册中的图片<?php echo $friendsname[$albumlist[$albumid]['friend']];?>','alert');</script>
-<?php } } elseif($_GET['op'] == 'diy') { ?>
-<dl class='diy'>
-<dt class="cl pns">
-<div class="y">
-<button type="button" id="uploadmsg_button" onclick="Util.toggleEle('upload');" class="pn pnc z <?php if(!$list) { ?> hide<?php } ?>"><span>上传新图片</span></button>
-<div id="upload" class="z<?php if($list) { ?> hide<?php } ?>"><iframe id="uploadframe" name="uploadframe" width="0" height="0" marginwidth="0" frameborder="0" src="about:blank"></iframe>
-<form method="post" autocomplete="off" name="uploadpic" id="uploadpic" action="home.php?mod=spacecp&amp;ac=index" enctype="multipart/form-data" target="uploadframe" onsubmit="return spaceDiy.uploadSubmit();">
-<input type="file" class="t_input" name="attach" size="15">
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<input type="hidden" name="albumid" value="<?php echo $albumid;?>" />
-<button type="submit" name="uploadsubmit" id="btnupload" class="pn" value="true"><span>开始上传</span></button>
-</form>
-</div>
-<span id="uploadmsg" class="z"></span>
-</div>
-<span style="margin-right: 40px;">
-<select name="selectalbum" id="selectalbum" onchange="spaceDiy.getdiy('image', 'albumid', this.value);"><?php if(is_array($albumlist)) foreach($albumlist as $album) { ?><option value="<?php echo $album['albumid'];?>" <?php echo $album[albumid] == $albumid ? 'selected' : '';?> ><?php echo $album['albumname'];?> - (<?php echo $album['picnum'];?> 张)</option>
-<?php } ?>
-</select>
-</span>
-<span>正在编辑:</span>
-<a id="diy_tag_body" href="javascript:;" onclick="spaceDiy.setCurrentDiy('body');return false;">背景</a>
-<span class="pipe">|</span><a id="diy_tag_hd" href="javascript:;" onclick="spaceDiy.setCurrentDiy('hd');return false;">头部</a>
-<span class="pipe">|</span><a id="diy_tag_blocktitle" href="javascript:;" onclick="spaceDiy.setCurrentDiy('blocktitle');return false;">标题栏</a>
-<span class="pipe">|</span><a id="diy_tag_ct" href="javascript:;" onclick="spaceDiy.setCurrentDiy('ct');return false;">内容区</a>
-
-<a style="margin-left: 40px;" id="bg_button" href="javascript:;" onclick="spaceDiy.hideBg();return false;">取消背景图</a>
-<span class="pipe">|</span><a id="recover_button" href="javascript:;" onclick="spaceDiy.recoverStyle();return false;">恢复原装皮肤</a>
-</dt>
-<dd>
-<div class="photo_list cl">
-<div id="currentimgdiv" class="z" style="width:446px;">
-<center><ul><li class="thumb" style="border:1px solid #ccc; padding:2px;"><img id="currentimg" alt="" src=""/></li></ul>
-<div class="z cur1" onclick="spaceDiy.changeBgImgDiv();">更换</div></center>
-</div>
-<div id="diyimages" class="z" style="width:446px;display:none;">
-<div id="diyimg_prev" class="z"><?php echo $multi;?></div>
-<ul id="imagebody"><?php if(is_array($list)) foreach($list as $key => $value) { ?><li class="thumb"><a href="javascript:;" ><img src="<?php echo $value['pic'];?>" alt="" onclick="spaceDiy.setBgImage(this);return false;"/></a></li>
-<?php } ?>
-</ul>
-<div id="diyimg_next" class="z"><?php echo $multi;?></div>
-</div>
-<div class="z" style="padding-left: 7px; width: 160px; border: solid #CCC; border-width: 0 1px;">
-<table cellpadding="0" cellspacing="0">
-<tr>
-<td><label for="repeat_mode">图片平铺:</label></td>
-<td>
-<select id="repeat_mode" name="repeat_mode" onclick="spaceDiy.setBgRepeat(this.value);">
-<option value="0" selected="selected">平铺</option>
-<option value="1">直接使用</option>
-<option value="2">横向平铺</option>
-<option value="3">纵向平铺</option>
-</select>
-</td>
-</tr>
-<tr>
-<td>图片位置:</td>
-<td>
-<table cellpadding="0" cellspacing="0" id="positiontable">
-<tr>
-<td id="bgimgposition0" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition1" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition2" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-</tr>
-<tr>
-<td id="bgimgposition3" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition4" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition5" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-</tr>
-<tr>
-<td id="bgimgposition6" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition7" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition8" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-</div>
-<div class="z diywin" style="padding-left: 7px; width: 160px;">
-<table cellpadding="0" cellspacing="0">
-<tr>
-<td>背景滚动:</td>
-<td>
-<label for="rabga0"><input type="radio" id="rabga0" name="attachment_mode" onclick="spaceDiy.setBgAttachment(0);" class="pr" />滚动</label>
-<label for="rabga1"><input type="radio" id="rabga1" name="attachment_mode" onclick="spaceDiy.setBgAttachment(1);" class="pr" />固定</label>
-</td>
-</tr>
-<tr>
-<td>背景颜色:</td>
-<td><input type="text" id="colorValue" value="" size="6" onchange="spaceDiy.setBgColor(this.value);" class="px vm" style="font-size: 12px; padding: 2px;" />
-<input id="cbpb" onclick="createPalette('bpb', 'colorValue', 'spaceDiy.setBgColor');" type="button" class="pn colorwd" value="" />
-</td>
-</tr>
-</table>
-</div>
-<div class="z diywin" style="padding-left: 7px; width: 160px;">
-<table cellpadding="0" cellspacing="0">
-<tr>
-<td>文字颜色:</td>
-<td><input type="text" id="textColorValue" value="" size="6" onchange="spaceDiy.setTextColor(this.value);" class="px vm" style="font-size: 12px; padding: 2px;" />
-<input id="ctpb" onclick="createPalette('tpb', 'textColorValue', 'spaceDiy.setTextColor');" type="button" class="pn colorwd" value="" />
-</td>
-</tr>
-<tr>
-<td>链接颜色:</td>
-<td><input type="text" id="linkColorValue" value="" size="6" onchange="spaceDiy.setLinkColor(this.value);" class="px vm" style="font-size: 12px; padding: 2px;" />
-<input id="clpb" onclick="createPalette('lpb', 'linkColorValue', 'spaceDiy.setLinkColor');" type="button" class="pn colorwd" value="" />
-</td>
-</tr>
-</table>
-</div>
-</div>
-</dd>
-</dl>
-<?php } elseif($_GET['op'] == 'getblock') { ?>
-<?php echo $blockhtml;?>
-<?php } elseif($_GET['op'] == 'editnv') { ?>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">编辑导航菜单名称</em>
-<span>
-<?php if($_G['inajax']) { ?><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;" title="关闭">关闭</a><?php } ?>
-</span>
-</h3>
-<form id="nvformsetting" name="nvformsetting" method="post" autocomplete="off" action="home.php?mod=spacecp&amp;ac=index" onsubmit="ajaxpost('nvformsetting','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');" class="fdiy">
-<div class="c diywin" style="max-height:350px;width:420px;height:auto !important;height:320px;_margin-right:20px;overflow-y:auto;">
-<div id="nv_setting">
-<table class="tfm">
-<tr>
-<th>隐藏导航</th>
-<td>
-<label><input type="radio" name="nvhidden" value="1"<?php if($personalnv['nvhidden'] == '1') { ?> checked="checked"<?php } ?>>是</label>
-<label><input type="radio" name="nvhidden" value="0"<?php if(empty($personalnv['nvhidden'])) { ?> checked="checked"<?php } ?>>否</label>
-</td>
-</tr>
-<tr>
-<th>空间首页</th>
-<td>
-<input type="text" name="index" value="<?php if(!isset($personalnv['items']['index'])) { ?>空间首页<?php } else { ?><?php echo $personalnv['items']['index'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banindex" value="1"<?php if(!empty($personalnv['banitems']['index'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banindex" value="0"<?php if(empty($personalnv['banitems']['index'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<tr>
-<th>动态</th>
-<td>
-<input type="text" name="feed" value="<?php if(!isset($personalnv['items']['feed'])) { ?>动态<?php } else { ?><?php echo $personalnv['items']['feed'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banfeed" value="1"<?php if(!empty($personalnv['banitems']['feed'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banfeed" value="0"<?php if(empty($personalnv['banitems']['feed'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<tr>
-<th>记录</th>
-<td>
-<input type="text" name="doing" value="<?php if(!isset($personalnv['items']['doing'])) { ?>记录<?php } else { ?><?php echo $personalnv['items']['doing'];?><?php } ?>" class="px" />
-<label><input type="radio" name="bandoing" value="1"<?php if(!empty($personalnv['banitems']['doing'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="bandoing" value="0"<?php if(empty($personalnv['banitems']['doing'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<tr>
-<th>日志</th>
-<td>
-<input type="text" name="blog" value="<?php if(!isset($personalnv['items']['blog'])) { ?>日志<?php } else { ?><?php echo $personalnv['items']['blog'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banblog" value="1"<?php if(!empty($personalnv['banitems']['blog'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banblog" value="0"<?php if(empty($personalnv['banitems']['blog'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<tr>
-<th>相册</th>
-<td>
-<input type="text" name="album" value="<?php if(!isset($personalnv['items']['album'])) { ?>相册<?php } else { ?><?php echo $personalnv['items']['album'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banalbum" value="1"<?php if(!empty($personalnv['banitems']['album'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banalbum" value="0"<?php if(empty($personalnv['banitems']['album'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<tr>
-<th>广播</th>
-<td>
-<input type="text" name="follow" value="<?php if(!isset($personalnv['items']['follow'])) { ?>广播<?php } else { ?><?php echo $personalnv['items']['follow'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banfollow" value="1"<?php if(!empty($personalnv['banitems']['follow'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banfollow" value="0"<?php if(empty($personalnv['banitems']['follow'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<?php if($_G['setting']['allowviewuserthread'] !== false) { ?>
-<tr>
-<th>主题</th>
-<td>
-<input type="text" name="topic" value="<?php if(!isset($personalnv['items']['topic'])) { ?>主题<?php } else { ?><?php echo $personalnv['items']['topic'];?><?php } ?>" class="px" />
-<label><input type="radio" name="bantopic" value="1"<?php if(!empty($personalnv['banitems']['topic'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="bantopic" value="0"<?php if(empty($personalnv['banitems']['topic'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<?php } ?>
-<tr>
-<th>分享</th>
-<td>
-<input type="text" name="share" value="<?php if(!isset($personalnv['items']['share'])) { ?>分享<?php } else { ?><?php echo $personalnv['items']['share'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banshare" value="1"<?php if(!empty($personalnv['banitems']['share'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banshare" value="0"<?php if(empty($personalnv['banitems']['share'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<tr>
-<th>好友</th>
-<td>
-<input type="text" name="friends" value="<?php if(!isset($personalnv['items']['friends'])) { ?>好友<?php } else { ?><?php echo $personalnv['items']['friends'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banfriends" value="1"<?php if(!empty($personalnv['banitems']['friends'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banfriends" value="0"<?php if(empty($personalnv['banitems']['friends'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<tr>
-<th>留言板</th>
-<td>
-<input type="text" name="wall" value="<?php if(!isset($personalnv['items']['wall'])) { ?>留言板<?php } else { ?><?php echo $personalnv['items']['wall'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banwall" value="1"<?php if(!empty($personalnv['banitems']['wall'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banwall" value="0"<?php if(empty($personalnv['banitems']['wall'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-<tr>
-<th>个人资料</th>
-<td>
-<input type="text" name="profile" value="<?php if(!isset($personalnv['items']['profile'])) { ?>个人资料<?php } else { ?><?php echo $personalnv['items']['profile'];?><?php } ?>" class="px" />
-<label><input type="radio" name="banprofile" value="1"<?php if(!empty($personalnv['banitems']['profile'])) { ?> checked="checked"<?php } ?>>隐藏</label>
-<label><input type="radio" name="banprofile" value="0"<?php if(empty($personalnv['banitems']['profile'])) { ?> checked="checked"<?php } ?>>显示</label>
-</td>
-</tr>
-</table>
-</div>
-</div>
-<div class="o pns">
-<input type="hidden" name="editnvsubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc" id="editnvsubmitbtn"><strong>确定</strong></button>
-</div>
-</form>
-<script type="text/javascript" reload="1">
-function succeedhandle_<?php echo $_GET['handlekey'];?> (url, message, values) {
-spaceDiy.getPersonalNv();
-hideWindow('<?php echo $_GET['handlekey'];?>');}
-</script>
-<?php } elseif($_GET['op'] == 'edit') { ?>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">编辑模块</em>
-<span>
-<?php if($_G['inajax']) { ?><a href="javascript:;" class="flbc" onclick="spaceDiy.delIframe();hideWindow('<?php echo $_GET['handlekey'];?>');return false;" title="关闭">关闭</a><?php } ?>
-</span>
-</h3>
-<?php if(($blockname != 'music')) { ?>
-<form id="blockformsetting" name="blockformsetting" method="post" autocomplete="off" action="home.php?mod=spacecp&amp;ac=index&amp;blockname=<?php echo $blockname;?>" onsubmit="ajaxpost('blockformsetting','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');" class="fdiy">
-<div class="c diywin" style="max-height:350px;width:420px;height:auto !important;height:320px;_margin-right:20px;overflow-y:auto;">
-<div id="block_setting">
-<table class="tfm">
-<tr>
-<th>模块名称</th>
-<td><input type="text" name="blocktitle" value="<?php echo $para['title'];?>" class="px" /></td>
-</tr>
-<?php if(($blockname == 'profile')) { $para['banavatar'] = empty($para['banavatar']) ? 'middle' : $para['banavatar'];?><tr>
-<th>头像大小</th>
-<td>
-<label><input type="radio" name="avatar" value="big"<?php if($para['banavatar'] == 'big') { ?> checked="checked"<?php } ?>>大</label>
-<label><input type="radio" name="avatar" value="middle"<?php if($para['banavatar'] == 'middle') { ?> checked="checked"<?php } ?>>中</label>
-<label><input type="radio" name="avatar" value="small"<?php if($para['banavatar'] == 'small') { ?> checked="checked"<?php } ?>>小</label>
-</td>
-</tr>
-
-<?php } elseif(($blockname == 'statistic')) { ?>
-<tr>
-<th>显示统计内容</th>
-<td>
-<label><input type="checkbox" name="credits" value="1" class="px"<?php if(empty($para['bancredits'])) { ?> checked="checked"<?php } ?> />积分</label>
-<label><input type="checkbox" name="friends" value="1" class="px"<?php if(empty($para['banfriends'])) { ?> checked="checked"<?php } ?> />好友数</label>
-<label><input type="checkbox" name="threads" value="1" class="px"<?php if(empty($para['banthreads'])) { ?> checked="checked"<?php } ?> />主题数</label>
-<label><input type="checkbox" name="blogs" value="1" class="px"<?php if(empty($para['banblogs'])) { ?> checked="checked"<?php } ?> />日志数</label>
-<label><input type="checkbox" name="albums" value="1" class="px"<?php if(empty($para['banalbums'])) { ?> checked="checked"<?php } ?> />相册数</label>
-<label><input type="checkbox" name="sharings" value="1" class="px"<?php if(empty($para['bansharings'])) { ?> checked="checked"<?php } ?> />分享数</label>
-<label><input type="checkbox" name="views" value="1" class="px"<?php if(empty($para['banviews'])) { ?> checked="checked"<?php } ?> />空间查看数</label>
-</td>
-</tr>
-<?php } elseif(in_array($blockname, array('block1', 'block2', 'block3', 'block4', 'block5'))) { ?>
-<tr><?php $msg .= $_G['group']['allowspacediyhtml'] ? 'HTML ' : ''?><?php $msg .= $_G['group']['allowspacediybbcode'] ? 'BBCODE ' : ''?><?php $msg .= $_G['group']['allowspacediyimgcode'] ? 'IMG ' : ''?><?php $msg = $msg ? lang('spacecp', 'spacecp_message_prompt', array('msg' => $msg)) : ''?><?php $para['content'] = dhtmlspecialchars($para['content']);?><th>自定义内容<br><span style=" font-weight: 400; "><?php echo $msg;?></span></th>
-<td>
-<div class="tedt">
-<div class="bar"><?php $editicons = array();?><?php if($_G['group']['allowspacediybbcode']) $editicons = array('bold', 'color', 'link', 'quote', 'code', 'smilies');?><?php if($_G['group']['allowspacediyimgcode']) $editicons[] = 'img';?><?php $seditor = array('content', $editicons);?><script src="<?php echo $_G['setting']['jspath'];?>seditor.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<div class="fpd">
-<?php if(in_array('bold', $seditor['1'])) { ?>
-<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>
-<?php } if(in_array('color', $seditor['1'])) { ?>
-<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>
-<?php } if(in_array('img', $seditor['1'])) { ?>
-<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>
-<?php } if(in_array('link', $seditor['1'])) { ?>
-<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>
-<?php } if(in_array('quote', $seditor['1'])) { ?>
-<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>
-<?php } if(in_array('code', $seditor['1'])) { ?>
-<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>
-<?php } if(in_array('smilies', $seditor['1'])) { ?>
-<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>
-<?php if(empty($seditor['2'])) { ?>
-<script type="text/javascript" reload="1">smilies_show('<?php echo $seditor['0'];?>smiliesdiv', <?php echo $_G['setting']['smcols'];?>, '<?php echo $seditor['0'];?>');</script>
-<?php } } if(in_array('at', $seditor['1']) && $_G['group']['allowat']) { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>at.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<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>
-<?php } ?>
-<?php echo $seditor['3'];?>
-</div></div>
-<div class="area">
-<textarea name="content" id="contentmessage" style="width: 100%;"cols="40" rows="3" class="pt" onkeydown="ctrlEnter(event, 'blocksubmitbtn');"><?php echo $para['content'];?></textarea>
-</div>
-</div>
-<script src="<?php echo $_G['setting']['jspath'];?>bbcode.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script type="text/javascript">var forumallowhtml = 0,allowhtml = parseInt('<?php echo $_G['group']['allowspacediyhtml'];?>'),allowsmilies = 0,allowbbcode = parseInt('<?php echo $_G['group']['allowspacediybbcode'];?>'),allowimgcode = parseInt('<?php echo $_G['group']['allowspacediyimgcode'];?>');var DISCUZCODE = [];DISCUZCODE['num'] = '-1';DISCUZCODE['html'] = [];
-</script>
-</td>
-</tr>
-<?php } elseif(in_array($blockname, array('personalinfo'))) { } else { ?>
-<tr>
-<th>显示条数</th>
-<td><input type="text" name="shownum" value="<?php echo $para['shownum'];?>" class="px" /></td>
-</tr>
-<?php } if($blockname == 'blog') { ?>
-<tr>
-<th>摘要长度</th>
-<td><input type="text" name="showmessage" value="<?php echo $para['showmessage'];?>" class="px" />  单位字节,0 将不显示摘要</td>
-</tr>
-<?php } elseif($blockname == 'myapp') { $para['logotype'] = empty($para['logotype']) ? 'icon' : $para['logotype'];?><tr>
-<th>图标大小</th>
-<td>
-<label><input type="radio" name="logotype" value="logo"<?php if($para['logotype'] == 'logo') { ?> checked="checked"<?php } ?>>大</label>
-<label><input type="radio" name="logotype" value="icon"<?php if($para['logotype'] == 'icon') { ?> checked="checked"<?php } ?>>小</label>
-</td>
-</tr>
-<?php } ?>
-</table>
-</div>
-</div>
-<div class="o pns">
-<input type="hidden" name="blocksubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="eleid" value="<?php echo $_GET['eleid'];?>" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc" id="blocksubmitbtn"><strong>确定</strong></button>
-</div>
-</form>
-<?php } else { $musicmsgs = $userdiy['parameters']['music'];$config = $musicmsgs['config'];?><?php if(empty($musicmsgs['mp3list']) ) { $addshow = 'block';$addtabshow = 'class="a"';$listshow = 'none';$listtabshow = '';?><?php } else { $addshow = 'none';$addtabshow = '';$listshow = 'block';$listtabshow = 'class="a"';?><?php } ?>
-<ul id="menutabs" class="tb cl">
-<li id="musicadd"<?php echo $addtabshow;?>><a href="javascript:;" onclick="spaceDiy.menuChange('menutabs' ,'musicadd');this.blur();return false;">添加音乐</a></li>
-<li id="musiclist"<?php echo $listtabshow;?>><a href="javascript:;" onclick="spaceDiy.menuChange('menutabs' ,'musiclist');this.blur();return false;">当前播放列表</a></li>
-<li id="musicconfig"><a href="javascript:;" onclick="spaceDiy.menuChange('menutabs' ,'musicconfig');this.blur();return false;">播放器配置</a></li>
-</ul>
-<div id="musicconfig_content" style="display:none">
-<form method="post" name="musicconfigform" id="musicconfigform" autocomplete="off" action="home.php?mod=spacecp&amp;ac=index&amp;blockname=<?php echo $blockname;?>" onsubmit="spaceDiy.delIframe();ajaxpost('musicconfigform','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');">
-<div class="c diywin" style="max-height:350px;width:480px;height:auto !important;height:320px;_margin-right:20px;overflow-y:auto;">
-<table class="tfm">
-<tr>
-<th>模块名称</th>
-<td><input type="text" name="blocktitle" value="<?php echo $para['title'];?>" class="px" /></td>
-</tr>
-<tr>
-<th>显示模式</th><?php $bigmod = $config['showmod'] == 'big' ? ' checked' : ''; $defaultmod = $config['showmod'] == 'default' ? ' checked' : '';?><td> <input type="radio" value="big" name="showmod"<?php echo $bigmod;?>>完整 <input type="radio" value="default" name="showmod"<?php echo $defaultmod;?>>列表</td>
-</tr>
-<tr>
-<th>开始模式</th><?php $autorun1 = $config['autorun'] == 'true' ? ' checked' : ''; $autorun2 = $config['autorun'] == 'false' ? ' checked' : '';?><td> <input type="radio" value="true" name="autorun"<?php echo $autorun1;?>>自动 <input type="radio" value="false" name="autorun"<?php echo $autorun2;?>>手动</td>
-</tr>
-<tr>
-<th>播放模式</th><?php $shuffle1 = $config['shuffle'] == 'true' ? ' checked' : ''; $shuffle2 = $config['shuffle'] == 'false' ? ' checked' : '';?><td> <input type="radio" value="true" name="shuffle"<?php echo $shuffle1;?>>随机顺序 <input type="radio" value="false" name="shuffle"<?php echo $shuffle2;?>>列表顺序</td>
-</tr>
-<tr>
-<th>界面颜色</th>
-<td>
-<p class="mbn">
-面板背景颜色
-<input type="text" name="crontabcolor" id="usercrontabcolor_v" value="<?php echo $config['crontabcolor'];?>" size="7" class="px p_fre" />
-<input id="cm_ctc" onclick="createPalette('m_ctc', 'usercrontabcolor_v');" type="button" class="pn colorwd" value="" style="background-color: <?php echo $config['crontabcolor'];?>">
-</p>
-<p class="mbn">
-字体按钮颜色
-<input type="text" name="buttoncolor" id="userbuttoncolor_v" value="<?php echo $config['buttoncolor'];?>" size="7" class="px p_fre" />
-<input id="cm_bc" onclick="createPalette('m_bc', 'userbuttoncolor_v');" type="button" class="pn colorwd" value="" style="background-color: <?php echo $config['buttoncolor'];?>">
-</p>
-<p class="mbn">
-播放曲目颜色
-<input type="text" name="fontcolor" id="userfontcolor_v" value="<?php echo $config['fontcolor'];?>" size="7" class="px p_fre" />
-<input id="cm_fc" onclick="createPalette('m_fc', 'userfontcolor_v');" type="button" class="pn colorwd" value="" style="background-color: <?php echo $config['fontcolor'];?>">
-</p>
-</td>
-</tr>
-<tr>
-<th>面板背景</th>
-<td><input type="text" name="crontabbj" value="<?php echo $config['crontabbj'];?>" size="40" maxlength="200" class="px" />
-<br />完整模式才有效果,建议选择 200*18 的 jpg 图片</td>
-</tr>
-<tr>
-<th>高度</th><?php $config['height'] = empty($config['height']) && $config['height'] !== 0 ? 200 : $config['height'];?><td><input type="text" name="height" value="<?php echo $config['height'];?>" size="10" maxlength="10" class="px p_fre" />px
-<br />设置音乐盒的高度</td>
-</tr>
-</table>
-</div>
-<div class="o pns">
-<input type="hidden" name="musicsubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="act" value="config" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>确定</strong></button>
-</div>
-</form>
-</div>
-
-<div id="musicadd_content" style="display:<?php echo $addshow;?>;">
-<script type="text/javascript">
-function addMenu() {
-newnode = $("tb_menu_new").rows[0].cloneNode(true);
-tags = newnode.getElementsByTagName('input');
-for(i in tags) {
-tags[i].value = '';
-}
-$("tb_menu_new").appendChild(newnode);
-}
-
-function exchangeNode(obj, opId) {
-var currentlyNode = obj.parentNode.parentNode.parentNode;
-var opIndex = parseInt(currentlyNode.id);
-var opNode = aimNode = '';
-var aimId = 0;
-if(opId == 1) {
-aimId = opIndex+1;
-if($('thetable').rows[aimId] == undefined) {
-alert("已到最后一个");
-return false;
-}
-} else {
-aimId = opIndex-1;
-if(aimId == 0) {
-alert("已是第一个");
-return false;
-}
-}
-opNode = currentlyNode.rows[0].cloneNode(true);
-aimNode = $('thetable').rows[aimId].parentNode;
-var caimNode = aimNode.rows[0].cloneNode(true);
-aimNode.removeChild(aimNode.rows[0]);
-aimNode.appendChild(opNode);
-currentlyNode.removeChild(currentlyNode.rows[0]);
-currentlyNode.appendChild(caimNode);
-}
-
-function delMenu(obj) {
-if($("tb_menu_new").rows.length > 1) {
-$("tb_menu_new").removeChild(obj.parentNode.parentNode);
-} else {
-alert('最后一行不允许删除');
-}
-}
-function delList() {
- var inputs = $('musiclistform').getElementsByTagName('input');
- var ids = [];
- for (var i=0;i<inputs.length;i++){
- if (inputs[i].type == 'checkbox') ids.push(inputs[i]);
- }
- var id = '';
- for (var i in ids) {
- if (typeof ids[i] == 'object' && ids[i].checked) {
-id = parseInt(ids[i].value)+1;
-var obj = $(id);
-if(obj) {
-obj.parentNode.removeChild(obj);
-}
- }
- }
-}
-</script>
-
-<form method="post" name="musicaddform" id="musicaddform" autocomplete="off" action="home.php?mod=spacecp&amp;ac=index&amp;blockname=<?php echo $blockname;?>" onsubmit="spaceDiy.delIframe();ajaxpost('musicaddform','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');">
-<div class="c diywin" style="max-height:260px;width:480px;height:auto !important;height:260px;_margin-right:20px;overflow-y:auto;">
-<table class="tfm">
-<tr><td colspan="2" align="center">注意:仅支持 mp3 格式添加,即:必须是以 http:// 开始,以 .mp3 结尾</td></tr>
-<tr><td colspan="2"><hr size="1" color="#EEEEEE" /></td></tr>
-<tbody id="tb_menu_new">
-<tr>
-<td>
-<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0">
-<tr>
-<th>mp3地址</th>
-<td><input type="text" name="mp3url[]" value="" size="40" maxlength="200" class="px" /></td>
-</tr>
-<tr>
-<th>曲目名</th>
-<td><input type="text" name="mp3name[]" size="20" maxlength="30" class="px" style="width:150px;" />
-   为空则自动生成名字</td>
-</tr>
-<tr>
-<th>封面</th>
-<td><input type="text" name="cdbj[]" value="" size="40" maxlength="200" class="px" />
-<br />
-   完整模式才有效果,建议选择 60*60 的 jpg 图片</td>
-</tr>
-</table></td>
-<td><a href="javascript:;" onclick="delMenu(this)"> 删除</a></td>
-</tr>
-</tbody>
-</table>
-</div>
-
-<div class="o pns">
-<input type="hidden" name="musicsubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="act" value="addmusic" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="button" name="addone" onclick="addMenu();return false;" class="pn"><em>增加</em></button>&nbsp;
-<button type="submit" class="pn pnc"><strong>确定</strong></button>
-</div>
-</form>
-</div>
-<div id="musiclist_content" style="display:<?php echo $listshow;?>;">
-
-<?php if((!empty($musicmsgs['mp3list']))) { ?>
-<form method="post" name="musiclistform" id="musiclistform" autocomplete="off" action="home.php?mod=spacecp&amp;ac=index&amp;blockname=<?php echo $blockname;?>" onsubmit="delList();spaceDiy.delIframe();ajaxpost('musiclistform','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');">
-<div class="c diywin" style="max-height:350px;width:480px;height:auto !important;height:320px;_margin-right:20px;overflow-y:auto;">
-<table width="100%" align="center" border="0" cellspacing="2" cellpadding="2">
-<tr>
-<td colspan="2">唱片集封面和文件地址<br/>(不能播放的时候请检查该地址 mp3 文件是否存在)</td>
-<td><div align="right">全选删除
-<input id="chkall" name="chkall" onclick="checkall(this.form, 'id')" type="checkbox">
-</div></td>
-</tr>
-<tr><td colspan="3">
-<table width="100%" align="center" border="0" cellspacing="1" cellpadding="1" id="thetable">
-<tbody style="display:none;"><tr><td colspan="2"><hr size="0" /></td></tr></tbody><?php if(is_array($musicmsgs['mp3list'])) foreach($musicmsgs['mp3list'] as $key => $list) { $list['cdbj'] = empty($list['cdbj']) ? IMGDIR.'/nophotosmall.gif' : $list['cdbj'];?><?php $list['mp3name'] = dhtmlspecialchars($list['mp3name']);$list['mp3url'] = dhtmlspecialchars($list['mp3url']);$list['cdbj'] = dhtmlspecialchars($list['cdbj']);?><?php $index_ = $key+1;?><tbody id="<?php echo $index_;?>">
-      		   <tr>
-      		     <td>
-      		       <table class="tfm">
-      		         <tbody><tr>
-      		           <th>mp3地址</th>
-      		           <td><input type="text" value="<?php echo $list['mp3url'];?>" maxlength="200" size="40" name="mp3url[]" class="px" ></td>
-      		         </tr>
-      		         <tr>
-      		           <th>曲目名</th>
-      		           <td><input type="text" value="<?php echo $list['mp3name'];?>" maxlength="30" size="20" name="mp3name[]" class="px" >
-      		             </td>
-      		         </tr>
-      		         <tr>
-      		           <th>封面</th>
-      		           <td><input type="text" value="<?php echo $list['cdbj'];?>" maxlength="200" size="40" name="cdbj[]" class="px" >
-   <p><img border="0" class="musicbj mtn" src="<?php echo $list['cdbj'];?>"></p>
-      		            </td>
-      		         </tr>
-      		     </tbody></table></td>
-      		     <td width="50px"><input type="checkbox" value="<?php echo $key;?>" id="id_<?php echo $key;?>" name="ids"><a onclick="exchangeNode(this, -1)" href="javascript:;"><img width="11" height="12" border="0" src="<?php echo IMGDIR;?>/icon_top.gif"></a><a onclick="exchangeNode(this, 1)" href="javascript:;"><img width="11" height="12" border="0" src="<?php echo IMGDIR;?>/icon_down.gif"></a></td>
-      		   </tr>
-      		</tbody>
-<?php } ?>
-</table>
-</td>
-</tr>
-</table>
-</div>
-<div class="o pns">
-<input type="hidden" name="musicsubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="act" value="editlist" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>更新当前音乐列表</strong></button>
-</div>
-</form>
-<?php } else { ?>
-<div class="c diywin" style="max-height:350px;width:420px;height:auto !important;height:320px;_margin-right:20px;overflow-y:auto;">
-<div style="line-height:40px;text-align:center;">暂无音乐播放列表
-<button onclick="spaceDiy.menuChange('menutabs' ,'musicadd');;" class="pn"><em>添加音乐</em></button>
-</div>
-</div>
-<?php } ?>
-</div>
-<?php } ?>
-<script type="text/javascript" reload="1">
-function succeedhandle_<?php echo $_GET['handlekey'];?> (url, message, values) {
-var x = new Ajax();
-x.get('home.php?mod=spacecp&ac=index&op=getblock&blockname='+values['blockname']+'&inajax=1', function(s) {
-s = s.replace(/\<script.*\<\/script\>/ig,'<font color="red"> [javascript 脚本保存后显示] </font>');
-$(values['blockname']).innerHTML = s;
-drag.initPosition();
-});
-hideWindow('<?php echo $_GET['handlekey'];?>');}
-</script>
-<?php } elseif($_GET['op'] == 'savespaceinfo') { $space[domainurl] = space_domain($space);?><strong id="spacename"><?php if($space['spacename']) { ?><?php echo $space['spacename'];?><?php } else { ?><?php echo $space['username'];?>的个人空间<?php } ?></strong>
-<a id="domainurl" href="<?php echo $space['domainurl'];?>" onclick="setCopy('<?php echo $space['domainurl'];?>', '空间地址复制成功');return false;" class="xs0 xw0"><?php echo $space['domainurl'];?></a>
-<span id="spacedescription" class="xw0"><?php echo $space['spacedescription'];?></span>
-<script type="text/javascript" reload="1">spaceDiy.initSpaceInfo();</script>
-
-<?php } elseif($_GET['op'] == 'getspaceinfo') { $space[domainurl] = space_domain($space);?><form id="savespaceinfo" action="home.php?mod=spacecp&amp;ac=index&amp;op=savespaceinfo" method="post">
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<input type="hidden" name="savespaceinfosubmit" value="true" />
-<strong class="pns mbm">
-<em class="xw0 xs1">我的空间名称: </em><input type="text" class="px vm" value="<?php if($space['spacename']) { ?><?php echo $space['spacename'];?><?php } else { ?><?php echo $space['username'];?>的个人空间<?php } ?>" name="spacename" />&nbsp;
-<button type="submit" class="pn pnc vm" onclick="spaceDiy.spaceInfoSave();"><em>保存</em></button>
-<button type="button" class="pn vm" onclick="spaceDiy.spaceInfoCancel();"><em>取消</em></button>
-</strong>
-<a id="domainurledit" style="display: none;"><?php echo $space['domainurl'];?></a>
-<span><em class="xw0 xs1">我的空间描述: </em><input type="text" class="px" style="width:600px" value="<?php echo $space['spacedescription'];?>" name="spacedescription" /></span>
-</form>
-<?php } elseif($_GET['op'] == 'getpersonalnv') { if($_G['adminid'] == 1 && empty($space['self'])) { $personalnv['items'] = array(); $personalnv['banitems'] = array(); $personalnv['nvhidden'] = 0;?><?php } $nvclass = !empty($personalnv['nvhidden']) ? ' class="mininv"' : '';?><div id="nv">
-<ul<?php echo $nvclass;?>>
-<?php if(empty($personalnv['nvhidden'])) { if(empty($personalnv['banitems']['index'])) { if($_G['adminid'] == 1 && $_G['setting']['allowquickviewprofile'] == 1) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=index&amp;view=admin"><?php if(!empty($personalnv['items']['index'])) { ?><?php echo $personalnv['items']['index'];?><?php } else { ?>空间首页<?php } ?></a></li>
-<?php } else { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=index"><?php if(!empty($personalnv['items']['index'])) { ?><?php echo $personalnv['items']['index'];?><?php } else { ?>空间首页<?php } ?></a></li>
-<?php } } if(empty($personalnv['banitems']['feed']) && helper_access::check_module('feed')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=home&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['feed'])) { ?><?php echo $personalnv['items']['feed'];?><?php } else { ?>动态<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['doing']) && helper_access::check_module('doing')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=doing&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['doing'])) { ?><?php echo $personalnv['items']['doing'];?><?php } else { ?>记录<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['blog']) && helper_access::check_module('blog')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=blog&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['blog'])) { ?><?php echo $personalnv['items']['blog'];?><?php } else { ?>日志<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['album']) && helper_access::check_module('album')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=album&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['album'])) { ?><?php echo $personalnv['items']['album'];?><?php } else { ?>相册<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['follow']) && helper_access::check_module('follow')) { ?>
-<li><a href="home.php?mod=follow&amp;uid=<?php echo $space['uid'];?>&amp;do=view"><?php if(!empty($personalnv['items']['follow'])) { ?><?php echo $personalnv['items']['follow'];?><?php } else { ?>广播<?php } ?></a></li>
-<?php } if($_G['setting']['allowviewuserthread'] !== false && (empty($personalnv['banitems']['topic']))) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=thread&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['topic'])) { ?><?php echo $personalnv['items']['topic'];?><?php } else { ?>主题<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['share']) && helper_access::check_module('share')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=share&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['share'])) { ?><?php echo $personalnv['items']['share'];?><?php } else { ?>分享<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['wall']) && helper_access::check_module('wall')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=wall"><?php if(!empty($personalnv['items']['wall'])) { ?><?php echo $personalnv['items']['wall'];?><?php } else { ?>留言板<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['profile'])) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=profile"><?php if(!empty($personalnv['items']['profile'])) { ?><?php echo $personalnv['items']['profile'];?><?php } else { ?>个人资料<?php } ?></a></li>
-<?php } } ?>
-</ul>
-</div><?php } else { ?>
-<ul>
-  <li> NONE </li>
-</ul>
-<?php } include template('common/footer'); ?>

+ 1 - 1
data/template/3_3_member_login.tpl.php

xqd
@@ -1,6 +1,6 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('login');
 0
-|| checktplrefresh('./template/default/member/login.htm', './template/default/common/seccheck.htm', 1523462274, '3', './data/template/3_3_member_login.tpl.php', './template/wfdsoft_jiaohu', 'member/login')
+|| checktplrefresh('./template/default/member/login.htm', './template/default/common/seccheck.htm', 1524147175, '3', './data/template/3_3_member_login.tpl.php', './template/wfdsoft_jiaohu', 'member/login')
 ;?><?php include template('common/header'); $loginhash = 'L'.random(4);?><?php if(empty($_GET['infloat'])) { ?>
 <div id="ct" class="ptm wp w cl">
 <div class="nfl" id="main_succeed" style="display: none">

+ 0 - 869
data/template/3_3_portal_portalcp_block.tpl.php

xqd
@@ -1,869 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('portalcp_block');
-0
-|| checktplrefresh('./template/default/portal/portalcp_block.htm', './template/default/portal/portalcp_block_setting.htm', 1523429653, '3', './data/template/3_3_portal_portalcp_block.tpl.php', './template/wfdsoft_jiaohu', 'portal/portalcp_block')
-|| checktplrefresh('./template/default/portal/portalcp_block.htm', './template/default/portal/portalcp_block_thumbsetting.htm', 1523429653, '3', './data/template/3_3_portal_portalcp_block.tpl.php', './template/wfdsoft_jiaohu', 'portal/portalcp_block')
-|| checktplrefresh('./template/default/portal/portalcp_block.htm', './template/default/portal/portalcp_block_setting.htm', 1523429653, '3', './data/template/3_3_portal_portalcp_block.tpl.php', './template/wfdsoft_jiaohu', 'portal/portalcp_block')
-|| checktplrefresh('./template/default/portal/portalcp_block.htm', './template/default/portal/portalcp_block_thumbsetting.htm', 1523429653, '3', './data/template/3_3_portal_portalcp_block.tpl.php', './template/wfdsoft_jiaohu', 'portal/portalcp_block')
-|| checktplrefresh('./template/default/portal/portalcp_block.htm', './template/default/portal/portalcp_nav.htm', 1523429653, '3', './data/template/3_3_portal_portalcp_block.tpl.php', './template/wfdsoft_jiaohu', 'portal/portalcp_block')
-;?><?php include template('common/header'); if(!$_G['inajax'] && in_array($op, array('block', 'data', 'itemdata'))) { ?>
-<div id="pt" class="bm cl">
-<div class="z">
-<a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a> <em>&rsaquo;</em>
-<a href="<?php echo $_G['setting']['navs']['1']['filename'];?>"><?php echo $_G['setting']['navs']['1']['navname'];?></a> <em>&rsaquo;</em>
-<a href="portal.php?mod=portalcp"><?php if($_G['setting']['portalstatus'] ) { ?>门户管理<?php } else { ?>模块管理<?php } ?></a> <em>&rsaquo;</em>
-<a href="portal.php?mod=portalcp&amp;ac=portalblock">模块管理</a>
-<?php if($bid) { ?> <em>&rsaquo;</em><a href="portal.php?mod=portalcp&amp;ac=block&amp;op=block&amp;bid=<?php echo $bid;?>"><?php if($block['name']) { ?><?php echo $block['name'];?><?php } else { ?># <?php echo $block['bid'];?><?php } ?></a><?php } ?>
-</div>
-</div>
-
-<div id="ct" class="ct2_a wp cl">
-<div class="mn">
-<div class="bm bw0">
-<div id="block_selection">
-
-<ul class="tb cl">
-<?php if($allowmanage) { ?>
-<li id="li_setting"<?php if($op=="block") { ?> class="a"<?php } ?>><a href="portal.php?mod=portalcp&amp;ac=block&amp;bid=<?php echo $bid;?>&amp;op=block<?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>">模块属性</a></li>
-<?php } if($bid && !$is_htmlblock) { if($allowmanage || $allowdata) { ?>
-<li id="li_data"<?php if($op=="data") { ?> class="a"<?php } ?>><a href="portal.php?mod=portalcp&amp;ac=block&amp;bid=<?php echo $bid;?>&amp;op=data<?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>">模块数据</a></li>
-<?php } } if($is_recommendable) { ?>
-<li id="li_itemdata"<?php if($op=="itemdata") { ?> class="a"<?php } ?>><a href="portal.php?mod=portalcp&amp;ac=block&amp;bid=<?php echo $bid;?>&amp;op=itemdata<?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>">推送库</a></li>
-<?php } if($op == 'data' && ($allowmanage || $allowdata)) { ?>
-<button class="pn pnc y" title="添加数据" onclick="showWindow('<?php echo $_GET['handlekey'];?>', 'portal.php?mod=portalcp&ac=block&bid=<?php echo $bid;?>&op=additem<?php if($_G['inajax']) { ?>&itemfrom=ajax<?php } if($_GET['from']) { ?>&from=<?php echo $_GET['from'];?><?php } ?>')"><em>添加</em></button>
-<?php } ?>
-</ul>
-<?php } if($_G['inajax'] && in_array($op, array('block', 'data', 'style', 'moreurl'))) { ?>
-<script type="text/javascript" reload="1">
-function succeedhandle_<?php echo $_GET['handlekey'];?> (url, message, values) {
-<?php if($_GET['from']=='cp') { ?>
-location.reload();
-<?php } else { ?>
-var bid = values['bid'];
-var eleid = typeof values['eleid'] == 'undefined' ? 0 : values['eleid'];
-var x = new Ajax();
-var openTitle = 0;
-drag.setClose();
-x.get('portal.php?mod=portalcp&ac=block&op=getblock&forceupdate=1&bid='+bid+'&tpl=<?php echo $_GET['tpl'];?>&inajax=1<?php if($_GET['from']) { ?>&from=<?php echo $_GET['from'];?><?php } ?>', function(s) {
-var obj = document.createElement('div');
-bid = 'portal_block_'+bid;
-obj.innerHTML = s;
-if ($(bid) != null) {
-drag.stopSlide(bid);
-if($(bid+'_content')) $(bid+'_content').parentNode.removeChild($(bid+'_content'));
-$(bid).innerHTML = obj.childNodes[0].innerHTML;
-if(s.indexOf('runslideshow();') > 0) {
-runslideshow();
-}
-} else {
-$(eleid).parentNode.replaceChild(obj.childNodes[0],$(eleid));
-openTitle = 1;
-}
-drag.initPosition();
-evalscript(s);
-if (openTitle == 1)	drag.openTitleEdit(bid);
-});
-<?php } ?>
-hideWindow('<?php echo $_GET['handlekey'];?>');
-}
-</script><?php
-$blocknav = <<<EOF
-
-
-EOF;
- if($allowmanage) { 
-$blocknav .= <<<EOF
-
-<li id="li_setting"
-EOF;
- if($op=="block") { 
-$blocknav .= <<<EOF
- class="a"
-EOF;
- } 
-$blocknav .= <<<EOF
-><a href="portal.php?mod=portalcp&amp;ac=block&amp;bid={$bid}&amp;op=block
-EOF;
- if($_GET['from']) { 
-$blocknav .= <<<EOF
-&amp;from={$_GET['from']}
-EOF;
- } 
-$blocknav .= <<<EOF
-" onclick="showWindow('{$_GET['handlekey']}', this.getAttribute('href'));">模块属性</a></li>
-
-EOF;
- } if($bid && !$is_htmlblock) { if($allowmanage || $allowdata) { 
-$blocknav .= <<<EOF
-
-<li id="li_data"
-EOF;
- if($op=="data") { 
-$blocknav .= <<<EOF
- class="a"
-EOF;
- } 
-$blocknav .= <<<EOF
-><a href="portal.php?mod=portalcp&amp;ac=block&amp;bid={$bid}&amp;op=data
-EOF;
- if($_GET['from']) { 
-$blocknav .= <<<EOF
-&amp;from={$_GET['from']}
-EOF;
- } 
-$blocknav .= <<<EOF
-" onclick="showWindow('{$_GET['handlekey']}', this.getAttribute('href'));">模块数据</a></li>
-
-EOF;
- } if($allowmanage) { 
-$blocknav .= <<<EOF
-
-<li id="li_style"
-EOF;
- if($op=="style") { 
-$blocknav .= <<<EOF
- class="a"
-EOF;
- } 
-$blocknav .= <<<EOF
-><a href="portal.php?mod=portalcp&amp;ac=block&amp;bid={$bid}&amp;op=style
-EOF;
- if($_GET['from']) { 
-$blocknav .= <<<EOF
-&amp;from={$_GET['from']}
-EOF;
- } 
-$blocknav .= <<<EOF
-" onclick="showWindow('{$_GET['handlekey']}', this.getAttribute('href'));">模块模板</a></li>
-
-EOF;
- if($block['moreurl']) { 
-$blocknav .= <<<EOF
-
-<li id="li_moreurl"
-EOF;
- if($op=="moreurl") { 
-$blocknav .= <<<EOF
- class="a"
-EOF;
- } 
-$blocknav .= <<<EOF
-><a href="portal.php?mod=portalcp&amp;ac=block&amp;bid={$bid}&amp;op=moreurl
-EOF;
- if($_GET['from']) { 
-$blocknav .= <<<EOF
-&amp;from={$_GET['from']}
-EOF;
- } 
-$blocknav .= <<<EOF
-" onclick="showWindow('{$_GET['handlekey']}', this.getAttribute('href'));">更多页设置</a></li>
-
-EOF;
- } } } 
-$blocknav .= <<<EOF
-
-
-EOF;
-?>
-<?php } if($op == 'block') { if($_G['inajax']) { ?>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">编辑模块</em>
-<span><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');<?php if(empty($bid) && $_GET['from']!='cp') { ?>drag.removeBlock('<?php echo $_GET['eleid'];?>',true);<?php } ?>return false;" title="关闭">关闭</a></span>
-</h3>
-<ul class="tb cl">
-<?php echo $blocknav;?>
-</ul>
-<?php } ?>
-<form id="blockformsetting" name="blockformsetting" method="post" enctype="multipart/form-data" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=block&amp;classname=<?php echo $_GET['classname'];?>&amp;bid=<?php echo $block['bid'];?>&amp;blocktype=<?php echo $blocktype;?>&amp;eleid=<?php echo $_GET['eleid'];?>&amp;tpl=<?php echo $_GET['tpl'];?>"<?php if($_G['inajax']) { ?> onsubmit="if(checkblockname(this)){ajaxpost('blockformsetting','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');} else {return false;}"<?php } else { ?> onsubmit="return checkblockname(this);"<?php } ?> class="fdiy">
-<div class="c diywin"<?php if($_G['inajax']) { ?> style="width: 490px; <?php if($_GET['from']=='cp') { ?>max-height:260px;<?php } else { ?>max-height:380px;<?php } ?>height:auto !important; <?php if($_GET['from']=='cp') { ?>height:260px;<?php } else { ?>height:380px;<?php } ?> _padding-right: 17px; overflow-x: hidden; overflow-y: auto;"<?php } ?>>
-<div id="block_setting">
-<table class="tfm mbm">
-<?php if($showhtmltip) { ?>
-<tr>
-<td colspan="2" style="color: red">
-此模块数据由属性决定,请编辑属性以展示需要的数据</td>
-</tr>
-<?php } ?>
-<tr>
-<th width="80">模块标识</th>
-<td>
-<input type="text" id="name" name="name" value="<?php echo $block['name'];?>" class="px" />
-<script type="text/javascript">document.forms['blockformsetting']['name'].focus();</script>
-</td>
-</tr>
-<tr>
-<th width="80">模块分类</th>
-<td><?php list($bigclass) = explode('_',$block['blockclass']);?><?php if(!empty($_G['cache']['blockconvert']) && !empty($_G['cache']['blockconvert'][$bigclass][$block['blockclass']])) { ?>
-<select name="toblockclass" onchange="blockconver(this, '<?php echo $block['bid'];?>');" class="ps">
-<option value="<?php echo $block['blockclass'];?>"><?php echo $blockclassname;?></option><?php if(is_array($_G['cache']['blockconvert'][$bigclass][$block['blockclass']])) foreach($_G['cache']['blockconvert'][$bigclass][$block['blockclass']] as $bblockclass => $convertarr) { ?><option value="<?php echo $bblockclass;?>"><?php echo $convertarr['name'];?></option>
-<?php } ?>
-</select>
-<img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="此模块分类支持转换模块的类型,但<font color='red'>可能会存在部分特殊字段的丢失且模块的显示样式将会变为自定义模板</font>,请根据需要使用。<br/><font color='red'>注意:</font>选择下拉列表中的模块类型以后模块分类立即发生改变。" />
-<?php } else { ?>
-<?php echo $blockclassname;?>
-<?php } ?>
-</td>
-</tr>
-<tr>
-<th width="80">数据来源</th>
-<td>
-<select name="script" onchange="block_get_setting('<?php echo $_GET['classname'];?>', this.value, '<?php echo $block['bid'];?>');" class="ps"><?php if(is_array($theclass['script'])) foreach($theclass['script'] as $bkey => $bname) { ?><option value="<?php echo $bkey;?>"<?php echo $scriptarr[$bkey];?>><?php echo $bname;?></option>
-<?php } ?>
-</select>
-<?php if($is_recommendable) { ?>
-&nbsp;<label><input type="checkbox" name="isblank" id="isblank" class="pc" value="1" <?php if($block['isblank']) { ?> checked<?php } ?> onclick="switchSetting();" />只接受推送数据</label>
-<img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="勾选此项,则该模块只显示推送的数据,不自动聚合数据" />
-<?php } ?>
-</td>
-</tr>
-<tr class="l">
-<th></th>
-<td>
-<a id="a_setting_show" href="javascript:;" onclick="toggleSettingShow();"class="xi2">收起设置项</a>
-</td>
-</tr>
-<tbody id="tbody_setting"<?php if($block['isblank']) { ?> style="display:none;"<?php } ?>><?php if(is_array($settings)) foreach($settings as $key => $value) { ?><tr class="vt">
-<th><?php echo $value['title'];?><?php if($value['comment']) { ?> <img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="<?php echo $value['comment'];?>" /><?php } ?></th>
-<td><?php echo $value['html'];?></td>
-</tr>
-<?php } ?></tbody>
-<?php if(!$is_htmlblock) { ?>
-<tr>
-<th>显示条数</th>
-<td><input type="text" name="shownum" value="<?php echo $block['shownum'];?>" class="px" /></td>
-</tr>
-<?php } if(!$nocachetime) { ?>
-<tr>
-<th width="80">数据缓存更新</th>
-<td>
-<span><input type="text" name="cachetime" id="txt_cachetime" class="px" size="4" maxlength="6" value="<?php echo $block['cachetime_min'];?>" /> 分钟</span>
-<span id="tbody_range"<?php if($block['punctualupdate']) { ?> style="visibility:hidden;"<?php } ?>>
-&nbsp; 更新区间
-<select name="cachetimerangestart" class="ps vm" ><?php if(is_array($cachetimerange)) foreach($cachetimerange as $value) { ?><option value="<?php echo $value;?>" <?php if($value == $block['cachetimerange']['0']) { ?> selected="selected"<?php } ?>><?php echo $value;?>点</option>
-<?php } ?>
-</select> -
-<select name="cachetimerangeend" class="ps vm" ><?php if(is_array($cachetimerange)) foreach($cachetimerange as $value) { ?><option value="<?php echo $value;?>" <?php if($value == $block['cachetimerange']['1']) { ?> selected="selected"<?php } ?>><?php echo $value;?>点</option>
-<?php } ?>
-</select>
-</span>
-</p>
-<p class="ptn xi2">
-<a href="javascript:;" onclick="blockSetCacheTime(10);this.blur();">10分钟</a>&nbsp;
-<a href="javascript:;" onclick="blockSetCacheTime('60');this.blur();">1小时</a>&nbsp;
-<a href="javascript:;" onclick="blockSetCacheTime('1440');this.blur();">1天</a>&nbsp;
-<label for="ckpunctualupdate"><input type="checkbox" name="punctualupdate" id="ckpunctualupdate" class="pc" onclick="$('tbody_range').style.visibility = (this.checked ? 'hidden' : 'visible');" value="1"<?php if($block['punctualupdate']) { ?> checked="checked"<?php } ?> />准时更新</label>
-<img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="为了减轻系统负载,系统设定为同一时间最多只更新一个模块;勾选此项可以忽略此优化,保证模块按指定缓存时间及时更新(警告:这会严重加重系统负载!不要同一页面内设置大量“准时更新”模块!)" />
-<span class="pipe">|</span>
-<a href="javascript:;" onclick="blockSetCacheTime('0');this.blur();">不自动更新</a>&nbsp;
-<a href="javascript:;" onclick="blockSetCacheTime('-1');this.blur();">永不更新</a>
-</p>
-</td>
-</tr>
-<?php } if(!$is_htmlblock) { ?>
-<tr>
-<th width="80">显示样式</th>
-<td>
-<select name="styleid" onchange="block_show_thumbsetting('<?php echo $_GET['classname'];?>', this.value, '<?php echo $block['bid'];?>')" class="ps">
-<?php if($bid && $block['styleid']==0) { ?>
-<option value="0" selected>自定义模板</option>
-<?php } if(is_array($theclass['style'])) foreach($theclass['style'] as $key => $value) { $thestyle = count($thestyle) > 1 ? $thestyle : $theclass['style'][$key];?><option value="<?php echo $key;?>"<?php echo $stylearr[$key];?>><?php echo $value['name'];?></option>
-<?php } ?>
-</select>
-<?php if($blocktype) { ?>
-&nbsp;&nbsp;
-<label for="ck_hidedisplay"><input type="checkbox" name="hidedisplay" id="ck_hidedisplay" class="pc" value="1"<?php if($block['hidedisplay']) { ?> checked="checked"<?php } ?> />隐藏输出</label>
-<img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="不输出模块内容;而是提供数据供模板调用。" />
-<?php } ?>
-</td>
-</tr>
-
-<?php } ?>
-<tbody id="tbody_thumbsetting"><?php if($thestyle['makethumb']) { ?>
-<tr>
-<th width="80">缩略图宽度</th>
-<td><input type="text" name="picwidth" value="<?php echo $block['picwidth'];?>" class="px" /></td>
-</tr>
-<tr>
-<th width="80">缩略图高度</th>
-<td><input type="text" name="picheight" value="<?php echo $block['picheight'];?>" class="px" /></td>
-</tr>
-<?php } if($thestyle['settarget']) { ?>
-<tr>
-<th width="80">链接打开方式</th>
-<td>
-<select name="a_target">
-<option value="blank" <?php echo $targetarr['blank'];?>>新链接打开</option>
-<option value="self" <?php echo $targetarr['self'];?>>本页面打开</option>
-<option value="top" <?php echo $targetarr['top'];?>>本页面打开(跳出框架)</option>
-</select>
-</td>
-</tr>
-<?php } if(!$is_htmlblock) { ?>
-<tr>
-<th width="80">日期格式</th>
-<td>
-<select name="dateformat"><?php if(is_array($dateformats)) foreach($dateformats as $value) { ?><option value="<?php echo $value['format'];?>"<?php echo $value['selected'];?>><?php echo $value['time'];?></option>
-<?php } ?>
-</select>
-&nbsp;
-<label for="ckdateuformat"><input type="checkbox" name="dateuformat" id="ckdateuformat" class="pc" value="1"<?php if($block['dateuformat']) { ?> checked="checked"<?php } ?> />使用人性化日期格式</label>
-<img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="勾选此项,则最近的时间显示“几天前”的形式" />
-</td>
-</tr>
-<?php } ?></tbody>
-<?php if(!$is_htmlblock) { ?>
-<tr>
-<th width="80">自定义内容</th>
-<td>
-<textarea name="summary" id="block_sumamry_content" cols="40" rows="3" class="pt mbn" style="display:none"><?php echo $block['summary'];?></textarea>
-<p class="pns">
-<button type="button" id="a_summary_show" class="pn" onclick="showBlockSummary();"><em>编辑自定义内容</em></button>
-<button type="button" id="a_summary_hide" class="pn" onclick="hideBlockSummary();" style="display:none;"><span>隐藏</span></a>
-</p>
-</td>
-</tr>
-<?php } ?>
-</table>
-</div>
-</div>
-<div class="o pns">
-<input type="hidden" name="blocksubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="eleid" value="<?php echo $_GET['eleid'];?>" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>确定</strong></button>
-<?php if($_G['inajax']) { ?><button type="button" class="pn" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');<?php if(empty($bid) && $_GET['from']!='cp') { ?>drag.removeBlock('<?php echo $_GET['eleid'];?>',true);<?php } ?>return false;"><strong>取消</strong></button><?php } ?>
-</div>
-</form>
-<?php } elseif($op == 'data') { if($_G['inajax']) { ?>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">模块数据</em>
-<span><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');<?php if(empty($bid)) { ?>drag.removeBlock('<?php echo $_GET['eleid'];?>',true);<?php } ?>return false;" title="关闭">关闭</a></span>
-</h3>
-<ul class="tb cl">
-<?php echo $blocknav;?>
-<button class="pn pnc y" title="添加数据" onclick="showWindow('<?php echo $_GET['handlekey'];?>', 'portal.php?mod=portalcp&ac=block&bid=<?php echo $bid;?>&op=additem<?php if($_G['inajax']) { ?>&itemfrom=ajax<?php } if($_GET['from']) { ?>&from=<?php echo $_GET['from'];?><?php } ?>')"><em>添加</em></button>
-</ul>
-<?php } ?>
-<form id="blockformdata" name="blockformdata" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=data&amp;classname=<?php echo $_GET['classname'];?>&amp;bid=<?php echo $block['bid'];?>&amp;eleid=<?php echo $_GET['eleid'];?>&amp;tpl=<?php echo $_GET['tpl'];?>"<?php if($_G['inajax']) { ?> onsubmit="ajaxpost('blockformdata','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');"<?php } ?>>
-<div class="c"<?php if($_G['inajax']) { ?> style="width:490px; <?php if($_GET['from']=='cp') { ?>max-height:260px;<?php } else { ?>max-height:380px;<?php } ?>height:auto !important;<?php if($_GET['from']=='cp') { ?>height:260px;<?php } else { ?>height:380px;<?php } ?> _padding-right: 17px; overflow-x: hidden; overflow-y: auto;"<?php } ?>>
-<div id="block_data">
-<table class="dt mtm mbm" style="table-layout:fixed">
-<tr>
-<th width="34">固定</th>
-<th width="50">位置</th>
-<th>标题</th>
-<th width="80">操作</th>
-</tr>
-<?php if($itemlist) { if(is_array($itemlist)) foreach($itemlist as $item) { ?><tr>
-<?php if($item['ispreorder']) { ?>
-<td>预订</td>
-<td><?php echo $item['displayorder'];?></td>
-<?php } else { ?>
-<td><input type="checkbox" name="locked[<?php echo $item['itemid'];?>]" value="1"<?php if($item['itemtype']=='1') { ?> checked="checked"<?php } ?> /></td>
-<td><input type="text" name="displayorder[<?php echo $item['itemid'];?>]" class="px" size="2" maxlength="2" value="<?php echo $item['displayorder'];?>" /></td>
-<?php } ?>
-<td>[<?php echo $item['itemtypename'];?>] <?php echo $item['title'];?></td>
-<td>
-<a href="portal.php?mod=portalcp&amp;ac=block&amp;op=item&amp;bid=<?php echo $block['bid'];?>&amp;itemid=<?php echo $item['itemid'];?><?php if($_G['inajax']) { ?>&amp;itemfrom=ajax<?php } if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onclick="showWindow('showblock', this.getAttribute('href'));">编辑</a><span class="pipe">|</span>
-<?php if($item['itemtype']=='1') { ?>
-<a href="javascript:;" onclick="block_delete_item('<?php echo $block['bid'];?>', '<?php echo $item['itemid'];?>', 1, '<?php if($_G['inajax']) { ?>ajax<?php } ?>', '<?php if($_GET['from']) { ?><?php echo $_GET['from'];?><?php } ?>'); return false;">删除</a>
-<?php } else { ?>
-<a href="javascript:;" onclick="block_delete_item('<?php echo $block['bid'];?>', '<?php echo $item['itemid'];?>', 0, '<?php if($_G['inajax']) { ?>ajax<?php } ?>', '<?php if($_GET['from']) { ?><?php echo $_GET['from'];?><?php } ?>'); return false;">屏蔽</a>
-<?php } ?>
-</td>
-</tr>
-<?php } } else { ?>
-<tr>
-<td colspan="4"><p class="emp">没有相关数据</p></td>
-</tr>
-<?php } ?>
-</table>
-<?php if($block['param']['bannedids']) { ?>
-<h4><a href="javascript:;" onclick="display('p_bannedids');return false;">查看屏蔽数据</a></h4>
-<p id="p_bannedids" style="display:none;">
-<label>屏蔽数据</label>
-<input type="text" name="bannedids" id="bannedids" class="px" value="<?php echo $block['param']['bannedids'];?>" />
-<button type="button" class="pn pnc" id="bannedidssubmit" onclick="blockbanids('<?php echo $block['bid'];?>');" ><strong>保存</strong></button>
-</p>
-<?php } ?>
-</div>
-</div>
-<?php if($_G['inajax'] || $itemlist) { ?>
-<div class="o pns">
-<input type="hidden" name="eleid" value="<?php echo $_GET['eleid'];?>" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="updatesubmit" value="true" />
-<input type="hidden" name="modifiedids" value="" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn xg1" id="blockformdatasubmit" disabled="disabled"><strong>保存</strong></button>
-<?php if($_G['inajax']) { ?><button type="button" class="pn" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;"><strong>取消</strong></button><?php } ?>
-</div>
-<?php } ?>
-</form>
-<script type="text/javascript" reload="1">
-var formoldvalue = {'checkbox':[], 'text':[]};
-var inputs = $('blockformdata').getElementsByTagName('table')[0].getElementsByTagName('input');
-for(var i = 0; i < inputs.length; i++){
-if(inputs[i]['type'].toLowerCase() == 'checkbox') {
-formoldvalue['checkbox'][inputs[i]['name']] = inputs[i].checked;
-_attachEvent(inputs[i], 'click', formcheckvalue);
-} else if(inputs[i]['type'].toLowerCase() == 'text') {
-formoldvalue['text'][inputs[i]['name']] = inputs[i].value;
-_attachEvent(inputs[i], 'keyup', formcheckvalue);
-_attachEvent(inputs[i], 'blur', formcheckvalue);
-}
-}
-
-function formcheckvalue(){
-var modifiedids = [];
-var enabled = false;
-for(i = 0; i < inputs.length; i++){
-if(inputs[i]['type'].toLowerCase() == 'checkbox') {
-if(formoldvalue['checkbox'][inputs[i]['name']] != inputs[i].checked){
-enabled = true;
-}
-} else if(inputs[i]['type'].toLowerCase() == 'text') {
-if(formoldvalue['text'][inputs[i]['name']] != inputs[i].value){
-enabled = true;
-var itemid = inputs[i]['name'].match(/\d+/);
-if(itemid && itemid[0]) {
-modifiedids.push(itemid[0]);
-}
-}
-}
-}
-if(enabled) {
-$('blockformdatasubmit').disabled = '';
-$('blockformdatasubmit').className = $('blockformdatasubmit').className.replace(' xg1', ' pnc');
-} else{
-$('blockformdatasubmit').disabled = 'disabled';
-$('blockformdatasubmit').className = $('blockformdatasubmit').className.replace(' pnc', ' xg1');
-}
-$('blockformdata')['modifiedids'].value = modifiedids+'';
-}
-
-function blockbanids(bid) {
-var x = new Ajax();
-x.get('portal.php?mod=portalcp&ac=block&op=banids&inajax=1&bid='+bid+'&bannedids='+$('bannedids').value, function(s){
-<?php if($_G['inajax']) { ?>
-succeedhandle_<?php echo $_GET['handlekey'];?> ('', '', {'bid':bid});
-showWindow('showblock', 'portal.php?mod=portalcp&ac=block&op=data&bid='+bid+'&tpl='+document.diyform.template.value, 'get', -1);
-<?php } else { ?>
-location.reload();
-<?php } ?>
-});
-}
-</script>
-
-<?php } elseif($op == 'style') { if($_G['inajax']) { ?>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">模块模板</em>
-<span><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');<?php if(empty($bid)) { ?>drag.removeBlock('<?php echo $_GET['eleid'];?>',true);<?php } ?>return false;" title="关闭">关闭</a></span>
-</h3>
-<ul class="tb cl">
-<?php echo $blocknav;?>
-</ul>
-<?php } ?>
-<form id="blockstyleform" name="blockformdata" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=style&amp;classname=<?php echo $_GET['classname'];?>&amp;bid=<?php echo $block['bid'];?>&amp;eleid=<?php echo $_GET['eleid'];?>&amp;tpl=<?php echo $_GET['tpl'];?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>"<?php if($_G['inajax']) { ?> onsubmit="ajaxpost('blockstyleform','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');"<?php } ?>>
-<div class="c"<?php if($_G['inajax']) { ?> style="width:490px; <?php if($_GET['from']=='cp') { ?>max-height:260px;<?php } else { ?>max-height:380px;<?php } ?>height:auto !important; <?php if($_GET['from']=='cp') { ?>height:260px;<?php } else { ?>height:380px;<?php } ?> _padding-right: 17px; overflow-x: hidden; overflow-y: auto;"<?php } ?>>
-<?php if($block['hidedisplay']) { ?>
-<div>
-<p style="color:red;">提醒: 您选择了隐藏输出,模块不会输出任何内容;但是您可以在页面模板中调用模块的数据。</p>
-<p>	<b>参考调用格式:</b></p>
-<p><?php echo $samplecode;?></p>
-<p><b>可调用字段:</b></p>
-<table width="100%"><?php if(is_array($theclass['fields'])) foreach($theclass['fields'] as $key => $value) { ?> <tr>
- <td><?php echo $value['name'];?></td>
- <td><?php echo '$'; ?><?php echo $key;?></td>
- </tr>
- <?php } ?>
-</table>
-</div>
-<?php } else { ?>
- <div id="block_style">
-<p class="pns mtn mbn"><button type="button" id="a_summary_show" onclick="$('stylename').style.display='';" class="pn"><em>模板另存为...</em></button></p>
-<p class="mtn mbm" id="stylename" style="display:none;">
-模块模板名称: <input type="text" name="name" class="px" />
-<br />
-输入名称将此样式保存到公共模块模板(以便在其他模块中使用)
-</p>
-<textarea name="template" rows="8" class="pt" style="width: 98%;"><?php echo $template;?></textarea>
-</div>
-<table class="dt mtm mbm">
-<tr>
- <th>语法</th>
- <th>语句</th>
-</tr><?php if(is_array($theclass['fields'])) foreach($theclass['fields'] as $key => $value) { ?><tr>
-<td><?php echo $value['name'];?></td>
-<td>{<?php echo $key;?>}</td>
-</tr>
-<?php } if(in_array($block['blockclass'], array('forum_thread', 'portal_article', 'group_thread'), true)) { ?>
-<tr>
-<td>更多链接</td>
-<td>{<?php echo moreurl;?>}</td>
-</tr>
-<?php } ?>
-<tr>
-<td>当前数据顺序</td>
-<td>{<?php echo currentorder;?>}</td>
-</tr>
-<tr>
-<td>当前数据是否在奇数行</td>
-<td>{<?php echo parity;?>}</td>
- </tr>
- <tr>
-<td>默认循环显示内容</td>
-<td>[loop]...[/loop]</td>
- </tr>
- <tr>
-<td>替代对应loop中指定数据内容,[order=odd]为奇数行,[order=even]为偶数行</td>
-<td>[order=N]...[/order]</td>
- </tr>
- <tr>
-<td>特殊指定数据显示内容</td>
-<td>[index=N]...[/index]</td>
- </tr>
- <tr>
-<td>可设置打开方式的链接</td>
-<td>&lt;a href="{<?php echo url;?>}"{<?php echo target;?>}&gt;{<?php echo title;?>}&lt;/a&gt;</td>
- </tr>
- <tr>
-<td>可设置缩略图大小的图片</td>
-<td>&lt;img src="{<?php echo pic;?>}" width="{<?php echo picwidth;?>}" height="{<?php echo picheight;?>}" /&gt;</td>
- </tr>
- <tr>
-<td>更多说明...</td>
-<td>请参考: 后台 - 门户 - 模块模板 - 编辑/添加模板</td>
- </tr>
-</table>
-<?php } ?>
-</div>
-<div class="o pns">
-<input type="hidden" name="eleid" value="<?php echo $_GET['eleid'];?>" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="stylesubmit" value="true" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>更新</strong></button>
-<?php if($_G['inajax']) { ?><button type="button" class="pn" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;"><strong>取消</strong></button><?php } ?>
-</div>
-</form>
-<?php } elseif($op == 'itemdata') { if($datalist) { ?>
-<form id="blockformitemdata" name="blockformitemdata" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=itemdata&amp;bid=<?php echo $block['bid'];?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>">
-<table class="dt mtm mbm">
-<tr>
-<th width="40">删除</th>
-<th>显示位置</th>
-<th>标题</th>
-<th>通过审核时间</th>
-<th>是否置顶</th>
-<th width="80">操作</th>
-</tr><?php if(is_array($datalist)) foreach($datalist as $item) { ?><tr>
-<td><input type="checkbox" class="pc" name="ids[]" value="<?php echo $item['dataid'];?>" /></td>
-<td><input type="hidden" name="olddisplayorder[<?php echo $item['dataid'];?>]" value="<?php echo $item['displayorder'];?>" />
-<input type="input" class="px" name="displayorder[<?php echo $item['dataid'];?>]" value="<?php echo $item['displayorder'];?>" size="2" maxlength="4" /></td>
-<td><a href="<?php echo $item['url'];?>" target="_blank"><?php echo $item['title'];?></a></td>
-<td><?php echo $item['verifiedtime'];?></td>
-<td><?php if($item['stickgrade']) { ?>置顶 <?php echo $item['stickgrade'];?><?php } else { ?>否<?php } ?></td>
-<td>
-<a href="portal.php?mod=portalcp&amp;ac=block&amp;op=managedata&amp;bid=<?php echo $block['bid'];?>&amp;dataid=<?php echo $item['dataid'];?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onclick="showWindow('showblock', this.getAttribute('href'));">编辑</a>
-</td>
-</tr>
-<?php } ?>
-<tr>
-<td colspan="5">
-<label for="chkall" onclick="checkall(this.form, 'ids')"><input type="checkbox" name="chkall" id="chkall" class="pc" />全选</label>
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="deletesubmit" value="true" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>确定</strong></button>
-</td>
-</tr>
-</table>
-<?php if($multi) { ?><div class=""><?php echo $multi;?></div><?php } ?>
-</form>
-<?php } else { ?>
-<p class="emp">此模块的推送库里还没有任何数据</p>
-<?php } } elseif($op == 'setting') { if(is_array($settings)) foreach($settings as $key => $value) { ?><tr class="vt">
-<th><?php echo $value['title'];?><?php if($value['comment']) { ?> <img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="<?php echo $value['comment'];?>" /><?php } ?></th>
-<td><?php echo $value['html'];?></td>
-</tr>
-<?php } } elseif($op == 'item' || $op == 'additem') { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">编辑模块</em>
-<span>
-<?php if($_GET['itemfrom']=='ajax') { ?><a href="portal.php?mod=portalcp&amp;ac=block&amp;op=data&amp;bid=<?php echo $bid;?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onclick="showWindow('showblock', this.href);closecalendar(e);return false;"> &lt;&lt;返回 </a><?php } if($_G['inajax']) { ?><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');<?php if(empty($bid)) { ?>drag.removeBlock('<?php echo $_GET['eleid'];?>');<?php } ?>return false;" title="关闭">关闭</a><?php } ?>
-</span>
-</h3>
-<form id="blockform" name="blockform" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=<?php echo $op;?>&amp;bid=<?php echo $block['bid'];?>&amp;itemid=<?php echo $itemid;?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onsubmit="if(check_itemdata_lentgh(this)) {ajaxpost('blockform','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');} else { return false;}" enctype="multipart/form-data">
-<div class="c" style="height:<?php echo $height;?>; width: 490px; _padding-right: 17px; overflow-x: hidden; overflow-y: auto;">
-<table class="tfm">
-<tr>
-<th>从数据源获取</th>
-<td>
-<select id="push_idtype" class="ps vm">
-<option value="tids" selected="selected">帖子id</option>
-<option value="blogids">日志id</option>
-<option value="aids">文章id</option>
-<option value="picids">图片id</option>
-</select>
-<input type="text" name="push_id" id="push_id" class="px p_fre vm" value="" />
-<button type="button" class="pn" onclick="block_pushitem('<?php echo $block['bid'];?>', '<?php echo $itemid;?>')"><span>获取</span></button>
-</td>
-</tr>
-<tr>
-<th>显示位置</th>
-<td>
-<select name="displayorder" class="ps vm"><?php if(is_array($orders)) foreach($orders as $value) { ?><option value="<?php echo $value;?>"<?php echo $orderarr[$value];?>><?php echo $value;?></option>
-<?php } ?>
-</select>
-&nbsp;
-<?php if($itemid && $item['idtype'] != 'rand') { ?>
-<label for="lock_item"><input type="checkbox" name="locked" id="lock_item" class="pc" onclick="$('tbody_orderitem').style.display=this.checked ? '' : 'none';" value="1"<?php if($item['itemtype']=='1') { ?>checked="checked"<?php } ?> />固定</label>
-<?php } else { ?>
-<input type="hidden" name="locked" value="1" />
-<label for="lock_item"><input type="checkbox" class="pc" name="locked_disable" id="lock_item" value="1" checked="checked" disabled="disabled" />固定</label>
-<?php } ?>
-</td>
-</tr>
-<tbody id="tbody_orderitem"<?php if($itemid && $item['itemtype']!='1') { ?> style="display:none;"<?php } ?>>
-<tr>
-<th>开始时间</th>
-<td>
-<input type="text" class="px p_fre" name="startdate"<?php if($item['startdate']) { ?> value="<?php echo $blockitem['startdate'];?>"<?php } ?> onclick="showcalendar(event, this, true)" />
-<p class="d">留空表示立即开始</p>
-</td>
-</tr>
-<tr>
-<th>失效时间</th>
-<td>
-<input type="text" class="px p_fre" name="enddate"<?php if($item['enddate']) { ?> value="<?php echo $blockitem['enddate'];?>"<?php } ?> onclick="showcalendar(event, this, true)" />
-<p class="d">留空表示不失效</p>
-</td>
-</tr>
-</tbody>
-<tbody id="tbody_pushcontent"><?php include template('portal/portalcp_block_itemfields'); ?></tbody>
-</table>
-</div>
-<div class="o pns">
-<input type="hidden" name="itemsubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>提交</strong></button>
-<?php if($_G['inajax']) { ?><button type="button" class="pn" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;"><strong>取消</strong></button><?php } ?>
-</div>
-</form>
-<script type="text/javascript" reload="1">
-if (typeof ctitlepb_frame == 'object' && !BROWSER.ie) {delete ctitlepb_frame;}
-if (typeof csummarypb_frame == 'object' && !BROWSER.ie) {delete csummarypb_frame;}
-function succeedhandle_<?php echo $_GET['handlekey'];?> (url, message, values) {
-<?php if($_GET['itemfrom']=='ajax') { ?>
-showWindow('<?php echo $_GET['handlekey'];?>', 'portal.php?mod=portalcp&ac=block&op=data<?php if($_GET['from']) { ?>&from=<?php echo $_GET['from'];?><?php } ?>&bid='+values['bid'], 'get' ,0);
-drag.blockForceUpdate('portal_block_'+values['bid']);
-<?php } else { ?>
-hideWindow('<?php echo $_GET['handlekey'];?>');
-location.reload();
-<?php } ?>
-}
-</script>
-
-<?php } elseif($op == 'push') { include template('portal/portalcp_block_itemfields'); } elseif($op == 'recommend') { if($isrepeatrecommend) { ?>
-<tr>
-<th colspan="2"><div class="bm"><div class="ntc_l hm">此信息已被推送,再次推送将使用本次修改数据</div></div></th>
-</tr>
-<?php } if($perm['allowmanage'] || !$perm['needverify']) { ?>
-<tr>
-<th>更新模块</th>
-<td>
-<label for="ck_updateblock"><input type="checkbox" name="updateblock" id="ck_updateblock" class="pc" value="1" checked="checked" />即时更新模块数据</label>
-</td>
-</tr>
-<tr>
-<th>需要审核</th>
-<td>
-<label for="ck_needverify"><input type="checkbox" name="needverify" id="ck_needverify" class="pc" value="1"<?php if(isset($item['isverified']) && !$item['isverified']) { ?> checked="checked"<?php } ?> />勾选则加入审核库;否则直接加入模块推送库</label>
-</td>
-</tr>
-<?php } include template('portal/portalcp_block_itemfields'); if(!$perm['allowmanage'] && $perm['needverify']) { ?>
-<tr><td colspan="2">您推送的信息将进入审核库</td></tr>
-<?php } } elseif($op == 'verifydata') { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">审核数据</em>
-<?php if($_G['inajax']) { ?><span><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;" title="关闭">关闭</a></span><?php } ?>
-</h3>
-<form id="dataform" name="dataform" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=verifydata&amp;bid=<?php echo $block['bid'];?>&amp;dataid=<?php echo $dataid;?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onsubmit="ajaxpost('dataform','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');" enctype="multipart/form-data">
-<div class="c" style="height:<?php echo $height;?>; width: 490px; _padding-right: 17px; overflow-x: hidden; overflow-y: auto;">
-<table class="tfm">
-<tbody id="tbody_pushcontent"><?php include template('portal/portalcp_block_itemfields'); ?></tbody>
-<tr>
-<th>更新模块</th>
-<td>
-<label for="ckupdateblock"><input type="checkbox" name="updateblock" id="ckupdateblock" value="1" />立即更新该模块数据</label>
-</td>
-</tr>
-</table>
-</div>
-<div class="o pns">
-<input type="hidden" name="verifydatasubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>通过</strong></button>
-</div>
-</form>
-<script type="text/javascript" reload="1">
-function succeedhandle_<?php echo $_GET['handlekey'];?> (url, message, values) {
-hideWindow('<?php echo $_GET['handlekey'];?>');
-location.reload();
-}
-</script>
-<?php } elseif($op == 'managedata') { ?>
-
-<script src="<?php echo $_G['setting']['jspath'];?>calendar.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">编辑数据</em>
-<?php if($_G['inajax']) { ?><span><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;" title="关闭">关闭</a></span><?php } ?>
-</h3>
-<form id="dataform" name="dataform" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=managedata&amp;bid=<?php echo $block['bid'];?>&amp;dataid=<?php echo $dataid;?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onsubmit="ajaxpost('dataform','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');" enctype="multipart/form-data">
-<div class="c" style="height:<?php echo $height;?>; width: 490px; _padding-right: 17px; overflow-x: hidden; overflow-y: auto;">
-<table class="tfm">
-<tr>
-<th>置顶等级</th>
-<td>
-<select name="stickgrade" class="ps">
-<option value="0"<?php if(empty($item['stickgrade'])) { ?> selected<?php } ?>>不置顶</option><?php if(is_array(range(1,10))) foreach(range(1,10) as $k) { ?><option value="<?php echo $k;?>"<?php if($item['stickgrade']=='$k') { ?> selected<?php } ?>>置顶<?php echo $k;?></option>
-<?php } ?>
-</select>
-</td>
-</tr>
-<tbody id="tbody_pushcontent"><?php include template('portal/portalcp_block_itemfields'); ?></tbody>
-</table>
-</div>
-<div class="o pns">
-<input type="hidden" name="managedatasubmit" value="true" />
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>提交</strong></button>
-</div>
-</form>
-<script type="text/javascript" reload="1">
-function succeedhandle_<?php echo $_GET['handlekey'];?> (url, message, values) {
-hideWindow('<?php echo $_GET['handlekey'];?>');
-location.reload();
-}
-</script>
-<?php } elseif($op == 'thumbsetting') { if($thestyle['makethumb']) { ?>
-<tr>
-<th width="80">缩略图宽度</th>
-<td><input type="text" name="picwidth" value="<?php echo $block['picwidth'];?>" class="px" /></td>
-</tr>
-<tr>
-<th width="80">缩略图高度</th>
-<td><input type="text" name="picheight" value="<?php echo $block['picheight'];?>" class="px" /></td>
-</tr>
-<?php } if($thestyle['settarget']) { ?>
-<tr>
-<th width="80">链接打开方式</th>
-<td>
-<select name="a_target">
-<option value="blank" <?php echo $targetarr['blank'];?>>新链接打开</option>
-<option value="self" <?php echo $targetarr['self'];?>>本页面打开</option>
-<option value="top" <?php echo $targetarr['top'];?>>本页面打开(跳出框架)</option>
-</select>
-</td>
-</tr>
-<?php } if(!$is_htmlblock) { ?>
-<tr>
-<th width="80">日期格式</th>
-<td>
-<select name="dateformat"><?php if(is_array($dateformats)) foreach($dateformats as $value) { ?><option value="<?php echo $value['format'];?>"<?php echo $value['selected'];?>><?php echo $value['time'];?></option>
-<?php } ?>
-</select>
-&nbsp;
-<label for="ckdateuformat"><input type="checkbox" name="dateuformat" id="ckdateuformat" class="pc" value="1"<?php if($block['dateuformat']) { ?> checked="checked"<?php } ?> />使用人性化日期格式</label>
-<img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="勾选此项,则最近的时间显示“几天前”的形式" />
-</td>
-</tr>
-<?php } } elseif($op == 'getblock') { if(!$_G['inajax']) { ?>
-<div class="wp"><div class="area"><div class="frame move-span frame-1 cl">
-<?php } ?>
-<?php echo $html;?>
-<?php if(!$_G['inajax']) { ?>
-</div></div></div>
-<?php } } elseif($op == 'convert') { ?>
-<script type="text/javascript" reload="1">
-showWindow('showblock', 'portal.php?mod=portalcp&ac=block&op=block<?php if($_GET['from']) { ?>&from=<?php echo $_GET['from'];?><?php } ?>&bid='+<?php echo $bid;?>+'&tpl='+document.diyform.template.value, 'get', -1);
-drag.blockForceUpdate('portal_block_<?php echo $bid;?>');
-</script>
-<?php } elseif($op == 'favorite') { ?>
-<script type="text/javascript">
-$('bfav_<?php echo $bid;?>').parentNode.onmouseover = '';
-$('bfav_<?php echo $bid;?>').parentNode.onmouseout = '';
-</script>
-<?php if($favoriteop == 'add') { ?>
-<img src="<?php echo IMGDIR;?>/fav.gif" alt="fav" title="取消收藏" class="favmark" />
-<?php } else { ?>
-<img src="<?php echo IMGDIR;?>/fav_grey.gif" alt="normal" title="收藏" class="favmark" />
-<?php } } elseif($op == 'moreurl') { if($_G['inajax']) { ?>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">更多页设置</em>
-<span><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;" title="关闭">关闭</a></span>
-</h3>
-<ul class="tb cl">
-<?php echo $blocknav;?>
-</ul>
-<?php } ?>
-<form id="blockmoreurlform" name="blockformdata" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=block&amp;op=moreurl&amp;classname=<?php echo $_GET['classname'];?>&amp;bid=<?php echo $block['bid'];?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>"<?php if($_G['inajax']) { ?> onsubmit="ajaxpost('blockmoreurlform','return_<?php echo $_GET['handlekey'];?>','return_<?php echo $_GET['handlekey'];?>','onerror');"<?php } ?>>
-<div class="c"<?php if($_G['inajax']) { ?> style="width:490px; <?php if($_GET['from']=='cp') { ?>max-height:260px;<?php } else { ?>max-height:380px;<?php } ?>height:auto !important; height:320px; _padding-right: 17px; _margin-right: 0; overflow-x: hidden; overflow-y: auto;"<?php } ?>>
-
-<table class="tfm">
-<tr>
- <th>显示条数 <img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="设置更多页每页显示数据的条数" /></th>
- <td>
- <input type="input" name="perpage" id="perpage" value="<?php echo $block['param']['moreurl']['perpage'];?>" />
- </td>
-</tr>
-<tr>
- <th>SEO Title <img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="设置更多页的页面SEO Title" /></th>
- <td>
- <input type="input" class="pt" name="seotitle" id="seotitle" value="<?php echo $block['param']['moreurl']['seotitle'];?>" />
- </td>
-</tr>
-<tr>
- <th>SEO Keywords <img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="设置更多页的页面SEO Keywords" /></th>
- <td>
- <textarea class="pt" name="seokeywords" id="seokeywords" ><?php echo $block['param']['moreurl']['seokeywords'];?></textarea>
- </td>
-</tr>
-<tr>
- <th>SEO Description <img src="<?php echo IMGDIR;?>/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="设置更多页的页面SEO Description" /></th>
- <td>
- <textarea class="pt" name="seodescription" rows="4" id="seodescription"><?php echo $block['param']['moreurl']['seodescription'];?></textarea>
- </td>
-</tr>
-</table>
-</div>
-<div class="o pns">
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="moreurlsubmit" value="true" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc"><strong>更新</strong></button>
-<?php if($_G['inajax']) { ?><button type="button" class="pn" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;"><strong>取消</strong></button><?php } ?>
-</div>
-</form>
-<?php } if(!$_G['inajax'] && in_array($op, array('block', 'data', 'itemdata'))) { ?>
-</div>
-</div>
-</div>
-<div class="appl"><div class="tbn">
-<h2 class="mt bbda"><?php if($_G['setting']['portalstatus'] ) { ?>门户管理<?php } else { ?>模块管理<?php } ?></h2>
-<ul>
-<?php if($_G['setting']['portalstatus'] ) { if($admincp2 || $_G['group']['allowmanagearticle']) { ?><li<?php if($ac == 'index') { ?> class="a"<?php } ?>><a href="portal.php?mod=portalcp&amp;ac=index">频道栏目</a></li><?php } if($admincp2 || $admincp3 || $_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle']) { ?><li<?php if($ac == 'category') { ?> class="a"<?php } ?>><a href="portal.php?mod=portalcp&amp;ac=category">文章管理</a></li><?php } } if($admincp4 || $admincp6 || $_G['group']['allowdiy']) { ?>
-<li<?php if($ac == 'portalblock' || $ac=='block') { ?> class="a"<?php } ?>><a href="portal.php?mod=portalcp&amp;ac=portalblock">模块管理</a></li>
-<?php } if(!$_G['inajax'] && !empty($_G['setting']['plugins']['portalcp'])) { if(is_array($_G['setting']['plugins']['portalcp'])) foreach($_G['setting']['plugins']['portalcp'] as $id => $module) { if(!$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])) { ?><li<?php if($_GET['id'] == $id) { ?> class="a"<?php } ?>><a href="portal.php?mod=portalcp&amp;ac=plugin&amp;id=<?php echo $id;?>"><?php echo $module['name'];?></a></li><?php } } } if(!empty($modsession->islogin)) { ?>
-<li><a href="portal.php?mod=portalcp&amp;ac=logout">退出</a></li>
-<?php } ?>
-</ul>
-</div></div>
-</div>
-<?php } include template('common/footer'); ?>

+ 0 - 198
data/template/3_3_portal_portalcp_diy.tpl.php

xqd
@@ -1,198 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('portalcp_diy');?><?php include template('common/header'); if($op=='blockclass') { ?>
-<div class="tbmu mbm" id="contentblockclass_nav" style="margin-top: -15px"><?php $isfirst=1;?><?php if(is_array($_G['cache']['blockclass'])) foreach($_G['cache']['blockclass'] as $key => $value) { if($isfirst) { $isfirst=0;?><a href="javascript:;" id="bcnav_<?php echo $key;?>" class="a" onclick="spaceDiy.switchBlockclass('<?php echo $key;?>');return false;"><?php echo $value['name'];?></a>
-<?php } else { ?>
-<span class="pipe">|</span>
-<a href="javascript:;" id="bcnav_<?php echo $key;?>" onclick="spaceDiy.switchBlockclass('<?php echo $key;?>');return false;"><?php echo $value['name'];?></a>
-<?php } } ?>
-</div><?php $isfirst=1;?><?php if(is_array($_G['cache']['blockclass'])) foreach($_G['cache']['blockclass'] as $key => $value) { if($isfirst) { $isfirst=0;?><ul class="blocks content" id="contentblockclass_<?php echo $key;?>">
-<?php } else { ?>
-<ul class="blocks content" id="contentblockclass_<?php echo $key;?>" class="hide">
-<?php } ?>
-<li class="module-<?php echo $key;?>">
-<ol><?php if(is_array($value['subs'])) foreach($value['subs'] as $skey => $svalue) { ?><li class="module-<?php echo $skey;?>"><label onmousedown="drag.createObj (event,'block','<?php echo $skey;?>');" onmouseover="className='hover';" onmouseout="this.className='';"><?php echo $svalue['name'];?></label></li>
-<?php } ?>
-</ol>
-</li>
-</ul>
-<?php } } elseif($op == 'style') { ?>
-<ul class="content" style="overflow-y: auto; height: 90px;"><?php if(is_array($themes)) foreach($themes as $value) { ?>  <li><a href="javascript:;" onclick="spaceDiy.changeStyle('<?php echo $value['dir'];?>');return false;"><img src="<?php echo STATICURL;?><?php echo $value['dir'];?>/preview.jpg" /><?php echo $value['name'];?></a></li>
-<?php } ?>
-</ul>
-<?php } elseif($_GET['op'] == 'image') { ?>
-<div id="diyimg_prev" class="z"><?php echo $multi;?></div>
-<ul id="imagebody"><?php if(is_array($list)) foreach($list as $key => $value) { ?><li class="thumb"><a href="javascript:;" onclick="return false;"><img src="<?php echo $value['pic'];?>" alt="" onclick="spaceDiy.setBgImage(this);"/></a></li>
-<?php } ?>
-</ul>
-<div id="diyimg_next" class="z"><?php echo $multi;?></div>
-<?php } elseif($_GET['op'] == 'diy') { ?>
-<dl class='diy'>
-<dt class="cl pns">
-<div class="y">
-<button type="button" id="uploadmsg_button" onclick="Util.toggleEle('upload');" class="pn pnc z<?php if(empty($list)) { ?> hide<?php } ?>"><span>上传新图片</span></button>
-<div id="upload" class="z<?php if($list) { ?> hide<?php } ?>"><iframe id="uploadframe" name="uploadframe" width="0" height="0" marginwidth="0" frameborder="0" src="about:blank"></iframe>
-<form method="post" autocomplete="off" name="uploadpic" id="uploadpic" action="portal.php?mod=portalcp&amp;ac=diy" enctype="multipart/form-data" target="uploadframe" onsubmit="return spaceDiy.uploadSubmit();">
-<input type="file" class="t_input" name="attach" size="15">
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<input type="hidden" name="topicid" value="<?php echo $_GET['topicid'];?>" />
-<button type="submit" name="uploadsubmit" id="btnupload" class="pn" value="true"><span>开始上传</span></button>
-</form>
-</div>
-<span id="uploadmsg" class="z"></span>
-</div>
-正在编辑:
-<a id="diy_tag_body" href="javascript:;" onclick="spaceDiy.setCurrentDiy('body');return false;">背景</a>
-<span class="pipe">|</span><a id="diy_tag_blocktitle" href="javascript:;" onclick="spaceDiy.setCurrentDiy('blocktitle');return false;">标题栏</a></span>
-<span class="pipe">|</span><a id="diy_tag_ct" href="javascript:;" onclick="spaceDiy.setCurrentDiy('ct');return false;">内容区</a>
-
-  	<a style="margin-left: 40px;" id="bg_button" href="javascript:;" onclick="spaceDiy.hideBg();return false;">取消背景图</a>
-<span class="pipe">|</span><a id="recover_button" href="javascript:;" onclick="spaceDiy.recoverStyle();return false;">恢复原装皮肤</a>
-</dt>
-<dd>
-<div class="photo_list cl">
-<div id="currentimgdiv" class="z" style="width:446px;">
-<center><ul><li class="thumb" style="border:1px solid #ccc; padding:2px;"><img id="currentimg" alt="" src=""/></li></ul>
-<div class="z cur1" onclick="spaceDiy.changeBgImgDiv();">更换</div></center>
-</div>
-<div id="diyimages" class="z" style="width: 446px; display: none">
-<div id="diyimg_prev" class="z"><?php echo $multi;?></div>
-<ul id="imagebody"><?php if(is_array($list)) foreach($list as $key => $value) { ?><li class="thumb"><a href="javascript:;" onclick="return false;"><img src="<?php echo $value['pic'];?>" alt="" onclick="spaceDiy.setBgImage(this);"/></a></li>
-<?php } ?>
-</ul>
-<div id="diyimg_next" class="z"><?php echo $multi;?></div>
-</div>
-<div class="z" style="padding-left: 7px; width: 160px; border: solid #CCC; border-width: 0 1px;">
-<table cellpadding="0" cellspacing="0">
-<tr>
-<td><label for="repeat_mode">图片平铺:</label></td>
-<td>
-<select id="repeat_mode" name="repeat_mode" class="ps" onclick="spaceDiy.setBgRepeat(this.value);">
-<option value="0" selected="selected">平铺</option>
-<option value="1">直接使用</option>
-<option value="2">横向平铺</option>
-<option value="3">纵向平铺</option>
-</select>
-</td>
-</tr>
-<tr>
-<td>图片位置:</td>
-<td>
-<table cellpadding="0" cellspacing="0" id="positiontable">
-<tr>
-<td id="bgimgposition0" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition1" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition2" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-</tr>
-<tr>
-<td id="bgimgposition3" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition4" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition5" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-</tr>
-<tr>
-<td id="bgimgposition6" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition7" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-<td id="bgimgposition8" onclick="spaceDiy.setBgPosition(this.id)">&nbsp;</td>
-</tr>
-</table>
-</td>
-</tr>
-</table>
-</div>
-<div class="z diywin" style="padding-left: 7px; width: 160px;">
-<table cellpadding="0" cellspacing="0">
-<tr>
-<td>背景滚动:</td>
-<td>
-<label for="rabga0"><input type="radio" id="rabga0" name="attachment_mode" onclick="spaceDiy.setBgAttachment(0);" class="pr" />滚动</label>
-<label for="rabga1"><input type="radio" id="rabga1" name="attachment_mode" onclick="spaceDiy.setBgAttachment(1);" class="pr" />固定</label>
-</td>
-</tr>
-<tr>
-<td>背景颜色:</td>
-<td><input type="text" id="colorValue" value="" size="6" onchange="spaceDiy.setBgColor(this.value);" class="px vm" style="font-size: 12px; padding: 2px;" />
-<input id="cbpb" onclick="createPalette('bpb', 'colorValue', 'spaceDiy.setBgColor');" type="button" class="pn colorwd" value="" />
-</td>
-</tr>
-</table>
-</div>
-<div class="z diywin" style="padding-left: 7px; width: 160px;">
-<table cellpadding="0" cellspacing="0">
-<tr>
-<td>文字颜色:</td>
-<td><input type="text" id="textColorValue" value="" size="6" onchange="spaceDiy.setTextColor(this.value);" class="px vm" style="font-size: 12px; padding: 2px;" />
-<input id="ctpb" onclick="createPalette('tpb', 'textColorValue', 'spaceDiy.setTextColor');" type="button" class="pn colorwd" value="" />
-</td>
-</tr>
-<tr>
-<td>链接颜色:</td>
-<td><input type="text" id="linkColorValue" value="" size="6" onchange="spaceDiy.setLinkColor(this.value);" class="px vm" style="font-size: 12px; padding: 2px;" />
-<input id="clpb" onclick="createPalette('lpb', 'linkColorValue', 'spaceDiy.setLinkColor');" type="button" class="colorwd" value="" style="background: #fff;" />
-</td>
-</tr>
-</table>
-</div>
-  </dd>
-</dl>
-<?php } elseif($op == 'import') { ?>
-<h3 class="flb">
-<em id="return_<?php echo $_GET['handlekey'];?>">导入框架</em>
-<span>
-<?php if($_G['inajax']) { ?><a href="javascript:;" class="flbc" onclick="hideWindow('<?php echo $_GET['handlekey'];?>');return false;" title="关闭">关闭</a><?php } ?>
-</span>
-</h3>
-<ul class="tb cl">
-<li<?php if(empty($_GET['type'])) { ?> class="a"<?php } ?> id="li_import_upload"><a onclick="showWindow('showimport', this.getAttribute('href'));" href="portal.php?mod=portalcp&amp;ac=diy&amp;op=import&amp;type=0&amp;tpl=<?php echo $_GET['tpl'];?>">上传文件</a></li>
-<li<?php if($_GET['type'] == 1) { ?> class="a"<?php } ?> id="li_import_system"><a onclick="showWindow('showimport', this.getAttribute('href'));" href="portal.php?mod=portalcp&amp;ac=diy&amp;op=import&amp;type=1&amp;tpl=<?php echo $_GET['tpl'];?>">系统内置</a></li>
-</ul>
-
-<form name="frameimport" id="frameimport" enctype="multipart/form-data" method="post" autocomplete="off" action="portal.php?mod=portalcp&amp;ac=diy&amp;op=import" onsubmit="ajaxpost('frameimport','return_<?php echo $_GET['handlekey'];?>','','onerror',$('frameimportbutton'));">
-<div class="c" style="width:420px;line-height:100px; overflow-y: auto; ">
-<?php if($_GET['type'] == 1) { if($xmlarr) { ?>
-选择要导入的文件:
-<select id="importfilename" name="importfilename" class=""><?php if(is_array($xmlarr)) foreach($xmlarr as $key => $value) { ?><option value="<?php echo $key;?>"><?php echo $value;?></option>
-<?php } ?>
-</select>
-<?php } else { ?>
-<center>没有找到内置文件</center>
-<?php } } else { ?>
-文本文件的位置: <input type="file" id="importfile" name="importfile" style="margin: 5px;">
-<?php } ?>
-</div>
-<div class="o pns">
-<input type="hidden" name="handlekey" value="<?php echo $_GET['handlekey'];?>" />
-<input type="hidden" name="importsubmit" value="true" />
-<input type="hidden" name="tpl" value="<?php echo $_GET['tpl'];?>" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<button type="submit" class="pn pnc" id="frameimportbutton"><strong>导入</strong></button>
-</div>
-</form>
-<script type="text/javascript" reload="1">
-function succeedhandle_<?php echo $_GET['handlekey'];?> (url, message, values) {
-if (values['status'] == '1') {
-if (values['css']) spaceDiy.initDiyStyle(values['css']);
-
-var areaArr = values['html'];
-var dom = document.createElement("div");
-for (var i in areaArr) {
-var html = areaArr[i].replace(/\[script/g, '<script').replace(/\[\/script\]/g, '<\/script>');
-var area = $(i) ? $(i) : drag.moveableArea[0];
-dom.innerHTML = html;
-var arr = [];
-for (var i=0, l=dom.childNodes.length; i < l; i++) {
-arr.push(dom.childNodes[i]);
-}
-var one = '';
-while(one = arr.pop()) {
-Util.insertBefore(one,area.firstChild);
-}
-}
-drag.initPosition();
-drag.isChange = true;
-drag.setClose();
-var blocks = values['bids'].split(',');
-drag.blockForceUpdateBatch(blocks);
-}
-
-hideWindow('<?php echo $_GET['handlekey'];?>');
-}
-</script>
-<?php } include template('common/footer'); ?>

+ 21 - 0
data/template/3_3_tag_tag.tpl.php

xqd
@@ -0,0 +1,21 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('tag');?><?php include template('common/header'); if($type != 'countitem') { ?>
+<div id="ct" class="wp cl">
+<h1 class="mt"><img class="vm" src="<?php echo IMGDIR;?>/tag.gif" alt="tag" /> 标签</h1>
+<div class="bm">
+<div class="bm_c">
+<form method="post" action="misc.php?mod=tag" class="pns">
+<input type="text" name="name" class="px vm" size="30" />&nbsp;
+<button type="submit" class="pn vm"><em>搜索</em></button>
+</form>
+<div class="taglist mtm mbm">
+<?php if($tagarray) { if(is_array($tagarray)) foreach($tagarray as $tag) { ?><a href="misc.php?mod=tag&amp;id=<?php echo $tag['tagid'];?>" title="<?php echo $tag['tagname'];?>" target="_blank" class="xi2"><?php echo $tag['tagname'];?></a>
+<?php } } else { ?>
+<p class="emp">还没有任何标签</p>
+<?php } ?>
+</div>
+</div>
+</div>
+</div>
+<?php } else { ?>
+<?php echo $num;?>
+<?php } include template('common/footer'); ?>

+ 157 - 0
data/template/3_3_tag_tagitem.tpl.php

xqd
@@ -0,0 +1,157 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('tagitem');?><?php include template('common/header'); if($tagname) { ?>
+<div id="pt" class="bm cl">
+<div class="z">
+<a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a> <em>&rsaquo;</em>
+<a href="misc.php?mod=tag">标签</a>
+<?php if($tagname) { ?>
+<em>&rsaquo;</em>
+<a href="misc.php?mod=tag&amp;id=<?php echo $id;?>"><?php echo $tagname;?></a>
+<?php } if($showtype == 'thread') { ?>
+<em>&rsaquo;</em> 相关帖子
+<?php } if($showtype == 'blog') { ?>
+<em>&rsaquo;</em> 相关日志
+<?php } ?>
+</div>
+</div>
+<div id="ct" class="wp cl">
+<h1 class="mt"><img class="vm" src="<?php echo IMGDIR;?>/tag.gif" alt="tag" /> 标签: <?php echo $tagname;?></h1>
+<?php if(empty($showtype) || $showtype == 'thread') { ?>
+<div class="bm tl">
+<div class="th">
+<table cellspacing="0" cellpadding="0">
+<tr>
+<th><h2>相关帖子</h2></th>
+<td class="by">版块</td>
+<td class="by">作者</td>
+<td class="num">回复/查看</td>
+<td class="by">最后发表</td>
+</tr>
+</table>
+</div>
+<div class="bm_c">
+<?php if($threadlist) { ?>
+<table cellspacing="0" cellpadding="0"><?php if(is_array($threadlist)) foreach($threadlist as $thread) { ?><tr>
+<td class="icn">
+<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?><?php if($_GET['archiveid']) { ?>&amp;archiveid=<?php echo $_GET['archiveid'];?><?php } ?>" title="新窗口打开" target="_blank">
+<?php if($thread['folder'] == 'lock') { ?>
+<img src="<?php echo IMGDIR;?>/folder_lock.gif" />
+<?php } elseif($thread['special'] == 1) { ?>
+<img src="<?php echo IMGDIR;?>/pollsmall.gif" alt="投票" />
+<?php } elseif($thread['special'] == 2) { ?>
+<img src="<?php echo IMGDIR;?>/tradesmall.gif" alt="商品" />
+<?php } elseif($thread['special'] == 3) { ?>
+<img src="<?php echo IMGDIR;?>/rewardsmall.gif" alt="悬赏" />
+<?php } elseif($thread['special'] == 4) { ?>
+<img src="<?php echo IMGDIR;?>/activitysmall.gif" alt="活动" />
+<?php } elseif($thread['special'] == 5) { ?>
+<img src="<?php echo IMGDIR;?>/debatesmall.gif" alt="辩论" />
+<?php } elseif(in_array($thread['displayorder'], array(1, 2, 3, 4))) { ?>
+<img src="<?php echo IMGDIR;?>/pin_<?php echo $thread['displayorder'];?>.gif" alt="<?php echo $_G['setting']['threadsticky'][3-$thread['displayorder']];?>" />
+<?php } else { ?>
+<img src="<?php echo IMGDIR;?>/folder_<?php echo $thread['folder'];?>.gif" />
+<?php } ?>
+</td>
+<th>
+<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>" target="_blank" <?php echo $thread['highlight'];?>><?php echo $thread['subject'];?></a>
+<?php if($thread['readperm']) { ?> - [阅读权限 <span class="xw1"><?php echo $thread['readperm'];?></span>]<?php } if($thread['price'] > 0) { if($thread['special'] == '3') { ?>
+- <span style="color: #C60">[悬赏 <span class="xw1"><?php echo $thread['price'];?></span> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['2']]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['2']]['title'];?>]</span>
+<?php } else { ?>
+- [!price! <span class="xw1"><?php echo $thread['price'];?></span> <?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['unit'];?><?php echo $_G['setting']['extcredits'][$_G['setting']['creditstransextra']['1']]['title'];?>]
+<?php } } elseif($thread['special'] == '3' && $thread['price'] < 0) { ?>
+- [!reward_solved!]
+<?php } if($thread['attachment'] == 2) { ?>
+<img src="<?php echo STATICURL;?>image/filetype/image_s.gif" alt="attach_img" title="!attach_img!" align="absmiddle" />
+<?php } elseif($thread['attachment'] == 1) { ?>
+<img src="<?php echo STATICURL;?>image/filetype/common.gif" alt="attachment" title="!attachment!" align="absmiddle" />
+<?php } if($thread['digest'] > 0 && $filter != 'digest') { ?>
+<img src="<?php echo IMGDIR;?>/digest_<?php echo $thread['digest'];?>.gif" align="absmiddle" alt="digest" title="!thread_digest! <?php echo $thread['digest'];?>" />
+<?php } ?>
+</th>
+<td class="by"><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $thread['fid'];?>"><?php echo $thread['forumname'];?></a></td>
+<td class="by">
+<cite>
+<?php if($thread['authorid'] && $thread['author']) { ?>
+<a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" c="1"><?php echo $thread['author'];?></a>
+<?php } else { ?>
+匿名
+<?php } ?>
+</cite>
+<em><span<?php if($thread['istoday']) { ?> class="xi1"<?php } ?>><?php echo $thread['dateline'];?></span></em>
+</td>
+<td class="num">
+<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>" class="xi2"><?php echo $thread['replies'];?></a>
+<em><?php echo $thread['views'];?></em>
+</td>
+<td class="by">
+<cite><?php if($thread['lastposter']) { ?><a href="<?php if($thread['digest'] != -2) { ?>home.php?mod=space&username=<?php echo $thread['lastposterenc'];?><?php } else { ?>forum.php?mod=viewthread&tid=<?php echo $thread['tid'];?>&page=<?php echo max(1, $thread['pages']);; } ?>" c="1"><?php echo $thread['lastposter'];?></a><?php } else { ?><?php echo $_G['setting']['anonymoustext'];?><?php } ?></cite>
+<em><a href="<?php if($thread['digest'] != -2) { ?>forum.php?mod=redirect&tid=<?php echo $thread['tid'];?>&goto=lastpost<?php echo $highlight;?>#lastpost<?php } else { ?>forum.php?mod=viewthread&tid=<?php echo $thread['tid'];?>&page=<?php echo max(1, $thread['pages']);; } ?>"><?php echo $thread['lastpost'];?></a></em>
+</td>
+</tr>
+<?php } ?>
+</table>
+<?php if(empty($showtype)) { ?>
+<div class="ptm">
+<a class="xi2" href="misc.php?mod=tag&amp;id=<?php echo $id;?>&amp;type=thread">更多...</a>
+</div>
+<?php } else { if($multipage) { ?><div class="pgs mtm cl"><?php echo $multipage;?></div><?php } } } else { ?>
+<p class="emp">没有相关内容</p>
+<?php } ?>
+</div>
+</div>
+<?php } if(helper_access::check_module('blog') && (empty($showtype) || $showtype == 'blog')) { ?>
+<div class="bm">
+<div class="bm_h">
+<h2>相关日志</h2>
+</div>
+<div class="bm_c">
+<?php if($bloglist) { ?>
+<div class="xld xlda"><?php if(is_array($bloglist)) foreach($bloglist as $blog) { ?><dl class="bbda">
+<dd class="m">
+<div class="avt"><a href="home.php?mod=space&amp;uid=<?php echo $blog['uid'];?>" target="_blank" c="1"><?php echo avatar($blog[uid],small);?></a></div>
+</dd>
+<dt class="xs2">
+<?php if(helper_access::check_module('share')) { ?>
+<a href="home.php?mod=spacecp&amp;ac=share&amp;type=blog&amp;id=<?php echo $blog['blogid'];?>&amp;handlekey=lsbloghk_<?php echo $blog['blogid'];?>" id="a_share_<?php echo $blog['blogid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);" class="oshr xs1 xw0">分享</a>
+<?php } ?>
+<a href="home.php?mod=space&amp;uid=<?php echo $blog['uid'];?>&amp;do=blog&amp;id=<?php echo $blog['blogid'];?>" target="_blank"><?php echo $blog['subject'];?></a>
+</dt>
+<dd>
+<?php if($blog['hot']) { ?><span class="hot">热度 <em><?php echo $blog['hot'];?></em> </span><?php } ?>
+<a href="home.php?mod=space&amp;uid=<?php echo $blog['uid'];?>" target="_blank"><?php echo $blog['username'];?></a> <span class="xg1"><?php echo $blog['dateline'];?></span>
+</dd>
+<dd class="cl" id="blog_article_<?php echo $blog['blogid'];?>">
+<?php if($blog['pic']) { ?><div class="atc"><a href="home.php?mod=space&amp;uid=<?php echo $blog['uid'];?>&amp;do=blog&amp;id=<?php echo $blog['blogid'];?>" target="_blank"><img src="<?php echo $blog['pic'];?>" alt="<?php echo $blog['subject'];?>" class="tn" /></a></div><?php } ?>
+<?php echo $blog['message'];?>
+</dd>
+<dd class="xg1">
+<?php if($blog['classname']) { ?>个人分类: <a href="home.php?mod=space&amp;uid=<?php echo $blog['uid'];?>&amp;do=blog&amp;classid=<?php echo $blog['classid'];?>&amp;view=me" target="_blank"><?php echo $blog['classname'];?></a><span class="pipe">|</span><?php } if($blog['viewnum']) { ?><a href="home.php?mod=space&amp;uid=<?php echo $blog['uid'];?>&amp;do=blog&amp;id=<?php echo $blog['blogid'];?>" target="_blank"><?php echo $blog['viewnum'];?> 次阅读</a><span class="pipe">|</span><?php } ?>
+<a href="home.php?mod=space&amp;uid=<?php echo $blog['uid'];?>&amp;do=blog&amp;id=<?php echo $blog['blogid'];?>#comment" target="_blank"><span id="replynum_<?php echo $blog['blogid'];?>"><?php echo $blog['replynum'];?></span> 个评论</a>
+</dd>
+</dl>
+<?php } ?>
+</div>
+<?php if(empty($showtype)) { ?>
+<div class="ptm">
+<a class="xi2" href="misc.php?mod=tag&amp;id=<?php echo $id;?>&amp;type=blog">更多...</a>
+</div>
+<?php } else { if($multipage) { ?><div class="pgs mtm cl"><?php echo $multipage;?></div><?php } } } else { ?>
+<p class="emp">没有相关内容</p>
+<?php } ?>
+</div>
+</div>
+<?php } ?>
+</div>
+<?php } else { ?>
+<div id="ct" class="wp cl">
+<h1 class="mt"><img class="vm" src="<?php echo IMGDIR;?>/tag.gif" alt="tag" /> 标签: <?php echo $searchtagname;?></h1>
+<div class="bm">
+<div class="bm_c">
+<form method="post" action="misc.php?mod=tag" class="pns">
+<input type="text" name="name" class="px vm" size="30" />&nbsp;
+<button type="submit" class="pn vm"><em>搜索</em></button>
+</form>
+<div class="taglist mtm mbm"><p class="emp">没有此标签,您可以继续搜索或者<a href="misc.php?mod=tag" title="返回标签首页">返回标签首页</a></p></div>
+</div>
+</div>
+</div>
+<?php } include template('common/footer'); ?>

+ 7 - 7
data/template/3_diy_forum_forumdisplay.tpl.php

xqd
@@ -1,12 +1,12 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('forumdisplay');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/forumdisplay_leftside.htm', 1523429229, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/recommend.htm', 1523429229, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/common/seccheck.htm', 1523429229, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/wfdsoft_jiaohu/forum/forumdisplay_list.htm', 1523429229, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/forumdisplay_sort.htm', 1523429229, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/search_sortoption.htm', 1523429229, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/search_sortoption.htm', 1523429229, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/forumdisplay_leftside.htm', 1524100815, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/recommend.htm', 1524100815, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/common/seccheck.htm', 1524100815, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/wfdsoft_jiaohu/forum/forumdisplay_list.htm', 1524100815, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/forumdisplay_sort.htm', 1524100815, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/search_sortoption.htm', 1524100815, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay.htm', './template/default/forum/search_sortoption.htm', 1524100815, 'diy', './data/template/3_diy_forum_forumdisplay.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay')
 ;
 block_get('8,9,10,12');?><?php include template('common/header'); if($_G['forum']['ismoderator']) { ?>
 <script src="<?php echo $_G['setting']['jspath'];?>forum_moderate.js?<?php echo VERHASH;?>" type="text/javascript"></script>

+ 7 - 7
data/template/3_diy_forum_forumdisplay_2.tpl.php

xqd
@@ -1,12 +1,12 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('forumdisplay_2');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/forumdisplay_leftside.htm', 1523428923, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/recommend.htm', 1523428923, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/common/seccheck.htm', 1523428923, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/wfdsoft_jiaohu/forum/forumdisplay_list.htm', 1523428923, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/forumdisplay_sort.htm', 1523428923, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/search_sortoption.htm', 1523428923, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/search_sortoption.htm', 1523428923, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/forumdisplay_leftside.htm', 1524113676, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/recommend.htm', 1524113676, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/common/seccheck.htm', 1524113676, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/wfdsoft_jiaohu/forum/forumdisplay_list.htm', 1524113676, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/forumdisplay_sort.htm', 1524113676, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/search_sortoption.htm', 1524113676, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/forumdisplay_2.htm', './template/default/forum/search_sortoption.htm', 1524113676, 'diy', './data/template/3_diy_forum_forumdisplay_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/forumdisplay_2')
 ;
 block_get('8,9,10,12');?><?php include template('common/header'); if($_G['forum']['ismoderator']) { ?>
 <script src="<?php echo $_G['setting']['jspath'];?>forum_moderate.js?<?php echo VERHASH;?>" type="text/javascript"></script>

+ 7 - 7
data/template/3_diy_forum_viewthread.tpl.php

xqd
@@ -1,12 +1,12 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('viewthread');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/wfdsoft_jiaohu/forum/viewthread_node.htm', 1523428989, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/wfdsoft_jiaohu/forum/viewthread_fastpost.htm', 1523428989, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/forum/viewthread_node_body.htm', 1523428989, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/common/seditor.htm', 1523428989, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/forum/seccheck_post.htm', 1523428989, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/common/upload.htm', 1523428989, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/common/seccheck.htm', 1523428989, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/wfdsoft_jiaohu/forum/viewthread_node.htm', 1524176611, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/wfdsoft_jiaohu/forum/viewthread_fastpost.htm', 1524176611, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/forum/viewthread_node_body.htm', 1524176611, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/common/seditor.htm', 1524176611, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/forum/seccheck_post.htm', 1524176611, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/common/upload.htm', 1524176611, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread.htm', './template/default/common/seccheck.htm', 1524176611, 'diy', './data/template/3_diy_forum_viewthread.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread')
 ;
 block_get('18,19,20,22,21');?><?php include template('common/header'); if($wk_leftinfo ) { $close_leftinfo = 1;?><?php } if($close_leftinfo) { ?>
 <style> 

+ 7 - 7
data/template/3_diy_forum_viewthread_2.tpl.php

xqd
@@ -1,12 +1,12 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('viewthread_2');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/wfdsoft_jiaohu/forum/viewthread_node.htm', 1523428751, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/wfdsoft_jiaohu/forum/viewthread_fastpost.htm', 1523428751, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/forum/viewthread_node_body.htm', 1523428751, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/common/seditor.htm', 1523428751, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/forum/seccheck_post.htm', 1523428751, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/common/upload.htm', 1523428751, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//forum/viewthread_2.htm', './template/default/common/seccheck.htm', 1523428751, 'diy', './data/template/3_diy_forum_viewthread_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'forum/viewthread_2')
+|| 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')
+|| 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')
+|| 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')
+|| 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')
+|| 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')
+|| 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')
+|| 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')
 ;
 block_get('23,24,25,27');?><?php include template('common/header'); if($wk_leftinfo ) { $close_leftinfo = 1;?><?php } if($close_leftinfo) { ?>
 <style> 

+ 10 - 10
data/template/3_diy_group_group.tpl.php

xqd
@@ -1,15 +1,15 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('group');
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_index.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_list.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_memberlist.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_create.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_invite.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_manage.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_right.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/common/seccheck.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/common/seditor.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
-|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/common/seditor.htm', 1523428817, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_index.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_list.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_memberlist.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_create.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_invite.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_manage.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/group/group_right.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/common/seccheck.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/common/seditor.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
+|| checktplrefresh('./template/wfdsoft_jiaohu/group/group.htm', './template/default/common/seditor.htm', 1524563502, 'diy', './data/template/3_diy_group_group.tpl.php', './template/wfdsoft_jiaohu', 'group/group')
 ;?><?php include template('common/header'); ?><div id="pt" class="bm cl">
 <div class="z">
 <a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a><em>&rsaquo;</em><a href="group.php"><?php echo $_G['setting']['navs']['3']['navname'];?></a><?php if($groupnav) { ?><?php echo $groupnav;?><?php } elseif($action == 'create') { ?><em>&rsaquo;</em>创建<?php echo $_G['setting']['navs']['3']['navname'];?><?php } ?>

+ 6 - 6
data/template/3_diy_home_space_album_list.tpl.php

xqd
@@ -1,11 +1,11 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_album_list');
 0
-|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/home/space_header.htm', 1523446864, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
-|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/common/userabout.htm', 1523446864, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
-|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/home/space_userabout.htm', 1523446864, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
-|| checktplrefresh('./template/default/home/space_album_list.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523446864, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
-|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/home/space_diy.htm', 1523446864, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
-|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/home/space_header_personalnv.htm', 1523446864, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
+|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/home/space_header.htm', 1524336978, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
+|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/common/userabout.htm', 1524336978, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
+|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/home/space_userabout.htm', 1524336978, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
+|| checktplrefresh('./template/default/home/space_album_list.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524336978, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
+|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/home/space_diy.htm', 1524336978, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
+|| checktplrefresh('./template/default/home/space_album_list.htm', './template/default/home/space_header_personalnv.htm', 1524336978, 'diy', './data/template/3_diy_home_space_album_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_album_list')
 ;?>
 <?php $friendsname = array(1 => '仅好友可见',2 => '指定好友可见',3 => '仅自己可见',4 => '凭密码可见');?><?php if($diymode) { if($_G['setting']['homepagestyle']) { $_G[cookie][extstyle] = false;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 6 - 6
data/template/3_diy_home_space_blog_list.tpl.php

xqd
@@ -1,11 +1,11 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_blog_list');
 0
-|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/home/space_header.htm', 1523431143, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
-|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/common/userabout.htm', 1523431143, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
-|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/home/space_userabout.htm', 1523431143, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
-|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523431143, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
-|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/home/space_diy.htm', 1523431143, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
-|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/home/space_header_personalnv.htm', 1523431143, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
+|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/home/space_header.htm', 1524317836, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
+|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/common/userabout.htm', 1524317836, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
+|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/home/space_userabout.htm', 1524317836, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
+|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524317836, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
+|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/home/space_diy.htm', 1524317836, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
+|| checktplrefresh('./template/default/home/space_blog_list.htm', './template/default/home/space_header_personalnv.htm', 1524317836, 'diy', './data/template/3_diy_home_space_blog_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_blog_list')
 ;?>
 <?php $_G[home_tpl_spacemenus][] = "<a href=\"home.php?mod=space&amp;uid=$space[uid]&amp;do=blog&amp;view=me\">TA 的所有日志</a>";
 $friendsname = array(1 => '仅好友可见',2 => '指定好友可见',3 => '仅自己可见',4 => '凭密码可见');?><?php if($diymode) { if($_G['setting']['homepagestyle']) { $_G[cookie][extstyle] = false;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

+ 6 - 6
data/template/3_diy_home_space_doing.tpl.php

xqd
@@ -1,11 +1,11 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_doing');
 0
-|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/home/space_header.htm', 1523449424, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
-|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/common/userabout.htm', 1523449424, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
-|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/home/space_userabout.htm', 1523449424, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
-|| checktplrefresh('./template/default/home/space_doing.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523449424, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
-|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/home/space_diy.htm', 1523449424, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
-|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/home/space_header_personalnv.htm', 1523449424, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
+|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/home/space_header.htm', 1524604013, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
+|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/common/userabout.htm', 1524604013, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
+|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/home/space_userabout.htm', 1524604013, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
+|| checktplrefresh('./template/default/home/space_doing.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524604013, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
+|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/home/space_diy.htm', 1524604013, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
+|| checktplrefresh('./template/default/home/space_doing.htm', './template/default/home/space_header_personalnv.htm', 1524604013, 'diy', './data/template/3_diy_home_space_doing.tpl.php', './template/wfdsoft_jiaohu', 'home/space_doing')
 ;?>
 <?php if($diymode) { if($_G['setting']['homepagestyle']) { $_G[cookie][extstyle] = false;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 6 - 6
data/template/3_diy_home_space_friend.tpl.php

xqd
@@ -1,11 +1,11 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_friend');
 0
-|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_header.htm', 1523448516, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
-|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_friend_nav.htm', 1523448516, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
-|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_userabout.htm', 1523448516, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
-|| checktplrefresh('./template/default/home/space_friend.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523448516, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
-|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_diy.htm', 1523448516, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
-|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_header_personalnv.htm', 1523448516, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
+|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_header.htm', 1524209545, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
+|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_friend_nav.htm', 1524209545, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
+|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_userabout.htm', 1524209545, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
+|| checktplrefresh('./template/default/home/space_friend.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524209545, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
+|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_diy.htm', 1524209545, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
+|| checktplrefresh('./template/default/home/space_friend.htm', './template/default/home/space_header_personalnv.htm', 1524209545, 'diy', './data/template/3_diy_home_space_friend.tpl.php', './template/wfdsoft_jiaohu', 'home/space_friend')
 ;?>
 <?php if(empty($diymode)) { include template('common/header'); ?><div id="pt" class="bm cl">
 <div class="z">

+ 5 - 5
data/template/3_diy_home_space_home.tpl.php

xqd
@@ -1,10 +1,10 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_home');
 0
-|| checktplrefresh('./template/default/home/space_home.htm', './template/default/home/space_header.htm', 1523440382, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
-|| checktplrefresh('./template/default/home/space_home.htm', './template/default/home/space_userabout.htm', 1523440382, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
-|| checktplrefresh('./template/default/home/space_home.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523440382, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
-|| checktplrefresh('./template/default/home/space_home.htm', './template/default/home/space_diy.htm', 1523440382, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
-|| checktplrefresh('./template/default/home/space_home.htm', './template/default/home/space_header_personalnv.htm', 1523440382, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
+|| checktplrefresh('./template/default/home/space_home.htm', './template/default/home/space_header.htm', 1524159293, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
+|| checktplrefresh('./template/default/home/space_home.htm', './template/default/home/space_userabout.htm', 1524159293, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
+|| checktplrefresh('./template/default/home/space_home.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524159293, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
+|| checktplrefresh('./template/default/home/space_home.htm', './template/default/home/space_diy.htm', 1524159293, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
+|| checktplrefresh('./template/default/home/space_home.htm', './template/default/home/space_header_personalnv.htm', 1524159293, 'diy', './data/template/3_diy_home_space_home.tpl.php', './template/wfdsoft_jiaohu', 'home/space_home')
 ;?>
 <?php if(empty($diymode)) { include template('common/header'); ?><div id="pt" class="bm cl">
 <div class="z">

+ 6 - 6
data/template/3_diy_home_space_share_list.tpl.php

xqd
@@ -1,11 +1,11 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_share_list');
 0
-|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/home/space_header.htm', 1523446927, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
-|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/common/userabout.htm', 1523446927, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
-|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/home/space_userabout.htm', 1523446927, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
-|| checktplrefresh('./template/default/home/space_share_list.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523446927, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
-|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/home/space_diy.htm', 1523446927, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
-|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/home/space_header_personalnv.htm', 1523446927, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
+|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/home/space_header.htm', 1524604001, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
+|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/common/userabout.htm', 1524604001, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
+|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/home/space_userabout.htm', 1524604001, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
+|| checktplrefresh('./template/default/home/space_share_list.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1524604001, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
+|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/home/space_diy.htm', 1524604001, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
+|| checktplrefresh('./template/default/home/space_share_list.htm', './template/default/home/space_header_personalnv.htm', 1524604001, 'diy', './data/template/3_diy_home_space_share_list.tpl.php', './template/wfdsoft_jiaohu', 'home/space_share_list')
 ;?>
 <?php if($diymode) { if($_G['setting']['homepagestyle']) { $_G[cookie][extstyle] = false;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">

+ 0 - 541
data/template/3_diy_home_space_thread.tpl.php

xqd
@@ -1,541 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_thread');
-0
-|| checktplrefresh('./template/default/home/space_thread.htm', './template/default/home/space_header.htm', 1523431189, 'diy', './data/template/3_diy_home_space_thread.tpl.php', './template/wfdsoft_jiaohu', 'home/space_thread')
-|| checktplrefresh('./template/default/home/space_thread.htm', './template/default/common/userabout.htm', 1523431189, 'diy', './data/template/3_diy_home_space_thread.tpl.php', './template/wfdsoft_jiaohu', 'home/space_thread')
-|| checktplrefresh('./template/default/home/space_thread.htm', './template/default/home/space_userabout.htm', 1523431189, 'diy', './data/template/3_diy_home_space_thread.tpl.php', './template/wfdsoft_jiaohu', 'home/space_thread')
-|| checktplrefresh('./template/default/home/space_thread.htm', './template/wfdsoft_jiaohu/common/header_common.htm', 1523431189, 'diy', './data/template/3_diy_home_space_thread.tpl.php', './template/wfdsoft_jiaohu', 'home/space_thread')
-|| checktplrefresh('./template/default/home/space_thread.htm', './template/default/home/space_diy.htm', 1523431189, 'diy', './data/template/3_diy_home_space_thread.tpl.php', './template/wfdsoft_jiaohu', 'home/space_thread')
-|| checktplrefresh('./template/default/home/space_thread.htm', './template/default/home/space_header_personalnv.htm', 1523431189, 'diy', './data/template/3_diy_home_space_thread.tpl.php', './template/wfdsoft_jiaohu', 'home/space_thread')
-;?>
-<?php $filter = array( 'common' => '已发表', 'save' => '草稿箱', 'close' => '已关闭', 'aduit' => '待审核', 'ignored' => '已忽略', 'recyclebin' => '回收站');
-$_G[home_tpl_spacemenus][] = "<a href=\"home.php?mod=space&amp;uid=$space[uid]&amp;do=thread&amp;view=me\">TA 的所有帖子</a>";?><?php if($diymode) { if($_G['setting']['homepagestyle']) { $_G[cookie][extstyle] = false;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
-<?php if($_G['config']['output']['iecompatible']) { ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE<?php echo $_G['config']['output']['iecompatible'];?>" /><?php } ?>
-<title><?php if(!empty($navtitle)) { ?><?php echo $navtitle;?> <?php } if(empty($nobbname)) { ?> <?php echo $_G['setting']['bbname'];?><?php } ?></title>
-<?php echo $_G['setting']['seohead'];?>
-
-<meta name="keywords" content="<?php if(!empty($metakeywords)) { echo dhtmlspecialchars($metakeywords); } ?>" />
-<meta name="description" content="<?php if(!empty($metadescription)) { echo dhtmlspecialchars($metadescription); ?> <?php } if(empty($nobbname)) { ?>,<?php echo $_G['setting']['bbname'];?><?php } ?>" />
-<meta name="generator" content="思维定制! <?php echo $_G['setting']['version'];?>" />
-<meta name="author" content="思维定制! Think Different Team" />
-<meta name="copyright" content="2001-2020 Think Different Inc." />
-<meta name="MSSmartTagsPreventParsing" content="True" />
-<meta http-equiv="MSThemeCompatible" content="Yes" />
-    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
-<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_3_home_space.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
-<script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script src="/<?php echo $_G['style']['styleimgdir'];?>/js/jquery-1.7.2.js" type="text/javascript"></script>
-    <script src="/<?php echo $_G['style']['styleimgdir'];?>/js/pace.js" type="text/javascript"></script>
-    <?php require("./template/wfdsoft_jiaohu/week_config.php");?><?php require("./template/wfdsoft_$week/language/$wk_language");?><?php if(empty($_GET['diy'])) { $_GET['diy'] = '';?><?php } if(!isset($topic)) { $topic = array();?><?php } ?>
-<link href="/<?php echo $_G['style']['styleimgdir'];?>/style.css" rel="stylesheet" type="text/css" />
-<script src="<?php echo $_G['setting']['jspath'];?>home.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<link rel="stylesheet" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_css_space.css?<?php echo VERHASH;?>' />
-<link id="style_css" rel="stylesheet" type="text/css" href="<?php echo STATICURL;?>space/<?php if($space['theme']) { ?><?php echo $space['theme'];?><?php } else { ?>t1<?php } ?>/style.css?<?php echo VERHASH;?>">
-<style id="diy_style"><?php echo $space['spacecss'];?></style>
-</head>
-
-<body id="space" onkeydown="if(event.keyCode==27) return false;">
-<div id="append_parent"></div>
-<div id="ajaxwaitid"></div>
-
-<?php if($space['self'] && $_GET['diy'] == 'yes' && $do == 'index' ) { ?>
-<link rel="stylesheet" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_css_diy.css?<?php echo VERHASH;?>' /><div id="controlpanel" class="cl">
-<div id="controlheader" class="cl">
-<p class="y">
-<span id="navcancel"><a href="javascript:;" onclick="spaceDiy.cancel();return false;">关闭</a></span>
-<span id="navsave"><a href="javascript:;" onclick="javascript:spaceDiy.save();return false;">保存</a></span>
-<span id="button_redo" class="unusable"><a href="javascript:;" onclick="spaceDiy.redo();return false;" title="重做" onfocus="this.blur();">重做</a></span>
-<span id="button_undo" class="unusable"><a href="javascript:;" onclick="spaceDiy.undo();return false;" title="撤销" onfocus="this.blur();">撤销</a></span>
-</p>
-<ul id="controlnav">
-<li id="navstart" class="current"><a href="javascript:" onclick="spaceDiy.getdiy('start');this.blur();return false;">开始</a></li>
-<li id="navlayout"><a href="javascript:;" onclick="spaceDiy.getdiy('layout');this.blur();return false;">版式/布局</a></li>
-<li id="navstyle"><a href="javascript:;" onclick="spaceDiy.getdiy('style');this.blur();return false;">风格</a></li>
-<li id="navblock"><a href="javascript:;" onclick="spaceDiy.getdiy('block');this.blur();return false;">模块</a></li>
-<li id="navdiy"><a href="javascript:;" onclick="spaceDiy.getdiy('diy');this.blur();return false;">自定义装扮</a></li>
-</ul>
-</div>
-<div id="controlcontent" class="cl">
-<ul id="contentstart" class="content">
-  <li><a href="javascript:;" onclick="spaceDiy.getdiy('layout');return false;"><img src="<?php echo STATICURL;?>image/diy/layout.png" />版式</a></li>
-  <li><a href="javascript:;" onclick="spaceDiy.getdiy('style');return false;"><img src="<?php echo STATICURL;?>image/diy/style.png" />风格</a></li>
-  <li><a href="javascript:;" onclick="spaceDiy.getdiy('block');return false;"><img src="<?php echo STATICURL;?>image/diy/module.png" />添加模块</a></li>
-  <li><a href="javascript:;" onclick="spaceDiy.getdiy('diy', 'topicid', '<?php echo $topic['topicid'];?>');return false;"><img src="<?php echo STATICURL;?>image/diy/diy.png" />自定义</a></li>
-</ul>
-</div>
-<div id="cpfooter"><table cellpadding="0" cellspacing="0" width="100%"><tr><td class="l">&nbsp;</td><td class="c">&nbsp;</td><td class="r">&nbsp;</td></tr></table></div>
-</div>
-<form method="post" autocomplete="off" name="diyform" action="home.php?mod=spacecp&amp;ac=index">
-<input type="hidden" name="spacecss" value="" />
-<input type="hidden" name="style" value="<?php echo $space['theme'];?>" />
-<input type="hidden" name="layoutdata" value="" />
-<input type="hidden" name="currentlayout" value="<?php echo $userdiy['currentlayout'];?>" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<input type="hidden" name="diysubmit" value="true"/>
-</form><?php } ?>
-
-<div id="toptb" class="cl">
-<?php if($_G['uid']) { ?>
-<div class="y">
-<a href="home.php?mod=space&amp;uid=<?php echo $_G['uid'];?>" class="xw1" target="_blank" title="访问我的空间"><?php echo $_G['member']['username'];?></a>
-<a href="javascript:;" id="myspace" class="showmenu cur1" onmouseover="showMenu(this.id);">快捷导航</a>
-<?php if(!empty($_G['setting']['pluginhooks']['global_usernav_extra1'])) echo $_G['setting']['pluginhooks']['global_usernav_extra1'];?>
-<a href="home.php?mod=spacecp">设置</a>
-<a href="home.php?mod=space&amp;do=pm" id="pm_ntc" target="_blank"<?php if($_G['member']['newpm']) { ?> class="new"<?php } ?>>消息<?php if($_G['member']['newpm']) { ?>(<?php echo $_G['member']['newpm'];?>)<?php } ?></a>
-<a href="home.php?mod=space&amp;do=notice" id="myprompt" target="_blank"<?php if($_G['member']['newprompt']) { ?> class="new"<?php } ?>>提醒<?php if($_G['member']['newprompt']) { ?>(<?php echo $_G['member']['newprompt'];?>)<?php } ?></a><span id="myprompt_check"></span>
-<?php if($_G['group']['allowmanagearticle'] || $_G['group']['allowdiy']|| getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3) || in_array($_G['uid'], $_G['setting']['ext_portalmanager'])) { ?><a href="portal.php?mod=portalcp">门户管理</a><?php } if($_G['uid'] && $_G['group']['radminid'] > 1) { ?><a href="forum.php?mod=modcp&amp;fid=<?php echo $_G['fid'];?>" target="_blank"><?php echo $_G['setting']['navs']['2']['navname'];?>管理</a><?php } if($_G['uid'] && ($_G['group']['radminid'] == 1 || getstatus($_G['member']['allowadmincp'], 1))) { ?><a href="admin.php" target="_blank">管理中心</a><?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['global_usernav_extra2'])) echo $_G['setting']['pluginhooks']['global_usernav_extra2'];?>
-<a href="member.php?mod=logging&amp;action=logout&amp;formhash=<?php echo FORMHASH;?>">退出</a>
-<?php if($space['self'] && $do == 'index') { ?><a id="diy-tg" href="javascript:openDiy();" title="装扮空间">DIY</a><?php } ?>
-</div>
-<?php } elseif(!empty($_G['cookie']['loginuser'])) { ?>
-<div class="y">
-<a id="loginuser" class="xw1"><?php echo $_G['cookie']['loginuser'];?></a>
-<a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href)">激活</a>
-<a href="member.php?mod=logging&amp;action=logout&amp;formhash=<?php echo FORMHASH;?>">退出</a>
-</div>
-<?php } elseif($_G['connectguest']) { ?>
-<div class="y">
-<a href="member.php?mod=connect" target="_blank">完善帐号信息</a> <a href="member.php?mod=connect&amp;ac=bind" target="_blank">绑定已有帐号</a>
-</div>
-<?php } else { ?>
-<div class="y">
-<a href="member.php?mod=<?php echo $_G['setting']['regname'];?>"><?php echo $_G['setting']['reglinkname'];?></a>
-<a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href)">登录</a>
-</div>
-<?php } ?>
-<div class="z">
-<a href="./" title="<?php echo $_G['setting']['bbname'];?>" class="xw1"><?php echo $_G['setting']['bbname'];?></a>
-<a href="home.php?mod=space&amp;do=home" id="navs" class="showmenu" onmouseover="showMenu(this.id);">返回首页</a>
-</div>
-</div>
-<?php if($space['status'] == -1 && $_G['adminid'] == 1 ) { ?>
-<p class="ptw xw1 xi1 hm"><img src="<?php echo IMGDIR;?>/locked.gif" alt="Locked" class="vm" /> 提示: 作者被禁止或删除 内容自动屏蔽,只有管理员可见</p>
-<?php } ?>
-<div id="hd" class="wp cl">
-
-<h2 id="spaceinfoshow"><?php space_merge($space, 'field_home'); $space[domainurl] = space_domain($space);getuserdiydata($space);$personalnv = isset($_G['blockposition']['nv']) ? $_G['blockposition']['nv'] : '';?><strong id="spacename" class="mbn">
-<?php if($space['spacename']) { ?><?php echo $space['spacename'];?><?php } else { ?><?php echo $space['username'];?>的个人空间<?php } ?>
-</strong>
-<span class="xs0 xw0">
-<a id="domainurl" href="<?php echo $space['domainurl'];?>" onclick="setCopy('<?php echo $space['domainurl'];?>', '空间地址复制成功');return false;"><?php echo $space['domainurl'];?></a>
-<a href="javascript:;" onclick="addFavorite(location.href, document.title)">[收藏]</a>
-<a id="domainurl" href="<?php echo $space['domainurl'];?>" onclick="setCopy('<?php echo $space['domainurl'];?>', '空间地址复制成功');return false;">[复制]</a>
-<?php if(!$space['self']) { if(helper_access::check_module('share')) { ?>
-<a id="share_space" href="home.php?mod=spacecp&amp;ac=share&amp;type=space&amp;id=<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">[分享]</a>
-<?php } ?>
-<a href="home.php?mod=rss&amp;uid=<?php echo $space['uid'];?>">[RSS]</a>
-<?php } ?>
-</span>
-<span id="spacedescription" class="xs1 xw0 mtn"><?php echo $space['spacedescription'];?></span>
-</h2><?php if($_G['adminid'] == 1 && empty($space['self'])) { $personalnv['items'] = array(); $personalnv['banitems'] = array(); $personalnv['nvhidden'] = 0;?><?php } $nvclass = !empty($personalnv['nvhidden']) ? ' class="mininv"' : '';?><div id="nv">
-<ul<?php echo $nvclass;?>>
-<?php if(empty($personalnv['nvhidden'])) { if(empty($personalnv['banitems']['index'])) { if($_G['adminid'] == 1 && $_G['setting']['allowquickviewprofile'] == 1) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=index&amp;view=admin"><?php if(!empty($personalnv['items']['index'])) { ?><?php echo $personalnv['items']['index'];?><?php } else { ?>空间首页<?php } ?></a></li>
-<?php } else { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=index"><?php if(!empty($personalnv['items']['index'])) { ?><?php echo $personalnv['items']['index'];?><?php } else { ?>空间首页<?php } ?></a></li>
-<?php } } if(empty($personalnv['banitems']['feed']) && helper_access::check_module('feed')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=home&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['feed'])) { ?><?php echo $personalnv['items']['feed'];?><?php } else { ?>动态<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['doing']) && helper_access::check_module('doing')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=doing&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['doing'])) { ?><?php echo $personalnv['items']['doing'];?><?php } else { ?>记录<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['blog']) && helper_access::check_module('blog')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=blog&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['blog'])) { ?><?php echo $personalnv['items']['blog'];?><?php } else { ?>日志<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['album']) && helper_access::check_module('album')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=album&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['album'])) { ?><?php echo $personalnv['items']['album'];?><?php } else { ?>相册<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['follow']) && helper_access::check_module('follow')) { ?>
-<li><a href="home.php?mod=follow&amp;uid=<?php echo $space['uid'];?>&amp;do=view"><?php if(!empty($personalnv['items']['follow'])) { ?><?php echo $personalnv['items']['follow'];?><?php } else { ?>广播<?php } ?></a></li>
-<?php } if($_G['setting']['allowviewuserthread'] !== false && (empty($personalnv['banitems']['topic']))) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=thread&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['topic'])) { ?><?php echo $personalnv['items']['topic'];?><?php } else { ?>主题<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['share']) && helper_access::check_module('share')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=share&amp;view=me&amp;from=space"><?php if(!empty($personalnv['items']['share'])) { ?><?php echo $personalnv['items']['share'];?><?php } else { ?>分享<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['wall']) && helper_access::check_module('wall')) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=wall"><?php if(!empty($personalnv['items']['wall'])) { ?><?php echo $personalnv['items']['wall'];?><?php } else { ?>留言板<?php } ?></a></li>
-<?php } if(empty($personalnv['banitems']['profile'])) { ?>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=profile"><?php if(!empty($personalnv['items']['profile'])) { ?><?php echo $personalnv['items']['profile'];?><?php } else { ?>个人资料<?php } ?></a></li>
-<?php } } ?>
-</ul>
-</div></div>
-
-<?php if(!empty($_G['setting']['plugins']['jsmenu'])) { ?>
-<ul class="p_pop h_pop" id="plugin_menu" style="display: none"><?php if(is_array($_G['setting']['plugins']['jsmenu'])) foreach($_G['setting']['plugins']['jsmenu'] as $module) { ?>     <?php if(!$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])) { ?>
-     <li><?php echo $module['url'];?></li>
-     <?php } } ?>
-</ul>
-<?php } ?>
-<?php echo $_G['setting']['menunavs'];?><?php $mnid = getcurrentnav();?><ul id="navs_menu" class="p_pop topnav_pop" style="display:none;"><?php if(is_array($_G['setting']['navs'])) foreach($_G['setting']['navs'] as $nav) { $nav_showmenu = strpos($nav['nav'], 'onmouseover="showMenu(');?>    <?php $nav_navshow = strpos($nav['nav'], 'onmouseover="navShow(')?>    <?php if($nav_hidden !== false || $nav_navshow !== false) { $nav['nav'] = preg_replace("/onmouseover\=\"(.*?)\"/i", '',$nav['nav'])?>    <?php } ?>
-    <?php if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><li <?php echo $nav['nav'];?>></li><?php } } ?>
-</ul>
-<ul id="myspace_menu" class="p_pop" style="display:none;">
-    <li><a href="home.php?mod=space">我的空间</a></li><?php if(is_array($_G['setting']['mynavs'])) foreach($_G['setting']['mynavs'] as $nav) { if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?>
-<li><?php echo $nav['code'];?></li>
-<?php } } ?>
-</ul>
-<div id="ct" class="ct2 wp cl">
-<div class="mn">
-<div class="bm">
-<div class="bm_h">
-<?php if($space['self']) { ?><span class="xi2 y"><a href="forum.php?mod=misc&amp;action=nav" onclick="showWindow('nav', this.href, 'get', 0)" class="addnew">发帖</a></span><?php } ?>
-<h1 class="mt">
-<?php if($_GET['type'] == 'reply') { ?>
-<span class="xs1 xw0"><a href="home.php?mod=space&amp;do=thread&amp;view=me&amp;type=thread&amp;uid=<?php echo $space['uid'];?>&amp;from=space">主题</a><span class="pipe">|</span></span>回复
-<?php } else { ?>
-主题<span class="xs1 xw0"><span class="pipe">|</span><a href="home.php?mod=space&amp;do=thread&amp;view=me&amp;type=reply&amp;uid=<?php echo $space['uid'];?>&amp;from=space">回复</a></span>
-<?php } ?>
-</h1>
-</div>
-<div class="bm_c">
-<?php } else { include template('common/header'); ?><div id="pt" class="bm cl">
-<div class="z">
-<a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a> <em>&rsaquo;</em>
-<a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>"><?php echo $space['username'];?></a> <em>&rsaquo;</em>
-<a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=blog&amp;view=me">帖子</a>
-</div>
-</div>
-<style id="diy_style" type="text/css"></style>
-<div class="wp">
-<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
-</div><?php include template('home/space_menu'); ?><div id="ct" class="ct1 wp cl">
-<div class="mn">
-<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
-<div class="bm bw0">
-<div class="bm_c">
-<?php } } else { include template('common/header'); ?><div id="pt" class="bm cl">
-<div class="z">
-<a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a> <em>&rsaquo;</em>
-<?php if($_G['setting']['homestyle']) { ?><a href="home.php"><?php echo $_G['setting']['navs']['4']['navname'];?></a> <em>&rsaquo;</em> <?php } ?>
-<a href="home.php?mod=space&amp;do=blog">帖子</a>
-</div>
-</div>
-<style id="diy_style" type="text/css"></style>
-<div class="wp">
-<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
-</div>
-<div id="ct" class="ct2_a wp cl">
-<?php if($_G['setting']['homestyle']) { ?>
-<div class="appl"><?php if(!empty($_G['setting']['pluginhooks']['global_userabout_top'][$_G['basescript'].'::'.CURMODULE])) echo $_G['setting']['pluginhooks']['global_userabout_top'][$_G['basescript'].'::'.CURMODULE];?><?php getuserapp(1);?><ul><?php if(is_array($_G['setting']['spacenavs'])) foreach($_G['setting']['spacenavs'] as $nav) { if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { if(in_array($nav['code'], array('userpanelarea1', 'userpanelarea2'))) { if(!empty($_G['my_panelapp']) && $_G['setting']['my_app_status']) { if($nav['code']=='userpanelarea1' && !empty($_G['my_panelapp']['1'])) { if(is_array($_G['my_panelapp']['1'])) foreach($_G['my_panelapp']['1'] as $appid => $app) { ?><li>
-<a href="userapp.php?mod=app&amp;id=<?php echo $app['appid'];?>" title="<?php echo $app['appname'];?>"><img <?php if($app['icon']) { ?>src="<?php echo $app['icon'];?>" onerror="this.onerror=null;this.src='http://appicon.manyou.com/icons/<?php echo $app['appid'];?>'"<?php } else { ?> src="http://appicon.manyou.com/icons/<?php echo $app['appid'];?>"<?php } ?> name="<?php echo $appid;?>" alt="<?php echo $app['appname'];?>" /><?php echo $app['appname'];?></a>
-</li>
-<?php } } elseif($nav['code']=='userpanelarea2' && !empty($_G['my_panelapp']['2'])) { if(is_array($_G['my_panelapp']['2'])) foreach($_G['my_panelapp']['2'] as $appid => $app) { ?><li>
-<a href="userapp.php?mod=app&amp;id=<?php echo $app['appid'];?>" title="<?php echo $app['appname'];?>"><img <?php if($app['icon']) { ?>src="<?php echo $app['icon'];?>" onerror="this.onerror=null;this.src='http://appicon.manyou.com/icons/<?php echo $app['appid'];?>'"<?php } else { ?> src="http://appicon.manyou.com/icons/<?php echo $app['appid'];?>"<?php } ?> name="<?php echo $appid;?>" alt="<?php echo $app['appname'];?>" /><?php echo $app['appname'];?></a>
-</li>
-<?php } } } } else { ?>
-<?php echo $nav['code'];?>
-<?php } } } ?>
-</ul>
-<?php if($_G['setting']['my_app_status']) { if(!empty($_G['cache']['userapp'])) { ?>
-<ul id="my_defaultapp"><?php if(is_array($_G['cache']['userapp'])) foreach($_G['cache']['userapp'] as $value) { ?><li><a href="userapp.php?mod=app&amp;id=<?php echo $value['appid'];?>" title="<?php echo $value['appname'];?>"><img <?php if($value['icon']) { ?>src="<?php echo $value['icon'];?>" onerror="this.onerror=null;this.src='http://appicon.manyou.com/icons/<?php echo $value['appid'];?>'"<?php } else { ?> src="http://appicon.manyou.com/icons/<?php echo $value['appid'];?>"<?php } ?> alt="<?php echo $value['appname'];?>" /><?php echo $value['appname'];?></a></li>
-<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['userapp_menu_top'])) echo $_G['setting']['pluginhooks']['userapp_menu_top'];?>
-</ul>
-<?php } if($_G['my_menu']) { ?>
-<ul id="my_userapp"><?php if(is_array($_G['my_menu'])) foreach($_G['my_menu'] as $value) { ?><li id="userapp_li_<?php echo $value['appid'];?>"><a href="userapp.php?mod=app&amp;id=<?php echo $value['appid'];?>" title="<?php echo $value['appname'];?>"><img <?php if($value['icon']) { ?>src="<?php echo $value['icon'];?>" onerror="this.onerror=null;this.src='http://appicon.manyou.com/icons/<?php echo $value['appid'];?>'"<?php } else { ?> src="http://appicon.manyou.com/icons/<?php echo $value['appid'];?>"<?php } ?> alt="<?php echo $value['appname'];?>" /><?php echo $value['appname'];?></a></li>
-<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['userapp_menu_middle'])) echo $_G['setting']['pluginhooks']['userapp_menu_middle'];?>
-</ul>
-<?php } if($_G['my_menu_more']) { ?>
-<p class="pbm bbda xg1 cl"><a href="javascript:;" class="unfold" id="a_app_more" onclick="userapp_open();">展开</a></p>
-<?php } if(checkperm('allowmyop')) { ?>
-<ul class="myo mtm">
-<li><a href="userapp.php?mod=manage&amp;my_suffix=%2Fapp%2Flist%3Fsort%3Dtime"><img src="<?php echo IMGDIR;?>/app_add.gif" alt="app_add" />添加<?php echo $_G['setting']['navs']['5']['navname'];?></a></li>
-<li><a href="userapp.php?mod=manage&amp;ac=menu"><img src="<?php echo IMGDIR;?>/app_set.gif" alt="app_set" />管理<?php echo $_G['setting']['navs']['5']['navname'];?></a></li>
-</ul>
-<?php } } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['global_userabout_bottom'][$_G['basescript'].'::'.CURMODULE])) echo $_G['setting']['pluginhooks']['global_userabout_bottom'][$_G['basescript'].'::'.CURMODULE];?></div>
-<div class="mn pbw">
-<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
-<div class="bm bw0">
-<ul class="tb cl">
-<li<?php echo $actives['we'];?>><a href="home.php?mod=space&amp;do=thread&amp;view=we">好友的帖子</a></li>
-<li<?php echo $actives['me'];?>><a href="home.php?mod=space&amp;do=thread&amp;view=me">我的帖子</a></li>
-</ul>
-</div>
-<?php } else { ?>
-<div class="appl">
-<div class="tbn">
-<h2 class="mt bbda">帖子</h2>
-<ul>
-<li<?php echo $actives['we'];?>><a href="home.php?mod=space&amp;do=thread&amp;view=we">好友的帖子</a></li>
-<li<?php echo $actives['me'];?>><a href="home.php?mod=space&amp;do=thread&amp;view=me">我的帖子</a></li>
-</ul>
-</div>
-</div>
-<div class="mn pbw">
-<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
-<?php } } if(!$diymode && $space['self']) { if($_GET['view'] == 'me') { ?>
-<p class="tbmu bw0">
-<?php if($viewtype != 'postcomment') { ?>
-<span class="y">
-<a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=thread&amp;view=me&amp;type=<?php echo $viewtype;?>&amp;from=<?php echo $_GET['from'];?>&amp;filter=" <?php if(!$_GET['filter']) { ?>class="a"<?php } ?>>全部</a><?php if(is_array($filter)) foreach($filter as $key => $name) { ?><span class="pipe">|</span><a href="home.php?mod=space&amp;do=thread&amp;view=me&amp;type=<?php echo $viewtype;?>&amp;from=<?php echo $_GET['from'];?>&amp;filter=<?php echo $key;?>" <?php if($key == $_GET['filter']) { ?>class="a"<?php } ?>><?php echo $name;?></a><?php } ?> &nbsp;
-<select name="forumlist" id="forumlist" class="ps vm" onchange="viewforumthread(this.value);" style="width: 120px; word-wrap: normal;">
-<option value="0">选择版块</option>
-<?php echo $forumlist;?>
-</select>
-</span>
-<?php } ?>
-<a href="home.php?mod=space&amp;do=thread&amp;view=me&amp;type=thread" <?php echo $orderactives['thread'];?>>主题</a><span class="pipe">|</span>
-<a href="home.php?mod=space&amp;do=thread&amp;view=me&amp;type=reply" <?php echo $orderactives['reply'];?>>回复</a><span class="pipe">|</span>
-<a href="home.php?mod=space&amp;do=thread&amp;view=me&amp;type=postcomment" <?php echo $orderactives['postcomment'];?>>点评</a>
-<?php if($viewtype != 'reply' && $viewtype != 'postcomment') { ?>&nbsp; <input type="text" id="searchmypost" class="px vm" size="15" /> <button class="pn vm" onclick="searchpostbyusername($('searchmypost').value, '<?php echo $_G['username'];?>');"><em>搜索</em></button><?php } ?>
-</p>
-<?php } elseif($_GET['view'] == 'all') { ?>
-<p class="tbmu bw0">
-<a href="home.php?mod=space&amp;do=thread&amp;view=all&amp;order=dateline" <?php echo $orderactives['dateline'];?>>最新帖子</a><span class="pipe">|</span>
-<a href="home.php?mod=space&amp;do=thread&amp;view=all&amp;order=hot" <?php echo $orderactives['hot'];?>>热门帖子</a>
-</p>
-<?php } } if($diymode && !$_G['setting']['homepagestyle'] ) { ?>
-<p class="tbmu">
-<a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=thread&amp;view=me&amp;from=space&amp;type=thread" <?php echo $orderactives['thread'];?>>主题</a>
-<span class="pipe">|</span>
-<a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=thread&amp;view=me&amp;from=space&amp;type=reply" <?php echo $orderactives['reply'];?>>回复</a>
-</p>
-<?php } if($userlist) { ?>
-<p class="tbmu bw0">
-按好友查看
-<select name="fuidsel" onchange="fuidgoto(this.value);" class="ps">
-<option value="">全部好友</option><?php if(is_array($userlist)) foreach($userlist as $value) { ?><option value="<?php echo $value['fuid'];?>"<?php echo $fuid_actives[$value['fuid']];?>><?php echo $value['fusername'];?></option>
-<?php } ?>
-</select>
-</p>
-<?php } ?>
-<div class="tl">
-<form method="post" autocomplete="off" name="delform" id="delform" action="home.php?mod=space&amp;do=thread&amp;view=all&amp;order=dateline" onsubmit="showDialog('确定要删除选中的主题吗?', 'confirm', '', '$(\'delform\').submit();'); return false;">
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<input type="hidden" name="delthread" value="true" />
-
-<table cellspacing="0" cellpadding="0">
-<tr class="th">
-<td class="icn">&nbsp;</td>
-<?php if($_GET['view'] == 'all' && $pruneperm && !$_GET['archiveid']) { ?>
-<td class="o">&nbsp;</td>
-<?php } ?>
-<th><?php if($viewtype == 'reply' || $viewtype == 'postcomment') { ?>帖子<?php } else { ?>主题<?php } ?></th>
-<td class="frm">版块<?php if($actives['me'] && $space['uid'] == $_G['uid']) { ?>/群组<?php } ?></td>
-<?php if($viewtype != 'postcomment') { if(!$actives['me']) { ?>
-<td class="by">作者</td>
-<?php } ?>
-<td class="num">回复/查看</td>
-<?php if($actives['me']) { ?>
-<td class="by"><cite>最后发帖</cite></td>
-<?php } } ?>
-</tr>
-
-<?php if($list) { if(is_array($list)) foreach($list as $stid => $thread) { ?><tr<?php if($actives['me'] && $viewtype=='reply' || $viewtype=='postcomment') { ?> class="bw0_all"<?php } ?>>
-<td class="icn">
-<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;highlight=<?php echo $index['keywords'];?>" title="新窗口打开" target="_blank">
-<?php if($thread['folder'] == 'lock') { ?>
-<img src="<?php echo IMGDIR;?>/folder_lock.gif" />
-<?php } elseif($thread['special'] == 1) { ?>
-<img src="<?php echo IMGDIR;?>/pollsmall.gif" alt="投票" />
-<?php } elseif($thread['special'] == 2) { ?>
-<img src="<?php echo IMGDIR;?>/tradesmall.gif" alt="商品" />
-<?php } elseif($thread['special'] == 3) { ?>
-<img src="<?php echo IMGDIR;?>/rewardsmall.gif" alt="悬赏" />
-<?php } elseif($thread['special'] == 4) { ?>
-<img src="<?php echo IMGDIR;?>/activitysmall.gif" alt="活动" />
-<?php } elseif($thread['special'] == 5) { ?>
-<img src="<?php echo IMGDIR;?>/debatesmall.gif" alt="辩论" />
-<?php } elseif(in_array($thread['displayorder'], array(1, 2, 3, 4))) { ?>
-<img src="<?php echo IMGDIR;?>/pin_<?php echo $thread['displayorder'];?>.gif" alt="<?php echo $_G['setting']['threadsticky'][3-$thread['displayorder']];?>" />
-<?php } else { ?>
-<img src="<?php echo IMGDIR;?>/folder_<?php echo $thread['folder'];?>.gif" />
-<?php } ?>
-</a>
-</td>
-<?php if($_GET['view'] == 'all' && $pruneperm && !$_GET['archiveid']) { ?>
-<td class="o">
-<?php if($thread['digest'] == 0) { if($thread['displayorder'] == 0) { ?>
-<input type="checkbox" name="moderate[]" value="<?php echo $thread['tid'];?>" class="pc" />
-<?php } else { ?>
-<input type="checkbox" class="pc" disabled="disabled" />
-<?php } } else { ?>
-<input type="checkbox" class="pc" disabled="disabled" />
-<?php } ?>
-</td>
-<?php } ?>
-<th>
-<?php if($viewtype == 'reply' || $viewtype == 'postcomment') { ?>
-<a href="forum.php?mod=redirect&amp;goto=findpost&amp;ptid=<?php echo $thread['tid'];?>&amp;pid=<?php echo $thread['pid'];?>" target="_blank"><?php echo $thread['subject'];?></a>
-<?php } else { ?>
-<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>" target="_blank" <?php if($thread['displayorder'] == -1) { ?>class="recy"<?php } ?>><?php echo $thread['subject'];?></a>
-<?php } if($thread['digest'] > 0) { ?>
-<img src="<?php echo IMGDIR;?>/digest_<?php echo $thread['digest'];?>.gif" alt="精华 <?php echo $thread['digest'];?>" align="absmiddle" />
-<?php } if($thread['attachment'] == 2) { ?>
-<img src="<?php echo STATICURL;?>image/filetype/image_s.gif" alt="图片附件" align="absmiddle" />
-<?php } elseif($thread['attachment'] == 1) { ?>
-<img src="<?php echo STATICURL;?>image/filetype/common.gif" alt="附件" align="absmiddle" />
-<?php } if($thread['multipage']) { ?><span class="tps"><?php echo $thread['multipage'];?></span><?php } if(!$_GET['filter']) { if($thread[$statusfield] == -1) { ?><span class="xg1"><?php echo $filter['recyclebin'];?></span>
-<?php } elseif($thread[$statusfield] == -2) { ?><span class="xg1"><?php echo $filter['aduit'];?></span>
-<?php } elseif($thread[$statusfield] == -3 && $thread['displayorder'] != -4) { ?><span class="xg1"><?php echo $filter['ignored'];?></span>
-<?php } elseif($thread['displayorder'] == -4) { ?><span class="xg1"><?php echo $filter['save'];?></span>
-<?php } elseif($thread['closed'] == 1) { ?><span class="xg1"><?php echo $filter['close'];?></span>
-<?php } } ?>
-</th>
-<td>
-<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $thread['fid'];?>" class="xg1" target="_blank"><?php echo $forums[$thread['fid']];?></a>
-</td>
-<?php if($viewtype != 'postcomment') { if(!$actives['me']) { ?>
-<td>
-<cite><a href="home.php?mod=space&amp;uid=<?php echo $thread['authorid'];?>" target="_blank"><?php echo $thread['author'];?></a></cite>
-<em><?php echo $thread['dateline'];?></em>
-</td>
-<?php } ?>
-
-<td class="num">
-<a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>" class="xi2" target="_blank"><?php echo $thread['replies'];?></a>
-<em><?php echo $thread['views'];?></em>
-</td>
-
-<?php if($actives['me']) { ?>
-<td class="by">
-<cite><a href="home.php?mod=space&amp;username=<?php echo $thread['lastposterenc'];?>" target="_blank"><?php echo $thread['lastposter'];?></a></cite>
-<em><a href="forum.php?mod=redirect&amp;tid=<?php echo $thread['tid'];?>&amp;goto=lastpost#lastpost" target="_blank"><?php echo $thread['lastpost'];?></a></em>
-</td>
-<?php } } ?>
-</tr>
-<?php if($actives['me'] && $viewtype=='reply') { if(is_array($tids[$stid])) foreach($tids[$stid] as $pid) { $post = $posts[$pid];?><tr>
-<td colspan="5" class="xg1">&nbsp;<img src="<?php echo IMGDIR;?>/icon_quote_m_s.gif" style="vertical-align:middle;" /> <a href="forum.php?mod=redirect&amp;goto=findpost&amp;ptid=<?php echo $thread['tid'];?>&amp;pid=<?php echo $pid;?>" target="_blank"><?php if($post['message']) { ?><?php echo $post['message'];?><?php } else { ?>......<?php } ?></a> <img src="<?php echo IMGDIR;?>/icon_quote_m_e.gif" style="vertical-align:middle;" /></td>
-</tr>
-<?php } } if($actives['me'] && $viewtype=='postcomment') { ?>
-<tr>
-<td class="icn">&nbsp;</td>
-<td colspan="2" class="xg1"><?php echo $thread['comment'];?></td>
-</tr>
-<?php } } } else { ?>
-<tr>
-<td colspan="<?php if($viewtype != 'postcomment') { if(($_GET['view'] == 'all' && $pruneperm && !$_GET['archiveid'])) { ?>6<?php } else { ?>5<?php } } else { ?>3<?php } ?>"><p class="emp">还没有相关的帖子</p></td>
-</tr>
-<?php } ?>
-</table>
-
-<?php if($_GET['view'] == 'all' && $pruneperm && !$_GET['archiveid'] && $list) { ?>
-<p class="mtm pns">
-<label for="chkall" onclick="checkall(this.form, 'moderate')"><input type="checkbox" name="chkall" id="chkall" class="pc vm" />全选</label>
-<button type="submit" name="delsubmit" value="true" class="pn vm"><em>删除选中主题</em></button>
-</p>
-<?php } ?>
-</form>
-
-<?php if($hiddennum) { ?>
-<p class="mtm">本页有 <?php echo $hiddennum;?> 篇帖子因隐私问题而隐藏</p>
-<?php } ?>
-</div>
-<?php if($multi) { ?><div class="pgs cl mtm"><?php echo $multi;?></div><?php } ?>		
-
-<script type="text/javascript">
-function fuidgoto(fuid) {
-window.location.href = 'home.php?mod=space&do=thread&view=we&fuid='+fuid;
-}
-function viewforumthread(fid) {
-window.location.href = '<?php echo $forumurl;?>&fid='+fid;
-}
-</script>
-
-<?php if(!$_G['setting']['homepagestyle']) { ?><!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]--><?php } if($diymode) { ?>
-</div>
-</div>
-<?php if($_G['setting']['homepagestyle']) { ?>
-</div>
-<div class="sd"><div id="pcd" class="bm cl"><?php $encodeusername = rawurlencode($space[username]);?><div class="bm_c">
-<div class="hm">
-<p><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>" class="avtm"><?php echo avatar($space[uid],middle);?></a></p>
-<h2 class="xs2"><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>"><?php echo $space['username'];?></a></h2>
-</div>
-<ul class="xl xl2 cl ul_list">
-<?php if($space['self']) { if($_G['setting']['homepagestyle']) { ?>
-<li class="ul_diy"><a href="home.php?mod=space&amp;do=index&amp;diy=yes">装扮空间</a></li>
-<?php } if(helper_access::check_module('wall')) { ?>
-<li class="ul_msg"><a href="home.php?mod=space&amp;do=wall">查看留言</a></li>
-<?php } ?>
-<li class="ul_avt"><a href="home.php?mod=spacecp&amp;ac=avatar">编辑头像</a></li>
-<li class="ul_profile"><a href="home.php?mod=spacecp&amp;ac=profile">更新资料</a></li>
-<?php } else { if(helper_access::check_module('follow')) { ?>
-<li class="ul_broadcast"><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>">查看广播</a></li>
-<?php } if(helper_access::check_module('follow') && $space['uid'] != $_G['uid']) { ?>
-<li class="ul_flw"><?php $follow = 0;?><?php $follow = C::t('home_follow')->fetch_all_by_uid_followuid($_G['uid'], $space['uid']);?><?php if(!$follow) { ?>
-<a id="followmod" onclick="showWindow(this.id, this.href, 'get', 0);" href="home.php?mod=spacecp&amp;ac=follow&amp;op=add&amp;hash=<?php echo FORMHASH;?>&amp;fuid=<?php echo $space['uid'];?>">收听TA</a>
-<?php } else { ?>
-<a id="followmod" onclick="showWindow(this.id, this.href, 'get', 0);" href="home.php?mod=spacecp&amp;ac=follow&amp;op=del&amp;fuid=<?php echo $space['uid'];?>">取消收听</a>
-<?php } ?>
-</li>
-<?php } require_once libfile('function/friend');$isfriend=friend_check($space[uid]);?><?php if(!$isfriend) { ?>
-<li class="ul_add"><a href="home.php?mod=spacecp&amp;ac=friend&amp;op=add&amp;uid=<?php echo $space['uid'];?>&amp;handlekey=addfriendhk_<?php echo $space['uid'];?>" id="a_friend_li_<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">加为好友</a></li>
-<?php } else { ?>
-<li class="ul_ignore"><a href="home.php?mod=spacecp&amp;ac=friend&amp;op=ignore&amp;uid=<?php echo $space['uid'];?>&amp;handlekey=ignorefriendhk_<?php echo $space['uid'];?>" id="a_ignore_<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">解除好友</a></li>
-<?php } if(helper_access::check_module('wall')) { ?>
-<li class="ul_contect"><a href="home.php?mod=space&amp;uid=<?php echo $space['uid'];?>&amp;do=wall">给我留言</a></li>
-<?php } ?>
-<li class="ul_poke"><a href="home.php?mod=spacecp&amp;ac=poke&amp;op=send&amp;uid=<?php echo $space['uid'];?>&amp;handlekey=propokehk_<?php echo $space['uid'];?>" id="a_poke_<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">打个招呼</a></li>
-
-<li class="ul_pm"><a href="home.php?mod=spacecp&amp;ac=pm&amp;op=showmsg&amp;handlekey=showmsg_<?php echo $space['uid'];?>&amp;touid=<?php echo $space['uid'];?>&amp;pmid=0&amp;daterange=2" id="a_sendpm_<?php echo $space['uid'];?>" onclick="showWindow('showMsgBox', this.href, 'get', 0)">发送消息</a></li>
-<?php } ?>
-</ul>
-<?php if(checkperm('allowbanuser') || checkperm('allowedituser') || $_G['adminid'] == 1) { ?>
-<hr class="da mtn m0">
-<ul class="ptn xl xl2 cl">
-<?php if(checkperm('allowbanuser') || checkperm('allowedituser')) { ?>
-<li>
-<?php if(checkperm('allowbanuser')) { ?>
-<a href="<?php if($_G['adminid'] == 1) { ?>admin.php?action=members&operation=ban&username=<?php echo $encodeusername;?>&frames=yes<?php } else { ?>forum.php?mod=modcp&action=member&op=ban&uid=<?php echo $space['uid'];?><?php } ?>" id="usermanageli" onmouseover="showMenu(this.id)" class="showmenu" target="_blank">用户管理</a>
-<?php } else { ?>
-<a href="<?php if($_G['adminid'] == 1) { ?>admin.php?action=members&operation=search&username=<?php echo $encodeusername;?>&submit=yes&frames=yes<?php } else { ?>forum.php?mod=modcp&action=member&op=edit&uid=<?php echo $space['uid'];?><?php } ?>" id="usermanageli" onmouseover="showMenu(this.id)" class="showmenu" target="_blank">用户管理</a>
-<?php } ?>
-</li>
-<?php } if($_G['adminid'] == 1) { ?>
-<li><a href="forum.php?mod=modcp&amp;action=thread&amp;op=post&amp;do=search&amp;searchsubmit=1&amp;users=<?php echo $encodeusername;?>" id="umanageli" onmouseover="showMenu(this.id)" class="showmenu">内容管理</a></li>
-<?php } ?>
-</ul>
-<?php if(checkperm('allowbanuser') || checkperm('allowedituser')) { ?>
-<ul id="usermanageli_menu" class="p_pop" style="width: 80px; display:none;">
-<?php if(checkperm('allowbanuser')) { ?>
-<li><a href="<?php if($_G['adminid'] == 1) { ?>admin.php?action=members&operation=ban&username=<?php echo $encodeusername;?>&frames=yes<?php } else { ?>forum.php?mod=modcp&action=member&op=ban&uid=<?php echo $space['uid'];?><?php } ?>" target="_blank">禁止用户</a></li>
-<?php } if(checkperm('allowedituser')) { ?>
-<li><a href="<?php if($_G['adminid'] == 1) { ?>admin.php?action=members&operation=search&username=<?php echo $encodeusername;?>&submit=yes&frames=yes<?php } else { ?>forum.php?mod=modcp&action=member&op=edit&uid=<?php echo $space['uid'];?><?php } ?>" target="_blank">编辑用户</a></li>
-<?php } ?>
-</ul>
-<?php } if($_G['adminid'] == 1) { ?>
-<ul id="umanageli_menu" class="p_pop" style="width: 80px; display:none;">
-<li><a href="forum.php?mod=modcp&amp;action=thread&amp;op=post&amp;searchsubmit=1&amp;do=search&amp;users=<?php echo $encodeusername;?>" target="_blank">管理帖子</a></li>
-<?php if(helper_access::check_module('doing')) { ?>
-<li><a href="admin.php?action=doing&amp;searchsubmit=1&amp;detail=1&amp;search=true&amp;fromumanage=1&amp;users=<?php echo $encodeusername;?>" target="_blank">管理记录</a></li>
-<?php } if(helper_access::check_module('blog')) { ?>
-<li><a href="admin.php?action=blog&amp;searchsubmit=1&amp;detail=1&amp;search=true&amp;fromumanage=1&amp;uid=<?php echo $space['uid'];?>" target="_blank">管理日志</a></li>
-<?php } if(helper_access::check_module('feed')) { ?>
-<li><a href="admin.php?action=feed&amp;searchsubmit=1&amp;detail=1&amp;fromumanage=1&amp;uid=<?php echo $space['uid'];?>" target="_blank">管理动态</a></li>
-<?php } if(helper_access::check_module('album')) { ?>
-<li><a href="admin.php?action=album&amp;searchsubmit=1&amp;detail=1&amp;search=true&amp;fromumanage=1&amp;uid=<?php echo $space['uid'];?>" target="_blank">管理相册</a></li>
-<li><a href="admin.php?action=pic&amp;searchsubmit=1&amp;detail=1&amp;search=true&amp;fromumanage=1&amp;users=<?php echo $encodeusername;?>" target="_blank">管理图片</a></li>
-<?php } if(helper_access::check_module('wall')) { ?>
-<li><a href="admin.php?action=comment&amp;searchsubmit=1&amp;detail=1&amp;fromumanage=1&amp;authorid=<?php echo $space['uid'];?>" target="_blank">管理评论</a></li>
-<?php } if(helper_access::check_module('share')) { ?>
-<li><a href="admin.php?action=share&amp;searchsubmit=1&amp;detail=1&amp;search=true&amp;fromumanage=1&amp;uid=<?php echo $space['uid'];?>" target="_blank">管理分享</a></li>
-<?php } if(helper_access::check_module('group')) { ?>
-<li><a href="admin.php?action=threads&amp;operation=group&amp;searchsubmit=1&amp;detail=1&amp;search=true&amp;fromumanage=1&amp;users=<?php echo $encodeusername;?>" target="_blank">群组主题</a></li>
-<li><a href="admin.php?action=prune&amp;searchsubmit=1&amp;detail=1&amp;operation=group&amp;fromumanage=1&amp;users=<?php echo $encodeusername;?>" target="_blank">群组帖子</a></li>
-<?php } ?>
-</ul>
-<?php } } ?>
-</div>
-</div>
-</div>
-<script type="text/javascript">
-function succeedhandle_followmod(url, msg, values) {
-var fObj = $('followmod');
-if(values['type'] == 'add') {
-fObj.innerHTML = '取消收听';
-fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
-} else if(values['type'] == 'del') {
-fObj.innerHTML = '收听TA';
-fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash=<?php echo FORMHASH;?>&fuid='+values['fuid'];
-}
-}
-</script><?php } } ?>
-</div>
-</div>
-
-<?php if(!$_G['setting']['homepagestyle']) { ?>
-<div class="wp mtn">
-<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
-</div>
-<?php } include template('common/footer'); ?>

+ 2 - 2
data/template/3_diy_portal_view_19.tpl.php

xqd
@@ -1,7 +1,7 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('view_19');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_19.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1523428937, 'diy', './data/template/3_diy_portal_view_19.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_19')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_19.htm', './template/default/common/seccheck.htm', 1523428937, 'diy', './data/template/3_diy_portal_view_19.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_19')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_19.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1524117776, 'diy', './data/template/3_diy_portal_view_19.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_19')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_19.htm', './template/default/common/seccheck.htm', 1524117776, 'diy', './data/template/3_diy_portal_view_19.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_19')
 ;?><?php include template('common/header'); ?><script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script>
 <script type="text/javascript">zoomstatus = parseInt(<?php echo $_G['setting']['zoomstatus'];?>), imagemaxwidth = '<?php echo $_G['setting']['imagemaxwidth'];?>', aimgcount = new Array();</script>
 <?php if(!empty($_G['setting']['pluginhooks']['view_article_top'])) echo $_G['setting']['pluginhooks']['view_article_top'];?><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css"></style>

+ 2 - 2
data/template/3_diy_portal_view_2.tpl.php

xqd
@@ -1,7 +1,7 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('view_2');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_2.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1523446761, 'diy', './data/template/3_diy_portal_view_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_2')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_2.htm', './template/default/common/seccheck.htm', 1523446761, 'diy', './data/template/3_diy_portal_view_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_2.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1524471279, 'diy', './data/template/3_diy_portal_view_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_2')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_2.htm', './template/default/common/seccheck.htm', 1524471279, 'diy', './data/template/3_diy_portal_view_2.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_2')
 ;?><?php include template('common/header'); ?><script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script>
 <script type="text/javascript">zoomstatus = parseInt(<?php echo $_G['setting']['zoomstatus'];?>), imagemaxwidth = '<?php echo $_G['setting']['imagemaxwidth'];?>', aimgcount = new Array();</script>
 <?php if(!empty($_G['setting']['pluginhooks']['view_article_top'])) echo $_G['setting']['pluginhooks']['view_article_top'];?><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css"></style>

+ 2 - 2
data/template/3_diy_portal_view_20.tpl.php

xqd
@@ -1,7 +1,7 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('view_20');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_20.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1523428933, 'diy', './data/template/3_diy_portal_view_20.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_20')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_20.htm', './template/default/common/seccheck.htm', 1523428933, 'diy', './data/template/3_diy_portal_view_20.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_20')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_20.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1524113735, 'diy', './data/template/3_diy_portal_view_20.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_20')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_20.htm', './template/default/common/seccheck.htm', 1524113735, 'diy', './data/template/3_diy_portal_view_20.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_20')
 ;?><?php include template('common/header'); ?><script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script>
 <script type="text/javascript">zoomstatus = parseInt(<?php echo $_G['setting']['zoomstatus'];?>), imagemaxwidth = '<?php echo $_G['setting']['imagemaxwidth'];?>', aimgcount = new Array();</script>
 <?php if(!empty($_G['setting']['pluginhooks']['view_article_top'])) echo $_G['setting']['pluginhooks']['view_article_top'];?><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css"></style>

+ 2 - 2
data/template/3_diy_portal_view_21.tpl.php

xqd
@@ -1,7 +1,7 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('view_21');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_21.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1523452103, 'diy', './data/template/3_diy_portal_view_21.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_21')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_21.htm', './template/default/common/seccheck.htm', 1523452103, 'diy', './data/template/3_diy_portal_view_21.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_21')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_21.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1524109216, 'diy', './data/template/3_diy_portal_view_21.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_21')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_21.htm', './template/default/common/seccheck.htm', 1524109216, 'diy', './data/template/3_diy_portal_view_21.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_21')
 ;?><?php include template('common/header'); ?><script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script>
 <script type="text/javascript">zoomstatus = parseInt(<?php echo $_G['setting']['zoomstatus'];?>), imagemaxwidth = '<?php echo $_G['setting']['imagemaxwidth'];?>', aimgcount = new Array();</script>
 <?php if(!empty($_G['setting']['pluginhooks']['view_article_top'])) echo $_G['setting']['pluginhooks']['view_article_top'];?><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css"></style>

+ 2 - 2
data/template/3_diy_portal_view_22.tpl.php

xqd
@@ -1,7 +1,7 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('view_22');
 0
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_22.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1523452082, 'diy', './data/template/3_diy_portal_view_22.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_22')
-|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_22.htm', './template/default/common/seccheck.htm', 1523452082, 'diy', './data/template/3_diy_portal_view_22.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_22')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_22.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1524177326, 'diy', './data/template/3_diy_portal_view_22.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_22')
+|| checktplrefresh('data/diy/./template/wfdsoft_jiaohu//portal/view_22.htm', './template/default/common/seccheck.htm', 1524177326, 'diy', './data/template/3_diy_portal_view_22.tpl.php', 'data/diy/./template/wfdsoft_jiaohu/', 'portal/view_22')
 ;?><?php include template('common/header'); ?><script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script>
 <script type="text/javascript">zoomstatus = parseInt(<?php echo $_G['setting']['zoomstatus'];?>), imagemaxwidth = '<?php echo $_G['setting']['imagemaxwidth'];?>', aimgcount = new Array();</script>
 <?php if(!empty($_G['setting']['pluginhooks']['view_article_top'])) echo $_G['setting']['pluginhooks']['view_article_top'];?><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css"></style>

+ 2 - 2
data/template/3_diy_portal_view_week_jiaohu_news_wide.tpl.php

xqd
@@ -1,7 +1,7 @@
 <?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('view_week_jiaohu_news_wide');
 0
-|| checktplrefresh('./template/wfdsoft_jiaohu/portal/view_week_jiaohu_news_wide.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1523429591, 'diy', './data/template/3_diy_portal_view_week_jiaohu_news_wide.tpl.php', './template/wfdsoft_jiaohu', 'portal/view_week_jiaohu_news_wide')
-|| checktplrefresh('./template/wfdsoft_jiaohu/portal/view_week_jiaohu_news_wide.htm', './template/default/common/seccheck.htm', 1523429591, 'diy', './data/template/3_diy_portal_view_week_jiaohu_news_wide.tpl.php', './template/wfdsoft_jiaohu', 'portal/view_week_jiaohu_news_wide')
+|| checktplrefresh('./template/wfdsoft_jiaohu/portal/view_week_jiaohu_news_wide.htm', './template/wfdsoft_jiaohu/portal/portal_comment.htm', 1524103032, 'diy', './data/template/3_diy_portal_view_week_jiaohu_news_wide.tpl.php', './template/wfdsoft_jiaohu', 'portal/view_week_jiaohu_news_wide')
+|| checktplrefresh('./template/wfdsoft_jiaohu/portal/view_week_jiaohu_news_wide.htm', './template/default/common/seccheck.htm', 1524103032, 'diy', './data/template/3_diy_portal_view_week_jiaohu_news_wide.tpl.php', './template/wfdsoft_jiaohu', 'portal/view_week_jiaohu_news_wide')
 ;?><?php include template('common/header'); ?><!--[name]<?php echo Week_Design_view_news_wide;?>[/name]-->
 
 <script src="<?php echo $_G['setting']['jspath'];?>forum_viewthread.js?<?php echo VERHASH;?>" type="text/javascript"></script>

+ 161 - 0
data/template/3_xj_event_center.tpl.php

xqd
@@ -0,0 +1,161 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('center');?><?php include template('common/header'); ?><style>
+.xj_hll{color:<?php echo $_G['style']['highlightlink'];?>;}
+.xj_h{color:#858585;}
+a.xj_btn{ display:inline-block; padding-top:4px; text-align:center; height:28px; width:170px;background:url(source/plugin/xj_event/images/btnbg.png) no-repeat; text-decoration:none; font-size:14px; font-weight:bold; font-family: '寰�蒋闆呴粦';}
+a:hover.xj_btn{ display:inline-block; padding-top:4px; text-align:center; height:28px; width:170px;background:url(source/plugin/xj_event/images/btnbg.png) no-repeat; text-decoration:none; font-size:14px; font-weight:bold; font-family: '寰�蒋闆呴粦';}
+.xjmenu {
+height:32px;
+}
+.xjmenu_a {
+width:80px;
+line-height:32px;
+float:left;
+height:32px;
+text-align:center;
+border-top:#cdcdcd 1px solid;
+border-left:#cdcdcd 1px solid;
+border-right:#cdcdcd 1px solid;
+border-bottom:#ffffff 1px solid;
+margin-left:10px;
+font-weight:bold;
+cursor:pointer;
+background-color:#FFFFFF;
+margin-top:-1px;
+color:<?php echo $_G['style']['highlightlink'];?>;
+}
+.xjmenu_b {
+width:80px;
+line-height:32px;
+float:left;
+height:32px;
+text-align:center;
+margin-left:10px;
+cursor:pointer;
+background-color:#efefef;
+border:#cdcdcd 1px solid;
+margin-top:-1px;
+}
+.xjmain {
+border-top:#cdcdcd 1px solid;
+padding:15px 0px;
+margin-bottom:10px;
+}
+a.eventmenu {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#777777;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+}
+a:hover.eventmenu {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#ffffff;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+background-color:#aaaaaa;
+}
+a.eventmenu_select {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#ffffff;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+background-color:#aaaaaa;
+}
+.xjevent{ float:left; width:245px; margin:5px 5px;}
+.xjevent b a{ font-size:14px; font-family: "寰�蒋闆呴粦";color:<?php echo $_G['style']['highlightlink'];?>;}
+</style>
+<div id="ct" class="wp cl" style="margin:10px 0px;">
+    <div style=" width:200px; float:left; border:1px solid #d7d7d7; background:#f8f8f8;">
+        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; "><a href="plugin.php?id=xj_event:event_list&amp;pc=1" style="font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';" class="xj_hll">绾夸笅娲诲姩[<?php echo $xxnum;?>]</a></div>
+        <?php if(is_array($offlineclass)) foreach($offlineclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;pc=1&amp;offlineclass=<?php echo $value['0'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
+        <?php } ?>
+        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; "><a href="plugin.php?id=xj_event:event_list&amp;pc=2" style="font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';" class="xj_hll">绾夸笂娲诲姩[<?php echo $xsnum;?>]</a></div>
+        <?php if(is_array($onlineclass)) foreach($onlineclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;pc=2&amp;onlineclass=<?php echo $value['0'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
+        <?php } ?>
+        
+        
+        <?php if(!$_G['cache']['plugin']['xj_event']['event_city']) { ?>
+        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';color:<?php echo $_G['style']['highlightlink'];?>;">娲诲姩鍦板尯</div>
+        <?php if(is_array($cityclass)) foreach($cityclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;city=<?php echo $value['1'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
+        <?php } ?>
+        <?php } else { ?>
+        <div style=" line-height:32px; margin:10px 8px 10px 8px; font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';color:<?php echo $_G['style']['highlightlink'];?>;"><a href="javascript:" style="font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';" class="xj_hll" onclick="showWindow('city', 'plugin.php?id=xj_event:city')">娲诲姩鍦板尯 +</a></div>
+<script language="javascript">
+document.onclick = function() {//点击空白文档隐藏
+hideWindow('city');
+};
+</script>
+        
+        <?php } ?>
+        
+        
+        <div style="clear:both; margin-top:20px;"></div>
+    </div>
+    <div style=" width:230px; float:right; height:500px; border-left:1px dotted #d7d7d7;">
+    	<div style="margin:0px 8px; text-align:center; margin-top:15px;">
+        	<a href="plugin.php?id=xj_event:event_post&amp;postclass=1" class="xj_btn xj_hll">鍙戝竷绾夸笅娲诲姩</a>
+            <div style="text-align:left; font-size:12px; margin:8px 8px; color:#858585;">鍘绘媿鎽勩€佸幓鏃呮父銆佸幓鑱氶�銆佸幓K姝岋紝鎰熷彈鐢熸椿涓�殑浜旈�鍏�壊锛岃仈绯昏€佹湅鍙嬶紝缁撲氦鏂版湅鍙嬨€�</div>
+
+            <a href="plugin.php?id=xj_event:event_post&amp;postclass=2" class="xj_btn xj_hll">鍙戝竷绾夸笂娲诲姩</a>
+            <div style="text-align:left; font-size:12px; color:#858585; margin:8px 8px;">鍙戣捣鏈€鏈夊垱鎰忕殑缃戠粶璇濋�锛屾檼缇庡浘 鏅掗浄鐓� 鏅掑嚭鍚勮壊鎷嶆憚鍒涙剰锛屽ぇ瀹朵竴璧锋潵鍒嗕韩 鐢熸椿涓�殑鐐规淮锛屾潵姝ゅ�鎵惧崈閲屼箣澶栫殑鍏遍福鑰�</div>
+
+        </div>
+    </div>
+    <div style=" width: auto; float: none; margin:0px 240px 0px 210px;">
+    	<div style="padding-top:15px;">
+            <ul class="xjmenu">
+              <li class="xjmenu_a" onclick="remenu(1)" id="xjmenu1">鎵€鏈夌被鍨�</li>
+              <li class="xjmenu_b" onclick="remenu(2)" id="xjmenu2">瀹樻柟璁よ瘉</li>
+              <li class="xjmenu_b" onclick="remenu(3)" id="xjmenu3">绾夸笅娲诲姩</li>
+              <li class="xjmenu_b" onclick="remenu(4)" id="xjmenu4">绾夸笂娲诲姩</li>
+            </ul>
+<div class="xjmain" id="event1">
+            </div>
+        </div>
+    </div>
+</div>
+<script type="text/javascript">
+function remenu(a){
+for(i=1;i<=4;i++){
+if(i==a){
+//$('event'+i).style.display="block";
+$('xjmenu'+i).className='xjmenu_a';
+//document.getElementById('xjmenu'+i).className='xjmenu_a'; 
+//document.getElementById('postclass').value=i;
+}else{
+//$('event'+i).style.display="none";
+$('xjmenu'+i).className='xjmenu_b';
+//document.getElementById('xjmenu'+i).className='xjmenu_b';
+}
+}
+
+if(a == 1){
+ajaxget('plugin.php?id=xj_event:event_center_top&action=all&choose=new','event1','','','','');
+}
+if(a == 2){
+ajaxget('plugin.php?id=xj_event:event_center_top&action=official&choose=new','event1','','','','');
+}
+if(a == 3){
+ajaxget('plugin.php?id=xj_event:event_center_top&action=offline&choose=new','event1','','','','');
+}
+if(a == 4){
+ajaxget('plugin.php?id=xj_event:event_center_top&action=online&choose=new','event1','','','','');
+}
+
+
+
+
+/*
+if(a == 3){
+ajaxget('plugin.php?id=xj_event:event_userlist&tid=<?php echo $_GET['tid'];?>','event3_content','','','','');
+$('userlistmenu1').className='eventmenu_select';
+}
+*/
+}
+ajaxget('plugin.php?id=xj_event:event_center_top&action=all&choose=new','event1','','','','');
+</script><?php include template('common/footer'); ?>

+ 35 - 0
data/template/3_xj_event_center_top.tpl.php

xqd
@@ -0,0 +1,35 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('center_top');?><?php include template('common/header'); ?><div>
+    <div style="color:#858585; border-bottom:1px dashed #cccccc; padding-bottom:8px; padding-left:8px; margin-bottom:10px;">
+    快捷选择:<a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:event_center_top&action=<?php echo $_GET['action'];?>&choose=new','event1','','','','');" class="<?php if($_GET['choose']=='new') { ?>eventmenu_select<?php } else { ?>eventmenu<?php } ?>" id="userlistmenu1">最新</a> | <a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:event_center_top&action=<?php echo $_GET['action'];?>&choose=today','event1','','','','');" class="<?php if($_GET['choose']=='today') { ?>eventmenu_select<?php } else { ?>eventmenu<?php } ?>" id="userlistmenu2">今日</a> | <a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:event_center_top&action=<?php echo $_GET['action'];?>&choose=soon','event1','','','','');" class="<?php if($_GET['choose']=='soon') { ?>eventmenu_select<?php } else { ?>eventmenu<?php } ?>" id="userlistmenu3">未来</a>
+    </div>
+    <?php if(is_array($toplist)) foreach($toplist as $key => $value) { ?>    <div class="xjevent">
+        <div style="height:32px;"><b class="xj_hll"><a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>" target="_blank"><?php echo $value['subject'];?></a></b></div>
+        <div style="height:95px; margin-top:8px;">
+            <a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>" target="_blank"><img src="<?php if($value['activityaid_url']) { ?><?php echo $value['activityaid_url'];?><?php } else { ?>source/plugin/xj_event/images/nopic.jpg<?php } ?>" width="145" height="93" style="float:left; margin-right:8px;" border="0"/></a>
+            <?php if($value['postclass'] == 1) { ?>
+            	<img src="source/plugin/xj_event/images/img_ico02.png" <?php if(strpos($_SERVER['HTTP_USER_AGENT'],'Maxthon')) { ?>style="position:absolute; margin-top:46px; margin-left:-154px;"<?php } else { ?>style="position:absolute; margin-top:46px; margin-left:-194px;"<?php } ?> />
+            <?php } elseif($value['postclass'] == 2) { ?>
+            	<img src="source/plugin/xj_event/images/img_ico01.png" <?php if(strpos($_SERVER['HTTP_USER_AGENT'],'Maxthon')) { ?>style="position:absolute; margin-top:46px; margin-left:-154px;"<?php } else { ?>style="position:absolute; margin-top:46px; margin-left:-194px;"<?php } ?> />
+            <?php } ?>
+            
+            <?php if($value['starttime']<$nowtime && $value['endtime']>$nowtime) { ?>
+            	<img src="source/plugin/xj_event/images/hd_ico1.png" style="float:left;" />
+            <?php } elseif($value['starttime']>$nowtime) { ?>
+                <img src="source/plugin/xj_event/images/hd_ico2.png" style="float:left;" />
+            <?php } elseif($value['endtime']<$nowtime) { ?>
+                <img src="source/plugin/xj_event/images/hd_ico3.png" style="float:left;" />
+            <?php } ?><br />
+            <span>报名:<?php echo $value['applynumber'];?>/<?php if($value['event_number']>0) { ?><?php echo $value['event_number'];?>人<?php } else { ?>不限<?php } ?></span><br />
+            <?php if($value['use_cost']>0) { ?>
+            	<span>费用:<?php echo $value['use_cost'];?>元</span><br />
+            <?php } ?>
+            	<span>[<?php echo $value['citys'];?>]</span><br />
+            <?php if($value['verify']==1) { ?>
+            	<i style="display:inline-block; height:21px; width:40px; background-color:#00a7ff; color:#FFFFFF; font-size:14px; text-align:center;font-family: '微软雅黑';">官方</i>
+            <?php } ?>
+            
+            
+        </div>
+    </div>
+    <?php } ?>
+</div><?php include template('common/footer'); ?>

+ 22 - 0
data/template/3_xj_event_city.tpl.php

xqd
@@ -0,0 +1,22 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('city');?><?php include template('common/header'); ?><div id="citycontent">
+<div style="padding:15px; width:500px;">
+<ul>
+
+<?php if($upid) { ?>
+    <?php if(is_array($city)) foreach($city as $value) { ?>    	<?php if($_G['cache']['plugin']['xj_event']['event_centerstyle'] == 3) { ?>
+        	<li style="width:120px; line-height:20px; float:left;"><a href="plugin.php?id=xj_event:event_center&amp;city=<?php echo $value['name'];?>"><?php echo $value['name'];?></a></li>
+        <?php } elseif($_G['cache']['plugin']['xj_event']['event_centerstyle'] == 6) { ?>    
+            <li style="width:120px; line-height:20px; float:left;"><a href="javascript:" onclick="moreitems('',1,'','','','<?php echo $value['name'];?>','');"><?php echo $value['name'];?></a></li>
+        <?php } else { ?>
+    		<li style="width:120px; line-height:20px; float:left;"><a href="plugin.php?id=xj_event:event_list&amp;city=<?php echo $value['name'];?>"><?php echo $value['name'];?></a></li>
+        <?php } ?>
+    <?php } ?>
+    <br /><li style="width:120px; line-height:20px; float:left;"><a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:city','citycontent');" style="color:#999999;">[返回]</a></li>
+<?php } else { ?>
+    <?php if(is_array($province)) foreach($province as $value) { ?>    <li style="width:120px; line-height:20px; float:left;"><a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:city&upid=<?php echo $value['id'];?>','citycontent');"><?php echo $value['name'];?></a></li>
+    <?php } } ?>
+
+</ul>
+<div style=" clear:both;"></div>
+</div>
+</div><?php include template('common/footer'); ?>

+ 444 - 0
data/template/3_xj_event_event_join_modify.tpl.php

xqd
@@ -0,0 +1,444 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
+<title>我��加</title>
+<link href="source/plugin/xj_event/ui/jquery-ui.css" rel="stylesheet">
+<style>
+body{ font-size:12px; padding:0px 10px;font-family: "Microsoft YaHei" ! important;}
+#dialog label, #dialog input { display:block; }
+#dialog label { margin-top: 0.5em; }
+#dialog input, #dialog textarea { width: 95%; }
+#tabs { margin-top: 1em; }
+#tabs li .ui-icon-close { float: left; margin: 0.4em 0.2em 0 0; cursor: pointer; }
+#add_tab { cursor: pointer; }
+
+</style>
+<script src="source/plugin/xj_event/ui/jquery.1.10.2.js" type="text/javascript"></script>
+<script src="source/plugin/xj_event/ui/jquery-ui.js" type="text/javascript"></script>
+<script src="source/plugin/xj_event/module/wsqcenter/js/jquery.form.js" type="text/javascript"></script>
+<script>
+  $(function() {
+  var event_number_max = <?php echo $items['event_number_max'];?>;
+  var tabCounter = <?php echo $tabCounter;?>,weinum = <?php echo $tabCounter;?>,
+  tabTemplate = "<li><a href='#<?php echo href;?>'>#<?php echo label;?></a> </li>";
+  var tabs = $( "#tabs" ).tabs();
+  $("#button").button().click(function(event) {
+  if(weinum<=event_number_max){
+addTab();
+  }
+  });
+  tabs.delegate( "span.ui-icon-close", "click", function() {
+var panelId = $( this ).closest( "li" ).remove().attr( "aria-controls" );
+$( "#" + panelId ).remove();
+tabs.tabs( "refresh" );
+//Ë¢ÐÂÒ»ÏÂλÊý
+weinum = 1;
+$('#tabs ul li').each(function(index) {
+$(this).children("a").html('第'+weinum+'�');
+weinum++;
+});
+  });
+  //µØÇøÑ¡Ôñ
+  var residecity;
+  $(".residecity").button();
+  $("body").on("click",".residecity", function () {
+    residecity = $(this);
+$.ajax({
+cache: false,
+type: "POST",
+url: 'plugin.php?id=xj_event:city&level=1',
+dataType: 'html',
+async: true,
+error: function(request) {
+alert("Connection error");
+},
+success: function(html) {
+residecity.hide();
+residecity.next().html(html);
+}
+});
+
+  });
+  $("body").on("change","#province",function(){
+    var province = $(this).val();
+$.ajax({
+cache: false,
+type: "POST",
+url: 'plugin.php?id=xj_event:city&level=2&province='+province,
+dataType: 'html',
+async: true,
+error: function(request) {
+alert("Connection error");
+},
+success: function(html) {
+residecity.next().html(html);
+}
+});
+ // alert($(this).find("option:selected").text());
+  });
+  $("body").on("change","#city",function(){
+var city = $(this).val();
+var province = $("#province").val();
+$.ajax({
+cache: false,
+type: "POST",
+url: 'plugin.php?id=xj_event:city&level=2&province='+province+'&city='+city,
+dataType: 'html',
+async: true,
+error: function(request) {
+alert("Connection error");
+},
+success: function(html) {
+residecity.next().html(html);
+}
+});
+  });
+  $("body").on("change","#county",function(){
+var county = $(this).val();
+var province = $("#province").val();
+var city = $("#city").val();
+$.ajax({
+cache: false,
+type: "POST",
+url: 'plugin.php?id=xj_event:city&level=3&province='+province+'&city='+city+'&county='+county,
+dataType: 'html',
+async: true,
+error: function(request) {
+alert("Connection error");
+},
+success: function(html) {
+if(html.indexOf('<!--end-->')>-1){
+residecity.prev().html($("#province").find("option:selected").text() + $("#city").find("option:selected").text() + $("#county").find("option:selected").text());
+residecity.prev().prev().val($("#province").find("option:selected").text() + $("#city").find("option:selected").text() + $("#county").find("option:selected").text());
+residecity.next().html('');
+residecity.show();
+}else{
+residecity.next().html(html);
+}
+}
+});
+  });
+  $("body").on("change","#town",function(){
+residecity.prev().html($("#province").find("option:selected").text() + $("#city").find("option:selected").text() + $("#county").find("option:selected").text() + $("#town").find("option:selected").text());
+residecity.prev().prev().val($("#province").find("option:selected").text() + $("#city").find("option:selected").text() + $("#county").find("option:selected").text() + $("#town").find("option:selected").text());
+residecity.next().html('');
+residecity.show();
+  });
+  
+  //ÉúÈÕʱÆÚÑ¡Ôñ
+  $("body").on("focus",".dateselect",function(){
+$(this).next().html('<input type="text" id="datepicker">');
+$( "#datepicker" ).datepicker({
+  defaultDate: '<?php echo $mybirthday;?>',
+  monthNamesShort:['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '�月', '�月', '�一月', '�二月'],
+  dayNamesMin :['日', '一', '二', '三', '四', '五', '六'],
+  changeMonth: true,
+                  changeYear: true,
+  dateFormat: 'yy-mm-dd',
+  onClose: function( selectedDate ) {
+  //$( "#to" ).datepicker( "option", "minDate", selectedDate );
+  $(this).parent().prev().val(selectedDate);
+  $(this).parent().prev().show();
+  $(this).parent().html('');
+  }
+  
+});
+$(this).hide();
+$(this).next().find("input").focus();
+  });
+  
+  
+  
+  //Ìá½»
+  $("#sumbit").button().click(function(event) {
+  
+  	
+var postjson = [];
+var a = false;
+$('#tabs ul li').each(function(index) {
+
+var json = {};
+$('#'+$(this).attr('aria-controls')+' input').each(function(index) {
+if($(this).attr('type')=='text' || $(this).attr('type')=='hidden'){
+json[$(this).attr('name')] = $(this).val();
+}
+if($(this).attr('type')=='checkbox'){
+if($(this).is(':checked')){
+var checkboxname = $(this).attr('name').replace('[]','');
+if(json[checkboxname]){
+json[checkboxname] = json[checkboxname] + ',' + $(this).val();
+}else{
+json[checkboxname] = $(this).val();
+}
+}
+}
+if( $(this).attr('type')=='radio'){
+if($(this).is(':checked')){
+json[$(this).attr('name')] = $(this).val();
+}
+}
+});
+$('#'+$(this).attr('aria-controls')+' select').each(function(index) {
+json[$(this).attr('name')] = $(this).val();
+});
+//ÅжÏÊÇ·ñÓпյÄÊý¾Ý
+if(JSON.stringify(json).indexOf('""')>-1){
+a = true;
+}
+
+$('#'+$(this).attr('aria-controls')+' textarea').each(function(index) {
+json[$(this).attr('name')] = $(this).val();
+});
+postjson.push(json);
+});
+//alert(JSON.stringify(postjson));
+//ÅжÏÊÇ·ñÓпյÄÊý¾Ý
+if(a){
+showmessage('报�资料请填写完整');
+return;
+}
+var postdata = JSON.stringify(postjson);
+
+$('#tabs').hide();
+$('#sumbit').hide();
+$.ajax({
+cache: false,
+type: "POST",
+url: 'plugin.php?id=xj_event:event_join_modify&tid=<?php echo $tid;?>&action=modifyfull&formhash=<?php echo $_G['formhash'];?>',
+data: postdata,
+dataType: 'json',
+async: true,
+error: function(request) {
+alert("Connection error");
+$('#tabs').show();
+$('#sumbit').show();
+},
+success: function(json) {
+if(json.full == 1){
+showmessage(json.message);
+$('body,html').animate({scrollTop:0},0);
+if(json.url){
+window.parent.parent.location.href=json.url;
+}else{
+window.parent.parent.location.href='forum.php?mod=viewthread&tid=<?php echo $tid;?>';
+}
+return true;
+}else if(json.full == 2){
+$('#tabs').show();
+$('#sumbit').show();
+showmessage(json.message);
+$('body,html').animate({scrollTop:0},1000);
+return false;
+}
+}
+});
+  });
+  
+  function addTab() {
+var label = '' || "Tab " + tabCounter, 
+  id = "tabs-" + tabCounter,
+  li = "<li><a href='#"+id+"'>第"+weinum+"�</a><span class='ui-icon ui-icon-close' role='presentation'>Remove Tab</span></li>",
+  tabContentHtml = '' || "Tab " + tabCounter + " content.";
+  
+tabs.find( ".ui-tabs-nav" ).append( li );
+tabs.append( "<div id='"+id+"' aria-labelledby='ui-id-"+tabCounter+"' class='ui-tabs-panel ui-widget-content ui-corner-bottom' role='tabpanel' aria-hidden='true' style='display: none;'>"+$("#bmtemplate").html()+"</div>" );
+tabs.tabs( "refresh" );
+tabCounter++;
+weinum++;//µÚ¼¸Î»Î»ÊýÔö¼Ó
+  } 
+  
+  function showmessage(mm){
+  $('#warning_mm').html(mm);
+  $('#warning').show();
+  function closemm(){
+  $('#warning').hide();
+  clearTimeout(mmtime);
+  }
+  
+  var mmtime = setTimeout(function(){
+   closemm()
+  },4000); 
+  }
+  });
+</script>
+</head>
+
+<body>
+<div class="ui-widget" id="warning" style="display:none;">
+<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
+<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span><span id="warning_mm"></span></p>
+</div>
+</div>
+<!-- Tabs -->
+<div id="tabs">
+<ul>
+    <?php if(is_array($apply)) foreach($apply as $key => $value) { ?>        <?php $i = $key+1?><li><a href="#tabs-<?php echo $i;?>">第<?php echo $i;?>�</a><?php if($i>1) { ?><span class="ui-icon ui-icon-close" role="presentation">Remove Tab</span><?php } ?></li>
+        <?php } ?>
+        <button id="button"><span class="ui-icon ui-icon-plus"></span></button>
+</ul>
+    <?php if(is_array($apply)) foreach($apply as $key => $value) { ?>    <?php $i = $key+1?><div id="tabs-<?php echo $i;?>">
+    	<?php if($setting['session']) { ?>
+        	<div style=" padding:10px 10px; border-bottom:1px dashed #CCC;">
+            <div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;">活动场次</div>
+        	<select name="session" style="width:120px;">
+                <?php if(is_array($setting['session'])) foreach($setting['session'] as $s_key => $s_value) { ?>                <option value="<?php echo $s_key;?>" <?php if($value['session'] == $s_key) { ?>selected="selected"<?php } ?>><?php echo $s_value;?></option>
+                <?php } ?>
+            </select>
+            </div>
+        <?php } ?>
+        <?php if($setting['cost']) { ?>
+        	<div style=" padding:10px 10px; border-bottom:1px dashed #CCC;">
+            <div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;">报�类型</div>
+        	<select name="costclass" style="width:120px;">
+            <?php if(is_array($setting['cost'])) foreach($setting['cost'] as $cvalue) { ?>                	<option value="<?php echo $cvalue['id'];?>" <?php if($cvalue['id'] == $value['ufielddata']['costclass']) { ?>selected<?php } ?>><?php echo $cvalue['cost_name'];?></option>
+                <?php } ?>
+            </select>
+            </div>
+        <?php } ?>
+        
+        
+        <?php if(!empty($selectuserfield)) { ?>
+            <?php if(is_array($selectuserfield)) foreach($selectuserfield as $fieldid) { ?>            <?php if($settings[$fieldid]['available']) { ?>
+            <div style=" padding:10px 10px; border-bottom:1px dashed #CCC;">
+                <div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;"><?php echo $settings[$fieldid]['title'];?></div>
+                <?php if($settings[$fieldid]['formtype'] != 'file') { ?>
+                	<?php if($settings[$fieldid]['formtype'] == 'checkbox') { ?>
+                    	<?php echo $value['ufielddata'][$fieldid];?>
+                    <?php } elseif($fieldid == 'residecity') { ?>    
+                            <?php echo str_replace('value=""><span></span>','value="'.$value[ufielddata][$fieldid].'"><span>'.$value[ufielddata][$fieldid].'</span>',$htmls[$fieldid]);?>                    <?php } elseif($settings[$fieldid]['formtype'] == 'select') { ?> 
+                    <?php echo str_replace('value="'.$value[ufielddata][$fieldid].'"','value="'.$value[ufielddata][$fieldid].'" selected',$htmls[$fieldid]);?>                    <?php } else { ?>
+                        <?php echo str_replace('value=""','value="'.$value[ufielddata][$fieldid].'"',$htmls[$fieldid]);?>                    <?php } ?>
+                <?php } else { ?>
+                     <input id="activitypic_<?php echo $fieldid;?>" type="text" tabindex="1" value="" placeholder="请输入图片地�" class="px" name="<?php echo $fieldid;?>" onblur="if(!this.value.match(/^https?:\/\/.+\/.+\.(jpg|png|gif|jpeg|bmp)$/i)){ $('showerror_<?php echo $fieldid;?>').innerHTML='图片地�错误';}else{ $('showerror_<?php echo $fieldid;?>').innerHTML='&nbsp;';}">
+                <?php } ?>
+            </div>
+            <?php } ?>
+            <?php } ?>
+        <?php } ?>
+        
+        <?php if(!empty($myuserfield)) { ?>
+        <?php if(is_array($value['myuserfield'])) foreach($value['myuserfield'] as $val) { ?>            <div style=" padding:10px 10px; border-bottom:1px dashed #CCC;">
+            	<div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;"><?php echo $val['title'];?></div>
+                <?php echo $val['html'];?>
+            </div>
+            <?php } ?>
+        <?php } ?>
+        
+        <div style=" padding:10px 10px;">
+        	<div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;">留言</div>
+        	<textarea name="message" maxlength="100" cols="38" rows="3" class="pt" tabindex="4"><?php echo $value['bmmessage'];?></textarea>
+        </div>
+    </div>
+    <?php } ?>
+</div>
+<div style="padding:10px; text-align:center;">
+    	<button id="sumbit">�存</button>
+</div>
+<div id="bmtemplate" style="display:none;">
+<?php if($setting['session']) { ?>
+        	<div style=" padding:10px 10px; border-bottom:1px dashed #CCC;">
+            <div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;">活动场次</div>
+        	<select id="selectmenu" name="session" style="width:120px;">
+                <option value="" selected="selected">请选择</option>
+                <?php if(is_array($setting['session'])) foreach($setting['session'] as $key => $value) { ?>                <option value="<?php echo $key;?>"><?php echo $value;?></option>
+                <?php } ?>
+            </select>
+            </div>
+        <?php } ?>
+        <?php if($setting['cost']) { ?>
+        	<div style=" padding:10px 10px; border-bottom:1px dashed #CCC;">
+            <div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;">报�类型</div>
+        	<select name="costclass" style="width:120px;">
+            <?php if(is_array($setting['cost'])) foreach($setting['cost'] as $value) { ?>                	<option value="<?php echo $value['id'];?>"><?php echo $value['cost_name'];?></option>
+                <?php } ?>
+            </select>
+            </div>
+        <?php } ?>
+        <?php if(!empty($selectuserfield)) { ?>
+            <?php if(is_array($selectuserfield)) foreach($selectuserfield as $fieldid) { ?>            <?php if($settings[$fieldid]['available']) { ?>
+            <div style=" padding:10px 10px; border-bottom:1px dashed #CCC;">
+                <div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;"><?php echo $settings[$fieldid]['title'];?></div>
+                <?php if($settings[$fieldid]['formtype'] != 'file') { ?>
+                        <?php echo $htmls[$fieldid];?>
+                <?php } else { ?>
+                     <input id="activitypic_<?php echo $fieldid;?>" type="text" tabindex="1" value="" placeholder="请输入图片地�" class="px" name="<?php echo $fieldid;?>" onblur="if(!this.value.match(/^https?:\/\/.+\/.+\.(jpg|png|gif|jpeg|bmp)$/i)){ $('showerror_<?php echo $fieldid;?>').innerHTML='图片地�错误';}else{ $('showerror_<?php echo $fieldid;?>').innerHTML='&nbsp;';}">
+                <?php } ?>
+            </div>
+            <?php } ?>
+            <?php } ?>
+        <?php } ?>
+        
+        <?php if(!empty($myuserfield)) { ?>
+        <?php if(is_array($myuserfield)) foreach($myuserfield as $value) { ?>            <div style=" padding:10px 10px; border-bottom:1px dashed #CCC;">
+            	<div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;"><?php echo $value['title'];?></div>
+                <?php echo $value['html'];?>
+            </div>
+            <?php } ?>
+        <?php } ?>
+        
+        <?php if(in_array('bmmessage',$selectuserfield)) { ?>
+        <div style=" padding:10px 10px;">
+        	<div style="width:80px; float:left; line-height:30px; font-size:12px; color:#999;">留言</div>
+        	<textarea name="message" maxlength="100" cols="38" rows="3" class="pt" tabindex="4"></textarea>
+        </div>
+        <?php } ?>
+</div>
+
+
+<script language="javascript">
+$(function(){
+//ÉÏ´«Í¼Æ¬
+$("body").on("change",".uploadfile",function(){
+
+
+
+var showimg = $(this).parent().parent().find('.showimg');
+var bar = $(this).parent().parent().find('.bar');
+var uploadcover = $(this).parent().parent().find('.uploadcover');
+var uploaderror = $(this).parent().parent().find('.uploaderror');
+var inputtext = $(this).parent().parent().find('.inputtext');
+bar.show();
+
+$(this).parent().parent().find('form').ajaxSubmit({
+dataType:  'json',
+beforeSend: function() {
+        		//showimg.empty();
+        		var percentVal = '0%';
+        		bar.width(percentVal);
+    		},
+    		uploadProgress: function(event, position, total, percentComplete) {
+        		var percentVal = percentComplete + '%';
+        		bar.width(percentVal);
+    		},
+success: function(data) {
+if(data.error){
+alert(data.error);
+var percentVal = '0%';
+bar.width(percentVal);
+return;
+}
+//progress.hide();
+bar.hide();
+//files.html("<b>"+data.name+"("+data.size+"k)</b> <span class='delimg' rel='"+data.pic+"'>ɾ³ý</span>");
+if(data.pic!=null){
+  var img = "<?php echo $_G['siteurl'];?>"+data.dir+data.pic;
+  inputtext.val(img);
+  showimg.html("<img src='"+img+"' style='width:100%;'>");
+  uploadcover.hide();
+}
+},
+error:function(xhr){
+bar.width('0');
+uploaderror.html(xhr.responseText);
+}
+});
+});
+
+
+});
+</script>
+
+</body>
+</html>

+ 93 - 0
data/template/3_xj_event_event_my.tpl.php

xqd
@@ -0,0 +1,93 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('event_my');?><?php include template('common/header'); ?><style>
+.xjevent{margin:5px 5px;background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 139px; height:100px}
+.xjevent b a{ font-size:14px; font-family: "微软雅黑";color:<?php echo $_G['style']['highlightlink'];?>;}
+.xj_hll{color:<?php echo $_G['style']['highlightlink'];?>;}
+.jlpg {
+text-align:right;
+padding-right:10px;
+}
+.jlpg strong {
+display:inline-block;
+height:20px;
+width:20px;
+border:1px solid #CCCCCC;
+font-size:12px;
+text-align:center;
+margin-right:5px;
+background-color:#CCCCCC;
+color:#FFFFFF;
+}
+.jlpg a {
+display:inline-block;
+height:20px;
+width:20px;
+border:1px solid #CCCCCC;
+font-size:12px;
+text-align:center;
+margin-right:5px;
+}
+</style>
+<div id="wp" class="wp"><div id="pt" class="bm cl">
+<div class="z">
+<a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a> <em>&rsaquo;</em>
+<a href="plugin.php?id=xj_event:event_my">活动</a>
+</div>
+</div>
+<div id="ct" class="ct2_a wp cl">
+<div class="mn">
+<div class="bm bw0">
+<h1 class="mt">
+我发起的活动
+</h1>
+<?php if($_GET['act']=='zz') { ?>
+<p class="tbmu">我发起的活动: <span class="xi1"><?php echo $listcount;?></span> 次</p>
+<?php } elseif($_GET['act']=='cj') { ?>
+<p class="tbmu">我参加的活动: <span class="xi1"><?php echo $listcount;?></span> 次</p>
+<?php } if($listcount>0) { if(is_array($toplist)) foreach($toplist as $key => $value) { ?>    <div class="xjevent">
+        <div style="height:100px; margin-top:8px;">
+            <a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>" target="_blank"><img src="<?php echo $value['picurl'];?>" width="145" height="93" style="float:left; margin-right:8px;" border="0"/></a>
+            <div style="float:left; width:580px; line-height:24px;">
+            <b class="xj_hll" style="margin-right:5px;"><a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>" target="_blank"><?php echo $value['subject'];?></a></b>
+            <?php if($value['starttime']<$nowtime && $value['endtime']>$nowtime) { ?>
+            	<img src="source/plugin/xj_event/images/hd_ico1.png" />
+            <?php } elseif($value['starttime']>$nowtime) { ?>
+                <img src="source/plugin/xj_event/images/hd_ico2.png"/>
+            <?php } elseif($value['endtime']<$nowtime) { ?>
+                <img src="source/plugin/xj_event/images/hd_ico3.png" />
+            <?php } ?>
+            <?php if($value['verify']==1) { ?>
+            	<i style=" float:right;display:inline-block; height:21px; width:40px; background-color:#00a7ff; color:#FFFFFF; font-size:14px; text-align:center;font-family: '微软雅黑';">官方</i>
+            <?php } ?>
+            <br />
+            <span class="xj_hll">活动组织者:</span><?php echo $value['author'];?>&nbsp;&nbsp;
+            <?php if($value['use_cost']>0) { ?>
+            	<span class="xj_hll">费用:</span><?php echo $value['use_cost'];?>元/人
+            <?php } else { ?> 
+            	<span style="color:#FF6600; font-weight:bold;">免费</span>
+            <?php } ?>&nbsp;&nbsp;
+            <span class="xj_hll">活动时间:</span><?php echo $value['starttime'];?>&nbsp;&nbsp;
+            <?php if($value['zynumber']>0) { ?>
+            <span class="xj_hll">作业:</span><?php echo $value['zynumber'];?>个 <a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>&amp;menu=2" class="xi2" target="_blank">[查看]</a>
+            <?php } ?>
+            <br /> 
+            <span style="color:#bbbbbb;"><?php echo $value['message'];?></span>
+            </div>
+        </div>
+    </div>
+    <?php } } else { ?>
+<p class="emp">暂无数据</p>
+<?php } if($multipage) { ?>
+<div style=" clear:both; height:30px; padding-top:5px;"><?php echo $multipage;?></div>
+<?php } ?>
+</div>
+</div>
+<div class="appl">
+<div class="tbn">
+<h2 class="mt bbda">活动</h2>
+<ul>
+<li<?php if($_GET['act']=='zz') { ?> class="a"<?php } ?>><a href="plugin.php?id=xj_event:event_my&amp;act=zz">我发起的活动</a></li>
+<li<?php if($_GET['act']=='cj') { ?> class="a"<?php } ?>><a href="plugin.php?id=xj_event:event_my&amp;act=cj">我参加的活动</a></li>
+</ul>
+</div>
+</div>
+</div>	</div><?php include template('common/footer'); ?>

+ 13 - 0
data/template/3_xj_event_event_post.tpl.php

xqd
@@ -0,0 +1,13 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('event_post');?><?php include template('common/header'); ?><div style="text-align:center; padding:100px 0px;">
+<form action="forum.php?mod=post&amp;action=newthread&amp;specialextra=xj_event" name="event_post" method="get">
+<input name="mod" type="hidden" value="post" />
+<input name="action" type="hidden" value="newthread" />
+<input name="postclass" type="hidden" value="<?php echo $_GET['postclass'];?>" />
+<input name="specialextra" type="hidden" value="xj_event" />
+选择版块:<select name="fid">
+<?php echo $forumlist;?>
+</select>
+
+<input name="submit" type="submit" id="submit" value="下一步"/>
+</form>
+</div><?php include template('common/footer'); ?>

+ 93 - 0
data/template/3_xj_event_event_setting.tpl.php

xqd
@@ -0,0 +1,93 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('event_setting');?><?php include template('common/header'); ?><div id="setting_display">
+<form name="setting_form" id="setting_form" method="post" autocomplete="off" action="plugin.php?id=xj_event:event_setting&amp;action=save&amp;tid=<?php echo $tid;?>" onsubmit="ajaxpost('setting', 'setting_display', 'setting_display', '');" enctype="multipart/form-data">
+<input type="hidden" name="formhash" value="<?php echo $_G['formhash'];?>" />
+<table width="600" border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td><table width="600" border="0" cellspacing="0" cellpadding="0">
+      <tr>
+        <td><h3 class="flb">瘣餃𢆡霈曄蔭</h3></td>
+        <td width="30" align="right"><a href="javascript:;" 
+class="flbc" onclick="hideWindow('setting');" title="�喲𡡒"></a></td>
+      </tr>
+    </table></td>
+  </tr>
+  <tr>
+  	<td>
+    <div style="border-bottom:1px #CCCCCC dashed; padding:10px;">
+    雿靝��閧巨:
+    <input type="checkbox" name="openvote" id="openvote" class="pc" value="1" onclick="showvote();" <?php if($setting['vote']['openvote'] == 1) { ?>checked<?php } ?> />撘���
+    <div style="line-height:30px; margin-top:10px; <?php if($setting['vote']['openvote'] != 1) { ?>display:none;<?php } ?>" id="votesetting">
+    �閧巨�園𡢿:<input type="text" name="votestarttime" id="votestarttime" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="<?php echo $votestarttime;?>" tabindex="1" />~ <input type="text" name="voteendtime" id="voteendtime" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="<?php echo $voteendtime;?>" tabindex="2" /> <br />
+    �𣂼��孵�:<input type="checkbox" name="ipcheck" id="ipcheck" class="pc" value="1" <?php if($setting['vote']['ipcheck'] == 1) { ?>checked<?php } ?>/>IP撉諹� <input type="checkbox" name="usercheck" id="usercheck" class="pc" value="1" <?php if($setting['vote']['usercheck'] == 1) { ?>checked<?php } ?>/>隡𡁜�撉諹� 瘥� <input type="text" name="votecheckhour" value="<?php echo $votecheckhour;?>" style="width:30px;" /> 撠𤩺𧒄嚗�虾隞交� <input type="text" name="votechecknumber" style="width:30px;" value="<?php echo $votechecknumber;?>" /> 蟡�
+    </div>
+    </div>
+    <div style="border-bottom:1px #CCCCCC dashed; padding:10px;">
+    �亙�霈曄蔭:<input name="noverify" type="checkbox" class="pc" id="noverify" value="1"<?php if($setting['noverify'] == 1) { ?>checked<?php } ?>/> 
+    �亙�銝滚恣�� 
+    <input name="canceljoin" type="checkbox" class="pc" id="canceljoin" value="1" <?php if($setting['canceljoin'] == 1) { ?>checked<?php } ?>/> 摰⊥瓲�朞��冽��臭誑�𡝗��亙�
+    <input name="onlyappbymejoin" type="checkbox" class="pc" id="onlyappbymejoin" value="1" <?php if($setting['onlyappbymejoin'] == 1) { ?>checked<?php } ?>/>  隞��APP摰X�蝡舀𥁒��
+    <input name="onlyvip" type="checkbox" class="pc" id="onlyvip" value="1" <?php if($setting['onlyvip'] == 1) { ?>checked<?php } ?>/>  隞�IP�冽�蝏�𥁒��  <br />
+    <input name="onlysubscribeweixin" type="checkbox" class="pc" id="onlysubscribeweixin" value="1" <?php if($setting['onlysubscribeweixin'] == 1) { ?>checked<?php } ?>/>  隞��瘜典凝靽∠鍂��
+    </div>
+    <div style="padding:10px;">
+    ��霂瑟𥁒��:
+    <input type="checkbox" name="invitationcodeopen" id="invitationcodeopen" class="pc" value="1" <?php if($setting['invitation']['open'] == 1) { ?>checked<?php } ?> />撘���
+    ��霂瑞�:<input type="text" name="invitationcode" style="width:100px;" value="<?php echo $setting['invitation']['code'];?>" />
+    </div>
+    
+    <div style="padding:10px;">
+    瘣餃𢆡敺桐縑蝢支�蝏渡�:<input type="file" value="" name="group_qrcode" id="group_qrcode" tabindex="1" class="pf" style="height:26px;" /><input type="hidden" name="group_qrcode" value="<?php echo $setting['group_qrcode'];?>" />
+    �曄內�冽��箇垢�亙��𣂼��𥰁<a href="<?php echo $setting['group_qrcode'];?>" target="_blank">�亦�</a>]
+    </div>
+    
+    
+    <?php if($signed_enable) { ?>
+    <div style="padding:10px; border-top:1px #CCCCCC dashed;">
+    瘣餃𢆡蝑曉�:
+    <input type="checkbox" name="signed_open" id="signed_open" class="pc" value="1" <?php if($setting['signed']['open'] == 1) { ?>checked<?php } ?> />撘���
+    <a href="plugin.php?id=xj_event:qrcode_signed&amp;tid=<?php echo $tid;?>" target="_blank" style="padding:5px 15px; background-color:#093; color:#FFF;-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius:3px; ">蝑曉�鈭𣬚輕��</a> �典凝靽⊥醌�譍�蝏渡�蝑曉�
+    </div>
+    <?php } ?>
+    
+    <div style="padding:10px; border-top:1px #CCCCCC dashed;">
+    憭扯蓮�䀹𡂝憟�:
+    <input type="checkbox" name="zhuanpan_open" id="zhuanpan_open" class="pc" value="1" <?php if($setting['zhuanpan']['open'] == 1) { ?>checked<?php } ?> />撘���
+    <a href="plugin.php?id=xj_event:event_zhuanpan&amp;mod=setting&amp;tid=<?php echo $tid;?>" target="_blank" style="padding:5px 15px; background-color:#093; color:#FFF;-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius:3px; ">霈曄蔭憟㚚★</a> 憸��撉諹���:<input type="text" name="zhuanpan_vcode" style="width:100px;" value="<?php echo $setting['zhuanpan']['vcode'];?>" />
+    <input type="checkbox" name="zhuanpan_sign" id="zhuanpan_sign" class="pc" value="1" <?php if($setting['zhuanpan']['sign'] == 1) { ?>checked<?php } ?> />蝑曉��擧��臭誑�賢�
+    <input type="checkbox" name="zhuanpan_zuoye" id="zhuanpan_zuoye" class="pc" value="1" <?php if($setting['zhuanpan']['zuoye'] == 1) { ?>checked<?php } ?> />�𤏸”雿靝��𤾸虾�賢�
+    </div>
+    <?php if($invitation_enable && $_G['groupid'] == 1) { ?>
+    <div style="padding:10px; border-top:1px #CCCCCC dashed;">
+    ��澈瘣餃𢆡��霂瑟𥁒�滚��悵�<input type="text" name="yqjl_jfs" id="yqjl_jfs" class="pc" value="<?php echo $setting['yqjl_jfs'];?>">
+    <select name="yqjl_jflx" id="yqjl_jflx" class="ps">
+      <option value=""> 霂琿�㗇𥋘 </option>
+      <?php if(is_array($extcredits)) foreach($extcredits as $key => $value) { ?>      <option value="<?php echo $key;?>" <?php if($key == $setting['yqjl_jflx']) { ?>selected<?php } ?>><?php echo $value['title'];?></option>
+      <?php } ?>
+    </select>
+    <br />
+    ��霂瑟絲�亥��臬㦛:<input type="file" value="" name="posterbg" id="posterbg" tabindex="1" class="pf" style="height:26px;" /> <?php if($setting['posterbg']) { ?>[<a href="plugin.php?id=xj_event:module&amp;cp=invitation&amp;mod=posters_pic&amp;tid=<?php echo $tid;?>" target="_blank">�亦�</a>]<?php } ?>
+    </div>
+    <?php } ?>
+    
+    </td>
+  </tr>
+</table>
+<?php if($multipage) { ?>
+<div style="clear:both; height:30px; padding-top:5px;"><?php echo $multipage;?></div>
+<?php } ?>
+<div class="o pns">
+<em class="xi1" id="return_activityapplies" style="float:left;"><?php echo $onerror;?></em>
+<button type="submit" class="pn pnc"><span>靽嘥�霈曄蔭</span></button>
+</div>
+</form>
+<div>
+<script language="javascript">
+function showvote(){
+if(document.getElementById("openvote").checked){
+document.getElementById("votesetting").style.display="block";
+}else{
+document.getElementById("votesetting").style.display="none";
+}
+}
+</script>
+<script src="static/js/calendar.js?2jP" type="text/javascript" type="text/javascript"></script><?php include template('common/footer'); ?>

+ 15 - 0
data/template/3_xj_event_event_userinfo.tpl.php

xqd
@@ -0,0 +1,15 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?><?php
+$return = <<<EOF
+
+<div id="psts" class="cl" style="border-top:1px dashed #CCC; padding-top:10px; margin-top:10px;">
+<h2 class="mbn">活动评价</h2>
+<ul class="pf_l">
+<li><img src="source/plugin/xj_event/images/good.png" align="absmiddle" /><em>好评</em>{$items['good']}</li>
+<li><img src="source/plugin/xj_event/images/common.png" align="absmiddle" /><em>中评</em>{$items['common']}</li>
+<li><img src="source/plugin/xj_event/images/bad.png" align="absmiddle" /><em>差评</em>{$items['bad']}</li>
+<li><img src="source/plugin/xj_event/images/air.png" align="absmiddle" /><em>放飞机</em>{$items['plane']}</li>
+</ul>
+</div>
+
+EOF;
+?>

+ 132 - 0
data/template/3_xj_event_list.tpl.php

xqd
@@ -0,0 +1,132 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('list');?><?php include template('common/header'); ?><style>
+.xj_hll{color:<?php echo $_G['style']['highlightlink'];?>;}
+.xj_h{color:#858585;}
+a.xj_btn{ display:inline-block; padding-top:4px; text-align:center; height:28px; width:170px;background:url(source/plugin/xj_event/images/btnbg.png) no-repeat; text-decoration:none; font-size:14px; font-weight:bold; font-family: '寰�蒋闆呴粦';}
+a:hover.xj_btn{ display:inline-block; padding-top:4px; text-align:center; height:28px; width:170px;background:url(source/plugin/xj_event/images/btnbg.png) no-repeat; text-decoration:none; font-size:14px; font-weight:bold; font-family: '寰�蒋闆呴粦';}
+.xjmenu {
+height:32px;
+}
+.xjmenu_a {
+width:80px;
+line-height:32px;
+float:left;
+height:32px;
+text-align:center;
+border-top:#cdcdcd 1px solid;
+border-left:#cdcdcd 1px solid;
+border-right:#cdcdcd 1px solid;
+border-bottom:#ffffff 1px solid;
+margin-left:10px;
+font-weight:bold;
+cursor:pointer;
+background-color:#FFFFFF;
+margin-top:-1px;
+color:<?php echo $_G['style']['highlightlink'];?>;
+}
+.xjmenu_b {
+width:80px;
+line-height:32px;
+float:left;
+height:32px;
+text-align:center;
+margin-left:10px;
+cursor:pointer;
+background-color:#efefef;
+border:#cdcdcd 1px solid;
+margin-top:-1px;
+}
+.xjmain {
+margin-bottom:10px;
+}
+a.eventmenu {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#777777;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+}
+a:hover.eventmenu {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#ffffff;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+background-color:#aaaaaa;
+}
+a.eventmenu_select {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#ffffff;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+background-color:#aaaaaa;
+}
+.xjevent{margin:5px 5px;background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 139px; height:110px}
+.xjevent b a{ font-size:14px; font-family: "寰�蒋闆呴粦";color:<?php echo $_G['style']['highlightlink'];?>;}
+.jlpg {
+text-align:right;
+padding-right:10px;
+}
+.jlpg strong {
+display:inline-block;
+height:20px;
+width:20px;
+border:1px solid #CCCCCC;
+font-size:12px;
+text-align:center;
+margin-right:5px;
+background-color:#CCCCCC;
+color:#FFFFFF;
+}
+.jlpg a {
+display:inline-block;
+height:20px;
+width:20px;
+border:1px solid #CCCCCC;
+font-size:12px;
+text-align:center;
+margin-right:5px;
+}
+</style>
+<div id="ct" class="wp cl" style="margin:10px 0px;">
+    <div style=" width:200px; float:left; border:1px solid #d7d7d7; background:#f8f8f8;">
+        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; "><a href="plugin.php?id=xj_event:event_list&amp;pc=1" style="font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';" class="xj_hll">绾夸笅娲诲姩[<?php echo $xxnum;?>]</a></div>
+        <?php if(is_array($offlineclass)) foreach($offlineclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;pc=1&amp;offlineclass=<?php echo $value['0'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
+        <?php } ?>
+        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; "><a href="plugin.php?id=xj_event:event_list&amp;pc=2" style="font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';" class="xj_hll">绾夸笂娲诲姩[<?php echo $xsnum;?>]</a></div>
+        <?php if(is_array($onlineclass)) foreach($onlineclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;pc=2&amp;onlineclass=<?php echo $value['0'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
+        <?php } ?>
+
+
+        <?php if(!$_G['cache']['plugin']['xj_event']['event_city']) { ?>
+        <div style=" line-height:32px; border-bottom:1px dashed #d7d7d7; margin:10px 8px 10px 8px; font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';color:<?php echo $_G['style']['highlightlink'];?>;">娲诲姩鍦板尯</div>
+        <?php if(is_array($cityclass)) foreach($cityclass as $key => $value) { ?>        <div style="line-height:24px; margin:0px 8px; background:url(source/plugin/xj_event/images/xuxian.png) repeat-x 0px 23px; padding-left:5px;"><a href="plugin.php?id=xj_event:event_list&amp;city=<?php echo $value['1'];?>" class="xj_h"><?php echo $value['1'];?><span class="xj_hll">[<?php echo $value['2'];?>]</span></a></div>
+        <?php } ?>
+        <?php } else { ?>
+        <div style=" line-height:32px; margin:10px 8px 10px 8px; font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';color:<?php echo $_G['style']['highlightlink'];?>;"><a href="javascript:" style="font-weight:bold; font-size:14px; font-family: '寰�蒋闆呴粦';" class="xj_hll" onclick="showWindow('city', 'plugin.php?id=xj_event:city')">娲诲姩鍦板尯 +</a></div>
+<script language="javascript">
+document.onclick = function() {//点击空白文档隐藏
+hideWindow('city');
+};
+</script>
+        
+        <?php } ?>
+
+
+
+
+        <div style="clear:both; margin-top:20px;"></div>
+    </div>
+    <div style=" width: auto; float: none; margin:0px 0px 0px 210px;">
+    	<div style="padding-top:10px;">
+<div class="xjmain" id="event1">
+            </div>
+        </div>
+    </div>
+</div>
+<script type="text/javascript">
+ajaxget('plugin.php?id=xj_event:event_list_ajax&action=<?php echo $_GET['action'];?>&choose=<?php echo $_GET['choose'];?>&pc=<?php echo $_GET['pc'];?>&offlineclass=<?php echo $_GET['offlineclass'];?>&onlineclass=<?php echo $_GET['onlineclass'];?>&city=<?php echo $_GET['city'];?>','event1','','','','');
+</script><?php include template('common/footer'); ?>

+ 46 - 0
data/template/3_xj_event_list_ajax.tpl.php

xqd
@@ -0,0 +1,46 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('list_ajax');?><?php include template('common/header'); ?><div>
+<div style="color:#858585; border-bottom:1px dashed #cccccc; padding-bottom:8px; padding-left:8px; margin-bottom:10px;">
+    快捷选择:<a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:event_list_ajax&pc=<?php echo $_GET['pc'];?>&choose=new&offlineclass=<?php echo $_GET['offlineclass'];?>&onlineclass=<?php echo $_GET['onlineclass'];?>','event1','','','','');" class="<?php if($_GET['choose']=='new') { ?>eventmenu_select<?php } else { ?>eventmenu<?php } ?>" id="userlistmenu1">最新</a> | <a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:event_list_ajax&pc=<?php echo $_GET['pc'];?>&choose=today&offlineclass=<?php echo $_GET['offlineclass'];?>&onlineclass=<?php echo $_GET['onlineclass'];?>','event1','','','','');" class="<?php if($_GET['choose']=='today') { ?>eventmenu_select<?php } else { ?>eventmenu<?php } ?>" id="userlistmenu2">今日</a> | <a href="javascript:" onclick="ajaxget('plugin.php?id=xj_event:event_list_ajax&pc=<?php echo $_GET['pc'];?>&choose=soon&offlineclass=<?php echo $_GET['offlineclass'];?>&onlineclass=<?php echo $_GET['onlineclass'];?>','event1','','','','');" class="<?php if($_GET['choose']=='soon') { ?>eventmenu_select<?php } else { ?>eventmenu<?php } ?>" id="userlistmenu3">未来</a>
+    		</div>
+    <?php if(is_array($toplist)) foreach($toplist as $key => $value) { ?>    <div class="xjevent">
+        <div style="height:100px; margin-top:8px;">
+            <a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>" target="_blank"><img src="<?php if($value['activityaid_url']) { ?><?php echo $value['activityaid_url'];?><?php } else { ?>source/plugin/xj_event/images/nopic.jpg<?php } ?>" width="145" height="93" style="float:left; margin-right:8px;" border="0"/></a>
+            <div style="float:left; width:580px; line-height:24px;">
+            <b class="xj_hll" style="margin-right:5px;"><a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>" target="_blank"><?php echo $value['subject'];?></a></b>
+            <?php if($value['starttime']<$_G['timestamp'] && $value['endtime']>$_G['timestamp']) { ?>
+            	<img src="source/plugin/xj_event/images/hd_ico1.png" />
+            <?php } elseif($value['starttime']>$nowtime) { ?>
+                <img src="source/plugin/xj_event/images/hd_ico2.png"/>
+            <?php } elseif($value['endtime']<$nowtime) { ?>
+                <img src="source/plugin/xj_event/images/hd_ico3.png" />
+            <?php } ?>
+            <?php if($value['verify']==1) { ?>
+            	<i style=" float:right;display:inline-block; height:21px; width:40px; background-color:#00a7ff; color:#FFFFFF; font-size:14px; text-align:center;font-family: '微软雅黑';">官方</i>
+            <?php } ?>
+            <br />
+            <span class="xj_hll">活动组织者:</span><?php echo $value['author'];?>&nbsp;&nbsp;
+            <span class="xj_hll">报名:</span><?php echo $value['applynumber'];?>/<?php if($value['event_number']>0) { ?><?php echo $value['event_number'];?>人<?php } else { ?>不限<?php } ?>&nbsp;&nbsp;
+            <?php if($value['setting']['eventaa']) { ?>
+            AA
+            <?php } else { ?>
+                <?php if($value['use_cost']>0) { ?>
+                    <span class="xj_hll">费用:</span><?php echo $value['use_cost'];?>元/人
+                <?php } else { ?> 
+                    <span style="color:#FF6600; font-weight:bold;">免费</span>
+                <?php } ?>
+            <?php } ?>
+            &nbsp;&nbsp;
+            <span class="xj_hll">活动时间:</span><?php echo $value['starttimestr'];?>&nbsp;&nbsp;
+            <?php if($value['zynumber']>0) { ?>
+            <span class="xj_hll">作业:</span><?php echo $value['zynumber'];?>个 <a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>&amp;menu=2" class="xi2" target="_blank">[查看]</a>
+            <?php } ?>
+            <br /> 
+            <span style="color:#bbbbbb;"><?php echo $value['message'];?></span>
+            </div>
+        </div>
+    </div>
+    <?php } ?>
+</div>
+<?php if($multipage) { ?>
+<div style=" clear:both; height:30px; padding-top:5px;"><?php echo $multipage;?></div>
+<?php } include template('common/footer'); ?>

+ 608 - 0
data/template/3_xj_event_post_event.tpl.php

xqd
@@ -0,0 +1,608 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?><?php
+$return = <<<EOF
+
+<style>
+.labeltitle {
+font-weight: bold;
+}
+
+.xjmenu {
+height: 32px;
+}
+
+.xjmenu_a {
+width: 80px;
+line-height: 32px;
+float: left;
+height: 32px;
+text-align: center;
+border-top: #c2d5e3 1px dashed;
+border-left: #c2d5e3 1px dashed;
+border-right: #c2d5e3 1px dashed;
+background-color: #e5edf2;
+margin-left: 10px;
+font-weight: bold;
+cursor: pointer;
+}
+
+.xjmenu_b {
+width: 80px;
+line-height: 32px;
+float: left;
+height: 32px;
+text-align: center;
+margin-left: 10px;
+cursor: pointer;
+}
+
+.xjmain {
+border: #c2d5e3 1px dashed;
+background-color: #e5edf2;
+padding: 15px;
+margin-bottom: 10px;
+}
+
+.xjmain label {
+font-weight: bold;
+width: 80px;
+display: inline-block;
+height: 30px;
+}
+
+.xjmain i {
+color: #FF0000;
+float: right;
+}
+
+.xjmain span {
+color: #999999;
+}
+</style>
+<script language="javascript">
+function getmb(selObj) {
+//实例化Ajax
+var ajax = null;
+if(window.XMLHttpRequest) {
+ajax = new XMLHttpRequest();
+} else if(window.ActiveXObject) {
+ajax = new ActiveXObject("Microsoft.XMLHTTP");
+} else {
+return;
+}
+if(selObj.options[selObj.selectedIndex].value != '') {
+//需要POST的值,把每个变量都通过&来联接 
+var postStr = "file=" + selObj.options[selObj.selectedIndex].value;
+//通过Get方式打开连接
+ajax.open("POST", "plugin.php?id=xj_event:event_template", true);
+//ajax.setRequestHeader("Content-Type","text/html;charset=gb2312");
+ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+ajax.send(postStr);
+//返回数据的处理函数
+ajax.onreadystatechange = function() {
+if(ajax.readyState == 4 && ajax.status == 200) {
+var gainstr = ajax.responseText;
+gainstr = bbcode2html(gainstr);
+//if(BROWSER.ie) {
+insertText(gainstr, gainstr.length, 0);
+//}
+}
+}
+}
+}
+
+</script>
+
+<ul class="xjmenu">
+<li class="xjmenu_a" onclick="remenu(1)" id="xjmenu1">绾夸笅娲诲姩</li>
+<li class="xjmenu_b" onclick="remenu(2)" id="xjmenu2">绾夸笂娲诲姩</li>
+
+EOF;
+ if($module_eventurl) { 
+$return .= <<<EOF
+<li class="xjmenu_b" onclick="remenu(3)" id="xjmenu3">澶栭摼娲诲姩</li>
+EOF;
+ } 
+$return .= <<<EOF
+
+</ul>
+<input type="hidden" name="postclass" id="postclass" value="1" />
+<div class="xjmain" id="event1">
+<dd>
+<label>娲诲姩鏃堕棿:<i>*</i></label>
+<input type="text" name="starttime" id="starttime" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="" tabindex="1" /> ~
+<input type="text" name="endtime" id="endtime" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="" tabindex="2" />
+</dd>
+<dd id="offlineclass_dd">
+<label>娲诲姩绫诲瀷:<i>*</i></label>
+<select name="offlineclass" id="offlineclass" class="ps">
+EOF;
+ if(is_array($offlineclass)) foreach($offlineclass as $key => $value) { 
+$return .= <<<EOF
+<option value="{$value['0']}">{$value['1']}</option>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</select>
+</dd>
+<dd id="onlineclass_dd" style="display:none;">
+<label>娲诲姩绫诲瀷:<i>*</i></label>
+<select name="onlineclass" id="onlineclass" class="ps">
+EOF;
+ if(is_array($onlineclass)) foreach($onlineclass as $key => $value) { 
+$return .= <<<EOF
+<option value="{$value['0']}">{$value['1']}</option>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</select>
+</dd>
+
+
+EOF;
+ if(!$_G['cache']['plugin']['xj_event']['event_city']) { 
+$return .= <<<EOF
+
+<dd id="citys_dd">
+<label>娲诲姩鍦板尯:</label>
+<select name="citys" id="citys" class="ps">
+EOF;
+ if(is_array($citys)) foreach($citys as $key => $value) { 
+$return .= <<<EOF
+<option value="{$value}">{$value}</option>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</select>
+</dd>
+
+EOF;
+ } else { 
+$return .= <<<EOF
+
+<dd id="citys_dd">
+<label>娲诲姩鍦板尯:</label>
+
+<select id="shen" onChange="goGo(this.options.selectedIndex);">
+<option value="" selected>{$lang_province}</option>
+EOF;
+ if(is_array($province)) foreach($province as $key => $value) { 
+$return .= <<<EOF
+<option value="{$value['name']}">{$value['name']}</option>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</select>
+
+<select id="city" name="citys">
+<option value="" selected>{$lang_city}</option>
+</select>
+
+</dd>
+    
+    <script>
+var groups = document.getElementById("shen").options.length;
+var group = new Array(groups);
+for(i = 0; i < groups; i++){
+group[i] = new Array();
+}
+group[0][0] = new Option("{$lang_city}", "");
+EOF;
+ if(is_array($city)) foreach($city as $key => $value) { 
+$return .= <<<EOF
+group[{$value['upid']}][{$value['displayorder']}] = new Option("{$value['name']}", "{$value['name']}");
+
+EOF;
+ } 
+$return .= <<<EOF
+
+function goGo(x) {
+var tempff = document.getElementById("city");
+for(m = tempff.options.length - 1; m > 0; m--)
+tempff.options[m] = null;
+for(i = 0; i < group[x].length; i++) {
+tempff.options[i] = new Option(group[x][i].text, group[x][i].value);
+}
+tempff.options[0].selected = true;
+}
+</script>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+
+<dd id="event_address_dd">
+<label>娲诲姩鍦扮偣:<i>*</i></label>
+<input type="text" name="event_address" id="event_address" value="" class="px" />
+<span>濉�啓娲诲姩鐨勮�缁嗗湴鍧€</span></dd>
+<dd id="event_number_dd">
+<label>娲诲姩浜烘暟:</label>
+<input name="event_number" type="text" class="px" id="event_number" value="0" size="10" />
+</dd>
+<dd id="event_number_max_dd">
+<label>鏈€澶氬彲鎶�:</label>
+<input name="event_number_max" type="text" class="px" id="event_number_max" value="1" size="10" />
+<span>鎸囨姤鍚嶈€呭彲涓€娆℃渶澶氭姤鍚嶇殑浜烘暟</span></dd>
+<dd id="use_extcredits_num_dd">
+<label>绉�垎鏀�粯:</label>
+<input type="text" name="use_extcredits_num" id="use_extcredits_num" value="" class="px" />
+<select name="use_extcredits" id="use_extcredits" class="ps">
+<option value=""> 璇烽€夋嫨 </option>
+EOF;
+ if(is_array($extcredits)) foreach($extcredits as $key => $value) { 
+$return .= <<<EOF
+<option value="{$key}">{$value['title']}</option>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</select>
+<span>鎶ュ悕娲诲姩闇€瑕佹敮浠樼殑绉�垎锛屼笉鍙�笌浜烘皯甯佺粍鍚堟敮浠�</span></dd>
+<dd id="use_cost_dd">
+<label>姣忎汉璐圭敤:</label>
+<input type="text" name="use_cost" id="use_cost" value="0" class="px" /> <span>鍏嶈垂璇峰~0</span> <input type="checkbox" name="eventpay" id="eventpay" class="pc" value="1" /> 鍚�敤鍦ㄧ嚎鏀�粯 <input type="checkbox" name="eventaa" id="eventaa" class="pc" value="1" 
+EOF;
+ if($setting['eventaa']) { 
+$return .= <<<EOF
+checked
+
+EOF;
+ } 
+$return .= <<<EOF
+/> AA (璐圭敤涓嶇‘瀹氭椂閫夋嫨)
+</dd>
+
+<script>
+function addcost() {
+$('gengduofeiyong').outerHTML = '<p style=" padding:5px 0px;">鍚嶇О锛�<input type="text" name="cost_name[]" value="" class="px"/> 璐圭敤:<input type="text" name="cost_price[]" value="0" style="width:40px;"/>鍏� 绉�垎:<input type="text" name="cost_credits[]" value="0" style="width:40px;"/> VIP浼樻儬:<input type="text" name="cost_youhui[]" value="" style="width:40px;"/>鍏� <a href="javascript:;" class="winfloor_d" onclick="delitem(this)">鍒犻櫎</a></p>' + $('gengduofeiyong').outerHTML;
+}
+</script>
+<dd id="morecost_dd">
+<label>澶氱�鎶ュ悕鏀惰垂:</label>
+<a href="javascript:;" onclick="addcost()" style="padding:3px 10px; background-color: #06C; color:#FFF;">+ 澧炲姞涓€椤�</a> (濡傦細鍎跨�璐圭敤銆佽€佷汉璐圭敤绛�)
+<div id="gengduofeiyong" style="padding-bottom:10px;">
+
+</div>
+</dd>
+
+<dd id="vip_discount_dd">
+<label>浼樻儬鏂瑰紡:</label>VIP浼樻儬<input name="vip_discount" type="text" class="px" id="vip_discount" value="{$setting['vip_discount']}" size="10" />鍏� ,鎵嬫満app鎶ュ悕浼樻儬 <input type="text" name="app_benefit" value="" class="px" size="10" />鍏�
+</dd>
+
+<dd id="baomingshijing_dd">
+<label>鎶ュ悕鎴��:<i>*</i></label>
+<input type="text" name="activitybegin" id="activitybegin" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="" tabindex="1" /> ~
+<input type="text" name="activityexpiration" id="activityexpiration" class="px" onclick="showcalendar(event, this, true)" autocomplete="off" value="" tabindex="1" />
+<span>娲诲姩鎶ュ悕鏃堕棿娈碉紝鍦ㄦ椂闂存�浠ュ�灏辨棤娉曟姤鍚�</span></dd>
+
+
+EOF;
+ if($_G['groupid']==1 ) { 
+$return .= <<<EOF
+
+<dd id="">
+<label>娲诲姩鎺掑簭:<i>*</i></label>
+<input type="text" name="eventorder" id="eventorder" class="px" value="0" />
+<span>鏁板€艰秺澶ц秺闈犲墠</span>
+</dd>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+
+<dd id="userfield_dd">
+<label>蹇呭~璧勬枡椤�:</label>
+EOF;
+ if(is_array($userfield)) foreach($userfield as $key => $val) { 
+$return .= <<<EOF
+<input type="checkbox" name="userfield[]" id="userfield_{$key}" class="pc" value="{$key}" 
+EOF;
+ if($activity[ 'ufield'][ 'userfield'] && in_array($key, $activity[ 'ufield'][ 'userfield'])) { 
+$return .= <<<EOF
+ checked="checked" 
+EOF;
+ } 
+$return .= <<<EOF
+ /> {$val}
+
+EOF;
+ } if(is_array($myuserfield)) foreach($myuserfield as $val) { 
+$return .= <<<EOF
+<input type="checkbox" name="myuserfield[]" id="myuserfield_{$val['id']}" class="pc" value="{$val['id']}" />{$val['title']}
+
+EOF;
+ } 
+$return .= <<<EOF
+
+
+<input type="checkbox" name="userfield[]" checked="checked" id="userfield_message" class="pc" value="bmmessage" /> 鐣欒█ </dd>
+<dd id="setting_dd">
+<label>璁剧疆閫夐」:</label>
+<input type="checkbox" name="noverify" id="noverify" class="pc" value="1" />鎶ュ悕涓嶅�鏍�
+<input type="checkbox" name="statements" id="statements" class="pc" value="1" />鎶ュ悕鏄剧ず娲诲姩澹版槑
+<input type="checkbox" name="seccode" id="seccode" class="pc" value="1" />鎶ュ悕楠岃瘉鐮�
+<input type="checkbox" name="reply" id="reply" class="pc" value="1" />鍥炲�鎵嶅彲鎶ュ悕
+<input type="checkbox" name="nodaibaoming" id="nodaibaoming" class="pc" value="1" />浠f姤鍚嶆棤闇€濉�祫鏂�
+<input type="checkbox" name="success_sms" id="success_sms" class="pc" value="1" />鎶ュ悕鎴愬姛鐭�俊
+</dd>
+<dd id="event_template_dd">
+<label>娲诲姩妯℃澘:</label>
+<select name="event_template" id="event_template" class="ps" onchange="getmb(this);">
+<option value="">閫夋嫨妯℃澘</option>
+EOF;
+ if(is_array($event_template)) foreach($event_template as $key => $value) { 
+$return .= <<<EOF
+<option value="{$value['1']}">{$value['0']}</option>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</select>
+
+EOF;
+ if($_G['groupid']==1) { 
+$return .= <<<EOF
+
+<a href="plugin.php?id=xj_event:event_template&amp;act=manage" target="_blank" style="color:#0066CC;">妯℃澘绠$悊</a>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</dd>
+<dd id="eventzy_enable_dd">
+<label>娲诲姩浣滀笟:</label>
+<input type="checkbox" name="eventzy_enable" id="eventzy_enable" class="pc" value="1" onclick="showblock('eventzy','eventzy_enable');" checked="checked" /> 鍚�敤
+<div style="padding:0px 10px 10px 10px;" id="eventzy">
+鏄剧ず鍚嶇О:
+<select name="eventzy_name" id="eventzy_name" class="ps">
+<option value="浣滀笟" selected="selected">浣滀笟</option>
+<option value="浣滃搧">浣滃搧</option>
+<option value="鍒嗕韩">鍒嗕韩</option>
+<option value="璁板綍">璁板綍</option>
+</select>
+
+EOF;
+ if($_G['cache']['plugin']['xj_event']['homeword_forum']) { 
+$return .= <<<EOF
+
+<input name="eventzy_fid" type="hidden" value="{$_G['cache']['plugin']['xj_event']['homeword_forum']}" />
+
+EOF;
+ } else { 
+$return .= <<<EOF
+
+鍙戣〃鐗堝潡:
+<select name="eventzy_fid" id="eventzy_fid" class="ps">
+<option value="0" selected="selected">閫夋嫨鐗堝潡...</option>
+{$forumlist}
+</select>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+
+鐢ㄦ埛鍙戣〃浣滀笟鏁伴檺鍒�:<input type="text" name="eventzy_xz" class="px" id="eventzy_xz" size="5" />
+</div>
+</dd>
+<dd id="event_admin_dd">
+<label>娲诲姩绠$悊鍛�:</label>
+<input type="text" name="event_admin" class="px" id="event_admin" /> <span>璇疯緭鍏ョ敤鎴峰悕锛屽�涓�敤鎴疯�鐢ㄢ€�,鈥濆彿鍒嗗紑</span> <input type="text" name="tel" value="" placeholder="娲诲姩鑱旂郴鐢佃瘽" />
+</dd>
+<dd id="sessionstr_dd">
+<label>娲诲姩鍦烘�:</label>
+<textarea name="sessionstr" id="sessionstr" style="width:300px; height:100px;"></textarea>
+<span>鏍煎紡濡� <a href="javascript:" onclick="$('sessionstr').value='1=涓婂崍鍦篭\r\\n2=涓嬪崍鍦�';">[鑼冧緥]</a></span>
+</dd>
+<dd id="activityaid_url_dd">
+<label>娲诲姩灏侀潰鍥�:</label>
+<input type="text" name="activityaid_url" id="activityaid_url" class="px" />
+<button type="button" class="pn" onclick="uploadWindow(function (aid, url){activityaid_upload(aid, url)})"><span>涓婁紶</span></button>
+<span>娣诲姞涓€寮犲ソ鐪嬬殑鍥剧墖锛岃�娲诲姩鏇村惛寮曚汉锛屽缓璁�ぇ灏�900*500</span>
+<input type="hidden" name="activityaid" id="activityaid" />
+
+</dd>
+<div id="activityattach_image"> </div>
+<dd id="additem_dd">
+<label>鏇村�璇存槑椤圭洰:</label>
+<a href="javascript:;" onclick="additem()" style="padding:3px 10px; background-color: #06C; color:#FFF;">+ 鏂板�涓€椤�</a>
+</dd>
+<dd id="item_hidden_dd">
+<p id="item_hidden" style="display:none;">
+椤圭洰鍚嶇О:<input name="setting_itemname[]" type="text" class="px" value="" /> 椤圭洰鍐呭�:<input name="setting_itemcontent[]" type="text" class="px" value="" />
+<a href="javascript:;" class="winfloor_d" onclick="delitem(this)">鍒犻櫎</a>
+</p>
+<span id="item_new"></span>
+</dd>
+<dd id="event_url_dd">
+<label>娲诲姩閾炬帴:</label>
+<input type="text" name="event_url" id="event_url" class="px" />
+</dd>
+</div>
+<div class="xjmain" id="event2"> </div>
+<script type="text/javascript" reload="1">
+function additem() {
+$('item_new').outerHTML = '<p>' + $('item_hidden').innerHTML + '</p>' + $('item_new').outerHTML;
+}
+
+function delitem(obj) {
+obj.parentNode.parentNode.removeChild(obj.parentNode);
+}
+additem();
+
+document.getElementById("event2").style.display = "none";
+//document.getElementById("sexxzdiv").style.display="none";
+document.getElementById("onlineclass_dd").style.display = "none";
+var tabindex = 1;
+
+function remenu(a) {
+tabindex = a;
+for(i = 1; i <= 3; i++) {
+if(i == a) {
+document.getElementById('xjmenu' + i).className = 'xjmenu_a';
+document.getElementById('postclass').value = i;
+} else {
+document.getElementById('xjmenu' + i).className = 'xjmenu_b';
+}
+}
+if(a == 2) {
+document.getElementById("onlineclass_dd").style.display = "block";
+document.getElementById("offlineclass_dd").style.display = "none";
+document.getElementById("event_address_dd").style.display = "none";
+document.getElementById("event_number_max_dd").style.display = "none";
+
+document.getElementById("citys_dd").style.display = "block";
+document.getElementById("event_address_dd").style.display = "block";
+document.getElementById("event_number_dd").style.display = "block";
+document.getElementById("event_number_max_dd").style.display = "block";
+document.getElementById("use_extcredits_num_dd").style.display = "block";
+document.getElementById("morecost_dd").style.display = "block";
+document.getElementById("vip_discount_dd").style.display = "block";
+document.getElementById("baomingshijing_dd").style.display = "block";
+document.getElementById("userfield_dd").style.display = "block";
+document.getElementById("setting_dd").style.display = "block";
+document.getElementById("event_template_dd").style.display = "block";
+document.getElementById("eventzy_enable_dd").style.display = "block";
+document.getElementById("event_admin_dd").style.display = "block";
+document.getElementById("sessionstr_dd").style.display = "block";
+document.getElementById("additem_dd").style.display = "block";
+document.getElementById("item_hidden_dd").style.display = "block";	
+}
+if(a == 1) {
+document.getElementById("onlineclass_dd").style.display = "none";
+document.getElementById("offlineclass_dd").style.display = "block";
+document.getElementById("event_address_dd").style.display = "block";
+document.getElementById("event_number_max_dd").style.display = "block";
+
+document.getElementById("citys_dd").style.display = "block";
+document.getElementById("event_address_dd").style.display = "block";
+document.getElementById("event_number_dd").style.display = "block";
+document.getElementById("event_number_max_dd").style.display = "block";
+document.getElementById("use_extcredits_num_dd").style.display = "block";
+document.getElementById("morecost_dd").style.display = "block";
+document.getElementById("vip_discount_dd").style.display = "block";
+document.getElementById("baomingshijing_dd").style.display = "block";
+document.getElementById("userfield_dd").style.display = "block";
+document.getElementById("setting_dd").style.display = "block";
+document.getElementById("event_template_dd").style.display = "block";
+document.getElementById("eventzy_enable_dd").style.display = "block";
+document.getElementById("event_admin_dd").style.display = "block";
+document.getElementById("sessionstr_dd").style.display = "block";
+document.getElementById("additem_dd").style.display = "block";
+document.getElementById("item_hidden_dd").style.display = "block";	
+}
+if(a == 3){
+document.getElementById("offlineclass_dd").style.display = "block";
+document.getElementById("onlineclass_dd").style.display="none";
+document.getElementById("citys_dd").style.display = "none";
+document.getElementById("event_address_dd").style.display = "none";
+document.getElementById("event_number_dd").style.display = "none";
+document.getElementById("event_number_max_dd").style.display = "none";
+document.getElementById("use_extcredits_num_dd").style.display = "none";
+document.getElementById("morecost_dd").style.display = "none";
+document.getElementById("vip_discount_dd").style.display = "none";
+document.getElementById("baomingshijing_dd").style.display = "none";
+document.getElementById("userfield_dd").style.display = "none";
+document.getElementById("setting_dd").style.display = "none";
+document.getElementById("event_template_dd").style.display = "none";
+document.getElementById("eventzy_enable_dd").style.display = "none";
+document.getElementById("event_admin_dd").style.display = "none";
+document.getElementById("sessionstr_dd").style.display = "none";
+document.getElementById("additem_dd").style.display = "none";
+document.getElementById("item_hidden_dd").style.display = "none";
+}
+
+}
+
+function showsexxz() {
+if(document.getElementById("sexxz").checked) {
+document.getElementById("sexxzdiv").style.display = "block";
+} else {
+document.getElementById("sexxzdiv").style.display = "none";
+}
+}
+
+function showblock(divname, checkname) {
+if(document.getElementById(checkname).checked) {
+document.getElementById(divname).style.display = "block";
+} else {
+document.getElementById(divname).style.display = "none";
+}
+}
+
+function updatecinemaattach(aid, url, attachurl) {
+$('activityaid').value = aid;
+$('activityattach_image').innerHTML = '<img src="' + attachurl + '/' + url + '" class="spimg" />';
+ATTACHORIMAGE = 1;
+}
+
+function activityaid_upload(aid, url) {
+$('activityaid_url').value = url;
+updatecinemaattach(aid, url, 'data/attachment/forum');
+}
+EXTRAFUNC['validator']['special'] = 'validateextra';
+
+function validateextra() {
+
+if($('postform').activitybegin.value == '' && tabindex != 3) {
+showDialog('璇峰~鍐欐姤鍚嶆椂闂�', 'alert', '', function() {
+$('postform').activitybegin.focus()
+});
+return false;
+}
+if($('postform').activityexpiration.value == '' && tabindex != 3) {
+showDialog('璇峰~鍐欐姤鍚嶆椂闂�', 'alert', '', function() {
+$('postform').activityexpiration.focus()
+});
+return false;
+}
+
+if($('postform').starttime.value == '') {
+showDialog('鎶辨瓑锛岃�杈撳叆娲诲姩寮€濮嬫椂闂�', 'alert', '', function() {
+$('postform').starttime.focus()
+});
+return false;
+}
+if($('postform').endtime.value == '') {
+showDialog('鎶辨瓑锛岃�杈撳叆娲诲姩缁撴潫鏃堕棿', 'alert', '', function() {
+$('postform').endtime.focus()
+});
+return false;
+}
+if($('postform').event_address.value == '' && $('postform').postclass.value == '1' && tabindex != 3) {
+showDialog('鎶辨瓑锛岃�杈撳叆娲诲姩鍦扮偣', 'alert', '', function() {
+$('postform').event_address.focus()
+});
+return false;
+}
+return true;
+}
+
+
+EOF;
+ if($_GET['postclass']==2) { 
+$return .= <<<EOF
+
+remenu(2);
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</script>
+
+
+EOF;
+?>

+ 42 - 0
data/template/3_xj_event_threadlist.tpl.php

xqd
@@ -0,0 +1,42 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('threadlist');?><?php include template('common/header'); ?><div>
+排序: <?php if($setting['vote']['openvote'] == 1) { ?><a href="plugin.php?id=xj_event:event_threadlist&amp;eid=<?php echo $eid;?>&amp;order=tp" ajaxtarget="event2_content" class="eventmenu_select">投票</a><?php } ?> <a href="plugin.php?id=xj_event:event_threadlist&amp;eid=<?php echo $eid;?>&amp;order=dj" ajaxtarget="event2_content" class="eventmenu_select">点击</a> <a href="plugin.php?id=xj_event:event_threadlist&amp;eid=<?php echo $eid;?>&amp;order=hf" ajaxtarget="event2_content" class="eventmenu_select">回复</a> <a href="plugin.php?id=xj_event:event_threadlist&amp;eid=<?php echo $eid;?>&amp;order=sj" ajaxtarget="event2_content" class="eventmenu_select">时间</a>
+</div>
+      <?php if(is_array($threadlist)) foreach($threadlist as $key => $value) { ?>      <div style=" height:80px; margin-right:10px; margin-top:10px; line-height:20px; text-align:center; border-bottom:1px dashed #d0d0d0">
+      <a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>" target="_blank">
+      <?php if(!empty($value['coverurl'])) { ?>
+      <img src="<?php echo $value['coverurl'];?>" height="65" width="65" style="float:left; margin-right:10px; border:4px solid #f0f0f0;" />
+      <?php } else { ?>
+      <img src="source/plugin/xj_event/images/nopic.jpg" height="65" width="65" style="float:left; margin-right:10px; border:4px solid #f0f0f0;" />
+      <?php } ?>
+      </a>
+      <div style="text-align:left; width:450px; float:left; padding-top:5px;">
+      <a href="forum.php?mod=viewthread&amp;tid=<?php echo $value['tid'];?>" target="_blank" style="font-family:'微软雅黑'; font-size:16px; font-weight:bold; color:<?php echo LINK;?>; line-height:18px;"><?php echo $value['subject'];?></a>&nbsp;
+      <br />
+      <br />
+      <span style="color:#5a5a5a;">查看: <b class="robgz"><?php echo $value['views'];?></b> 回复: <b class="robgz"><?php echo $value['replies'];?></b> 支持: <b class="robgz"><?php echo $value['recommend_add'];?></b> 发表于: <?php echo $value['strdateline'];?> </span>
+      </div>
+      <div style="float:left; width:70px; padding-top:20px;">
+      <?php if($setting['vote']['openvote'] == 1) { ?>
+      	<?php if($nowtime > $setting['vote']['votestarttime'] && $nowtime < $setting['vote']['voteendtime']) { ?>
+      	<a href="plugin.php?id=xj_event:event_vote&amp;tid=<?php echo $value['tid'];?>&amp;eid=<?php echo $eid;?>&amp;formhash=<?php echo $_G['formhash'];?>" onclick="ajaxmenu(this, 3000, 0, 0, '43');return false;" style=" display:inline-block;  width:69px; height:22px; background: url(source/plugin/xj_event/images/tp.png); line-height:22px;"></a>
+       	<?php } else { ?>
+        <img src="source/plugin/xj_event/images/tp_close.png" align="absmiddle" title="<?php if($nowtime < $setting['vote']['votestarttime']) { ?>投票未开始<?php } if($nowtime > $setting['vote']['voteendtime']) { ?>投票已结束<?php } ?>"/>
+        <?php } ?>
+        <br />
+      	票数:<b class="robgz"><?php echo $value['votes'];?></b>
+      <?php } ?>
+      </div>
+      <div style="width:58px; float:right; padding:0px 10px;"><div class="avt y"><a href="home.php?mod=space&amp;uid=<?php echo $value['authorid'];?>"><?php echo $value['avatar'];?></a></div><div style="width:100px; text-align:left;"><?php echo $value['author'];?></div></div>
+      </div>
+      <?php } ?>
+<div style="clear:both;"></div>
+<div style="clear:both; height:30px; padding-top:10px;">
+<div style="float:left; width:250px; height:30px; line-height:30px;">
+<?php if($myapply>0) { ?>
+<a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php if($setting['eventzy_fid']) { ?><?php echo $setting['eventzy_fid'];?><?php } else { ?><?php echo $fid;?><?php } ?>&amp;eid=<?php echo $eid;?>" target="_blank" class="eventmenu_select">+发表作业</a>
+<?php } ?>
+ 已有<b class="robgz"><?php echo $applynumber;?></b>人参加,<b class="robgz"><?php echo $listcount;?></b>个活动作业</div>
+<?php if($multipage) { ?>
+<?php echo $multipage;?>
+<?php } ?>
+</div><?php include template('common/footer'); ?>

+ 53 - 0
data/template/3_xj_event_userlist.tpl.php

xqd
@@ -0,0 +1,53 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('userlist');?><?php include template('common/header'); ?><div style="border-top:1px solid <?php echo $_G['style']['specialborder'];?>; border-left:1px solid <?php echo $_G['style']['specialborder'];?>;border-right:1px solid <?php echo $_G['style']['specialborder'];?>; height:38px;background-color:<?php echo $_G['style']['specialbg'];?>;">
+  <div class="<?php if(!$_GET['action']) { ?>ulmenu1<?php } else { ?>ulmenu2<?php } ?>" id="userlistmenu1" onclick="userlist_menu(1);">全部(<?php echo $allren;?>)</div>
+  <div class="<?php if($_GET['action'] == pass) { ?>ulmenu1<?php } else { ?>ulmenu2<?php } ?>" id="userlistmenu2" onclick="userlist_menu(2);">已通过(<?php echo $passren;?>)</div>
+  <div class="<?php if($_GET['action'] == nopass) { ?>ulmenu1<?php } else { ?>ulmenu2<?php } ?>" id="userlistmenu3" onclick="userlist_menu(3);">待审核(<?php echo $nopassren;?>)</div>
+</div>
+<?php if($_G['cache']['plugin']['xj_event']['event_showapply']) { ?>
+
+<table class="userlist" width="100%" border="0" cellspacing="0" cellpadding="0">
+  <tr>
+    <td style="border-right:0px; width:150px; background-color:<?php echo $_G['style']['commonbg'];?>;">用户名</td>
+    <td width="40" style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">好评</td>
+    <td width="40" style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">差评</td>
+    <td width="40" style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">放飞机</td>
+    <?php if($eventinfo['setting']['session']) { ?>
+    <td width="70" style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">活动场次</td>
+    <?php } ?>
+    <td style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">留言</td>
+    <td width="50" style="background-color:<?php echo $_G['style']['commonbg'];?>;">状态</td>
+  </tr>
+  <?php if(is_array($joinlist)) foreach($joinlist as $key => $value) { ?>  <tr>
+    <td style="text-align:left; padding-left:10px;"><a href="home.php?mod=space&amp;uid=<?php echo $value['uid'];?>"><?php echo $value['avatar'];?></a> <?php echo $value['username'];?>[<?php echo $value['applynumber'];?>人]</td>
+    <td><span style="color:#F30;"><?php echo $value['good'];?></span></td>
+    <td><span style="color:#06C;"><?php echo $value['bad'];?></span></td>
+    <td><span style="color:#096;"><?php echo $value['plane'];?></span></td>
+    <?php if($eventinfo['setting']['session']) { ?>
+    <td><?php echo $eventinfo['setting']['session'][$value['session']];?></td>
+    <?php } ?>
+    <td style="text-align:left; padding-left:10px;"><?php echo $value['bmmessage'];?></td>
+    <td><?php if($value['verify']==1) { ?><span style="color:#009900;">已审核</span><?php } else { ?><span style="color:#FF0000;">待审核</span><?php } ?></td>
+  </tr>
+  <?php } ?>
+</table>
+<div style="clear:both;"></div>
+
+
+
+<?php } else { ?>
+<div style=" border:1px solid <?php echo $_G['style']['specialborder'];?>; padding:10px;"><?php if(is_array($joinlist)) foreach($joinlist as $key => $value) { ?>      <div style="height:100px; width:50px; float:left; margin-right:10px; margin-top:10px; line-height:20px; text-align:center;">
+      <div class="avt y"><a href="home.php?mod=space&amp;uid=<?php echo $value['uid'];?>"><?php echo $value['avatar'];?></a></div>
+      <?php echo $value['username'];?><br />
+      (<?php echo $value['applynumber'];?>人)
+      </div>
+      <?php } ?>
+<div style="clear:both;"></div>
+</div>
+<?php } if($multipage) { ?>
+<div style="clear:both; height:30px; padding-top:5px;"><?php echo $multipage;?></div>
+<?php } ?>
+
+
+
+
+      <?php include template('common/footer'); ?>

+ 1220 - 0
data/template/3_xj_event_viewthread_event.tpl.php

xqd
@@ -0,0 +1,1220 @@
+<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?><?php
+$return = <<<EOF
+
+<style>
+.robgz {
+color:#fc4201;
+}
+.eventtitle {
+font-size:14px;
+font-family:'Microsoft YaHei';
+line-height:26px;
+font-weight:bold;
+color:#0092ff;
+}
+.xjmenu {
+height:32px;
+}
+.xjmenu_a {
+width:80px;
+line-height:32px;
+float:left;
+height:32px;
+text-align:center;
+border-top:{$_G['style']['specialborder']} 1px solid;
+border-left:{$_G['style']['specialborder']} 1px solid;
+border-right:{$_G['style']['specialborder']} 1px solid;
+border-bottom:{$_G['style']['wrapbg']} 1px solid;
+margin-left:10px;
+font-weight:bold;
+cursor:pointer;
+background-color:{$_G['style']['wrapbg']};
+margin-bottom:-1px;
+}
+.xjmenu_b {
+width:80px;
+line-height:32px;
+float:left;
+height:32px;
+text-align:center;
+margin-left:10px;
+cursor:pointer;
+background-color:{$_G['style']['specialbg']};
+border:{$_G['style']['specialborder']} 1px solid;
+margin-bottom:-1px;
+}
+.xjmain {
+border-top:{$_G['style']['specialborder']} 1px solid;
+padding:15px;
+margin-bottom:10px;
+}
+a.bm_btn {
+display:inline-block;
+width:200px;
+height:28px;
+text-align:center;
+background: #ee5816;
+padding-top:2px;
+color:#FFFFFF;
+border:#c03b00 solid 1px;
+font-size:15px;
+font-weight:bold;
+text-decoration:none;
+}
+a:hover.bm_btn {
+background-color:#c03b00;
+}
+a.bm_btn2 {
+display:inline-block;
+width:200px;
+height:28px;
+text-align:center;
+background: #d0d0d0;
+padding-top:2px;
+color:#666666;
+font-size:15px;
+font-weight:bold;
+text-decoration:none;
+}
+a.bm_btn3 {
+display:inline-block;
+width:200px;
+height:28px;
+text-align:center;
+background: #008f00;
+padding-top:2px;
+color:#ffffff;
+font-size:15px;
+font-weight:bold;
+text-decoration:none;
+}
+a.pay_btn{
+display:inline-block;
+width:200px;
+height:28px;
+text-align:center;
+background: #ee5816;
+padding-top:2px;
+color:#FFFFFF;
+border:#c03b00 solid 1px;
+font-size:15px;
+font-weight:bold;
+text-decoration:none;
+margin-top:10px;
+}
+a:hover.pay_btn {
+margin-top:10px;
+background-color:#c03b00;
+}
+
+a.eventmenu {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#777777;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+}
+a:hover.eventmenu {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#ffffff;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+background-color:#aaaaaa;
+}
+a.eventmenu_select {
+display:inline-block;
+padding:4px 6px 2px 6px;
+color:#ffffff;
+text-decoration:none;
+line-height:12px;
+margin-left:5px;
+background-color:#aaaaaa;
+}
+
+.jlpg {
+text-align:right;
+padding-right:10px;
+}
+.jlpg strong {
+display:inline-block;
+height:20px;
+width:20px;
+border:1px solid #CCCCCC;
+font-size:12px;
+text-align:center;
+margin-right:5px;
+background-color:#CCCCCC;
+color:#FFFFFF;
+}
+.jlpg a {
+display:inline-block;
+height:20px;
+width:20px;
+border:1px solid #CCCCCC;
+font-size:12px;
+text-align:center;
+margin-right:5px;
+}
+.userlist{ border-top:1px solid {$_G['style']['specialborder']}; border-left:1px solid {$_G['style']['specialborder']}; line-height:28px; text-align:center;}
+.userlist td{ border-bottom:1px {$_G['style']['specialborder']} solid;border-right:1px {$_G['style']['specialborder']} solid; padding:5px; background-color:#FFF;}
+.ulmenu1{ cursor:pointer; width:120px; height:32px; text-align:center; background-color:{$_G['style']['commonbg']}; margin-bottom:-1px; float:left; border-right:1px solid {$_G['style']['specialborder']}; font-size:14px; padding-top:7px;}
+.ulmenu2{ cursor:pointer; width:120px; height:31px; text-align:center; background-color:{$_G['style']['specialbg']}; float:left; border-right:1px solid {$_G['style']['specialborder']}; font-size:14px; padding-top:7px;}
+</style>
+
+EOF;
+ if($setting['project']['openproject']) { 
+$return .= <<<EOF
+
+<div style="line-height:40px;">
+<a href="plugin.php?id=xj_event:project_show&amp;tid={$tid}" target="_blank" style=" font-size:14px; height:50px; line-height:50px; background-color:#f4f4f4; text-align:center; border:1px solid #eee; display:block; margin-bottom:10px;">杩涘叆娲诲姩涓撻�</a>
+</div>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+
+<ul class="xjmenu">
+  <li class="xjmenu_a" onclick="remenu(1)" id="xjmenu1">娲诲姩浠嬬粛</li>
+  
+EOF;
+ if($setting['eventzy_enable']) { 
+$return .= <<<EOF
+
+  <li class="xjmenu_b" onclick="remenu(2)" id="xjmenu2">娲诲姩{$setting['eventzy_name']}</li>
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+  
+EOF;
+ if($hg) { 
+$return .= <<<EOF
+
+  <li class="xjmenu_b"><a href="forum.php?mod=viewthread&amp;tid={$hg['tid']}" target="_blank">娲诲姩鍥為【</a></li>
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+  
+EOF;
+ if($timestamp>=$items['starttime'] and $timestamp<=$items['endtime']) { 
+$return .= <<<EOF
+
+  <li style="width:100px;line-height:32px;float:left;height:32px;text-align:center;margin-left:10px;margin-top:-1px; background:url(source/plugin/xj_event/images/d.png) no-repeat 0px 7px; padding-left:10px;">鏈�椿鍔ㄨ繘琛屼腑</li>
+  
+EOF;
+ } elseif($timestamp>$items['endtime']) { 
+$return .= <<<EOF
+
+  <li style="width:100px;line-height:32px;float:left;height:32px;text-align:center;margin-left:10px;margin-top:-1px; background:url(source/plugin/xj_event/images/t.png) no-repeat 0px 7px; padding-left:10px;">鏈�椿鍔ㄥ凡缁撴潫</li>
+  
+EOF;
+ } elseif($timestamp<$items['starttime']) { 
+$return .= <<<EOF
+
+  <li style="width:100px;line-height:32px;float:left;height:32px;text-align:center;margin-left:10px;margin-top:-1px; background:url(source/plugin/xj_event/images/w.png) no-repeat 0px 7px; padding-left:10px;">鏈�椿鍔ㄦ湭寮€濮�</li>
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+</ul>
+
+<div style="clear:both;"></div>
+<div class="xjmain" id="event1">
+  
+EOF;
+ if($items['postclass']==1) { 
+$return .= <<<EOF
+
+  <div style="color:#777;line-height:26px; font-size:14px; font-family:'Microsoft YaHei'; width:320px; float:left;"> <span class="eventtitle">娲诲姩鏂瑰紡:</span> {$postclass}<br />
+    <span class="eventtitle">娲诲姩绫诲瀷:</span> {$eventclass['1']}<br />
+    <span class="eventtitle">娲诲姩鍦板尯:</span> {$items['province']}{$citys}<br />
+    <span class="eventtitle">寮€濮嬫椂闂�:</span> {$starttime}<br />
+    <span class="eventtitle">缁撴潫鏃堕棿:</span> {$endtime}<br />
+    <span class="eventtitle">娲诲姩鍦扮偣:</span> {$items['event_address']}<br />
+    <span class="eventtitle">娲诲姩绠$悊:</span> {$event_adminlist}<br />
+    <span class="eventtitle">鍙傚姞鍚嶉�:</span>
+    
+EOF;
+ if($items['event_number']==0) { 
+$return .= <<<EOF
+
+    涓嶉檺
+    
+EOF;
+ } else { 
+$return .= <<<EOF
+
+    <span class="robgz">{$items['event_number']} 浜�</span>
+    
+EOF;
+ } 
+$return .= <<<EOF
+
+    <br />
+    <span class="eventtitle">鎶ュ悕浜烘暟:</span> <span class="robgz">{$applycountnumber}</span> 浜� 寰呭�鏍� <span class="robgz">{$applycountnumberd}</span> 浜�<br />
+    
+EOF;
+ if($setting['cost']) { 
+$return .= <<<EOF
+
+    <span class="eventtitle">鍙傚姞璐圭敤:</span> <br />
+    
+EOF;
+ if(is_array($setting['cost'])) foreach($setting['cost'] as $value) { 
+$return .= <<<EOF
+    <div style="clear:both; height:30px;">
+    	<span style="padding:2px 8px; color:#FFF; background-color:#f6320c; border-radius:5px; margin-bottom:5px; float:left;">
+        	{$value['cost_name']}:{$value['cost_price']}鍏�
+EOF;
+ if($value['cost_credits']>0 && $items['use_extcredits']>0) { 
+$return .= <<<EOF
+鎴杮$value['cost_credits']}{$extcredit_title} 
+EOF;
+ } 
+$return .= <<<EOF
+
+            
+EOF;
+ if($value['cost_youhui'] !== '') { 
+$return .= <<<EOF
+
+            
+EOF;
+ $value[cost_youhui]=$value[cost_price]-$value[cost_youhui];
+$return .= <<<EOF
+            	
+EOF;
+ if($value['cost_youhui'] > 0) { 
+$return .= <<<EOF
+
+                	VIP浼樻儬浠�:{$value['cost_youhui']}鍏�
+                
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                	VIP浼樻儬浠�:鍏嶈垂
+                
+EOF;
+ } 
+$return .= <<<EOF
+
+            
+EOF;
+ } 
+$return .= <<<EOF
+
+        </span>
+    </div>
+    
+EOF;
+ } 
+$return .= <<<EOF
+
+    <div style="clear:both;"></div>
+    
+EOF;
+ } else { 
+$return .= <<<EOF
+
+    <span class="eventtitle">鍙傚姞璐圭敤:</span> 
+    	
+EOF;
+ if($setting['eventaa']) { 
+$return .= <<<EOF
+
+        AA 
+EOF;
+ if($items['use_cost']>0) { 
+$return .= <<<EOF
+{$items['use_cost']}鍏冨乏鍙�
+EOF;
+ } 
+$return .= <<<EOF
+
+        
+EOF;
+ } else { 
+$return .= <<<EOF
+
+        {$items['use_cost']} 鍏� 
+EOF;
+ if($items['use_extcredits_num']>0 && $items['use_extcredits']>0) { 
+$return .= <<<EOF
+鎴� {$items['use_extcredits_num']} {$extcredit_title}
+EOF;
+ } 
+$return .= <<<EOF
+
+        
+EOF;
+ } 
+$return .= <<<EOF
+<br />
+        
+EOF;
+ if($setting['vip_discount']!=='') { 
+$return .= <<<EOF
+
+        
+EOF;
+ $setting[vip_discount]=$items[use_cost]-$setting[vip_discount];
+$return .= <<<EOF
+        <span class="eventtitle">VIP浼樻儬浠�:</span> <span class="robgz">
+EOF;
+ if($setting['vip_discount']>0) { 
+$return .= <<<EOF
+{$setting['vip_discount']} 鍏�
+EOF;
+ } else { 
+$return .= <<<EOF
+鍏嶈垂
+EOF;
+ } 
+$return .= <<<EOF
+</span><br />
+        
+EOF;
+ } 
+$return .= <<<EOF
+
+    
+EOF;
+ } 
+$return .= <<<EOF
+
+
+    <span class="eventtitle">鎶ュ悕鎴��:</span> <span class="robgz">{$activityexpiration}</span><br />
+    
+    
+EOF;
+ if(is_array($setting['moreitem'])) foreach($setting['moreitem'] as $value) { 
+$return .= <<<EOF
+    	<span class="eventtitle">{$value['itemname']}:</span> {$value['itemcontent']}<br />
+    
+EOF;
+ } 
+$return .= <<<EOF
+
+    
+    <br />
+    <!--线下活动按钮-->
+    <!--条件当前时间小于(活动结束+30天)的时间-->
+    
+EOF;
+ if($timestamp<($items['endtime']+2592000)) { 
+$return .= <<<EOF
+
+    	<!--过了报名时间,没有报名的-->
+        
+EOF;
+ if($items['activityexpiration']<=$timestamp and $verify==null) { 
+$return .= <<<EOF
+
+            <a href="javascript:" class="bm_btn2" title="鎶ュ悕鎴��">鎶ュ悕鎴��</a>
+        
+EOF;
+ } else { 
+$return .= <<<EOF
+    
+            
+EOF;
+ if(!$_G['uid']) { 
+$return .= <<<EOF
+
+                <a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href);return false;" class="bm_btn2" title="璇风櫥褰曞悗鎶ュ悕锛�">鎴戣�鍙傚姞(璇风櫥褰�)</a>
+            
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                
+EOF;
+ if($items['activitybegin']<$timestamp and $items['activityexpiration']>$timestamp and $verify==null) { 
+$return .= <<<EOF
+
+                	
+EOF;
+ if(!$setting['invitation']['open'] || ($setting['invitation']['open'] && $setting['invitation']['code'] == $_GET['icode'])) { 
+$return .= <<<EOF
+
+                    	
+EOF;
+ if($bmbtnshow) { 
+$return .= <<<EOF
+
+                        	
+EOF;
+ if($setting['onlyappbymejoin']) { 
+$return .= <<<EOF
+
+                            <a href="javascript:" onclick="showDialog('璇蜂笅杞芥墜鏈篈PP瀹㈡埛绔�姤鍚�','confirm','','parent.location.href=\'{$_G['cache']['plugin']['xj_event']['appurl']}\'');" class="bm_btn">鎴戣�鍙傚姞</a>
+                            
+EOF;
+ } elseif($setting['onlysubscribeweixin'] && $weixinsubscribe!=1) { 
+$return .= <<<EOF
+
+                            <a href="javascript:" onclick="showDialog('璇峰厛鍏虫敞寰�俊鍙峰啀鎶ュ悕','confirm','','parent.location.href=\'{$_G['cache']['plugin']['xj_event']['weixinurl']}\'');" class="bm_btn">鎴戣�鍙傚姞</a>
+                            
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                            <a href="javascript:" onclick="document.getElementById('eventjoin_iframe').src='plugin.php?id=xj_event:event_join&tid={$tid}';showDialog($('eventjoin').innerHTML, 'info', '鎴戣�鍙傚姞');" class="bm_btn">鎴戣�鍙傚姞</a>
+                            
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+EOF;
+ if($setting['reply'] && $replys<1) { 
+$return .= <<<EOF
+
+                        	<a href="javascript:" class="bm_btn2">鍥炲�鍚庡彲浠ユ姤鍚�</a>
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                    
+EOF;
+ } 
+$return .= <<<EOF
+
+                
+EOF;
+ } elseif($items['activitybegin']>$timestamp and $verify==null) { 
+$return .= <<<EOF
+
+                	<a href="javascript:" class="bm_btn2">鎶ュ悕杩樻湭寮€濮�</a>
+                
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                    
+EOF;
+ if($verify==0) { 
+$return .= <<<EOF
+
+                    	
+EOF;
+ if(!$pay_state) { 
+$return .= <<<EOF
+
+                    			<a href="javascript:" onclick="showDialog($('canceljoin').innerHTML, 'info', '鍙栨秷鎶ュ悕')" class="bm_btn">鍙栨秷鎶ュ悕</a>
+                                <a href="javascript:" onclick="document.getElementById('modifyjoin_iframe').src='plugin.php?id=xj_event:event_join_modify&tid={$tid}';showDialog($('modifyjoin').innerHTML, 'info', '淇�敼鎶ュ悕璧勬枡');" class="bm_btn" style="margin-top:10px;">淇�敼鎶ュ悕璧勬枡</a>
+                    	
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+EOF;
+ if($setting['eventpay']) { 
+$return .= <<<EOF
+
+                        	
+EOF;
+ if($pay_state) { 
+$return .= <<<EOF
+
+                        		<a href="javascript:" class="pay_btn" style="background-color:#06C; border:#06C;">璐圭敤宸蹭粯寰呭�鏍�</a>
+                            
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                            	<a href="plugin.php?id=xj_event:event_pay&amp;tid={$items['tid']}" class="pay_btn">鏀�粯璐圭敤</a>
+                            
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                    
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                    	
+EOF;
+ if($setting['eventzy_enable']) { 
+$return .= <<<EOF
+
+                        <a href="forum.php?mod=post&amp;action=newthread&amp;fid=
+EOF;
+ if($setting['eventzy_fid']) { 
+$return .= <<<EOF
+{$setting['eventzy_fid']}
+EOF;
+ } else { 
+$return .= <<<EOF
+{$_G['fid']}
+EOF;
+ } 
+$return .= <<<EOF
+&amp;eid={$items['eid']}" class="bm_btn3" title="鎭�枩锛佹偍鐨勬姤鍚嶅凡琚��鏍搁€氳繃锛岀幇鍦ㄥ彲浠ュ彂琛ㄦ椿鍔ㄤ綔涓氫簡锛�">鍙戣〃娲诲姩{$setting['eventzy_name']}</a>
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                    	
+EOF;
+ if($setting['canceljoin']==1 && $items['activityexpiration']>$timestamp) { 
+$return .= <<<EOF
+
+                    			<a href="javascript:" onclick="showDialog($('canceljoin').innerHTML, 'info', '鍙栨秷鎶ュ悕')" class="bm_btn" style="margin-top:10px;">鍙栨秷鎶ュ悕</a>
+                                <a href="javascript:" onclick="document.getElementById('modifyjoin_iframe').src='plugin.php?id=xj_event:event_join_modify&tid={$tid}';showDialog($('modifyjoin').innerHTML, 'info', '淇�敼鎶ュ悕璧勬枡');" class="bm_btn" style="margin-top:10px;">淇�敼鎶ュ悕璧勬枡</a>
+                    	
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+                        
+EOF;
+ if($setting['seccode']) { 
+$return .= <<<EOF
+
+                        	<div>
+                            	鎮ㄥ凡鎴愬姛鎶ュ悕娲诲姩锛屾姤鍚嶉獙璇佺爜:<span class="robgz">{$apply['seccode']}</span>
+                            </div>
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                    
+EOF;
+ } 
+$return .= <<<EOF
+ 
+                
+EOF;
+ } 
+$return .= <<<EOF
+    
+            
+EOF;
+ } 
+$return .= <<<EOF
+
+        
+EOF;
+ } 
+$return .= <<<EOF
+
+    
+EOF;
+ } 
+$return .= <<<EOF
+
+    <!--线下活动按钮end-->
+    
+    </div>
+  <div style="width:360px; float:right; text-align:center; padding-top:10px;"><img src="{$imgurl}" width="360" /></div>
+
+EOF;
+ } elseif($items['postclass']==2) { 
+$return .= <<<EOF
+
+<div style="color:#777;line-height:26px; font-size:14px; font-family:'Microsoft YaHei'; width:320px; float:left;"> <span class="eventtitle">娲诲姩鏂瑰紡:</span> {$postclass}<br />
+  <span class="eventtitle">娲诲姩绫诲瀷:</span> {$eventclass['1']}<br />
+    <span class="eventtitle">寮€濮嬫椂闂�:</span> {$starttime}<br />
+    <span class="eventtitle">缁撴潫鏃堕棿:</span> {$endtime}<br />
+  <span class="eventtitle">娲诲姩鍦板尯:</span> {$items['province']}{$citys}<br />
+  
+EOF;
+ if($items['use_extcredits_num']>0) { 
+$return .= <<<EOF
+
+  <span class="eventtitle">鍙備笌绉�垎:</span> {$items['use_extcredits_num']} {$extcredit_title}<br />
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+  <span class="eventtitle">鍙傚姞浜烘暟:</span>
+  
+EOF;
+ if($items['event_number']==0) { 
+$return .= <<<EOF
+
+  涓嶉檺
+  
+EOF;
+ } else { 
+$return .= <<<EOF
+
+  <span class="robgz">{$items['event_number']} 浜�</span>
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+  <br />
+  <span class="eventtitle">鎶ュ悕浜烘暟:</span> <span class="robgz">{$applycountnumber}</span> 浜� 寰呭�鏍� <span class="robgz">{$applycountnumberd}</span> 浜�<br />
+  
+EOF;
+ if($setting['cost']) { 
+$return .= <<<EOF
+
+  <span class="eventtitle">鍙傚姞璐圭敤:</span> 
+EOF;
+ if(is_array($setting['cost'])) foreach($setting['cost'] as $value) { 
+$return .= <<<EOF
+{$value['cost_name']}{$value['cost_price']}鍏� 
+EOF;
+ } 
+$return .= <<<EOF
+<br />
+  
+EOF;
+ } else { 
+$return .= <<<EOF
+
+  <span class="eventtitle">鍙傚姞璐圭敤:</span> {$items['use_cost']} 鍏�<br />
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+  
+EOF;
+ if($setting['vip_discount']) { 
+$return .= <<<EOF
+
+  <span class="eventtitle">VIP浼樻儬浠�:</span> <span class="robgz">{$setting['vip_discount']}鎶�</span><br />
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+  <span class="eventtitle">鎶ュ悕鎴��:</span> <span class="robgz">{$activityexpiration}</span><br />
+  
+    
+EOF;
+ if(is_array($setting['moreitem'])) foreach($setting['moreitem'] as $value) { 
+$return .= <<<EOF
+    	<span class="eventtitle">{$value['itemname']}:</span> {$value['itemcontent']}<br />
+    
+EOF;
+ } 
+$return .= <<<EOF
+
+  
+  
+  <br />
+    <!--线上活动按钮-->
+    <!--条件当前时间小于(活动结束)的时间-->
+    
+EOF;
+ if($timestamp<$items['endtime']) { 
+$return .= <<<EOF
+
+    	<!--过了报名时间,没有报名的-->
+        
+EOF;
+ if($items['activityexpiration']<=$timestamp and $verify==null) { 
+$return .= <<<EOF
+
+            <a href="javascript:" class="bm_btn2" title="鎶ュ悕鎴��">鎶ュ悕鎴��</a>
+        
+EOF;
+ } else { 
+$return .= <<<EOF
+   
+            
+EOF;
+ if(!$_G['uid']) { 
+$return .= <<<EOF
+
+                <a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href);return false;" class="bm_btn2" title="璇风櫥褰曞悗鎶ュ悕锛�">鎴戣�鍙傚姞(璇风櫥褰�)</a>
+            
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                
+EOF;
+ if($items['activitybegin']<$timestamp and $items['activityexpiration']>$timestamp and $verify==null) { 
+$return .= <<<EOF
+
+                	
+EOF;
+ if(!$setting['invitation']['open'] || ($setting['invitation']['open'] && $setting['invitation']['code'] == $_GET['icode'])) { 
+$return .= <<<EOF
+
+                        
+EOF;
+ if($bmbtnshow) { 
+$return .= <<<EOF
+
+                        <a href="javascript:" onclick="document.getElementById('eventjoin_iframe').src='plugin.php?id=xj_event:event_join&tid={$tid}';showDialog($('eventjoin').innerHTML, 'info', '鎴戣�鍙傚姞');" class="bm_btn">鎴戣�鍙傚姞</a>
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+EOF;
+ if($setting['reply'] && $replys<1) { 
+$return .= <<<EOF
+
+                        	<a href="javascript:" class="bm_btn2">鍥炲�鍚庡彲浠ユ姤鍚�</a>
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                    
+EOF;
+ } 
+$return .= <<<EOF
+
+                
+EOF;
+ } elseif($items['activitybegin']>$timestamp and $verify==null) { 
+$return .= <<<EOF
+
+                	<a href="javascript:" class="bm_btn2">鎶ュ悕杩樻湭寮€濮�</a>
+                
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                    
+EOF;
+ if($verify==0) { 
+$return .= <<<EOF
+
+                    	
+EOF;
+ if(!$pay_state) { 
+$return .= <<<EOF
+
+                    			<a href="javascript:" onclick="showDialog($('canceljoin').innerHTML, 'info', '鍙栨秷鎶ュ悕')" class="bm_btn">鍙栨秷鎶ュ悕</a>
+                                <a href="javascript:" onclick="document.getElementById('modifyjoin_iframe').src='plugin.php?id=xj_event:event_join_modify&tid={$tid}';showDialog($('modifyjoin').innerHTML, 'info', '淇�敼鎶ュ悕璧勬枡');" class="bm_btn" style="margin-top:10px;">淇�敼鎶ュ悕璧勬枡</a>
+                    	
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+EOF;
+ if($setting['eventpay']) { 
+$return .= <<<EOF
+
+                        	
+EOF;
+ if($pay_state) { 
+$return .= <<<EOF
+
+                        		<a href="javascript:" class="pay_btn" style="background-color:#06C; border:#06C;">璐圭敤宸蹭粯寰呭�鏍�</a>
+                            
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                            	<a href="plugin.php?id=xj_event:event_pay&amp;tid={$items['tid']}" class="pay_btn">鏀�粯璐圭敤</a>
+                            
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                    
+EOF;
+ } else { 
+$return .= <<<EOF
+
+                        <a href="forum.php?mod=post&amp;action=newthread&amp;fid=
+EOF;
+ if($setting['eventzy_fid']) { 
+$return .= <<<EOF
+{$setting['eventzy_fid']}
+EOF;
+ } else { 
+$return .= <<<EOF
+{$_G['fid']}
+EOF;
+ } 
+$return .= <<<EOF
+&amp;eid={$items['eid']}" class="bm_btn3" title="鎭�枩锛佹偍鐨勬姤鍚嶅凡琚��鏍搁€氳繃锛岀幇鍦ㄥ彲浠ュ彂琛ㄦ椿鍔ㄤ綔涓氫簡锛�">鍙戣〃娲诲姩{$setting['eventzy_name']}</a>
+                    	
+EOF;
+ if($setting['canceljoin']==1 && $items['activityexpiration']>$timestamp) { 
+$return .= <<<EOF
+
+                    			<a href="javascript:" onclick="showDialog($('canceljoin').innerHTML, 'info', '鍙栨秷鎶ュ悕')" class="bm_btn" style="margin-top:10px;">鍙栨秷鎶ュ悕</a>
+                                <a href="javascript:" onclick="document.getElementById('modifyjoin_iframe').src='plugin.php?id=xj_event:event_join_modify&tid={$tid}';showDialog($('modifyjoin').innerHTML, 'info', '淇�敼鎶ュ悕璧勬枡');" class="bm_btn" style="margin-top:10px;">淇�敼鎶ュ悕璧勬枡</a>
+                    	
+EOF;
+ } 
+$return .= <<<EOF
+
+                        
+EOF;
+ if($setting['seccode']) { 
+$return .= <<<EOF
+
+                        	<div>
+                            	鎮ㄥ凡鎴愬姛鎶ュ悕娲诲姩锛屾姤鍚嶉獙璇佺爜:<span class="robgz">{$apply['seccode']}</span>
+                            </div>
+                        
+EOF;
+ } 
+$return .= <<<EOF
+
+                    
+EOF;
+ } 
+$return .= <<<EOF
+ 
+                
+EOF;
+ } 
+$return .= <<<EOF
+    
+            
+EOF;
+ } 
+$return .= <<<EOF
+
+        
+EOF;
+ } 
+$return .= <<<EOF
+
+    
+EOF;
+ } 
+$return .= <<<EOF
+
+    <!--线上活动按钮end-->
+   
+   
+   
+   
+   </div>
+   
+   
+<div style="width:360px; float:right; text-align:center; padding-top:10px;"><img src="{$imgurl}" width="360"/></div>
+
+EOF;
+ } if($items['verify'] == 1) { 
+$return .= <<<EOF
+
+<img src="source/plugin/xj_event/images/rz.png" border="0" style="position:absolute; margin-top:100px; margin-left:290px;"/>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</div>
+
+
+
+<div class="xjmain" id="event2">
+<div style="color:#CCCCCC;">
+</div>
+<div id="event2_content">
+</div>
+</div>
+
+
+<script type="text/javascript">
+$('event2').style.display="none";
+function remenu(a){
+if(a == 2){
+ajaxget('plugin.php?id=xj_event:event_threadlist&eid={$items['eid']}&fid={$_G['fid']}','event2_content','','','','');
+}
+for(i=1;i<=2;i++){
+
+EOF;
+ if(!$setting['eventzy_enable']) { 
+$return .= <<<EOF
+
+if(i==2){
+continue;
+}
+
+EOF;
+ } 
+$return .= <<<EOF
+
+if(i==a){
+$('event'+i).style.display="block";
+$('xjmenu'+i).className='xjmenu_a';
+//document.getElementById('xjmenu'+i).className='xjmenu_a'; 
+//document.getElementById('postclass').value=i;
+}else{
+$('event'+i).style.display="none";
+$('xjmenu'+i).className='xjmenu_b';
+//document.getElementById('xjmenu'+i).className='xjmenu_b';
+}
+}
+}
+function userlist_menu(a){
+for(i=1;i<=3;i++){
+if(i==a){
+$('userlistmenu'+i).className='ulmenu1';
+}else{
+$('userlistmenu'+i).className='ulmenu2';
+}
+}
+if(a==1){
+ajaxget('plugin.php?id=xj_event:event_userlist&tid={$_GET['tid']}','joinlist_content');
+}else if(a==2){
+ajaxget('plugin.php?id=xj_event:event_userlist&tid={$_GET['tid']}&action=pass','joinlist_content');
+}else if(a==3){
+ajaxget('plugin.php?id=xj_event:event_userlist&tid={$_GET['tid']}&action=nopass','joinlist_content');
+}
+
+}
+
+
+</script>
+
+
+
+
+
+EOF;
+ if($_G['uid'] == $_G['thread']['authorid'] or $_G['groupid']==1 or $event_admin) { if($setting['seccode']) { 
+$return .= <<<EOF
+
+<div style="clear:both; height:20px;"></div>
+<div style="line-height:26px;"><span class="robgz">娲诲姩鍏ュ満鍒搁獙璇�:</span></div>
+<div style=" background-color:#e5edf2; border:1px solid #c2d5e3; padding:30px; margin-bottom:10px; text-align:center;">
+
+EOF;
+ if($setting['nodaibaoming']) { 
+$return .= <<<EOF
+
+<form name="checkseccode" method="post" action="plugin.php?id=xj_event:event_join_single&amp;action=checkseccode&amp;eid={$items['eid']}&amp;tid={$tid}" target="_blank">
+
+EOF;
+ } else { 
+$return .= <<<EOF
+
+<form name="checkseccode" method="post" action="plugin.php?id=xj_event:event_join&amp;action=checkseccode&amp;eid={$items['eid']}&amp;tid={$tid}" target="_blank">
+
+EOF;
+ } 
+$return .= <<<EOF
+
+<input type="hidden" name="formhash" value="{$_G['formhash']}" />
+鎶ュ悕楠岃瘉鐮�:<input name="seccode" type="text" class="px" /> <button type="submit" name="checksubmit" class="pn pnc vm"><strong>楠岃瘉</strong></button>
+</form>
+</div>
+
+EOF;
+ } } if($setting['invitation']['open'] && ($_G['uid'] == $_G['thread']['authorid'] or $_G['groupid']==1 or $event_admin) ) { 
+$return .= <<<EOF
+
+<div style="clear:both; margin-bottom:10px; height:10px;"></div>
+<div style="padding:20px; border:1px solid #e5e5e5; background-color:#fcfcfc;">
+閭€璇锋姤鍚嶉摼鎺�: <input type="text" value="{$_G['setting']['siteurl']}/forum.php?mod=viewthread&tid={$tid}&icode={$setting['invitation']['code']}" id="fe_text" style="width:340px;" /> <button id="d_clip_button" class="my_clip_button" data-clipboard-target="fe_text"><b>澶嶅埗鍒板壀璐存澘</b></button>
+</div>
+<script src="source/plugin/xj_event/js/ZeroClipboard.js" type="text/javascript"></script>
+<script type="text/javascript">
+// 定义一个新的复制对象
+var clip = new ZeroClipboard( document.getElementById("d_clip_button"), {
+  moviePath: "source/plugin/xj_event/js/ZeroClipboard.swf"
+} );
+
+// 复制内容到剪贴板成功后的操作
+clip.on( 'complete', function(client, args) {
+   alert("澶嶅埗鎴愬姛");
+} );
+</script>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+
+
+<div style="clear:both; height:10px;"></div>
+<div style=" margin-bottom:10px;" id='joinlist_content'></div>
+
+
+
+
+
+EOF;
+ if($_G['uid'] == $_G['thread']['authorid'] or $_G['groupid']==1 or $event_admin) { 
+$return .= <<<EOF
+
+<div style=" border-bottom:1px dashed #bbbbbb; clear:both;"></div>
+<div style="color:#777;line-height:32px; padding-left:10px;"> <span class="robgz">娲诲姩绠$悊: </span> 
+<a href="javascript:" id="menu3" class="eventmenu" onclick="showWindow('setting', 'plugin.php?id=xj_event:event_setting&tid={$tid}')">娲诲姩璁剧疆</a>
+<a href="plugin.php?id=xj_event:event_joinmanage&amp;tid={$tid}" id="menu1" class="eventmenu" target="_blank">鎶ュ悕绠$悊</a>
+<a href="javascript:" id="menu2" class="eventmenu" onclick="showWindow('accessmanage', 'plugin.php?id=xj_event:event_accessmanage&tid={$tid}')" title="瀵瑰弬鍔犳椿鍔ㄤ細鍛樿繘琛岃瘎浠�">璇勪环绠$悊</a>
+
+EOF;
+ if($setting['eventzy_enable']) { 
+$return .= <<<EOF
+
+<a href="plugin.php?id=xj_event:event_zymanage&amp;eid={$items['eid']}" target="_blank" class="eventmenu" title="鎶婅创瀛愬叧鑱斿埌娲诲姩{$setting['eventzy_name']}">鍏宠仈{$setting['eventzy_name']}</a>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+<a href="javascript:" id="menu4" class="eventmenu" onclick="showWindow('applymessage', 'plugin.php?id=xj_event:event_message&tid={$tid}')" title="瀵瑰弬鍔犳椿鍔ㄤ細鍛樿繘琛岀兢鍙戞秷鎭�拰鎻愰啋鐨勫姛鑳�">閫氱煡鎻愰啋</a>
+<a href="javascript:" id="menu4" class="eventmenu" onclick="showWindow('applysms', 'plugin.php?id=xj_event:event_sms&tid={$tid}')" title="瀵瑰弬鍔犳椿鍔ㄤ細鍛樿繘琛岀兢鍙戞秷鎭�拰鎻愰啋鐨勫姛鑳�">鐭�俊缇ゅ彂</a>
+<a href="forum.php?mod=post&amp;action=newthread&amp;fid={$_G['fid']}&amp;eid={$items['eid']}&amp;sort=1" id="menu5" class="eventmenu" title="鍙戣〃鏈��娲诲姩鐨勫洖椤捐创">娲诲姩鍥為【</a>
+  
+EOF;
+ if($_G['groupid']==1) { 
+$return .= <<<EOF
+
+  
+EOF;
+ if($items['verify'] == 0) { 
+$return .= <<<EOF
+
+  <a href="plugin.php?id=xj_event:event_rz&amp;tid={$tid}&amp;action=confirm&amp;formhash={$_G['formhash']}" id="menu5" class="eventmenu">璁よ瘉娲诲姩</a>
+  
+EOF;
+ } else { 
+$return .= <<<EOF
+
+  <a href="plugin.php?id=xj_event:event_rz&amp;tid={$tid}&amp;action=cancel&amp;formhash={$_G['formhash']}" id="menu5" class="eventmenu">鍙栨秷璁よ瘉</a>
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+  
+EOF;
+ } 
+$return .= <<<EOF
+
+<a href="plugin.php?id=xj_event:project_setting&amp;tid={$tid}" id="menu6" class="eventmenu" title="鍙戣〃鏈��娲诲姩鐨勫洖椤捐创">璁剧疆涓撻�</a>
+<a href="plugin.php?id=xj_event:lottery_setting&amp;act=cjsz&amp;tid={$tid}" id="menu7" class="eventmenu" title="娲诲姩鎶藉�">娲诲姩鎶藉�</a>
+</div>
+
+EOF;
+ } 
+$return .= <<<EOF
+
+<div style=" border-bottom:1px dashed #bbbbbb; clear:both; margin-bottom:10px;"></div>
+<div id="canceljoin" style="display:none">
+  <div style="width:300px; height:70px; text-align:center; line-height:60px; font-weight:bold; font-size:14px;"> 鏄�惁鍙栨秷鎶ュ悕锛� </div>
+  <em class="xi1" id="return_canceljoin"></em>
+  <div class="o pns">
+    <button type="submit" class="pn pnc" onclick="ajaxget('plugin.php?id=xj_event:event_join&tid={$tid}&action=cannel&formhash={$_G['formhash']}', 'return_canceljoin', 'return_canceljoin','','','cancelfull()');"><span>纭�畾</span></button>
+  </div>
+</div>
+
+<script type="text/javascript">
+function verifyform(){
+
+EOF;
+ if($setting['session']) { 
+$return .= <<<EOF
+
+if($('activity').session.value == ''){
+alert('鎶ュ悕椤硅�濉�啓瀹屾暣锛�');
+return false;
+}
+
+EOF;
+ } if(is_array($selectuserfield)) foreach($selectuserfield as $fieldid) { if($_G['cache']['profilesetting'][$fieldid]['formtype'] == 'checkbox') { 
+$return .= <<<EOF
+
+if($('activity').{$fieldid}.checked == false){
+alert('鎶ュ悕椤硅�濉�啓瀹屾暣锛�');
+return false;
+}
+
+EOF;
+ } else { 
+$return .= <<<EOF
+
+if($('activity').{$fieldid}.value == ''){
+alert('鎶ュ悕椤硅�濉�啓瀹屾暣锛�');
+return false;
+}
+
+EOF;
+ } } 
+$return .= <<<EOF
+
+
+return true;
+}
+  
+  
+  
+function gbcount(message) 
+{ 
+var max; 
+max = 70; 
+if (message.value.length > max) { 
+message.value = message.value.substring(0,max); 
+$('remain').innerHTML = 0; 
+showDialog('娑堟伅涓嶈兘瓒呰繃70涓�瓧绗︼紒', 'alert', '');
+}else{
+$('remain').innerHTML = max - message.value.length; 
+} 
+}
+function cancelfull(){
+showDialog('鍙栨秷鎴愬姛锛�', 'right', '', 'location.href="'+window.location.href+'"');
+}
+
+function succeedhandle_activityapplies(locationhref, message) {
+showDialog(message, 'right', '', 'location.href="' + locationhref + '"');
+}
+
+EOF;
+ if(!empty($_GET['menu'])) { 
+$return .= <<<EOF
+
+remenu({$_GET['menu']});
+
+EOF;
+ } 
+$return .= <<<EOF
+
+</script>
+<script language="javascript">
+ajaxget('plugin.php?id=xj_event:event_userlist&tid={$_GET['tid']}','joinlist_content');
+</script>
+
+<div id="eventjoin" style="display:none">
+<iframe id="eventjoin_iframe" width="500" height="400" frameborder="0" src=""></iframe>
+</div>
+<div id="modifyjoin" style="display:none">
+<iframe id="modifyjoin_iframe" width="500" height="400" frameborder="0" src=""></iframe>
+</div>
+
+EOF;
+?>

+ 0 - 130
data/template/5_5_common_footer.tpl.php

xqd
@@ -1,130 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
-	</div>
-<?php if(empty($topic) || ($topic['usefooter'])) { $focusid = getfocus_rand($_G[basescript]);?><?php if($focusid !== null) { $focus = $_G['cache']['focus']['data'][$focusid];?><?php $focusnum = count($_G['setting']['focus'][$_G[basescript]]);?><div class="focus" id="sitefocus">
-<div class="bm">
-<div class="bm_h cl">
-<a href="javascript:;" onclick="setcookie('nofocus_<?php echo $_G['basescript'];?>', 1, <?php echo $_G['cache']['focus']['cookie'];?>*3600);$('sitefocus').style.display='none'" class="y" title="关闭">关闭</a>
-<h2>
-<?php if($_G['cache']['focus']['title']) { ?><?php echo $_G['cache']['focus']['title'];?><?php } else { ?>站长推荐<?php } ?>
-<span id="focus_ctrl" class="fctrl"><img src="<?php echo IMGDIR;?>/pic_nv_prev.gif" alt="上一条" title="上一条" id="focusprev" class="cur1" onclick="showfocus('prev');" /> <em><span id="focuscur"></span>/<?php echo $focusnum;?></em> <img src="<?php echo IMGDIR;?>/pic_nv_next.gif" alt="下一条" title="下一条" id="focusnext" class="cur1" onclick="showfocus('next')" /></span>
-</h2>
-</div>
-<div class="bm_c" id="focus_con">
-</div>
-</div>
-</div><?php $focusi = 0;?><?php if(is_array($_G['setting']['focus'][$_G['basescript']])) foreach($_G['setting']['focus'][$_G['basescript']] as $id) { ?><div class="bm_c" style="display: none" id="focus_<?php echo $focusi;?>">
-<dl class="xld cl bbda">
-<dt><a href="<?php echo $_G['cache']['focus']['data'][$id]['url'];?>" class="xi2" target="_blank"><?php echo $_G['cache']['focus']['data'][$id]['subject'];?></a></dt>
-<?php if($_G['cache']['focus']['data'][$id]['image']) { ?>
-<dd class="m"><a href="<?php echo $_G['cache']['focus']['data'][$id]['url'];?>" target="_blank"><img src="<?php echo $_G['cache']['focus']['data'][$id]['image'];?>" alt="<?php echo $_G['cache']['focus']['data'][$id]['subject'];?>" /></a></dd>
-<?php } ?>
-<dd><?php echo $_G['cache']['focus']['data'][$id]['summary'];?></dd>
-</dl>
-<p class="ptn cl"><a href="<?php echo $_G['cache']['focus']['data'][$id]['url'];?>" class="xi2 y" target="_blank">查看 &raquo;</a></p>
-</div><?php $focusi ++;?><?php } ?>
-<script type="text/javascript">
-var focusnum = <?php echo $focusnum;?>;
-if(focusnum < 2) {
-$('focus_ctrl').style.display = 'none';
-}
-if(!$('focuscur').innerHTML) {
-var randomnum = parseInt(Math.round(Math.random() * focusnum));
-$('focuscur').innerHTML = Math.max(1, randomnum);
-}
-showfocus();
-var focusautoshow = window.setInterval('showfocus(\'next\', 1);', 5000);
-</script>
-<?php } if($_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1) { ?>
-<div class="focus patch" id="patch_notice"></div>
-<?php } ?><?php echo adshow("footerbanner/wp a_f/1");?><?php echo adshow("footerbanner/wp a_f/2");?><?php echo adshow("footerbanner/wp a_f/3");?><?php echo adshow("float/a_fl/1");?><?php echo adshow("float/a_fr/2");?><?php echo adshow("couplebanner/a_fl a_cb/1");?><?php echo adshow("couplebanner/a_fr a_cb/2");?><?php echo adshow("cornerbanner/a_cn");?><?php if(!empty($_G['setting']['pluginhooks']['global_footer'])) echo $_G['setting']['pluginhooks']['global_footer'];?>
-<div id="ft" class="wp cl">
-<div id="flk" class="y">
-<p>
-<?php if($_G['setting']['site_qq']) { ?><a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo $_G['setting']['site_qq'];?>&amp;site=<?php echo $_G['setting']['bbname'];?>&amp;menu=yes&amp;from=discuz" target="_blank" title="QQ"><img src="<?php echo IMGDIR;?>/site_qq.jpg" alt="QQ" /></a><span class="pipe">|</span><?php } if(is_array($_G['setting']['footernavs'])) foreach($_G['setting']['footernavs'] as $nav) { if($nav['available'] && ($nav['type'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1)) ||
-!$nav['type'] && ($nav['id'] == 'stat' && $_G['group']['allowstatdata'] || $nav['id'] == 'report' && $_G['uid'] || $nav['id'] == 'archiver' || $nav['id'] == 'mobile' || $nav['id'] == 'darkroom'))) { ?><?php echo $nav['code'];?><span class="pipe">|</span><?php } } ?>
-<strong><a href="<?php echo $_G['setting']['siteurl'];?>" target="_blank"><?php echo $_G['setting']['sitename'];?></a></strong>
-<?php if($_G['setting']['icp']) { ?>( <a href="http://www.miitbeian.gov.cn/" target="_blank"><?php echo $_G['setting']['icp'];?></a> )<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['global_footerlink'])) echo $_G['setting']['pluginhooks']['global_footerlink'];?>
-<?php if($_G['setting']['statcode']) { ?><?php echo $_G['setting']['statcode'];?><?php } ?>
-</p>
-<p class="xs0">
-GMT<?php echo $_G['timenow']['offset'];?>, <?php echo $_G['timenow']['time'];?>
-<span id="debuginfo">
-<?php if(debuginfo()) { ?>, Processed in <?php echo $_G['debuginfo']['time'];?> second(s), <?php echo $_G['debuginfo']['queries'];?> queries
-<?php if($_G['gzipcompress']) { ?>, Gzip On<?php } if(C::memory()->type) { ?>, <?php echo C::memory()->type; ?> On<?php } ?>.
-<?php } ?>
-</span>
-</p>
-</div>
-<div id="frt">
-<p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?php echo $_G['setting']['version'];?></em><?php if(!empty($_G['setting']['boardlicensed'])) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?php echo $_SERVER['HTTP_HOST'];?>" target="_blank">Licensed</a><?php } ?></p>
-<p class="xs0">&copy; 2001-2017 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p>
-</div><?php updatesession();?><?php if($_G['uid'] && $_G['group']['allowinvisible']) { ?>
-<script type="text/javascript">
-var invisiblestatus = '<?php if($_G['session']['invisible']) { ?>隐身<?php } else { ?>在线<?php } ?>';
-var loginstatusobj = $('loginstatusid');
-if(loginstatusobj != undefined && loginstatusobj != null) loginstatusobj.innerHTML = invisiblestatus;
-</script>
-<?php } ?>
-</div>
-<?php } if(!$_G['setting']['bbclosed'] && !$_G['member']['freeze'] && !$_G['member']['groupexpiry']) { if($_G['uid'] && !isset($_G['cookie']['checkpm'])) { ?>
-<script src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=<?php echo $_G['timestamp'];?>" type="text/javascript"></script>
-<?php } if($_G['uid'] && helper_access::check_module('follow') && !isset($_G['cookie']['checkfollow'])) { ?>
-<script src="home.php?mod=spacecp&ac=follow&op=checkfeed&rand=<?php echo $_G['timestamp'];?>" type="text/javascript"></script>
-<?php } if(!isset($_G['cookie']['sendmail'])) { ?>
-<script src="home.php?mod=misc&ac=sendmail&rand=<?php echo $_G['timestamp'];?>" type="text/javascript"></script>
-<?php } if($_G['uid'] && $_G['member']['allowadmincp'] == 1 && !isset($_G['cookie']['checkpatch'])) { ?>
-<script src="misc.php?mod=patch&action=checkpatch&rand=<?php echo $_G['timestamp'];?>" type="text/javascript"></script>
-<?php } } if($_GET['diy'] == 'yes') { if(check_diy_perm($topic) && (empty($do) || $do != 'index')) { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>common_diy.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script src="<?php echo $_G['setting']['jspath'];?>portal_diy<?php if(!check_diy_perm($topic, 'layout')) { ?>_data<?php } ?>.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php } if($space['self'] && CURMODULE == 'space' && $do == 'index') { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>common_diy.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script src="<?php echo $_G['setting']['jspath'];?>space_diy.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php } } if($_G['uid'] && $_G['member']['allowadmincp'] == 1 && empty($_G['cookie']['pluginnotice'])) { ?>
-<div class="focus plugin" id="plugin_notice"></div>
-<script type="text/javascript">pluginNotice();</script>
-<?php } if(!$_G['setting']['bbclosed'] && !$_G['member']['freeze'] && !$_G['member']['groupexpiry'] && $_G['setting']['disableipnotice'] != 1 && $_G['uid'] && !empty($_G['cookie']['lip'])) { ?>
-<div class="focus plugin" id="ip_notice"></div>
-<script type="text/javascript">ipNotice();</script>
-<?php } if($_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G['uid']]) || $_G['cookie']['promptstate_'.$_G['uid']] != $_G['member']['newprompt']) && $_GET['do'] != 'notice') { ?>
-<script type="text/javascript">noticeTitle();</script>
-<?php } if(($_G['member']['newpm'] || $_G['member']['newprompt']) && empty($_G['cookie']['ignore_notice'])) { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>html5notification.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script type="text/javascript">
-var h5n = new Html5notification();
-if(h5n.issupport()) {
-<?php if($_G['member']['newpm'] && $_GET['do'] != 'pm') { ?>
-h5n.shownotification('pm', '<?php echo $_G['siteurl'];?>home.php?mod=space&do=pm', '<?php echo avatar($_G[uid],small,true);?>', '新的短消息', '有新的短消息,快去看看吧');
-<?php } if($_G['member']['newprompt'] && $_GET['do'] != 'notice') { if(is_array($_G['member']['category_num'])) foreach($_G['member']['category_num'] as $key => $val) { $noticetitle = lang('template', 'notice_'.$key);?>h5n.shownotification('notice_<?php echo $key;?>', '<?php echo $_G['siteurl'];?>home.php?mod=space&do=notice&view=<?php echo $key;?>', '<?php echo avatar($_G[uid],small,true);?>', '<?php echo $noticetitle;?> (<?php echo $val;?>)', '有新的提醒,快去看看吧');
-<?php } } ?>
-}
-</script>
-<?php } userappprompt();?><?php if($_G['basescript'] != 'userapp') { ?>
-<div id="scrolltop">
-<?php if($_G['fid'] && $_G['mod'] == 'viewthread') { ?>
-<span><a href="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;page=<?php echo $page;?><?php if($_GET['from']) { ?>&amp;from=<?php echo $_GET['from'];?><?php } ?>" onclick="showWindow('reply', this.href)" class="replyfast" title="快速回复"><b>快速回复</b></a></span>
-<?php } ?>
-<span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>返回顶部</b></a></span>
-<?php if($_G['fid']) { ?>
-<span>
-<?php if($_G['mod'] == 'viewthread') { ?>
-<a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $_G['fid'];?>" hidefocus="true" class="returnlist" title="返回列表"><b>返回列表</b></a>
-<?php } else { ?>
-<a href="forum.php" hidefocus="true" class="returnboard" title="返回论坛"><b>返回论坛</b></a>
-<?php } ?>
-</span>
-<?php } ?>
-</div>
-<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
-<?php } if(isset($_G['makehtml'])) { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>html2dynamic.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<script type="text/javascript">
-var html_lostmodify = <?php echo TIMESTAMP;?>;
-htmlGetUserStatus();
-<?php if(isset($_G['htmlcheckupdate'])) { ?>
-htmlCheckUpdate();
-<?php } ?>
-</script>
-<?php } output();?></body>
-</html>

+ 0 - 13
data/template/5_5_common_header_diynav.tpl.php

xqd
@@ -1,13 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?><?php
-$__STATICURL = STATICURL;$diynav = <<<EOF
-
-<a id="diy-tg" href="javascript:openDiy();" title="打开 DIY 面板" class="xi1 xw1" onmouseover="showMenu(this.id)"><img src="{$__STATICURL}image/diy/panel-toggle.png" alt="DIY" /></a>
-<div id="diy-tg_menu" style="display: none;">
-<ul>
-<li><a href="javascript:saveUserdata('diy_advance_mode', '');openDiy();" class="xi2">简洁模式</a></li>
-<li><a href="javascript:saveUserdata('diy_advance_mode', '1');openDiy();" class="xi2">高级模式</a></li>
-</ul>
-</div>
-
-EOF;
-?>

+ 0 - 249
data/template/5_5_common_header_group_index.tpl.php

xqd
@@ -1,249 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); 
-0
-|| checktplrefresh('./template/default/common/header.htm', './template/default/common/header_common.htm', 1523429417, '5', './data/template/5_5_common_header_group_index.tpl.php', './template/week_touch', 'common/header_group_index')
-|| checktplrefresh('./template/default/common/header.htm', './template/default/common/header_qmenu.htm', 1523429417, '5', './data/template/5_5_common_header_group_index.tpl.php', './template/week_touch', 'common/header_group_index')
-|| checktplrefresh('./template/default/common/header.htm', './template/default/common/pubsearchform.htm', 1523429417, '5', './data/template/5_5_common_header_group_index.tpl.php', './template/week_touch', 'common/header_group_index')
-;?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
-<?php if($_G['config']['output']['iecompatible']) { ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE<?php echo $_G['config']['output']['iecompatible'];?>" /><?php } ?>
-<title><?php if(!empty($navtitle)) { ?><?php echo $navtitle;?> - <?php } if(empty($nobbname)) { ?> <?php echo $_G['setting']['bbname'];?> - <?php } ?> Powered by Discuz!</title>
-<?php echo $_G['setting']['seohead'];?>
-
-<meta name="keywords" content="<?php if(!empty($metakeywords)) { echo dhtmlspecialchars($metakeywords); } ?>" />
-<meta name="description" content="<?php if(!empty($metadescription)) { echo dhtmlspecialchars($metadescription); ?> <?php } if(empty($nobbname)) { ?>,<?php echo $_G['setting']['bbname'];?><?php } ?>" />
-<meta name="generator" content="Discuz! <?php echo $_G['setting']['version'];?>" />
-<meta name="author" content="Discuz! Team and Comsenz UI Team" />
-<meta name="copyright" content="2001-2017 Comsenz Inc." />
-<meta name="MSSmartTagsPreventParsing" content="True" />
-<meta http-equiv="MSThemeCompatible" content="Yes" />
-<base href="<?php echo $_G['siteurl'];?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_5_common.css?<?php echo VERHASH;?>" /><link rel="stylesheet" type="text/css" href="data/cache/style_5_group_index.css?<?php echo VERHASH;?>" /><?php if($_G['uid'] && isset($_G['cookie']['extstyle']) && strpos($_G['cookie']['extstyle'], TPLDIR) !== false) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['cookie']['extstyle'];?>/style.css" /><?php } elseif($_G['style']['defaultextstyle']) { ?><link rel="stylesheet" id="css_extstyle" type="text/css" href="<?php echo $_G['style']['defaultextstyle'];?>/style.css" /><?php } ?><script type="text/javascript">var STYLEID = '<?php echo STYLEID;?>', STATICURL = '<?php echo STATICURL;?>', IMGDIR = '<?php echo IMGDIR;?>', VERHASH = '<?php echo VERHASH;?>', charset = '<?php echo CHARSET;?>', discuz_uid = '<?php echo $_G['uid'];?>', cookiepre = '<?php echo $_G['config']['cookie']['cookiepre'];?>', cookiedomain = '<?php echo $_G['config']['cookie']['cookiedomain'];?>', cookiepath = '<?php echo $_G['config']['cookie']['cookiepath'];?>', showusercard = '<?php echo $_G['setting']['showusercard'];?>', attackevasive = '<?php echo $_G['config']['security']['attackevasive'];?>', disallowfloat = '<?php echo $_G['setting']['disallowfloat'];?>', creditnotice = '<?php if($_G['setting']['creditnotice']) { ?><?php echo $_G['setting']['creditnames'];?><?php } ?>', defaultstyle = '<?php echo $_G['style']['defaultextstyle'];?>', REPORTURL = '<?php echo $_G['currenturl_encode'];?>', SITEURL = '<?php echo $_G['siteurl'];?>', JSPATH = '<?php echo $_G['setting']['jspath'];?>', CSSPATH = '<?php echo $_G['setting']['csspath'];?>', DYNAMICURL = '<?php echo $_G['dynamicurl'];?>';</script>
-<script src="<?php echo $_G['setting']['jspath'];?>common.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php if(empty($_GET['diy'])) { $_GET['diy'] = '';?><?php } if(!isset($topic)) { $topic = array();?><?php } ?>
-<meta name="application-name" content="<?php echo $_G['setting']['bbname'];?>" />
-<meta name="msapplication-tooltip" content="<?php echo $_G['setting']['bbname'];?>" />
-<?php if($_G['setting']['portalstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['1']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G['siteurl'].'portal.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/portal.ico" /><?php } ?>
-<meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['2']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G['siteurl'].'forum.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/bbs.ico" />
-<?php if($_G['setting']['groupstatus']) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['3']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G['siteurl'].'group.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/group.ico" /><?php } if(helper_access::check_module('feed')) { ?><meta name="msapplication-task" content="name=<?php echo $_G['setting']['navs']['4']['navname'];?>;action-uri=<?php echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G['siteurl'].'home.php'; ?>;icon-uri=<?php echo $_G['siteurl'];?><?php echo IMGDIR;?>/home.ico" /><?php } if($_G['basescript'] == 'forum' && $_G['setting']['archiver']) { ?>
-<link rel="archives" title="<?php echo $_G['setting']['bbname'];?>" href="<?php echo $_G['siteurl'];?>archiver/" />
-<?php } if(!empty($rsshead)) { ?><?php echo $rsshead;?><?php } if(widthauto()) { ?>
-<link rel="stylesheet" id="css_widthauto" type="text/css" href='<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_widthauto.css?<?php echo VERHASH;?>' />
-<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
-<?php } if($_G['basescript'] == 'forum' || $_G['basescript'] == 'group') { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>forum.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php } elseif($_G['basescript'] == 'home' || $_G['basescript'] == 'userapp') { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>home.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php } elseif($_G['basescript'] == 'portal') { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>portal.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php } if($_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
-<script src="<?php echo $_G['setting']['jspath'];?>portal.js?<?php echo VERHASH;?>" type="text/javascript"></script>
-<?php } if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { ?>
-<link rel="stylesheet" type="text/css" id="diy_common" href="<?php echo $_G['setting']['csspath'];?><?php echo STYLEID;?>_css_diy.css?<?php echo VERHASH;?>" />
-<?php } ?>
-</head>
-
-<body id="nv_<?php echo $_G['basescript'];?>" class="pg_<?php echo CURMODULE;?><?php if($_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)) { ?> <?php echo $cat['bodycss'];?><?php } ?>" onkeydown="if(event.keyCode==27) return false;">
-<div id="append_parent"></div><div id="ajaxwaitid"></div>
-<?php if($_GET['diy'] == 'yes' && check_diy_perm($topic)) { include template('common/header_diy'); } if(check_diy_perm($topic)) { include template('common/header_diynav'); } if(CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)) { ?>
-<?php echo $diynav;?>
-<?php } if(empty($topic) || $topic['useheader']) { if($_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')) { ?>
-<div class="xi1 bm bm_c">
-    请选择 <a href="<?php echo $_G['siteurl'];?>forum.php?mobile=yes">进入手机版</a> <span class="xg1">|</span> <a href="<?php echo $_G['setting']['mobile']['nomobileurl'];?>">继续访问电脑版</a>
-</div>
-<?php } if($_G['setting']['shortcut'] && $_G['member']['credits'] >= $_G['setting']['shortcut']) { ?>
-<div id="shortcut">
-<span><a href="javascript:;" id="shortcutcloseid" title="关闭">关闭</a></span>
-您经常访问 <?php echo $_G['setting']['bbname'];?>,试试添加到桌面,访问更方便!
-<a href="javascript:;" id="shortcuttip">添加 <?php echo $_G['setting']['bbname'];?> 到桌面</a>
-
-</div>
-<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
-<?php } ?>
-<div id="toptb" class="cl">
-<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_top'])) echo $_G['setting']['pluginhooks']['global_cpnav_top'];?>
-<div class="wp">
-<div class="z"><?php if(is_array($_G['setting']['topnavs']['0'])) foreach($_G['setting']['topnavs']['0'] as $nav) { if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><?php echo $nav['code'];?><?php } } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_extra1'])) echo $_G['setting']['pluginhooks']['global_cpnav_extra1'];?>
-</div>
-<div class="y">
-<a id="switchblind" href="javascript:;" onclick="toggleBlind(this)" title="开启辅助访问" class="switchblind">开启辅助访问</a>
-<?php if(!empty($_G['setting']['pluginhooks']['global_cpnav_extra2'])) echo $_G['setting']['pluginhooks']['global_cpnav_extra2'];?><?php if(is_array($_G['setting']['topnavs']['1'])) foreach($_G['setting']['topnavs']['1'] as $nav) { if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><?php echo $nav['code'];?><?php } } if(empty($_G['disabledwidthauto']) && $_G['setting']['switchwidthauto']) { ?>
-<a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="<?php if(widthauto()) { ?>切换到窄版<?php } else { ?>切换到宽版<?php } ?>" class="switchwidth"><?php if(widthauto()) { ?>切换到窄版<?php } else { ?>切换到宽版<?php } ?></a>
-<?php } if($_G['uid'] && !empty($_G['style']['extstyle'])) { ?><a id="sslct" href="javascript:;" onmouseover="delayShow(this, function() {showMenu({'ctrlid':'sslct','pos':'34!'})});">切换风格</a><?php } if(check_diy_perm($topic)) { ?>
-<?php echo $diynav;?>
-<?php } ?>
-</div>
-</div>
-</div>
-
-<?php if(!IS_ROBOT) { if($_G['uid']) { ?>
-<ul id="myprompt_menu" class="p_pop" style="display: none;">
-<li><a href="home.php?mod=space&amp;do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news<?php if(empty($_G['member']['newpm'])) { ?>_0<?php } ?>"></em>消息</a></li>
-<li><a href="home.php?mod=follow&amp;do=follower"><em class="prompt_follower<?php if(empty($_G['member']['newprompt_num']['follower'])) { ?>_0<?php } ?>"></em>新听众<?php if($_G['member']['newprompt_num']['follower']) { ?>(<?php echo $_G['member']['newprompt_num']['follower'];?>)<?php } ?></a></li>
-<?php if($_G['member']['newprompt'] && $_G['member']['newprompt_num']['follow']) { ?>
-<li><a href="home.php?mod=follow"><em class="prompt_concern"></em>我关注的(<?php echo $_G['member']['newprompt_num']['follow'];?>)</a></li>
-<?php } if($_G['member']['newprompt']) { if(is_array($_G['member']['category_num'])) foreach($_G['member']['category_num'] as $key => $val) { ?><li><a href="home.php?mod=space&amp;do=notice&amp;view=<?php echo $key;?>"><em class="notice_<?php echo $key;?>"></em><?php echo lang('template', 'notice_'.$key); ?>(<span class="rq"><?php echo $val;?></span>)</a></li>
-<?php } } if(empty($_G['cookie']['ignore_notice'])) { ?>
-<li class="ignore_noticeli"><a href="javascript:;" onclick="setcookie('ignore_notice', 1);hideMenu('myprompt_menu')" title="暂不提醒"><em class="ignore_notice"></em></a></li>
-<?php } ?>
-</ul>
-<?php } if($_G['uid'] && !empty($_G['style']['extstyle'])) { ?>
-<div id="sslct_menu" class="cl p_pop" style="display: none;">
-<?php if(!$_G['style']['defaultextstyle']) { ?><span class="sslct_btn" onclick="extstyle('')" title="默认"><i></i></span><?php } if(is_array($_G['style']['extstyle'])) foreach($_G['style']['extstyle'] as $extstyle) { ?><span class="sslct_btn" onclick="extstyle('<?php echo $extstyle['0'];?>')" title="<?php echo $extstyle['1'];?>"><i style='background:<?php echo $extstyle['2'];?>'></i></span>
-<?php } ?>
-</div>
-<?php } if($_G['uid']) { ?>
-<ul id="myitem_menu" class="p_pop" style="display: none;">
-<li><a href="forum.php?mod=guide&amp;view=my">帖子</a></li>
-<li><a href="home.php?mod=space&amp;do=favorite&amp;view=me">收藏</a></li>
-<li><a href="home.php?mod=space&amp;do=friend">好友</a></li>
-<?php if(!empty($_G['setting']['pluginhooks']['global_myitem_extra'])) echo $_G['setting']['pluginhooks']['global_myitem_extra'];?>
-</ul>
-<?php } ?><div id="qmenu_menu" class="p_pop <?php if(!$_G['uid']) { ?>blk<?php } ?>" style="display: none;">
-<?php if(!empty($_G['setting']['pluginhooks']['global_qmenu_top'])) echo $_G['setting']['pluginhooks']['global_qmenu_top'];?>
-<?php if($_G['uid']) { ?>
-<ul class="cl nav"><?php if(is_array($_G['setting']['mynavs'])) foreach($_G['setting']['mynavs'] as $nav) { if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?>
-<li><?php echo $nav['code'];?></li>
-<?php } } ?>
-</ul>
-<?php } elseif($_G['connectguest']) { ?>
-<div class="ptm pbw hm">
-请先<br /><a class="xi2" href="member.php?mod=connect"><strong>完善帐号信息</strong></a> 或 <a href="member.php?mod=connect&amp;ac=bind" class="xi2 xw1"><strong>绑定已有帐号</strong></a><br />后使用快捷导航
-</div>
-<?php } else { ?>
-<div class="ptm pbw hm">
-请 <a href="javascript:;" class="xi2" onclick="lsSubmit()"><strong>登录</strong></a> 后使用快捷导航<br />没有帐号?<a href="member.php?mod=<?php echo $_G['setting']['regname'];?>" class="xi2 xw1"><?php echo $_G['setting']['reglinkname'];?></a>
-</div>
-<?php } if($_G['setting']['showfjump']) { ?><div id="fjump_menu" class="btda"></div><?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['global_qmenu_bottom'])) echo $_G['setting']['pluginhooks']['global_qmenu_bottom'];?>
-</div><?php } ?><?php echo adshow("headerbanner/wp a_h");?><div id="hd">
-<div class="wp">
-<div class="hdc cl"><?php $mnid = getcurrentnav();?><h2><?php if(!isset($_G['setting']['navlogos'][$mnid])) { ?><a href="<?php if($_G['setting']['domain']['app']['default']) { ?>http://<?php echo $_G['setting']['domain']['app']['default'];?>/<?php } else { ?>./<?php } ?>" title="<?php echo $_G['setting']['bbname'];?>"><?php echo $_G['style']['boardlogo'];?></a><?php } else { ?><?php echo $_G['setting']['navlogos'][$mnid];?><?php } ?></h2><?php include template('common/header_userstatus'); ?></div>
-
-<div id="nv">
-<a href="javascript:;" id="qmenu" onmouseover="delayShow(this, function () {showMenu({'ctrlid':'qmenu','pos':'34!','ctrlclass':'a','duration':2});showForummenu(<?php echo $_G['fid'];?>);})">快捷导航</a>
-<ul><?php if(is_array($_G['setting']['navs'])) foreach($_G['setting']['navs'] as $nav) { if($nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))) { ?><li <?php if($mnid == $nav['navid']) { ?>class="a" <?php } ?><?php echo $nav['nav'];?>></li><?php } } ?>
-</ul>
-<?php if(!empty($_G['setting']['pluginhooks']['global_nav_extra'])) echo $_G['setting']['pluginhooks']['global_nav_extra'];?>
-</div>
-<?php if(!empty($_G['setting']['plugins']['jsmenu'])) { ?>
-<ul class="p_pop h_pop" id="plugin_menu" style="display: none"><?php if(is_array($_G['setting']['plugins']['jsmenu'])) foreach($_G['setting']['plugins']['jsmenu'] as $module) { ?> <?php if(!$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])) { ?>
- <li><?php echo $module['url'];?></li>
- <?php } } ?>
-</ul>
-<?php } ?>
-<?php echo $_G['setting']['menunavs'];?>
-<div id="mu" class="cl">
-<?php if($_G['setting']['subnavs']) { if(is_array($_G['setting']['subnavs'])) foreach($_G['setting']['subnavs'] as $navid => $subnav) { if($_G['setting']['navsubhover'] || $mnid == $navid) { ?>
-<ul class="cl <?php if($mnid == $navid) { ?>current<?php } ?>" id="snav_<?php echo $navid;?>" style="display:<?php if($mnid != $navid) { ?>none<?php } ?>">
-<?php echo $subnav;?>
-</ul>
-<?php } } } ?>
-</div><?php echo adshow("subnavbanner/a_mu");?><?php if($_G['setting']['search']) { $slist = array();?><?php if($_G['fid'] && $_G['forum']['status'] != 3 && $mod != 'group') { ?><?php
-$slist[forumfid] = <<<EOF
-<li><a href="javascript:;" rel="curforum" fid="{$_G['fid']}" >本版</a></li>
-EOF;
-?><?php } if($_G['setting']['portalstatus'] && $_G['setting']['search']['portal']['status'] && ($_G['group']['allowsearch'] & 1 || $_G['adminid'] == 1)) { ?><?php
-$slist[portal] = <<<EOF
-<li><a href="javascript:;" rel="article">文章</a></li>
-EOF;
-?><?php } if($_G['setting']['search']['forum']['status'] && ($_G['group']['allowsearch'] & 2 || $_G['adminid'] == 1)) { ?><?php
-$slist[forum] = <<<EOF
-<li><a href="javascript:;" rel="forum" class="curtype">帖子</a></li>
-EOF;
-?><?php } if(helper_access::check_module('blog') && $_G['setting']['search']['blog']['status'] && ($_G['group']['allowsearch'] & 4 || $_G['adminid'] == 1)) { ?><?php
-$slist[blog] = <<<EOF
-<li><a href="javascript:;" rel="blog">日志</a></li>
-EOF;
-?><?php } if(helper_access::check_module('album') && $_G['setting']['search']['album']['status'] && ($_G['group']['allowsearch'] & 8 || $_G['adminid'] == 1)) { ?><?php
-$slist[album] = <<<EOF
-<li><a href="javascript:;" rel="album">相册</a></li>
-EOF;
-?><?php } if($_G['setting']['groupstatus'] && $_G['setting']['search']['group']['status'] && ($_G['group']['allowsearch'] & 16 || $_G['adminid'] == 1)) { ?><?php
-$slist[group] = <<<EOF
-<li><a href="javascript:;" rel="group">{$_G['setting']['navs']['3']['navname']}</a></li>
-EOF;
-?><?php } ?><?php
-$slist[user] = <<<EOF
-<li><a href="javascript:;" rel="user">用户</a></li>
-EOF;
-?>
-<?php } if($_G['setting']['search'] && $slist) { ?>
-<div id="scbar" class="<?php if($_G['setting']['srchhotkeywords'] && count($_G['setting']['srchhotkeywords']) > 5) { ?>scbar_narrow <?php } ?>cl">
-<form id="scbar_form" method="<?php if($_G['fid'] && !empty($searchparams['url'])) { ?>get<?php } else { ?>post<?php } ?>" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="<?php if($_G['fid'] && !empty($searchparams['url'])) { ?><?php echo $searchparams['url'];?><?php } else { ?>search.php?searchsubmit=yes<?php } ?>" target="_blank">
-<input type="hidden" name="mod" id="scbar_mod" value="search" />
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<input type="hidden" name="srchtype" value="title" />
-<input type="hidden" name="srhfid" value="<?php echo $_G['fid'];?>" />
-<input type="hidden" name="srhlocality" value="<?php echo $_G['basescript'];?>::<?php echo CURMODULE;?>" />
-<?php if(!empty($searchparams['params'])) { if(is_array($searchparams['params'])) foreach($searchparams['params'] as $key => $value) { $srchotquery .= '&' . $key . '=' . rawurlencode($value);?><input type="hidden" name="<?php echo $key;?>" value="<?php echo $value;?>" />
-<?php } ?>
-<input type="hidden" name="source" value="discuz" />
-<input type="hidden" name="fId" id="srchFId" value="<?php echo $_G['fid'];?>" />
-<input type="hidden" name="q" id="cloudsearchquery" value="" />
-
-<style>
-#scbar { overflow: visible; position: relative; }
-#sg{ background: #FFF; width:456px; border: 1px solid #B2C7DA; }
-.scbar_narrow #sg { width: 316px; }
-#sg li { padding:0 8px; line-height:30px; font-size:14px; }
-#sg li span { color:#999; }
-.sml { background:#FFF; cursor:default; }
-.smo { background:#E5EDF2; cursor:default; }
-            </style>
-            <div style="display: none; position: absolute; top:37px; left:44px;" id="sg">
-                <div id="st_box" cellpadding="2" cellspacing="0"></div>
-            </div>
-<?php } ?>
-<table cellspacing="0" cellpadding="0">
-<tr>
-<td class="scbar_icon_td"></td>
-<td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="请输入搜索内容" autocomplete="off" x-webkit-speech speech /></td>
-<td class="scbar_type_td"><a href="javascript:;" id="scbar_type" class="xg1" onclick="showMenu(this.id)" hidefocus="true">搜索</a></td>
-<td class="scbar_btn_td"><button type="submit" name="searchsubmit" id="scbar_btn" sc="1" class="pn pnc" value="true"><strong class="xi2">搜索</strong></button></td>
-<td class="scbar_hot_td">
-<div id="scbar_hot">
-<?php if($_G['setting']['srchhotkeywords']) { ?>
-<strong class="xw1">热搜: </strong><?php if(is_array($_G['setting']['srchhotkeywords'])) foreach($_G['setting']['srchhotkeywords'] as $val) { if($val=trim($val)) { $valenc=rawurlencode($val);?><?php
-$__FORMHASH = FORMHASH;$srchhotkeywords[] = <<<EOF
-
-
-EOF;
- if(!empty($searchparams['url'])) { 
-$srchhotkeywords[] .= <<<EOF
-
-<a href="{$searchparams['url']}?q={$valenc}&source=hotsearch{$srchotquery}" target="_blank" class="xi2" sc="1">{$val}</a>
-
-EOF;
- } else { 
-$srchhotkeywords[] .= <<<EOF
-
-<a href="search.php?mod=forum&amp;srchtxt={$valenc}&amp;formhash={$__FORMHASH}&amp;searchsubmit=true&amp;source=hotsearch" target="_blank" class="xi2" sc="1">{$val}</a>
-
-EOF;
- } 
-$srchhotkeywords[] .= <<<EOF
-
-
-EOF;
-?>
-<?php } } echo implode('', $srchhotkeywords);; } ?>
-</div>
-</td>
-</tr>
-</table>
-</form>
-</div>
-<ul id="scbar_type_menu" class="p_pop" style="display: none;"><?php echo implode('', $slist);; ?></ul>
-<script type="text/javascript">
-initSearchmenu('scbar', '<?php echo $searchparams['url'];?>');
-</script>
-<?php } ?></div>
-</div>
-
-<?php if(!empty($_G['setting']['pluginhooks']['global_header'])) echo $_G['setting']['pluginhooks']['global_header'];?>
-<?php } ?>
-
-<div id="wp" class="wp">

+ 0 - 51
data/template/5_5_common_header_userstatus.tpl.php

xqd
@@ -1,51 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); if($_G['uid']) { ?>
-<div id="um">
-<div class="avt y"><a href="home.php?mod=space&amp;uid=<?php echo $_G['uid'];?>"><?php echo avatar($_G[uid],small);?></a></div>
-<p>
-<strong class="vwmy<?php if($_G['setting']['connect']['allow'] && $_G['member']['conisbind']) { ?> qq<?php } ?>"><a href="home.php?mod=space&amp;uid=<?php echo $_G['uid'];?>" target="_blank" title="访问我的空间"><?php echo $_G['member']['username'];?></a></strong>
-<?php if($_G['group']['allowinvisible']) { ?>
-<span id="loginstatus">
-<a id="loginstatusid" href="member.php?mod=switchstatus" title="切换在线状态" onclick="ajaxget(this.href, 'loginstatus');return false;" class="xi2"></a>
-</span>
-<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['global_usernav_extra1'])) echo $_G['setting']['pluginhooks']['global_usernav_extra1'];?>
-<span class="pipe">|</span><?php if(!empty($_G['setting']['pluginhooks']['global_usernav_extra4'])) echo $_G['setting']['pluginhooks']['global_usernav_extra4'];?><a href="javascript:;" id="myitem" class="showmenu" onmouseover="showMenu({'ctrlid':'myitem'});">我的</a>
-<span class="pipe">|</span><a href="home.php?mod=spacecp">设置</a>
-<span class="pipe">|</span><a href="home.php?mod=space&amp;do=pm" id="pm_ntc"<?php if($_G['member']['newpm']) { ?> class="new"<?php } ?>>消息</a>
-<span class="pipe">|</span><a href="home.php?mod=space&amp;do=notice" id="myprompt" class="a showmenu<?php if($_G['member']['newprompt']) { ?> new<?php } ?>" onmouseover="showMenu({'ctrlid':'myprompt'});">提醒<?php if($_G['member']['newprompt']) { ?>(<?php echo $_G['member']['newprompt'];?>)<?php } ?></a><span id="myprompt_check"></span>
-<?php if(empty($_G['cookie']['ignore_notice']) && ($_G['member']['newpm'] || $_G['member']['newprompt_num']['follower'] || $_G['member']['newprompt_num']['follow'] || $_G['member']['newprompt'])) { ?><script language="javascript">delayShow($('myprompt'), function() {showMenu({'ctrlid':'myprompt','duration':3})});</script><?php } if($_G['setting']['taskon'] && !empty($_G['cookie']['taskdoing_'.$_G['uid']])) { ?><span class="pipe">|</span><a href="home.php?mod=task&amp;item=doing" id="task_ntc" class="new">进行中的任务</a><?php } if(($_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle'] || $_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 6) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3))) { ?>
-<span class="pipe">|</span><a href="portal.php?mod=portalcp"><?php if($_G['setting']['portalstatus'] ) { ?>门户管理<?php } else { ?>模块管理<?php } ?></a>
-<?php } if($_G['uid'] && $_G['group']['radminid'] > 1) { ?>
-<span class="pipe">|</span><a href="forum.php?mod=modcp&amp;fid=<?php echo $_G['fid'];?>" target="_blank"><?php echo $_G['setting']['navs']['2']['navname'];?>管理</a>
-<?php } if($_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)) { ?>
-<span class="pipe">|</span><a href="admin.php" target="_blank">管理中心</a>
-<?php } ?>
-<?php if(!empty($_G['setting']['pluginhooks']['global_usernav_extra2'])) echo $_G['setting']['pluginhooks']['global_usernav_extra2'];?>
-<span class="pipe">|</span><a href="member.php?mod=logging&amp;action=logout&amp;formhash=<?php echo FORMHASH;?>">退出</a>
-</p>
-<p>
-<?php if(!empty($_G['setting']['pluginhooks']['global_usernav_extra3'])) echo $_G['setting']['pluginhooks']['global_usernav_extra3'];?>
-<a href="home.php?mod=spacecp&amp;ac=credit&amp;showcredit=1" id="extcreditmenu"<?php if(!$_G['setting']['bbclosed']) { ?> onmouseover="delayShow(this, showCreditmenu);" class="showmenu"<?php } ?>>积分: <?php echo $_G['member']['credits'];?></a>
-<span class="pipe">|</span><a href="home.php?mod=spacecp&amp;ac=usergroup" id="g_upmine" class="showmenu" onmouseover="delayShow(this, showUpgradeinfo)">用户组: <?php echo $_G['group']['grouptitle'];?><?php if($_G['member']['freeze']) { ?><span class="xi1">(已冻结)</span><?php } ?></a>
-</p>
-</div>
-<?php } elseif(!empty($_G['cookie']['loginuser'])) { ?>
-<p>
-<strong><a id="loginuser" class="noborder"><?php echo dhtmlspecialchars($_G['cookie']['loginuser']); ?></a></strong>
-<span class="pipe">|</span><a href="member.php?mod=logging&amp;action=login" onclick="showWindow('login', this.href)">激活</a>
-<span class="pipe">|</span><a href="member.php?mod=logging&amp;action=logout&amp;formhash=<?php echo FORMHASH;?>">退出</a>
-</p>
-<?php } elseif(!$_G['connectguest']) { include template('member/login_simple'); } else { ?>
-<div id="um">
-<div class="avt y"><?php echo avatar(0,small);?></div>
-<p>
-<strong class="vwmy qq"><?php echo $_G['member']['username'];?></strong>
-<?php if(!empty($_G['setting']['pluginhooks']['global_usernav_extra1'])) echo $_G['setting']['pluginhooks']['global_usernav_extra1'];?>
-<span class="pipe">|</span><a href="member.php?mod=logging&amp;action=logout&amp;formhash=<?php echo FORMHASH;?>">退出</a>
-</p>
-<p>
-<a href="home.php?mod=spacecp&amp;ac=credit&amp;showcredit=1">积分: 0</a>
-<span class="pipe">|</span>用户组: <?php echo $_G['group']['grouptitle'];?>
-</p>
-</div>
-<?php } ?>

+ 0 - 50
data/template/5_5_touch_common_showmessage.tpl.php

xqd
@@ -1,50 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('showmessage');?>
-<?php if($param['login']) { if($_G['inajax']) { dheader('Location:member.php?mod=logging&action=login&inajax=1&infloat=1');exit;?><?php } else { dheader('Location:member.php?mod=logging&action=login');exit;?><?php } } include template('common/header'); if($_G['inajax']) { ?>
-<div class="tip" style="height:150px;">
-<dt id="messagetext">
-<p><?php echo $show_message;?></p>
-        <?php if($_G['forcemobilemessage']) { ?>
-        	<p >
-            	<a href="<?php echo $_G['setting']['mobile']['pageurl'];?>" class="mtn">继续访问</a><br />
-                <a href="javascript:history.back();">返回上一页</a>
-            </p>
-        <?php } if($url_forward && !$_GET['loc']) { ?>
-<!--<p><a class="grey" href="<?php echo $url_forward;?>">点击此链接进行跳转</a></p>-->
-<script type="text/javascript">
-setTimeout(function() {
-window.location.href = '<?php echo $url_forward;?>';
-}, '3000');
-</script>
-<?php } elseif($allowreturn) { ?>
-<p><input type="button" class="button" onclick="popup.close();" value="关闭"></p>
-<?php } ?>
-</dt>
-</div>
-<?php } else { ?>
-
-<!-- header start -->
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-        <div class="wk_fr wk_nav"><div class="toggle-btn wk_hmenu"><span class="icon-i"></span><span class="icon-i"></span><span class="icon-i"></span></div></div>
-    </header>
-</div>
-<div class="clear"></div>
-<!-- header end -->
-<!-- main jump start -->
-<div class="wk_shjump">
-<div><?php echo $show_message;?></div>
-    <?php if($_G['forcemobilemessage']) { ?>
-<p class="cl">
-            <a href="<?php echo $_G['setting']['mobile']['pageurl'];?>"  class="wk_jump_c" style="color:#FFF;">继续访问</a><br />
-            <a href="javascript:history.back();" class="wk_jump_ba" style="color:#FFF;">返回上一页</a>
-        </p>
-    <?php } if($url_forward) { ?>
-<p><a href="<?php echo $url_forward;?>" class="wk_jump_b" style="color:#FFF;">点击此链接进行跳转</a></p>
-<?php } elseif($allowreturn) { ?>
-<p><a href="javascript:history.back();" class="wk_jump_b" style="color:#FFF;">[ 点击这里返回上一页 ]</a></p>
-<?php } ?>
-</div>
-<!-- main jump end -->
-
-<?php } include template('common/footer'); ?>

+ 0 - 239
data/template/5_5_touch_forum_discuzcode.tpl.php

xqd
@@ -1,239 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); function tpl_hide_credits_hidden($creditsrequire) {
-global $_G;?><?php
-$return = <<<EOF
-<div class="locked">
-EOF;
- if($_G['uid']) { 
-$return .= <<<EOF
-{$_G['username']}
-EOF;
- } else { 
-$return .= <<<EOF
-游客
-EOF;
- } 
-$return .= <<<EOF
-,本帖隐藏的内容需要积分高于 {$creditsrequire} 才可浏览,您当前积分为 {$_G['member']['credits']}</div>
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_hide_credits($creditsrequire, $message) {?><?php
-$return = <<<EOF
-<div class="locked">以下内容需要积分高于 {$creditsrequire} 才可浏览</div>
-{$message}<br /><br />
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_codedisp($code) {?><?php
-$return = <<<EOF
-<div class="blockcode"><div><ol><li>{$code}</ol></div></div>
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_quote() {?><?php
-$return = <<<EOF
-<div class="grey quote"><blockquote>引用: \\1</blockquote></div>
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_free() {?><?php
-$return = <<<EOF
-<div class="grey quote"><blockquote>\\1</blockquote></div>
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_hide_reply() {
-global $_G;?><?php
-$return = <<<EOF
-<div class="showhide"><h4>本帖隐藏的内容</h4>\\1</div>
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_hide_reply_hidden() {
-global $_G;?><?php
-$return = <<<EOF
-<div class="locked">
-EOF;
- if($_G['uid']) { 
-$return .= <<<EOF
-{$_G['username']}
-EOF;
- } else { 
-$return .= <<<EOF
-游客
-EOF;
- } 
-$return .= <<<EOF
-,如果您要查看本帖隐藏内容请<a href="forum.php?mod=post&amp;action=reply&amp;fid={$_G['fid']}&amp;tid={$_G['tid']}" onclick="showWindow('reply', this.href)">回复</a></div>
-EOF;
-?><?php return $return;?><?php }
-
-function attachlist($attach) {
-global $_G;
-$attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp')));
-$aidencode = packaids($attach);
-$is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G[forum_thread][archiveid] : '';?><?php
-$return = <<<EOF
-
-
-EOF;
- if(!$attach['price'] || $attach['payed']) { 
-$return .= <<<EOF
-
-<div class="box box_ex2 attach">
-<dd>
-<p class="attnm">
-
-EOF;
- if($_G['setting']['mobile']['mobilesimpletype'] == 0) { 
-$return .= <<<EOF
-
-{$attach['attachicon']}
-
-EOF;
- } if(!$attach['price'] || $attach['payed']) { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=attachment{$is_archive}&amp;aid={$aidencode}" id="aid{$attach['aid']}" target="_blank">{$attach['filename']}</a>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=misc&amp;action=attachpay&amp;aid={$attach['aid']}&amp;tid={$attach['tid']}">{$attach['filename']}</a>
-
-EOF;
- } 
-$return .= <<<EOF
-
-<span class="xg1">({$attach['dateline']} 上传)</span>
-</p>
-<p class="xg1">{$attach['attachsize']}
-EOF;
- if($attach['readperm']) { 
-$return .= <<<EOF
-, 阅读权限: <strong>{$attach['readperm']}</strong>
-EOF;
- } 
-$return .= <<<EOF
-, 下载次数: {$attach['downloads']}
-EOF;
- if(!$attach['attachimg'] && $_G['getattachcredits']) { 
-$return .= <<<EOF
-, 下载积分: {$_G['getattachcredits']}
-EOF;
- } 
-$return .= <<<EOF
-</p>
-
-EOF;
- if($attach['description']) { 
-$return .= <<<EOF
-<p class="xg2">{$attach['description']}</p>
-EOF;
- } 
-$return .= <<<EOF
-
-</dd>
-</div>
-
-EOF;
- } 
-$return .= <<<EOF
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function imagelist($attach) {
-global $_G, $post;
-$fix = count($post[imagelist]) == 1 ? 140 : 83;
-$fixtype = count($post[imagelist]) == 1 ? 'fixnone' : 'fixwr';
-$attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp')));
-$mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? getforumimg($attach['aid'], 0, $fix, $fix, $fixtype) : '' ;
-$aidencode = packaids($attach);
-$is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G[forum_thread][archiveid] : '';?><?php
-$return = <<<EOF
-
-
-EOF;
- if($attach['attachimg'] && $_G['setting']['showimages'] && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) && (!$attach['price'] || $attach['payed'])) { if(!$attach['price'] || $attach['payed']) { if($_G['setting']['mobile']['mobilesimpletype'] == 0) { 
-$return .= <<<EOF
-
-<li><a href="forum.php?mod=viewthread&amp;tid={$attach['tid']}&amp;aid={$attach['aid']}&amp;from=album&amp;page={$_G['page']}" class="orange"><img id="aimg_{$attach['aid']}" src="{$mobilethumburl}" alt="{$attach['imgalt']}" title="{$attach['imgalt']}" /></a>
-</li>
-
-EOF;
- } } } 
-$return .= <<<EOF
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function attachinpost($attach) {
-global $_G;
-$attach['refcheck'] = (!$attach['remote'] && $_G['setting']['attachrefcheck']) || ($attach['remote'] && ($_G['setting']['ftp']['hideurl'] || ($attach['isimage'] && $_G['setting']['attachimgpost'] && strtolower(substr($_G['setting']['ftp']['attachurl'], 0, 3)) == 'ftp')));
-$mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? getforumimg($attach['aid'], 0, 140, 140, 'fixnone') : '' ;
-$aidencode = packaids($attach);
-$is_archive = $_G['forum_thread']['is_archived'] ? '&fid='.$_G['fid'].'&archiveid='.$_G[forum_thread][archiveid] : '';?><?php
-$return = <<<EOF
-
-
-EOF;
- if($attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid'])) { if($_G['setting']['mobile']['mobilesimpletype'] == 0) { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=viewthread&amp;tid={$attach['tid']}&amp;aid={$attach['aid']}&amp;from=album&amp;page={$_G['page']}" class="orange"><img id="aimg_{$attach['aid']}" src="{$mobilethumburl}" alt="{$attach['imgalt']}" title="{$attach['imgalt']}" /></a>
-
-EOF;
- } } else { if(!$attach['price'] || $attach['payed']) { 
-$return .= <<<EOF
-
-<div id="attach_{$attach['aid']}" class="box attach mbn" >
-
-EOF;
- if($_G['setting']['mobile']['mobilesimpletype'] == 0) { 
-$return .= <<<EOF
-
-{$attach['attachicon']}
-
-EOF;
- } if(!$attach['price'] || $attach['payed']) { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=attachment{$is_archive}&amp;aid={$aidencode}" target="_blank">{$attach['filename']}</a>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=misc&amp;action=attachpay&amp;aid={$attach['aid']}&amp;tid={$attach['tid']}" target="_blank">{$attach['filename']}</a>
-
-EOF;
- } 
-$return .= <<<EOF
-
-<em class="xg1">({$attach['attachsize']})</em>
-<em class="xg1"><br />(下载次数: {$attach['downloads']}, {$attach['dateline']} 上传)
-</em>
-
-EOF;
- if(!$attach['attachimg'] && $_G['getattachcredits']) { 
-$return .= <<<EOF
-<p>下载积分: {$_G['getattachcredits']}</p>
-EOF;
- } 
-$return .= <<<EOF
-
-</div>
-
-EOF;
- } } 
-$return .= <<<EOF
-
-
-EOF;
-?><?php return $return;?><?php }?>

+ 0 - 64
data/template/5_5_touch_home_space_profile.tpl.php

xqd
@@ -1,64 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('space_profile');?>
-<?php if($_GET['mycenter'] && !$_G['uid']) { dheader('Location:member.php?mod=logging&action=login');exit;?><?php } include template('common/header'); if(!$_GET['mycenter']) { ?>
-
-<!-- header start -->
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-        <div class="wk_fr wk_nav"><div class="toggle-btn wk_hmenu"><span class="icon-i"></span><span class="icon-i"></span><span class="icon-i"></span></div></div>
-    </header>
-</div>
-<div class="clear"></div>
-<!-- header end -->
-<!-- userinfo start -->
-<div class="wk_userinfo">
-<div class="wk_userinfo_inner">
-<div class="wk_userinfo_hd">
-<div class="wk_avatar"><span><img src="<?php echo avatar($space[uid],middle, true);?>" /></span></div>
-<h2 class="name"><?php echo $space['username'];?></h2>
-</div>
-</div>
-<div class="wk_userinfo_box">
-<ul>
-<li><span><?php echo $space['credits'];?></span>积分</li><?php if(is_array($_G['setting']['extcredits'])) foreach($_G['setting']['extcredits'] as $key => $value) { if($value['title']) { ?>
-<li><span><?php echo $space["extcredits$key"];?> <?php echo $value['unit'];?></span><?php echo $value['title'];?></li>
-<?php } } ?>
-</ul>
-</div>
-<?php if($space['uid'] == $_G['uid']) { ?>
-<div class="btn_exit wk_userinfo_exit"><a href="member.php?mod=logging&amp;action=logout&amp;formhash=<?php echo FORMHASH;?>">退出登录</a></div>
-<?php } ?>
-</div>
-<!-- userinfo end -->
-
-<?php } else { ?>
-
-<!-- header start -->
-
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-        <div class="wk_fr wk_nav"><div class="toggle-btn wk_hmenu"><span class="icon-i"></span><span class="icon-i"></span><span class="icon-i"></span></div></div>
-    </header>
-</div>
-<!-- header end -->
-<!-- userinfo start -->
-<div class="wk_userinfo">
-<div class="wk_userinfo_inner">
-<div class="wk_userinfo_hd">
-<div class="wk_avatar"><span><img src="<?php echo avatar($_G[uid],middle, true);?>" /></span></div>
-<h2 class="name"><?php echo $_G['username'];?></h2>
-</div>
-</div>
-<div class="wk_myinfo_list cl">
-<ul class="cl">
-<li><a href="home.php?mod=space&amp;uid=<?php echo $_G['uid'];?>&amp;do=favorite&amp;view=me&amp;type=thread">我的收藏</a></li>
-<li><a href="home.php?mod=space&amp;uid=<?php echo $_G['uid'];?>&amp;do=thread&amp;view=me">我的主题</a></li>
-<li class="tit_msg"><a href="home.php?mod=space&amp;do=pm">我的消息<?php if($_G['member']['newpm']) { ?><img src="<?php echo STATICURL;?>image/mobile/images/icon_msg.png" /><?php } ?></a></li>
-<li><a href="home.php?mod=space&amp;do=profile&amp;uid=<?php echo $_G['uid'];?>">我的资料</a></li>
-</ul>
-</div>
-</div>
-<!-- userinfo end -->
-
-<?php } $nofooter = true;?><?php include template('common/footer'); ?>

+ 0 - 57
data/template/5_5_touch_portal_list_about.tpl.php

xqd
@@ -1,57 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
-
-<!--  about  -->
-<?php if($_G['catid'] == $wk_about ) { ?>
-
-<div class="wk_list_about">
-    <div class="wk_about">
-        <?php echo $touch_lang['105'];?>
-    </div>
-</div>
-
-<?php } ?>
-
-<!--  culture  -->
-<?php if($_G['catid'] == $wk_culture ) { ?>
-
-<div class="wk_list_about">
-    <div class="wk_about">
-        <?php echo $touch_lang['107'];?>
-    </div>
-</div>
-
-<?php } ?>
-
-<!--  history  -->
-<?php if($_G['catid'] == $wk_history ) { ?>
-
-<div class="wk_list_about">
-    <div class="wk_about">
-        <?php echo $touch_lang['109'];?>
-    </div>
-</div>
-
-<?php } ?>
-
-<!--  job  -->
-<?php if($_G['catid'] == $wk_job ) { ?>
-
-<div class="wk_list_about">
-    <div class="wk_about">
-        <?php echo $touch_lang['111'];?>
-    </div>
-</div>
-
-<?php } ?>
-
-<!--  contact  -->
-<?php if($_G['catid'] == $wk_contact ) { ?>
-
-<div class="wk_list_about">
-    <div class="wk_about">
-        <?php echo $touch_lang['113'];?>
-    </div>
-</div>
-
-<?php } ?>
-

+ 0 - 887
data/template/5_cloudsearch_module.tpl.php

xqd
@@ -1,887 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); function tpl_cloudsearch_index_top($recwords, $searchparams, $srchotquery, $position = 'hotopicf') {
-global $_G;
-if($recwords) {
-$recwords_tmp = $recwords;
-$recwords = array();
-foreach ($recwords_tmp as $k => $v) {
-$recwords[$k+1] = $v;?><?php }?><?php }?><?php
-$return = <<<EOF
-
-
-EOF;
- if(is_array($recwords) && count($recwords) > 0 && !empty($searchparams['url'])) { 
-$return .= <<<EOF
-
-<div class="fl bm">
-<div class="bm bmw hottopic cl">
-<div class="bm_h cl">
-<span class="y"></span>
-<h2>
-EOF;
- if($_G['fid']) { 
-$return .= <<<EOF
-本版
-EOF;
- } 
-$return .= <<<EOF
-热门话题</h2>
-</div>
-<style>
-.filter { padding: 10px; border-bottom: none; font-size: 12px; color: #999; }
-.filter ul {}
-.filter li { float: left; margin-right: 16px; height: 22px; line-height: 22px; white-space:nowrap; width:12.5%; }
-.filter li a { margin-right: 2px; text-decoration: none; color: #369; }
-.filter li.clewcolor a { background:url(source/plugin/cloudsearch/template/keyword_hot.gif) no-repeat 100% 2px; margin-right: 2px; text-decoration: none; color: #F00; padding-right:18px; }
-.filter li a:hover { text-decoration: underline; }
-.filter li a:visited { text-decoration: none; color: #666; }
-.filter li.clewcolor a:visited { text-decoration: none; color: #F00; }
-.filter .number { color: #666; } 
-.filter li.clewcolor .number { color:#F00; }
-</style>
-<div class="filter">
-<ul class="cl">
-EOF;
- if(is_array($recwords)) foreach($recwords as $key => $recword) { if($encodeWord=rawurlencode(trim($recword['word']))) { if(empty($recword['inc_num'])) { 
-$return .= <<<EOF
-
-<li><a href="{$searchparams['url']}?q={$encodeWord}&source=word.{$position}.{$key}{$srchotquery}&num={$recword['result_num']}" sc="1" target="_blank">{$recword['word']}<span class="number">({$recword['result_num']})</span></a></li>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-<li class="clewcolor"><a href="{$searchparams['url']}?q={$encodeWord}&source=word.{$position}.{$key}{$srchotquery}&num={$recword['result_num']}" sc="1"  target="_blank">{$recword['word']}<span class="number">({$recword['result_num']})</span></a></li>
-
-EOF;
- } } } 
-$return .= <<<EOF
-
-</ul>
-</div>
-</div>
-</div>
-
-EOF;
- } 
-$return .= <<<EOF
-
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_global_footer_formula_output() {
-global $_G;
-$formHash = FORMHASH;
-$cookie = $_G['cookie']['ffids' . $_G['uid']];?><?php
-$return = <<<EOF
-
-
-EOF;
- if(!$cookie) { 
-$return .= <<<EOF
-
-<script type="text/javascript">
-_attachEvent(window, 'load', getForbiddenFormula, document);
-function getForbiddenFormula() {
-var toGetForbiddenFormulaFIds = function () {
-ajaxget('plugin.php?id=cloudsearch&formhash={$formHash}');
-};
-var a = document.body.getElementsByTagName('a');
-for(var i = 0;i < a.length;i++){
-if(a[i].getAttribute('sc')) {
-a[i].setAttribute('mid', hash(a[i].href));
-a[i].onmousedown = function() {toGetForbiddenFormulaFIds();};
-}
-}
-var btn = document.body.getElementsByTagName('button');
-for(var i = 0;i < btn.length;i++){
-if(btn[i].getAttribute('sc')) {
-btn[i].setAttribute('mid', hash(btn[i].id));
-btn[i].onmousedown = function() {toGetForbiddenFormulaFIds();};
-}
-}
-}
-</script>
-
-EOF;
- } 
-$return .= <<<EOF
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_viewthread_postbottom_output() {?><?php
-$return = <<<EOF
-
-<div id="relate_subject"></div>
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_forumdisplay_threadtype_extra_output($recwords) {
-global $_G;?><?php
-$__IMGDIR = IMGDIR;$return = <<<EOF
-
-<style>
-.sort_ttp { padding-top: 0;margin-bottom:5px;}
-.sort_tit { padding:4px 8px 3px 0; color:#999; }
-.loadingCloud { text-align:center;line-height:50px; }
-</style>
-<script>
-var currentKeyword = '';
-var currentOrder = '';
-function switchkeyword(keyword, order, page) {
-page = page ? page : 1;
-order = order ? order : '';
-if (currentKeyword == keyword && order == '' && page == 1) {
-window.location = 'forum.php?mod=forumdisplay&fid={$_G['fid']}';
-return true;
-}
-if (currentKeyword != '') {
-$("ckw_"+currentKeyword).className = '';
-}
-$("ckw_"+keyword).className = 'xw1 a';
-currentKeyword = keyword;
-currentOrder = order;
-getclouddata(keyword, order, page);
-}
-function switchPage(page) {
-getclouddata(currentKeyword, currentOrder, page);
-}
-function switchOrder(order) {
-currentOrder = order;
-getclouddata(currentKeyword, order, 1);
-}
-function getclouddata(keyword, order, page) {
-$("threadlist").innerHTML = '<div class="loadingCloud"><img src="{$__IMGDIR}/loading.gif" alt="loading..." class="vm" /> 正在加载……</div>';
-ajaxget('forum.php?mod=forumdisplay&fid={$_G['fid']}&cloudop=relatedthread&page='+page+'&of='+order+'&keyword='+keyword);
-}
-function succeedhandle_getRelatedData(url, msg, data) {
-if(data['threaddiv']) { 
-$("threadlist").innerHTML = data['threaddiv'];
-$("fd_page_top").innerHTML = $("fd_page_bottom").innerHTML = data['page'];
-}
-}
-function errorhandle_getRelatedData(msg, data) {
-showError(msg);
-}
-</script>
-<ul class="ttp cl" id="thread_types2" style="padding-top:0px;">
-<li class="sort_tit">热门话题</li>
-EOF;
- if(is_array($recwords)) foreach($recwords as $keyword) { 
-$return .= <<<EOF
-<li id="ckw_{$keyword['0']}"><a href="javascript:void(0);return false;" onclick="switchkeyword('{$keyword['0']}');">{$keyword['0']}</a></li>
-
-EOF;
- } 
-$return .= <<<EOF
-
-</ul>
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_forumdisplay_threadtype_inner_output() {
-global $_G;?><?php
-$return = <<<EOF
-
-<style>
-.sort_tit { padding:4px 8px 3px 0; color:#999; }
-</style>
-<li class="sort_tit">主题分类</li>
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_collection_viewoptions_output() {
-global $_G;?><?php
-$return = <<<EOF
-
-<a href="forum.php?mod=collection&amp;action=view&amp;ctid={$_G['collection']['ctid']}&amp;op=related" class="xi2">搜索相关主题</a>
-<span class="pipe">|</span>
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_collection_relatedop_output($threadlist, $multipage) {
-global $_G;?><?php
-$__IMGDIR = IMGDIR;$__FORMHASH = FORMHASH;$return = <<<EOF
-
-
-<ul class="ttp bm cl cttp">
-<li
-EOF;
- if(!$_GET['keyword']) { 
-$return .= <<<EOF
- class="xw1 a"
-EOF;
- } 
-$return .= <<<EOF
->
-<a href="forum.php?mod=collection&amp;action=view&amp;ctid={$_G['collection']['ctid']}&amp;op=related" class="xi2">{$_G['collection']['name']}</a>
-</li>
-EOF;
- if(is_array($_G['collection']['arraykeyword'])) foreach($_G['collection']['arraykeyword'] as $kid => $unique_keyword) { 
-$return .= <<<EOF
-<li
-EOF;
- if($unique_keyword == $_GET['keyword']) { 
-$return .= <<<EOF
- class="xw1 a"
-EOF;
- } 
-$return .= <<<EOF
->
-<a href="forum.php?mod=collection&amp;action=view&amp;ctid={$_G['collection']['ctid']}&amp;op=related&amp;keyword={$_G['collection']['urlkeyword'][$kid]}" class="xi2">{$unique_keyword}</a>
-</li>
-
-EOF;
- } 
-$return .= <<<EOF
-
-</ul>
-<div class="tl bm">
-
-EOF;
- if($threadlist) { 
-$return .= <<<EOF
-
-<form action="forum.php?mod=collection&amp;action=edit&amp;op=addthread" method="POST">
-<div class="th">
-<table cellspacing="0" cellpadding="0">
-<tr>
-<td class="icn"></td>
-<td class="o"><label class="z" onclick="checkall(this.form, 'tids')"><input class="pc" type="checkbox" name="chkall" title="!checkall!" /></label></td>
-<td class="common">帖子</td>
-<td class="forum">版块</td>
-<td class="by">作者</td>
-</tr>
-</table>
-</div>
-
-<div class="bm_c">
-<table cellspacing="0" cellpadding="0">
-EOF;
- if(is_array($threadlist)) foreach($threadlist as $thread) { 
-$return .= <<<EOF
-<tr>
-<td class="icn">
-
-EOF;
- if($thread['icon']) { 
-$return .= <<<EOF
-
-<img src="{$thread['icon']}" />
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-<img src="{$__IMGDIR}/folder_common.gif" />
-
-EOF;
- } 
-$return .= <<<EOF
-
-</td>
-<td class="o">
-
-EOF;
- if(!isset($thread['icon'])) { 
-$return .= <<<EOF
-
-<input type="checkbox" value="{$thread['tThreadId']}" name="tids[]" />
-
-EOF;
- } 
-$return .= <<<EOF
-
-</td>
-<th>
-
-EOF;
- if(!isset($thread['icon'])) { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=viewthread&amp;tid={$thread['tThreadId']}" target="_blank" class="xst">{$thread['pSubject']}</a>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-<a href="{$thread['mTargetUrl']}" target="_blank" class="xst">{$thread['mTitle']}</a>
-
-EOF;
- } 
-$return .= <<<EOF
-
-</th>
-<td class="forum">
-
-EOF;
- if(!isset($thread['icon'])) { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=forumdisplay&amp;fid={$thread['pForumId']}">{$thread['pForumName']}</a>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-{$thread['mShowUrl']}
-
-EOF;
- } 
-$return .= <<<EOF
-
-</td>
-<td class="by">
-<cite>
-
-EOF;
- if($thread['pAuthorId'] && $thread['pAuthorName']) { 
-$return .= <<<EOF
-
-<a href="home.php?mod=space&amp;uid={$thread['pAuthorId']}">{$thread['pAuthorName']}</a>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-匿名
-
-EOF;
- } 
-$return .= <<<EOF
-
-</cite>
-
-EOF;
- if(!isset($thread['icon'])) { 
-$return .= <<<EOF
-
-<em class="xi1">{$thread['dateline']}</em>
-
-EOF;
- } 
-$return .= <<<EOF
-
-</td>
-</tr>
-
-EOF;
- } 
-$return .= <<<EOF
-
-</table>
-</div>
-
-<div class="bm_c cl">
-<input type="hidden" value="{$_G['collection']['ctid']}" name="ctid" />
-    <input type="hidden" name="formhash" id="formhash" value="{$__FORMHASH}" />
-<input type="hidden" name="addthread" id="addthread" value="1" />
-<button type="submit" class="pn pnc"><span>添加到淘专辑</span></button>
-</div>
-</form>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-<p class="emp">
-暂时还没有内容
-</p>
-
-EOF;
- } 
-$return .= <<<EOF
-
-</div>
-
-EOF;
- if($multipage) { 
-$return .= <<<EOF
-<div class="pgs mtm cl">{$multipage}</div>
-EOF;
- } 
-$return .= <<<EOF
-
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_relate_threadlist_output($kw) {
-global $_G;?><?php
-$__IMGDIR = IMGDIR;$return = <<<EOF
-
-<div id="cloudsearch_relate"><img src="{$__IMGDIR}/loading.gif" alt="loading..." class="vm" /> 正在加载……</div>
-<script>
-ajaxget('plugin.php?id=cloudsearch:forumdisplay&cloudop=relatelist&fid={$_G['fid']}&keyword={$kw}&page={$_G['page']}', 'cloudsearch_relate');
-</script>
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_relate_threadlist_js_output($relatethreadlist, $urlkw, $searchparams, $srchotquery) {
-global $_G;?><?php
-$__IMGDIR = IMGDIR;$return = <<<EOF
-
-
-EOF;
- if($relatethreadlist) { 
-$return .= <<<EOF
-
-<div class="th">
-<table cellspacing="0" cellpadding="0">
-<tr>
-<td class="icn"></td>
-<td class="common">相关主题</td>
-<td class="by">版块</td>
-<td class="by">作者</td>
-</tr>
-</table>
-</div>
-
-<div class="bm_c">
-<table cellspacing="0" cellpadding="0">
-EOF;
- if(is_array($relatethreadlist)) foreach($relatethreadlist as $thread) { 
-$return .= <<<EOF
-<tbody id="{$thread['id']}">
-<tr>
-<td class="icn">
-
-EOF;
- if($thread['icon']) { 
-$return .= <<<EOF
-
-<img src="{$thread['icon']}" />
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-<img src="{$__IMGDIR}/folder_common.gif" />
-
-EOF;
- } 
-$return .= <<<EOF
-
-</td>
-<th>
-
-EOF;
- if(!isset($thread['icon'])) { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=viewthread&amp;tid={$thread['tThreadId']}" target="_blank" class="xst">{$thread['pSubject']}</a>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-<a href="{$thread['mTargetUrl']}" target="_blank" class="xst">{$thread['mTitle']}</a>
-
-EOF;
- } 
-$return .= <<<EOF
-
-</th>
-<td class="by">
-
-EOF;
- if(!isset($thread['icon'])) { 
-$return .= <<<EOF
-
-<a href="forum.php?mod=forumdisplay&amp;fid={$thread['pForumId']}">{$thread['pForumName']}</a>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-{$thread['mShowUrl']}
-
-EOF;
- } 
-$return .= <<<EOF
-
-</td>
-<td class="by">
-<cite>
-
-EOF;
- if($thread['pAuthorId'] && $thread['pAuthorName']) { 
-$return .= <<<EOF
-
-<a href="home.php?mod=space&amp;uid={$thread['pAuthorId']}">{$thread['pAuthorName']}</a>
-
-EOF;
- } else { 
-$return .= <<<EOF
-
-匿名
-
-EOF;
- } 
-$return .= <<<EOF
-
-</cite>
-
-EOF;
- if(!isset($thread['icon'])) { 
-$return .= <<<EOF
-
-<em class="xi1">{$thread['dateline']}</em>
-
-EOF;
- } 
-$return .= <<<EOF
-
-</td>
-</tr>
-</tbody>
-
-EOF;
- } 
-$return .= <<<EOF
-
-<tr>
-<td colspan="4" align="center" style="line-height:25px;">
-<a href="{$searchparams['url']}?q={$urlkw}&source=word.tao_more.a{$srchotquery}">查看更多</a>
-</td>
-</tr>
-</table>
-</div>
-
-EOF;
- } 
-$return .= <<<EOF
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_global_footer_related() {
-global $_G;
-$rel_title = urlencode($_G['forum_thread']['subject']);
-$widthauto = widthauto();
-$get_reltid = dintval($_GET[reltid]);
-$get_pre_pos = dhtmlspecialchars(trim($_GET[pre_pos]));?><?php
-$return = <<<EOF
-
-
-EOF;
- if(empty($_G['inajax'])) { 
-$return .= <<<EOF
-
-<script type="text/javascript">
-var rel_tid = "{$_G['tid']}";
-var rel_title = "{$rel_title}";
-var rel_reltid = "{$get_reltid}";
-var rel_prepos = "{$get_pre_pos}";
-var my_siteid = "{$_G['setting']['my_siteid']}";
-var rel_uid = "{$_G['uid']}";
-var rel_views = "{$_G['forum_thread']['views']}";
-var rel_replies = "{$_G['forum_thread']['replies']}";
-var rel_page = "{$_G['page']}";
-var rel_show = "{$widthauto}";
-</script>
-<script src="http://cache.soso.com/30d/js/discuz/relate_subject.js" type="text/javascript" charset="GBK"></script>
-
-EOF;
- } 
-$return .= <<<EOF
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_global_footer_mini() {
-global $_G;
-$utilService = Cloud::loadClass('Service_Util');
-$params = array(
-'s_site_gid' => $_G['groupid'],
-'response_type' => 'JSONP',
-);
-$params = $utilService->generateSiteSignUrl($params, false, true);
-$signUrlParams = json_encode($params);
-$discuz_mini_js_url = 'http://discuz.gtimg.cn/search/scripts/discuz_mini.js';
-$referer = htmlspecialchars($_SERVER['HTTP_REFERER']);?><?php
-$return = <<<EOF
-
-
-EOF;
- if(empty($_GET['inajax'])) { 
-$return .= <<<EOF
-
-<script src="{$discuz_mini_js_url}" type="text/javascript"></script>
-<script type="text/javascript" charset="utf-8">
-if (typeof DiscuzMini != 'undefined' && typeof DiscuzMini == 'object') {
-DiscuzMini.showMini('{$referer}', {$signUrlParams});
-}
-</script>
-
-EOF;
- } 
-$return .= <<<EOF
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_index_forum_extra_output($forum_recwords) {
-global $_G;?><?php
-$return = <<<EOF
-
-    
-EOF;
- if($forum_recwords) { 
-$return .= <<<EOF
-
-    <dd class="fl_g_hot">
-        <strong>热点: </strong>
-        
-EOF;
- if(is_array($forum_recwords)) foreach($forum_recwords as $k => $frecword) { 
-$return .= <<<EOF
-<a class="xi2" href="{$frecword['url']}" target="_blank">{$frecword['word']}</a>
-EOF;
- } 
-$return .= <<<EOF
-
-    </dd>
-    
-EOF;
- } 
-$return .= <<<EOF
-
-
-EOF;
-?><?php return $return;?><?php }
-
-function tpl_cloudsearch_global_footer_suggest($queryString) {
-global $_G;?><?php
-$return = <<<EOF
-
-    <script type="text/javascript">
-    var cloudsearch_suggest = {};
-    cloudsearch_suggest.cache = {}; // 缓存
-    cloudsearch_suggest.sId = "{$_G['setting']['my_siteid']}";
-    cloudsearch_suggest.keyInterval = null; // 按住上下键时的setTimeout时间值
-    cloudsearch_suggest.requestTimeout = null; // 发送jsonp请求时的setTimeout时间值
-    cloudsearch_suggest.responseTimeout = null; // jsonp请求超时时的setTimeout时间值
-    cloudsearch_suggest.slideSpeed = 700; // 按住上下键时的滚动速度
-    cloudsearch_suggest.linenow = 0; // 当前所在行
-    cloudsearch_suggest.queryString = "{$queryString}"; // 当前所在行
-    
-    function cloudsearch_suggest_preventEnter(oEvent) {
-
-    	var code = oEvent.keyCode;
-        var lines = $('sg').getElementsByTagName('li');
-        
-        if ((38 == code || 40 == code) && !cloudsearch_suggest.keyInterval) {
-        	cloudsearch_suggest_moveOneStep(code, lines);
-        }
-    }
-    
-    function cloudsearch_suggest_moveOneStep(code, lines) {
-        
-    	if (38 == code || 40 == code) {
-            var panel = $('sg');
-            if ('block' == panel.style.display) {
-            	
-            	cloudsearch_suggest_clearStyle(); // 清掉所有li的选中状态
-                var suggestNum = lines.length;
-
-                if (38 == code) {
-                    if (cloudsearch_suggest.linenow > 1) {
-                    	cloudsearch_suggest.linenow--;
-                    } else {
-                    	cloudsearch_suggest.linenow = suggestNum;
-                    }
-                }
-
-                if (40 == code) {
-                	cloudsearch_suggest.linenow = (cloudsearch_suggest.linenow == suggestNum) ? 1 : (cloudsearch_suggest.linenow + 1);
-                }
-                lines[cloudsearch_suggest.linenow - 1].className = 'smo';
-            }
-            
-            cloudsearch_suggest.keyInterval = setTimeout(function() {cloudsearch_suggest_moveOneStep(code, lines);}, cloudsearch_suggest.slideSpeed);
-            cloudsearch_suggest.slideSpeed = 80;
-        }
-    }
-    
-    function cloudsearch_suggest_suggest(oEvent) {
-        
-    	var q = trim($('scbar_txt').value); // 输入框的输入
-        
-        var code = oEvent.keyCode; // 键盘按键值
-        var lines = $('sg').getElementsByTagName('li');
-
-        if (38 == code || 40 == code) { // up down
-            if (null != cloudsearch_suggest.keyInterval) {
-                clearTimeout(cloudsearch_suggest.keyInterval);
-                cloudsearch_suggest.keyInterval = null;
-                cloudsearch_suggest.slideSpeed = 700;
-            }
-            // 把所选值放入输入框(去除html标签)
-            $('scbar_txt').value = lines[cloudsearch_suggest.linenow - 1].innerHTML.replace(/<\s*(\/)?\s*[0-9a-zA-Z]+\s*>/g, '');
-        } else if (27 == code) { // ESC
-        	
-        	if (null != cloudsearch_suggest.requestTimeout) {
-                clearTimeout(cloudsearch_suggest.requestTimeout);
-            }
-        
-        	cloudsearch_suggest_hide();
-        } else {
-            if ('' != q) {
-                var data = cloudsearch_suggest_getCache(q);
-                if (data) {
-                	cloudsearch_suggest_menuMaker(data);
-                } else {
-                    if (null != cloudsearch_suggest.requestTimeout) {
-                        clearTimeout(cloudsearch_suggest.requestTimeout);
-                    }
-                    // 请求延时0.3秒执行,因为有可能用户是在持续输入
-                    cloudsearch_suggest.requestTimeout = setTimeout(function() {cloudsearch_suggest_sendRequest(q);}, 500); 
-                }
-            } else {
-            	
-            	if (null != cloudsearch_suggest.requestTimeout) {
-                    clearTimeout(cloudsearch_suggest.requestTimeout);
-                }
-            	
-            	cloudsearch_suggest_hide();
-            }
-        }
-    }
-
-    function cloudsearch_suggest_sendRequest(q) {
-    	
-    	// 删掉之前的请求(包括超时处理)
-    	if ($('cloudsearch_suggest') != null) {
-    		document.getElementsByTagName('head')[0].removeChild($('cloudsearch_suggest'));
-    		if (null != cloudsearch_suggest.responseTimeout) {
-                clearTimeout(cloudsearch_suggest.responseTimeout);
-            }
-    	}
-    	
-    	var script = document.createElement('script');
-        with (script) {
-        	src = 'http://search.discuz.qq.com/api/suggest?q=' + encodeURIComponent(q) + '&' + cloudsearch_suggest.queryString;
-        	id = 'cloudsearch_suggest';
-        	charset = 'utf-8';
-        }
-        
-        document.getElementsByTagName('head')[0].appendChild(script); // jsonp加载外域接口数据
-        cloudsearch_suggest.responseTimeout = setTimeout(function() {cloudsearch_suggest_clearRequest();}, 1000); // 0.5秒后没返回就抛弃
-    }
-    
-    function cloudsearch_suggest_clearRequest() {
-    	// 删掉之前的请求(包括超时处理)
-        if ($('cloudsearch_suggest') != null) {
-            document.getElementsByTagName('head')[0].removeChild($('cloudsearch_suggest'));
-        }
-    }
-
-    function cloudsearch_suggest_callback(data) {
-    	
-    	if (typeof data != undefined && 0 == data.status) {
-    		
-cloudsearch_suggest_menuMaker(data.result);
-
-    		cloudsearch_suggest_setCache(data.q, data.result);
-    	}
-    }
-
-function cloudsearch_suggest_menuMaker(data) {
-
-if (data.length > 0) {
-
-var list = '<ul>';
-    		for (var i = 0; i < data.length; i++) {
-    			  list += '<li class="sml" onmouseover="cloudsearch_suggest_mouseOver(this);" onclick="cloudsearch_suggest_mouseClick(this);">' + data[i] + '</li>';
-    		}
-    		list += '</ul>';
-$('st_box').innerHTML = list;
-    		
-    		cloudsearch_suggest_show();
-}
-}
-    
-    function cloudsearch_suggest_mouseClick(obj) {
-    	$('scbar_txt').value = obj.innerHTML.replace(/<\s*(\/)?\s*[0-9a-zA-Z]+\s*>/g, '');
-    	$('scbar_btn').click();
-    }
-    
-    function cloudsearch_suggest_mouseOver(obj) {
-    	cloudsearch_suggest_clearStyle(); // 清掉之前的选中状态
-    	obj.className = "smo"; // 当前的li设置为选中状态
-    	
-    	// 把linenow设置为当前悬停的值
-        var lis = $('st_box').getElementsByTagName('li');
-        if (typeof lis != undefined && lis.length > 0) {
-            for (var i = 0; i < lis.length; i++) {
-                if (lis[i] == obj) {
-                	cloudsearch_suggest.linenow = i + 1;
-                	break;
-                }
-            }
-        }
-    }
-    
-    function cloudsearch_suggest_show(oEvent) {
-    	cloudsearch_suggest.linenow = 0;
-    	cloudsearch_suggest.slideSpeed = 700;
-        $('sg').style.display = 'block';
-$('scbar_txt').focus();
-    }
-    
-    function cloudsearch_suggest_hide() {
-    	$('sg').style.display = 'none';
-    }
-    
-    function cloudsearch_suggest_setCache(key, data) {
-    	cloudsearch_suggest.cache[key] = data;
-    }
-    
-    function cloudsearch_suggest_getCache(key) {
-        return cloudsearch_suggest.cache[key];
-    }
-    
-    function cloudsearch_suggest_clearStyle() {
-    	var lis = $('st_box').getElementsByTagName('li');
-    	if (typeof lis != undefined && lis.length > 0) {
-    		for (var i = 0; i < lis.length; i++) {
-    			lis[i].className = 'sml';
-    		}
-    	}
-    }
-
-function cloudsearch_suggest_sgMouseOver() {
-$('scbar_txt').focus();
-_detachEvent($('scbar_txt'), 'blur', cloudsearch_suggest_hide);
-}
-
-function cloudsearch_suggest_sgMouseOut() {
-cloudsearch_suggest_clearStyle();
-_attachEvent($('scbar_txt'), 'blur', cloudsearch_suggest_hide);
-}
-    
-if (!BROWSER.ie || BROWSER.ie > 6) {
-// 输入框绑定onkeydown和onkeyup事件
-_attachEvent($('scbar_txt'), 'keydown', cloudsearch_suggest_preventEnter);
-_attachEvent($('scbar_txt'), 'keyup', cloudsearch_suggest_suggest);
-_attachEvent($('scbar_txt'), 'blur', cloudsearch_suggest_hide);
-_attachEvent($('sg'), 'mouseover', cloudsearch_suggest_sgMouseOver);
-_attachEvent($('sg'), 'mouseout', cloudsearch_suggest_sgMouseOut);
-}
-    </script>
-
-EOF;
-?><?php return $return;?><?php }?>

+ 0 - 109
data/template/5_diy_group_index.tpl.php

xqd
@@ -1,109 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('index');?><?php include template('common/header'); ?><div id="pt" class="bm cl">
-<div class="z">
-<a href="./" class="nvhm" title="首页"><?php echo $_G['setting']['bbname'];?></a><em>&raquo;</em><a href="group.php"><?php echo $_G['setting']['navs']['3']['navname'];?></a><?php echo $navigation;?>
-</div>
-</div><?php echo adshow("text/wp a_t");?><style id="diy_style" type="text/css"></style>
-<div class="wp">
-<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
-</div>
-<div id="ct" class="ct2 wp cl">
-<div class="mn">
-<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
-<div class="bm bmw">
-<div class="bm_h cl">
-<span class="y xw1"><a href="group.php?mod=my">我的<?php echo $_G['setting']['navs']['3']['navname'];?> &rsaquo;</a></span>
-<h2><?php echo $_G['setting']['navs']['3']['navname'];?>焦点</h2>
-</div>
-<!--[diy=diy5]--><div id="diy5" class="area"></div><!--[/diy]-->
-</div>
-<!--[diy=diycommendtop]--><div id="diycommendtop" class="area"></div><!--[/diy]-->
-<?php if(!empty($_G['setting']['pluginhooks']['index_header'])) echo $_G['setting']['pluginhooks']['index_header'];?>
-<div id="g_commend" class="bm">
-<div class="bm_h cl">
-<h2>推荐<?php echo $_G['setting']['navs']['3']['navname'];?></h2>
-</div>
-<div class="bm_c cl"><?php if(is_array(dunserialize($_G['setting']['group_recommend']))) foreach(dunserialize($_G['setting']['group_recommend']) as $val) { ?><dl class="xld">
-<dd class="m"><a href="forum.php?mod=group&amp;fid=<?php echo $val['fid'];?>"><img src="<?php echo $val['icon'];?>" alt="<?php echo $val['name'];?>" width="48" height="48" /></a></dd>
-<dt><a href="forum.php?mod=group&amp;fid=<?php echo $val['fid'];?>"><?php echo $val['name'];?></a></dt>
-<dd class="xg1"><?php echo $val['description'];?></dd>
-</dl>
-<?php } ?>
-</div>
-</div>
-
-<!--[diy=diycategorytop]--><div id="diycategorytop" class="area"></div><!--[/diy]-->
-<?php if(!empty($_G['setting']['pluginhooks']['index_top'])) echo $_G['setting']['pluginhooks']['index_top'];?>
-<div class="bm">
-<div class="bm_h cl">
-<h2><?php echo $_G['setting']['navs']['3']['navname'];?>分类</h2>
-</div>
-<div class="bm_c"><?php if(is_array($first)) foreach($first as $groupid => $group) { ?><dl class="mbm pbm bbda">
-<dt class="pbn">
-<span class="y xi2"><?php if(is_array($group['secondlist'])) foreach($group['secondlist'] as $fid) { ?><a href="group.php?sgid=<?php echo $fid;?>"><?php echo $second[$fid]['name'];?></a> <?php } ?><a href="group.php?gid=<?php echo $groupid;?>">更多 &rsaquo;</a></span>
-<strong class="xs2"><a href="group.php?gid=<?php echo $groupid;?>"><?php echo $group['name'];?></a></strong><?php if($group['groupnum']) { ?><span class="xg1">(<?php echo $group['groupnum'];?>)</span><?php } ?>
-</dt>
-<dd><?php if(is_array($lastupdategroup[$groupid])) foreach($lastupdategroup[$groupid] as $val) { ?><a href="forum.php?mod=group&amp;fid=<?php echo $val['fid'];?>"><?php echo $val['name'];?></a> &nbsp;&nbsp;
-<?php } ?>
-</dd>
-</dl>
-<?php } ?>
-</div>
-</div>
-<!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]-->
-<?php if(!empty($_G['setting']['pluginhooks']['index_bottom'])) echo $_G['setting']['pluginhooks']['index_bottom'];?>
-</div>
-
-<div class="sd">
-<div class="drag">
-<!--[diy=diysidetop]--><div id="diysidetop" class="area"></div><!--[/diy]-->
-</div>
-<?php if(!empty($_G['setting']['pluginhooks']['index_side_top'])) echo $_G['setting']['pluginhooks']['index_side_top'];?>
-<?php if(helper_access::check_module('group')) { if(empty($gid) && empty($sgid)) { ?>
-<div class="bm">
-<div class="bm_h cl">
-<h2>创建<?php echo $_G['setting']['navs']['3']['navname'];?>步骤</h2>
-</div>
-<div class="bm_c">
-<ul id="g_guide" class="mbm">
-<li><label><strong class="xi1">创建<?php echo $_G['setting']['navs']['3']['navname'];?></strong><span class="xg1">创建自己的地盘</span></label></li>
-<li><label><strong class="xi1">个性设置</strong><span class="xg1">精心打造<?php echo $_G['setting']['navs']['3']['navname'];?>空间</span></label></li>
-<li><label><strong class="xi1">邀请好友</strong><span class="xg1">邀请好友加入我的<?php echo $_G['setting']['navs']['3']['navname'];?></span></label></li>
-<li><label><strong class="xi1"><?php echo $_G['setting']['navs']['3']['navname'];?>升级</strong><span class="xg1"><?php echo $_G['setting']['navs']['3']['navname'];?>积分升级赢得社区推荐</span></label></li>
-</ul>
-<?php if(helper_access::check_module('group')) { ?>
-<a href="forum.php?mod=group&amp;action=create" id="create_group_btn"><img src="<?php echo IMGDIR;?>/create_group.png" alt="创建<?php echo $_G['setting']['navs']['3']['navname'];?>" /></a>
-<?php } ?>
-</div>
-</div>
-<?php } else { ?>
-<div class="bm bw0">
-<div class="bm_c">
-<a href="forum.php?mod=group&amp;action=create&amp;fupid=<?php echo $fup;?>&amp;groupid=<?php echo $sgid;?>" id="create_group_btn"><img src="<?php echo IMGDIR;?>/create_group.png" alt="创建<?php echo $_G['setting']['navs']['3']['navname'];?>" /></a>
-</div>
-</div>
-<?php } } ?>
-<div class="drag">
-<!--[diy=diysidemiddle]--><div id="diysidemiddle" class="area"></div><!--[/diy]-->
-</div>
-<?php if($topgrouplist) { ?>
-<div id="g_top" class="bm">
-<div class="bm_h cl">
-<h2><?php echo $_G['setting']['navs']['3']['navname'];?>积分排行</h2>
-</div>
-<div class="bm_c">
-<ol class="xl"><?php if(is_array($topgrouplist)) foreach($topgrouplist as $fid => $group) { ?><li class="top1"><span class="y xi2 xg1"> <?php echo $group['commoncredits'];?></span><a href="forum.php?mod=group&amp;fid=<?php echo $group['fid'];?>" title="<?php echo $group['name'];?>"><?php echo $group['name'];?></a></li>
-<?php } ?>
-</ol>
-</div>
-</div>
-<?php } ?>
-<div class="drag">
-<!--[diy=diysidebottom]--><div id="diysidebottom" class="area"></div><!--[/diy]-->
-</div>
-<?php if(!empty($_G['setting']['pluginhooks']['index_side_bottom'])) echo $_G['setting']['pluginhooks']['index_side_bottom'];?>
-</div>
-</div>
-
-<div class="wp mtn">
-<!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->
-</div><?php include template('common/footer'); ?>

+ 0 - 129
data/template/5_diy_touch_forum_discuz.tpl.php

xqd
@@ -1,129 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('discuz');?>
-<?php if($_G['setting']['mobile']['mobilehotthread'] && $_GET['forumlist'] != 1) { dheader('Location:forum.php?mod=guide&view=hot');exit;?><?php } include template('common/header'); ?><script type="text/javascript">
-function getvisitclienthref() {
-var visitclienthref = '';
-if(ios) {
-visitclienthref = 'https://itunes.apple.com/cn/app/zhang-shang-lun-tan/id489399408?mt=8';
-} else if(andriod) {
-visitclienthref = 'http://www.discuz.net/mobile.php?platform=android';
-}
-return visitclienthref;
-}
-</script>
-
-<?php if($_GET['visitclient']) { ?>
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-        <div class="wk_fr wk_nav">
-            <div class="toggle-btn wk_hmenu">
-                <span class="icon-i"></span>
-                <span class="icon-i"></span>
-                <span class="icon-i"></span>
-            </div>
-        </div>
-    </header>
-</div>
-<div class="clear"></div>
-<div class="cl">
-<div class="clew_con">
-<h2 class="tit">掌上论坛手机客户端</h2>
-<p>随时随地上论坛<input class="redirect button" id="visitclientid" type="button" value="点击下载" href="" /></p>
-<h2 class="tit">iPhone,Andriod等智能手机</h2>
-<p>直接登录手机版,阅读体验更佳<input class="redirect button" type="button" value="访问手机版" href="<?php echo $_GET['visitclient'];?>" /></p>
-</div>
-</div>
-<script type="text/javascript">
-var visitclienthref = getvisitclienthref();
-if(visitclienthref) {
-$('#visitclientid').attr('href', visitclienthref);
-} else {
-window.location.href = '<?php echo $_GET['visitclient'];?>';
-}
-</script>
-
-<?php } else { ?>
-
-<!-- header start -->
-<?php if($showvisitclient) { ?>
-
-<div class="visitclienttip vm" style="display:block;">
-<a href="javascript:;" id="visitclientid" class="btn_download">立即下载</a>	
-<p>
-下载新版掌上论坛客户端,尊享多项看帖特权!
-</p>
-</div>
-<script type="text/javascript">
-var visitclienthref = getvisitclienthref();
-if(visitclienthref) {
-$('#visitclientid').attr('href', visitclienthref);
-$('.visitclienttip').css('display', 'block');
-}
-</script>
-
-<?php } ?>
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="portal.php?mod=index&amp;mobile=2"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-        <div class="wk_fr wk_nav">
-            <div class="toggle-btn wk_hmenu">
-                <span class="icon-i"></span>
-                <span class="icon-i"></span>
-                <span class="icon-i"></span>
-            </div>
-        </div>
-    </header>
-</div>
-<div class="clear"></div>
-<!-- header end -->
-<?php if(!empty($_G['setting']['pluginhooks']['index_top_mobile'])) echo $_G['setting']['pluginhooks']['index_top_mobile'];?>
-<!-- main forumlist start -->
-<div id="wp" class="forumlist"><?php if(is_array($catlist)) foreach($catlist as $key => $cat) { ?><div class="wk_forum">
-<div class="cl subforumshow wk_forum_hd" href="#sub_forum_<?php echo $cat['fid'];?>">
-<h2><?php echo $cat['name'];?></h2>
-<div class="links">
-<span class="o"><img width="20" height="20" src="<?php echo $_G['style']['styleimgdir'];?>/collapsed_<?php if(!$_G['setting']['mobile']['mobileforumview']) { ?>yes<?php } else { ?>no<?php } ?>.png"></span>
-</div>
-</div>
-<div id="sub_forum_<?php echo $cat['fid'];?>" class="cl sub_forum wk_forum_bd">
-        <?php $wicon=1?><?php if(is_array($cat['forums'])) foreach($cat['forums'] as $forumid) { ?>                <?php $forum=$forumlist[$forumid];?>                <?php if($wicon>9) { $wicon=1?><?php } ?>
-                <div class="cl wk_forum_item">
-                    <div class="z wk_bkimg">
-                        <?php if($forum['icon']) { ?><?php echo $forum['icon'];?><?php } else { ?><a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $forum['fid'];?>"><img align="left" src="<?php echo $_G['style']['styleimgdir'];?>/icon_0<?php echo $wicon;?>.png" style="display:inline; visibility:visible;"></a>
-                        <?php } ?>
-                    </div>
-                    <a href="forum.php?mod=forumdisplay&amp;fid=<?php echo $forum['fid'];?>">
-                        <h3><?php echo $forum['name'];?> <?php echo $followcollections[$key]['lastvisit'];?></h3>
-                        <?php if(empty($forum['redirect'])) { ?><dd><em>主题: <?php echo dnumber($forum['threads']); ?></em> , <em><?php echo $touch_lang['0'];?><?php echo dnumber($forum['posts']); ?></em></dd><?php } ?>
-                        <p><?php if($forum['description']) { ?><?php echo $forum['description'];?><?php } else { ?><?php echo $touch_lang['1'];?><?php } if($forum['todayposts'] > 0) { ?><span class="num"><?php echo $forum['todayposts'];?></span><?php } ?></p>
-                    </a>
-                </div>
-                <?php $wicon++?><?php } ?>
-</div>
-</div>
-<?php } ?>
-</div>
-<!-- main forumlist end -->
-<?php if(!empty($_G['setting']['pluginhooks']['index_middle_mobile'])) echo $_G['setting']['pluginhooks']['index_middle_mobile'];?>
-<script type="text/javascript">
-(function() {
-<?php if(!$_G['setting']['mobile']['mobileforumview']) { ?>
-$('.sub_forum').css('display', 'block');
-<?php } else { ?>
-$('.sub_forum').css('display', 'none');
-<?php } ?>
-$('.subforumshow').on('click', function() {
-var obj = $(this);
-var subobj = $(obj.attr('href'));
-if(subobj.css('display') == 'none') {
-subobj.css('display', 'block');
-obj.find('img').attr('src', '<?php echo $_G['style']['styleimgdir'];?>/collapsed_yes.png');
-} else {
-subobj.css('display', 'none');
-obj.find('img').attr('src', '<?php echo $_G['style']['styleimgdir'];?>/collapsed_no.png');
-}
-});
- })();
-</script>
-
-<?php } include template('common/footer'); ?>

+ 0 - 51
data/template/5_diy_touch_forum_forumdisplay.tpl.php

xqd
@@ -1,51 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('forumdisplay');?><?php include template('common/header'); ?><!-- header start -->
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-<div class="wk_fr wk_nav"><div class="toggle-btn wk_hmenu"><span class="icon-i"></span><span class="icon-i"></span><span class="icon-i"></span></div></div>
-        <div class="wk_fr wk_nav"><a href="forum.php?mod=post&amp;action=newthread&amp;fid=<?php echo $_G['fid'];?>" title="发帖"><img src="<?php echo $_G['style']['styleimgdir'];?>/icon_send.jpg" class="width100"/></a></div>
-    </header>
-</div>
-<div class="clear"></div>
-<!-- header end -->
-<div class="wk_modn mt-mb">
-    <div class="row">
-        <a href="./" title="首页"></a>
-        <em>&rsaquo;</em>
-        <a href="forum.php?forumlist=1"><?php echo $_G['setting']['navs']['2']['navname'];?></a> <?php echo $navigation;?>
-    </div>
-</div>
-<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_top_mobile'])) echo $_G['setting']['pluginhooks']['forumdisplay_top_mobile'];?>
-<!-- main threadlist start -->
-<?php if(!$subforumonly) { ?>
-<div class="threadlist">
-<ul>
-            <?php $wy=1?><?php if($_G['forum_threadcount']) { if(is_array($_G['forum_threadlist'])) foreach($_G['forum_threadlist'] as $key => $thread) { if(!$_G['setting']['mobile']['mobiledisplayorder3'] && $thread['displayorder'] > 0) { continue;?><?php } ?>
-                	<?php if($thread['displayorder'] > 0 && !$displayorder_thread) { ?>
-                <?php $displayorder_thread = 1;?>                    <?php } if($thread['moved']) { $thread[tid]=$thread[closed];?><?php } ?>
-<li <?php if(is_int($wy/2)) { ?>class="wk_wye"<?php } ?>>
-<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_thread_mobile'][$key])) echo $_G['setting']['pluginhooks']['forumdisplay_thread_mobile'][$key];?>
-                    <a href="forum.php?mod=viewthread&amp;tid=<?php echo $thread['tid'];?>&amp;extra=<?php echo $extra;?>" <?php echo $thread['highlight'];?> >
-<?php echo $thread['subject'];?>
-<span class="by"><?php echo $touch_lang['31'];?>:<?php echo $thread['author'];?> , <?php echo $touch_lang['32'];?>:<?php echo $thread['dateline'];?></span>
-</a>
-<span class="num"><?php echo $thread['replies'];?></span>
-<?php if(in_array($thread['displayorder'], array(1, 2, 3, 4))) { ?>
-<span class="icon_top"><img src="<?php echo STATICURL;?>image/mobile/images/icon_top.png"></span>
-<?php } elseif($thread['digest'] > 0) { ?>
-<span class="icon_top"><img src="<?php echo STATICURL;?>image/mobile/images/icon_digest.png"></span>
-<?php } elseif($thread['attachment'] == 2 && $_G['setting']['mobile']['mobilesimpletype'] == 0) { ?>
-<span class="icon_tu"><img src="<?php echo STATICURL;?>image/mobile/images/icon_tu.png"></span>
-<?php } ?>
-  </li>
-                  <?php $wy++?>                <?php } ?>
-            <?php } else { ?>
-<li>本版块或指定的范围内尚无主题</li>
-<?php } ?>
-</ul>
-</div>
-<?php echo $multipage;?>
-<?php } ?>
-<!-- main threadlist end -->
-<?php if(!empty($_G['setting']['pluginhooks']['forumdisplay_bottom_mobile'])) echo $_G['setting']['pluginhooks']['forumdisplay_bottom_mobile'];?>
-<div class="pullrefresh" style="display:none;"></div><?php include template('common/footer'); ?>

+ 0 - 338
data/template/5_diy_touch_forum_viewthread.tpl.php

xqd
@@ -1,338 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('viewthread');
-0
-|| checktplrefresh('./template/week_touch/touch/forum/viewthread.htm', './template/week_touch/touch/forum/forumdisplay_fastpost.htm', 1523429390, 'diy', './data/template/5_diy_touch_forum_viewthread.tpl.php', './template/week_touch', 'touch/forum/viewthread')
-|| checktplrefresh('./template/week_touch/touch/forum/viewthread.htm', './template/default/touch/common/seccheck.htm', 1523429390, 'diy', './data/template/5_diy_touch_forum_viewthread.tpl.php', './template/week_touch', 'touch/forum/viewthread')
-;?>
-<?php $threadsort = $threadsorts = null;?><?php include template('common/header'); ?><!-- header start -->
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-        <div class="wk_fr wk_nav"><div class="toggle-btn wk_hmenu"><span class="icon-i"></span><span class="icon-i"></span><span class="icon-i"></span></div></div>
-        <div class="wk_fr wk_nav"><a href="#" title="回复" id="replyid"><img src="<?php echo $_G['style']['styleimgdir'];?>/icon_send.jpg" class="width100"/></a></div>
-        <div class="wk_fr wk_nav"><a href="home.php?mod=spacecp&amp;ac=favorite&amp;type=thread&amp;id=<?php echo $_G['tid'];?>" title="收藏" class="favbtn"><img src="<?php echo $_G['style']['styleimgdir'];?>/icon_fav.jpg" class="width100"/></a></div>
-    </header>
-</div>
-<div class="clear"></div>
-<!-- header end -->
-<div class="wk_modn mt-mb">
-    <div class="row">
-        <a href="./" title="首页"></a>
-        <em>&rsaquo;</em>
-        <a href="forum.php?forumlist=1"><?php echo $_G['setting']['navs']['2']['navname'];?></a> <?php echo $navigation;?>
-        <em>&rsaquo;</em>
-        <span><?php echo $touch_lang['33'];?></span>
-    </div>
-</div>
-<?php if(!empty($_G['setting']['pluginhooks']['viewthread_top_mobile'])) echo $_G['setting']['pluginhooks']['viewthread_top_mobile'];?>
-<!-- main postlist start -->
-<div class="postlist">
-<h2>
-        	<?php if($_G['forum_thread']['typeid'] && $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']]) { ?>
-[<?php echo $_G['forum']['threadtypes']['types'][$_G['forum_thread']['typeid']];?>]
-            <?php } ?>
-            <?php if($threadsorts && $_G['forum_thread']['sortid']) { ?>
-                [<?php echo $_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']];?>]
-<?php } ?>
-<?php echo $_G['forum_thread']['subject'];?>
-            <?php if($_G['forum_thread']['displayorder'] == -2) { ?> <span>(审核中)</span>
-            <?php } elseif($_G['forum_thread']['displayorder'] == -3) { ?> <span>(已忽略)</span>
-            <?php } elseif($_G['forum_thread']['displayorder'] == -4) { ?> <span>(草稿)</span>
-            <?php } ?>
-</h2><?php $postcount = 0;?>    <?php $wy=1?><?php if(is_array($postlist)) foreach($postlist as $post) { $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);?><?php if(!empty($_G['setting']['pluginhooks']['viewthread_posttop_mobile'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_posttop_mobile'][$postcount];?>
-   <div class="plc cl <?php if(is_int($wy/2)) { ?>wk_wye<?php } ?>" id="pid<?php echo $post['pid'];?>">
-   <span class="avatar"><img src="<?php if(!$post['authorid'] || $post['anonymous']) { ?><?php echo avatar(0, small, true);?><?php } else { ?><?php echo avatar($post[authorid], small, true);?><?php } ?>" style="width:32px;height:32px;" /></span>
-       <div class="display pi" href="#replybtn_<?php echo $post['pid'];?>">
-   <ul class="authi">
-<li class="grey">
-<em>
-<?php if(isset($post['isstick'])) { ?>
-<img src ="<?php echo IMGDIR;?>/settop.png" title="置顶回复" class="vm" /> 来自 <?php echo $post['number'];?><?php echo $postnostick;?>
-<?php } elseif($post['number'] == -1) { ?>
-推荐
-<?php } else { if(!empty($postno[$post['number']])) { ?><?php echo $postno[$post['number']];?><?php } else { ?><?php echo $post['number'];?><?php echo $postno['0'];?><?php } } ?>
-</em><b>
-<?php if($post['authorid'] && $post['username'] && !$post['anonymous']) { ?>
-<a href="home.php?mod=space&amp;uid=<?php echo $post['authorid'];?>" class="blue"><?php echo $post['author'];?></a></b>
-
-<?php } else { if(!$post['authorid']) { ?>
-<a href="javascript:;">游客 <em><?php echo $post['useip'];?><?php if($post['port']) { ?>:<?php echo $post['port'];?><?php } ?></em></a>
-<?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">匿名</a><?php } else { ?>匿名<?php } } else { ?>
-<?php echo $post['author'];?> <em>该用户已被删除</em>
-<?php } } ?>
-</li>
-<li class="grey rela">
-<?php if($_G['forum']['ismoderator']) { ?>
-<!-- manage start -->
-<?php if($post['first']) { ?>
-<em><a href="#moption_<?php echo $post['pid'];?>" class="popup blue">管理</a></em>
-<div id="moption_<?php echo $post['pid'];?>" popup="true" class="manage" style="display:none;">
-<?php if(!$_G['forum_thread']['special']) { ?>
-<input type="button" value="编辑" class="redirect button" 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($_G['forum_thread']['sortid']) { if($post['first']) { ?>&amp;sortid=<?php echo $_G['forum_thread']['sortid'];?><?php } } if(!empty($_GET['modthreadkey'])) { ?>&amp;modthreadkey=<?php echo $_GET['modthreadkey'];?><?php } ?>&amp;page=<?php echo $page;?>">
-<?php } ?>
-<input type="button" value="删除" class="dialog button" href="forum.php?mod=topicadmin&amp;action=moderate&amp;fid=<?php echo $_G['fid'];?>&amp;moderate[]=<?php echo $_G['tid'];?>&amp;operation=delete&amp;optgroup=3&amp;from=<?php echo $_G['tid'];?>">
-<input type="button" value="关闭" class="dialog button" href="forum.php?mod=topicadmin&amp;action=moderate&amp;fid=<?php echo $_G['fid'];?>&amp;moderate[]=<?php echo $_G['tid'];?>&amp;from=<?php echo $_G['tid'];?>&amp;optgroup=4">
-<input type="button" value="屏蔽" class="dialog button" href="forum.php?mod=topicadmin&amp;action=banpost&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;topiclist[]=<?php echo $_G['forum_firstpid'];?>">
-<input type="button" value="警告" class="dialog button" href="forum.php?mod=topicadmin&amp;action=warn&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;topiclist[]=<?php echo $_G['forum_firstpid'];?>">
-</div>
-<?php } else { ?>
-<em><a href="#moption_<?php echo $post['pid'];?>" class="popup blue">管理</a></em>
-<div id="moption_<?php echo $post['pid'];?>" popup="true" class="manage" style="display:none;">
-<input type="button" value="编辑" class="redirect button" 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['group']['allowdelpost']) { ?><input type="button" value="删除" class="dialog button" href="forum.php?mod=topicadmin&amp;action=delpost&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;operation=&amp;optgroup=&amp;page=&amp;topiclist[]=<?php echo $post['pid'];?>"><?php } if($_G['group']['allowbanpost']) { ?><input type="button" value="屏蔽" class="dialog button" href="forum.php?mod=topicadmin&amp;action=banpost&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;operation=&amp;optgroup=&amp;page=&amp;topiclist[]=<?php echo $post['pid'];?>"><?php } if($_G['group']['allowwarnpost']) { ?><input type="button" value="警告" class="dialog button" href="forum.php?mod=topicadmin&amp;action=warn&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;operation=&amp;optgroup=&amp;page=&amp;topiclist[]=<?php echo $post['pid'];?>"><?php } ?>
-</div>
-<?php } ?>
-<!-- manage end -->
-<?php } if($post['first']) { ?>
-<em><a href="home.php?mod=spacecp&amp;ac=favorite&amp;type=thread&amp;id=<?php echo $_G['tid'];?>" class="favbtn blue" <?php if($_G['forum']['ismoderator']) { ?>style="margin-right:10px;"<?php } ?>>收藏</a></em>
-<?php } ?>
-<?php echo $post['dateline'];?>
-</li>
-            </ul>
-<div class="message">
-                	<?php if($post['warned']) { ?>
-                        <span class="grey quote">受到警告</span>
-                    <?php } ?>
-                    <?php if(!$post['first'] && !empty($post['subject'])) { ?>
-                        <h2><strong><?php echo $post['subject'];?></strong></h2>
-                    <?php } ?>
-                    <?php if($_G['adminid'] != 1 && $_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || $post['status'] == -1 || $post['memberstatus'])) { ?>
-                        <div class="grey quote">提示: <em>作者被禁止或删除 内容自动屏蔽</em></div>
-                    <?php } elseif($_G['adminid'] != 1 && $post['status'] & 1) { ?>
-                        <div class="grey quote">提示: <em>该帖被管理员或版主屏蔽</em></div>
-                    <?php } elseif($needhiddenreply) { ?>
-                        <div class="grey quote">此帖仅作者可见</div>
-                    <?php } elseif($post['first'] && $_G['forum_threadpay']) { include template('forum/viewthread_pay'); } else { ?>
-
-                    	<?php if($_G['setting']['bannedmessages'] & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))) { ?>
-                            <div class="grey quote">提示: <em>作者被禁止或删除 内容自动屏蔽,只有管理员或有管理权限的成员可见</em></div>
-                        <?php } elseif($post['status'] & 1) { ?>
-                            <div class="grey quote">提示: <em>该帖被管理员或版主屏蔽,只有管理员或有管理权限的成员可见</em></div>
-                        <?php } ?>
-                        <?php if($_G['forum_thread']['price'] > 0 && $_G['forum_thread']['special'] == 0) { ?>
-                            付费主题, 价格: <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> <a href="forum.php?mod=misc&amp;action=viewpayments&amp;tid=<?php echo $_G['tid'];?>" >记录</a>
-                        <?php } ?>
-
-                        <?php if($post['first'] && $threadsort && $threadsortshow) { ?>
-                        	<?php if($threadsortshow['optionlist'] && !($post['status'] & 1) && !$_G['forum_threadpay']) { ?>
-                                <?php if($threadsortshow['optionlist'] == 'expire') { ?>
-                                    该信息已经过期
-                                <?php } else { ?>
-                                    <div class="box_ex2 viewsort">
-                                        <h4><?php echo $_G['forum']['threadsorts']['types'][$_G['forum_thread']['sortid']];?></h4>
-                                    <?php if(is_array($threadsortshow['optionlist'])) foreach($threadsortshow['optionlist'] as $option) { ?>                                        <?php if($option['type'] != 'info') { ?>
-                                            <?php echo $option['title'];?>: <?php if($option['value']) { ?><?php echo $option['value'];?> <?php echo $option['unit'];?><?php } else { ?><span class="grey">--</span><?php } ?><br />
-                                        <?php } ?>
-                                    <?php } ?>
-                                    </div>
-                                <?php } ?>
-                            <?php } ?>
-                        <?php } ?>
-                        <?php if($post['first']) { ?>
-                            <?php if(!$_G['forum_thread']['special']) { ?>
-                                <?php echo $post['message'];?>
-                            <?php } elseif($_G['forum_thread']['special'] == 1) { ?>
-                                <?php include template('forum/viewthread_poll'); ?>                            <?php } elseif($_G['forum_thread']['special'] == 2) { ?>
-                                <?php include template('forum/viewthread_trade'); ?>                            <?php } elseif($_G['forum_thread']['special'] == 3) { ?>
-                                <?php include template('forum/viewthread_reward'); ?>                            <?php } elseif($_G['forum_thread']['special'] == 4) { ?>
-                                <?php include template('forum/viewthread_activity'); ?>                            <?php } elseif($_G['forum_thread']['special'] == 5) { ?>
-                                <?php include template('forum/viewthread_debate'); ?>                            <?php } elseif($threadplughtml) { ?>
-                                <?php echo $threadplughtml;?>
-                                <?php echo $post['message'];?>
-                            <?php } else { ?>
-                            	<?php echo $post['message'];?>
-                            <?php } ?>
-                            <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title=""></a><a href="#" class="bds_tsina" data-cmd="tsina" title=""></a><a href="#" class="bds_tqq" data-cmd="tqq" title=""></a><a href="#" class="bds_renren" data-cmd="renren" title=""></a><a href="#" class="bds_weixin" data-cmd="weixin" title=""></a></div>
-<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
-                        <?php } else { ?>
-                            <?php echo $post['message'];?>
-                        <?php } } ?>
-</div>
-<?php if($_G['setting']['mobile']['mobilesimpletype'] == 0) { if($post['attachment']) { ?>
-               <div class="grey quote">
-               附件: <em><?php if($_G['uid']) { ?>您所在的用户组无法下载或查看附件<?php } else { ?>您需要<a href="member.php?mod=logging&amp;action=login">登录</a>才可以下载或查看附件。没有帐号?<a href="member.php?mod=<?php echo $_G['setting']['regname'];?>" title="注册帐号"><?php echo $_G['setting']['reglinkname'];?></a><?php } ?></em>
-               </div>
-            <?php } elseif($post['imagelist'] || $post['attachlist']) { ?>
-               <?php if($post['imagelist']) { if(count($post['imagelist']) == 1) { ?>
-<ul class="img_one"><?php echo showattach($post, 1); ?></ul>
-<?php } else { ?>
-<ul class="img_list cl vm"><?php echo showattach($post, 1); ?></ul>
-<?php } } ?>
-                <?php if($post['attachlist']) { ?>
-<ul><?php echo showattach($post); ?></ul>
-<?php } } } if($_G['uid'] && $allowpostreply && !$post['first']) { ?>
-<div id="replybtn_<?php echo $post['pid'];?>" class="replybtn" display="true" style="display:none;position:absolute;right:0px;top:5px;">
-<input type="button" class="redirect button" 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;?>" value="回复">
-</div>
-<?php } ?>
-       </div>
-   </div>
-   <?php if(!empty($_G['setting']['pluginhooks']['viewthread_postbottom_mobile'][$postcount])) echo $_G['setting']['pluginhooks']['viewthread_postbottom_mobile'][$postcount];?>
-   <?php $postcount++;?>   <?php $wy++?>   <?php } ?><div id="post_new"></div>
-<div class="plc cl">
-<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&amp;mobile=2">
-<input type="hidden" name="formhash" value="<?php echo FORMHASH;?>" />
-<span class="avatar"><img style="height:32px;width:32px;" src="<?php echo avatar($_G[uid], small, true);?>" /></span>  
-<div class="pi">
-<ul class="fastpost">
-<?php if($_G['forum_thread']['special'] == 5 && empty($firststand)) { ?>
-<li>
-<select id="stand" name="stand" >
-<option value="">选择观点</option>
-<option value="0">中立</option>
-<option value="1">正方</option>
-<option value="2">反方</option>
-</select>
-</li>
-<?php } ?>
-<li><input type="text" value="我也说一句" class="input grey" color="gray" name="message" id="fastpostmessage"></li>
-<li id="fastpostsubmitline" style="display:none;"><?php if($secqaacheck || $seccodecheck) { $sechash = 'S'.random(4);
-$sectpl = !empty($sectpl) ? explode("<sec>", $sectpl) : array('<br />',': ','<br />','');	
-$ran = random(5, 1);?><?php if($secqaacheck) { $message = '';
-$question = make_secqaa();
-$secqaa = lang('core', 'secqaa_tips').$question;?><?php } if($sectpl) { if($secqaacheck) { ?>
-<p>
-        验证问答: 
-        <span class="xg2"><?php echo $secqaa;?></span>
-<input name="secqaahash" type="hidden" value="<?php echo $sechash;?>" />
-        <input name="secanswer" id="secqaaverify_<?php echo $sechash;?>" type="text" class="txt" />
-        </p>
-<?php } if($seccodecheck) { ?>
-<div class="sec_code vm">
-<input name="seccodehash" type="hidden" value="<?php echo $sechash;?>" />
-<input type="text" class="txt px vm" style="ime-mode:disabled;width:115px;background:white;" autocomplete="off" value="" id="seccodeverify_<?php echo $sechash;?>" name="seccodeverify" placeholder="验证码" fwin="seccode">
-        <img src="misc.php?mod=seccode&amp;update=<?php echo $ran;?>&amp;idhash=<?php echo $sechash;?>&amp;mobile=2" class="seccodeimg"/>
-</div>
-<?php } } ?>
-<script type="text/javascript">
-(function() {
-$('.seccodeimg').on('click', function() {
-$('#seccodeverify_<?php echo $sechash;?>').attr('value', '');
-var tmprandom = 'S' + Math.floor(Math.random() * 1000);
-$('.sechash').attr('value', tmprandom);
-$(this).attr('src', 'misc.php?mod=seccode&update=<?php echo $ran;?>&idhash='+ tmprandom +'&mobile=2');
-});
-})();
-</script>
-<?php } ?><input type="button" value="回复" class="button2" name="replysubmit" id="fastpostsubmit"><a href="forum.php?mod=post&amp;action=reply&amp;fid=<?php echo $_G['fid'];?>&amp;tid=<?php echo $_G['tid'];?>&amp;reppost=<?php echo $_G['forum_firstpid'];?>&amp;page=<?php echo $page;?>" class="y" style="height:30px;width:30px;margin-top:7px;background:url(<?php echo STATICURL;?>image/mobile/images/icon_photo.png) no-repeat"><span class="none">回复</span></a><?php if(!empty($_G['setting']['pluginhooks']['viewthread_fastpost_button_mobile'])) echo $_G['setting']['pluginhooks']['viewthread_fastpost_button_mobile'];?></li>
-</ul>
-</div>
-    </form>
-</div>
-<script type="text/javascript">
-(function() {
-var form = $('#fastpostform');
-<?php if(!$_G['uid'] || $_G['uid'] && !$allowpostreply) { ?>
-$('#fastpostmessage').on('focus', function() {
-<?php if(!$_G['uid']) { ?>
-popup.open('您还未登录,立即登录?', 'confirm', 'member.php?mod=logging&action=login');
-<?php } else { ?>
-popup.open('您暂时没有权限发表', 'alert');
-<?php } ?>
-this.blur();
-});
-<?php } else { ?>
-$('#fastpostmessage').on('focus', function() {
-var obj = $(this);
-if(obj.attr('color') == 'gray') {
-obj.attr('value', '');
-obj.removeClass('grey');
-obj.attr('color', 'black');
-$('#fastpostsubmitline').css('display', 'block');
-}
-})
-.on('blur', function() {
-var obj = $(this);
-if(obj.attr('value') == '') {
-obj.addClass('grey');
-obj.attr('value', '我也说一句');
-obj.attr('color', 'gray');
-}
-});
-<?php } ?>
-$('#fastpostsubmit').on('click', function() {
-var msgobj = $('#fastpostmessage');
-if(msgobj.val() == '我也说一句') {
-msgobj.attr('value', '');
-}
-$.ajax({
-type:'POST',
-url:form.attr('action') + '&handlekey=fastpost&loc=1&inajax=1',
-data:form.serialize(),
-dataType:'xml'
-})
-.success(function(s) {
-evalscript(s.lastChild.firstChild.nodeValue);
-})
-.error(function() {
-window.location.href = obj.attr('href');
-popup.close();
-});
-return false;
-});
-
-$('#replyid').on('click', function() {
-$(document).scrollTop($(document).height());
-$('#fastpostmessage')[0].focus();
-});
-
-})();
-
-function succeedhandle_fastpost(locationhref, message, param) {
-var pid = param['pid'];
-var tid = param['tid'];
-if(pid) {
-$.ajax({
-type:'POST',
-url:'forum.php?mod=viewthread&tid=' + tid + '&viewpid=' + pid + '&mobile=2',
-dataType:'xml'
-})
-.success(function(s) {
-$('#post_new').append(s.lastChild.firstChild.nodeValue);
-})
-.error(function() {
-window.location.href = 'forum.php?mod=viewthread&tid=' + tid;
-popup.close();
-});
-} else {
-if(!message) {
-message = '本版回帖需要审核,您的帖子将在通过审核后显示';
-}
-popup.open(message, 'alert');
-}
-$('#fastpostmessage').attr('value', '');
-if(param['sechash']) {
-$('.seccodeimg').click();
-}
-}
-
-function errorhandle_fastpost(message, param) {
-popup.open(message, 'alert');
-}
-</script>
-</div>
-<!-- main postlist end -->
-
-<?php echo $multipage;?>
-
-<?php if(!empty($_G['setting']['pluginhooks']['viewthread_bottom_mobile'])) echo $_G['setting']['pluginhooks']['viewthread_bottom_mobile'];?>
-
-<script type="text/javascript">
-$('.favbtn').on('click', function() {
-var obj = $(this);
-$.ajax({
-type:'POST',
-url:obj.attr('href') + '&handlekey=favbtn&inajax=1',
-data:{'favoritesubmit':'true', 'formhash':'<?php echo FORMHASH;?>'},
-dataType:'xml',
-})
-.success(function(s) {
-popup.open(s.lastChild.firstChild.nodeValue);
-evalscript(s.lastChild.firstChild.nodeValue);
-})
-.error(function() {
-window.location.href = obj.attr('href');
-popup.close();
-});
-return false;
-});
-</script><?php include template('common/footer'); ?>

+ 0 - 70
data/template/5_diy_touch_portal_list.tpl.php

xqd
@@ -1,70 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('list');?><?php include template('common/header'); $list = array();?><?php $wheresql = category_get_wheresql($cat);?><?php $list = category_get_list($cat, $wheresql, $page);?><!-- header start -->
-<?php if($week_listhead) { include template('portal/header_portal'); } else { ?>
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="<?php echo $_G['siteurl'];?>portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-        <div class="wk_fr wk_nav">
-            <div class="toggle-btn wk_hmenu">
-                <span class="icon-i"></span>
-                <span class="icon-i"></span>
-                <span class="icon-i"></span>
-            </div>
-        </div>
-    </header>
-</div>
-<?php } ?>
-<!-- header end -->
-<div class="clear"></div>
-
-<div class="wk_modn">
-    <div class="row">
-        <a href="<?php echo $_G['siteurl'];?>" title="首页"></a>
-        <em>&rsaquo;</em>
-        <?php if(is_array($cat['ups'])) foreach($cat['ups'] as $value) { ?> <a href="<?php echo $portalcategory[$value['catid']]['caturl'];?>"><?php echo $value['catname'];?></a><em>&rsaquo;</em><?php } ?>
-        <span><?php echo $cat['catname'];?></span>
-    </div>
-</div>
-<div class="clear"></div>
-<?php if($cat['others']) { ?>
-<div class="week_nv">
-   <div class="week_nv-wp">
-<div class="wk_th_types"> 
-<ul class="cl">
-            <?php if(is_array($cat['others'])) foreach($cat['others'] as $value) { ?>                <li <?php if($value['catid'] == $cat['catid']) { ?>class="a"<?php } ?>><a href="<?php echo getportalcategoryurl($value['catid']); ?>" title="<?php echo $value['catname'];?>"><?php echo $value['catname'];?></a></li>
-            <?php } ?>
-</ul> 
-    	</div>
-    	<a class="week_nv-arrow week_nv-arrow-l"></a>
-    	<a class="week_nv-arrow week_nv-arrow-r"></a>
-   </div> 
-</div>
-<?php } ?>
-<div class="clear"></div><?php include template('portal/list_about'); ?><div class="clear"></div>
-
-<div class="wk_list">
-<div class="clear"></div>
-<?php if($cat['subs']) { ?>
-<ul class="wk_cat">			
-<li>下级分类:&nbsp;&nbsp;</li><?php if(is_array($cat['subs'])) foreach($cat['subs'] as $value) { ?><li><a href="<?php echo getportalcategoryurl($value['catid']);; ?>"><?php echo $value['catname'];?></a></li>
-<?php } ?>
-</ul>
-<?php } ?>
-    <div class="clear"></div>        
-<ul class="wk_listul">
-    <?php $ys=1?><?php if(is_array($list['list'])) foreach($list['list'] as $value) { ?>    <?php $highlight = article_title_style($value);?>        <?php $article_url = fetch_article_url($value);?><li class="wk_listli <?php if(is_int($ys/2)) { ?>wk_yse<?php } ?>">
-<a href="<?php echo $_G['siteurl'];?><?php echo $article_url;?>" title="<?php echo $value['title'];?>">
-<?php if($value['pic']) { ?><img src="<?php echo $value['pic'];?>" class="wk_list_pic" alt="<?php echo $value['title'];?>"  width="80"/><?php } ?>
-<div class="wk_list_txt">
-              <h2><?php echo $value['title'];?></h2>
-              <p><?php echo $value['summary'];?></p>
-                <span class="z">Time:<?php echo $value['dateline'];?></span><span class="y">By:<?php echo $value['username'];?></span>
-</div>
-</a>
-</li>
-        <?php $ys++?><?php } ?>
-</ul>
-    <div class="clear"></div>
-    <?php if($list['multi']) { ?><div class="pgs cl"><?php echo $list['multi'];?></div><?php } ?>
-    <div class="clear"></div>
-</div>
-    <?php include template('common/footer'); ?>

+ 0 - 85
data/template/5_diy_touch_portal_view.tpl.php

xqd
@@ -1,85 +0,0 @@
-<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('view');?><?php include template('common/header'); ?><!-- header start -->
-<?php if($week_listhead) { include template('portal/header_portal'); } else { ?>
-<div class="wk_header">
-<header class="width100">
-        <h1 class="wk_fl"><a href="<?php echo $_G['siteurl'];?>portal.php?mod=index"><img alt="<?php echo $_G['setting']['bbname'];?>" src="<?php echo $_G['style']['styleimgdir'];?>/logo.png" class="width100"/></a></h1>
-        <div class="wk_fr wk_nav">
-            <div class="toggle-btn wk_hmenu">
-                <span class="icon-i"></span>
-                <span class="icon-i"></span>
-                <span class="icon-i"></span>
-            </div>
-        </div>
-    </header>
-</div>
-<?php } ?>
-<!-- header end -->
-
-<div class="clear"></div>
-<div class="wk_modn">
-    <div class="row">
-        <a href="<?php echo $_G['siteurl'];?>" title="首页"></a>
-        <em>&rsaquo;</em>
-        <?php if(is_array($cat['ups'])) foreach($cat['ups'] as $value) { ?><a href="<?php echo getportalcategoryurl($value['catid']); ?>"><?php echo $value['catname'];?></a><em>&rsaquo;</em><?php } ?>
-        <a href="<?php echo getportalcategoryurl($cat['catid']); ?>"><?php echo $cat['catname'];?></a>
-        <em>&rsaquo;</em>
-        <span>查看内容</span>
-    </div>
-</div>
-<div class="clear"></div>
-<?php if($cat['others']) { ?>
-<div class="week_nv">
-   <div class="week_nv-wp">
-<div class="wk_th_types"> 
-<ul class="cl">
-            <?php if(is_array($cat['others'])) foreach($cat['others'] as $value) { ?>                <li <?php if($value['catid'] == $cat['catid']) { ?>class="a"<?php } ?>><a href="<?php echo getportalcategoryurl($value['catid']); ?>" title="<?php echo $value['catname'];?>"><?php echo $value['catname'];?></a></li>
-            <?php } ?>
-</ul> 
-    	</div>
-    	<a class="week_nv-arrow week_nv-arrow-l"></a>
-    	<a class="week_nv-arrow week_nv-arrow-r"></a>
-   </div> 
-</div>
-<?php } ?>
-<div class="clear"></div>
-<div class="wk_view">
-<div class="clear"></div>
-    <div class="wk_nruv"> 
-        <h1 class="vt_th"><?php echo $article['title'];?> <?php if($article['status'] == 1) { ?><span>(待审核)</span><?php } elseif($article['status'] == 2) { ?><span>(已忽略)</span><?php } ?></h1> 
-        <p class="xg1">
-            <?php echo $article['dateline'];?><span class="pipe"> | </span>
-            <?php echo $touch_lang['35'];?>: <a href="home.php?mod=space&amp;uid=<?php echo $article['uid'];?>"><?php echo $article['username'];?></a><span class="pipe"> | </span>
-            查看: <em id="_viewnum"><?php if($article['viewnum'] > 0) { ?><?php echo $article['viewnum'];?><?php } else { ?>0<?php } ?></em><span class="pipe">|</span>
-            评论: <?php if($article['commentnum'] > 0) { ?><a href="<?php echo $common_url;?>" title="查看全部评论"><em id="_commentnum"><?php echo $article['commentnum'];?></em></a><?php } else { ?>0<?php } ?>
-            <?php if(!empty($_G['setting']['pluginhooks']['view_article_subtitle'])) echo $_G['setting']['pluginhooks']['view_article_subtitle'];?>
-        </p>
-    	<?php if($article['summary'] && empty($cat['notshowarticlesummay'])) { ?><div class="wk_smary"><div><strong>摘要</strong> : <?php echo $article['summary'];?></div><?php if(!empty($_G['setting']['pluginhooks']['view_article_summary'])) echo $_G['setting']['pluginhooks']['view_article_summary'];?></div><?php } ?>
-    </div>
-<div class="clear"></div>		
-    <div class="wk_multi">
-    	<p><?php echo $content['content'];?></p>                
-    	<?php if($multi) { ?><div class="pgbox"><?php echo $multi;?></div><?php } ?>      
-    </div>    
-<div class="clear"></div>		                                    
-    <div class="wk_share">
-        <h3 class="mb10"><?php echo $touch_lang['36'];?>:</h3>
-        <div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a title="" href="#" class="bds_qzone" data-cmd="qzone"></a><a title="" href="#" class="bds_tsina" data-cmd="tsina"></a><a title="" href="#" class="bds_tqq" data-cmd="tqq"></a><a title="" href="#" class="bds_renren" data-cmd="renren"></a><a title="" href="#" class="bds_weixin" data-cmd="weixin"></a></div>
-<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
-    </div>   
-    <div class="wk_next">
-        <?php if($article['prearticle']) { ?><em>上一篇:<a href="<?php echo $article['prearticle']['url'];?>"><?php echo $article['prearticle']['title'];?></a></em><?php } ?>
-        <?php if($article['nextarticle']) { ?><em>下一篇:<a href="<?php echo $article['nextarticle']['url'];?>"><?php echo $article['nextarticle']['title'];?></a></em><?php } ?>
-    </div>
-<div class="clear"></div>
-<div class="w_h20"></div>  
-    <?php if($article['related']) { ?>
-    <div class="wk_related">
-        <h3>相关阅读</h3>
-        <ul>
-          <?php if(is_array($article['related'])) foreach($article['related'] as $value) { ?>          	<li><a href="portal.php?mod=view&amp;aid=<?php echo $value['aid'];?>"><?php echo cutstr($value['title'],38); ?></a></li>
-          <?php } ?>
-        </ul>			
-    </div>
-    <?php } ?>
-    <div class="clear"></div>
-</div><?php include template('common/footer'); ?>

File diff suppressed because it is too large
+ 1 - 0
source/plugin/milu_seotool/data/cache/56/42/fd/5642fd158fca253e1af06cf10c24909f.cache.php


Some files were not shown because too many files changed in this diff