First commit

This commit is contained in:
2025-06-18 10:24:27 +08:00
commit ebc39cd5dd
3873 changed files with 412712 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<!--{block return}-->
<script type="text/javascript">
var IMGDIR = '$_G[style][imgdir]';
</script>
<script type="text/javascript" src="{$_G[setting][jspath]}tree.js"></script>
<style type="text/css">
.tree { white-space: nowrap; padding-left: 0.4em; overflow-x: hidden; }
.tree img { border: 0px; vertical-align: middle; }
.tree .node a { text-decoration: none; }
</style>
<div class="sidebox">
<script type="text/javascript">
var tree = new dzTree('tree');
tree.addNode(0, -1, '$_G[setting][bbname]', 'forum.php', 'main', true);
<!--{loop $forumlist $forumdata}-->
<!--{if $forumdata['type'] == 'group'}-->
<!--{if $haschild[$forumdata['fid']]}-->
tree.addNode($forumdata[fid], $forumdata[fup], '$forumdata[name]', 'forum.php?mod=index&gid=$forumdata[fid]', '', false);
<!--{/if}-->
<!--{else}-->
tree.addNode($forumdata[fid], $forumdata[fup], '$forumdata[name]', 'forum.php?mod=forumdisplay&fid=$forumdata[fid]', '', false);
<!--{/if}-->
<!--{/loop}-->
tree.show();
</script>
</div>
<!--{/block}-->

View File

@@ -0,0 +1,64 @@
<!--{block return}-->
<!--{if $thread[special] == 1}-->
<form method="post" autocomplete="off" action="forum.php">
<input type="hidden" name="mod" value="misc">
<input type="hidden" name="action" value="votepoll">
<input type="hidden" name="fid" value="$fid">
<input type="hidden" name="tid" value="$tid">
<input type="hidden" name="pollsubmit" value="yes">
<ul class="side_poll">
<!--{loop $polloptions $key $option}-->
<li>
<label>
<input type="$optiontype" name="pollanswers[]" id="option_$key" class="pc" value="$option[polloptionid]" />
$option[polloption]
</label>
</li>
<!--{/loop}-->
</ul>
<p class="ptn pns"><button type="submit" name="submit" id="submit" value="true" class="pn"><em>{lang thread_poll}</em></button></p>
</form>
<!--{elseif $thread[special] == 2}-->
<ul class="side_trade cl">
<!--{loop $trades[$tid] $key $trade}-->
<li class="cl">
<!--{if $trade[aid]}-->
<a href="forum.php?mod=viewthread&do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank"><img src="$trade[aid]" width="80" alt="$trade[subject]" /></a>
<!--{else}-->
<a href="forum.php?mod=viewthread&do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank"><img src="{IMGDIR}/nophoto.gif" width="80" alt="$trade[subject]" /></a>
<!--{/if}-->
<!--{if $trade[price] > 0}-->
&yen; $trade[price]
<!--{/if}-->
<!--{if $trade[credit] > 0}-->
<!--{if $trade[price] > 0}-->{lang additional} <!--{/if}--> $trade[credit] {$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][5]][title]}
<!--{/if}-->
<p><a href="forum.php?mod=viewthread&do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank">$trade[subject]</a></p>
</li>
<!--{/loop}-->
</ul>
<!--{elseif $thread[special] == 3}-->
<label {if $rewardend}style="text-decoration: line-through"{/if}>[+$rewardprice]</label><div>$message</div>
<!--{elseif $thread[special] == 4}-->
<div>$message</div>
<!--{if $activity[aid]}-->
<a href="forum.php?mod=viewthread&tid=$tid" target="_blank"><img src="$activity[aid]" width="80" alt="$activity[subject]" /></a>
<!--{else}-->
<a href="forum.php?mod=viewthread&tid=$tid" target="_blank"><img src="{IMGDIR}/nophoto.gif" width="80" alt="$activity[subject]" /></a>
<!--{/if}-->
<p>{lang activity_already} $activity[applynumber]</p>
<!--{if $activity[number]}-->
<p>{lang activity_about_member}: $activity[aboutmember]</p>
<!--{/if}-->
<!--{elseif $thread[special] == 5}-->
<div>$message</div>
<div class="chart">
<strong class="debater1">$debate[affirmvotes]</strong>
<div class="chart1" style="height: $debate[affirmvoteswidth]%;">&nbsp;</div>
<strong class="debater2">$debate[negavotes]</strong>
<div class="chart2" style="height: $debate[negavoteswidth]%;">&nbsp;</div>
</div>
<p>{lang debate_square}: $debate[affirmpoint]</p>
<p>{lang debate_opponent}: $debate[negapoint]</p>
<!--{else}-->$message<!--{/if}-->
<!--{/block}-->

View File

@@ -0,0 +1,34 @@
<!--{block return}-->
<!--{if $_G[uid]}-->
<div style="float:left; margin-right: 16px;">$avatar</div>
<a href="home.php?mod=space&uid=$_G[uid]" target="_blank">$_G[member][username]</a><br />
<a href="forum.php?mod=faq&action=grouppermission" target="_blank">$_G[group][grouptitle]</a><br />
<ul id="mycredits_menu" class="popupmenu_popup headermenu_popup" style="width:137px;display:none">
<!--{loop $_G[setting][extcredits] $id $credit}-->
<li>$credit[title]: $extcredits[$id] $credit[unit]</li>
<!--{/loop}-->
</ul>
<div style="clear: both">
<div style="float:right;width:60%">
<span id="mycredits_hover" class="dropmenu" onmouseover="showMenu({'ctrlid':this.id,'showid':'mycredits'})">{lang credits}: $_G[member][credits]</span><br />
<!--{if $creditupgrade !== ''}-->
<span title="{lang index_upgrade_tips}">{lang index_upgrade}: $creditupgrade</span><br />
<!--{/if}-->
</div>
</div>
<!--{else}-->
<div style="float:left; text-align:left; width:40%;"><img src="{$_G['setting']['avatarurl']}/noavatar.svg"></div>
<a href="member.php?mod={$_G[setting][regname]}">$_G[setting][reglinkname]</a><br />
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang login}</a>
<!--{/if}-->
<!--{if $_G[uid] && $GLOBALS[prompt]}-->
<hr class="l" />
<div class="sidebox">
<ul>
<!--{loop $GLOBALS[prompts] $promptkey $promptdata}-->
<!--{if $promptkey && $promptdata[new]}--><li><a href="{if $promptdata[script]}$promptdata[script]{else}forum.php?mod=notice&filter=$promptkey{/if}" target="_blank">$promptdata[name]($promptdata[new])</a></li><!--{/if}-->
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--{/block}-->

View File

@@ -0,0 +1,85 @@
<!--{template common/header}-->
<div id="wp" class="wp">
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm">
<!--{if $order && $codes}-->
<div class="bm_h bbs">
<h3 class="xs2">{lang invitecode_succeed_title}</h3>
</div>
<div class="bm_c">
<div class="rfm bw0">
<p><textarea id="invitecode" class="pt" cols="40" rows="3">$codetext</textarea></p>
<p class="mtn"><a href="javascript:;" onclick="copyinvitecode();" class="xi2">{lang copycode}</a></p>
<p class="mtn">{lang invitecode_email}</p>
<p class="mtm cl"><a href="member.php?mod={$_G[setting][regname]}&invitecode=$codes[0]" class="pn pnc z"><strong>{lang reg_continue}</strong></a></p>
</div>
<script type="text/javascript">
function copyinvitecode(obj) {
setCopy($('invitecode').innerHTML, '{lang copycode_invite_succeed}');
return false;
}
</script>
</div>
<!--{else}-->
<div class="bm_h bbs">
<h3 class="xs2">{lang invitecode_buycode}<span><!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('buyinvitecode')" title="{lang close}"></a><!--{/if}--></span></h3>
</div>
<div class="bm_c">
<form id="confirmform" class="postbox" method="post" autocomplete="off" action="misc.php?mod=buyinvitecode" onsubmit="ajaxpost(this.id, 'return_addfundsform');return false;">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="buysubmit" value="true" />
<input type="hidden" name="handlekey" value="buyinvite" />
<!--{if $_G['setting']['inviteconfig']['invitecodeprompt']}-->
<div class="rfm ptw pbm">$_G['setting'][inviteconfig][invitecodeprompt]</div>
<!--{/if}-->
<!--{if $_G['setting']['inviteconfig']['buyinvitecode'] && $_G['setting']['inviteconfig']['invitecodeprice'] && payment::enable()}-->
<div class="rfm">
<table cellpadding="0" cellspacing="0">
<tr>
<th>{lang buy_nums}</th>
<td><input type="text" name="amount" id="amount" class="px p_fre vm" value="1" onkeyup="addamount()" /> {lang need_money} <strong id="desamount" class="xi1">$_G['setting']['inviteconfig']['invitecodeprice']</strong> {lang money_unit}</td>
</tr>
</table>
</div>
<div class="rfm">
<table cellpadding="0" cellspacing="0">
<tr>
<th>{lang active_email}</th>
<td><input type="text" name="email" class="px p_fre vm" value="" /> {lang active_email_comment}</td>
</tr>
</table>
</div>
<div class="rfm">
<table cellpadding="0" cellspacing="0">
<tr>
<th>{lang invitecode_expiration}</th>
<td>$maxinviteday</td>
</tr>
</table>
</div>
<div class="rfm bw0">
<table cellpadding="0" cellspacing="0">
<tr>
<th>&nbsp;</th>
<td><button type="submit" name="buysubmit" class="pn pnc" value="true"><strong>{lang confirms}</strong></button></td>
</tr>
</table>
</div>
<script type="text/javascript">
function addamount() {
var amount = $('amount').value.replace(/^0/, '');
amount = parseInt(amount);
$('desamount').innerHTML = !isNaN(amount) ? amount * $_G['setting']['inviteconfig']['invitecodeprice'] : 0;
}
</script>
<!--{/if}-->
</form>
<span style="display: none" id="return_addfundsform"></span>
</div>
<!--{/if}-->
</div>
</div>
</div>
</div>
<!--{template common/footer}-->

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,179 @@
/* 判断:当打开 DIY 面板时加载 */
body { padding-top: 170px; }
#controlpanel { color: #000;position: fixed; top: 0; left: 0; z-index: 200; width: 100%; border-bottom: 1px solid #999; background: #F5F5F5 url({STATICURL}image/diy/cp-bg.png) repeat-x 0 0; }
* html #controlpanel { position: absolute; top: expression(offsetParent.scrollTop); }
#controlheader { margin: 0 10px; background: url({STATICURL}image/diy/cp-nav.png) repeat-x 0 0; line-height: 46px; }
#controlheader p { width: 460px; height: 46px; background: url({STATICURL}image/diy/cp-nav-corner-tr.png) no-repeat 100% 100%; }
#controlheader p a { float: right; margin-top: 8px; height: 25px; line-height: 25px; border: 1px solid #bbb3bf; background: #FEFEFE; text-align: center; }
#controlheader p a:hover { text-decoration: none; }
#navsave a { margin-right: 2px; padding: 0 12px; border-radius: 4px; background: #E6A234 !important; border-color: #DB7D29 !important; color: #FFF; font-size: 14px; font-weight: 700; text-shadow: 1px 1px 2px #666; }
#navcancel a { width: 25px; overflow: hidden; border-radius: 4px; color: #EE831F; }
#navcancel a:before { content: "\d7"; font-weight: 700; font-size: 18px; }
#button_redo a, #button_undo a { overflow: hidden; color: #4099CA; }
#button_redo a:before, #button_undo a:before { content: "\f10b"; display: inline-block; font-family: dzicon; font-size: 20px; }
#button_undo a:before { transform: scale(-1,1); }
#button_redo a { margin-right: 5px; width: 25px; border-radius: 0 4px 4px 0; }
#button_undo a { margin-left: 10px; width: 26px; border-right: 0 !important; border-radius: 4px 0 0 4px; }
#button_redo.unusable a, #button_undo.unusable a { color: #CCC; cursor: default; }
#button_more { margin-right: 20px; width: 15px; overflow: hidden; border-radius: 4px; color: #CCC; }
#button_more:before { content: ""; display: inline-block; border-top: 0.3em solid; border-right: 0.3em solid transparent; border-bottom: 0; border-left: 0.3em solid transparent; vertical-align: middle; }
#preview a { margin-right: 2px; padding: 0px 8px; color: #444; border-radius: 4px; }
#preview.unusable a { color: #AAA; }
#savecache a { margin-right: 2px; width: 43px; background: url({STATICURL}image/diy/cp-savecache.png) no-repeat 0 -27px; text-indent: -9999px; overflow: hidden; }
#savecache.unusable a { background-position: 0 0; }
#savecachemsg { float: right; padding-right: 5px; text-align: right; }
#controlnav { padding-left: 50px; height: 46px; background: transparent url({STATICURL}image/diy/t-diy.png) no-repeat 0 100%; line-height: 35px; }
#controlnav li { float: left; margin-top: 7px; margin-right: 5px; font-size: 14px; font-weight: 700; }
#controlnav li a { float: left; padding: 0 15px; color: #333 !important; }
#controlnav li.current { background: url({STATICURL}image/diy/cp-nav-active.png) no-repeat 0 0; }
#controlnav li.current a { background: url({STATICURL}image/diy/cp-nav-active.png) no-repeat 100% -50px; }
#controlnav li.current span { margin-right: -8px; }
#diy_backup_tip { top: 32px; right: 55px; width: auto; line-height: 1.5; }
#diy_backup_tip a { text-decoration: underline; }
#controlcontent { margin: 0 10px; padding: 10px; height: 110px; he\ight: 90px; border: solid #CCBDCC; border-width: 0 1px; background: #FFF; overflow: hidden; }
#controlcontent li { float: left; margin-right: 4px; }
#controlcontent li a, #controlcontent li label { float: left; width: 90px; height: 90px; text-align: center; cursor: pointer; }
#controlcontent li a { color: #333 !important; }
#controlcontent li a:hover, #controlcontent li label.hover { background: url({STATICURL}image/diy/cp-item-selected.png) no-repeat 0 0; text-decoration: none; }
#controlcontent li img, #controlcontent li label span { display: block; margin: 7px auto 0; width: 80px; height: 60px; text-align: center; }
#controlcontent li span { background: url({STATICURL}image/diy/cp-module-type.png) no-repeat 0 0; }
#controlcontent li.module-html span { background-position: -80px -180px; }
#controlcontent li.module-thread span { background-position: -80px 0; }
#controlcontent li.module-forum span { background-position: 0 -180px; }
#controlcontent li.module-member span { background-position: 0 -120px; }
#controlcontent li.module-article span { background-position: -80px -120px; }
#controlcontent li.module-attachment span { background-position: 0 -240px; }
#controlcontent li.module-blog span { background-position: 0 -60px; }
#controlcontent li.module-doing span { background-position: -80px -60px; }
#contentblockclass #contentblockclass_nav { max-height: 30px; overflow-x: auto;}
#contentblockclass ul li { float: none; margin: 0; }
#contentblockclass ol { overflow-x: auto; margin-bottom: 10px; padding-left: 45px; height: 60px; background: url({STATICURL}image/diy/module-html.png) no-repeat 5px 0; }
#contentblockclass ol li { float: left; margin-right: 2px; }
#contentblockclass li.module-html ol { border: none; background-image: url({STATICURL}image/diy/module-html.png); }
#contentblockclass li.module-forum ol { background-image: url({STATICURL}image/diy/module-forum.png); }
#contentblockclass li.module-space ol { background-image: url({STATICURL}image/diy/module-space.png); }
#contentblockclass li.module-group ol { background-image: url({STATICURL}image/diy/module-group.png); }
#contentblockclass li.module-portal ol { background-image: url({STATICURL}image/diy/module-article.png); }
#contentblockclass li.module-member ol { background-image: url({STATICURL}image/diy/module-member.png); }
#contentblockclass ol label { margin-top: 3px; width: 60px; height: 24px; border: 1px dotted #B6C7EC; line-height: 24px; overflow: hidden; }
#contentblockclass ol label.hover { border-style: solid; background: none; }
#cpfooter { padding: 0 10px 10px; border-bottom: 1px solid #FFF; }
#cpfooter td { height: 6px; background: #FFF; line-height: 0; overflow: hidden; }
#cpfooter td.l { width: 6px; background: url({STATICURL}image/diy/cp-nav-corner-bl.png) no-repeat 0 0; }
#cpfooter td.c { height: 5px; border-bottom: 1px solid #CCBDCC; }
#cpfooter td.r { width: 6px; background: url({STATICURL}image/diy/cp-nav-corner-br.png) no-repeat 0 0; }
/* DIY 部分 */
dl.diy dt { margin-top: -10px; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid #CCC; line-height: 26px; }
dl.diy dt a { color: #06C !important; text-decoration: underline; }
dl.diy dt a.activity { color: #333 !important; font-weight: 700; text-decoration: none; }
dl.diy dl { clear: both; padding: 0 10px; }
dl.diy dl dt { float: left; margin: 0; padding: 0; width: 5em; border: none; }
#positiontable td { width: 12px; height: 12px; border: 2px solid #FFF; background: #EEE; line-height: 0; overflow: hidden; cursor: pointer; }
#positiontable td.red{ background-color:red;}
.color_diy { width:310px; float:left; overflow:visible;}
.color_diy .span { float:left; display:inline; line-height:24px;}
#controlcontent .diy li a { width: 60px; height: 60px; }
#controlcontent .diy li a:hover { background: none; }
#controlcontent li.thumb img { margin: 0; width: 60px; height: 60px; }
#diyimg_prev div *, #diyimg_next div * { display: none; }
dl.diy .pg { float: left; }
#diyimg_prev .prev, #diyimg_next .nxt { display: block; padding: 0 !important; width: 20px; height: 60px; border: 1px solid #EEE; text-indent: -9999px; }
#diyimg_prev .prev { margin-right: 4px; }
#diyimg_next .prev { background: url({IMGDIR}/arw_l.gif) no-repeat 50% 50%; }
#diyimg_next .nxt { margin: 0; background: url({IMGDIR}/arw_r.gif) no-repeat 50% 50%; }
/* 原CSS */
#outerbox { width: 970px; margin: auto; }
.float_left { margin: 0 0 0 34px;}
.float_center { margin: auto; }
#header,#wrap,#footer, .wrap { margin: 0 auto; }
#wrap { min-height:320px;}
#header {margin-top:34px; position:relative; height:150px; text-align:center; line-height:100px; z-index:10;}
#footer { height:100px; line-height:100px; width: 970px; border:0;}
#widgets { position:relative; z-index:20; overflow:visible;}
.float_item { position:absolute; z-index:25;}
#nav { border:1px solid #09f; min-height:30px; line-height:28px;}
#nav ul li { float:left; margin:1px 2px;}
.op {position:absolute; right:10px; bottom:10px;}
.op a {display:inline; margin-left:2px; line-height:22px;}
#space_page { width: 100%; overflow: hidden; }
#left { float: left; margin: 0 15px 0 0; width: 190px; overflow: hidden; border: 0 solid #09F; }
#center { float: left; margin: 0 15px 0 0; width: 560px; border: 0 solid #CCC; }
#right { float: left; width: 180px; border: 0 solid #F9F; }
.move-span {margin: 1px; }
.area { margin-bottom: 5px; padding: 3px; background: #DDF0DF; }
body#space .area { padding: 10px 0; border: none; background: transparent; }
.frame,.frame-tab { margin: 5px 0; padding-top: 5px; border: 1px dashed #09F; background: #FFF; }
#space .frame{background-color: transparent; }
.frame-tab { border-color: #FF8500; }
.frame-tab .title .titletext { float: left; margin: 0 2px;}
body#space .frame, body#space .frame-tab { padding: 0; }
.frame-tab .title ul li {cursor:pointer;}
.frame-tab .tabcontent { width:98%; border:1px solid #09f; margin:3px; float:left;}
.tabactivity { background: #FFF; }
/*.column,.titletext { float:left;}*/
.title .tmpbox { float: left; }
.frame-1-1, .frame-1-1-1, .frame-1-2, .frame-2-1, .frame-1-3, .frame-3-1 { background-image: url({STATICURL}image/diy/vline.png); background-repeat: repeat-y; }
.frame-1-1, .frame-1-1-1 { background-position: 50% 0; }
.frame-1-1-1 { background-image: url({STATICURL}image/diy/vline2.png); }
.frame-1-2 { background-position: 33.3% 0; }
.frame-2-1 { background-position: 66.6% 0; }
.frame-1-3 { background-position: 24.9% 0; }
.frame-3-1 { background-position: 74.9% 0; }
.block { margin: 0 0 5px; padding: 5px; border: 0 solid #CCC; background: #FFF; }
#space .block{background-color: transparent; }
.block .blocktitle { height: 26px; line-height: 26px; }
.block .blockname { font-weight: 700; margin-left: 5px; float: left; }
.block .blockedit { margin-right: 5px; float: right; text-decoration: underline; cursor: pointer; }
.block .dxb_bc { overflow: hidden; }
body#space .block { margin: 0 2px 5px; border: 1px dashed #09F; }
.title { background: #CBFAFD; }
.tab-title { background: #FFFAD2 !important; }
.frame-tab .title .move-span .blocktitle { background: #FFFAD2; }
.moving {background:#4ef; position:absolute;}
.tmpbox { margin:4px 0; border:2px dashed #aaa; background:#FFF;}
.temp {height:0;border:0;}
.hide {display:none}
.left {float:left;}
.right {float:right;}
.pointer { cursor:pointer;}
.m_left_40 {margin-left:40px;}
.current { background: #FFF; }
.activity { background: #FFF; }
#currentlayout { color: #F04; }
.td_right { float: left; display: block; line-height:22px; }
.rb { border: 2px solid red; }
#contentframe li a, #contentblockclass li label { cursor: move; }
/***原CSS***/
#diy-tg { display: none !important; }
/**space**/
#controlcontent .selector li a { margin: 5px 10px 0 0; padding-left: 30px; width: 60px; height: 30px; line-height: 30px; background: url({STATICURL}image/diy/cp-item-mini.png) no-repeat 0 0; text-align: left; cursor: pointer; }
#controlcontent .selector li a:hover { background: url({STATICURL}image/diy/cp-item-mini.png) no-repeat 0 -30px; }
#controlcontent .selector li.activity a, #controlcontent .selector li.activity a:hover { background: url({STATICURL}image/diy/cp-item-mini.png) no-repeat 0 100%; }
#borderul label { margin-right: 3px; }
.borderul .bordera, .borderul label { display: none; }
.borderul label.y { display: inline; }
/* 弹窗 by Pony */
.diywin .px { vertical-align: middle; }
.diywin td { padding: 2px 0; }
.diywin .tfm caption, .diywin .tfm th, .diywin .tfm td { padding: 5px 2px; }
.diywin .tfm select { max-width: 320px; }
/* 个人导航小样式 */
.mininv { width: 450px; height: 30px; border: 1px dotted #09F; }
/* 个人空间和网站DIY共用的部分样式 */
.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; 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; }

View File

@@ -0,0 +1,328 @@
<!DOCTYPE html>
<html>
<head>
<title>css_sample.htm - ultrax</title>
<meta charset="utf-8" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="author" content=" Created by Dennis Lee on 6/23/10. " />
<link rel="stylesheet" type="text/css" href="../../../data/cache/style_1_common.css" />
<link rel="stylesheet" type="text/css" href="../../../data/cache/style_1_forum.css" />
<link rel="stylesheet" type="text/css" href="../../../data/cache/style_1_forum_forumdisplay.css" />
<link rel="stylesheet" type="text/css" href="../../../data/cache/style_1_forum_viewthread.css" />
<style type="text/css">
body { padding-top: 50px; }
div { overflow: visible !important; }
#output { display: none; position: fixed; bottom: 60px; left: 50%; padding: 20px; width: 260px; margin-left: -140px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; background: #000; line-height: 1.5; font-family: monospace; text-align: left; color: #FFF; font-size: 14px; opacity: 0.8; }
</style>
<script type="text/javascript" src="../../../static/js/common.js"></script>
<script type="text/javascript">
window.onload = function(){
$("output").style.display = 'block';
document.onmouseover = function() {
var e = getEvent();
var aim = e.target || e.srcElement;
aim.style.outline = '1px solid blue';
if(aim.parentNode.style) aim.parentNode.style.outline = '2px solid orange';
$("output").innerHTML = "<span style='color: #666'>&lt;" + aim.parentNode.tagName + " class=\"" + aim.parentNode.className + "\" /&gt;" + "</span><br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;" + aim.tagName + " class=\"" + aim.className + "\" /&gt;";
};
document.onmouseout = function() {
var e = getEvent();
var aim = e.target || e.srcElement;
aim.style.outline = 'none';
if(aim.parentNode.style) aim.parentNode.style.outline = 'none';
};
};
</script>
</head>
<body>
<div id="output"></div>
<div class="wp">
<h2 class="bm ptw bw0 xs2">单列布局</h2>
<div class="ct cl">
<div class="mn">
<div class="bm">
<div class="bm_h cl">
<strong>标题</strong> class="bm_h cl"
</div>
<div class="bm_c">
<strong>内容</strong> class="bm_c"
</div>
</div>
<div class="bm bmw">
<div class="bm_h cl">
<span class="o">
<img src="../../../static/image/common/collapsed_no.gif" alt="" />
</span>
<strong>标题</strong> class="bm_h cl"
</div>
<div class="bm_c">
<strong>内容</strong> class="bm_c"
</div>
</div>
</div>
</div>
<h2 class="bm ptw bw0 xs2">双列布局 class="ct2 cl"</h2>
<div class="ct2 cl">
<div class="mn">
<div class="bm bmw tl cl">
<div class="bm_h cl">
<strong>文章列表:</strong>
</div>
<table cellspacing="0" cellpadding="0" class="th">
<tr>
<td class="icn"></td>
<td class="o"></td>
<th>主题</th>
<td class="by">作者</td>
<td class="num">回复</td>
<td class="by">最后发表</td>
</tr>
</table>
<div class="bm_c">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="icn"><img src="../../../static/image/common/folder_new.gif" alt="" /></td>
<td class="o"><input type="checkbox" class="pc" /></td>
<th>Subject ...</th>
<td class="by"><cite>Author</cite><em>1970-1-1</em></td>
<td class="num">10/25</td>
<td class="by"><cite>Lastpost</cite><em>1970-1-1</em></td>
</tr>
<tr>
<td class="icn"><img src="../../../static/image/common/folder_new.gif" alt="" /></td>
<td class="o"><input type="checkbox" class="pc" /></td>
<th>Subject ...</th>
<td class="by"><cite>Author</cite><em>1970-1-1</em></td>
<td class="num">10/25</td>
<td class="by"><cite>Lastpost</cite><em>1970-1-1</em></td>
</tr>
<tr class="ts">
<td class="icn"></td>
<td class="o"></td>
<th>分隔条</th>
<td class="by"></td>
<td class="num"></td>
<td class="by"></td>
</tr>
<tr>
<td class="icn"><img src="../../../static/image/common/folder_new.gif" alt="" /></td>
<td class="o"><input type="checkbox" class="pc" /></td>
<th>Subject ...</th>
<td class="by"><cite>Author</cite><em>1970-1-1</em></td>
<td class="num">10/25</td>
<td class="by"><cite>Lastpost</cite><em>1970-1-1</em></td>
</tr>
<tr>
<td class="icn"><img src="../../../static/image/common/folder_new.gif" alt="" /></td>
<td class="o"><input type="checkbox" class="pc" /></td>
<th>Subject ...</th>
<td class="by"><cite>Author</cite><em>1970-1-1</em></td>
<td class="num">10/25</td>
<td class="by"><cite>Lastpost</cite><em>1970-1-1</em></td>
</tr>
</table>
</div>
</div>
<div class="bm bw0">
<h2>文字列表</h2>
<ul class="xl">
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit</li>
<li>sed diam nonummy nibh euismod tincidunt ut</li>
<li>laoreet dolore magna aliquam erat volutpat</li>
<li>Ut wisi enim ad minim veniam</li>
<li>quis nostrud exerci tation ullamcorper suscipit</li>
<li>lobortis nisl ut aliquip ex ea commodo consequat</li>
<li>Duis autem vel eum iriure dolor</li>
<li>in hendrerit in vulputate velit esse molestie consequat</li>
<li>vel illum dolore eu feugiat nulla facilisis at vero</li>
<li>eros et accumsan et iusto odio dignissim</li>
</ul>
</div>
<div class="bm bw0">
<h2>双列文字列表</h2>
<ul class="xl xl2 cl">
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit</li>
<li>sed diam nonummy nibh euismod tincidunt ut</li>
<li>laoreet dolore magna aliquam erat volutpat</li>
<li>Ut wisi enim ad minim veniam</li>
<li>quis nostrud exerci tation ullamcorper suscipit</li>
<li>lobortis nisl ut aliquip ex ea commodo consequat</li>
<li>Duis autem vel eum iriure dolor</li>
<li>in hendrerit in vulputate velit esse molestie consequat</li>
<li>vel illum dolore eu feugiat nulla facilisis at vero</li>
<li>eros et accumsan et iusto odio dignissim</li>
</ul>
</div>
</div>
<div class="sd">
<div class="bm">
<div class="bm_h cl">
<strong>标题</strong> class="bm_h cl"
</div>
<div class="bm_c">
<h2>单行文字列表(超出自动隐藏)</h2>
<ul class="xl xl1">
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit</li>
<li>sed diam nonummy nibh euismod tincidunt ut</li>
<li>laoreet dolore magna aliquam erat volutpat</li>
<li>Ut wisi enim ad minim veniam</li>
<li>quis nostrud exerci tation ullamcorper suscipit</li>
<li>lobortis nisl ut aliquip ex ea commodo consequat</li>
<li>Duis autem vel eum iriure dolor</li>
<li>in hendrerit in vulputate velit esse molestie consequat</li>
<li>vel illum dolore eu feugiat nulla facilisis at vero</li>
<li>eros et accumsan et iusto odio dignissim</li>
</ul>
</div>
</div>
</div>
</div>
<h2 class="bm ptw bw0 xs2">带应用栏的双列布局 class="ct2_a cl"</h2>
<div class="ct2_a cl">
<div class="mn">
<div class="tb cl">
<ul>
<li class="a"><a href="#">标签一</a></li>
<li><a href="#">标签二</a></li>
<li><a href="#">标签三</a></li>
</ul>
</div>
<div class="bm bw0">
<h2 class="ptm pbm">图片列表:48px</h2>
<ul class="ml mls cl">
<li>
<img src="https://discuz.dismall.com/data/attachment/album/cover/1d/9719.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
<li>
<img src="https://discuz.dismall.com/data/attachment/album/cover/4d/9575.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
<li>
<img src="https://discuz.dismall.com/data/attachment/album/cover/a0/2250.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
</ul>
<h2 class="ptm pbm">图片列表:120px</h2>
<ul class="ml mlm cl">
<li>
<img src="https://discuz.dismall.com/data/attachment/album/cover/1d/9719.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
<li>
<img src="https://discuz.dismall.com/data/attachment/album/cover/4d/9575.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
<li>
<img src="https://discuz.dismall.com/data/attachment/album/cover/a0/2250.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
</ul>
</div>
</div>
<div class="appl">
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
<hr class="l" />
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
<hr class="l" />
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
</div>
</div>
<h2 class="bm ptw bw0 xs2">带应用栏的三列布局 class="ct3_a cl"</h2>
<div class="ct3_a cl">
<div class="sd">
<div class="bm">
<div class="bm_h cl">
<strong>标题</strong> class="bm_h cl"
</div>
<div class="bm_c">
<strong>内容</strong> class="bm_c"
</div>
</div>
</div>
<div class="mn">
<h2 class="pbm">常规表单</h2>
<table cellspacing="0" cellpadding="0" class="tfm">
<tr>
<th>输入框</th>
<td><input type="text" name="" id="" class="px" /></td>
</tr>
<tr>
<th>输入框</th>
<td><input type="text" name="" id="" class="px" /></td>
</tr>
<tr>
<th>多选按钮</th>
<td><input type="checkbox" name="" id="" class="pc" /> Label</td>
</tr>
<tr>
<th>单选按钮</th>
<td><input type="radio" name="" id="" class="pr" /> Label</td>
</tr>
<tr>
<th>Label</th>
<td><input type="text" name="" id="" class="px" /></td>
</tr>
<tr>
<th>Label</th>
<td><input type="text" name="" id="" class="px" /></td>
</tr>
<tr>
<th>文本框</th>
<td><textarea class="pt"></textarea></td>
</tr>
<tr>
<th>按钮</th>
<td>
<button class="pn"><span>按钮</span></button>
<button class="pn pnc"><strong>按钮</strong></button>
<button class="pn"><span>按钮</span></button>
<button class="pn"><span>按钮</span></button>
</td>
</tr>
</table>
</div>
<div class="appl">
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
<hr class="l" />
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
<hr class="l" />
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,63 @@
body { background-color: transparent; }
.wp { width: 1210px; }
#hd { margin-bottom: 0; position: relative; height: 140px; }
#hd h2 { padding: 25px 0 0 15px; font-size: 14px; }
#hd h2 strong { display: block; }
#nv { position: absolute; left: 10px; height: auto; bottom: 0; background: transparent none; }
#nv li, #home { margin-right: 1px; padding: 0 6px; border: none; height: 30px; background: rgba(255, 255, 255, 0.7); line-height: 30px; font-size: 12px; }
#nv a, #nv a:visited { padding: 0 14px; color: #333; }
#ct, .n, .w { padding-top: 15px; border: none; background: transparent none !important; }
.area { padding: 0 5px; }
.frame { background: transparent none; }
.block { padding: 0; }
.block .dxb_bc { padding: 5px 10px 10px; }
.block .title { padding: 0 10px; font-size: 12px; color: #333; }
#pcd .hm img { padding: 2px; background: {WRAPBG}; border: 1px solid; border-color: {COMMONBG} {COMMONBORDER} {COMMONBORDER} {COMMONBG}; }
#pcd h2 { margin: 10px auto 0; }
.mls li { width: 69px; }
.move-span{ margin: 1px; }
.column, #share { overflow: hidden; }
.musicbj { width: 60px; height: 60px;}
#spaceinfoshow { position: relative;}
#spaceinfoshow .oshr { float: none; margin-left: 10px; padding: 1px 5px 1px 22px; color: {HIGHLIGHTLINK}; }
#doingform #message { width: 500px; }
#toptb { padding: 0 10px; border-bottom: 1px solid {COMMONBORDER}; background: url({IMGDIR}/topnav.png) repeat-x; }
#hd h2 span { display: block; }
#hd ul.savebar { width: 450px; height: 20px; border: 1px solid #ccc;}
#hd ul.savebar li { float:right; margin: 0 3px;}
.ipx {background: none; height: 17px;}
#infoedit { margin-left: 5px; padding: 0 5px; background: #369; color: #FFF; cursor: pointer; }
#diy-tg { float: right; color: #9E831F; padding: 0 4px !important;}
.topnav_pop li span{ display: none; }
#myspace_menu li a, #navs_menu li a { background-repeat: no-repeat; background-position: -200px 0; }
.ct2 .sd { width: 180px; }
.mn { display: inline; margin-left: 10px; width: 1000px !important; }
.mt { margin: 0; padding: 0; }
h1.mt { font-size: 12px; }
.bm { background: #FFF; zoom: 1; }
.sd { display: inline; margin-right: 10px; min-height: 0; }
#pcd { padding: 15px 4px 15px 6px; }
.mla li, .mlp li { width: 153px; }
.buddy li { width: 156px; }
.pic .c img { max-width: 714px; }
.ul_list {}
.ul_list a { padding: 2px 0; }
.ul_list li:before { font-family: dzicon; line-height: 14px; font-size: 16px; color: #7DA0CC; margin-right: 4px; }
.ul_diy:before { content: "\f107"; }
.ul_msg:before { content: "\f10e"; }
.ul_avt:before { content: "\f102"; }
.ul_profile:before { content: "\f147"; }
.ul_add:before { content: "\f11f"; }
.ul_ignore:before { content: "\f100"; }
.ul_contect:before { content: "\f10e"; }
.ul_poke:before { content: "\f146"; }
.ul_pm:before { content: "\f119"; }
.ul_list .ul_magicgift a { padding-left: 20px; }
.ul_broadcast:before { content: "\f131"; }
.ul_flw:before { content: "\f11e"; }
#magicreceivegift { position: absolute; top: 50px; right: 20px; }
.ct_vw_mn .buddy li { width: 170px; }

View File

@@ -0,0 +1,121 @@
/*
Editor CSS file for Discuz! X
(C) Comsenz Inc.
https://www.discuz.vip
*/
.edt { border: 1px solid; border-color: #999 #CCC #CCC #999; }
.edt .bar { padding: 4px; height: 44px; border-bottom: 1px solid #DDD; background: {COMMONBG}; }
.edt .cst { background: {COMMONBG}; border-bottom: 1px solid #DDD; }
.edt .cst.nbb { border-bottom: none !important; }
.edt .bbar { height: 20px; border-top: 1px solid #DDD; text-align: right; background: {COMMONBG}; }
.edt .bbar img { vertical-align: bottom; *margin-right: -4px; cursor: row-resize; }
.edt .bbar em { width: 200px; height: 20px; overflow: hidden; white-space: nowrap; float: left; text-align: left; }
.edt .bbar, .edt .bbar a { color: #999; }
.edt .btn { float: left; border-right: 1px solid #FEFEFE; }
.edt .b1r, .edt .b2r { position: relative; float: left; padding: 0 3px; height: 44px; border-right: 1px solid #DDD; border-left: 1px solid #FEFEFE; }
.edt .b2r p, .edt .b2r br { clear: both; }
.edt .esb p { float: left; width: 25px; clear: none; }
.edt .esbs p { float: left; clear: none; }
.edt .bar a { float: left; border: 1px solid {COMMONBG}; background: transparent url({STATICURL}image/editor/editor.gif) no-repeat 0 0; overflow: hidden; }
.edt .b1r a { padding-top: 27px; width: 35px; height: 15px; text-align: center; font-size: 11px; font-family: Arial, PMingLiU, sans-serif; -webkit-text-size-adjust: none; }
.edt .b2r a { width: 20px; height: 20px; text-indent: -9999px; }
.edt .b2r a.dp { margin-right: 1px; padding-left: 2px; width: 78px; height: 20px; text-indent: 0; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; background: #FFF url({STATICURL}image/common/newarow.gif) no-repeat 100% 0; }
.edt .b2r a:hover.dp { border-color: #09C; background-position: 100% -23px; }
.edt .nbl { border-left: none; padding-left: 0; }
.edt .nbr { border-right: none; padding-right: 0; }
.edt .bar a:hover, .edt .bar a.hover { border-color: #09C; background-color: {WRAPBG}; text-decoration: none; }
.edt .bar a.tblbtn_disabled:hover, .edt .bar a.hd_dsb:hover { border-color: {COMMONBG} !important; background-color: transparent !important; cursor: default; }
.edt .area { padding: 4px; background: {WRAPBG}; zoom: 1; }
.edt .pt { padding: 0 !important; width: 100%; height: 400px; border: none; background: {WRAPBG} none; font-size: {MSGFONTSIZE}; }
.edt .pt:focus { outline: none; -moz-box-shadow: none; }
.edt a.cst { background-image: none; text-align: center; text-indent: 0; }
.edt a.cst img { vertical-align: middle; }
.simpleedt .bar, .simpleedt .b1r, .simpleedt .b2r { height: 22px; }
.bar_swch { display: block; clear: both; }
#e_bold { background-position: 0 0; }
#e_fontsize { width: 45px; }
#e_italic { background-position: -20px 0; }
#e_underline { background-position: -40px 0; }
#e_forecolor { background-position: -60px 0; }
#e_backcolor { background-position: -80px 0; }
#e_url { background-position: -40px -20px; }
#e_unlink { background-position: -60px -20px; }
#e_justifyleft { background-position: -80px -20px; }
#e_justifycenter { background-position: -240px -40px; }
#e_justifyright { background-position: -260px -40px; }
#e_autotypeset { background-position: -220px -40px; }
#e_floatleft { background-position: -100px -60px; }
#e_floatright { background-position: -120px -60px; }
#e_insertorderedlist { background-position: -100px -20px; }
#e_insertunorderedlist { background-position: 0 -60px; }
#e_inserthorizontalrule { background-position: -20px -60px; }
#e_tbl { background-position: -160px -20px; }
.tblbtn_disabled { background-position: -180px -20px !important; }
#e_tool { background-position: 0 -40px; }
#e_undo { background-position: -20px -40px; }
#e_redo { background-position: -40px -40px; }
#e_removeformat { background-position: -60px -40px; }
#e_tpr { background-position: -80px -40px; }
#e_chck { background-position: -100px -40px; }
#e_hide { background-position: -120px -40px; }
.hd_dsb { background-position: -200px -40px !important; }
#e_free { background-position: -140px -40px; }
#e_svd { background-position: -160px -40px; }
#e_rst { background-position: -180px -40px; }
#e_sml { background-position: -3px -80px; }
.b2r #e_sml { background-position: -20px -20px; }
#e_image { background-position: -43px -80px; }
.b2r #e_image { background-position: 0 -20px; }
#e_attach { background-position: -83px -80px; }
.b2r #e_attach { background-position: -200px -20px; }
#e_code { background-position: -123px -80px; }
.b2r #e_code { background-position: -120px -20px; }
#e_quote { background-position: -163px -80px; }
.b2r #e_quote { background-position: -140px -20px; }
#e_pasteword { background-position: -60px -60px; }
#e_downremoteimg { background-position: -80px -60px; }
#e_page { background-position: -200px -60px; }
#e_index { background-position: -220px -120px; }
#e_password { background-position: -180px -120px; }
#e_postbg { background-position: -160px -120px; }
#e_fls { background-position: -3px -120px; }
.b2r #e_fls { background-position: -260px -20px; }
#e_aud { background-position: -43px -120px; }
.b2r #e_aud { background-position: -220px -20px; }
#e_vid { background-position: -83px -120px; }
.b2r #e_vid { background-position: -240px -20px; }
#e_at { background-position: -126px -120px; }
.b2r #e_at { background-position: -140px 0; }
#e_imagen, #e_attachn { position: absolute; top: 3px; left: 63px; width: 14px; height: 15px; background: url({STATICURL}image/editor/editor.gif) no-repeat -244px -80px; text-indent: -9999px; }
#e_attachn { left: 100px; }
.b2r #e_imagen, .b2r #e_attachn { top: -4px; left: 35px; }
.b2r #e_attachn { left: 57px; }
#e_switcher input{ margin-right: 4px; vertical-align: middle; }
#e_simple, #e_fullswitcher { padding: 0 2px; text-align: right; border: 1px solid {SPECIALBORDER}; background: url({IMGDIR}/card_btn.png) repeat-x 0 100%; }
#e_fullswitcher { margin-right: 3px; }
#e_beginning { background-position: -246px -120px;}
.b2r #e_beginning { background-position: -260px -78px; }
/* 缩小编辑器演出菜单中输入框的尺寸 */
.popupfix .px { margin-bottom: 4px; }
#e_body { display: block !important; }
#e_body_loading { display: none; }
/*
Name: mod_editor_menu
Level: Function
Explain: 编辑器弹层关闭按钮在 IE8 下有问题
Last Modify: Pony
*/

View File

@@ -0,0 +1,39 @@
<link rel="stylesheet" type="text/css" href='{$_G['setting']['csspath']}{STYLEID}_editor.css?{VERHASH}' />
<script type="text/javascript" src="{$_G['setting']['jspath']}editor.js?{VERHASH}"></script>
<script type="text/javascript" src="{$_G['setting']['jspath']}bbcode.js?{VERHASH}"></script>
<script type="text/javascript" src="data/cache/common_postimg.js?{VERHASH}"></script>
<script type="text/javascript">
var editorid = '$editorid';
var textobj = $(editorid + '_textarea');
var wysiwyg = (BROWSER.ie || BROWSER.firefox || (BROWSER.opera >= 9)) && parseInt('$editor[editormode]') == 1 ? 1 : 0;
var allowswitcheditor = parseInt('$editor[allowswitcheditor]');
var allowhtml = parseInt('$editor[allowhtml]');
var allowsmilies = parseInt('$editor[allowsmilies]');
var allowbbcode = parseInt('$editor[allowbbcode]');
var allowimgcode = parseInt('$editor[allowimgcode]');
var simplodemode = parseInt('<!--{if $editor[simplemode] > 0}-->1<!--{else}-->0<!--{/if}-->');
var fontoptions = new Array({lang e_fontoptions});
var smcols = $_G['setting']['smcols'];
var custombbcodes = new Array();
<!--{if $_G['cache']['bbcodes_display'][$_G['groupid']]}-->
<!--{loop $_G['cache']['bbcodes_display'][$_G['groupid']] $tag $bbcode}-->
custombbcodes["$tag"] = {'prompt' : '$bbcode[prompt]'};
<!--{/loop}-->
<!--{/if}-->
</script>
<div id="{$editorid}_bbar" class="bbar">
<em id="{$editorid}_tip"></em>
<span id="{$editorid}_svdsecond"></span>
<a href="javascript:;" onclick="discuzcode('svd');return false;" id="{$editorid}_svd">{lang post_savedata}</a> |
<a href="javascript:;" onclick="discuzcode('rst');return false;" id="{$editorid}_rst">{lang post_autosave_restore}</a> &nbsp;&nbsp;
<!--{if $editor[allowchecklength]}-->
<a href="javascript:;" onclick="discuzcode('chck');return false;" id="{$editorid}_chck">{lang post_check_length}</a> |
<!--{/if}-->
<!--{if $editor[allowtopicreset]}-->
<a href="javascript:;" onclick="discuzcode('tpr');return false;" id="{$editorid}_tpr">{lang post_topicreset}</a> &nbsp;&nbsp;
<!--{/if}-->
<!--{if $editor[allowresize]}-->
<span id="{$editorid}_resize"><a href="javascript:;" onclick="editorsize('+');return false;">{lang editor_increase}</a> | <a href="javascript:;" onclick="editorsize('-');return false;">{lang editor_narrow}</a><img src="{STATICURL}image/editor/resize.gif" onmousedown="editorresize(event)" /></span>
<!--{/if}-->
</div>

View File

@@ -0,0 +1,23 @@
<div id="{$editorid}_editortoolbar" class="editortoolbar">
<!--{eval $fontoptions = array({lang e_fontoptions})}-->
<div class="p_pop fnm" id="{$editorid}_fontname_menu" style="display: none">
<ul unselectable="on">
<!--{loop $fontoptions $fontname}-->
<li onclick="discuzcode('fontname', '$fontname')" style="font-family: $fontname" unselectable="on"><a href="javascript:;" title="$fontname">$fontname</a></li>
<!--{/loop}-->
</ul>
</div>
<!--{eval $sizeoptions = array(1, 2, 3, 4, 5, 6, 7)}-->
<div class="p_pop fszm" id="{$editorid}_fontsize_menu" style="display: none">
<ul unselectable="on">
<!--{loop $sizeoptions $size}-->
<li onclick="discuzcode('fontsize', $size)" unselectable="on"><a href="javascript:;" title="$size"><font size="$size" unselectable="on">$size</font></a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<script type="text/javascript">smilies_show('smiliesdiv', $_G['setting']['smcols'], editorid + '_');showHrBox(editorid+'_inserthorizontalrule');showHrBox(editorid+'_postbg', 'postbg');</script>

View File

@@ -0,0 +1,13 @@
<!--{template common/header}-->
<div style="width:130px">
<ul class="bbda mbn pbn">
<!--{loop $_G['setting']['extcredits'] $extcreditid $extcredit}--><!--{if empty($extcredit['hiddeninheader'])}-->
<li>{$extcredit[img]} $extcredit[title]: <span id="hcredit_$extcreditid"><!--{echo getuserprofile('extcredits'.$extcreditid);}-->{$extcredit[unit]}</span></li><!--{/if}-->
<!--{/loop}-->
<!--{hook/spacecp_credit_extra}-->
</ul>
<!--{if ($_G['setting']['ec_ratio'] && payment::enable()) || $_G['setting']['card']['open']}-->
<div onclick="location.href='home.php?mod=spacecp&ac=credit&op=buy'" class="xi2 pbn" align="right"><label>{lang recharge_immediately}&raquo;</label></div>
<!--{/if}-->
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,32 @@
<!--{template common/header}-->
<!--{eval $upgradecredit = $_G['uid'] && $_G['group']['grouptype'] == 'member' && $_G['group']['groupcreditslower'] != 999999999 ? $_G['group']['groupcreditslower'] - $_G['member']['credits'] : false;}-->
<div style="width:140px">
<ul class="mbn">
<li class="hm">{echo profile_node_star($_G[group], '', '', 0)}</li>
<!--{if $group}-->
<li class="hm mtn">{echo profile_node_upgradeprogress($group, '', '', 0)}</li>
<li class="hm">
{lang thread_groupupgrade}<p class="xi1">$upgradecredit {lang credits}</p>
</li>
<!--{/if}-->
<!--{if $_G['member'][adminid] > 0}-->
<li class="hm mtn">{lang manage_grade}: <!--{if $_G['member'][adminid] == 1}-->{lang manager}
<!--{elseif $_G['member'][adminid] == 2}-->{lang super_forummanager}
<!--{elseif $_G['member'][adminid] == 3}-->{lang forummanager}
<!--{/if}-->
</li>
<!--{/if}-->
</ul>
<!--{if $extgroupids}-->
<ul class="btda ptn mbn pbn extg">
<li><a href="home.php?mod=spacecp&ac=usergroup&gid=$_G['member'][groupid]">{$_G[group][grouptitle]}</a></li>
<!--{loop $extgroupids $extgid}-->
<li><a href="home.php?mod=spacecp&ac=usergroup&gid=$extgid">{$_G[cache][usergroups][$extgid][grouptitle]}</a></li>
<!--{/loop}-->
</ul>
<!--{/if}-->
<!--{if $_G['setting']['buyusergroupexists']}-->
<div onclick="location.href='home.php?mod=spacecp&ac=usergroup&do=list'" class="xi2 ptn pbn btda" align="right"><label>{lang buy_usergroup}&raquo;</label></div>
<!--{/if}-->
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,80 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G['setting']['bbname']</a> <em>&rsaquo;</em>
<!--{if empty($_GET[action])}-->
{lang faq}
<!--{else}-->
<a href="misc.php?mod=faq">{lang faq}</a>$navigation
<!--{/if}-->
</div>
</div>
<div id="ct" class="ct2_a wp cl">
<div class="mn">
<div class="bm bw0">
<form method="post" autocomplete="off" action="misc.php?mod=faq&action=search" class="y mtn pns">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="searchtype" value="all" />
<input type="text" name="keyword" size="16" value="$keyword" class="px vm" />
<button type="submit" name="searchsubmit" class="pn vm" value="yes"><em>{lang search}</em></button>
</form>
<!--{if empty($_GET[action])}-->
<h1 class="mt mbm">{lang all}{lang faq}</h1>
<div class="lum">
<!--{loop $faqparent $fpid $parent}-->
<h2 class="blocktitle"><a href="misc.php?mod=faq&action=faq&id=$fpid">$parent[title]</a></h2>
<ul name="$parent[title]">
<!--{loop $faqsub[$parent[id]] $sub}-->
<li><a href="misc.php?mod=faq&action=faq&id=$sub[fpid]&messageid=$sub[id]">$sub[title]</a></li>
<!--{/loop}-->
</ul>
<!--{/loop}-->
</div>
<!--{elseif $_GET[action] == 'faq'}-->
<h1 class="mt mbm">$ctitle</h1>
<!--{loop $faqlist $faq}-->
<div id="messageid$faq[id]_c" class="umh{if $messageid != $faq[id]} umn{/if}">
<h3 onclick="toggle_collapse('messageid$faq[id]', 1, 1);">$faq[title]</h3>
<div class="umh_act">
<p class="umh_cb" onclick="toggle_collapse('messageid$faq[id]', 1, 1);">[ {lang open} ]</p>
</div>
</div>
<div class="um" id="messageid$faq[id]" style="{if $messageid != $faq[id]} display: none {/if}">$faq[message]</div>
<!--{/loop}-->
<!--{elseif $_GET[action] == 'search'}-->
<h1 class="mt mbm">{lang keyword_faq}</h1>
<!--{if $faqlist}-->
<!--{loop $faqlist $faq}-->
<div class="umh schfaq"><h3>$faq[title]</h3></div>
<div class="um">$faq[message]</div>
<!--{/loop}-->
<!--{else}-->
<p class="emp">{lang faq_search_nomatch}</p>
<!--{/if}-->
<!--{elseif $_GET[action] == 'plugin' && !empty($_GET['id'])}-->
<!--{eval include(template($_GET['id']));}-->
<!--{/if}-->
</div>
</div>
<div class="appl">
<div class="tbn">
<h2 class="mt bbda">{lang faq}</h2>
<ul>
<li class="cl{if empty($_GET[action])} a{/if}"><a href="misc.php?mod=faq">{lang all}</a></li>
<!--{loop $faqparent $fpid $parent}-->
<li name="$parent[title]" class="cl{if $_GET[id] == $fpid} a{/if}"><a href="misc.php?mod=faq&action=faq&id=$fpid">$parent[title]</a></li>
<!--{/loop}-->
<!--{if !empty($_G['setting']['plugins']['faq'])}-->
<!--{loop $_G['setting']['plugins']['faq'] $id $module}-->
<li class="cl{if $_GET[id] == $id} a{/if}"><a href="misc.php?mod=faq&action=plugin&id=$id">$module[name]</a></li>
<!--{/loop}-->
<!--{/if}-->
</ul>
</div>
<!--{hook/faq_extra}-->
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,172 @@
</div>
<!--{if empty($topic) || ($topic[usefooter])}-->
<!--{eval $focusid = getfocus_rand($_G['basescript']);}-->
<!--{if $focusid !== null}-->
<!--{eval $focus = $_G['cache']['focus']['data'][$focusid];}-->
<!--{eval $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_$_G[basescript]', 1, $_G['cache']['focus']['cookie']*3600);$('sitefocus').style.display='none'" class="y" title="{lang close}">{lang close}</a>
<h2>
<!--{if $_G['cache']['focus']['title']}-->{$_G['cache']['focus']['title']}<!--{else}-->{lang focus_hottopics}<!--{/if}-->
<span id="focus_ctrl" class="fctrl"><img src="{IMGDIR}/pic_nv_prev.gif" alt="{lang footer_previous}" title="{lang footer_previous}" id="focusprev" class="cur1" onclick="showfocus('prev');" /> <em><span id="focuscur"></span>/$focusnum</em> <img src="{IMGDIR}/pic_nv_next.gif" alt="{lang footer_next}" title="{lang footer_next}" id="focusnext" class="cur1" onclick="showfocus('next')" /></span>
</h2>
</div>
<div class="bm_c" id="focus_con">
</div>
</div>
</div>
<!--{eval $focusi = 0;}-->
<!--{loop $_G['setting']['focus'][$_G[basescript]] $id}-->
<div class="bm_c" style="display: none" id="focus_$focusi">
<dl class="xld cl bbda">
<dt><a href="{$_G['cache']['focus']['data'][$id]['url']}" class="xi2" target="_blank">$_G['cache']['focus']['data'][$id]['subject']</a></dt>
<!--{if $_G['cache']['focus']['data'][$id][image]}-->
<dd class="m"><a href="{$_G['cache']['focus']['data'][$id]['url']}" target="_blank"><img src="{$_G['cache']['focus']['data'][$id]['image']}" alt="$_G['cache']['focus']['data'][$id]['subject']" /></a></dd>
<!--{/if}-->
<dd>$_G['cache']['focus']['data'][$id]['summary']</dd>
</dl>
<p class="ptn cl"><a href="{$_G['cache']['focus']['data'][$id]['url']}" class="xi2 y" target="_blank">{lang focus_show} &raquo;</a></p>
</div>
<!--{eval $focusi ++;}-->
<!--{/loop}-->
<script type="text/javascript">
var focusnum = $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>
<!--{/if}-->
<!--{ad/footerbanner/wp a_f/1}--><!--{ad/footerbanner/wp a_f/2}--><!--{ad/footerbanner/wp a_f/3}-->
<!--{ad/float/a_fl/1}--><!--{ad/float/a_fr/2}-->
<!--{ad/couplebanner/a_fl a_cb/1}--><!--{ad/couplebanner/a_fr a_cb/2}-->
<!--{ad/cornerbanner/a_cn}-->
<!--{hook/global_footer}-->
<div id="ft" class="wp cl">
<div id="flk" class="y">
<p>
<!--{if !empty($_G['setting']['site_qq'])}--><a href="//wpa.qq.com/msgrd?v=3&uin=$_G['setting']['site_qq']&site=$_G['setting']['bbname']&menu=yes&from=discuz" target="_blank" title="QQ"><img src="{IMGDIR}/site_qq.jpg" alt="QQ" /></a><span class="pipe">|</span><!--{/if}-->
<!--{loop $_G['setting']['footernavs'] $nav}--><!--{if is_array($nav) && $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'))}-->$nav[code]<span class="pipe">|</span><!--{/if}--><!--{/loop}-->
<strong><a href="$_G['setting']['siteurl']" target="_blank">$_G['setting']['sitename']</a></strong>
<!--{if $_G['setting']['icp'] || !empty($_G['setting']['mps'])}-->( <!--{if $_G['setting']['icp']}--><a href="https://beian.miit.gov.cn/" target="_blank">$_G['setting']['icp']</a><!--{/if}--><!--{if !empty($_G['setting']['mps'])}--><!--{if $_G['setting']['icp']}--><span class="pipe">|</span><!--{/if}--><a href="https://beian.mps.gov.cn/#/query/webSearch?code=$_G['setting']['mpsid']" target="_blank"><img width="14" height="14" src="{IMGDIR}/ico_mps.png" />$_G['setting']['mps']</a><!--{/if}--> )<!--{/if}-->
<!--{hook/global_footerlink}-->
<!--{if $_G['setting']['statcode']}-->$_G['setting']['statcode']<!--{/if}-->
</p>
<p class="xs0">
{lang time_now}
<span id="debuginfo">
<!--{if debuginfo()}-->, Processed in $_G[debuginfo][time] second(s), $_G[debuginfo][queries] queries
<!--{if $_G['gzipcompress']}-->, Gzip On<!--{/if}--><!--{if C::memory()->type}-->, <!--{echo C::memory()->type}--> On<!--{/if}-->.
<!--{/if}-->
</span>
</p>
</div>
<div id="frt">
<p>Powered by <strong><a href="https://www.discuz.vip/" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="https://license.discuz.vip/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p>
<p class="xs0">{lang copyright}</p>
</div>
<!--{eval updatesession();}-->
<!--{if $_G['uid'] && $_G['group']['allowinvisible']}-->
<script type="text/javascript">
var invisiblestatus = '<!--{if $_G['session']['invisible']}-->{lang login_invisible_mode}<!--{else}-->{lang login_normal_mode}<!--{/if}-->';
var loginstatusobj = $('loginstatusid');
if(loginstatusobj != undefined && loginstatusobj != null) loginstatusobj.innerHTML = invisiblestatus;
</script>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{if !$_G['setting']['bbclosed'] && empty($_G['member']['freeze'] && $_G['member']['groupid'] != 5)}-->
<!--{if $_G[uid] && !isset($_G['cookie']['checkpm'])}-->
<script type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G[timestamp]"></script>
<!--{/if}-->
<!--{if $_G[uid] && helper_access::check_module('follow') && !isset($_G['cookie']['checkfollow'])}-->
<script type="text/javascript" src="home.php?mod=spacecp&ac=follow&op=checkfeed&rand=$_G[timestamp]"></script>
<!--{/if}-->
<!--{if !isset($_G['cookie']['sendmail'])}-->
<script type="text/javascript" src="home.php?mod=misc&ac=sendmail&rand=$_G[timestamp]"></script>
<!--{/if}-->
<!--{/if}-->
<!--{if $_GET['diy'] == 'yes'}-->
<!--{if check_diy_perm($topic) && (empty($do) || $do != 'index')}-->
<script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
<script type="text/javascript" src="{$_G[setting][jspath]}portal_diy{if !check_diy_perm($topic, 'layout')}_data{/if}.js?{VERHASH}"></script>
<!--{/if}-->
<!--{if $space['self'] && CURMODULE == 'space' && $do == 'index'}-->
<script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
<script type="text/javascript" src="{$_G[setting][jspath]}space_diy.js?{VERHASH}"></script>
<!--{/if}-->
<!--{/if}-->
<!--{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>
<!--{/if}-->
<!--{if !$_G['setting']['bbclosed'] && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5 && (empty($_G['setting']['disableipnotice']) || $_G['setting']['disableipnotice'] != 1) && $_G['uid'] && !empty($_G['cookie']['lip'])}-->
<div class="focus plugin" id="ip_notice"></div>
<script type="text/javascript">ipNotice();</script>
<!--{/if}-->
<!--{if !empty($_G['member']['newprompt']) && (empty($_G['cookie']['promptstate_'.$_G[uid]]) || $_G['cookie']['promptstate_'.$_G[uid]] != $_G['member']['newprompt']) && $_GET['do'] != 'notice' && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5}-->
<script type="text/javascript">noticeTitle();</script>
<!--{/if}-->
<!--{if (!empty($_G[member][newpm]) || !empty($_G[member][newprompt])) && empty($_G['cookie']['ignore_notice']) && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5}-->
<script type="text/javascript" src="{$_G[setting][jspath]}html5notification.js?{VERHASH}"></script>
<script type="text/javascript">
var h5n = new Html5notification();
if(h5n.issupport()) {
<!--{if $_G[member][newpm] && $_GET[do] != 'pm'}-->
h5n.shownotification('pm', '$_G[siteurl]home.php?mod=space&do=pm', '<!--{avatar($_G['uid'], 'small', true)}-->', '{lang newpm_subject}', '{lang newpm_notice_info}');
<!--{/if}-->
<!--{if $_G[member][newprompt] && $_GET[do] != 'notice'}-->
<!--{loop $_G['member']['category_num'] $key $val}-->
<!--{eval $noticetitle = lang('template', 'notice_'.$key);}-->
h5n.shownotification('notice_$key', '$_G[siteurl]home.php?mod=space&do=notice&view=$key', '<!--{avatar($_G['uid'], 'small', true)}-->', '$noticetitle ($val)', '{lang newnotice_notice_info}');
<!--{/loop}-->
<!--{/if}-->
}
</script>
<!--{/if}-->
<div id="scrolltop">
<!--{if $_G[fid] && $_G['mod'] == 'viewthread'}-->
<span><a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$_GET[extra]&page=$page{if $_GET[from]}&from=$_GET[from]{/if}" onclick="showWindow('reply', this.href)" class="replyfast" title="{lang fastreply}"><b>{lang fastreply}</b></a></span>
<!--{/if}-->
<span hidefocus="true"><a title="{lang scrolltop}" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>{lang scrolltop}</b></a></span>
<!--{if $_G[fid]}-->
<span>
<!--{if $_G['mod'] == 'viewthread'}-->
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]" hidefocus="true" class="returnlist" title="{lang return_list}"><b>{lang return_list}</b></a>
<!--{else}-->
<a href="forum.php" hidefocus="true" class="returnboard" title="{lang return_forum}"><b>{lang return_forum}</b></a>
<!--{/if}-->
</span>
<!--{/if}-->
</div>
<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
<!--{if isset($_G['makehtml'])}-->
<script type="text/javascript" src="{$_G[setting][jspath]}html2dynamic.js?{VERHASH}"></script>
<script type="text/javascript">
var html_lostmodify = {TIMESTAMP};
htmlGetUserStatus();
<!--{if isset($_G['htmlcheckupdate'])}-->
htmlCheckUpdate();
<!--{/if}-->
</script>
<!--{/if}-->
<!--{eval output();}-->
</body>
</html>

View File

@@ -0,0 +1 @@
<!--{echo output_ajax()}-->]]></root><!--{eval exit;}-->

View File

@@ -0,0 +1,20 @@
/*
Popup Calendar CSS file for Discuz! X
(C) Comsenz Inc.
https://www.discuz.vip
*/
/*Popup Calendar*/
#calendar { padding: 5px; text-align: left; border: 1px solid {DROPMENUBORDER}; background: {WRAPBG}; margin-bottom: 0.8em; box-shadow: 2px 4px 4px rgba(0,0,0,0.2); }
#calendar td { padding: 7px; font-weight: 700; text-align: revert-layer; }
#calendar_week td { height: 2em; line-height: 2em; border-bottom: 1px solid {SPECIALBORDER};}
#calendar_week a { color: {HIGHLIGHTLINK}; }
#hourminute td {padding: 4px 2px; border-top: 1px solid {SPECIALBORDER};}
.calendar_expire, .calendar_expire a:link, .calendar_expire a:visited { color: {MIDTEXT}; font-weight: normal; }
.calendar_default, .calendar_default a:link, .calendar_default a:visited { color: {HIGHLIGHTLINK};}
.calendar_checked, .calendar_checked a:link, .calendar_checked a:visited { color: {NOTICETEXT}; font-weight: bold;}
td.calendar_checked, span.calendar_checked{ background: {SPECIALBORDER};}
.calendar_today, .calendar_today a:link, .calendar_today a:visited { color: {TABLETEXT}; font-weight: bold; }
#calendar_header td{ width: 30px; height: 20px; border-bottom: 1px solid {SPECIALBORDER}; font-weight: normal; }
#calendar_year { display: none; line-height: 130%; background: {WRAPBG}; position: absolute; z-index: 10; }
#calendar_year .col { float: left; background: {WRAPBG}; margin-left: 1px; border: 1px solid {SPECIALBORDER}; padding: 4px; }
#calendar_month { display: none; background: {WRAPBG}; line-height: 130%; border: 1px solid #DDD; padding: 4px; position: absolute; z-index: 11; }

View File

@@ -0,0 +1,61 @@
/*
Moderator CSS file for Discuz! X
(C) Comsenz Inc.
https://www.discuz.vip
*/
/* ----------- 版主管理 modlayer modcount------------------- */
#mdly { position: absolute; right: 0; padding: 0 15px; width: 250px; height: 100px; background: #FFF; background: linear-gradient(0deg, #FFF 68%, #E8EFF5 68%); line-height: 32px; overflow: hidden; border-radius: 5px; box-shadow: 0 0 5px #999; }
#mdly a { color: #06C; }
#mdly .cp { position: absolute; top: 0; right: 0; width: 35px; height: 32px; line-height: 32px; font-size: 20px; text-align: center; color: #555; overflow: hidden; text-decoration: none; }
#mdly .cp:before { content: "\f127"; font-family: dzicon; }
#mdly label { position: absolute; top: 0; _top: 6px; right: 40px; }
#mdly h6 { line-height: 32px; }
#mdly h6 strong { margin: 0 3px; color: {NOTICETEXT}; }
#mdly.cpd { padding: 0; width: 35px; height: 32px; border: none; background: {NOTICETEXT}; }
#mdly.cpd h6 { padding-top: 40px; }
#mdly.cpd .cp { display: none; }
#mdly.cpd #mdct { display: block; position: absolute; margin: 0; left: 3px; top: 0; z-index: 999; width: 32px; height: 32px; color: #FFF; text-align: center; cursor: pointer; }
.pg_viewthread #mdly { margin: 20px 0 0 10px; padding: 0; width: 200px; height: auto; background: none; border-radius: 0; box-shadow: none; }
.cmen { overflow: hidden; width: 63px; }
.cmen a { overflow: hidden; float:left; width: 20px; height: 20px; }
.tpmh { height: 200px; }
.tpmh .thby { margin: 5px 0 15px; }
.tpmh .tah_body select { width: 217px; }
.tplw { margin-bottom: 1em; }
.tplw table { width: 100%; }
.tplw td { padding: 0 5px; }
.tplw .txt { width: 100px; }
.tplw .wide .txt { width: 50px; }
.llst li{ padding: 4px 0; border-bottom: 1px solid {COMMONBORDER}; height: 28px; }
.llst .copt { height: auto; }
.tm_c { background: {COMMONBG}; }
.tm_c .o { background: #EEE; }
.tpclg { padding: 8px 0 4px; }
.tpclg h4 { font-weight: 400; width: 222px; }
.tpclg h4 span { float: left; }
.tpclg h4 .dpbtn { border-width: 1px; }
.tpclg .pt { margin: 5px 0; width: 212px; overflow: hidden; }
.tpcl { margin: 10px 0; border-top: 1px solid #DDD; }
.tpcl li { height: 28px; line-height: 18px; border-top: 1px solid {WRAPBG}; border-bottom: 1px solid #DDD; }
.tpcl .copt { height: auto; }
.dopt { visibility: hidden; overflow: hidden; white-space: nowrap; }
.copt .dopt { visibility: visible; }
.dopt p .px, .hasd .px { width: 100px; float: left; }
.dopt span .crl { width: 21px; height: 21px; border-style: solid; border-color: #707070 #CECECE #CECECE #ABABAB; border-width: 1px 0 1px 1px; }
.tpcl table { width: 100%; }
.tpcl td { vertical-align: top; padding: 5px; }
.tpcl .labeltxt { display: block; cursor: pointer; width: 100%; background: url({IMGDIR}/arrwd.gif) no-repeat 100% 8px; }
.copt .labeltxt { float: left; cursor: default; width: 45px; background: none; color: #09C; }
.tpcl .pc { margin: 3px; }
.tpcl img { vertical-align: middle; }
.tahfx { overflow: hidden; white-space: nowrap; width: 217px; }
.tahfx select { width: 160px; }
#toolbarroot { top: 0; left: 0; width: 96%; z-index: 9000; position: fixed; height: 30px; }
#toolbardiv { min-width:980px; height:27px; line-height:27px; padding:1px; border-bottom:1px solid {WRAPBORDERCOLOR}; background: #EEE;}
#togglediv { width:22px; height:22px; border:1px solid #09f; position:absolute; right:5px; top:3px; z-index:9998; cursor:pointer; text-align:center;}
.pg_modcp .tl { min-height: 150px; overflow: visible; }

View File

@@ -0,0 +1,3 @@
<!--{template common/header}-->
$result
<!--{template common/footer}-->

View File

@@ -0,0 +1,169 @@
<!--{subtemplate common/header_common}-->
<meta name="application-name" content="$_G['setting']['bbname']" />
<meta name="msapplication-tooltip" content="$_G['setting']['bbname']" />
<!--{if $_G['setting']['portalstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][1]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['portal']) ? $_G['scheme'].'://'.$_G['setting']['domain']['app']['portal'] : $_G[siteurl].'portal.php'};icon-uri={$_G[siteurl]}{IMGDIR}/portal.ico" /><!--{/if}-->
<meta name="msapplication-task" content="name=$_G['setting']['navs'][2]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['forum']) ? $_G['scheme'].'://'.$_G['setting']['domain']['app']['forum'] : $_G[siteurl].'forum.php'};icon-uri={$_G[siteurl]}{IMGDIR}/bbs.ico" />
<!--{if $_G['setting']['groupstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][3]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['group']) ? $_G['scheme'].'://'.$_G['setting']['domain']['app']['group'] : $_G[siteurl].'group.php'};icon-uri={$_G[siteurl]}{IMGDIR}/group.ico" /><!--{/if}-->
<!--{if helper_access::check_module('feed')}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][4]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['home']) ? $_G['scheme'].'://'.$_G['setting']['domain']['app']['home'] : $_G[siteurl].'home.php'};icon-uri={$_G[siteurl]}{IMGDIR}/home.ico" /><!--{/if}-->
<!--{if $_G['basescript'] == 'forum' && $_G['setting']['archiver']}-->
<link rel="archives" title="$_G['setting']['bbname']" href="{$_G[siteurl]}archiver/" />
<!--{/if}-->
<!--{if !empty($rsshead)}-->$rsshead<!--{/if}-->
<!--{if widthauto()}-->
<link rel="stylesheet" id="css_widthauto" type="text/css" href='{$_G['setting']['csspath']}{STYLEID}_widthauto.css?{VERHASH}' />
<script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
<!--{/if}-->
<!--{if $_G['basescript'] == 'forum' || $_G['basescript'] == 'group'}-->
<script type="text/javascript" src="{$_G[setting][jspath]}forum.js?{VERHASH}"></script>
<!--{elseif $_G['basescript'] == 'home'}-->
<script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
<!--{elseif $_G['basescript'] == 'portal'}-->
<script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
<!--{/if}-->
<!--{if $_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
<script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
<!--{/if}-->
<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
<link rel="stylesheet" type="text/css" id="diy_common" href="{$_G['setting']['csspath']}{STYLEID}_css_diy.css?{VERHASH}" />
<!--{/if}-->
</head>
<body id="nv_{$_G[basescript]}" class="pg_{CURMODULE}{if $_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)} {$cat['bodycss']}{/if}" onkeydown="if(event.keyCode==27) return false;">
<div id="append_parent"></div><div id="ajaxwaitid"></div>
<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
<!--{template common/header_diy}-->
<!--{/if}-->
<!--{if check_diy_perm($topic)}-->
<!--{template common/header_diynav}-->
<!--{/if}-->
<!--{if CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)}-->
$diynav
<!--{/if}-->
<!--{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">
{lang your_mobile_browser}<a href="{$_G['siteurl']}forum.php?mobile=yes">{lang go_to_mobile}</a> <span class="xg1">|</span> <a href="$_G['setting']['mobile']['nomobileurl']">{lang to_be_continue}</a>
</div>
<!--{/if}-->
<!--{if !empty($_G['setting']['shortcut']) && $_G['member'][credits] >= $_G['setting']['shortcut']}-->
<div id="shortcut">
<span><a href="javascript:;" id="shortcutcloseid" title="{lang close}">{lang close}</a></span>
{lang shortcut_notice}
<a href="javascript:;" id="shortcuttip">{lang shortcut_add}</a>
</div>
<script type="text/javascript">setTimeout(setShortcut, 2000);</script>
<!--{/if}-->
<div id="toptb" class="cl">
<!--{hook/global_cpnav_top}-->
<div class="wp">
<div class="z">
<!--{loop $_G['setting']['topnavs'][0] $nav}-->
<!--{if is_array($nav) && $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->$nav[code]<!--{/if}-->
<!--{/loop}-->
<!--{hook/global_cpnav_extra1}-->
</div>
<div class="y">
<a id="switchblind" href="javascript:;" onclick="toggleBlind(this)" title="{lang switch_blind}" class="switchblind"></a>
<!--{hook/global_cpnav_extra2}-->
<!--{loop $_G['setting']['topnavs'][1] $nav}-->
<!--{if is_array($nav) && $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->$nav[code]<!--{/if}-->
<!--{/loop}-->
<!--{if empty($_G['disabledwidthauto']) && $_G['setting']['switchwidthauto']}-->
<a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="{if widthauto()}{lang switch_narrow}{else}{lang switch_wide}{/if}" class="switchwidth"><!--{if widthauto()}-->{lang switch_narrow}<!--{else}-->{lang switch_wide}<!--{/if}--></a>
<!--{/if}-->
<!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}--><a id="sslct" href="javascript:;" onmouseover="delayShow(this, function() {showMenu({'ctrlid':'sslct','pos':'34!'})});">{lang changestyle}</a><!--{/if}-->
<!--{if check_diy_perm($topic)}-->
$diynav
<!--{/if}-->
</div>
</div>
</div>
<!--{if !IS_ROBOT}-->
<!--{if $_G['uid'] && !$_G['setting']['bbclosed'] && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5}-->
<ul id="myprompt_menu" class="p_pop" style="display: none;">
<li><a href="home.php?mod=space&do=pm" id="pm_ntc" style="background-repeat: no-repeat; background-position: 0 50%;"><em class="prompt_news{if empty($_G[member][newpm])}_0{/if}"></em>{lang pm_center}</a></li>
<!--{if $_G['setting']['followstatus']}-->
<li><a href="home.php?mod=follow&do=follower"><em class="prompt_follower{if empty($_G[member][newprompt_num][follower])}_0{/if}"></em><!--{lang notice_interactive_follower}-->{if $_G[member][newprompt_num][follower]}($_G[member][newprompt_num][follower]){/if}</a></li>
<!--{if $_G[member][newprompt] && $_G[member][newprompt_num][follow]}-->
<li><a href="home.php?mod=follow"><em class="prompt_concern"></em><!--{lang notice_interactive_follow}-->($_G[member][newprompt_num][follow])</a></li>
<!--{/if}-->
<!--{/if}-->
<!--{if $_G[member][newprompt]}-->
<!--{loop $_G['member']['category_num'] $key $val}-->
<li><a href="home.php?mod=space&do=notice&view=$key"><em class="notice_$key"></em><!--{echo lang('template', 'notice_'.$key)}-->(<span class="rq">$val</span>)</a></li>
<!--{/loop}-->
<!--{/if}-->
<!--{if empty($_G['cookie']['ignore_notice'])}-->
<li class="ignore_noticeli"><a href="javascript:;" onclick="setcookie('ignore_notice', 1);hideMenu('myprompt_menu')" title="{lang temporarily_to_remind}"><em class="ignore_notice"></em></a></li>
<!--{/if}-->
</ul>
<!--{/if}-->
<!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}-->
<div id="sslct_menu" class="cl p_pop" style="display: none;">
<!--{if !$_G[style][defaultextstyle]}--><span class="sslct_btn" onclick="extstyle('')" title="{lang default}"><i></i></span><!--{/if}-->
<!--{loop $_G['style']['extstyle'] $extstyle}-->
<span class="sslct_btn" onclick="extstyle('$extstyle[0]')" title="$extstyle[1]"><i style='background:$extstyle[2]'></i></span>
<!--{/loop}-->
</div>
<!--{/if}-->
<!--{if $_G['uid']}-->
<ul id="myitem_menu" class="p_pop" style="display: none;">
<!--{if $_G['setting']['forumstatus']}--><li><a href="home.php?mod=space&do=thread&view=me">{lang mypost}</a></li><!--{/if}-->
<!--{if $_G['setting']['favoritestatus']}--><li><a href="home.php?mod=space&do=favorite&view=me">{lang favorite}</a></li><!--{/if}-->
<!--{if $_G['setting']['friendstatus']}--><li><a href="home.php?mod=space&do=friend">{lang friends}</a></li><!--{/if}-->
<!--{hook/global_myitem_extra}-->
</ul>
<!--{/if}-->
<!--{subtemplate common/header_qmenu}-->
<!--{/if}-->
<!--{ad/headerbanner/wp a_h}-->
<div id="hd">
<div class="wp">
<div class="hdc cl">
<!--{eval $mnid = getcurrentnav();}-->
<h2><!--{if !isset($_G['setting']['navlogos'][$mnid])}--><a href="{if $_G['setting']['domain']['app']['default']}{$_G['scheme']}://{$_G['setting']['domain']['app']['default']}/{else}./{/if}" title="$_G['setting']['bbname']">{$_G['style']['boardlogo']}</a><!--{else}-->$_G['setting']['navlogos'][$mnid]<!--{/if}--></h2>
<!--{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($_G[fid]);})">{lang my_nav}</a>
<ul>
<!--{loop $_G['setting']['navs'] $nav}-->
<!--{if is_array($nav) && $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid] || substr($_SERVER['REQUEST_URI'], 1) == str_replace('./', '', $nav[filename])}class="a" {/if}$nav[nav]></li><!--{/if}-->
<!--{/loop}-->
</ul>
<!--{hook/global_nav_extra}-->
</div>
<!--{if !empty($_G['setting']['plugins']['jsmenu'])}-->
<ul class="p_pop h_pop" id="plugin_menu" style="display: none">
<!--{loop $_G['setting']['plugins']['jsmenu'] $module}-->
<!--{if in_array($module['adminid'], array(0, -1)) || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
<li>$module[url]</li>
<!--{/if}-->
<!--{/loop}-->
</ul>
<!--{/if}-->
$_G[setting][menunavs]
<div id="mu" class="cl">
<!--{if $_G['setting']['subnavs']}-->
<!--{loop $_G[setting][subnavs] $navid $subnav}-->
<!--{if $_G['setting']['navsubhover'] || $mnid == $navid}-->
<ul class="cl {if $mnid == $navid}current{/if}" id="snav_$navid"{if $mnid != $navid} style="display:none"{/if}>
$subnav
</ul>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</div>
<!--{ad/subnavbanner/a_mu}-->
<!--{subtemplate common/pubsearchform}-->
</div>
</div>
<!--{hook/global_header}-->
<!--{/if}-->
<div id="wp" class="wp">

View File

@@ -0,0 +1,10 @@
{eval
ob_end_clean();
ob_start();
@header("Expires: -1");
@header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE);
@header("Pragma: no-cache");
@header("Content-type: text/xml; charset=".CHARSET);
echo '<?xml version="1.0" encoding="'.CHARSET.'"?>'."\r\n";
}
<root><![CDATA[

View File

@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="{CHARSET}" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] - <!--{/if}--> Powered by Discuz!</title>
$_G['setting']['seohead']
<meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" />
<meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}" />
<meta name="generator" content="Discuz! $_G['setting']['version']" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="{lang copyright_s}" />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<base href="{$_G['siteurl']}" />
<!--{csstemplate}-->
<script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}', showusercard = '{$_G[setting][showusercard]}', attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G[style][defaultextstyle]', REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]', CSSPATH = '$_G[setting][csspath]', DYNAMICURL = '{$_G[dynamicurl] or ''}';</script>
<script type="text/javascript" src="{$_G[setting][jspath]}common.js?{VERHASH}"></script>
<!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}-->
<!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}-->

View File

@@ -0,0 +1,94 @@
<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="{lang header_restore_backup_desc}">{lang header_restore_backup}</a></li>
<li><a href="javascript:;" onclick="drag.frameExport();return false;" title="{lang header_export_desc}">{lang header_export}</a></li>
<li><a href="javascript:;" onclick="drag.openFrameImport();$('button_more_menu').style.display='none';return false;" title="{lang header_import_desc}">{lang header_import}</a></li>
<li><a href="javascript:;" onclick="drag.blockForceUpdateBatch();$('button_more_menu').style.display='none';return false;" title="{lang header_update_desc}">{lang header_update}</a></li>
<li><a href="javascript:;" onclick="drag.clearAll();$('button_more_menu').style.display='none';return false;" title="{lang header_clearall_desc}">{lang header_clearall}</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;">{lang close}</a></span>
<a href="javascript:;" title="{lang header_more_actions}" id="button_more" onmouseover="showMenu(this.id);">More</a>
<span id="navsave"><a href="javascript:;" onclick="javascript:spaceDiy.save();return false;">{lang save}</a></span>
<span id="button_redo" class="unusable"><a href="javascript:;" onclick="spaceDiy.redo();return false;" title="{lang e_redo}" onfocus="this.blur();">{lang e_redo}</a></span>
<span id="button_undo" class="unusable"><a href="javascript:;" onclick="spaceDiy.undo();return false;" title="{lang e_undo}" onfocus="this.blur();">{lang e_undo}</a></span>
<span id="preview" class="unusable"><a href="javascript:;" onclick="spaceDiy.save('preview');return false;" onfocus="this.blur();" title="{lang header_perview_desc}" id="diy_preview">{lang header_perview}</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;">{lang header_start}</a></li>
<li id="navframe"><a href="javascript:;" onclick="spaceDiy.getdiy('frame');this.blur();return false;">{lang header_frame}</a></li>
<li id="navblockclass"><a href="javascript:;" onclick="spaceDiy.getdiy('blockclass');this.blur();return false;" id="hd_mod">{lang header_module}</a></li>
<!--{if !empty($topic)}-->
<li id="navstyle"><a href="javascript:;" onclick="spaceDiy.getdiy('style');this.blur();return false;">{lang style}</a></li>
<li id="navdiy"><a href="javascript:;" onclick="spaceDiy.getdiy('diy', 'topicid', '$topic[topicid]');this.blur();return false;">{lang header_diy}</a></li>
<!--{/if}-->
</ul>
<div id="diy_backup_tip" class="tip tip_2" style="display: none;">
<div class="tip_horn"></div>
<div class="tip_c">{lang header_diy_backup_tip} &nbsp; <a href="javascript:;" class="xi2" onclick="drag.saveViewTip('diy_backup_tip');return false;">{lang header_diy_i_know}</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="{STATICURL}image/diy/layout.png" />{lang header_add_frame}</a></li>
<li><a href="javascript:;" onclick="spaceDiy.getdiy('blockclass');return false;"><img src="{STATICURL}image/diy/module.png" />{lang header_add_module}</a></li>
<!--{if !empty($topic)}-->
<li><a href="javascript:;" onclick="spaceDiy.getdiy('style');return false;"><img src="{STATICURL}image/diy/style.png" />{lang style}</a></li>
<li><a href="javascript:;" onclick="spaceDiy.getdiy('diy', 'topicid', '$topic[topicid]');return false;"><img src="{STATICURL}image/diy/diy.png" />{lang header_diy}</a></li>
<!--{/if}-->
</ul>
<ul id="contentframe" class="content hide">
<li><a href="javascript:;" id="frame_1" onmousedown="drag.createObj(event,'frame','1');" onfocus="this.blur();" data="$widthstr"><img src="{STATICURL}image/diy/layout-1.png" />100%{lang header_frame}</a></li>
<li><a href="javascript:;" id="frame_1_1" onmousedown="drag.createObj(event,'frame','1-1');" onfocus="this.blur();"><img src="{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="{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="{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="{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="{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="$widthstr"><img src="{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="$widthstr"><img src="{STATICURL}image/diy/layout-tab.png" />tab{lang header_frame}</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">{lang close}</a>&nbsp;&nbsp;</span>
{lang header_diy_sample_mode}
</div>
<form method="post" autocomplete="off" name="diyform" id="diyform" action="$_G[siteurl]portal.php?mod=portalcp&ac=diy">
<input type="hidden" name="template" value="$_G['style']['tplfile']" />
<input type="hidden" name="tpldirectory" value="$_G['style']['tpldirectory']" />
<input type="hidden" name="diysign" value="{echo dsign({$_G['style']['tpldirectory']}.{$_G['style']['tplfile']})}" />
<input type="hidden" name="prefile" id="prefile" value="$_G['style']['prefile']" />
<input type="hidden" name="savemod" value="$_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="{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>

View File

@@ -0,0 +1,9 @@
<!--{block diynav}-->
<a id="diy-tg" href="javascript:openDiy();" title="{lang open_diy}" class="xi1 xw1 showmenu" onmouseover="showMenu({'ctrlid':'diy-tg','pos':'34!'})">DIY</a>
<div id="diy-tg_menu" style="display: none;">
<ul>
<li><a href="javascript:saveUserdata('diy_advance_mode', '');openDiy();" class="xi2">{lang header_diy_mode_simple}</a></li>
<li><a href="javascript:saveUserdata('diy_advance_mode', '1');openDiy();" class="xi2">{lang header_diy_mode_adv}</a></li>
</ul>
</div>
<!--{/block}-->

View File

@@ -0,0 +1,22 @@
<div id="qmenu_menu" class="p_pop {if !$_G['uid']}blk{/if}" style="display: none;">
<!--{hook/global_qmenu_top}-->
<!--{if $_G['uid']}-->
<ul class="cl nav">
<!--{loop $_G['setting']['mynavs'] $nav}-->
<!--{if is_array($nav) && $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->
<li>$nav[code]</li>
<!--{/if}-->
<!--{/loop}-->
</ul>
<!--{elseif $_G[connectguest]}-->
<div class="ptm pbw hm">
{lang connect_fill_profile_to_visit}
</div>
<!--{else}-->
<div class="ptm pbw hm">
{lang my_nav_login}
</div>
<!--{/if}-->
<!--{if $_G['setting']['showfjump'] && $_G['setting']['forumstatus']}--><div id="fjump_menu" class="btda"></div><!--{/if}-->
<!--{hook/global_qmenu_bottom}-->
</div>

View File

@@ -0,0 +1,57 @@
<!--{if $_G['uid']}-->
<div id="um">
<div class="avt y"><a href="home.php?mod=space&uid=$_G[uid]"><!--{avatar($_G['uid'], 'middle')}--></a></div>
<p>
<strong class="vwmy{if !empty($_G['setting']['connect']['allow']) && $_G[member][conisbind]} qq{/if}"><a href="home.php?mod=space&uid=$_G[uid]" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong>
<!--{if $_G['group']['allowinvisible']}-->
<span id="loginstatus">
<a id="loginstatusid" href="member.php?mod=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');return false;" class="xi2"></a>
</span>
<!--{/if}-->
<!--{hook/global_usernav_extra1}-->
<span class="pipe">|</span><!--{hook/global_usernav_extra4}--><a href="javascript:;" id="myitem" class="showmenu" onmouseover="showMenu({'ctrlid':'myitem'});">{lang myitem}</a>
<span class="pipe">|</span><a href="home.php?mod=spacecp">{lang setup}</a>
<span class="pipe">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G[member][newpm]} class="new"{/if}>{lang pm_center}</a>
<span class="pipe">|</span><a href="home.php?mod=space&do=notice" id="myprompt" class="a showmenu{if $_G[member][newprompt] && !$_G['setting']['bbclosed'] && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5} new{/if}" onmouseover="showMenu({'ctrlid':'myprompt'});">{lang remind}<!--{if $_G[member][newprompt] && !$_G['setting']['bbclosed'] && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5}-->($_G[member][newprompt])<!--{/if}--></a><span id="myprompt_check"></span>
<!--{if empty($_G['cookie']['ignore_notice']) && !$_G['setting']['bbclosed'] && empty($_G['member']['freeze']) && $_G['member']['groupid'] != 5 && ($_G[member][newpm] || !empty($_G[member][newprompt_num][follower]) || !empty($_G[member][newprompt_num][follow]) || $_G[member][newprompt])}--><script language="javascript">delayShow($('myprompt'), function() {showMenu({'ctrlid':'myprompt','duration':3})});</script><!--{/if}-->
<!--{if !empty($_G['setting']['taskstatus']) && !empty($_G['cookie']['taskdoing_'.$_G['uid']])}--><span class="pipe">|</span><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a><!--{/if}-->
<!--{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"><!--{if $_G['setting']['portalstatus'] }-->{lang portal_manage}<!--{else}-->{lang portal_block_manage}<!--{/if}--></a>
<!--{/if}-->
<!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
<span class="pipe">|</span><a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank">{lang forum_manager}</a>
<!--{/if}-->
<!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->
<span class="pipe">|</span><a href="admin.php" target="_blank">{lang admincp}</a>
<!--{/if}-->
<!--{hook/global_usernav_extra2}-->
<span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={eval echo formhash();}">{lang logout}</a>
</p>
<p>
<!--{hook/global_usernav_extra3}-->
<a href="home.php?mod=spacecp&ac=credit&showcredit=1" id="extcreditmenu"{if !$_G[setting][bbclosed]} onmouseover="delayShow(this, showCreditmenu);" class="showmenu"{/if}>{lang credits}: $_G[member][credits]</a>
<span class="pipe">|</span><a href="home.php?mod=spacecp&ac=usergroup" id="g_upmine" class="showmenu" onmouseover="delayShow(this, showUpgradeinfo)">{lang usergroup}: $_G[group][grouptitle]<!--{if $_G[member]['freeze']}--><span class="xi1">({lang freeze})</span><!--{/if}--></a>
</p>
</div>
<!--{elseif !empty($_G['cookie']['loginuser'])}-->
<p>
<strong><a id="loginuser" class="noborder"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
<span class="pipe">|</span><a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang activation}</a>
<span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
</p>
<!--{elseif !$_G[connectguest]}-->
<!--{template member/login_simple}-->
<!--{else}-->
<div id="um">
<div class="avt y"><!--{avatar(0, 'middle')}--></div>
<p>
<strong class="vwmy qq">{$_G[member][username]}</strong>
<!--{hook/global_usernav_extra1}-->
<span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
</p>
<p>
<a href="home.php?mod=spacecp&ac=credit&showcredit=1">{lang credits}: 0</a>
<span class="pipe">|</span>{lang usergroup}: $_G[group][grouptitle]
</p>
</div>
<!--{/if}-->

View File

@@ -0,0 +1,272 @@
/* IE compatible CSS file for Discuz! X
This file is automatically generated. */
/* ------ extracted from common.css ------ */
.ie_all .fic4 { font-size: 17px; }.ie_all .fic6 { font-size: 19px; }.ie_all .fic8 { font-size: 22px; }
.ie8 .fic4:before { font-size: 17px; }.ie8 .fic6:before { font-size: 19px; }.ie8 .fic8:before { font-size: 22px; }
hr { *margin-top: -8px !important; *margin-bottom: -8px !important; }
hr.bk { *margin-bottom: 2px !important; }
.ie6 .sec .p_pop { white-space: expression(this.offsetWidth >= 220 ? 'normal' : 'nowrap'); width: expression(this.offsetWidth >= 220 ? 200 : 'auto'); }
.ie6 .pn { overflow-x: visible; width: 0; }
.ie7 .pn em, .ie7 .pn span, .ie7 .pn strong { padding: 0 5px; line-height: 18px; }
.ie6 a.pn { width: auto; }
.ie6 a.pn em, .ie6 a.pn span, .ie6 a.pn strong { display: block; }
.ie7 a.pn em, .ie7 a.pn span, .ie7 a.pn strong { line-height: 21px; }
.ie6 .pr, .ie6 .pc, .ie7 .pr, .ie7 .pc { margin-right: 2px; }
.ie6 .pbt .ftid a, .ie7 .pbt .ftid a { margin-top: 1px; }
.ie6 .alert_right, .ie7 .alert_right { background: url({IMGDIR}/right.gif) no-repeat 8px 8px; }
.ie6 .alert_error, .ie7 .alert_error { background: url({IMGDIR}/error.gif) no-repeat 8px 8px; }
.ie6 .alert_info, .ie7 .alert_info { background: url({IMGDIR}/info.gif) no-repeat 8px 8px; }
.ie6 .hdc { height: 70px; }
#scbar_btn { *font-family: 'dzicon'; *text-align: center; *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf101;&nbsp;'); }
.ie8 #scbar_txt { display: block; }
.ie8 #scbar_type { margin-left: 0; }
.ie_all #nv li { line-height: 36px; }
.ie6 #nv li { line-height: 33px; }
.ie6 #mu, .ie7 #mu { line-height: 0; font-size: 0; }
#um { _padding-right: 54px; }
.vwmy { *font-family: dzicon,{FONT}; *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf100;&nbsp;'+this.innerHTML); }
.vwmy.qq { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf118;&nbsp;'+this.innerHTML); }
.ie6 #g_upmine { border: 0; }
.ie6 #qmenu_menu ul.nav li { clear: none !important; width: auto !important; }
.ie6 #ct { height: 300px; }
.ct2 .sd { _overflow-y: visible; }
.ct2_a, .ct3_a { background-image: url({IMGDIR}/vlineb.png); }
.ie6 #scrolltop { position: absolute; bottom: auto; }
#scrolltop a { *font-family: dzicon; *font-size: 24px; *line-height: 24px; }
#scrolltop a.scrolltopa { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11b;&nbsp;'); }
#scrolltop a.replyfast { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11c;&nbsp;'); }
#scrolltop a.returnlist, #scrolltop a.returnboard { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11d;&nbsp;'); }
.nvhm { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf103;&nbsp;'); }
.ie6 #uhd .tb .a { position: relative; }
.ie6 .tb .a, .ie6 .tb .current { position: relative; }
.ie6 .tb .o a { float: left; }
* html .a_fl, * html .a_fr { position: absolute; top: expression(offsetParent.scrollTop+350); }
* html .a_cb { top: expression(offsetParent.scrollTop+20); }
* html .a_cn { position: absolute; top: expression(offsetParent.scrollTop+document.documentElement.clientHeight-this.offsetHeight); }
.ie8 .xld .atc { max-width: 86px; }
.ie6 .xld .atc img { width: expression(this.width > 80 && this.width>=this.height ? 80 : true); height: expression(this.height > 80 && this.width<=this.height ? 80 : true); }
* html .xlda dd img { width: expression(this.width > 550 ? 550 : true); }
.mla img { _width: expression(this.width > 120 && this.width>=this.height ? 120 : true); _height: expression(this.height > 120 && this.width<=this.height ? 120 : true); }
* html .mlp img { width: expression(this.width > 120 && this.width>=this.height ? 120 : true); height: expression(this.height > 120 && this.width<=this.height ? 120 : true); }
.lk .m img { margin-top: 4px; margin-top/*\**/: 1px\9; }
.sllt_p { *float: left; }
.ie6 .slg, .ie7 .slg { width: expression(this.parentNode.offsetWidth); }
.switchwidth { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf106;&nbsp;'); }
#sslct { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf107;&nbsp;'); }
.ie6 .p_pop { width: 100px; }
.ie6 .p_pop li { zoom: 1; clear: both; width: 100%; }
.ie6 .p_pop a { position: relative; }
.ie6 .ignore_notice { display: none; }
.t_l, .t_c, .t_r, .m_l, .m_r, .b_l, .b_c, .b_r { filter: alpha(opacity=20); }
.flbc { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xd7;&nbsp;'); }
* html .pm .flb { padding: 4px 5px 1px; }
* html .pmd { width: expression(this.offsetWidth > 292 ? 292+'px':'auto'); }
* html .pmd img { width: expression(this.width > 292 ? 292 : true); }
* html .pmd .blockcode code { font-family: 'Courier New', serif; }
.pmo { line-height /*\**/: 26px\9; }
.lgfm { *margin-bottom: -10px; }
.fsb .pnr { *margin-top: 4px; }
.ie6 .pg label { padding-top: 3px; height: 23px; }
* html .pc_inner span { display: inline-block; }
.ie6 .jump_bdl li { clear: none !important; float: left !important; width: 178px !important; }
* html .focus { position: absolute; top: expression(offsetParent.scrollTop+document.documentElement.clientHeight-this.offsetHeight); }
.filebtn .pf { filter:alpha(opacity=0); }
.frame .sd { _height: auto; }
* html .frame-tab .tb li a { float: left; }
.slideshow span.title, .slidebar li { filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = #30000000, endColorstr = #30000000); }
.slidebar li.on { filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = #50FFFFFF, endColorstr = #50FFFFFF); }
.ie6 .card_mn { height: 56px; }
.ie_all .card .o a { padding: 3px 0 0; }
.ie6 .colorwd, .ie7 .colorwd { background-position: -1px -1px; }
.ie6 a.colorwd, .ie7 a.colorwd { background-position: 0 0; }
.ie_all .imgzoom_exif, .imgzoom_exif_hover { background: #000; }
.ie6 .imgzoom_exif { bottom: 39px; }
/* ------ extracted from widthauto.css ------ */
.ie7.widthauto .ct2 .sd { margin-left: 15px; }
.ie6.widthauto .ct2 .sd { padding-left: 15px; position: relative; }
.ie6.widthauto .ct2 #chart, .ie6.widthauto .ct2 #an { position: relative; }
.ie6.widthauto .ct2_a .appl { position: relative; display: inline; }
.ie6.widthauto .ct3_a .appl, .ie6.widthauto .ct3_a .sd { display: inline; }
.widthauto .switchwidth { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf105;&nbsp;'); }
/* ------ extracted from module.css ------ */
.ie6 .category_l4 { margin-right: -3px; }
.ie6 .el, .ie6 .el li { zoom: 1; }
.ie6 .el .o { position: absolute; margin: 2px 0 0 525px; }
.ie6 .ec a .tn { width: expression(this.width > 90 && this.width >= this.height ? 90 : true); height: expression(this.height > 90 && this.width <= this.height ? 90 : true); }
.ie6 .xlda .el .o { margin: 2px 0 0 460px; }
.ie6 .side_btn, .ie7 .side_btn { display:inline; }
* html .blockcode code { font-family: 'Courier New', serif; }
.str { *padding-bottom: 17px; }
.ie6 .taglist { height: 270px; }
*+html .upf { width: 520px; }
.p_pop .flb { *top: 13px; }
.p_tbl table { *table-layout: fixed; }
*+html .attc { width: 40px; }
.ie8 .attach_preview, .ie9 .attach_preview { top: 57px; right: 18px; }
.imgl { *width: 99.6%; }
.ie6 .imgl img { width: expression(this.width > 110 ? 110 : true); }
.imgdeleted { filter: alpha(opacity=30); }
.opattach_ctrl { filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = #30000000, endColorstr = #30000000); }
.ie6 .exfm .pn, .ie7 .exfm .pn { line-height: 16px; }
.sinf dl dt, .sadd dl dt { padding-top: 3px\9; }
.spmf, .spmf3 { _height: 1%; }
.ie6 .mobile-type, .ie7 .mobile-type { margin-left: 88px; }
.ie6 .mobile-type, .ie6 .mobile-type a { background-image: url({IMGDIR}/mobile-type-ie6.png) !important; }
#threadbeginid .beginidimg { filter:alpha(opacity=0); }
.ie_all .fl_icn { background: url({IMGDIR}/forum.gif) no-repeat left center; }
.ie6 .bdl { position: relative; }
.ie_all .ico_increase, .ie_all .ico_fall { width: 16px; font-size: 18px; margin: 0 5px; }
.ico_increase { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf124;&nbsp;'); }
.ico_fall { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf125;&nbsp;'); }
.ie_all .fa_fav_0:before, .ie_all .fa_fav:before, .ie_all .fa_rss:before, .ie_all .fa_achv:before, .ie_all .fa_bin:before, .ie_all .fa_ivt:before { font-size: 18px; margin-left: 0; margin-right: 4px; }
.ie6 .tl th .tdpre, .ie6 .tl td.fn .tdpre { display: none; }
.ie6 .fromg, tr:hover .fromg { visibility: visible; }
.ie_all .tl .tpin { display: block; width: 18px; height: 18px; }
.ie_all .tl .tpin1 { background: url({IMGDIR}/pin_1.gif); }
.ie_all .tl .tpin2 { background: url({IMGDIR}/pin_2.gif); }
.ie_all .tl .tpin3 { background: url({IMGDIR}/pin_3.gif); }
.ie_all .tl .tpin4 { background: url({IMGDIR}/pin_4.gif); }
.ie6 .tsm, .ie7 .tsm { margin-bottom: 0; }
.ie_all .pattimg_zoom { background-color: #FFF; filter:alpha(opacity=0); opacity:0; }
.ie6 .cgtl { width: auto; }
.ie6 #photo_pic img { width: expression(this.width > 620 ? 620:true); }
.ie6 .photo_pic { width:780px; margin:0 auto; }
.ie6 .authi .none { display:none; }
.ie6 .authi .show { display:inline-block; }
.ie_all #atarget, .ie_all .unchk, .ie_all .chked { display: inline-block; height: 20px; line-height: 20px; }
.ie6 .closeprev { display: none; }
.ie_all #hiddenthread { border-top: none; }
.ie6 .pls dd img, .ie7 .pls dd img { margin-top: 2px; width: expression(this.width > 65 ? 65 : true); }
.ie6 .pcbs table, .ie6 .t_fsz table { width: auto; }
* html .t_fsz { height: 100px; overflow: visible; }
* html .sign { height: expression(signature(this)); }
.ie_all .pob em a:before { font-size: 16px; margin-left: 0; margin-right: 6px; }
.ie6 .pl .quote blockquote, .ie7 .pl .quote blockquote { display: inline }
* html .pl .blockcode ol li { font-family: 'Courier New',serif; }
.ie6 .actl_pop { width: 200px !important; height: expression(this.offsetHeight > 300 ? 300 : 'auto'); }
.rsld cite, .rusld cite { _margin-bottom: -6px; }
.ie6 .vw .t_fsz { height: 30px; }
* html .tradl img { width: expression(this.width > 130 && this.width>=this.height ? 130 : true); height: expression(this.height > 130 && this.width<=this.height ? 130 : true); }
.ie6 .vw .d img { width: expression(this.width > 620 ? 620:true); }
.ie6 .avatar a { float: left; }
.mi .avatar a span { filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = #50FFFFFF, endColorstr = #50FFFFFF); }
* html .pic .c img { width: expression(this.width > 764 ? 764 : true); }
.mlnv img { _width: expression(this.width > 100 && this.width>=this.height ? 100 : true); height: expression(this._height > 100 && this.width<=this.height ? 100 : true); }
.sl .h { _height: 1%; }
.ie6 .favl li { position: relative; }
.ie6 .favl .o { margin: 0; right: 0; top: 12px; }
* html .pll ol { margin-left: 25px; }
*+html .pll ol { margin-left: 25px; }
.rwdl .uslvd em { bottom /*\**/: 9px\9; }
* html .rwdl .uslvd em { bottom: 11px; }
*+html .rwdl .uslvd em { bottom: 9px; }
.ie7 .pm_c .o { margin-top: -2px; }
.ie6 .pm_mn .tedt { width: 587px; }
.pm_b img { height: expression(this.height > 575 ? 575 : true); }
.tdats { *padding-bottom: 10px; }
.ie6 .un_selector input, .ie7 .un_selector input { height: 17px; }
.ie6 .pmfrndl, .ie7 .pmfrndl { margin-top: 4px; }
.note li { *margin-left: 25px; }
.ie6 .appl li { width: 100%; }
.ie6 #scform_submit strong, .ie7 #scform_submit strong { display: inline; }
.ie6 .rnk1 .mlp img { width: expression(this.width > 100 && this.width>=this.height ? 100 : true); height: expression(this.height > 75 && this.width<=this.height ? 75 : true); }
.ie6 .rnk1 .bigpic img { width: expression(this.width > 286 && this.width>=this.height ? 286 : true); height: expression(this.height > 200 && this.width<=this.height ? 200 : true); }
.clct_list .xld .m { background-color: #D8DEEA; }
.ie6 .flw_article .c img { width: expression(this.width > 600 ? 600 : true); }
.ie8 .flw_delete { position: relative; z-index: 1; }
.ie6 .flw_btn_fo, .ie7 .flw_btn_fo { position: relative; z-index: 1; }
.ie8 .flw_autopt .pts, .ie9 .flw_autopt .pts { min-height: 21px; }
.ie6 .tb .a { position: static; }
.ie6 #flw_bar object { position: absolute; }
.ie6 #livereplycontent dl, .ie7 #livereplycontent dl { width: 97%; }
/* ------ extracted from css_space.css ------ */
#space #nv li, #space #home { filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = #70FFFFFF, endColorstr = #70FFFFFF); }
* html #space .pic .c img { width: expression(this.width > 714 ? 714 : true); }
/* ------ extracted from editor.css ------ */
.ie8 .edt .pt { width: 800px; max-width: 100%; min-width: 100%; }
.ie8 .editortoolbar .flbc { position: relative; }
/* ------ extracted from icon.css ------ */
[class^="fico-"], [class*=" fico-"] { *font-family: 'dzicon'; *line-height: 1em; }
.fico-person { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf100;&nbsp;'); }
.fico-search { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf101;&nbsp;'); }
.fico-account_box { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf102;&nbsp;'); }
.fico-account { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf102;&nbsp;'); }
.fico-home { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf103;&nbsp;'); }
.fico-assessment { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf104;&nbsp;'); }
.fico-widthfixed { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf105;&nbsp;'); }
.fico-widthauto { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf106;&nbsp;'); }
.fico-styleselect { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf107;&nbsp;'); }
.fico-add_circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf108;&nbsp;'); }
.fico-add { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf108;&nbsp;'); }
.fico-remove_circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf109;&nbsp;'); }
.fico-remove { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf109;&nbsp;'); }
.fico-rss_feed { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10a;&nbsp;'); }
.fico-rss { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10a;&nbsp;'); }
.fico-refresh { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10b;&nbsp;'); }
.fico-delete { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10c;&nbsp;'); }
.fico-comment { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10d;&nbsp;'); }
.fico-edit { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10e;&nbsp;'); }
.fico-push { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10f;&nbsp;'); }
.fico-thumbup { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf110;&nbsp;'); }
.fico-thumbdown { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf111;&nbsp;'); }
.fico-collection { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf112;&nbsp;'); }
.fico-activitysm { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf113;&nbsp;'); }
.fico-share { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf114;&nbsp;'); }
.fico-check_right { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf115;&nbsp;'); }
.fico-error { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf116;&nbsp;'); }
.fico-info { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf117;&nbsp;'); }
.fico-qq { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf118;&nbsp;'); }
.fico-email { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf119;&nbsp;'); }
.fico-task { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11a;&nbsp;'); }
.fico-scrolltop { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11b;&nbsp;'); }
.fico-replyfast { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11c;&nbsp;'); }
.fico-list { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11d;&nbsp;'); }
.fico-follow { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11e;&nbsp;'); }
.fico-friendadd { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11f;&nbsp;'); }
.fico-mypost { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf120;&nbsp;'); }
.fico-interactive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf121;&nbsp;'); }
.fico-settings { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf122;&nbsp;'); }
.fico-link { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf123;&nbsp;'); }
.fico-up { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf124;&nbsp;'); }
.fico-down { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf125;&nbsp;'); }
.fico-left { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf126;&nbsp;'); }
.fico-right { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf127;&nbsp;'); }
.fico-valid { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf128;&nbsp;'); }
.fico-invalid { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf129;&nbsp;'); }
.fico-stars { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12a;&nbsp;'); }
.fico-sun { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12b;&nbsp;'); }
.fico-star3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12b;&nbsp;'); }
.fico-moon { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12c;&nbsp;'); }
.fico-star2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12c;&nbsp;'); }
.fico-star { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12d;&nbsp;'); }
.fico-star1 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12d;&nbsp;'); }
.fico-checkbox { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12e;&nbsp;'); }
.fico-checked { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12f;&nbsp;'); }
.fico-doing { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf130;&nbsp;'); }
.fico-volume { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf131;&nbsp;'); }
.fico-image { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf132;&nbsp;'); }
.fico-attachment { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf133;&nbsp;'); }
.fico-thread { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf134;&nbsp;'); }
.fico-clock { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf135;&nbsp;'); }
.fico-lock { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf136;&nbsp;'); }
.fico-print { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf137;&nbsp;'); }
.fico-help { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf138;&nbsp;'); }
.fico-launch { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf139;&nbsp;'); }
.fico-imgadjust { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13a;&nbsp;'); }
.fico-vote { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13b;&nbsp;'); }
.fico-reward { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13c;&nbsp;'); }
.fico-vs { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13d;&nbsp;'); }
.fico-group { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13e;&nbsp;'); }
.fico-cart { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13f;&nbsp;'); }
.fico-headset { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf140;&nbsp;'); }
.fico-phone { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf141;&nbsp;'); }
.fico-place { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf142;&nbsp;'); }
.fico-camera { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf143;&nbsp;'); }
.fico-voice { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf144;&nbsp;'); }
.fico-bell { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf145;&nbsp;'); }
.fico-poke { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf146;&nbsp;'); }
.fico-profile { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf147;&nbsp;'); }
.fico-dropdown { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf148;&nbsp;'); }
.fico-ban { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf149;&nbsp;'); }
.fico-tag { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf14a;&nbsp;'); }

View File

View File

@@ -0,0 +1,129 @@
<!--{template common/header}-->
<!--{if !$_G['inajax']}-->
<div id="pt" class="bm cl">
<div class="z"><a href="./" class="nvhm" title="{lang homepage}">$_G['setting']['bbname']</a> <em>&rsaquo;</em> {lang invite}</div>
</div>
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm bw0">
<h1 class="mt"><!--{if $at != 1}-->{lang invite_friend}<!--{/if}-->$invitename</h1>
<div class="usd usd2">
<!--{else}-->
<div id="main_messaqge">
<h3 class="flb">
<em id="returnmessage5"><!--{if $at != 1}-->{lang invite_friend}<!--{/if}-->$invitename</em>
<span>
<!--{if $_G['inajax']}--><a href="javascript:;" class="flbc" onclick="hideWindow('invite')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<div class="usd">
<!--{/if}-->
<ul class="cl">
<li>
<p>{lang invite_orderby_name}</p>
<p class="mtn"><input type="text" name="username" size="25" id="username" class="px" value="" autocomplete="off" /> <button class="pn pnc" onclick="clearlist=1;getUser();"><span>{lang find}</span></button></p>
<script type="text/javascript">
var invitefs;
var clearlist = 0;
</script>
</li>
<li>
<p>{lang invite_orderby_friend}</p>
<p class="mtn">
<select class="ps" onchange="clearlist=1;getUser(1, this.value)">
<option value="-1">{lang invite_all_friend}</option>
<!--{if $at == 1 && $_G['group']['allowat']}-->
<option value="-2">{lang invite_my_follow}</option>
<!--{/if}-->
<!--{loop $friendgrouplist $groupid $group}-->
<option value="$groupid">$group</option>
<!--{/loop}-->
</select>
</p>
</li>
</ul>
<div class="tbx">
<span class="y">{lang invite_still_choose}(<strong id="remainNum">0</strong>){lang unit}</span>
<span id="showUser_0" onclick="invitefs.showUser(0)" class="a brs">{lang invite_all_friend}</span>
<span id="showUser_1" onclick="invitefs.showUser(1)">{lang selected}(<strong id="selectNum">0</strong>)</span>
<span id="showUser_2" onclick="invitefs.showUser(2)">{lang unselected}(<cite id="unSelectTab">0</cite>)</span>
</div>
</div>
<ul class="usl cl{if empty($_G['inajax'])} usl2{/if}" id="friends"></ul>
<script type="text/javascript" reload="1">
var page = 1;
var gid = -1;
var showNum = 0;
var haveFriend = true;
var username = '';
function getUser(pageId, gid) {
page = parseInt(pageId);
gid = isUndefined(gid) ? -1 : parseInt(gid);
username = $('username').value;
var x = new Ajax();
x.get('home.php?mod=spacecp&ac=friend&op=getinviteuser&inajax=1&page='+ page + '&gid=' + gid + '&at={$at}&username='+ username + '&' + Math.random(), function(s) {
var data = eval('('+s+')');
var singlenum = parseInt(data['singlenum']);
var maxfriendnum = parseInt(data['maxfriendnum']);
invitefs.addDataSource(data, clearlist);
haveFriend = singlenum && singlenum == 20 ? true : false;
if(singlenum && invitefs.allNumber < 20 && invitefs.allNumber < maxfriendnum && maxfriendnum > 20 && haveFriend) {
page++;
clearlist = 0;
getUser(page);
}
});
}
function selector() {
var parameter = {'searchId':'username', 'showId':'friends', 'formId':'inviteform', 'showType':1, 'handleKey':'invitefs', 'maxSelectNumber':'20', 'selectTabId':'selectNum', 'unSelectTabId':'unSelectTab', 'maxSelectTabId':'remainNum'};
<!--{if $at == 1 && $_G['group']['allowat']}-->
parameter.maxSelectNumber = $maxselect;
<!--{/if}-->
invitefs = new friendSelector(parameter);
<!--{if $inviteduids}-->
invitefs.addFilterUser([$inviteduids]);
<!--{/if}-->
var listObj = $('friends');
listObj.onscroll = function() {
clearlist = 0;
if(this.scrollTop >= (this.scrollHeight/5-5)) {
page++;
gid = isUndefined(gid) ? -1 : parseInt(gid);
if(haveFriend) {
getUser(page, gid);
}
}
}
getUser(page);
}
if($('friendselector_js')) {
selector();
} else {
var scriptNode = document.createElement("script");
scriptNode.id = 'friendselector_js';
scriptNode.type = "text/javascript";
scriptNode.src = '{$_G[setting][jspath]}home_friendselector.js?{VERHASH}';
if(BROWSER.ie) {
scriptNode.onreadystatechange = function () {
if(scriptNode.readyState == 'loaded' || scriptNode.readyState == 'complete') {
selector();
}
}
} else {
scriptNode.onload = selector;
}
$('append_parent').appendChild(scriptNode);
}
</script>
<form method="post" autocomplete="off" name="invite" id="inviteform" action="misc.php?mod=invite&action=$_GET[action]&id=$id{if $_GET['activity']}&activity=1{/if}">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="{echo dreferer()}" />
<!--{if !empty($_G['inajax'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<p class="o pns{if empty($_G['inajax'])} mtw{/if}"><button type="submit" class="pn pnc" name="invitesubmit" value="yes"><strong>{lang invite_send}</strong></button></p>
</form>
</div>
<!--{if !$_G['inajax']}-->
</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,8 @@
<div class="bm"><div class="bm_h cl"><a href="javascript:;" onclick="$('ip_notice').style.display='none';setcookie('lip', '', -1);" class="y" title="{lang close}">{lang close}</a>
<h2>{lang ipnoice_title}</h2></div><div class="bm_c">
<dl class="xld cl bbda">
<dd>{lang ipnoice_current} {$status['lastip']} $nowipConvert<br />{lang ipnoice_last} {$lip[0]} $lastipConvert<br />{lang ipnoice_lasttime} $lastipDate</dd>
</dl>
<p class="ptn cl"><a href="home.php?mod=spacecp&ac=profile&op=password" onclick="$('ip_notice').style.display='none';setcookie('lip', '', -1);" class="xi2 y" target="_blank">{lang ipnoice_link} &raquo;</a></p>
</div>
</div>

View File

@@ -0,0 +1,118 @@
<!--{if $_GET['op'] == 'loadcropper'}-->
<!DOCTYPE html>
<html>
<head>
<meta charset="{CHARSET}" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] - <!--{/if}--> Powered by Discuz!</title>
<meta name="copyright" content="{lang copyright_s}" />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid = '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}', showusercard = '{$_G[setting][showusercard]}', attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}', creditnotice = '<!--{if $_G['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G[style][defaultextstyle]', REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G[siteurl]', JSPATH = '$_G[setting][jspath]';</script>
<script type="text/javascript" src="{$_G[setting][jspath]}common.js?{VERHASH}"></script>
<script type="text/javascript" src="{$_G[setting][jspath]}imgcropper.js?{VERHASH}"></script>
<style type="text/css">
body{margin: 0; padding: 0}
#rightDown{
position:absolute;
background:#FFF url({IMGDIR}/r_b_resize.png) no-repeat 0 0;
width: 16px;
height: 16px;
z-index:500;
font-size:0;
opacity: 0.8;
filter:alpha(opacity=80);
cursor:nw-resize;
right:0;
bottom:0;
}
#bgDiv{width:{$cbgboxwidth}px; height:{$cbgboxheight}px; border:1px solid #666666; position:relative;}
#dragDiv{border:1px dashed #00f; width:{$cboxwidth}px; height:{$cboxheight}px; top:{$dragpt}px; left:{$dragpl}px; cursor:move; }
</style>
</head>
<body>
<div id="bgDiv" style="width:{$cbgboxwidth}px; height:{$cbgboxheight}px;">
<div id="dragDiv" style="top:{$dragpt}px; left:{$dragpl}px;">
</div>
<div id="rightDown"></div>
</div>
<script type="text/javascript">
var cropper = new ImgCropper("bgDiv", "dragDiv", "$_GET[img]", {
width: $cbgboxwidth, height: $cbgboxheight, color: "#000", min:true, minWidth:$cboxwidth, minHeight:{$cboxheight},
resize: true, rightDown: "rightDown"
});
</script>
</body>
</html>
<!--{else}-->
<!--{template common/header}-->
<h3 class="flb">
<em id="return_$_GET[handlekey]">{lang imgcropper}</em>
<!--{if $_G[inajax]}--><span><a href="javascript:;" onclick="hideWindow('$_GET[handlekey]');" class="flbc" title="{lang close}">{lang close}</a></span><!--{/if}-->
</h3>
<div id="__groupnameform_">
<form method="post" autocomplete="off" id="groupnameform_" name="groupnameform_" action="misc.php?mod=imgcropper" {if $_G[inajax]}onsubmit="ajaxpost(this.id, 'return_$_GET[handlekey]');"{/if}>
<input type="hidden" name="referer" value="{echo dreferer()}">
<input type="hidden" name="imgcroppersubmit" value="true" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="cutleft" id="cutleft" value="0" />
<input type="hidden" name="cuttop" id="cuttop" value="0" />
<input type="hidden" name="cutwidth" id="cutwidth" value="0" />
<input type="hidden" name="cutheight" id="cutheight" value="0" />
<input type="hidden" name="picwidth" id="picwidth" value="0" />
<input type="hidden" name="picheight" id="picheight" value="0" />
<input type="hidden" name="cutimg" value="$_GET['img']" />
<!--{if $_GET['ictype'] == 'block'}-->
<input type="hidden" name="bid" value="$_GET[bid]" />
<input type="hidden" name="picflag" value="$_GET[picflag]" />
<!--{/if}-->
<input type="hidden" name="ictype" value="$_GET[ictype]" />
<div class="c">
<iframe src="misc.php?mod=imgcropper&op=loadcropper&img={$prefix}{$_GET['img']}&width=$_GET['width']&height=$_GET['height']" id="cropperiframe" frameborder="0" scrolling="no" marginwidth="0" onload="setWinHeight(this)"></iframe>
</div>
<p class="o pns">
<button type="submit" name="groupnamesubmit_btn" value="true" class="pn pnc"><strong>{lang imgcropper_crop}</strong></button>
</p>
</form>
<script type="text/javascript">
function setWinHeight(obj){
var win = obj;
if (document.getElementById) {
if (win && !window.opera) {
if (win.contentDocument && win.contentDocument.documentElement.scrollHeight) {
win.height = win.contentDocument.documentElement.scrollHeight;
win.width = win.contentDocument.documentElement.scrollWidth;
} else if(win.Document && win.Document.body.scrollHeight) {
win.height = win.Document.body.scrollHeight;
win.width = win.Document.body.scrollWidth;
}
}
}
}
function resetHeight(divObj, ipos, imgObj) {
var iframeObject = $('cropperiframe');
iframeObject.height = divObj.style.height;
iframeObject.width = divObj.style.width;
$('cutleft').value = ipos.Left;
$('cuttop').value = ipos.Top;
$('cutwidth').value = ipos.Width-2;
$('cutheight').value = ipos.Height-2;
$('picwidth').value = imgObj.width;
$('picheight').value = imgObj.height;
}
function succeedhandle_$_GET[handlekey](url, msg, values) {
<!--{if $_GET['ictype'] == 'block'}-->
$('icflag').value = 1;
<!--{/if}-->
}
</script>
</div>
<!--{template common/footer}-->
<!--{/if}-->

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,67 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="{CHARSET}" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" type="text/css" href='{$_G['setting']['csspath']}{$_GET[styleid]}_common.css?{VERHASH}' />
<style type="text/css">
body { padding: 10px; }
.premsg { padding: 5px; background-color: {$_G['style'][commonbg]}; }
.xst { font-family: {$_G['style'][threadtitlefont]}; font-size: {$_G['style'][threadtitlefontsize]}; }
#ft { padding: 10px; text-align: center; }
</style>
</head>
<body>
<div id="hd" class="mbm">
<div class="hdc cl">
<h2>{$_G['style'][boardlogo]}</h2>
<div id="um">
<div class="avt y">
<!--{avatar($_G['member'], 'small')}-->
</div>
<p><strong><a href="#">$_G['member']['username']</a></strong><span class="xg1"> <a href="#">{lang setup}</a></span><span class="pipe">|</span><a href="#">{lang pm_center}</a></p>
<p>{lang credits}<span class="pipe">|</span>{lang usergroup}</p>
</div>
</div>
<div id="nv">
<ul>
<li><a href="#">$_G['setting']['navs'][1]['navname']<span>Home</span></a></li>
<li><a href="#">$_G['setting']['navs'][2]['navname']<span>BBS</span></a></li>
<li><a href="#">$_G['setting']['navs'][3]['navname']<span>Group</span></a></li>
<li><a href="#">$_G['setting']['navs'][4]['navname']<span>Space</span></a></li>
</ul>
</div>
</div>
<div class="bm">
<div class="bm_h cl">
<h2>{lang table_header}</h2>
</div>
<div class="bm_c">
<div class="premsg">{lang preview_msg}</div>
<table class="dt">
<tr>
<td class="xs0">{lang preview_smalltext}</td>
<td><a href="javascript:;">{lang preview_link}</a></td>
<td><a href="javascript:;" class="xi2">{lang preview_highlightlink}</a></td>
</tr>
<tr>
<td>{lang preview_text}</td>
<td class="xg2">{lang preview_midtext}</td>
<td class="xg1">{lang preview_lighttext}</td>
</tr>
<tr class="bw0_all">
<td colspan="3" class="xst">{lang preview_threadtext}</td>
</tr>
</table>
</div>
</div>
<div id="ft">
{lang preview_footertext}
</div>
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!--{if $_G['setting']['search']}-->
<!--{eval $slist = array();}-->
<!--{if $_G['setting']['forumstatus'] && $_G['fid'] && $_G['forum']['status'] != 3 && !(isset($mod) && $mod == 'group')}--><!--{block slist['forumfid']}--><li><a href="javascript:;" rel="curforum" fid="$_G[fid]" >{lang search_this_forum}</a></li><!--{/block}--><!--{/if}-->
<!--{if $_G['setting']['portalstatus'] && $_G['setting']['search']['portal']['status'] && ($_G['group']['allowsearch'] & 1 || $_G['adminid'] == 1)}--><!--{block slist['portal']}--><li><a href="javascript:;" rel="article">{lang article}</a></li><!--{/block}--><!--{/if}-->
<!--{if $_G['setting']['forumstatus'] && $_G['setting']['search']['forum']['status'] && ($_G['group']['allowsearch'] & 2 || $_G['adminid'] == 1)}--><!--{block slist['forum']}--><li><a href="javascript:;" rel="forum" class="curtype">{lang thread}</a></li><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('blog') && $_G['setting']['search']['blog']['status'] && ($_G['group']['allowsearch'] & 4 || $_G['adminid'] == 1)}--><!--{block slist['blog']}--><li><a href="javascript:;" rel="blog">{lang blog}</a></li><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('album') && $_G['setting']['search']['album']['status'] && ($_G['group']['allowsearch'] & 8 || $_G['adminid'] == 1)}--><!--{block slist['album']}--><li><a href="javascript:;" rel="album">{lang album}</a></li><!--{/block}--><!--{/if}-->
<!--{if $_G['setting']['groupstatus'] && $_G['setting']['search']['group']['status'] && ($_G['group']['allowsearch'] & 16 || $_G['adminid'] == 1)}--><!--{block slist['group']}--><li><a href="javascript:;" rel="group">$_G['setting']['navs'][3]['navname']</a></li><!--{/block}--><!--{/if}-->
<!--{if $_G['setting']['friendstatus']}--><!--{block slist['user']}--><li><a href="javascript:;" rel="user">{lang users}</a></li><!--{/block}--><!--{/if}-->
<!--{/if}-->
<!--{if $_G['setting']['search'] && $slist}-->
<div id="scbar" class="{if $_G['setting']['srchhotkeywords'] && count($_G['setting']['srchhotkeywords']) > 5}scbar_narrow {/if}cl">
<form id="scbar_form" method="{if $_G[fid] && !empty($searchparams[url])}get{else}post{/if}" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="{if $_G[fid] && !empty($searchparams[url])}$searchparams[url]{else}search.php?searchsubmit=yes{/if}" target="_blank">
<input type="hidden" name="mod" id="scbar_mod" value="search" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="srchtype" value="title" />
<input type="hidden" name="srhfid" value="$_G[fid]" />
<input type="hidden" name="srhlocality" value="$_G['basescript']::{CURMODULE}" />
<!--{if !empty($searchparams[params])}-->
<!--{loop $searchparams[params] $key $value}-->
<!--{eval $srchotquery .= '&' . $key . '=' . rawurlencode($value);}-->
<input type="hidden" name="$key" value="$value" />
<!--{/loop}-->
<input type="hidden" name="source" value="discuz" />
<input type="hidden" name="fId" id="srchFId" value="$_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>
<!--{/if}-->
<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="{lang enter_content}" autocomplete="off" x-webkit-speech speech /></td>
<td class="scbar_type_td"><a href="javascript:;" id="scbar_type" class="xg1 showmenu" onclick="showMenu(this.id)" hidefocus="true">{lang search}</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">{lang search}</strong></button></td>
<td class="scbar_hot_td">
<div id="scbar_hot">
<!--{if $_G['setting']['forumstatus'] && $_G['setting']['srchhotkeywords']}-->
<strong class="xw1">{lang hot_search}: </strong>
<!--{loop $_G['setting']['srchhotkeywords'] $val}-->
<!--{if $val=trim($val)}-->
<!--{eval $valenc=rawurlencode($val);}-->
<!--{block srchhotkeywords[]}-->
<!--{if !empty($searchparams[url])}-->
<a href="$searchparams[url]?q=$valenc&source=hotsearch{$srchotquery}" target="_blank" class="xi2" sc="1">$val</a>
<!--{else}-->
<a href="search.php?mod=forum&srchtxt=$valenc&formhash={FORMHASH}&searchsubmit=true&source=hotsearch" target="_blank" class="xi2" sc="1">$val</a>
<!--{/if}-->
<!--{/block}-->
<!--{/if}-->
<!--{/loop}-->
<!--{echo implode('', $srchhotkeywords);}-->
<!--{/if}-->
</div>
</td>
</tr>
</table>
</form>
</div>
<ul id="scbar_type_menu" class="p_pop" style="display: none;"><!--{echo implode('', $slist);}--></ul>
<script type="text/javascript">
initSearchmenu('scbar', '{$searchparams[url] or ''}');
</script>
<!--{/if}-->

View File

@@ -0,0 +1,41 @@
<!--{template common/header}-->
<h3 class="flb">
<em>{lang report}</em>
<span><a href="javascript:;" onclick="hideWindow('$_GET[handlekey]');" class="flbc" title="{lang close}">{lang close}</a></span>
</h3>
<form style="width:28em" method="post" autocomplete="off" id="form_$_GET[handlekey]" name="form_$_GET[handlekey]" action="misc.php?mod=report" {if $_G[inajax]}onsubmit="if(!$('report_message').value) return false;ajaxpost(this.id, 'form_$_GET[handlekey]');"{/if}>
<div class="reason_slct c" id="return_$_GET[handlekey]">
<p>{lang report_reason}</p>
<p class="mtn mbn" id="report_reasons"></p>
<div id="report_other" style="display:none">
<textarea id="report_message" name="message" class="reasonarea pt mtn xg1" onfocus="this.innerHTML='';this.focus=null;this.className='reasonarea pt mtn'" onkeydown="ctrlEnter(event, 'reportsubmit', 1);" onkeyup="strLenCalc(this, 'checklen');" rows="4">{lang report_reason_other}</textarea>
</div>
</div>
<p class="o pns">
<span id="report_msg" style="display:none"><span class="z">{lang input_message1} <strong id="checklen">200</strong> {lang input_message2}</span></span>
<button id="report_submit" type="submit" value="true" class="pn pnc"><strong>{lang confirms}</strong></button>
</p>
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="reportsubmit" value="true" />
<input type="hidden" name="rtype" value="$_GET[rtype]" />
<input type="hidden" name="rid" value="$_GET[rid]" />
<!--{if $_GET['fid']}-->
<input type="hidden" name="fid" value="$_GET[fid]" />
<!--{/if}-->
<!--{if $_GET['uid']}-->
<input type="hidden" name="uid" value="$_GET[uid]" />
<!--{/if}-->
<input type="hidden" name="url" value="$_GET[url]" />
<input type="hidden" name="inajax" value="$_G[inajax]" />
<!--{if $_G[inajax]}--><input type="hidden" name="handlekey" value="$_GET[handlekey]" /><!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
</form>
<script type="text/javascript" reload="1">
var reasons = {lang report_reason_message};
var reasonstring = '';
for (i=0; i<reasons.length; i++) {
reasonstring += '<label><input type="radio" name="report_select" class="pr" onclick="' + (i < reasons.length -1 ? '$(\'report_message\').innerHTML=this.value;' : '') + '$(\'report_other\').style.display=\'' + (i < reasons.length -1 ? 'none' : '') + '\';$(\'report_msg\').style.display=\'' + (i < reasons.length -1 ? 'none' : '') + '\'" value="' + reasons[i] + '"> ' + reasons[i] + '</label><br />';
}
$('report_reasons').innerHTML = reasonstring;
</script>
<!--{template common/footer}-->

View File

@@ -0,0 +1,57 @@
channel
{
font-size: 12px;
background: white;
font-family: verdana, arial, helvetica, 'Microsoft Yahei', sans-serif;
margin: 0px auto;
width: 100%;
padding:10px 10px 15px 10px;
text-align: center;
}
channel title
{
display: block;
font-weight: bold;
font-size: 18px;
z-index: 1;
position: relative;
height: auto;
}
item
{
padding:10px 10px 2px 10px;
display: block;
font-size: 14px;
margin: 20px 0px;
width: 90%;
line-height: 100%;
text-align: left;
}
image, image title, image height, image width, image url, category, ttl, generator, guid, language, docs, comments,pubDate
{
display: none;
}
rss, item title, item link, item description, item pubDate, item author, item
{
display: block;
font-weight: normal;
font-size: 14px;
margin: 5px;
background: #F0F8FB;
}
item title { font-weight: bold; font-size: 16px; display: block; height: auto; position: relative; z-index: 1}
item link { margin-bottom: 0; }
link { display: block; color: blue; text-decoration: underline; }
info { display: block; margin: 3em 4em 3em 4em; color: Black; text-align: center; padding: 1.5em; font-family: mono; font-size: small; }
managingEditor, webMaster, title, link, description, copyright, lastBuildDate, pubDate
{
display: block; font-size: 14px; line-height:150%;
}

View File

@@ -0,0 +1,12 @@
{eval
$sechash = !isset($sechash) ? 'S'.(empty($_G['inajax']) ? '' : 'A'.random(3)).$_G['sid'] : $sechash.random(3);
$sectpl = str_replace("'", "\'", $sectpl);
}
<!--{if $secqaacheck}-->
<span id="secqaa_q$sechash"></span>
<script type="text/javascript" reload="1">updatesecqaa('q$sechash', '$sectpl', '{$_G[basescript]}::{CURMODULE}');</script>
<!--{/if}-->
<!--{if $seccodecheck}-->
<span id="seccode_c$sechash"></span>
<script type="text/javascript" reload="1">updateseccode('c$sechash', '$sectpl', '{$_G[basescript]}::{CURMODULE}');</script>
<!--{/if}-->

View File

@@ -0,0 +1,20 @@
<!--{template common/header}-->
<div class="tm_c">
<h3 class="flb">
<em id="return_$handlekey">{lang secmobseccode}</em>
<span>
<a href="javascript:;" class="flbc" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a>
</span>
</h3>
<form id="confirmform" method="post" autocomplete="off" action="misc.php?mod=secmobseccode&action=send&svctype=$svctype&secmobicc=$secmobicc&secmobile=$secmobile" onsubmit="ajaxpost('confirmform', 'return_$handlekey', 'return_$handlekey');return false;">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="seccodesubmit" value="true" />
<input type="hidden" name="handlekey" value="$handlekey" />
<!--{block sectpl}--><div class="rfm"><table><tr><th><sec>: </th><td><sec><br /><sec></td></tr></table></div><!--{/block}-->
<!--{subtemplate common/seccheck}-->
<p class="o pns">
<input type="submit" name="funcsubmit_btn" class="btn" value="{lang confirms}">
</p>
</form>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,32 @@
<script type="text/javascript" src="{$_G[setting][jspath]}seditor.js?{VERHASH}"></script>
<div class="fpd">
<!--{if in_array('bold', $seditor[1])}-->
<a href="javascript:;" title="{lang e_bold}" class="fbld"{if empty($seditor[2])} onclick="seditor_insertunit('$seditor[0]', '[b]', '[/b]');doane(event);"{/if}>B</a>
<!--{/if}-->
<!--{if in_array('color', $seditor[1])}-->
<a href="javascript:;" title="{lang e_forecolor}" class="fclr" id="{$seditor[0]}forecolor"{if empty($seditor[2])} onclick="showColorBox(this.id, 2, '$seditor[0]');doane(event);"{/if}>Color</a>
<!--{/if}-->
<!--{if in_array('img', $seditor[1])}-->
<a id="{$seditor[0]}img" href="javascript:;" title="{lang e_image}" class="fmg"{if empty($seditor[2])} onclick="seditor_menu('$seditor[0]', 'img');doane(event);"{/if}>Image</a>
<!--{/if}-->
<!--{if in_array('link', $seditor[1])}-->
<a id="{$seditor[0]}url" href="javascript:;" title="{lang e_url}" class="flnk"{if empty($seditor[2])} onclick="seditor_menu('$seditor[0]', 'url');doane(event);"{/if}>Link</a>
<!--{/if}-->
<!--{if in_array('quote', $seditor[1])}-->
<a id="{$seditor[0]}quote" href="javascript:;" title="{lang e_quote}" class="fqt"{if empty($seditor[2])} onclick="seditor_menu('$seditor[0]', 'quote');doane(event);"{/if}>Quote</a>
<!--{/if}-->
<!--{if in_array('code', $seditor[1])}-->
<a id="{$seditor[0]}code" href="javascript:;" title="{lang e_code}" class="fcd"{if empty($seditor[2])} onclick="seditor_menu('$seditor[0]', 'code');doane(event);"{/if}>Code</a>
<!--{/if}-->
<!--{if in_array('smilies', $seditor[1])}-->
<a href="javascript:;" class="fsml" id="{$seditor[0]}sml"{if empty($seditor[2])} onclick="showMenu({'ctrlid':this.id,'evt':'click','layer':2});return false;"{/if}>Smilies</a>
<!--{if empty($seditor[2])}-->
<script type="text/javascript" reload="1">smilies_show('{$seditor[0]}smiliesdiv', $_G['setting']['smcols'], '$seditor[0]');</script>
<!--{/if}-->
<!--{/if}-->
<!--{if in_array('at', $seditor[1]) && $_G['group']['allowat']}-->
<script type="text/javascript" src="{$_G['setting']['jspath']}at.js?{VERHASH}"></script>
<a id="{$seditor[0]}at" href="javascript:;" title="{lang e_at}" class="fat"{if empty($seditor[2])} onclick="seditor_menu('$seditor[0]', 'at');doane(event);"{/if}>{lang at_friend}</a>
<!--{/if}-->
{$seditor[3] or ''}
</div>

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="{$_G['charset']}" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>$subject</title>
</head>
<body>
hi, $toemail<br>
$subject<br>
$message
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!--{if !$_G['inajax']}-->
<!--{template common/header}-->
<div id="ct" class="wp cl w">
<!--{if !$param[login]}-->
<div class="nfl">
<!--{else}-->
<div class="nfl" id="main_succeed" style="display: none">
<div class="f_c altw">
<div class="alert_right">
<p id="succeedmessage"></p>
<p id="succeedlocation" class="alert_btnleft"></p>
<p class="alert_btnleft"><a id="succeedmessage_href">{lang message_forward}</a></p>
</div>
</div>
</div>
<div class="nfl" id="main_message">
<!--{/if}-->
<!--{else}-->
<!--{template common/header_ajax}-->
<!--{/if}-->
<!--{if $param[msgtype] == 1 || $param[msgtype] == 2 && !$_G[inajax]}-->
<div class="f_c altw">
<div id="messagetext" class="$alerttype">
<p>$show_message</p>
<!--{if $url_forward}-->
<!--{if !$param[redirectmsg]}-->
<p class="alert_btnleft"><a href="$url_forward">{lang message_forward}</a></p>
<!--{else}-->
<p class="alert_btnleft"><a href="$url_forward">{lang attach_forward}</a></p>
<!--{/if}-->
<!--{elseif $allowreturn}-->
<script type="text/javascript">
if(history.length > (BROWSER.ie ? 0 : 1)) {
document.write('<p class="alert_btnleft"><a href="javascript:history.back()">{lang message_go_back}</a></p>');
} else {
document.write('<p class="alert_btnleft"><a href="./">[ $_G['setting']['bbname'] {lang homepage} ]</a></p>');
}
</script>
<!--{/if}-->
</div>
<!--{if $param[login]}-->
<div id="messagelogin"></div>
<script type="text/javascript">ajaxget('member.php?mod=logging&action=login&infloat=yes&frommessage', 'messagelogin');</script>
<!--{/if}-->
</div>
<!--{elseif $param[msgtype] == 2}-->
<h3 class="flb"><em>{lang board_message}</em><!--{if $_G[inajax]}--><span><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']');" title="{lang close}">{lang close}</a></span><!--{/if}--></h3>
<div class="c altw">
<div class="$alerttype">$show_message</div>
</div>
<p class="o pns">
<!--{if $param['closetime']}-->
<span class="z xg1">$param['closetime'] {lang message_closetime}</span>
<!--{elseif $param['locationtime']}-->
<span class="z xg1">$param['locationtime'] {lang message_locationtime}</span>
<!--{/if}-->
<!--{if $param[login]}-->
<button type="button" class="pn pnc" onclick="hideWindow('$_GET['handlekey']');showWindow('login', 'member.php?mod=logging&action=login');"><strong>{lang login}</strong></button>
<!--{if !$_G['setting']['bbclosed']}-->
<button type="button" class="pn pnc" onclick="hideWindow('$_GET['handlekey']');window.open('member.php?mod={$_G[setting][regname]}');"><em>$_G['setting']['reglinkname']</em></button>
<!--{/if}-->
<button type="button" class="pn" onclick="hideWindow('$_GET['handlekey']');"><em>{lang cancel}</em></button>
<!--{elseif !$param['closetime'] && !$param['locationtime']}-->
<button type="button" class="pn pnc" id="closebtn" onclick="hideWindow('$_GET['handlekey']');"><strong>{lang confirms}</strong></button>
<script type="text/javascript" reload="1">if($('closebtn')) {$('closebtn').focus();}</script>
<!--{/if}-->
</p>
<!--{else}-->$show_message<!--{/if}-->
<!--{if !$_G['inajax']}-->
</div>
</div>
<!--{template common/footer}-->
<!--{else}-->
<!--{template common/footer_ajax}-->
<!--{/if}-->

View File

@@ -0,0 +1,19 @@
<div class="appl">
<div class="tbn">
<h2 class="mt bbda">{lang stats}</h2>
<ul>
<li class="cl{if $op == 'basic'} a{/if}"><a href="misc.php?mod=stat&op=basic">{lang basic_situation}</a></li>
<li class="cl{if $op == 'forumstat'} a{/if}"><a href="misc.php?mod=stat&op=forumstat">{lang forum_stat}</a></li>
<li class="cl{if $op == 'team'} a{/if}"><a href="misc.php?mod=stat&op=team">{lang manage_team}</a></li>
<!--{if $_G['setting']['modworkstatus']}-->
<li class="cl{if $op == 'modworks'} a{/if}"><a href="misc.php?mod=stat&op=modworks">{lang mod_works}</a></li>
<!--{/if}-->
<!--{if $_G['setting']['memliststatus']}-->
<li class="cl{if $op == 'memberlist'} a{/if}"><a href="misc.php?mod=stat&op=memberlist">{lang member_list}</a></li>
<!--{/if}-->
<!--{if $_G['setting']['updatestat']}-->
<li class="cl{if $op == 'trend'} a{/if}"><a href="misc.php?mod=stat&op=trend">{lang trend}</a></li>
<!--{/if}-->
</ul>
</div>
</div>

View File

@@ -0,0 +1,7 @@
<!--{if empty($_G['uploadjs'])}-->
<link rel="stylesheet" type="text/css" href="{STATICURL}js/webuploader/webuploader.css?{VERHASH}">
<script src="{STATICURL}js/mobile/jquery.min.js?{VERHASH}"></script><script>jQuery.noConflict();</script>
<script src="{STATICURL}js/webuploader/webuploader.min.js?{VERHASH}"></script>
<script type="text/javascript" src="{$_G[setting][jspath]}webuploader.js?{VERHASH}"></script>
{eval $_G['uploadjs'] = 1;}
<!--{/if}-->

View File

@@ -0,0 +1,9 @@
<!--{hook/global_userabout_top $_G['basescript'].'::'.CURMODULE}-->
<ul>
<!--{loop $_G['setting']['spacenavs'] $nav}-->
<!--{if is_array($nav) && $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->
$nav[code]
<!--{/if}-->
<!--{/loop}-->
</ul>
<!--{hook/global_userabout_bottom $_G['basescript'].'::'.CURMODULE}-->

View File

@@ -0,0 +1,40 @@
/* ----------------------------------
Self-adaption Width CSS file for Discuz! X
(C) Comsenz Inc.
https://www.discuz.vip
Created & Modified by Pony.
---------------------------------- */
.wp { width: 98%; }
#hd .wp, #wp { min-width: 1200px; }
.ct2 { margin-right: 235px; }
.ct2 .sd { margin-right: -235px; }
.ct2 .mn { width: 100%; }
.ct2 #chart, .ct2 #an { margin-right: -235px; }
.ct2_a { padding-left: 150px; }
.ct2_a .appl { margin-left: -150px; }
.ct2_a .mn { width: 97%; }
.ct3_a { padding: 0 240px 0 160px; }
.ct3_a .appl { margin-left: -160px; }
.ct3_a .sd { margin-right: -240px; }
.ct3_a .mn { margin: 0; width: 100%; }
#nv { background-repeat: repeat-x; background-position: 0 -33px; }
#mu ul { border-bottom: 1px solid {COMMONBORDER}; background-image: none; }
.pg_post .ct2_a { margin-left: 0; padding-left: 0; }
.pg_post .ct2_a .appl { margin-left: 0; background: none; }
.pg_modcp .ct2_a, .pg_announcement .ct2_a { border: none; }
.pg_modcp .ct2_a .mn, .pg_announcement .ct2_a .mn { margin-right: 0; padding-top: 0; }
.tdats .tdat { width: 20%; }
.tdats .tfxf { width: 79.5%; }
.tdats .tfx, .tdats .tb, .tscr { width: 39.5%; }
.tscr .tdat, .tscr .tdat th, .tscr .tdat td { width: 100%; }
.widthauto .switchwidth:before { content: "\f105"; }

View File

@@ -0,0 +1,27 @@
/*
wysiwyg CSS file for Discuz! X
(C) Comsenz Inc.
https://www.discuz.vip
*/
* { margin: 0; padding: 0; word-wrap: break-word; }
html, body { border: 0 !important; }
body { background: #FFF; font: {FONTSIZE} {FONT}; font-size: {MSGFONTSIZE}; color: {TABLETEXT}; height: 400px; }
li { list-style-type: disc; margin-left: 2em; }
ol { *margin: 0; padding: 0; }
.litype_1 li, ol li { list-style-type: decimal; }
.litype_2 li { list-style-type: lower-alpha; }
.litype_3 li { list-style-type: upper-alpha; }
a { color: {HIGHLIGHTLINK}; }
a:hover { text-decoration: none; }
a img { border: none; }
hr.l { height: 1px; border: none; background: {COMMONBORDER}; color: {COMMONBORDER}; }
table { empty-cells: show; border-collapse: collapse; }
table td { padding: 4px; border: 1px solid {COMMONBORDER}; }
th { font-weight: 400; }
div.quote, div.blockcode { margin: 10px 0; padding: 10px 10px 10px 65px; }
div.quote { padding-bottom: 5px; background: #F9F9F9 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='27'%3e%3cpath fill='%23d8e7f2' d='M11 16v10H1V16C1 10 7 1 11 1v5c-2 0-5 6-5 10h5zm16 0v10H17V16c0-6 6-15 10-15v5c-2 0-5 6-5 10h5z'/%3e%3c/svg%3e") no-repeat 20px 6px; }
div.quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='27'%3e%3cpath fill='%23d8e7f2' d='M17 11V1h10v10c0 6-6 15-10 15v-5c2 0 5-6 5-10h-5zM1 11V1h10v10c0 6-6 15-10 15v-5c2 0 5-6 5-10H1z'/%3e%3c/svg%3e") no-repeat 100% 100%; line-height: 1.6em; }
div.blockcode { border: 1px solid #CCC; background: #F7F7F7 url({IMGDIR}/codebg.gif) repeat-y 0 0; }
div.blockcode blockquote { margin: 0; }
.float td { border: 0; padding: 0; }
img { max-width:400px; }

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
<item id="Title"><![CDATA[Discuz! Style]]></item>
<item id="Data">
<item id="name"><![CDATA[默认风格]]></item>
<item id="templateid"><![CDATA[1]]></item>
<item id="tplname"><![CDATA[默认模板套系]]></item>
<item id="directory"><![CDATA[./template/default]]></item>
<item id="copyright"><![CDATA[Discuz!]]></item>
<item id="style">
<item id="smfont"><![CDATA[Tahoma,Helvetica,sans-serif]]></item>
<item id="threadtitlefontsize"><![CDATA[14px]]></item>
<item id="threadtitlefont"><![CDATA[Tahoma,Helvetica,'Microsoft Yahei',sans-serif]]></item>
<item id="smfontsize"><![CDATA[0.83em]]></item>
<item id="tabletext"><![CDATA[#444]]></item>
<item id="midtext"><![CDATA[#666]]></item>
<item id="lighttext"><![CDATA[#999]]></item>
<item id="link"><![CDATA[#333]]></item>
<item id="highlightlink"><![CDATA[#369]]></item>
<item id="noticetext"><![CDATA[#F26C4F]]></item>
<item id="bgcolor"><![CDATA[#FFF]]></item>
<item id="msgfontsize"><![CDATA[14px]]></item>
<item id="sidebgcolor"><![CDATA[#E8F0F7]]></item>
<item id="headerborder"><![CDATA[0]]></item>
<item id="headerbgcolor"><![CDATA[]]></item>
<item id="inputborderdarkcolor"><![CDATA[#848484]]></item>
<item id="stypeid"><![CDATA[1]]></item>
<item id="inputbg"><![CDATA[#FFF]]></item>
<item id="commonborder"><![CDATA[#CDCDCD]]></item>
<item id="commonbg"><![CDATA[#F2F2F2]]></item>
<item id="specialborder"><![CDATA[#C2D5E3]]></item>
<item id="specialbg"><![CDATA[#E5EDF2]]></item>
<item id="dropmenuborder"><![CDATA[#DDD]]></item>
<item id="floatmaskbgcolor"><![CDATA[#000]]></item>
<item id="dropmenubgcolor"><![CDATA[#FEFEFE]]></item>
<item id="floatbgcolor"><![CDATA[#FFF]]></item>
<item id="lightlink"><![CDATA[#FFF]]></item>
<item id="menuhoverbgcolor"><![CDATA[#004FA0]]></item>
<item id="menucurbgcolor"><![CDATA[#005AB4]]></item>
<item id="titlebgcolor"><![CDATA[#E5EDF2]]></item>
<item id="fontsize"><![CDATA[12px/1.5]]></item>
<item id="font"><![CDATA[Tahoma,Helvetica,'Microsoft Yahei',sans-serif]]></item>
<item id="styleimgdir"><![CDATA[]]></item>
<item id="imgdir"><![CDATA[]]></item>
<item id="boardimg"><![CDATA[logo.svg]]></item>
<item id="searchimg"><![CDATA[logo_sc.svg]]></item>
<item id="touchimg"><![CDATA[logo_m.svg]]></item>
<item id="available"><![CDATA[]]></item>
<item id="headertext"><![CDATA[#444]]></item>
<item id="footertext"><![CDATA[#666]]></item>
<item id="menubgcolor"><![CDATA[#2B7ACD]]></item>
<item id="menutext"><![CDATA[#FFF]]></item>
<item id="menuhovertext"><![CDATA[#FFF]]></item>
<item id="wrapbg"><![CDATA[#FFF]]></item>
<item id="wrapbordercolor"><![CDATA[#CCC]]></item>
<item id="contentwidth"><![CDATA[630px]]></item>
<item id="contentseparate"><![CDATA[#C2D5E3]]></item>
<item id="inputborder"><![CDATA[#E0E0E0]]></item>
</item>
<item id="version"><![CDATA[X3.5]]></item>
</item>
</root>

View File

@@ -0,0 +1,33 @@
<!--{subtemplate email/header}-->
<body>{lang add_member_subject}<br />
{$var['newusername']}{lang comma}{lang show_sender}<br />
<br />
{lang add_member_intro}<br />
{lang show_reason}{lang add_member_reason}<br />
<br />
----------------------------------------------------------------------<br />
{lang important}<br />
----------------------------------------------------------------------<br />
<br />
{lang add_member_no_interest}{lang ignore_email}<br />
<br />
----------------------------------------------------------------------<br />
{lang add_member_info}<br />
----------------------------------------------------------------------<br />
<br />
{lang add_member_bbname}{$var['bbname']}<br />
{lang add_member_siteurl}{$var['siteurl']}<br />
<br />
{lang add_member_newusername}{$var['newusername']}<br />
{lang add_member_newpassword}{$var['newpassword']}<br />
<br />
{lang add_member_can_login}<br />
<br />
<br />
<br />
{lang sincerely}<br />
<br />
{lang admin_team}.<br />
{$var['siteurl']}
</body>
</html>

View File

@@ -0,0 +1,6 @@
<!--{subtemplate email/header}-->
<body>{$subject}<br />
{lang adv_expiration_msg}<br /><br />
{$var['advs']}
</body>
</html>

View File

@@ -0,0 +1,16 @@
<!--{subtemplate email/header}-->
<body>{lang birthday_subject}<br />
{$var['username']}{lang comma}<br />
{lang show_sender}<br />
<br />
{lang show_reason}{lang birthday_reason}<br />
<br />
{lang birthday_if_not}{lang ignore_email}<br />
<br />
<br />
{lang sincerely}<br />
<br />
{lang admin_team}.<br />
{$var['siteurl']}
</body>
</html>

View File

@@ -0,0 +1,6 @@
<!--{subtemplate email/header}-->
<body>
$subject<br />
$message
</body>
</html>

View File

@@ -0,0 +1,29 @@
<!--{subtemplate email/header}-->
<body>{lang email_register_subject}<br />
<p>{lang show_sender}</p>
<p>{lang show_reason}{lang email_register_reason}
{lang have_not_visit}{lang have_not_do_this}{lang ignore_email}{lang no_more_action}</p>
<br />
----------------------------------------------------------------------<br />
<strong>{lang email_register_explain}</strong><br />
----------------------------------------------------------------------<br />
<br />
<p>{lang email_verify_explain2}</p>
<p>{lang email_register_click_link}<br />
<a href="{$var['url']}" target="_blank">{$var['url']}</a>
<br />
({lang if_not_link})</p>
<p>{lang thanks_for_visit}</p>
<p>
{lang sincerely}<br />
{lang admin_team}.<br />
{$var['siteurl']}</p>
</body>
</html>

View File

@@ -0,0 +1,22 @@
<!--{subtemplate email/header}-->
<body>
{lang email_reset_subject}
<br />
<p>{$var['username']}{lang comma}{lang show_sender}</p>
<p>{lang show_reason}{lang email_reset_reason}</p>
<p>----------------------------------------------------------------------<br />
<strong>{lang important}</strong>
<br />----------------------------------------------------------------------</p>
<p>{lang email_reset_if_not}</p>
<p>----------------------------------------------------------------------<br />
<strong>{lang email_reset_subject}</strong>
<br />----------------------------------------------------------------------</p>
<p><strong>{lang email_reset_explain}</strong></p>
<p><strong>{lang email_reset_new_email}</strong></p>
<p>{lang email_reset_if_not_user_op}</p>
<p>{lang email_reset_if_not_user_op_help}</p>
<p>{lang show_ip}</p>
<p>{lang sincerely}<br /></p>
<p>{lang admin_team}. {$var['siteurl']}</p>
</body>
</html>

View File

@@ -0,0 +1,24 @@
<!--{subtemplate email/header}-->
<body>{lang email_to_friend_subject}<br />
{lang email_to_friend_sender}<br />
<br />
{lang show_reason}{lang email_to_friend_reason}<br />
{lang not_interested}{lang ignore_email}{lang no_more_action}<br />
<br />
----------------------------------------------------------------------<br />
{lang msg_start}<br />
----------------------------------------------------------------------<br />
<br />
{$var['message']}<br />
<br />
----------------------------------------------------------------------<br />
{lang msg_end}<br />
----------------------------------------------------------------------<br />
<br />
{lang email_to_friend_not_official}<br />
{lang not_responsible}<br />
<br />
{lang welcome_visit}<br />
{$_G['siteurl']}
</body>
</html>

View File

@@ -0,0 +1,25 @@
<!--{subtemplate email/header}-->
<body>{lang email_to_invite_subject}<br />
{$var['sendtoname']}{lang comma}<br />
{lang email_to_friend_sender}<br />
<br />
{lang show_reason}{lang email_to_invite_reason}<br />
{lang not_interested}{lang ignore_email}{lang no_more_action}<br />
<br />
----------------------------------------------------------------------<br />
{lang msg_start}<br />
----------------------------------------------------------------------<br />
<br />
{$var['message']}<br />
<br />
----------------------------------------------------------------------<br />
{lang msg_end}<br />
----------------------------------------------------------------------<br />
<br />
{lang email_to_invite_not_official}<br />
{lang not_responsible}<br />
<br />
{lang welcome_visit}<br />
{$_G[\'siteurl\']}
</body>
</html>

View File

@@ -0,0 +1,30 @@
<!--{subtemplate email/header}-->
<body>
{lang email_verify_subject}<br />
<p>{$var['username']}{lang comma}{lang show_sender}</p>
<p>{lang show_reason}{lang email_verify_reason}
{lang have_not_visit}{lang have_not_do_this}{lang ignore_email}{lang no_more_action}</p>
<br />
----------------------------------------------------------------------<br />
<strong>{lang email_verify_explain}</strong><br />
----------------------------------------------------------------------<br />
<br />
<p>{lang email_verify_explain2}</p>
<p>{lang email_verify_click_link}<br />
<a href="{$var['url']}" target="_blank">{$var['url']}</a>
<br />
({lang if_not_link})</p>
<p>{lang thanks_for_visit}</p>
<p>
{lang sincerely}<br />
{lang admin_team}.<br />
{$var['siteurl']}</p>
</body>
</html>

View File

View File

@@ -0,0 +1,35 @@
<!--{subtemplate email/header}-->
<body>
{lang get_passwd_subject}<br />
<p>{$var['username']}{lang comma}{lang show_sender}</p>
<p>{lang show_reason}{lang get_passwd_reason}</p>
<p>
----------------------------------------------------------------------<br />
<strong>{lang important}</strong><br />
----------------------------------------------------------------------</p>
<p>{lang get_passwd_if_not}</p>
<p>
----------------------------------------------------------------------<br />
<strong>{lang get_passwd_explain}</strong><br />
----------------------------------------------------------------------</p>
</p>
{lang get_passwd_click_link}<br />
<a href="{$var['siteurl']}member.php?mod=getpasswd&amp;uid={$var['uid']}&amp;id={$var['idstring']}&amp;sign={$var['sign']}" target="_blank">{$var['siteurl']}member.php?mod=getpasswd&amp;uid={$var['uid']}&amp;id={$var['idstring']}&amp;sign={$var['sign']}</a>
<br />
({lang if_not_link})</p>
<p>{lang get_passwd_new_pwd}</p>
<p>{lang show_ip}</p>
<p>
{lang sincerely}<br />
</p>
<p>{lang admin_team}.
{$var['siteurl']}</p>
</body>
</html>

View File

@@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="{$_G['charset']}" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>$subject</title>
</head>

View File

View File

@@ -0,0 +1,20 @@
<!--{subtemplate email/header}-->
<body>
$subject<br />
<table border="0">
<tr>
<td valign="top">{$var['avatar']}</td>
<td valign="top">
<h3>{lang invitemail_from}</h3><br>
{lang invitemail_reason}<br>
<br>
{lang invitemail_start}<br>{$var['saymsg']}
<br><br>
<strong>{lang invitemail_accept_invite}</strong><br>
<a href="{$var['inviteurl']}">{$var['inviteurl']}</a><br>
<br>
<strong>{lang invitemail_viewpage}</strong><br>
<a href="{$var['siteurl']}home.php?mod=space&uid={$var['uid']}">{$var['siteurl']}home.php?mod=space&uid={$var['uid']}</a><br>
</td></tr></table>
</body>
</html>

View File

@@ -0,0 +1,39 @@
<!--{subtemplate email/header}-->
<body>{lang moderate_member_subject}<br />
<p>{$var['username']}{lang comma}{lang show_sender}</p>
<p>{lang show_reason}{lang moderate_member_reason}</p>
<br />
----------------------------------------------------------------------<br />
<strong>{lang moderate_member_info}</strong><br />
----------------------------------------------------------------------<br />
<br />
{lang moderate_member_username}{$var['username']}<br />
{lang moderate_member_regdate}{$var['regdate']}<br />
{lang moderate_member_submitdate}{$var['submitdate']}<br />
{lang moderate_member_submittimes}{$var['submittimes']}<br />
{lang moderate_member_msg}{$var['message']}<br />
<br />
{lang moderate_member_modresult}{$var['modresult']}<br />
{lang moderate_member_moddate}{$var['moddate']}<br />
{lang moderate_member_adminusername}{$var['adminusername']}<br />
{lang moderate_member_remark}{$var['remark']}<br />
<br />
----------------------------------------------------------------------<br />
<strong>{lang moderate_member_explain}</strong><br />
----------------------------------------------------------------------<br />
<p>{lang moderate_member_explain1}</p>
<p>{lang moderate_member_explain2}</p>
<p>{lang moderate_member_explain3}</p>
<br />
<br />
{lang sincerely}<br />
<br />
{lang admin_team}.<br />
{$var['siteurl']}
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!--{subtemplate email/header}-->
<body>
{lang password_reset_subject}
<br />
<p>{$var['username']}{lang comma}{lang show_sender}</p>
<p>{lang show_reason}{lang password_reset_reason}</p>
<p>----------------------------------------------------------------------<br />
<strong>{lang important}</strong>
<br />----------------------------------------------------------------------</p>
<p>{lang password_reset_if_not}</p>
<p>----------------------------------------------------------------------<br />
<strong>{lang password_reset_subject}</strong>
<br />----------------------------------------------------------------------</p>
<p><strong>{lang password_reset_explain}</strong></p>
<p>{lang password_reset_if_not_user_op}</p>
<p>{lang password_reset_if_not_user_op_help}</p>
<p>{lang show_ip}</p>
<p>{lang sincerely}<br /></p>
<p>{lang admin_team}. {$var['siteurl']}</p>
</body>
</html>

View File

@@ -0,0 +1,22 @@
<!--{subtemplate email/header}-->
<body>
{lang secmobile_reset_subject}
<br />
<p>{$var['username']}{lang comma}{lang show_sender}</p>
<p>{lang show_reason}{lang secmobile_reset_reason}</p>
<p>----------------------------------------------------------------------<br />
<strong>{lang important}</strong>
<br />----------------------------------------------------------------------</p>
<p>{lang secmobile_reset_if_not}</p>
<p>----------------------------------------------------------------------<br />
<strong>{lang secmobile_reset_subject}</strong>
<br />----------------------------------------------------------------------</p>
<p><strong>{lang secmobile_reset_explain}</strong></p>
<p><strong>{lang secmobile_reset_new_secmobile}</strong></p>
<p>{lang secmobile_reset_if_not_user_op}</p>
<p>{lang secmobile_reset_if_not_user_op_help}</p>
<p>{lang show_ip}</p>
<p>{lang sincerely}<br /></p>
<p>{lang admin_team}. {$var['siteurl']}</p>
</body>
</html>

View File

@@ -0,0 +1,30 @@
<!--{template common/header}-->
<!--{if $applylist}-->
<h2>{lang activity_new_join} ($activity[applynumber] {lang activity_member_unit})</h2>
<table class="dt">
<tr>
<th width="140">&nbsp;</th>
<th>{lang leaveword}</th>
<!--{if $activity['cost']}-->
<th width="60">{lang activity_payment}</th>
<!--{/if}-->
<th width="110">{lang activity_jointime}</th>
</tr>
<!--{loop $applylist $apply}-->
<tr>
<td>
<a target="_blank" href="home.php?mod=space&uid=$apply[uid]" class="ratl vm"><!--{echo avatar($apply['uid'], 'small')}--></a>
<a target="_blank" href="home.php?mod=space&uid=$apply[uid]">$apply[username]</a>
</td>
<td><!--{if $apply[message]}--><p>$apply[message]</p><!--{/if}--></td>
<!--{if $activity['cost']}-->
<td><!--{if $apply[payment] >= 0}-->$apply[payment] {lang payment_unit}<!--{else}-->{lang activity_self}<!--{/if}--></td>
<!--{/if}-->
<td>$apply[dateline]</td>
</tr>
<!--{/loop}-->
</table>
<!--{/if}-->
<br \>
<div class="pgs mbm cl">$multi</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,108 @@
<!--{template common/header}-->
<!--{if empty($_GET['infloat'])}-->
<div id="pt" class="bm cl">
<div class="z"><a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em> $navigation</div>
</div>
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm bw0">
<!--{/if}-->
<form id="applylistform" method="post" autocomplete="off" action="forum.php?mod=misc&action=activityapplylist&tid=$_G[tid]&applylistsubmit=yes&infloat=yes{if !empty($_GET['from'])}&from=$_GET['from']{/if}"{if !empty($_GET['infloat']) && empty($_GET['from'])} onsubmit="ajaxpost('applylistform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;"{/if} style="width: 590px;">
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']"><!--{if $isactivitymaster}-->{lang activity_applylist_manage}<!--{else}-->{lang activity_applylist}<!--{/if}--></em>
<span>
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="operation" value="" />
<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<div class="c floatwrap">
<table class="list" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
<thead>
<tr>
<!--{if $isactivitymaster}--><th width="25">&nbsp;</th><!--{/if}-->
<th width="105">{lang activity_join_members}</th>
<th>{lang leaveword}</th>
<th width="70">{lang extension_project}</th>
<!--{if $activity['cost']}-->
<th width="70">{lang activity_payment}</th>
<!--{/if}-->
<th width="70">{lang activity_jointime}</th>
<!--{if $isactivitymaster}--><th width="70">{lang status}</th><!--{/if}-->
</tr>
</thead>
<!--{loop $applylist $apply}-->
<tr>
<!--{if $isactivitymaster}-->
<td>
<!--{if $apply[uid] != $_G[uid]}-->
<input type="checkbox" name="applyidarray[]" class="pc" value="$apply[applyid]" />
<!--{else}-->
<input type="checkbox" class="pc" disabled="disabled" />
<!--{/if}-->
</td>
<!--{/if}-->
<td>
<a target="_blank" href="home.php?mod=space&uid=$apply[uid]">$apply[username]</a>
<!--{if $apply[uid] != $_G[uid]}-->
<a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$apply[uid]&touid=$apply[uid]&pmid=0&daterange=2" onclick="hideMenu('aplayuid{$apply[uid]}_menu');showWindow('sendpm', this.href)" title="{lang send_pm}"><i class="fico-email fc-n"></i></a>
<!--{/if}-->
</td>
<td><!--{if $apply[message]}-->$apply[message]<!--{/if}--></td>
<td>
<!--{if $apply[ufielddata]}-->
<div><a href="javascript:;" id="actl_$apply[uid]" class="showmenu" onmouseover="showMenu({'ctrlid':this.id, 'pos':'34!'});">{lang views}</a></div>
<div id="actl_$apply[uid]_menu" class="p_pop p_opt actl_pop" style="display:none;"><ul>$apply[ufielddata]</ul></div>
<!--{else}-->
{lang no_informations}
<!--{/if}-->
</td>
<!--{if $activity['cost']}-->
<td><!--{if $apply[payment] >= 0}-->$apply[payment] {lang payment_unit}<!--{else}-->{lang activity_self}<!--{/if}--></td>
<!--{/if}-->
<td>$apply[dateline]</td>
<!--{if $isactivitymaster}-->
<td><!--{if $apply[verified] == 1}-->
<i class="fico-valid fc-v vm" title="{lang activity_allow_join}"></i>{lang activity_allow_join}
<!--{elseif $apply[verified] == 2}-->
{lang activity_do_replenish}
<!--{else}-->
{lang activity_cant_audit}
<!--{/if}-->
</td>
<!--{/if}-->
</tr>
<!--{/loop}-->
</table>
</div>
</div>
<!--{if $isactivitymaster}-->
<div class="o pns">
<label{if !empty($_GET['infloat'])} class="z"{/if}><input class="pc" type="checkbox" name="chkall" onclick="checkall(this.form, 'applyid')" />{lang checkall} </label>
<label>{lang activity_ps}: <input name="reason" class="px vm" size="25" /> </label>
<button class="pn pnc vm" type="submit" value="true" name="applylistsubmit"><span>{lang confirm}</span></button>
<button class="pn vm" type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='replenish';"><span>{lang to_improve}</span></button>
<button class="pn vm" type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='notification';"><span>{lang send_notification}</span></button>
<button class="pn vm" type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='delete';"><span>{lang activity_refuse}</span></button>
</div>
<!--{/if}-->
</form>
<!--{if !empty($_GET['infloat'])}-->
<script type="text/javascript" reload="1">
function succeedhandle_$_GET['handlekey'](locationhref) {
ajaxget('forum.php?mod=viewthread&tid=$_G[tid]&viewpid=$_GET[pid]', 'post_$_GET[pid]');
hideWindow('$_GET['handlekey']');
}
</script>
<!--{/if}-->
<!--{if empty($_GET['infloat'])}-->
</div>
</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,24 @@
$activity[class]: $thread[subject]
<!--{echo "\n";}-->
{lang activity_starttime}: <!--{if $activity['starttimeto']}-->{lang activity_start_between}<!--{else}-->$activity[starttimefrom]<!--{/if}-->
<!--{echo "\n";}-->
{lang activity_space}: $activity[place]
<!--{echo "\n";}-->
<!--{if $activity['cost']}-->
{lang activity_payment}: $activity[cost] {lang payment_unit}
<!--{echo "\n";}-->
<!--{/if}-->
{lang gender}: <!--{if $activity['gender'] == 1}-->{lang male}<!--{elseif $activity['gender'] == 2}-->{lang female}<!--{else}-->{lang unlimited}<!--{/if}-->
<!--{echo "\n";}-->
<!--{if $activity['expiration']}-->{lang activity_totime}: $activity[expiration]<!--{/if}-->
<!--{echo "\n";}-->
{lang activity_already}: $applynumbers {lang activity_member_unit}
<!--{echo "\n\n";}-->
{lang activity_content}: "$activity[message]"
<!--{echo "\n\n";}-->
{lang activity_join_members},{lang leaveword},<!--{if $activity['cost']}-->{lang activity_payment},<!--{/if}-->{lang activity_jointime},{lang status}$ufield
<!--{echo "\n";}-->
<!--{loop $applylist $apply}-->
$apply[username],$apply[message],<!--{if $activity['cost']}--><!--{if $apply[payment] >= 0}-->$apply[payment] {lang payment_unit}<!--{else}-->{lang activity_self}<!--{/if}-->,<!--{/if}-->$apply[dateline],<!--{if $apply[verified]}-->{lang activity_allow_join}<!--{else}-->{lang activity_cant_audit}<!--{/if}--><!--{if $apply[fielddata]}-->$apply[fielddata]<!--{/if}-->
<!--{echo "\n";}-->
<!--{/loop}-->

View File

@@ -0,0 +1,82 @@
<!--{subtemplate common/header_ajax}-->
<!--{if $_GET['action'] == 'quickclear'}-->
<div class="tm_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']">{lang quickclear}</em>
<span>
<a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a>
</span>
</h3>
<form id="qclearform" method="post" autocomplete="off" action="forum.php?mod=ajax&action=quickclear&inajax=1" onsubmit="ajaxpost(this.id, 'return_$_GET['handlekey']', 'return_$_GET['handlekey']');return false;">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="uid" value="$uid" />
<input type="hidden" name="redirect" value="{echo dreferer()}" />
<input type="hidden" name="qclearsubmit" value="1" />
<input type="hidden" name="handlekey" value="$_GET['handlekey']" />
<div class="c">
<ul>
<li><label><input type="checkbox" name="operations[]" class="pc" value="avatar" />{lang quickclear_avatar}</label></li>
<li><label><input type="checkbox" name="operations[]" class="pc" value="sightml" />{lang quickclear_sightml}</label></li>
<li><label><input type="checkbox" name="operations[]" class="pc" value="customstatus" />{lang quickclear_customstatus}</label></li>
</ul>
<br />
<!--{if $crimenum_avatar > 0}-->
<div style="clear: both; text-align: right;">{lang quickclear_crime_avatar_nums}</div>
<!--{/if}-->
<!--{if $crimenum_sightml > 0}-->
<div style="clear: both; text-align: right;">{lang quickclear_crime_sightml_nums}</div>
<!--{/if}-->
<!--{if $crimenum_customstatus > 0}-->
<div style="clear: both; text-align: right;">{lang quickclear_crime_customstatus_nums}</div>
<!--{/if}-->
<div class="tpclg">
<h4 class="cl"><a onclick="showselect(this, 'reason', 'reasonselect')" class="dpbtn" href="javascript:;">^</a><span>{lang admin_reason}:</span></h4>
<p>
<textarea id="reason" name="reason" class="pt" onkeyup="seditor_ctlent(event, '$(\'modsubmit\').click();')" rows="3"></textarea>
<ul id="reasonselect" style="display: none"><!--{echo modreasonselect()}--></ul>
</p>
</div>
</div>
<p class="o">
<label for="sendreasonpm"><input type="checkbox" name="sendreasonpm" id="sendreasonpm" class="pc"{if $_G['group']['reasonpm'] == 2 || $_G['group']['reasonpm'] == 3} checked="checked" disabled="disabled"{/if} />{lang admin_pm}</label>
<button type="submit" name="modsubmit" id="modsubmit" class="pn pnc" value="true"><strong>{lang submit}</strong></button>
</p>
</form>
</div>
<!--{elseif $_GET['action'] == 'setnav'}-->
<div class="tm_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']">$navtitle</em>
<span>
<a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a>
</span>
</h3>
<form id="setnav" method="post" autocomplete="off" action="forum.php?mod=ajax&action=setnav&type=$type&do=$do" onsubmit="ajaxpost('setnav', 'message_setnav', 'message_setnav');return false;">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="type" value="$type" />
<input type="hidden" name="funcsubmit" value="1" />
<input type="hidden" name="handlekey" value="$_GET['handlekey']" />
<div class="c" id="message_setnav">
<!--{if $do == 'open'}-->
<ul>
<!--{if !in_array($type, array('wall', 'friend', 'medal', 'magic', 'favorite'))}-->
<li><label><input type="checkbox" name="location[header]" class="pc" value="1" />{lang main_nav}</label></li>
<!--{/if}-->
<!--{if $type != 'forum'}-->
<li><label><input type="checkbox" name="location[quick]" class="pc" value="1" />{lang quick_nav}</label></li>
<!--{/if}-->
</ul>
<!--{else}-->
$closeprompt
<!--{/if}-->
</div>
<p class="o pns">
<input type="submit" name="funcsubmit_btn" class="btn" value="{lang confirms}">
</p>
</form>
</div>
<!--{/if}-->
<!--{subtemplate common/footer_ajax}-->

View File

@@ -0,0 +1,15 @@
<!--{template common/header_ajax}-->
<!--{eval $i = 0;}-->
<table cellspacing="2" cellpadding="2" class="imgl"><tr>
<!--{loop $photolist $photo}-->
<!--{eval $i++;}-->
<td valign="bottom" width="25%">
<a href="javascript:;"><img src="$photo[thumburl]" title="$photo[filename]" onclick="wysiwyg ? insertText('<img src=\'$photo[url]\' border=0 style=\'max-width:400px\'/>', false) : insertText('[img]$photo[url][/img]', <!--{echo strlen($photo[url]) + 11}-->, 0);doane(event);" onload="thumbImg(this, 1)" width="110" style="height:auto" _width="110" _height="110"></a>
</td>
<!--{if $i % 4 == 0 && isset($photolist[$i])}--></tr><tr><!--{/if}-->
<!--{/loop}-->
<!--{if ($imgpad = $i % 4) > 0}--><!--{echo str_repeat('<td width="25%"></td>', 4 - $imgpad);}--><!--{/if}-->
</tr></table>
<div class="pgs cl">$multi</div>
<!--{template common/footer_ajax}-->

View File

@@ -0,0 +1,57 @@
<table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%">
<!--{loop $attachlist $attach}-->
<tbody id="attach_$attach[aid]">
<tr>
<td class="attswf">
<p id="attach$attach[aid]">
<span>$attach[filetype] <a href="javascript:;" class="xi2" id="attachname$attach[aid]" isimage="{if $attach['isimage']}1{else}0{/if}" onclick="{if $attach['isimage']}insertAttachimgTag('$attach[aid]');hideMenu('attach_preview_$attach[aid]_menu'){else}insertAttachTag('$attach[aid]'){/if};doane(event);" title="{lang upload_msg}" {if $attach['isimage']}onmouseout="hideMenu('attach_preview_$attach[aid]_menu');" onmouseover="showMenu({'ctrlid':this.id,'menuid':'attach_preview_$attach[aid]_menu','pos':'!'});"{/if}>{$attach[filename]}</a></span>
<!--{if $_G['setting']['allowattachurl']}-->
<a href="javascript:;" class="atturl" title="{lang e_attach_url}" onclick="insertText('attach://$attach[aid].{echo fileext($attach[filenametitle])}');doane(event);"><img src="{IMGDIR}/attachurl.gif" /></a>
<!--{if ($attachmcode = parseattachmedia($attach))}--><a href="javascript:;" class="atturl" title="{lang e_attach_mediacode}" onclick="insertText('$attachmcode');doane(event);"><img src="{IMGDIR}/attachmediacode.gif" /></a><!--{/if}-->
<!--{/if}-->
<!--{if $attach['pid']}-->
<input type="hidden" name="attachupdate[{$attach[aid]}]" id="attachupdate{$attach[aid]}" size="2" />&nbsp;
<!--{if !empty($allowuploadnum)}--><a href="javascript:;" onclick="uploadWindow(function (aid, url, name){$('attachupdate$attach[aid]').value = aid;$('attachname$attach[aid]').title = '';$('attachname$attach[aid]').innerHTML = name;$('attachname$attach[aid]').onmouseover=null}, 'file');return false;">{lang update}</a><!--{/if}-->
<!--{/if}-->
</p>
<span id="attachupdate$attach[aid]"></span>
<!--{if $attach['isimage']}-->
<div id="attach_preview_$attach[aid]_menu" class="attach_preview" style="display:none"><img src="{echo getforumimg($attach[aid], 1, 300, 300, 'fixnone')}&ramdom={echo random(5)}" id="image_$attach[aid]" cwidth="{if $attach[width] < 300}$attach[width]{else}300{/if}"/></div>
<!--{/if}-->
<!--{if $_GET[result] == 'simple'}-->
<input type="hidden" name="attachnew[{$attach[aid]}][description]" value="" />
<input type="hidden" name="attachnew[{$attach[aid]}][readperm]" value="" />
<input type="hidden" name="attachnew[{$attach[aid]}][price]" value="" />
<!--{/if}-->
</td>
<!--{if $_GET[result] != 'simple'}-->
<td class="atds"><input type="text" name="attachnew[{$attach[aid]}][description]" class="px" value="$attach[description]" size="6" /></td>
<!--{if $_G['group']['allowsetattachperm']}-->
<td class="attv">
<!--{if $_G['cache']['groupreadaccess']}-->
<select class="ps" name="attachnew[{$attach[aid]}][readperm]" id="readperm" style="width:90px">
<option value="">{lang unlimited}</option>
<!--{loop $_G['cache']['groupreadaccess'] $val}-->
<option value="$val[readaccess]" title="{lang readperm}: $val[readaccess]"{if $attach[readperm] == $val[readaccess]} selected{/if}>$val[grouptitle]</option>
<!--{/loop}-->
<option value="255"{if $attach[readperm] == 255} selected{/if}>{lang highest_right}</option>
</select>
<!--{/if}-->
</td>
<!--{/if}-->
<!--{if $_G['group']['maxprice']}--><td class="attpr"><input type="text" name="attachnew[{$attach[aid]}][price]" class="px" value="$attach[price]" size="1" /></td><!--{/if}-->
<!--{/if}-->
<td class="attc"><a href="javascript:;" class="d" onclick="delAttach($attach[aid],{if !$attach[pid]}1{else}0{/if});return false;" title="{lang e_attach_del}">{lang e_attach_del}</a></td>
</tr>
</tbody>
<!--{/loop}-->
</table>
<!--{if $_G[inajax]}-->
<script type="text/javascript" reload="1">
ATTACHNUM['attachunused'] += <!--{echo count($attachlist)}-->;
updateattachnum('attach');
if($('attachlimitnotice')) {
ajaxget('forum.php?mod=ajax&action=updateattachlimit&fid=' + fid, 'attachlimitnotice');
}
</script>
<!--{/if}-->

View File

@@ -0,0 +1,48 @@
<!--{template common/header_ajax}-->
<!--{if $_GET['action'] == 'getpostfeed'}-->
<!--{if !empty($_GET['type'])}-->
$post['message']
<!--{else}-->
<div class="z flw_avt">
<a href="home.php?mod=space&uid=$feed[uid]" class="z" c="1"><!--{avatar($feed['uid'],'small')}--></a>
<span class="cnr"></span>
</div>
<div class="flw_article">
<div class="flw_author pbm">
<a href="home.php?mod=space&uid=$feed[uid]" c="1">$feed['username']</a>
<span class="xg1">&nbsp;<!--{eval echo dgmdate($feed['dateline'], 'u');}--></span>
</div>
<!--{if $feed['note']}-->
<div class="flw_quotenote xs2 pbw">
$feed['note']
</div>
<div class="flw_quote">
<!--{/if}-->
<!--{if $thread[fid] != $_G[setting][followforumid]}-->
<h2 class="wx pbm">
<a href="forum.php?mod=viewthread&tid=$thread['tid']&extra=page%3D1">$thread['subject']</a>
</h2>
<!--{/if}-->
<div class="pbm c cl" id="original_content_$feed[feedid]">$feed['content']</div>
<div class="xg1 cl">
<span class="y">
<!--{if $feed[uid] == $_G[uid] || $_G['adminid'] == 1}-->
&nbsp; <a href="home.php?mod=spacecp&ac=follow&feedid=$feed[feedid]&op=delete" id="c_delete_$feed['feedid']" onclick="showWindow(this.id, this.href, 'get', 0);" class="flw_delete">{lang delete}</a>
<!--{/if}-->
<a href="javascript:;" id="relay_$feed[feedid]" onclick="quickrelay($feed['feedid'], $thread['tid']);">{lang follow_relay}($feed['relay'])</a>&nbsp;
<a href="javascript:;" onclick="quickreply($thread['fid'], $thread['tid'], $feed['feedid'])">{lang follow_quickreply}($thread['replies'])</a>
</span>
<!--{if $feed['note']}--><a href="home.php?mod=space&uid=$feed[uid]">$thread['author']</a> {lang poston} <!--{date($thread['dateline'])}-->&nbsp;<!--{/if}--><!--{if $thread[fid] != $_G[setting][followforumid] && $_G['cache']['forums'][$thread['fid']]['name']}-->#<a href="forum.php?mod=forumdisplay&fid=$thread['fid']">$_G['cache']['forums'][$thread['fid']]['name']</a><!--{/if}-->
</div>
<!--{if $feed['note']}--></div><!--{/if}-->
</div>
<div id="replybox_$feed['feedid']" class="flw_replybox cl" style="display: none;"></div>
<div id="relaybox_$feed['feedid']" class="flw_replybox cl" style="display: none;"></div>
<!--{/if}-->
<!--{else}-->
<a href="home.php?mod=space&uid=$post['authorid']" class="d xg1">$post['author']:</a>$post['message']
<!--{/if}-->
<!--{template common/footer_ajax}-->

View File

@@ -0,0 +1,45 @@
<!--{template common/header_ajax}-->
<div id="flsrchdiv">
<div class="mbm">{lang search_forum}: <input type="text" class="px vm" onkeyup="forumlistsearch(this.value)" /></div>
<ul class="jump_bdl cl">
<li>
<p class="bbda xg1">{lang forumlist_allforum}</p>
<!--{loop $forumlist $upfid $gdata}-->
<!--{if $gdata['sub']}-->
<p class="xw1{if $_GET['jfid'] == $upfid} a{/if}"><a href="forum.php?gid=$upfid">$gdata['name']</a></p>
<!--{loop $gdata['sub'] $subfid $name}-->
<p class="sub{if $_GET['jfid'] == $subfid} a{/if}"><a href="forum.php?mod=forumdisplay&fid=$subfid">$name</a></p>
<!--{loop $gdata['child'][$subfid] $childfid $name}-->
<p class="child{if $_GET['jfid'] == $childfid} a{/if}"><a href="forum.php?mod=forumdisplay&fid=$childfid">$name</a></p>
<!--{/loop}-->
<!--{/loop}-->
<!--{/if}-->
<!--{/loop}-->
</li>
<li>
<p class="bbda xg1">{lang forumlist_recent}</p>
<!--{loop $visitedforums $fid $forumname}-->
<p{if $_GET['jfid'] == $fid} class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$fid">$forumname</a></p>
<!--{/loop}-->
</li>
<li>
<p class="bbda xg1">{lang forumlist_myfav}</p>
<!--{loop $favforums $forum}-->
<p{if $_GET['jfid'] == $forum[id]} class="a"{/if}><a href="forum.php?mod=forumdisplay&fid=$forum[id]">$forum['title']</a></p>
<!--{/loop}-->
</li>
</ul>
</div>
<script type="text/javascript">
function forumlistsearch(srch) {
srch = srch.toLowerCase();
var p = $('flsrchdiv').getElementsByTagName('p');
for(var i = 0;i < p.length;i++){
p[i].style.display = p[i].innerText.toLowerCase().indexOf(srch) !== -1 ? '' : 'none';
}
}
</script>
<!--{template common/footer_ajax}-->

View File

@@ -0,0 +1,47 @@
<!--{if $imagelist}-->
<!--{if $_GET[type] != 'single'}-->
<!--{eval $i = 0;}-->
<table cellspacing="2" cellpadding="2" class="imgl"><tr>
<!--{/if}-->
<!--{loop $imagelist $image}-->
<!--{eval $i++;}-->
<!--{if $_GET[type] != 'single'}-->
<td valign="bottom" id="image_td_$image[aid]" width="25%">
<!--{/if}-->
<a href="javascript:;" title="$image[filename]" id="imageattach$image[aid]"><img src="{echo getforumimg($image[aid], 1, 300, 300, 'fixnone')}" id="image_$image[aid]" onclick="insertAttachimgTag('$image[aid]');doane(event);" width="{if $image[width] < 110}$image[width]{else}110{/if}" cwidth="{if $image[width] < 300}$image[width]{else}300{/if}" /></a>
<p class="mtn mbn xi2">
<!--{if $attach['pid']}-->
<input type="hidden" name="attachupdate[{$image[aid]}]" id="attachupdate{$image[aid]}" size="2" />&nbsp;
<a href="javascript:;" onclick="uploadWindow(function (aid, url, name){$('attachupdate$image[aid]').value = aid;ajaxget('forum.php?mod=ajax&action=getimage&aid=' + aid, 'imageattach$image[aid]');}, 'image');return false;">{lang update}</a>
<span class="pipe">|</span>
<!--{/if}-->
<a href="javascript:;" onclick="delImgAttach($image[aid],{if !$attach[pid]}1{else}0{/if});return false;">{lang e_attach_del}</a>
</p>
<p class="imgf">
<!--{if $image['description']}-->
<input type="text" name="attachnew[{$image[aid]}][description]" class="px xg2" value="$image[description]" id="image_desc_$image[aid]" />
<!--{else}-->
<input type="text" class="px xg2" value="{lang description}" onclick="this.style.display='none';$('image_desc_$image[aid]').style.display='';$('image_desc_$image[aid]').focus();" />
<input type="text" name="attachnew[{$image[aid]}][description]" class="px" style="display: none" id="image_desc_$image[aid]" />
<!--{/if}-->
</p>
<!--{if helper_access::check_module('album') && $_G['group']['allowupload']}-->
<p class="mtn"><!--{if !$attach[pid]}--><input type="hidden" class="pc" id="albumaid_$image[aid]" name="albumaid[]" value="" /><label for="albumaidchk_$image[aid]"><input id="albumaidchk_$image[aid]" type="checkbox" class="pc" onclick="$('albumaid_$image[aid]').value=this.checked?this.value:''" value="$image[aid]" />{lang save_to_album}</label><!--{/if}--></p>
<!--{/if}-->
</td>
<!--{if $_GET[type] != 'single' && $i % 4 == 0 && isset($imagelist[$i])}--></tr><tr><!--{/if}-->
<!--{/loop}-->
<!--{if $_GET[type] != 'single'}-->
<!--{if ($imgpad = $i % 4) > 0}--><!--{echo str_repeat('<td width="25%"></td>', 4 - $imgpad);}--><!--{/if}-->
</tr></table>
<!--{/if}-->
<!--{if $_G[inajax]}-->
<script type="text/javascript" reload="1">
ATTACHNUM['imageunused'] += <!--{echo count($imagelist)}-->;
updateattachnum('image');
if($('attachlimitnotice')) {
ajaxget('forum.php?mod=ajax&action=updateattachlimit&fid=' + fid, 'attachlimitnotice');
}
</script>
<!--{/if}-->
<!--{/if}-->

View File

@@ -0,0 +1,52 @@
<!--{template common/header_ajax}-->
<span class="cnr"></span>
<form method="post" autocomplete="off" id="postform_{$_GET['feedid']}" action="forum.php?mod=post&action=reply&fid=$_GET[fid]&extra=$extra&tid=$_GET[tid]&replysubmit=yes" onsubmit="this.message.value = parseurl(this.message.value);{if !empty($_GET['inajax'])}ajaxpost(this.id, 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;{/if}" class="mbm">
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<input type="hidden" name="handlekey" value="$_GET['handlekey']" />
<span id="subjectbox" style="display: none;"><input name="subject" id="subject" class="px" value="" style="width: 25em" /></span>
<table cellspacing="0" cellspacing="0">
<tr>
<td><span class="flw_autopt"><textarea name="message" id="postmessage_{$_GET[tid]}_{$_GET['feedid']}" class="pts" cols="80" rows="4" onkeyup="resizeTx(this);" onkeydown="resizeTx(this);" onpropertychange="resizeTx(this);" oninput="resizeTx(this);"></textarea></span><button type="submit" id="postsubmit" class="pgsbtn" value="true" name="{if $_GET[action] == 'newthread'}topicsubmit{elseif $_GET[action] == 'reply'}replysubmit{/if}"><span>{lang reply}</span></button></td>
<!--{if helper_access::check_module('follow')}-->
<td style="vertical-align: top;"><label class="ptn y"><input type="checkbox" name="adddynamic" class="pr" value="1" />{lang post_meanwhile_relay}</label></td>
<!--{/if}-->
</tr>
</table>
<!--{if $secqaacheck || $seccodecheck}-->
<!--{block sectpl}--><ul><li><em class="d"><sec></em><span id="sec<hash>" onclick="showMenu({'ctrlid':this.id,'win':'{$_GET[handlekey]}'})"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div></li></ul><!--{/block}-->
<div class="mtm"><!--{subtemplate common/seccheck}--></div>
<!--{/if}-->
</form>
<ul id="newreply_{$_GET[tid]}_{$_GET['feedid']}">
<!--{loop $list $pid $post}-->
<li><a href="home.php?mod=space&uid=$post['authorid']" class="d xi2">$post['author']:</a>$post['message']</li>
<!--{/loop}-->
</ul>
<div class="cl">
<a href="javascript:;" onclick="display('replybox_{$_GET['feedid']}')" class="y xg1">&uarr; {lang close}</a>
<!--{if $fid != $_G[setting][followforumid]}-->
<a href="forum.php?mod=viewthread&tid={$_GET[tid]}&extra=page%3D1" target="_blank" class="xi2">&rarr; {lang view_all_replies}</a>
<!--{/if}-->
</div>
<script type="text/javascript">
function succeedhandle_$_GET[handlekey](url, msg, values) {
var x = new Ajax();
x.get('forum.php?mod=ajax&action=getpost&inajax=1&tid='+values.tid+'&fid='+values.fid+'&pid='+values.pid, function(s){
newli = document.createElement("li");
newli.innerHTML = s;
var ulObj = $('newreply_'+values.tid+'_{$_GET['feedid']}');
ulObj.insertBefore(newli, ulObj.firstChild);
$('postmessage_{$_GET[tid]}_{$_GET['feedid']}').value = '';
if(values.sechash) {
updatesecqaa(values.sechash);
updateseccode(values.sechash);
$('seccodeverify_'+values.sechash).value='';
}
});
if(parseInt(values.feedid)) {
getNewFollowFeed(values.tid, values.fid, values.pid, values.feedid);
}
}
</script>
<!--{template common/footer_ajax}-->

View File

@@ -0,0 +1,7 @@
<!--{template common/header}-->
<!--{if !empty($groupselect['second'])}-->
<select id="fup" name="fup" class="ps">
$groupselect[second]
</select>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,35 @@
<!--{template common/header_ajax}-->
<script type="text/javascript">
if(!isUndefined(checkForumnew_handle)) {
clearTimeout(checkForumnew_handle);
}
<!--{if $threadlist}-->
if($('separatorline')) {
var table = $('separatorline').parentNode;
} else {
var table = $('forum_' + $fid);
}
var newthread = [];
<!--{eval $i = 0;}-->
<!--{loop $threadlist $thread}-->
{block icon}<a href="forum.php?mod=viewthread&tid=$thread[icontid]&{if $_GET['archiveid']}archiveid={$_GET['archiveid']}&{/if}extra=$extra" title="{if $thread['displayorder'] == 1}{lang thread_type1} - {/if}{if $thread['displayorder'] == 2}{lang thread_type2} - {/if}{if $thread['displayorder'] == 3}{lang thread_type3} - {/if}{if $thread['displayorder'] == 4}{lang thread_type4} - {/if}{if $thread[folder] == 'lock'}{lang closed_thread} - {/if}{if $thread['special'] == 1}{lang thread_poll} - {/if}{if $thread['special'] == 2}{lang thread_trade} - {/if}{if $thread['special'] == 3}{lang thread_reward} - {/if}{if $thread['special'] == 4}{lang thread_activity} - {/if}{if $thread['special'] == 5}{lang thread_debate} - {/if}{if $thread[folder] == "new"}{lang have_newreplies} - {/if}{lang target_blank}" target="_blank"><!--{if $thread[folder] == 'lock'}--><i class="fico-lock fic6 fc-s"></i><!--{elseif $thread['special'] == 1}--><i class="fico-vote fic6 fc-l"></i><!--{elseif $thread['special'] == 2}--><i class="fico-cart fic6 fc-l"></i><!--{elseif $thread['special'] == 3}--><i class="fico-reward fic6 fc-l"></i><!--{elseif $thread['special'] == 4}--><i class="fico-group fic6 fc-l"></i><!--{elseif $thread['special'] == 5}--><i class="fico-vs fic6 fc-l"></i><!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}--><i class="tpin tpin{$thread[displayorder]}"><svg width="18" height="18"><path d="M9 0l9 9H14v9H4V9H0z"></path></svg></i><!--{else}--><i class="fico-thread fic6 fc-l"></i><!--{/if}--></a>{/block}
newthread[{$i}] = {'tid':$thread[tid], 'thread': {'icn':{'className':'icn','val':'$icon'}<!--{if $_G['forum']['ismoderator']}-->, 'o':{'className':'o','val':'<input type="checkbox" value="{$thread[tid]}" name="moderate[]" onclick="tmodclick(this)">'}<!--{/if}--> ,'common':{'className':'new fn','val':'{if !$_G['setting']['forumdisplaythreadpreview']}<a class="tdpre y" href="javascript:void(0);" onclick="javascript:previewThread(\'$thread[tid]\', \'$thread[id]\');">{lang preview}</a>{/if}$thread[threadurl]'}, 'author':{'className':'by','val':'<cite>$thread[authorurl]</cite><em><span>{$thread[dateline]}</span></em>'}, 'num':{'className':'num','val':'<a href="forum.php?mod=viewthread&tid={$thread[tid]}">{$thread[replies]}</a><em>{$thread[views]}</em>'}, 'lastpost':{'className':'by','val':'<cite>$thread[lastposterurl]</cite><em><a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost">{$thread[lastpost]}</a></em>'}}};
<!--{eval $i++;}-->
<!--{/loop}-->
removetbodyrow(table, 'forumnewshow');
for(var i = 0; i < newthread.length; i++) {
if(newthread[i].tid) {
addtbodyrow(table, ['tbody', 'newthread'], ['normalthread_', 'normalthread_'], 'separatorline', newthread[i]);
}
}
function readthread(tid) {
if($("checknewthread_"+tid)) {
$("checknewthread_"+tid).className = "";
}
}
<!--{elseif !$threadlist && $_GET['uncheck'] == 2}-->
showDialog('{lang none_newthread}', 'notice', null, null, 0, null, null, null, null, 3);
<!--{/if}-->
checkForumnew_handle = setTimeout(function () {checkForumnew('{$fid}', '{$_G[timestamp]}');}, checkForumtimeout);
</script>
<!--{template common/footer_ajax}-->

View File

@@ -0,0 +1,53 @@
<!--{template common/header}-->
<script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
<script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']);var imagemaxwidth = '{$_G['setting']['imagemaxwidth']}';</script>
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G['setting']['bbname']</a><em>&rsaquo;</em>
{lang announcement}
</div>
</div>
<div id="ct" class="ct2_a wp cl">
<div class="mn">
<div class="bm bw0">
<div id="annofilter"></div>
<!--{loop $announcelist $ann}-->
<div id="announce$ann[id]_c" class="umh{if $messageid != $ann[id]} umn{/if}">
<h3 onclick="toggle_collapse('announce$ann[id]', 1, 1);">$ann[subject]<em>($ann[starttime])</em></h3>
<div class="umh_act">
<p class="umh_cb"><a href="javascript:;" onclick="toggle_collapse('announce$ann[id]', 1, 1);">[ {lang open} ]</a></p>
</div>
</div>
<div id="announce$ann[id]" class="um" style="display: none">
<p class="mbn">{lang author}: <a href="home.php?mod=space&username=$ann[authorenc]" class="xi2">$ann[author]</a></p>
$ann[message]
</div>
<!--{/loop}-->
</div>
</div>
<div class="appl">
<div class="tbn">
<h2 class="mt bbda">{lang announcement}</h2>
<ul id="annonav">
<li class="cl{if empty($_GET[m])} a{/if}"><a href="forum.php?mod=announcement">{lang all}</a></li>
<!--{loop $months $month}-->
<li class="cl{if $_GET[m] == $month[0].$month[1]} a{/if}"><a href="forum.php?mod=announcement&m=$month[0].$month[1]">$month[0] {lang year} $month[1] {lang month}</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
</div>
<script type="text/javascript">
<!--{if !empty($annid)}-->
toggle_collapse('announce$annid', 1, 1);
<!--{/if}-->
var a = $('annonav').getElementsByTagName('li');
for(var i = 0, len = a.length; i < len; i++) {
if(a[i].className.indexOf(' a') != -1) {
var str = a[i].innerText || a[i].textContent;
$('annofilter').innerHTML = '<h1 class="mt">' + str + '</h1>';
break;
}
}
</script>
<!--{template common/footer}-->

View File

@@ -0,0 +1,85 @@
<!--{template common/header}-->
<!--{if empty($_GET['infloat'])}-->
<div id="pt" class="bm cl">
<div class="z"><a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em> $navigation</div>
</div>
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm bw0">
<!--{/if}-->
<form id="attachpayform" method="post" autocomplete="off" action="forum.php?mod=misc&action=attachpay&tid={$_G[tid]}{if !empty($_GET['infloat'])}&paysubmit=yes&infloat=yes" onsubmit="ajaxpost('attachpayform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;"{else}"{/if}>
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']">{lang pay_attachment}</em>
<span>
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="referer" value="{echo dreferer()}" />
<input type="hidden" name="aid" value="$aid" />
<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<div class="c">
<table class="list" cellspacing="0" cellpadding="0" style="width: 400px">
<tr>
<td>{lang author}</td>
<td><!--{if empty($attach['uid'])}-->$attach['author']<!--{else}--><a href="home.php?mod=space&uid=$attach['uid']">$attach['author']</a><!--{/if}--></td>
</tr>
<tr>
<td>{lang attachment}</td>
<td><div style="overflow:hidden">$attach[filename] <!--{if $attach['description']}-->($attach[description])<!--{/if}--></div></td>
</tr>
<tr>
<td>{lang price}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</td>
<td>$attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<!--{if $status != 1}-->
<tr>
<td>{lang pay_author_income}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</td>
<td>$attach[netprice] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<tr>
<td>{lang pay_balance}({$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]})</td>
<td>$balance {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}</td>
</tr>
<!--{/if}-->
<!--{if $status == 1}-->
<tr>
<td>&nbsp;</td>
<td>{lang status_insufficient}</td>
</tr>
<!--{elseif $status == 2}-->
<tr>
<td>&nbsp;</td>
<td>{lang status_download}, <a href="forum.php?mod=attachment&aid=$aidencode" target="_blank">{lang download}</a></td>
</tr>
<!--{/if}-->
</table>
</div>
<div class="o pns">
<!--{if $status != 1}-->
<label><input name="buyall" type="checkbox" class="pc" value="yes" />{lang buy_all_attch}</label>
<button class="pn pnc" type="submit" name="paysubmit" value="true"><span><!--{if $status == 0}-->{lang pay_attachment}<!--{else}-->{lang free_buy}<!--{/if}--></span></button>
<!--{/if}-->
<button class="pn pnc" type="button" onclick="hideWindow('$_GET['handlekey']');"><span>{lang close}</span></button>
</div>
</div>
</form>
<!--{if !empty($_GET['infloat'])}-->
<script type="text/javascript" reload="1">
function succeedhandle_$_GET['handlekey'](locationhref) {
ajaxget('forum.php?mod=viewthread&tid=$attach[tid]&viewpid=$attach[pid]', 'post_$attach[pid]');
hideWindow('$_GET['handlekey']');
showCreditPrompt();
}
</script>
<!--{/if}-->
<!--{if empty($_GET['infloat'])}-->
</div>
</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,46 @@
<!--{template common/header}-->
<!--{if empty($_GET['infloat'])}-->
<div id="pt" class="bm cl">
<div class="z"><a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em> $navigation</div>
</div>
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm bw0">
<!--{/if}-->
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']">{lang pay_view}</em>
<span>
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<div class="c floatwrap">
<table class="list" cellspacing="0" cellpadding="0"{if empty($_GET['infloat'])} style="margin: 0;"{/if}>
<tr>
<th>{lang username}</th>
<th>{lang time}</th>
<th>{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</th>
</tr>
<!--{if $loglist}-->
<!--{loop $loglist $log}-->
<tr>
<td><a href="home.php?mod=space&uid=$log[uid]">$log[username]</a></td>
<td>$log[dateline]</td>
<td>{$log[$extcreditname]} {$_G[setting][extcredits][$_G[setting][creditstransextra][1]][unit]}</td>
</tr>
<!--{/loop}-->
<!--{else}-->
<tr><td colspan="3"><div class="emp">{lang attachment_buy_not}</div></td></tr>
<!--{/if}-->
</table>
</div>
</div>
<!--{if empty($_GET['infloat'])}-->
</div>
</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,76 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection">{lang collection}</a> <em>&rsaquo;</em>
<!--{if $op == 'edit'}-->
<a href="forum.php?mod=collection&action=view&ctid={$_G['collection']['ctid']}">{$_G['collection']['name']}</a> <em>&rsaquo;</em>
{lang collection_edit}
<!--{else}-->
{lang collection_create}
<!--{/if}-->
</div>
</div>
<script>
var titlelimit = '$titlelimit';
var desclimit = '$desclimit';
function checklen() {
if(mb_strlen($("formtitle").value) > titlelimit) {
showError({lang collection_title_exceed});
return false;
}
if(mb_strlen($("formdesc").value) > desclimit) {
showError({lang collection_desc_exceed});
return false;
}
return true;
}
</script>
<div id="ct" class="wp cl">
<div class="bm">
<div class="bm_h">
<h2>
<!--{if $op == 'edit'}-->
{lang collection_edit}
<!--{else}-->
{lang collection_create}
<!--{/if}-->
</h2>
</div>
<div class="bm_c">
<form action="forum.php?mod=collection&action=edit" onsubmit="return checklen();" method="POST">
<table cellspacing="0" cellpadding="0" class="tfm">
<tr>
<th>{lang collection_title}</th>
<td><input type="text" value="{$_G['collection']['name']}" name="title" id="formtitle" class="px" /></td>
</tr>
<tr>
<th>{lang collection_desc}</th>
<td><textarea name="desc" id="formdesc" rows="10" class="pt">{$_G['collection']['desc']}</textarea></td>
</tr>
<tr>
<th>{lang collection_keywords}</th>
<td>
<input type="text" value="{$_G['collection']['keyword']}" name="keyword" id="formkeyword" class="px" />
<p class="xg1">{lang collection_keywords_desc}</p>
</td>
</tr>
<tr>
<th></th>
<td>
<input type="hidden" value="1" name="submitcollection" />
<input type="hidden" value="{$op}" name="op" />
<input type="hidden" value="{$ctid}" name="ctid" />
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<button type="submit" name="collectionsubmit" class="pn pnc" value="submit"><span><!--{if $op == 'edit'}-->{lang collection_edit}<!--{else}-->{lang collection_create}<!--{/if}--></span></button>
<!--{if $op != 'edit'}-->
<span class="xg1">{lang collection_remain_tips}</span>
<!--{/if}-->
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,45 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection">{lang collection}</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection&amp;op=all">{lang collection_all}</a>
</div>
</div>
<div id="ct" class="wp cl">
<div class="bm">
<div class="tb tb_h cl">
<!--{subtemplate forum/collection_nav}-->
</div>
<div class="tbmu cl">
<div class="y">
<!--{if $_G['setting']['search']['collection']['status'] && ($_G['group']['allowsearch'] & 64 || $_G['adminid'] == 1)}-->
<form action="forum.php?mod=collection&amp;op=search" method="post">
<input type="text" name="kw" class="px vm" />
<button type="submit" value="submit" class="pn vm"><span>{lang search}</span></button>
</form>
<!--{/if}-->
</div>
<!--{if $op != 'search'}-->
<a href="forum.php?mod=collection&amp;op=all"{if !in_array($orderby, array('threadnum', 'commentnum', 'follownum'))} class="a"{/if}>{lang collection_sortby_update}</a>
<span class="pipe">|</span>
<a href="forum.php?mod=collection&amp;op=all&amp;order=threadnum"{if $orderby == 'threadnum'} class="a"{/if}>{lang collection_sortby_threadnum}</a>
<span class="pipe">|</span>
<a href="forum.php?mod=collection&amp;op=all&amp;order=commentnum"{if $orderby == 'commentnum'} class="a"{/if}>{lang collection_sortby_coomentnum}</a>
<span class="pipe">|</span>
<a href="forum.php?mod=collection&amp;op=all&amp;order=follownum"{if $orderby == 'follownum'} class="a"{/if}>{lang collection_sortby_follownum}</a>
<!--{else}-->
{lang search}
<!--{/if}-->
</div>
<div class="bm_c">
<!--{hook/collection_index_top}-->
<!--{subtemplate forum/collection_list}-->
<!--{hook/collection_index_bottom}-->
</div>
</div>
$multipage
<br /><br />
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,122 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection">{lang collection}</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection&action=view&ctid=$ctid">{$_G['collection']['name']}</a> <em>&rsaquo;</em>
{lang collection_commentlist}
</div>
</div>
<script type="text/javascript" src="{$_G[setting][jspath]}home_friendselector.js?{VERHASH}"></script>
<script type="text/javascript">
var fs;
var clearlist = 0;
</script>
<div id="ct" class="wp cl">
<div class="bm bml pbn">
<div class="bm_h cl">
<a href="forum.php?mod=collection&action=view&ctid={$_G['collection']['ctid']}" class="y pn"><span class="xi2">&laquo; {lang collection_backcollection}</span></a>
<h1 class="xs2">
<a href="forum.php?mod=collection&action=view&ctid={$_G['collection']['ctid']}">{$_G['collection']['name']}</a>
</h1>
</div>
<div class="bm_c">
<div title="$avgrate" class="pbn xg1 cl">
<!--{if $_G['collection']['ratenum'] > 0}-->
<span class="clct_ratestar"><span class="star star$star">&nbsp;</span></span>
&nbsp;{lang collection_totalrates}
<!--{else}-->
{lang collection_norate}
<!--{/if}-->
</div>
<div>{$_G['collection']['desc']}</div>
</div>
</div>
<!--{if $_G['collection']['commentnum'] > 0}-->
<div class="bm">
<!--{if $permission}-->
<form action="forum.php?mod=collection&action=comment&op=del" method="POST">
<!--{/if}-->
<div class="tb tb_h cl">
<ul>
<li class="a"><a href="forum.php?mod=collection&action=view&op=comment&ctid={$_G['collection']['ctid']}">{lang collection_commentlist}</a></li>
<li><a href="forum.php?mod=collection&action=view&op=followers&ctid={$_G['collection']['ctid']}">{lang collection_followlist}</a></li>
<!--{hook/collection_nav_extra}-->
</ul>
</div>
<div class="bm_c xld xlda">
<!--{loop $commentlist $comment}-->
<dl class="bbda cl">
<dd class="m avt"><a href="home.php?mod=space&uid=$comment['uid']"><!--{avatar($comment['uid'], 'small')}--></a></dd>
<dt>
<!--{if $permission}-->
<span class="y"><input type="checkbox" value="$comment[cid]" name="delcomment[]" /></span>
<!--{/if}-->
<a href="home.php?mod=space&uid={$comment['uid']}" c="1">$comment[username]</a>
<span class="xg1 xw0">$comment[dateline]</span>
</dt>
<!--{if $comment[rate]}-->
<dd class="cl"><span class="clct_ratestar"><span class="star star$comment[rateimg]">&nbsp;</span></span></dd>
<!--{/if}-->
<dd>$comment[message]</dd>
</dl>
<!--{/loop}-->
</div>
<div class="bm_c cl">
<!--{if $permission}-->
<input type="hidden" value="{$ctid}" name="ctid" />
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<button type="submit" class="pn pnc"><span>{lang delete}</span></button>
<!--{/if}-->
<!--{if $multipage}-->$multipage<!--{/if}-->
</div>
<!--{if $permission}--></form><!--{/if}-->
<div class="pgs mtm cl"></div>
</div>
<!--{/if}-->
<!--{if $_G['group']['allowcommentcollection']}-->
<div class="bm">
<form action="forum.php?mod=collection&action=comment&ctid={$_G['collection']['ctid']}" method="POST">
<div class="bm_h">
<h2>{lang collection_ratecollection}</h2>
</div>
<div class="bm_c {if $memberrate}bbda{/if}">
<!--{if !$memberrate}-->
<div class="cl">
<input type="hidden" name="ratescore" id="ratescore" />
<span class="clct_ratestar">
<span class="btn">
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',1)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',1,'ratescore')">1</a>
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',2)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',2,'ratescore')">2</a>
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',3)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',3,'ratescore')">3</a>
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',4)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',4,'ratescore')">4</a>
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',5)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',5,'ratescore')">5</a>
</span>
<span id="clct_ratestar_star" class="star star$memberrate"></span>
</span>
</div>
<!--{/if}-->
<div class="pbn">
<textarea name="message" rows="4" class="pt" style="width: 94%"></textarea>
</div>
<div><button type="submit" class="pn pnc"><span>{lang collection_comment_submit}</span></button></div>
</div>
<!--{if $memberrate}-->
<div class="bm_c ptn pbn cl">
<span class="z">{lang collection_rated}&nbsp;</span>
<span class="clct_ratestar"><span class="star star$memberrate"></span></span>
</div>
<!--{/if}-->
</form>
</div>
<!--{/if}-->
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,15 @@
<!--{template common/header}-->
<h3 class="flb">
<em>{lang collection_comment_thread}</em>
<span><a href="javascript:;" onclick="hideWindow('$_GET['handlekey']');" class="flbc" title="{lang close}">{lang close}</a></span>
</h3>
<form action="forum.php?mod=collection&action=comment&ctid={$ctid}" method="POST">
<div class="c">
<textarea name="message" class="pt" cols="60" rows="5">{lang collection_comment_specthread}
</textarea>
</div>
<div class="o pns">
<button type="submit" class="pn pnc"><span>{lang collection_comment_submit}</span></button>
</div>
</form>
<!--{template common/footer}-->

View File

@@ -0,0 +1,61 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection">{lang collection}</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection&action=view&ctid=$ctid">{$_G['collection']['name']}</a> <em>&rsaquo;</em>
{lang collection_followlist}
</div>
</div>
<script type="text/javascript" src="{$_G[setting][jspath]}home_friendselector.js?{VERHASH}"></script>
<script type="text/javascript">
var fs;
var clearlist = 0;
</script>
<div id="ct" class="wp cl">
<div class="bm bml pbn">
<div class="bm_h cl">
<a href="forum.php?mod=collection&action=view&ctid={$_G['collection']['ctid']}" class="y pn"><span class="xi2">&laquo; {lang collection_backcollection}</span></a>
<h1 class="xs2">
<a href="forum.php?mod=collection&action=view&ctid={$_G['collection']['ctid']}">{$_G['collection']['name']}</a>
</h1>
</div>
<div class="bm_c">
<div title="$avgrate" class="pbn xg1 cl">
<!--{if $_G['collection']['ratenum'] > 0}-->
<span class="clct_ratestar"><span class="star star$star">&nbsp;</span></span>
&nbsp;{lang collection_totalrates}
<!--{else}-->
{lang collection_norate}
<!--{/if}-->
</div>
<div>{$_G['collection']['desc']}</div>
</div>
</div>
<div class="bm">
<div class="tb tb_h cl">
<ul>
<li><a href="forum.php?mod=collection&action=view&op=comment&ctid={$_G['collection']['ctid']}">{lang collection_commentlist}</a></li>
<li class="a"><a href="forum.php?mod=collection&action=view&op=followers&ctid={$_G['collection']['ctid']}">{lang collection_followlist}</a></li>
</ul>
</div>
<!--{if $followers}-->
<div class="bm_c">
<ul class="ml mls cl">
<!--{loop $followers $follower}-->
<li>
<a href="home.php?mod=space&uid=$follower[uid]" class="avt"><!--{avatar($follower['uid'], 'small')}--></a>
<p><a href="home.php?mod=space&uid=$follower[uid]">$follower[username]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{else}-->
<p class="emp">{lang no_content}</p>
<!--{/if}-->
<!--{if $multipage}--><div class="bm_c cl">$multipage</div><!--{/if}-->
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,24 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection">{lang collection}</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection">{lang collection_recommended}</a>
</div>
</div>
<div id="ct" class=" wp cl">
<div class="bm">
<div class="tb tb_h cl">
<!--{subtemplate forum/collection_nav}-->
</div>
<div class="bm_c">
<!--{hook/collection_index_top}-->
<!--{subtemplate forum/collection_list}-->
<!--{hook/collection_index_bottom}-->
</div>
</div>
$multipage
<br /><br />
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,83 @@
<!--{template common/header}-->
<h3 class="flb">
<em>{lang collection_invite}</em>
<span><a href="javascript:;" onclick="hideWindow('$_GET['handlekey']');" class="flbc" title="{lang close}">{lang close}</a></span>
</h3>
<form action="forum.php?mod=collection&action=edit&op=invite&ctid={$ctid}" method="post">
<div class="c">
<table cellspacing="0" cellpadding="0" class="tfm pmform mtm">
<tr>
<th><label for="username">{lang collection_username}</label></th>
<td>
<div class="cl">
<div class="un_selector px z cl" onclick="$('username').focus();">
<input type="text" name="username" id="username" autocomplete="off" />
</div>
<a href="javascript:;" id="showSelectBox" class="z mtn xi2 showmenu" onclick="showMenu({'showid':this.id, 'duration':3, 'pos':'34!'});fs.showPMFriend('showSelectBox_menu','selectorBox', this);" title="{lang collection_selectfriend}">{lang collection_selectfriend}</a>
</div>
<style type="text/css">
.pmform{}.pmform .px{width:308px;}
.pmform .tedt{width:316px;}
.un_selector{height:auto;cursor:text;overflow:hidden;}
.un_selector input{width:95px;height:19px;border-width:0;outline:none;}
.ie6 .un_selector input,.ie7 .un_selector input{height:17px;}
.un_selector #subject{width:308px;}
.un_selector span{float:left;margin:1px 2px 1px 0;width:100px;height:19px;line-height:19px;background:#F7F6ED;color:#369;overflow:hidden;}
.un_selector em{padding-left:5px;width:80px;}
.un_selector .x{float:right;width:15px;height:19px;overflow:hidden;text-align:center;}
.un_selector .x:before{content:"\d7";display:inline-block;width:15px;}
.un_selector .x:hover{background:#369;color:#F7F6ED;}a.appendmb,a.appendmb span{height:25px;line-height:25px !important;}.pmfrndl{position:absolute;margin-top:3px;padding:4px;width:120px;border:solid #DDD;border-width:0 1px 1px;background:#FFF;}.ie6 .pmfrndl,.ie7 .pmfrndl{margin-top:4px;}.pmfrndl li{display:inline;}.pmfrndl a{display:block;padding:4px 2px;color:#369;}.pmfrndl a:hover{text-decoration:none;}.pmfrndl a.a{background:#E5EDF2;}#showSelectBox_menu{padding:10px;width:300px;white-space:nowrap;}#selBox{margin:0 -10px 10px;padding-left:10px;height:110px;border:solid #CDCDCD;border-width:1px 0;overflow-y:auto;}.unfold,.fold{float:right;padding-left:10px;background:url({STATICURL}image/common/arrwd.gif) no-repeat 0 50%;cursor:pointer;outline:none;}
.fold{background-image:url({STATICURL}image/common/arrow_top.gif);}
</style>
<script type="text/javascript">
var random='{TIMESTAMP}';
var page = 1;
var gid = -1;
var showNum = 0;
var haveFriend = true;
function getUser(pageId, gid) {
page = parseInt(pageId);
gid = isUndefined(gid) ? -1 : parseInt(gid);
var x = new Ajax();
x.get('home.php?mod=spacecp&ac=friend&op=getinviteuser&inajax=1&page='+ page + '&gid=' + gid + '&' + Math.random(), function(s) {
var data = eval('('+s+')');
var singlenum = parseInt(data['singlenum']);
var maxfriendnum = parseInt(data['maxfriendnum']);
fs.addDataSource(data, clearlist);
haveFriend = singlenum && singlenum == 20 ? true : false;
if(singlenum && fs.allNumber < 20 && fs.allNumber < maxfriendnum && maxfriendnum > 20 && haveFriend) {
page++;
getUser(page);
}
});
}
function selector() {
var parameter = {'searchId':'username', 'showId':'friends', 'formId':'', 'showType':3, 'handleKey':'fs', 'selBox':'selectorBox', 'selBoxMenu':'showSelectBox_menu', 'maxSelectNumber':'20', 'selectTabId':'selectNum', 'unSelectTabId':'unSelectTab', 'maxSelectTabId':'remainNum'};
fs = new friendSelector(parameter);
var listObj = $('selBox');
listObj.onscroll = function() {
clearlist = 0;
if(this.scrollTop >= this.scrollHeight/5) {
page++;
gid = isUndefined(gid) ? -1 : parseInt(gid);
if(haveFriend) {
getUser(page, gid);
}
}
}
getUser(page);
}
selector();
</script>
</td>
</tr>
</table>
</div>
<div class="o pns">
<span class="z">{lang collection_max_invite}</span>
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<button type="submit" value="submit" name="submitaddthread" class="pn pnc"><span>{lang invite}</span></button>
</div>
</form>
<!--{template common/footer}-->

View File

@@ -0,0 +1,59 @@
<!--{if is_array($collectiondata) && count($collectiondata) > 0}-->
<div class="clct_list cl">
<!--{loop $collectiondata $collectionvalues}-->
<div class="xld xlda cl">
<dl>
<dd class="m hm">
<a href="forum.php?mod=collection&action=view&ctid={$collectionvalues['ctid']}{if $op}&fromop={$op}{/if}{if $tid}&fromtid={$tid}{/if}">
<strong class="xi2" {if {$collectionvalues['displaynum']} > 999999}style="font-size: 10px;"{/if}>{$collectionvalues['displaynum']}</strong>
<span style="color: #FFF"><!--{if $orderby=='commentnum'}-->{lang collection_commentnum}<!--{elseif $orderby=='follownum'}-->{lang collection_follow}<!--{else}-->{lang collection_threadnum}<!--{/if}--></span>
</a>
</dd>
<dt class="xw1">
<!--{if $op == 'my'}-->
<!--{if $collectionvalues['uid'] == $_G['uid']}-->
<span class="ctag ctag0">{lang collection_mycreate}</span>
<!--{elseif is_array($twctid) && in_array($collectionvalues['ctid'], $twctid)}-->
<span class="ctag ctag1">{lang collection_myteam}</span>
<!--{else}-->
<span class="ctag ctag2">{lang collection_mysubscribe}</span>
<!--{/if}-->
<!--{/if}-->
<div>
<a href="forum.php?mod=collection&action=view&ctid={$collectionvalues['ctid']}{if $op}&fromop={$op}{/if}{if $tid}&fromtid={$tid}{/if}" class="xi2" {if $collectionvalues['updated'] && $op == 'my'}style='color:red;'{/if}>{$collectionvalues['name']}</a>
<!--{if $collectionvalues['arraykeyword']}-->
<span class="ctag_keyword">
<!--{eval $keycount=0;}-->
<!--{loop $collectionvalues['arraykeyword'] $unique_keyword}-->
{if $keycount},&nbsp;{/if}<a href="search.php?mod={if $_G['setting']['search']['collection']['status']}collection{else}forum{/if}&srchtxt={echo rawurlencode($unique_keyword)}&formhash={FORMHASH}&searchsubmit=true&source=collectionsearch" target="_blank" class="xi2">$unique_keyword</a>
<!--{eval $keycount++;}-->
<!--{/loop}-->
</span>
<!--{/if}-->
</div>
</dt>
<dd>
<p>{$collectionvalues['shortdesc']}</p>
<p>
<!--{if $orderby=='commentnum'}-->
{lang collection_follow} {$collectionvalues['follownum']}, {lang collection_threadnum} {$collectionvalues['threadnum']}
<!--{elseif $orderby=='follownum'}-->
{lang collection_threadnum} {$collectionvalues['threadnum']}, {lang collection_commentnum} {$collectionvalues['commentnum']}
<!--{else}-->
{lang collection_follow} {$collectionvalues['follownum']}, {lang collection_commentnum} {$collectionvalues['commentnum']}
<!--{/if}-->
</p>
<p class="xg1"><a href="home.php?mod=space&uid=$collectionvalues['uid']">{$collectionvalues['username']}</a> {lang collection_createtime}, {lang collection_lastupdate} {$collectionvalues['lastupdate']}</p>
<p>
<!--{if $collectionvalues['lastpost']}-->
{lang collection_lastthread} <a href="forum.php?mod=viewthread&tid={$collectionvalues['lastpost']}" class="xi2">{$collectionvalues['lastsubject']}</a>
<!--{/if}-->
</p>
</dd>
</dl>
</div>
<!--{/loop}-->
</div>
<!--{else}-->
<div class="emp">{lang collection_nocollection}</div>
<!--{/if}-->

View File

@@ -0,0 +1,22 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection">{lang collection}</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection&amp;op=my">{lang collection_my}</a>
</div>
</div>
<div id="ct" class="wp cl">
<div class="bm">
<div class="tb tb_h cl">
<!--{subtemplate forum/collection_nav}-->
</div>
<div class="bm_c">
<!--{hook/collection_index_top}-->
<!--{subtemplate forum/collection_list}-->
<!--{hook/collection_index_bottom}-->
</div>
</div>
</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,10 @@
<ul>
<!--{if helper_access::check_module('collection')}-->
<li class="y o"><a href="forum.php?mod=collection&amp;action=edit">{lang collection_create}</a></li>
<!--{/if}-->
<li{if !$op && !$tid} class="a"{/if}><a href="forum.php?mod=collection">{lang collection_recommended}</a></li>
<li{if $op == 'all'} class="a"{/if}><a href="forum.php?mod=collection&amp;op=all">{lang collection_all}</a></li>
<li{if $op == 'my'} class="a"{/if}><a href="forum.php?mod=collection&amp;op=my">{lang collection_my}</a></li>
<!--{if !$op && $tid}--><li class="a"><a href="forum.php?mod=collection&amp;tid=$tid">{lang collection_nav_related}</a></li><!--{/if}-->
<!--{hook/collection_nav_extra}-->
</ul>

View File

@@ -0,0 +1,18 @@
<!--{template common/header}-->
<h3 class="flb">
<em>{lang collection_recommend}</em>
<span><a href="javascript:;" onclick="hideWindow('$_GET['handlekey']');" class="flbc" title="{lang close}">{lang close}</a></span>
</h3>
<form action="forum.php?mod=collection&action=comment&op=recommend&ctid={$ctid}" onsubmit="ajaxpost(this.id, 'form_collectionrecommend');" id="form_collectionrecommend" name="form_collectionrecommend" method="POST">
<div class="c">
{lang collection_recommend_thread_url}
<input type="text" value="" name="threadurl" style="width: 400px;" class="px" />
</div>
<div class="o pns">
<button type="submit" class="pn pnc"><span>{lang collection_recommend_submit}</span></button>
</div>
<input type="hidden" value="{FORMHASH}" name="formhash" />
<input type="hidden" name="inajax" value="1">
<input type="hidden" name="handlekey" value="$_GET['handlekey']">
</form>
<!--{template common/footer}-->

View File

@@ -0,0 +1,127 @@
<!--{template common/header}-->
<h3 class="flb">
<em>{lang collection}</em>
<span><a href="javascript:;" onclick="hideWindow('$_GET['handlekey']');" class="flbc" title="{lang close}">{lang close}</a></span>
</h3>
<script>
var remaincreateable = $reamincreatenum;
var titlelimit = '$titlelimit';
var requirecreate = false;
var createnow = false;
var reasonlimit = '$reasonlimit';
function succeedhandle_createcollection(url, msg, collectiondata) {
$("createbutton").disabled = false;
if(collectiondata['ctid']) {
$("selectCollection").options[$("selectCollection").length] = new Option($("newcollection").value, collectiondata['ctid'], true, true);
$("collectionlist").style.display='';
remaincreateable--;
if(remaincreateable <= 0) {
$("allowcreate").style.display='none';
} else {
$("reamincreatenum").innerHTML = remaincreateable;
}
display('createcollection');
$("submitnewtitle").value = $("newcollection").value = '';
}
$("nocreate").innerHTML = '';
if(requirecreate == true) {
$("createRemainTips").style.display='';
$("createbutton").style.display='';
$("newcollection").style.width='';
requirecreate = false;
if(createnow == true) {
setTimeout('$("btn_submitaddthread").click();', 101);
}
createnow = false;
}
}
function ajaxcreatecollection() {
if(!$("newcollection").value) {
showError('{lang collection_fill_entire}');
return false;
}
if(mb_strlen($("newcollection").value) > titlelimit) {
showError({lang collection_title_exceed});
return false;
}
$("createbutton").disabled = true;
$("submitnewtitle").value = $("newcollection").value;
ajaxpost('fastcreateform', 'fastcreatereturn', 'fastcreatereturn', 'onerror');
}
function checkreasonlen() {
if(mb_strlen($("formreason").value) > reasonlimit) {
showError({lang collection_reason_exceed});
return false;
}
if(requirecreate == true) {
createnow = true;
ajaxcreatecollection();
return false;
} else {
$("createRemainTips").style.display='';
$("createbutton").style.display='';
$("newcollection").style.width='';
}
return true;
}
</script>
<form action="forum.php?mod=collection&action=edit&op=addthread" method="post" onsubmit="update_collection();ajaxpost(this.id, 'form_addcollectionthread');" id="form_addcollectionthread" name="form_addcollectionthread">
<div class="c">
<div id="collectionlist" {if $reamincreatenum > 0 && count($allowcollections) <= 0}style="display:none;"{/if}>
<p>{lang collection_select}</p>
<select name="ctid" id="selectCollection" style="width: 280px;">
<!--{loop $collections $collection}-->
<!--{if !is_array($tidcollections) || !in_array($collection['ctid'], $tidcollections)}-->
<option value="$collection['ctid']">$collection['name']</option>
<!--{/if}-->
<!--{/loop}-->
</select>
</div>
<div id="allowcreate" {if $reamincreatenum <= 0}style="display:none;"{/if}>
<span id="nocreate"><!--{if !$collections}-->{lang collection_select_nocollection}<!--{/if}--></span>
<div class="mtm ntc_l">{lang collection_select_remain} <a href="javascript:;" onclick="display('createcollection');if($('createcollection').style.display!='none') {$('newcollection').focus();}" class="xi2" id="createRemainTips">{lang collection_create}</a></div>
</div>
<div id="createcollection" class="ptm vm" style="display:none">
{lang collection_title} <input type="text" value="" id="newcollection" class="px" /> <button type="button" id="createbutton" name="createbutton" onclick="javascript:ajaxcreatecollection();" class="pn pnc"><span>{lang collection_create}</span></button>
</div>
<div class="ptm">
<p class="pbn">{lang collection_addreason}</p>
<textarea name="reason" id="formreason" cols="50" rows="2" class="pt"></textarea>
</div>
</div>
<div class="o pns">
<a href="forum.php?mod=collection&op=my" target="_blank" class="z xi2">{lang collection_view_mine}</a>
<!--{if $tid}-->
<input type="hidden" name="tids[]" value="$tid">
<!--{elseif is_array($_GET['tids'])}-->
<!--{loop $_GET['tids'] $tid}-->
<input type="hidden" name="tids[]" value="$tid">
<!--{/if}-->
<!--{/if}-->
<input type="hidden" name="inajax" value="1">
<input type="hidden" name="handlekey" value="$_GET['handlekey']">
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<input type="hidden" name="addthread" id="addthread" value="1" />
<button type="submit" name="submitaddthread" id="btn_submitaddthread" onclick="return checkreasonlen();" class="pn pnc"><span>{lang collection_addbtn}</span></button>
</div>
</form>
<div style="display:none;">
<form action="forum.php?mod=collection&action=edit&op=add" method="post" id="fastcreateform">
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<input type="hidden" name="collectionsubmit" value="1" />
<input type="hidden" name="submitcollection" value="1" />
<input type="hidden" name="title" id="submitnewtitle" value="" />
</form>
</div>
<span id="fastcreatereturn"></span>
<!--{if $reamincreatenum > 0 && count($allowcollections) <= 0}-->
<script>
var random = <!--{echo TIMESTAMP}-->;
requirecreate = true;
$("createRemainTips").style.display='none';
$("createbutton").style.display='none';
$("newcollection").style.width='204px';
display('createcollection');
</script>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,381 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="forum.php?mod=collection{if $fromop}&op={$fromop}{/if}{if $fromtid}&tid={$fromtid}{/if}">{lang collection}</a> <em>&rsaquo;</em>
<!--{if !$op}-->
{$_G['collection']['name']}
<!--{elseif $op == 'related'}-->
<a href="forum.php?mod=collection&action=view&ctid={$ctid}&fromop={$fromop}&fromtid={$fromtid}">{$_G['collection']['name']}</a> <em>&rsaquo;</em>
{lang collection_cloud_link}
<!--{/if}-->
</div>
</div>
<script type="text/javascript" src="{$_G[setting][jspath]}home_friendselector.js?{VERHASH}"></script>
<script type="text/javascript">
var fs;
var clearlist = 0;
var followstatus = <!--{if $collectionfollowdata['ctid']}-->1<!--{else}-->0<!--{/if}-->;
function succeedhandle_addComment(url, msg, commentdata) {
$("btnCommentSubmit").disabled='';
showDialog(msg, 'right', '', 'location.href="' + url + '"', null, null, null, null, null, null, 3);
}
function errorhandle_addComment(msg, commentdata) {
$("btnCommentSubmit").disabled='';
showError(msg);
}
function succeedhandle_followcollection(url, msg, collectiondata) {
if(collectiondata['status'] == 1) { //关注成功
followstatus = 1;
$("followlink").innerHTML = '<i class="u">{lang collection_unfollow}</i>';
$("followlink").href = followcollectionurl();
$("rightcolfollownum").innerHTML = $("follownum_display").innerHTML = parseInt($("follownum_display").innerHTML) + 1;
} else if(collectiondata['status'] == 2) { //取消关注成功
followstatus = 0;
$("followlink").innerHTML = '<i>{lang collection_follow}</i>';
$("followlink").href = followcollectionurl();
$("rightcolfollownum").innerHTML = $("follownum_display").innerHTML = parseInt($("follownum_display").innerHTML) - 1;
}
}
function errorhandle_followcollection(msg, collectiondata) {
showError(msg);
}
function followcollectionurl() {
return 'forum.php?mod=collection&action=follow&op='+(followstatus ? 'unfo': 'follow')+'&ctid={$_G['collection']['ctid']}&formhash={FORMHASH}';
}
</script>
<div id="username_menu" style="display: none;">
<ul id="friends" class="pmfrndl"></ul>
</div>
<div class="p_pof" id="showSelectBox_menu" unselectable="on" style="display:none;">
<div class="pbm">
<select class="ps" onchange="clearlist=1;getUser(1, this.value)">
<option value="-1">{lang collection_inviteallfriend}</option>
<!--{loop $friendgrouplist $groupid $group}-->
<option value="$groupid">$group</option>
<!--{/loop}-->
</select>
</div>
<div id="selBox" class="ptn pbn">
<ul id="selectorBox" class="xl xl2 cl"></ul>
</div>
<div class="cl">
<button type="button" class="y pn" onclick="fs.showPMFriend('showSelectBox_menu','selectorBox', $('showSelectBox'));doane(event)"><span>{lang close}</span></button>
</div>
</div>
<div id="ct" class="ct2 wp cl">
<div class="mn">
<div class="bm bml pbn">
<div class="bm_h cl">
<h1 class="xs2 z">
<a href="forum.php?mod=collection&action=view&ctid={$_G['collection']['ctid']}">{$_G['collection']['name']}</a>
</h1>
<div class="clct_flw">
<strong class="xi1" id="follownum_display">{$_G['collection']['follownum']}</strong>
<!--{if $_G['group']['allowfollowcollection'] && $_G['collection']['uid'] != $_G['uid']}-->
<!--{if !$collectionfollowdata['ctid']}-->
<a href="javascript;" id="followlink" onclick="ajaxget(followcollectionurl());doane(event);"><i>{lang collection_follow}</i></a>
<!--{else}-->
<a href="javascript;" id="followlink" onclick="ajaxget(followcollectionurl());doane(event);"><i class="u">{lang collection_unfollow}</i></a>
<!--{/if}-->
<!--{else}-->
<i>{lang collection_follow}</i>
<!--{/if}-->
</div>
</div>
<div class="bm_c">
<div class="cl">
<div class="ptn y">
<!--{hook/collection_viewoptions}-->
<!--{if $permission}-->
<a href="forum.php?mod=collection&action=edit&op=invite&ctid=$ctid" id="k_invite" onclick="showWindow(this.id, this.href, 'get', 0);" class="xi2">{lang collection_invite_team}</a>
<span class="pipe">|</span>
<a href="forum.php?mod=collection&action=edit&op=edit&ctid={$_G['collection']['ctid']}&formhash={FORMHASH}" class="xi2">{lang edit}</a>
<span class="pipe">|</span>
<a href="forum.php?mod=collection&action=edit&op=remove&ctid={$_G['collection']['ctid']}&formhash={FORMHASH}" onclick="showDialog('{lang collection_delete_confirm}','confirm','','window.location=\''+this.href+'\';');return false;" class="xi2">{lang delete}</a>
<!--{/if}-->
<!--{if $_G['uid']!=$_G['collection']['uid']}-->
<!--{if $permission}-->
<span class="pipe">|</span>
<!--{/if}-->
<a href="forum.php?mod=collection&action=comment&op=recommend&ctid=$ctid" id="k_recommened" onclick="showWindow(this.id, this.href, 'get', 0);" class="xi2">{lang collection_recommend}</a>
<!--{/if}-->
<!--{if $isteamworkers}-->
<span id="exitpipe" class="pipe">|</span>
<span><a href="forum.php?mod=collection&action=edit&op=removeworker&ctid={$_G['collection']['ctid']}&uid={$_G['uid']}&formhash={FORMHASH}" onclick="showDialog('{lang collection_exit_team_confirm}','confirm','','window.location=\''+this.href+'\';');return false;" class="xi2">{lang collection_exit_team}</a></span>
<!--{/if}-->
</div>
<div title="$avgrate" class="ptn pbn xg1 cl">
<!--{if $_G['collection']['ratenum'] > 0}-->
<span class="clct_ratestar"><span class="star star$star">&nbsp;</span></span>
&nbsp;{lang collection_totalrates}
<!--{else}-->
{lang collection_norate}
<!--{/if}-->
</div>
</div>
<div class="mbn cl">
<!--{if $_G['collection']['arraykeyword']}-->
<p class="mbn">
{lang collection_keywords}
<!--{loop $_G['collection']['arraykeyword'] $unique_keyword}-->
<a href="search.php?mod={if $_G['setting']['search']['collection']['status']}collection{else}forum{/if}&srchtxt={echo rawurlencode($unique_keyword)}&formhash={FORMHASH}&searchsubmit=true&source=collectionsearch" target="_blank" class="xi2">$unique_keyword</a>&nbsp;
<!--{/loop}-->
</p>
<!--{/if}-->
<p>
{lang collection_creator}<a href="home.php?mod=space&uid={$_G['collection']['uid']}" class="xi2" c="1">{$_G['collection']['username']}</a>
<!--{if $collectionteamworker}-->
<span class="pipe">|</span>
{lang collection_teamworkers}
<!--{loop $collectionteamworker $collectionworker}-->
<span id="k_worker_uid_{$collectionworker['uid']}">
<a href="home.php?mod=space&uid={$collectionworker['uid']}" c="1" class="xi2">{$collectionworker['username']}</a>&nbsp;
<!--{if $permission}-->
<a href="forum.php?mod=collection&action=edit&op=removeworker&ctid={$_G['collection']['ctid']}&uid={$collectionworker['uid']}&formhash={FORMHASH}" onclick="showDialog('{lang collection_delete_worker}','confirm','','ajaxget(\''+this.href+'\',\'k_worker_uid_{$collectionworker['uid']}\')');return false;" class="xi2">[{lang delete}]</a>&nbsp;
<!--{/if}-->
</span>
<!--{/loop}-->
<!--{/if}-->
</p>
</div>
<div>{$_G['collection']['desc']}</div>
</div>
</div>
<!--{hook/collection_view_top}-->
<!--{if !$op}-->
<div class="tl bm">
<!--{if $threadlist}-->
<!--{if $permission}-->
<form action="forum.php?mod=collection&action=edit&op=delthread" method="POST">
<!--{/if}-->
<div class="th">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="icn">&nbsp;</td>
<!--{if $permission}--><td class="o"><label class="z" onclick="checkall(this.form, 'delthread')"><input class="pc" type="checkbox" name="chkall" title="{lang checkall}" /></label></td><!--{/if}-->
<td class="common">{lang collection_thread}</td>
<td class="by">{lang author}</td>
<td class="num">{lang replies}</td>
<td class="by">{lang lastpost}</td>
</tr>
</table>
</div>
<div class="bm_c">
<table cellspacing="0" cellpadding="0">
<!--{loop $collectiontids $thread}-->
<tr>
<td class="icn">
<!--{if $thread['special'] == 1}-->
<i class="fico-vote fic6 fc-n" title="{lang thread_poll}"></i>
<!--{elseif $thread['special'] == 2}-->
<i class="fico-cart fic6 fc-n" title="{lang thread_trade}"></i>
<!--{elseif $thread['special'] == 3}-->
<i class="fico-reward fic6 fc-n" title="{lang thread_reward}"></i>
<!--{elseif $thread['special'] == 4}-->
<i class="fico-group fic6 fc-n" title="{lang thread_activity}"></i>
<!--{elseif $thread['special'] == 5}-->
<i class="fico-vs fic6 fc-n" title="{lang thread_debate}"></i>
<!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
<i class="tpin tpin{$thread[displayorder]}" title="$_G[setting][threadsticky][3-$thread[displayorder]]"><svg width="18" height="18"><path d="M9 0l9 9H14v9H4V9H0z"></path></svg></i>
<!--{else}-->
<i class="fico-thread fic6 fc-n"></i>
<!--{/if}-->
</td>
<!--{if $permission}-->
<td class="o"><input type="checkbox" value="$thread[tid]" name="delthread[]" class="pc" /></td>
<!--{/if}-->
<th{if $thread['reason']} title="{lang collection_recommended_reason}: $thread['reason']"{/if}>
<a href="forum.php?mod=viewthread&tid=$thread[tid]{if !$memberrate AND $_G['uid']}&ctid=$ctid{/if}" target="_blank" class="xst {if $thread[updatedthread]}xw1 xi2{/if}" title="$thread['htmlsubject']">$thread['cutsubject']</a>
<!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
<!--{if $thread['price'] > 0}-->
<!--{if $thread['special'] == '3'}-->
- <span style="color: #C60">[{lang thread_reward} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span>
<!--{else}-->
- [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
<!--{/if}-->
<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
- [{lang reward_solved}]
<!--{/if}-->
<!--{if $thread['attachment'] == 2}-->
<i class="fico-image fic4 fc-p fnmr vm" title="{lang attach_img}"></i>
<!--{elseif $thread['attachment'] == 1}-->
<i class="fico-attachment fic4 fc-p fnmr vm" title="{lang attachment}"></i>
<!--{/if}-->
<!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
<span class="tbox tdigest">{lang thread_digest}$thread[digest]</span>
<!--{/if}-->
</th>
<td class="by">
<cite>
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]" c="1">$thread[author]</a>
<!--{else}-->
{$_G['setting']['anonymoustext']}
<!--{/if}-->
</cite>
<em class="xi1">$thread[dateline]</em>
</td>
<td class="num">
<a href="forum.php?mod=viewthread&tid=$thread[tid]" class="xi2">$thread[replies]</a>
<em>$thread[views]</em>
</td>
<td class="by">
<cite><!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<em><a href="{if $thread[digest] != -2}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}">$thread[lastpost]</a></em>
</td>
</tr>
<!--{/loop}-->
</table>
</div>
<!--{if $permission}-->
<div class="bm_c cl">
<input type="hidden" value="{$ctid}" name="ctid" />
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<button type="submit" class="pn pnc"><span>{lang delete}</span></button>
</div>
</form>
<!--{/if}-->
<!--{else}-->
<div class="emp hm">
<!--{if $search_status && $isteamworkers && $permission}-->
{lang collection_cloud_search}
<!--{else}-->
{lang no_content}
<!--{/if}-->
</div>
<!--{/if}-->
<!--{hook/collection_threadlistbottom}-->
</div>
<!--{if $multipage}--><div class="pgs mtm cl">$multipage</div><br /><!--{/if}-->
<!--{elseif $op == 'related'}-->
<!--{hook/collection_relatedop}-->
<!--{/if}-->
<!--{if $_G['collection']['commentnum'] > 0}-->
<div class="bm">
<div class="bm_h">
<span class="y"><a href="forum.php?mod=collection&action=view&op=comment&ctid=$ctid" class="xi2">{lang collection_allcomment}</a></span>
<h2>{lang collection_newcomment}</h2>
</div>
<div class="bm_c">
<!--{loop $commentlist $comment}-->
<div class="pbn">
<a href="home.php?mod=space&uid={$comment['uid']}" class="xi2 xw1" c="1">$comment[username]</a>
<span class="xg1">$comment[dateline]:</span>
</div>
<div class="pbm">
<!--{if trim($comment[message])}--><p{if $comment[rateimg]} class="mbn"{/if}>$comment[message]</p><!--{/if}-->
<!--{if $comment[rateimg]}-->
<span class="clct_ratestar"><span class="star star$comment[rateimg]"></span></span><br />
<!--{/if}-->
</div>
<!--{/loop}-->
</div>
</div>
<!--{/if}-->
<!--{if $_G['group']['allowcommentcollection']}-->
<div class="bm">
<form action="forum.php?mod=collection&action=comment&ctid={$_G['collection']['ctid']}" method="POST" onsubmit="$('btnCommentSubmit').disabled=true;ajaxpost(this.id, 'ajaxreturn');" id="form_addComment" name="form_addComment">
<div class="bm_h">
<h2>{lang collection_ratecollection}</h2>
</div>
<div class="bm_c {if $memberrate}bbda{/if}">
<!--{if !$memberrate}-->
<div class="cl">
<input type="hidden" name="ratescore" id="ratescore" />
<span class="clct_ratestar">
<span class="btn">
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',1)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',1,'ratescore')">1</a>
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',2)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',2,'ratescore')">2</a>
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',3)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',3,'ratescore')">3</a>
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',4)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',4,'ratescore')">4</a>
<a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',5)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',5,'ratescore')">5</a>
</span>
<span id="clct_ratestar_star" class="star star$memberrate"></span>
</span>
</div>
<!--{/if}-->
<div class="pbn">
<textarea name="message" rows="4" class="pt" style="width: 94%"></textarea>
</div>
<div><button type="submit" class="pn pnc" id="btnCommentSubmit"><span>{lang collection_comment_submit}</span></button></div>
</div>
<!--{if $memberrate}-->
<div class="bm_c ptn pbn cl">
<span class="z">{lang collection_rated}&nbsp;</span>
<span class="clct_ratestar"><span class="star star$memberrate"></span></span>
</div>
<!--{/if}-->
<input type="hidden" name="inajax" value="1">
<input type="hidden" name="handlekey" value="k_addComment">
</form>
</div>
<!--{/if}-->
<!--{hook/collection_view_bottom}-->
</div>
<div class="sd">
<div class="bm bml tns">
<table cellspacing="0" cellpadding="4">
<tr>
<th>
<p>{$_G['collection']['threadnum']}</p>{lang collection_threadnum}
</th>
<th>
<p>{$_G['collection']['commentnum']}</p>{lang collection_commentnum}
</th>
<td>
<p><span id="rightcolfollownum">{$_G['collection']['follownum']}</span></p>{lang collection_follow}
</td>
</tr>
</table>
</div>
<!--{if $followers}-->
<div class="bm">
<div class="bm_h">
<span class="y"><a href="forum.php?mod=collection&action=view&op=followers&ctid=$ctid" class="xi2">{lang collection_allfollowers}</a></span>
<h2>{lang collection_newfollowers}</h2>
</div>
<div class="bm_c">
<ul class="ml mls cl">
<!--{loop $followers $follower}-->
<li>
<a href="home.php?mod=space&uid=$follower[uid]" class="avt"><!--{avatar($follower['uid'], 'small')}--></a>
<p><a href="home.php?mod=space&uid=$follower[uid]" c="1">$follower[username]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{if $userCollections}-->
<div class="bm">
<div class="bm_h">
<h2>{lang collection_creators}</h2>
</div>
<div class="bm_c">
<!--{loop $userCollections $ucollection}-->
<div class="pbn">
<a href="forum.php?mod=collection&action=view&ctid={$ucollection['ctid']}" class="xi2 xw1">$ucollection[name]</a>
</div>
<div class="pbm">
{lang collection_threadnum} $ucollection[threadnum], {lang collection_follow} $ucollection[follownum], {lang collection_commentnum} $ucollection[commentnum]
</div>
<!--{/loop}-->
</div>
</div>
<!--{/if}-->
<!--{hook/collection_side_bottom}-->
</div>
</div>
<span id='ajaxreturn' style='display:none;'></span>
<!--{template common/footer}-->

View File

@@ -0,0 +1,80 @@
<!--{template common/header}-->
<!--{if empty($_GET['infloat'])}-->
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm bw0">
<!--{/if}-->
<form method="post" autocomplete="off" id="commentform" action="forum.php?mod=post&action=reply&comment=yes&tid=$post[tid]&pid=$_GET[pid]&extra=$extra{if !empty($_GET[page])}&page=$_GET[page]{/if}&commentsubmit=yes&infloat=yes" onsubmit="{if !empty($_GET['infloat'])}ajaxpost('commentform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;{/if}">
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']">{lang comments}</em>
<span>
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<input type="hidden" name="handlekey" value="$_GET['handlekey']" />
<div class="c">
<div class="tedt">
<div class="bar cm">
<!--{eval $seditor = array('comment', array('bold', 'color'));}-->
<!--{subtemplate common/seditor}-->
<span id="itemdiv"></span>
</div>
<div class="area">
<textarea rows="2" cols="50" name="message" id="commentmessage" onKeyUp="strLenCalc(this, 'checklen')" onKeyDown="seditor_ctlent(event, '$(\'commentsubmit\').click();')" class="pt" style="overflow: auto"></textarea>
</div>
<script type="text/javascript" reload="1">
<!--{if $commentitem}-->
var items = itemrow = itemcmm = '';
<!--{eval $items = range(0, 5);$itemlang = array('{lang comment_1}', '{lang comment_2}', '{lang comment_3}', '{lang comment_4}', '{lang comment_5}', '{lang comment_6}');$i = $cmm = 0;}-->
<!--{loop $commentitem $item}-->
<!--{eval $item = trim($item);}-->
<!--{if $item}-->
items += '<input type="hidden" id="itemc_$i" name="commentitem[$item]" value="" />';
itemrow = '<span id="itemt_$i" class="z xg1 cur1" title="{lang comment_give_ip}" onclick="itemdisable($i)">&nbsp;$item</span>';
itemstar = '';
<!--{loop $items $j}-->
itemstar += '<em class="itms_$j" onclick="itemclk($i, $j)" onmouseover="itemop($i, $j)" onmouseout="itemset($i)" title="$itemlang[$j]($j)"></em>';
<!--{/loop}-->
itemrow += '<span id="item_$i" class="z cmstar">' + itemstar + '</span>';
<!--{eval $i++;}-->
<!--{if !$cmm}-->items += itemrow;<!--{else}-->itemcmm += '<div class="cl cmm" style="margin:5px">' + itemrow + '</div>';<!--{/if}-->
<!--{elseif !$cmm}-->
items += '<span class="z" id="itemmore" onmouseover="showMenu({\'ctrlid\':this.id,\'pos\':\'13\'})">&nbsp;&raquo; {lang more}</span>';
<!--{eval $cmm = 1;}-->
<!--{/if}-->
<!--{/loop}-->
$('itemdiv').innerHTML = items;
if(itemcmm) {
cmmdiv = document.createElement('div');
cmmdiv.id = 'itemmore_menu';
cmmdiv.style.display = 'none';
cmmdiv.className = 'p_pop';
cmmdiv.innerHTML = itemcmm;
$('append_parent').appendChild(cmmdiv);
}
<!--{/if}-->
$('commentmessage').focus();
</script>
</div>
<div id="seccheck_comment">
<!--{if $secqaacheck || $seccodecheck}-->
<!--{subtemplate forum/seccheck_post}-->
<!--{/if}-->
</div>
</div>
</div>
<div class="o pns cl{if empty($_GET['infloat'])} mtm{/if}">
<button type="submit" id="commentsubmit" class="pn pnc z" value="true" name="commentsubmit"{if !$seccodecheck && !$secqaacheck} onmouseover="checkpostrule('seccheck_comment', 'ac=reply&infloat=yes&handlekey=$_GET[handlekey]');this.onmouseover=null"{/if}><span>{lang publish}</span></button>
<span class="y">{lang comment_message1} <strong id="checklen">200</strong> {lang comment_message2}</span>
</div>
</form>
<!--{if empty($_GET['infloat'])}-->
</div>
</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,31 @@
<!--{template common/header}-->
<!--{if $comments}-->
<h3 class="psth cm">{lang comments}</h3>
<!--{if $totalcomment}--><div class="pstl">$totalcomment</div><!--{/if}-->
<!--{loop $comments $comment}-->
<div class="pstl">
<div class="psta">
$comment[avatar]&nbsp;
<!--{if $comment['authorid']}-->
<a href="home.php?mod=space&uid=$comment[authorid]" class="xi2 xw1">$comment[author]</a>
<!--{else}-->
{lang guest}
<!--{/if}-->
</div>
<div class="psti">
&nbsp;$comment[comment]&nbsp;
<!--{if $comment[rpid]}-->
<a href="forum.php?mod=redirect&goto=findpost&pid=$comment[rpid]&ptid=$_G[tid]" class="xi2">{lang detail}</a>
<a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$comment[rpid]&extra=$_GET[extra]&page=$page{if $_GET[from]}&from=$_GET[from]{/if}" class="xi2" onclick="showWindow('reply', this.href)">{lang reply}</a>
<!--{/if}-->
<span class="xg1">
{lang poston} $comment[dateline]
<!--{if $comment['useip'] && $_G['group']['allowviewip']}-->&nbsp;IP:$comment[useip]{if $comment[port]}:$comment[port]{/if}<!--{/if}-->
<!--{if $_G['forum']['ismoderator'] && $_G['group']['allowdelpost']}-->&nbsp;<a href="javascript:;" onclick="modaction('delcomment', $comment[id])">{lang delete}</a><!--{/if}-->
</span>
</div>
</div>
<!--{/loop}-->
<!--{/if}-->
<div class="pgs mbm cl">$multi</div>
<!--{template common/footer}-->

View File

@@ -0,0 +1,85 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
<a href="forum.php?mod=misc&action=showdarkroom">{lang darkroom}</a>
</div>
</div>
<div style="margin:10px 0;">
<table id="darkroomtable" summary="{lang darkroom}" cellspacing="0" cellpadding="0" class="bm dt">
<tr>
<th class="xw1" style="width:105px;">{lang username}</th>
<th class="xw1" style="width:135px;">{lang crime_action}</th>
<th class="xw1" style="width:155px;">{lang expire_dateline}</th>
<th class="xw1" style="width:155px;">{lang crime_dateline}</th>
<th class="xw1">{lang crime_reason}</th>
</tr>
<!--{if $crimelist}-->
<!--{eval $i = 0;}-->
<!--{loop $crimelist $crime}-->
<!--{eval $i++;}-->
<tr id="darkroomuid_$crime[uid]" {if $i % 2 == 0} class="alt"{/if}>
<td><a href="home.php?mod=space&uid=$crime[uid]" target="_blank">$crime[username]</a></td>
<td>$crime[action]</td>
<td>$crime[groupexpiry]</td>
<td>$crime[dateline]</td>
<td>$crime[reason]</td>
</tr>
<!--{/loop}-->
</table>
<!--{if $dataexist == 1}-->
<div class="bm bw0 pgs cl">
<span class="pgb y"><div class="pg"><a href="javascript:;" class="nxt" id="darkroommore" cid="$cid">{lang more}</a></div></span>
</div>
<!--{/if}-->
<!--{else}-->
<tr>
<td colspan="6" align="center">{lang darkroom_no_users}</td>
</tr>
</table>
<!--{/if}-->
</div>
<script type="text/javascript">
(function() {
if($('darkroommore')) {
$('darkroommore').onclick = function() {
var obj = this;
var cid = parseInt(obj.getAttribute('cid').valueOf());
var url = 'forum.php?mod=misc&action=showdarkroom&cid=' + cid + '&t=' + parseInt((+new Date()/1000)/(Math.random()*1000));
var table = $('darkroomtable');
var tablerows = table.rows.length;
obj.style.display = 'none';
var x = new Ajax('JSON');
x.getJSON(url, function(s) {
if(s && s.message) {
var smsg = s.message.split('|');
if(smsg[0] == 1) {
obj.setAttribute('cid', smsg[1]);
obj.style.display = 'block';
}
var list = s.data;
for(i in list) {
if($('darkroomuid_' + list[i].uid)) {
continue;
}
var newtr = table.insertRow(tablerows);
if(tablerows % 2 == 0) {
newtr.className = 'alt';
}
newtr.insertCell(0).innerHTML = '<a href="home.php?mod=space&uid=' + list[i].uid + '" target="_blank">' + list[i].username + '</a>';
newtr.insertCell(1).innerHTML = list[i].action;
newtr.insertCell(2).innerHTML = list[i].groupexpiry;
newtr.insertCell(3).innerHTML = list[i].dateline;
newtr.insertCell(4).innerHTML = list[i].reason;
tablerows++;
}
}
});
};
}
})();
</script>
<!--{template common/footer}-->

View File

@@ -0,0 +1,80 @@
<!--{template common/header}-->
<!--{if empty($_GET['infloat'])}-->
<div id="pt" class="bm cl">
<div class="z"><a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em> $navigation</div>
</div>
<div id="ct" class="wp cl">
<div class="mn">
<div class="bm bw0">
<!--{/if}-->
<form method="post" autocomplete="off" id="postform" action="forum.php?mod=misc&action=debateumpire&tid=$_G[tid]&umpiresubmit=yes&infloat=yes{if !empty($_GET['from'])}&from=$_GET['from']{/if}"{if !empty($_GET['infloat'])} onsubmit="ajaxpost('postform', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;"{/if}>
<div class="f_c">
<h3 class="flb">
<em id="return_$_GET['handlekey']">{lang debate_umpirecomment}</em>
<span>
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
<!--{if !empty($_GET['infloat'])}--><input type="hidden" name="handlekey" value="$_GET['handlekey']" /><!--{/if}-->
<div class="c">
<table class="tfm" cellspacing="0" cellpadding="0">
<tr>
<th>{lang debate_winner}</th>
<td>
<label class="lb"><input type="radio" name="winner" value="1" class="pr" $winnerchecked[1] id="winner1" />{lang debate_square}</label>
<label class="lb"><input type="radio" name="winner" value="2" class="pr" $winnerchecked[2] id="winner2" />{lang debate_opponent}</label>
<label class="lb"><input type="radio" name="winner" value="3" class="pr" $winnerchecked[3] id="winner3" />{lang debate_draw}</label>
</td>
</tr>
<tr>
<th><label for="bestdebater">{lang debate_bestdebater}</label></th>
<td>
<p>
<select onchange="$('bestdebater').value=this.options[this.options.selectedIndex].value" class="ps">
<option value=""><strong>{lang debate_recommend_list}</strong></option>
<option value="">------------------------------</option>
<!--{loop $candidates $candidate}-->
<option value="$candidate[username]"{if $candidate[username] == $debate[bestdebater]} selected="selected"{/if}>$candidate[username] ( $candidate[voters] {lang debate_poll}, <!--{if $candidate[stand] == 1}-->{lang debate_square}<!--{elseif $candidate[stand] == 2}-->{lang debate_opponent}<!--{/if}-->)</option>
<!--{/loop}-->
</select>
</p>
<p class="mtn"><input type="text" name="bestdebater" id="bestdebater" class="px" value="$debate[bestdebater]" size="20" /></p>
<p class="d">{lang debate_list_nonexistence}</p>
</td>
</tr>
<tr>
<th><label for="umpirepoint">{lang debate_umpirepoint}</label></th>
<td><textarea id="umpirepoint" name="umpirepoint" class="pt" style="height: 100px;">$debate[umpirepoint]</textarea></td>
</tr>
</table>
</div>
</div>
<div class="o pns">
<button class="pn pnc" type="submit" name="umpiresubmit" value="true" class="submit"><span>{lang submit}</span></button>
</div>
</form>
<!--{if !empty($_GET['infloat'])}-->
<script type="text/javascript" reload="1">
function succeedhandle_$_GET['handlekey'](locationhref) {
<!--{if !empty($_GET['from'])}-->
location.href = locationhref;
<!--{else}-->
ajaxget('forum.php?mod=viewthread&tid=$_G[tid]&viewpid=$_GET[pid]', 'post_$_GET[pid]');
hideWindow('$_GET['handlekey']');
<!--{/if}-->
}
</script>
<!--{/if}-->
<!--{if empty($_GET['infloat'])}-->
</div>
</div>
</div>
<!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,598 @@
<!--{template common/header}-->
<div id="pt" class="bm cl">
<!--{if empty($gid) && $announcements}-->
<div class="y">
<div id="an">
<dl class="cl">
<dt class="z xw1">{lang announcements}:&nbsp;</dt>
<dd>
<div id="anc"><ul id="ancl">$announcements</ul></div>
</dd>
</dl>
</div>
<script type="text/javascript">announcement();</script>
</div>
<!--{/if}-->
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&raquo;</em><a href="forum.php">{$_G[setting][navs][2][navname]}</a>{$navigation or ''}
</div>
<div class="z"><!--{hook/index_status_extra}--></div>
</div>
<!--{if empty($gid)}-->
<!--{ad/text/wp a_t}-->
<!--{/if}-->
<style id="diy_style" type="text/css"></style>
<!--{if empty($gid)}-->
<div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<!--{/if}-->
<div id="ct" class="wp cl{if $_G['setting']['forumallowside']} ct2{/if}">
<!--{if empty($gid)}-->
<div id="chart" class="bm bw0 cl">
<p class="chart z">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: <em>$postdata[0]</em><span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['cache']['userstats']['newsetuser']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['cache']['userstats']['newsetuser'])}" target="_blank" class="xi2">$_G['cache']['userstats']['newsetuser']</a></em><!--{/if}--></p>
<div class="y">
<!--{hook/index_nav_extra}-->
<!--{if $_G['uid'] && $_G['setting']['forumstatus']}--><a href="home.php?mod=space&do=thread&view=me" title="{lang my_posts}" class="xi2">{lang my_posts}</a><!--{/if}--><!--{if !empty($_G['setting']['search']['forum']['status'] && $_G['setting']['guidestatus'])}--><!--{if $_G['uid'] && $_G['setting']['forumstatus']}--><span class="pipe">|</span><!--{/if}--><a href="forum.php?mod=guide&view=new" title="{lang show_newthreads}" class="xi2">{lang show_newthreads}</a><!--{/if}-->
</div>
</div>
<!--{/if}-->
<!--[diy=diy_chart]--><div id="diy_chart" class="area"></div><!--[/diy]-->
<div class="mn">
<!--{if !empty($_G['setting']['grid']['showgrid'])}-->
<!-- index four grid -->
<div class="fl bm">
<div class="bm bmw cl">
<div id="category_grid" class="bm_c" >
<table cellspacing="0" cellpadding="0"><tr>
<!--{if !$_G['setting']['grid']['gridtype']}-->
<td valign="top" class="category_l1">
<div class="newimgbox">
<h4><span class="tit_newimg"></span>{lang latest_images}</h4>
<!--{if $_G['setting']['forumallowside']}-->
<!--{eval $slide_width = 220;}-->
<!--{else}-->
<!--{eval $slide_width = 278;}-->
<!--{/if}-->
<div class="module cl slidebox_grid" style="width:{$slide_width}px">
<script type="text/javascript">
var slideSpeed = 5000;
var slideImgsize = [{$slide_width},200];
var slideBorderColor = '{$_G['style']['specialborder']}';
var slideBgColor = '{$_G['style']['commonbg']}';
var slideImgs = new Array();
var slideImgLinks = new Array();
var slideImgTexts = new Array();
var slideSwitchColor = '{$_G['style']['tabletext']}';
var slideSwitchbgColor = '{$_G['style']['commonbg']}';
var slideSwitchHiColor = '{$_G['style']['specialborder']}';
{eval $k = 1;}
<!--{loop $grids['slide'] $stid $svalue}-->
slideImgs[<!--{echo $k}-->] = '$svalue[image]';
slideImgLinks[<!--{echo $k}-->] = '{$svalue[url]}';
slideImgTexts[<!--{echo $k}-->] = '$svalue[subject]';
{eval $k++;}
<!--{/loop}-->
</script>
<script language="javascript" type="text/javascript" src="{$_G[setting][jspath]}forum_slide.js?{VERHASH}"></script>
</div>
</div>
</td>
<!--{/if}-->
<td valign="top" class="category_l2">
<div class="subjectbox">
<h4><span class="tit_subject"></span>{lang collection_lastthread}</h4>
<ul class="category_newlist">
<!--{loop $grids['newthread'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</td>
<td valign="top" class="category_l3">
<div class="replaybox">
<h4><span class="tit_replay"></span>{lang show_newthreads}</h4>
<ul class="category_newlist">
<!--{loop $grids['newreply'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']}tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</td>
<td valign="top" class="category_l3">
<div class="hottiebox">
<h4><span class="tit_hottie"></span>{lang hot_thread}</h4>
<ul class="category_newlist">
<!--{loop $grids['hot'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</td>
<!--{if $_G['setting']['grid']['gridtype']}-->
<td valign="top" class="category_l4">
<div class="goodtiebox">
<h4><span class="tit_goodtie"></span>{lang post_digest_thread}</h4>
<ul class="category_newlist">
<!--{loop $grids['digest'] $thread}-->
<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
<!--{eval $thread['tid']=$thread['closed'];}-->
<!--{/if}-->
<li><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra"{if $thread['highlight']} $thread['highlight']{/if}{if $_G['setting']['grid']['showtips']} tip="{lang title}: <strong>$thread[oldsubject]</strong><br/>{lang author}: $thread[author] ($thread[dateline])<br/>{lang show}/{lang reply}: $thread[views]/$thread[replies]" onmouseover="showTip(this)"{else} title="$thread[oldsubject]"{/if}{if $_G['setting']['grid']['targetblank']} target="_blank"{/if}>$thread[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</td>
<!--{/if}-->
</table>
</div>
</div>
</div>
<!-- index four grid end -->
<!--{/if}-->
<!--{hook/index_top}-->
<!--{if !empty($_G['cache']['heats']['message'])}-->
<div class="bm">
<div class="bm_h cl">
<h2>{lang hotthreads_forum}</h2>
</div>
<div class="bm_c cl">
<div class="heat z">
<!--{loop $_G['cache']['heats']['message'] $data}-->
<dl class="xld">
<dt><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->
<a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></dt>
<dd>$data[message]</dd>
</dl>
<!--{/loop}-->
</div>
<ul class="xl xl1 heatl">
<!--{loop $_G['cache']['heats']['subject'] $data}-->
<li><!--{if $_G['adminid'] == 1}--><a class="d" href="forum.php?mod=misc&action=removeindexheats&tid=$data[tid]" onclick="return removeindexheats()">delete</a><!--{/if}-->&middot; <a href="forum.php?mod=viewthread&tid=$data[tid]" target="_blank" class="xi2">$data[subject]</a></li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{hook/index_catlist_top}-->
<div class="fl bm">
<!--{if !empty($collectiondata['follows'])}-->
<!--{eval $forumscount = count($collectiondata['follows']);}-->
<!--{eval $forumcolumns = 4;}-->
<!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
<div class="bm bmw {if $forumcolumns} flg{/if} cl">
<div class="bm_h cl">
<span class="o">
<em id="category_-1_img" class="tg{$collapse['collapseicon_-1']}" title="{lang spread}" onclick="toggle_collapse('category_-1');"></em>
</span>
<h2><a href="forum.php?mod=collection&op=my">{lang my_order_collection}</a></h2>
</div>
<div id="category_-1" class="bm_c" style="{echo $collapse['category_-1']}">
<table cellspacing="0" cellpadding="0" class="fl_tb">
<tr>
<!--{eval $ctorderid = 0;}-->
<!--{loop $collectiondata['follows'] $key $colletion}-->
<!--{if $ctorderid && ($ctorderid % $forumcolumns == 0)}-->
</tr>
<!--{if $ctorderid < $forumscount}-->
<tr class="fl_row">
<!--{/if}-->
<!--{/if}-->
<td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
<div class="fl_icn_g">
<a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}" target="_blank" title="$colletion[name]"><svg width="31" height="29"><path fill="#{if $followcollections[$key]['lastvisit'] < $colletion['lastupdate']}fdc910{else}c9c9c9{/if}" d="M31 13c0-7.2-6.9-13-15.5-13S0 5.8 0 13s6.9 13 15.5 13c1.6 0 3.2-.2 4.6-.6L27 28l-1.7-5c3.5-2.4 5.7-6 5.7-10z"/></svg></a>
</div>
<dl>
<dt><a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}">$colletion[name]</a></dt>
<dd><em>{lang forum_threads}: <!--{echo dnumber($colletion[threadnum])}--></em>, <em>{lang collection_commentnum}: <!--{echo dnumber($colletion[commentnum])}--></em></dd>
<dd>
<!--{if $colletion['lastpost']}-->
<!--{if $forumcolumns < 3}-->
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($colletion[lastsubject], 30)}--></a> <cite><!--{date($colletion['lastposttime'])}--> <!--{if $colletion['lastposter']}-->$colletion['lastposter']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost">{lang forum_lastpost}: <!--{date($colletion['lastposttime'])}--></a>
<!--{/if}-->
<!--{else}-->
{lang never}
<!--{/if}-->
</dd>
<!--{hook/index_followcollection_extra $colletion['ctid']}-->
</dl>
</td>
<!--{eval $ctorderid++;}-->
<!--{/loop}-->
<!--{if ($columnspad = $ctorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
</tr>
</table>
</div>
</div>
<!--{/if}-->
<!--{if empty($gid) && !empty($forum_favlist)}-->
<!--{eval $forumscount = count($forum_favlist);}-->
<!--{eval $forumcolumns = $forumscount > 3 ? ($forumscount == 4 ? 4 : 5) : 1;}-->
<!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
<div class="bm bmw {if $forumcolumns} flg{/if} cl">
<div class="bm_h cl">
<span class="o">
<em id="category_0_img" class="tg{$collapse['collapseicon_0']}" title="{lang spread}" onclick="toggle_collapse('category_0');"></em>
</span>
<h2><a href="home.php?mod=space&do=favorite&type=forum">{lang forum_myfav}</a></h2>
</div>
<div id="category_0" class="bm_c" style="{echo $collapse['category_0']}">
<table cellspacing="0" cellpadding="0" class="fl_tb">
<tr>
<!--{eval $favorderid = 0;}-->
<!--{loop $forum_favlist $key $favorite}-->
<!--{if $favforumlist[$favorite[id]]}-->
<!--{eval $forum=$favforumlist[$favorite['id']];}-->
<!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? $_G['scheme'].'://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
<!--{if $forumcolumns>1}-->
<!--{if $favorderid && ($favorderid % $forumcolumns == 0)}-->
</tr>
<!--{if $favorderid < $forumscount}-->
<tr class="fl_row">
<!--{/if}-->
<!--{/if}-->
<td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
<div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
<!--{if $forum[icon]}-->
$forum[icon]
<!--{else}-->
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if} title="$forum[name]"><svg width="31" height="29"><path fill="#{if $forum[folder]}fdc910{else}c9c9c9{/if}" d="M31 13c0-7.2-6.9-13-15.5-13S0 5.8 0 13s6.9 13 15.5 13c1.6 0 3.2-.2 4.6-.6L27 28l-1.7-5c3.5-2.4 5.7-6 5.7-10z"/></svg></a>
<!--{/if}-->
</div>
<dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
<dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
<!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
<dd>
<!--{if $forum['permission'] == 1}-->
{lang private_forum}
<!--{else}-->
<!--{if $forum['redirect']}-->
<a href="$forumurl" class="xi2">{lang url_link}</a>
<!--{elseif is_array($forum['lastpost'])}-->
<!--{if $forumcolumns < 3}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
<!--{/if}-->
<!--{else}-->
{lang never}
<!--{/if}-->
<!--{/if}-->
</dd>
<!--{hook/index_favforum_extra $forum['fid']}-->
</dl>
</td>
<!--{eval $favorderid++;}-->
<!--{else}-->
<td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
<!--{if $forum[icon]}-->
$forum[icon]
<!--{else}-->
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if} title="$forum[name]"><svg width="31" height="29"><path fill="#{if $forum[folder]}fdc910{else}c9c9c9{/if}" d="M31 13c0-7.2-6.9-13-15.5-13S0 5.8 0 13s6.9 13 15.5 13c1.6 0 3.2-.2 4.6-.6L27 28l-1.7-5c3.5-2.4 5.7-6 5.7-10z"/></svg></a>
<!--{/if}-->
</td>
<td>
<h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
<!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
<!--{if $forumlist[$forum['fid']]['subforums']}--><p>{lang forum_subforums}: $forumlist[$forum['fid']]['subforums']</p><!--{/if}-->
<!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
<!--{hook/index_favforum_extra $forum['fid']}-->
</td>
<td class="fl_i">
<!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
</td>
<td class="fl_by">
<div>
<!--{if $forum['permission'] == 1}-->
{lang private_forum}
<!--{else}-->
<!--{if $forum['redirect']}-->
<a href="$forumurl" class="xi2">{lang url_link}</a>
<!--{elseif is_array($forum['lastpost'])}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
{lang never}
<!--{/if}-->
<!--{/if}-->
</div>
</td>
</tr>
<tr class="fl_row">
<!--{/if}-->
<!--{/if}-->
<!--{/loop}-->
<!--{if ($columnspad = $favorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
</tr>
</table>
</div>
</div>
<!--{ad/intercat/bm a_c/-1}-->
<!--{/if}-->
<!--{loop $catlist $key $cat}-->
<!--{hook/index_catlist $cat['fid']}-->
<div class="bm bmw {if $cat['forumcolumns']} flg{/if} cl">
<div class="bm_h cl">
<span class="o">
<em id="category_$cat[fid]_img" class="tg{$cat[collapseicon]}" title="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');"></em>
</span>
<!--{if $cat['moderators']}--><span class="y">{lang forum_category_modedby}: $cat[moderators]</span><!--{/if}-->
<!--{eval $caturl = !empty($cat['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? $_G['scheme'].'://'.$cat['domain'].'.'.$_G['setting']['domain']['root']['forum'] : '';}-->
<h2><a href="{if !empty($caturl)}$caturl{else}forum.php?gid=$cat[fid]{/if}" style="{if !empty($cat[extra][namecolor])}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h2>
</div>
<div id="category_$cat[fid]" class="bm_c" style="{echo $collapse['category_'.$cat[fid]] or ''}">
<table cellspacing="0" cellpadding="0" class="fl_tb">
<tr>
<!--{loop $cat[forums] $forumid}-->
<!--{eval $forum=$forumlist[$forumid];}-->
<!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? $_G['scheme'].'://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
<!--{if $cat['forumcolumns']}-->
<!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
</tr>
<!--{if $forum['orderid'] < $cat['forumscount']}-->
<tr class="fl_row">
<!--{/if}-->
<!--{/if}-->
<td class="fl_g" width="$cat[forumcolwidth]">
<div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
<!--{if $forum[icon]}-->
$forum[icon]
<!--{else}-->
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if} title="$forum[name]"><svg width="31" height="29"><path fill="#{if $forum[folder]}fdc910{else}c9c9c9{/if}" d="M31 13c0-7.2-6.9-13-15.5-13S0 5.8 0 13s6.9 13 15.5 13c1.6 0 3.2-.2 4.6-.6L27 28l-1.7-5c3.5-2.4 5.7-6 5.7-10z"/></svg></a>
<!--{/if}-->
</div>
<dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
<dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
<!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: <!--{echo dnumber($forum[threads])}--></em>, <em>{lang forum_posts}: <!--{echo dnumber($forum[posts])}--></em></dd><!--{/if}-->
<dd>
<!--{if $forum['permission'] == 1}-->
{lang private_forum}
<!--{else}-->
<!--{if $forum['redirect']}-->
<a href="$forumurl" class="xi2">{lang url_link}</a>
<!--{elseif is_array($forum['lastpost'])}-->
<!--{if $cat['forumcolumns'] < 3}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
<!--{/if}-->
<!--{else}-->
{lang never}
<!--{/if}-->
<!--{/if}-->
</dd>
<!--{hook/index_forum_extra $forum['fid']}-->
</dl>
</td>
<!--{else}-->
<td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
<!--{if $forum[icon]}-->
$forum[icon]
<!--{else}-->
<a href="$forumurl"{if $forum[redirect]} target="_blank"{/if} title="$forum[name]"><svg width="31" height="29"><path fill="#{if $forum[folder]}fdc910{else}c9c9c9{/if}" d="M31 13c0-7.2-6.9-13-15.5-13S0 5.8 0 13s6.9 13 15.5 13c1.6 0 3.2-.2 4.6-.6L27 28l-1.7-5c3.5-2.4 5.7-6 5.7-10z"/></svg></a>
<!--{/if}-->
</td>
<td>
<h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if !empty($forum[extra][namecolor])} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
<!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
<!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
<!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
<!--{hook/index_forum_extra $forum['fid']}-->
</td>
<td class="fl_i">
<!--{if empty($forum[redirect])}--><span class="xi2"><!--{echo dnumber($forum[threads])}--></span><span class="xg1"> / <!--{echo dnumber($forum[posts])}--></span><!--{/if}-->
</td>
<td class="fl_by">
<div>
<!--{if $forum['permission'] == 1}-->
{lang private_forum}
<!--{else}-->
<!--{if $forum['redirect']}-->
<a href="$forumurl" class="xi2">{lang url_link}</a>
<!--{elseif is_array($forum['lastpost'])}-->
<a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
{lang never}
<!--{/if}-->
<!--{/if}-->
</div>
</td>
</tr>
<tr class="fl_row">
<!--{/if}-->
<!--{/loop}-->
{$cat['endrows'] or ''}
</tr>
</table>
</div>
</div>
<!--{ad/intercat/bm a_c/$cat[fid]}-->
<!--{/loop}-->
<!--{if !empty($collectiondata['data'])}-->
<!--{eval $forumscount = count($collectiondata['data']);}-->
<!--{eval $forumcolumns = 4;}-->
<!--{eval $forumcolwidth = (floor(100 / $forumcolumns) - 0.1).'%';}-->
<div class="bm bmw {if $forumcolumns} flg{/if} cl">
<div class="bm_h cl">
<span class="o">
<em id="category_-2_img" class="tg{$collapse['collapseicon_-2']}" title="{lang spread}" onclick="toggle_collapse('category_-2');"></em>
</span>
<h2><a href="forum.php?mod=collection">{lang recommend_collection}</a></h2>
</div>
<div id="category_-2" class="bm_c" style="{echo $collapse['category_-2']}">
<table cellspacing="0" cellpadding="0" class="fl_tb">
<tr>
<!--{eval $ctorderid = 0;}-->
<!--{loop $collectiondata['data'] $key $colletion}-->
<!--{if $ctorderid && ($ctorderid % $forumcolumns == 0)}-->
</tr>
<!--{if $ctorderid < $forumscount}-->
<tr class="fl_row">
<!--{/if}-->
<!--{/if}-->
<td class="fl_g"{if $forumcolwidth} width="$forumcolwidth"{/if}>
<div class="fl_icn_g">
<a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}" target="_blank" title="$colletion[name]"><svg width="31" height="29"><path fill="#c9c9c9" d="M31 13c0-7.2-6.9-13-15.5-13S0 5.8 0 13s6.9 13 15.5 13c1.6 0 3.2-.2 4.6-.6L27 28l-1.7-5c3.5-2.4 5.7-6 5.7-10z"/></svg></a>
</div>
<dl>
<dt><a href="forum.php?mod=collection&action=view&ctid={$colletion[ctid]}">$colletion[name]</a></dt>
<dd><em>{lang forum_threads}: <!--{echo dnumber($colletion[threadnum])}--></em>, <em>{lang collection_commentnum}: <!--{echo dnumber($colletion[commentnum])}--></em></dd>
<dd>
<!--{if $colletion['lastpost']}-->
<!--{if $forumcolumns < 3}-->
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($colletion[lastsubject], 30)}--></a> <cite><!--{date($colletion['lastposttime'])}--> <!--{if $colletion['lastposter']}-->$colletion['lastposter']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
<a href="forum.php?mod=redirect&tid=$colletion[lastpost]&goto=lastpost#lastpost">{lang forum_lastpost}: <!--{date($colletion['lastposttime'])}--></a>
<!--{/if}-->
<!--{else}-->
{lang never}
<!--{/if}-->
</dd>
<!--{hook/index_datacollection_extra $colletion['ctid']}-->
</dl>
</td>
<!--{eval $ctorderid++;}-->
<!--{/loop}-->
<!--{if ($columnspad = $ctorderid % $forumcolumns) > 0}--><!--{echo str_repeat('<td class="fl_g"'.($forumcolwidth ? " width=\"$forumcolwidth\"" : '').'></td>', $forumcolumns - $columnspad);}--><!--{/if}-->
</tr>
</table>
</div>
</div>
<!--{/if}-->
</div>
<!--{hook/index_middle}-->
<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>
<!--{if empty($gid) && $_G['setting']['whosonlinestatus']}-->
<div id="online" class="bm oll">
<div class="bm_h">
<!--{if $detailstatus}-->
<span class="o"><a href="forum.php?showoldetails=no#online" title="{lang spread}"><em class="tg_no" title="{lang spread}"></em></a></span>
<h3>
<strong><a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a></strong>
<span class="xs1">- <strong>$onlinenum</strong> {lang onlines}
- <strong>$membercount</strong> {lang index_members}(<strong>$invisiblecount</strong> {lang index_invisibles}),
<strong>$guestcount</strong> {lang index_guests}
- {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
</h3>
<!--{else}-->
<!--{if empty($_G['setting']['sessionclose'])}-->
<span class="o"><a href="forum.php?showoldetails=yes#online" title="{lang spread}"><em class="tg_yes" title="{lang spread}"></em></a></span>
<!--{/if}-->
<h3>
<strong>
<!--{if !empty($_G['setting']['whosonlinestatus'])}-->
{lang onlinemember}
<!--{else}-->
<a href="home.php?mod=space&do=friend&view=online&type=member">{lang onlinemember}</a>
<!--{/if}-->
</strong>
<span class="xs1">- {lang total} <strong>$onlinenum</strong> {lang onlines}
<!--{if $membercount}-->- <strong>$membercount</strong> {lang index_members},<strong>$guestcount</strong> {lang index_guests}<!--{/if}-->
- {lang index_mostonlines} <strong>$onlineinfo[0]</strong> {lang on} <strong>$onlineinfo[1]</strong>.</span>
</h3>
<!--{/if}-->
</div>
<!--{if $_G['setting']['whosonlinestatus'] && $detailstatus}-->
<dl id="onlinelist" class="bm_c">
<dt class="ptm pbm bbda">$_G[cache][onlinelist][legend]</dt>
<!--{if $detailstatus}-->
<dd class="ptm pbm">
<ul class="cl">
<!--{if $whosonline}-->
<!--{loop $whosonline $key $online}-->
<li title="{lang time}: $online[lastactivity]">
<img src="$online['icon']" alt="icon" />
<!--{if $online['uid']}-->
<a href="home.php?mod=space&uid=$online[uid]">$online[username]</a>
<!--{else}-->
$online[username]
<!--{/if}-->
</li>
<!--{/loop}-->
<!--{else}-->
<li style="width: auto">{lang online_only_guests}</li>
<!--{/if}-->
</ul>
</dd>
<!--{/if}-->
</dl>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{if empty($gid) && ($_G['cache']['forumlinks'][0] || $_G['cache']['forumlinks'][1] || $_G['cache']['forumlinks'][2])}-->
<div class="bm lk">
<div id="category_lk" class="bm_c ptm">
<!--{if $_G['cache']['forumlinks'][0]}-->
<ul class="m mbn cl">$_G['cache']['forumlinks'][0]</ul>
<!--{/if}-->
<!--{if $_G['cache']['forumlinks'][1]}-->
<div class="mbn cl">
$_G['cache']['forumlinks'][1]
</div>
<!--{/if}-->
<!--{if $_G['cache']['forumlinks'][2]}-->
<ul class="x mbm cl">
$_G['cache']['forumlinks'][2]
</ul>
<!--{/if}-->
</div>
</div>
<!--{/if}-->
<!--{hook/index_bottom}-->
</div>
<!--{if $_G['setting']['forumallowside']}-->
<div id="sd" class="sd">
<!--{hook/index_side_top}-->
<div class="drag">
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
</div>
<!--{hook/index_side_bottom}-->
</div>
<!--{/if}-->
</div>
<!--{if empty($_G['setting']['disfixednv_forumindex']) }--><script>fixed_top_nv();</script><!--{/if}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,332 @@
<!--{eval}-->
<!--
function tpl_hide_credits_hidden($creditsrequire) {
global $_G;
-->
<!--{/eval}-->
<!--{block return}--><div class="locked"><!--{if $_G[uid]}-->{$_G[username]}<!--{else}-->{lang guest}<!--{/if}-->{lang post_hide_credits_hidden}</div><!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
function tpl_hide_credits($creditsrequire, $message) {
-->
<!--{/eval}-->
<!--{block return}--><div class="locked">{lang post_hide_credits}</div>
$message<br /><br />
<!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
function tpl_codedisp($code) {
$randomid = 'code_'.random(3);
-->
<!--{/eval}-->
<!--{block return}--><div class="blockcode"><div id="$randomid"><ol><li>$code</ol></div><em onclick="copycode($('$randomid'));">{lang discuzcode_copyclipboard}</em></div><!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
function tpl_quote() {
-->
<!--{/eval}-->
<!--{block return}--><div class="quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
function tpl_free() {
-->
<!--{/eval}-->
<!--{block return}--><div class="quote"><blockquote>\\1</blockquote></div><!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
function tpl_hide_reply() {
global $_G;
-->
<!--{/eval}-->
<!--{block return}--><div class="showhide"><h4>{lang post_hide}</h4>\\1</div>
<!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
function tpl_hide_reply_hidden() {
global $_G;
-->
<!--{/eval}-->
<!--{block return}--><div class="locked"><!--{if $_G[uid]}-->{$_G[username]}<!--{else}-->{lang guest}<!--{/if}-->{lang post_hide_reply_hidden}</div><!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
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);
$widthcode = attachwidth($attach['width']);
$is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G['forum_thread']['archiveid'] : '';
$pluginhook = !empty($_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach['aid']]) ? $_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach['aid']] : '';
-->
<!--{/eval}-->
<!--{block return}-->
<ignore_js_op>
<dl class="tattl">
<dt>
$attach[attachicon]
</dt>
<dd>
<p class="attnm">
<!--{if !$attach['price'] || $attach['payed']}-->
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" {if !$_G['setting']['hideattachtips'] && $_GET['from'] != 'preview'}onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})"{/if} id="aid$attach[aid]" target="_blank">$attach[filename]</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow('attachpay', this.href)">$attach[filename]</a>
<!--{/if}-->
<div class="tip tip_4" id="aid$attach[aid]_menu" style="display: none" disautofocus="true">
<div class="tip_c">
<p class="y">$attach[dateline] {lang upload}</p>
<p>{lang clicktodownload}</p>
<!--{if !$attach['attachimg'] && $_G['getattachcredits']}-->{lang attachcredits}: $_G[getattachcredits]<br /><!--{/if}-->
</div>
<div class="tip_horn"></div>
</div>
</p>
<p>$attach[attachsize]<!--{if $attach['readperm']}-->, {lang readperm}: <strong>$attach[readperm]</strong><!--{/if}--><!--{if !$_G['setting']['hideattachdown']}-->, {lang downloads}: $attach['downloads']<!--{/if}--><!--{if !$attach['attachimg'] && $_G['getattachcredits']}-->, {lang attachcredits}: $_G[getattachcredits]<!--{/if}--></p>
<p>
<!--{if $attach['price']}-->
{lang price}: <strong>$attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</strong> &nbsp;[<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow('attachpay', this.href)" target="_blank">{lang pay_view}</a>]
<!--{if !$attach['payed']}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow('attachpay', this.href)">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
</p>
<!--{if $attach['description']}--><p class="xg2">{$attach[description]}</p><!--{/if}-->
$pluginhook
</dd>
</dl>
</ignore_js_op>
<!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
function imagelist($attach, $firstpost = 0) {
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);
$widthcode = attachwidth($attach['width']);
$is_archive = $_G['forum_thread']['is_archived'] ? "&fid=".$_G['fid']."&archiveid=".$_G['forum_thread']['archiveid'] : '';
$attachthumb = getimgthumbname($attach['attachment']);
$pluginhook = !empty($_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach['aid']]) ? $_G['setting']['pluginhooks']['viewthread_attach_extra'][$attach['aid']] : '';
$guestviewthumb = !empty($_G['setting']['guestviewthumb']['flag']) && !$_G['uid'];
if($guestviewthumb) {
$guestviewthumbcss = guestviewthumbstyle();
}
-->
<!--{/eval}-->
<!--{block return}-->
<!--{if $attach['attachimg'] && $_G['setting']['showimages'] && (($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) || (($guestviewthumb)))}-->
<ignore_js_op>
<!--{if !IS_ROBOT}-->
<dl class="tattl attm">
<dt></dt>
<dd>
<!--{if !$guestviewthumb}-->
<p class="mbn">
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode&nothumb=yes" {if (!$_G['setting']['hideattachtips'] || ($firstpost && $_G['fid'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid']))) && $_GET['from'] != 'preview'}onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" id="aid$attach[aid]"{/if} class="xw1" target="_blank">$attach[filename]</a>
<em class="xg1">($attach[attachsize]<!--{if !$_G['setting']['hideattachdown']}-->, {lang downloads}: $attach['downloads']<!--{/if}-->)</em>
</p>
<div class="tip tip_4" id="aid$attach[aid]_menu" style="display: none" disautofocus="true">
<div>
<p>
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode&nothumb=yes" target="_blank">{lang download}</a>
<!--{if helper_access::check_module('album')}-->
&nbsp;<a href="javascript:;" onclick="showWindow(this.id, this.getAttribute('url'), 'get', 0);" id="savephoto_$attach[aid]" url="home.php?mod=spacecp&amp;ac=album&amp;op=saveforumphoto&amp;aid=$attach[aid]&amp;handlekey=savephoto_$attach[aid]">{lang save_to_album}</a>
<!--{/if}-->
<!--{if $firstpost && $_G['fid'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
&nbsp;<a href="forum.php?mod=ajax&action=setthreadcover&aid=$attach[aid]&fid=$_G[fid]" onclick="showWindow('setcover{$attach[aid]}', this.href)">{lang set_cover}</a>
<!--{/if}-->
</p>
<p>
<span class="y">$attach[dateline] {lang upload}</span>
<a href="javascript:;" onclick="imageRotate('aimg_$attach[aid]', 1)"><i class="fico-refresh fic6 fc-v fifx fnmr vm"></i></a>
<a href="javascript:;" onclick="imageRotate('aimg_$attach[aid]', 2)"><i class="fico-refresh fic6 fc-v fnmr vm"></i></a>
</p>
</div>
<div class="tip_horn"></div>
</div>
<p class="mbn">
<!--{if $attach['readperm']}-->{lang readperm}: <strong>$attach[readperm]</strong><!--{/if}-->
<!--{if $attach['price']}-->{lang price}: <strong>$attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</strong> &nbsp;[<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow('attachpay', this.href)" target="_blank">{lang pay_view}</a>]
<!--{if !$attach['payed']}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow('attachpay', this.href)" target="_blank">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
</p>
<!--{if $attach['description']}--><p class="mbn xg2">{$attach[description]}</p><!--{/if}-->
<!--{/if}-->
$pluginhook
<!--{if $guestviewthumb}-->
<!--{eval}-->
<!--
$thumbpath = helper_attach::attachpreurl().'image/'.helper_attach::makethumbpath($attach['aid'], $_G['setting']['guestviewthumb']['width'], $_G['setting']['guestviewthumb']['height']);
$makefile = 'forum.php?mod=image&aid='.$attach['aid'].'&size='.$_G['setting']['guestviewthumb']['width'].'x'.$_G['setting']['guestviewthumb']['height'].'&key='.dsign($attach['aid'].'|'.$_G['setting']['guestviewthumb']['width'].'|'.$_G['setting']['guestviewthumb']['height']).'&type=1';
-->
<!--{/eval}-->
{$guestviewthumbcss}
<div class="guestviewthumb">
<img id="aimg_$attach[aid]" class="guestviewthumb_cur" aid="$attach[aid]" src="{STATICURL}image/common/none.gif" onclick="showWindow('login', 'member.php?mod=logging&action=login'+'&referer='+encodeURIComponent(location))" onerror="javascript:if(this.getAttribute('makefile')){this.src=this.getAttribute('makefile'); this.removeAttribute('makefile');}" file="$thumbpath" makefile="$makefile" alt="$attach[imgalt]" title="$attach[imgalt]"/>
<br>
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href+'&referer='+encodeURIComponent(location));">{lang guestviewthumb}</a>
</div>
<!--{elseif !$attach['price'] || $attach['payed']}-->
<div class="mbn savephotop">
<!--{if $_G['setting']['thumbstatus'] && $attach['thumb']}-->
<a href="javascript:;"><img id="aimg_$attach[aid]" aid="$attach[aid]" src="{STATICURL}image/common/none.gif" onclick="zoom(this, this.getAttribute('zoomfile'), 0, 0, '{$_G[setting][showexif]}')" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" alt="$attach[imgalt]" title="$attach[imgalt]" w="$attach[width]" /></a>
<!--{else}-->
<img id="aimg_$attach[aid]" aid="$attach[aid]" src="{STATICURL}image/common/none.gif" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" $widthcode alt="$attach[imgalt]" title="$attach[imgalt]" w="$attach[width]" />
<!--{/if}-->
</div>
<!--{/if}-->
</dd>
</dl>
<!--{else}-->
<dl class="tattl attm">
<!--{if !$attach['price'] || $attach['payed']}-->
<dd>
<!--{if $attach['description']}--><p>{$attach[description]}</p><!--{/if}-->
<img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$attach[imgalt]" title="$attach[imgalt]" />
</dd>
<!--{/if}-->
</dl>
<!--{/if}-->
</ignore_js_op>
<!--{/if}-->
<!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
function attachinpost($attach, $post) {
global $_G;
$firstpost = $post['first'];
$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);
$widthcode = attachwidth($attach['width']);
$is_archive = $_G['forum_thread']['is_archived'] ? '&fid='.$_G['fid'].'&archiveid='.$_G['forum_thread']['archiveid'] : '';
$attachthumb = getimgthumbname($attach['attachment']);
$musiccode = getstatus($post['status'], 7) && fileext($attach['attachment']) == 'mp3' ? (browserversion('ie') > 8 || browserversion('safari') ? '<audio controls="controls"><source src="'.$attach['url'].$attach['attachment'].'"></audio>' : parseaudio($attach['url'].$attach['attachment'], 400)) : '';
$guestviewthumb = !empty($_G['setting']['guestviewthumb']['flag']) && !$_G['uid'];
if($guestviewthumb) {
$guestviewthumbcss = guestviewthumbstyle();
}
-->
<!--{/eval}-->
<!--{block return}-->
<ignore_js_op>
<!--{if $attach['attachimg'] && $_G['setting']['showimages'] && (((!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid'])) || (($guestviewthumb)))}-->
<!--{if !IS_ROBOT}-->
<!--{if $guestviewthumb}-->
<!--{eval}-->
<!--
$thumbpath = helper_attach::attachpreurl().'image/'.helper_attach::makethumbpath($attach['aid'], $_G['setting']['guestviewthumb']['width'], $_G['setting']['guestviewthumb']['height']);
$makefile = 'forum.php?mod=image&aid='.$attach['aid'].'&size='.$_G['setting']['guestviewthumb']['width'].'x'.$_G['setting']['guestviewthumb']['height'].'&key='.dsign($attach['aid'].'|'.$_G['setting']['guestviewthumb']['width'].'|'.$_G['setting']['guestviewthumb']['height']).'&type=1';
-->
<!--{/eval}-->
{$guestviewthumbcss}
<div class="guestviewthumb">
<div style="margin: 0 auto;">
<img id="aimg_$attach[aid]" class="guestviewthumb_cur" aid="$attach[aid]" src="{STATICURL}image/common/none.gif" onclick="showWindow('login', 'member.php?mod=logging&action=login'+'&referer='+encodeURIComponent(location))" onerror="javascript:if(this.getAttribute('makefile')){this.src=this.getAttribute('makefile'); this.removeAttribute('makefile');}" file="$thumbpath" makefile="$makefile" inpost="1" alt="$attach[imgalt]" title="$attach[imgalt]"/>
<br>
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href+'&referer='+encodeURIComponent(location));">{lang guestviewthumb}</a>
</div>
</div>
<!--{else}-->
<!--{if $_G['setting']['thumbstatus'] && $attach['thumb']}-->
<img{if $attach['price'] && $_G['forum_attachmentdown'] && $_G['uid'] != $attach['uid']} class="attprice"{/if} style="cursor:pointer" id="aimg_$attach[aid]" aid="$attach[aid]" src="{STATICURL}image/common/none.gif" onclick="zoom(this, this.getAttribute('zoomfile'), 0, 0, '{$_G[setting][showexif]}')" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode{else}{$attach[url]}$attachthumb{/if}" inpost="1"{if (!$_G['setting']['hideattachtips'] || ($firstpost && $_G['fid'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid']))) && $_GET['from'] != 'preview'} onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})"{/if} />
<!--{else}-->
<img{if $attach['price'] && $_G['forum_attachmentdown'] && $_G['uid'] != $attach['uid']} class="attprice"{/if} id="aimg_$attach[aid]" aid="$attach[aid]" src="{STATICURL}image/common/none.gif" zoomfile="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes&nothumb=yes{else}{$attach[url]}$attach[attachment]{/if}" file="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" $widthcode inpost="1"{if (!$_G['setting']['hideattachtips'] || ($firstpost && $_G['fid'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid']))) && $_GET['from'] != 'preview'} onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})"{/if} />
<!--{/if}-->
<!--{/if}-->
<div class="tip tip_4 aimg_tip" id="aimg_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
<div class="xs0">
<p><strong>$attach[filename]</strong> <em class="xg1">($attach[attachsize]<!--{if !$_G['setting']['hideattachdown']}-->, {lang downloads}: $attach['downloads']<!--{/if}-->)</em></p>
<p>
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode&nothumb=yes" target="_blank">{lang download}</a>
<!--{if helper_access::check_module('album')}-->
&nbsp;<a href="javascript:;" onclick="showWindow(this.id, this.getAttribute('url'), 'get', 0);" id="savephoto_$attach[aid]" url="home.php?mod=spacecp&amp;ac=album&amp;op=saveforumphoto&amp;aid=$attach[aid]&amp;handlekey=savephoto_$attach[aid]">{lang save_to_album}</a>
<!--{/if}-->
<!--{if $firstpost && $_G['fid'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $attach['uid'])}-->
&nbsp;<a href="forum.php?mod=ajax&action=setthreadcover&aid=$attach[aid]&fid=$_G[fid]" onclick="showWindow('setcover{$attach[aid]}', this.href)">{lang set_cover}</a>
<!--{/if}-->
</p>
<!--{if $attach[description]}--><p>$attach[description]</p><!--{/if}-->
<p class="xg1 y">$attach[dateline] {lang upload}</p>
<!--{else}-->
<!--{if $attach['description']}--><p>{$attach[description]}</p><!--{/if}-->
<img src="{if $attach[refcheck]}forum.php?mod=attachment{$is_archive}&aid=$aidencode&noupdate=yes{else}{$attach[url]}$attach[attachment]{/if}" alt="$attach[imgalt]" title="$attach[imgalt]" />
<!--{/if}-->
<!--{else}-->
<!--{if $musiccode}-->
<div>$musiccode</div>
<!--{/if}-->
$attach[attachicon]
<span style="white-space: nowrap" id="attach_$attach[aid]" {if !$_G['setting']['hideattachtips'] && $_GET['from'] != 'preview'}onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})"{/if}>
<!--{if !$attach['price'] || $attach['payed']}-->
<a href="forum.php?mod=attachment{$is_archive}&aid=$aidencode" target="_blank">$attach[filename]</a>
<!--{else}-->
<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow('attachpay', this.href)">$attach[filename]</a>
<!--{/if}-->
<em class="xg1">($attach[attachsize]<!--{if !$_G['setting']['hideattachdown']}-->, {lang downloads}: $attach['downloads']<!--{/if}--><!--{if $attach['price']}-->, {lang price}: $attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}<!--{/if}-->)</em>
</span>
<div class="tip tip_4" id="attach_$attach[aid]_menu" style="position: absolute; display: none" disautofocus="true">
<div class="tip_c xs0">
<div class="y">$attach[dateline] {lang upload}</div>
{lang clicktodownload}
<!--{if $attach['description']}--><br />$attach[description]<!--{/if}-->
<!--{if $attach['readperm']}--><br />{lang readperm}: $attach[readperm]<!--{/if}-->
<!--{if IS_ROBOT}-->
</div>
</div>
<!--{/if}-->
<!--{/if}-->
<!--{if !IS_ROBOT}-->
<!--{if !$guestviewthumb}-->
<!--{if $attach['price']}-->
<br />{lang price}: $attach[price] {$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][unit]}{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]} &nbsp;<a href="forum.php?mod=misc&action=viewattachpayments&aid=$attach[aid]" onclick="showWindow('attachpay', this.href)" target="_blank">[{lang pay_view}]</a>
<!--{if !$attach['payed']}-->
&nbsp;[<a href="forum.php?mod=misc&action=attachpay&aid=$attach[aid]&tid=$attach[tid]" onclick="showWindow('attachpay', this.href)" target="_blank">{lang attachment_buy}</a>]
<!--{/if}-->
<!--{/if}-->
<!--{if !$attach['attachimg'] && $_G['getattachcredits']}--><br />{lang attachcredits}: $_G[getattachcredits]<!--{/if}-->
</div>
<div class="tip_horn"></div>
</div>
<!--{if $musiccode}-->
<br />
<!--{/if}-->
<!--{else}-->
</div>
</div>
<!--{/if}-->
<!--{/if}-->
</ignore_js_op>
<!--{/block}-->
<!--{eval}-->
<!--
return $return;
}
-->
<!--{/eval}-->

View File

@@ -0,0 +1,397 @@
<!--{block creditstring}--><!--{loop $postattachcredits $id $credit}--><!--{if $credit != ''}-->{$_G['setting']['extcredits'][$id][title]} <!--{if $credit >= 0}-->+$credit<!--{else}-->$credit<!--{/if}--> {$_G['setting']['extcredits'][$id][unit]} &nbsp;<!--{/if}--><!--{/loop}--><!--{/block}-->
<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="{$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="{$editorid}_image_ctrl" style="margin-top:0;margin-bottom:0;">
<li class="y"><span class="flbc" onclick="hideAttachMenu('image')">{lang close}</span></li>
<!--{if $allowpostimg}-->
<li class="current" id="{$editorid}_btn_imgattachlist"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('imgattachlist');">{lang e_img_attach}</a></li>
<!--{if $allowuploadtoday}-->
<li id="{$editorid}_btn_local" style="display:none;" did="{$editorid}_btn_imgattachlist|local"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('local');">{lang normal_upload}</a></li>
<!--{/if}-->
<!--{/if}-->
<!--{if helper_access::check_module('album')}--><li {if !$allowpostimg}class="current"{/if} id="{$editorid}_btn_albumlist"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('albumlist');">{lang e_img_albumlist}</a></li><!--{/if}-->
<li {if !$allowpostimg && !helper_access::check_module('album')}class="current"{/if} id="{$editorid}_btn_www"><a href="javascript:;" hidefocus="true" onclick="switchImagebutton('www');">{lang e_img_www}</a></li>
<!--{hook/post_image_btn_extra}-->
</ul>
<div unselectable="on" id="{$editorid}_www" {if $allowpostimg || helper_access::check_module('album')}style="display: none;"{/if}>
<div class="p_opt popupfix">
<table cellpadding="0" cellspacing="0" width="100%">
<tr class="xg1">
<th width="74%" class="pbn">{lang e_img_inserturl}</th>
<th width="13%" class="pbn">{lang e_img_width}</th>
<th width="13%" class="pbn">{lang e_img_height}</th>
</tr>
<tr>
<td><input type="text" id="{$editorid}_image_param_1" onchange="loadimgsize(this.value)" style="width: 95%;" value="" class="px" autocomplete="off" /></td>
<td><input id="{$editorid}_image_param_2" size="3" value="" class="px p_fre" autocomplete="off" /></td>
<td><input id="{$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="{$editorid}_image_submit"><strong>{lang submit}</strong></button>
</div>
</div>
<!--{if $allowpostimg}-->
<div unselectable="on" id="{$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="{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&operation=upload&simple=1&type=image" target="attachframe" $enctype><input type="hidden" name="uid" value="$_G['uid']"><input type="hidden" name="hash" value="{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>{lang upload}</span></button>
<span class="xg1">&larr;{lang upload_after_selected}</span>
</p>
<p id="imguploading" style="display: none;"><img src="{IMGDIR}/uploading.gif" style="vertical-align: middle;" /> {lang uploading}</p>
</div>
<div class="notice upnf">
{lang attachment_size}: <span class="xi1"><!--{if $_G['group']['maxattachsize']}-->{lang lower_than} $maxattachsize_mb <!--{else}-->{lang size_no_limit}<!--{/if}--></span>
<!--{if $imgexts}-->
, {lang attachment_allow_exts}: <span class="xi1">$imgexts</span>&nbsp;
<!--{/if}-->
<!--{if $creditstring}-->
<br /><a href="forum.php?mod=faq&action=credits&fid=$_G[fid]" target="_blank" title="{lang credits_policy}">{lang post_credits_postattach}&nbsp;$creditstring</a>
<!--{/if}-->
<!--{if $_G['group']['maxattachnum'] || $_G['group']['maxsizeperday']}--><br /><!--{subtemplate forum/post_attachlimit}--><!--{/if}-->
</div>
</div>
<div class="o">
<button onclick="hideAttachMenu('image')" class="pn pnc">
<strong>{lang confirms}</strong>
</button>
</div>
</div>
<div unselectable="on" id="{$editorid}_imgattachlist">
<div class="p_opt">
<!--{if $allowuploadtoday}-->
<div class="pbm bbda cl">
<div id="imgattach_notice" class="y" {if empty($imgattachs['used'])} style="display: none"{/if}>
<!--{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);" />{lang attachment_select_attach_image}</label>
{lang save_selected_pic}:
<select name="uploadalbum" id="uploadalbum" class="ps vm" onchange="if(this.value == '-1') {selectCreateTab(0);}">
<!--{if $albumlist}-->
<!--{loop $albumlist $album}-->
<option value="$album[albumid]">$album[albumname]</option>
<!--{/loop}-->
<!--{else}-->
<option value="-2">-------</option>
<!--{/if}-->
<option value="-1" style="color:red;">+{lang create_new_album}</option>
</select>
</div>
<div id="createalbum" style="display:none">
<!--{if $_G['setting']['albumcategorystat'] && !empty($_G['cache']['albumcategory'])}-->
<!--{eval echo category_showselect('album', 'albumcatid', !$_G['setting']['albumcategoryrequired'] ? true : false, $_GET['catid']);}-->&nbsp;
<!--{/if}-->
<input type="text" name="newalbum" id="newalbum" class="px vm" size="15" value="{lang input_album_name}" onfocus="if(this.value == '{lang input_album_name}') {this.value = '';}" onblur="if(this.value == '') {this.value = '{lang input_album_name}';}" />&nbsp;<button type="button" class="pn pnc" onclick="createNewAlbum();"><span>{lang create_new_album}</span></button><button type="button" class="pn" onclick="selectCreateTab(1);"><span>{lang cancel}</span></button>
</div>
<!--{/if}-->
</div>
<span id="imgSpanButtonPlaceholder"></span>
</div>
<!--{/if}-->
<div class="upfilelist upfl bbda">
<!--{if !empty($imgattachs['used'])}--><!--{eval $imagelist = $imgattachs['used'];}-->
<!--{template forum/ajax_imagelist}-->
<!--{/if}-->
<div id="imgattachlist"></div>
<div id="unusedimgattachlist"></div>
<!--{if $allowuploadtoday}-->
<div class="fieldset flash" id="imgUploadProgress"></div>
<script type="text/javascript">
function createNewAlbum() {
var inputObj = $('newalbum');
if(inputObj.value == '' || inputObj.value == '{lang input_album_name}') {
inputObj.value = '{lang input_album_name}';
} else {
var x = new Ajax();
x.get('home.php?mod=misc&ac=ajax&op=createalbum&inajax=1&name=' + inputObj.value + ($('albumcatid') ? '&catid=' + $('albumcatid').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>
<!--{/if}-->
</div>
<div class="notice upnf">
{lang e_img_insertphoto}
<br />{lang attachment_size}: <span class="xi1"><!--{if $_G['group']['maxattachsize']}-->{lang lower_than} $maxattachsize_mb <!--{else}-->{lang size_no_limit}<!--{/if}--></span>
<!--{if $imgexts}-->
, {lang attachment_allow_exts}: <span class="xi1">$imgexts</span>&nbsp;
<!--{/if}-->
<!--{if $creditstring}-->
<br /><a href="forum.php?mod=faq&action=credits&fid=$_G[fid]" target="_blank" title="{lang credits_policy}">{lang post_credits_postattach}&nbsp;$creditstring</a>
<!--{/if}-->
<!--{if $_G['group']['maxattachnum'] || $_G['group']['maxsizeperday']}--><br /><!--{subtemplate forum/post_attachlimit}--><!--{/if}-->
</div>
</div>
<div class="o">
<button onclick="hideAttachMenu('image')" class="pn pnc">
<strong>{lang confirms}</strong>
</button>
</div>
</div>
<!--{/if}-->
<!--{if helper_access::check_module('album')}-->
<div unselectable="on" id="{$editorid}_albumlist" {if $allowpostimg}style="display: none;"{/if}>
<div class="p_opt">
<div class="upfilelist pbm bbda">
{lang uch_selectfromalbum}:
<select onchange="if(this.value) {ajaxget('forum.php?mod=post&action=albumphoto&aid='+this.value, 'albumphoto');}">
<option value="">{lang select_album}</option>
<!--{loop $albumlist $album}-->
<option value="$album[albumid]">$album[albumname]</option>
<!--{/loop}-->
</select>
<div id="albumphoto"></div>
</div>
<p class="notice">{lang e_img_insertphoto}</p>
</div>
<div class="o">
<button onclick="hideAttachMenu('image')" class="pn pnc">
<strong>{lang confirms}</strong>
</button>
</div>
</div>
<!--{/if}-->
<!--{hook/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>
<!--{if $_G['group']['allowpostattach']}-->
<div class="p_pof upf" id="{$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="{$editorid}_attach_ctrl" style="margin-top:0;margin-bottom:0;">
<li class="y"><span class="flbc" onclick="hideAttachMenu('attach')">{lang close}</span></li>
<li class="current" id="{$editorid}_btn_attachlist"><a href="javascript:;" hidefocus="true" onclick="switchAttachbutton('attachlist');">{lang attachment_list}</a></li>
<!--{if $allowuploadtoday}-->
<li id="{$editorid}_btn_upload" style="display: none;" did="{$editorid}_btn_attachlist|upload"><a href="javascript:;" hidefocus="true" onclick="switchAttachbutton('upload');">{lang common_upload}</a></li>
<!--{/if}-->
<!--{hook/post_attach_btn_extra}-->
</ul>
<div class="p_opt" unselectable="on" id="{$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="{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&operation=upload&simple=1" target="attachframe" $enctype><input type="hidden" name="uid" value="$_G['uid']"><input type="hidden" name="hash" value="{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>{lang upload}</span></button>
<span class="xg1">&larr;{lang upload_after_selected}</span>
</p>
<p id="uploading" style="display: none;"><img src="{IMGDIR}/uploading.gif" style="vertical-align: middle;" /> {lang uploading}</p>
</div>
<div class="notice upnf">
{lang attachment_size}: <span class="xi1"><!--{if $_G['group']['maxattachsize']}-->{lang lower_than} $maxattachsize_mb <!--{else}-->{lang size_no_limit}<!--{/if}--></span>
<!--{if $_G['group']['attachextensions']}-->
, {lang attachment_allow_exts}: <span class="xi1">{$_G['group']['attachextensions']}</span>&nbsp;
<!--{/if}-->
<!--{if $creditstring}-->
<br /><a href="forum.php?mod=faq&action=credits&fid=$_G[fid]" target="_blank" title="{lang credits_policy}">{lang post_credits_postattach}&nbsp;$creditstring</a>
<!--{/if}-->
<!--{if $_G['group']['maxattachnum'] || $_G['group']['maxsizeperday']}--><br /><!--{subtemplate forum/post_attachlimit}--><!--{/if}-->
</div>
</div>
<div class="p_opt post_tablelist" unselectable="on" id="{$editorid}_attachlist">
<!--{if $allowuploadtoday}-->
<div class="pbm bbda">
<span id="spanButtonPlaceholder"></span>
</div>
<!--{/if}-->
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="attach_tblheader" class="mtn bbs"{if empty($attachs['used'])} style="display: none"{/if}>
<tr>
<td class="atnu"></td>
<td class="atna pbn">{lang filename} ( <a onclick="insertAllAttachTag();return false;" href="javascript:;" class="xi2">{lang attachment_insert_all_attach}</a> )</td>
<td class="atds pbn">{lang description}</td>
<!--{if $_G['group']['allowsetattachperm']}-->
<td class="attv pbn">
{lang readperm}
<img src="{IMGDIR}/faq.gif" alt="Tip" class="vm" style="margin: 0;" onmouseover="showTip(this)" tip="{lang post_select_usergroup_readacces}" />
</td>
<!--{/if}-->
<!--{if $_G['group']['maxprice']}--><td class="attp pbn">{$_G['setting']['extcredits'][$_G['setting']['creditstransextra'][1]][title]}</td><!--{/if}-->
<td class="attc"></td>
</tr>
</table>
<div class="upfl">
<!--{if !empty($attachs['used'])}--><!--{eval $attachlist = $attachs['used'];}-->
<!--{template forum/ajax_attachlist}-->
<!--{/if}-->
<div id="attachlist"></div>
<div id="unusedattachlist"></div>
<!--{if $allowuploadtoday}-->
<div class="fieldset flash" id="fsUploadProgress"></div>
<!--{/if}-->
</div>
<div class="notice upnf">
<p id="attach_notice"{if empty($attachs['used']) && empty($attachs['unused'])} style="display: none"{/if}>{lang e_attach_insert}<!--{if $_G['setting']['allowattachurl']}-->{lang e_attach_inserturl}<!--{/if}--></p>
{lang attachment_size}: <span class="xi1"><!--{if $_G['group']['maxattachsize']}-->{lang lower_than} $maxattachsize_mb <!--{else}-->{lang size_no_limit}<!--{/if}--></span>
<!--{if $_G['group']['attachextensions']}-->
, {lang attachment_allow_exts}: <span class="xi1">{$_G['group']['attachextensions']}</span>&nbsp;
<!--{/if}-->
<!--{if $creditstring}-->
<br /><a href="forum.php?mod=faq&action=credits&fid=$_G[fid]" target="_blank" title="{lang credits_policy}">{lang post_credits_postattach}&nbsp;$creditstring</a>
<!--{/if}-->
<!--{if $_G['group']['maxattachnum'] || $_G['group']['maxsizeperday']}--><br /><!--{subtemplate forum/post_attachlimit}--><!--{/if}-->
<!--{if $_G['group']['maxprice'] && $_G['setting']['maxincperthread']}--><br />{lang post_price_attachincome_comment}<!--{/if}-->
</div>
</div>
<!--{hook/post_attach_tab_extra}-->
</div>
<div class="o">
<button onclick="hideAttachMenu('attach')" class="pn pnc" id="attach_confirms">
<strong>{lang confirms}</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>
<!--{/if}-->
<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);
}
<!--{if $editor[simplemode] > 0}-->
editorsimple();
<!--{/if}-->
var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
<!--{if $allowpostimg}-->
ATTACHNUM['imageused'] = <!--{echo (isset($imgattachs['used']) && is_array($imgattachs['used'])) ? count($imgattachs['used']) : 0}-->;
<!--{if !empty($imgattachs['used']) || !empty($imgattachs['unused'])}-->
switchImagebutton('imgattachlist');
$(editorid + '_image').evt = false;
updateattachnum('image');
<!--{else}-->
switchImagebutton('multi');
<!--{/if}-->
<!--{/if}-->
<!--{if $_G['group']['allowpostattach'] || $_G['group']['allowpostimage']}-->
ATTACHNUM['attachused'] = <!--{echo (isset($attachs['used']) && is_array($attachs['used'])) ? count($attachs['used']) : 0}-->;
<!--{if !empty($attachs['used']) || !empty($attachs['unused'])}-->
$(editorid + '_attach').evt = false;
updateattachnum('attach');
<!--{else}-->
switchAttachbutton('swfupload');
<!--{/if}-->
<!--{/if}-->
<!--{if !empty($attachs['unused'])}-->
display('attachnotice_attach');
var msg = '';
<!--{loop $attachs['unused'] $attach}-->
<!--{if !empty($attach['aid'])}-->
msg += '<p><label><input id="unused$attach[aid]" name="unused[]" value="$attach[aid]" checked type="checkbox" class="pc" /><span title="$attach[filenametitle] $attach[dateline]">$attach[filename]</span></label></p>'
ATTACHUNUSEDAID[{$attach[aid]}] = '$attach[aid]';
<!--{/if}-->
<!--{/loop}-->
$('unusedlist_attach').innerHTML = '<div class="cl">' + msg + '</div>';
$('unusednum_attach').innerHTML = parseInt(<!--{echo is_array($attachs['unused']) ? count($attachs['unused']) : 0}-->);
<!--{/if}-->
<!--{if !empty($imgattachs['unused'])}-->
display('attachnotice_img');
var msg = '';
<!--{loop $imgattachs['unused'] $attach}-->
<!--{if !empty($attach['aid'])}-->
msg += '<p style="float:left;width:220px;"><label><input id="unused$attach[aid]" name="unused[]" value="$attach[aid]" checked type="checkbox" class="pc" /><span title="$attach[filenametitle] $attach[dateline]">$attach[filename]</span></label></p>'
IMGUNUSEDAID[{$attach[aid]}] = '$attach[aid]';
<!--{/if}-->
<!--{/loop}-->
$('unusedlist_img').innerHTML = '<div class="cl">' + msg + '</div>';
$('unusednum_img').innerHTML = parseInt(<!--{echo is_array($imgattachs['unused']) ? count($imgattachs['unused']) : 0}-->);
<!--{/if}-->
setCaretAtEnd();
if(BROWSER.ie >= 5 || BROWSER.firefox >= '2') {
_attachEvent(window, 'beforeunload', unloadAutoSave);
}
<!--{if !empty($_GET['cedit']) && $_GET['cedit'] == 'yes'}-->
loadData(1);
$(editorid + '_switchercheck').checked = !wysiwyg;
<!--{/if}-->
</script>

View File

@@ -0,0 +1,580 @@
<!--{template common/header}-->
<!--{if $_G['forum']['ismoderator']}-->
<script type="text/javascript" src="{$_G[setting][jspath]}forum_moderate.js?{VERHASH}"></script>
<!--{/if}-->
<style id="diy_style" type="text/css"></style>
<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
<div id="pt" class="bm cl">
<div class="z">
<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a><em>&raquo;</em><a href="forum.php">{$_G[setting][navs][2][navname]}</a>$navigation
</div>
</div>
<!--{ad/text/wp a_t}-->
<div class="wp">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div class="boardnav">
<div id="ct" class="wp cl{if $_G['forum']['allowside']} ct2{/if}"{if $leftside} style="margin-left:{$_G['leftsidewidth_mwidth']}px"{/if}>
<!--{if $leftside}-->
<div id="sd_bdl" class="bdl" onmouseover="showMenu({'ctrlid':this.id, 'pos':'dz'});" style="width:{$_G['setting']['leftsidewidth']}px;margin-left:-{$_G['leftsidewidth_mwidth']}px">
<!--{hook/forumdisplay_leftside_top}-->
<!--[diy=diyleftsidetop]--><div id="diyleftsidetop" class="area"></div><!--[/diy]-->
<div class="tbn" id="forumleftside">
<!--{subtemplate forum/forumdisplay_leftside}-->
</div>
<!--[diy=diyleftsidebottom]--><div id="diyleftsidebottom" class="area"></div><!--[/diy]-->
<!--{hook/forumdisplay_leftside_bottom}-->
</div>
<!--{/if}-->
<div class="mn">
<div class="bm bml pbn">
<!--{if $_G[forum][banner] && !$subforumonly}--><img src="$_G[forum][banner]" alt="$_G['forum'][name]" /><!--{/if}-->
<div class="bm_h cl">
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}--><span class="o"><em id="forum_rules_{$_G[fid]}_img" class="tg_{$collapse[forum_rulesimg]}" title="{lang spread}" onclick="toggle_collapse('forum_rules_{$_G[fid]}')"></em></span><!--{/if}-->
<span class="y">
<!--{if helper_access::check_module('favorite')}--><a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum&formhash={FORMHASH}" id="a_favorite" class="fa_fav" onclick="showWindow(this.id, this.href, 'get', 0);">{lang forum_favorite} <strong class="xi1" id="number_favorite" {if !$_G[forum][favtimes]} style="display:none;"{/if}>(<span id="number_favorite_num">$_G[forum][favtimes]</span>)</strong></a><!--{/if}-->
<!--{if rssforumperm($_G['forum']) && $_G[setting][rssstatus] && !$_GET['archiveid'] && !$subforumonly}--><!--{if helper_access::check_module('favorite')}--><span class="pipe">|</span><!--{/if}--><a href="forum.php?mod=rss&fid=$_G[fid]&auth=$rssauth" class="fa_rss" target="_blank" title="RSS">{lang rss_subscribe_this}</a><!--{/if}-->
<!--{if !empty($forumarchive)}-->
<span class="pipe">|</span><a id="forumarchive" href="javascript:;" class="fa_achv" onmouseover="showMenu(this.id)"><!--{if $_GET['archiveid']}-->$forumarchive[$_GET['archiveid']]['displayname']<!--{else}-->{lang forum_archive}<!--{/if}--></a>
<!--{/if}-->
<!--{hook/forumdisplay_forumaction}-->
<!--{if $_G['forum']['ismoderator']}-->
<!--{if $_G['forum']['recyclebin']}-->
<span class="pipe">|</span><a href="{if $_G['adminid'] == 1}admin.php?mod=forum&action=recyclebin&frames=yes{elseif $_G['forum']['ismoderator']}forum.php?mod=modcp&action=recyclebin&fid=$_G[fid]{/if}" class="fa_bin" target="_blank">{lang forum_recyclebin}</a>
<!--{/if}-->
<!--{if $_G['forum']['ismoderator'] && !$_GET['archiveid']}-->
<span class="pipe">|</span><strong>
<!--{if $_G['forum']['status'] != 3}-->
<a href="forum.php?mod=modcp&fid=$_G[fid]">{lang modcp}</a>
<!--{else}-->
<a href="forum.php?mod=group&action=manage&fid=$_G[fid]">{lang modcp}</a>
<!--{/if}-->
</strong>
<!--{/if}-->
<!--{hook/forumdisplay_modlink}-->
<!--{/if}-->
</span>
<h1 class="xs2">
<a href="forum.php?mod=forumdisplay&fid=$_G[fid]">$_G['forum'][name]</a>
<!--{if !$subforumonly}--><span class="xs1 xw0 i">{lang index_today}: <strong class="xi1">$_G[forum][todayposts]</strong><!--{if $_G[forum][todayposts]}--><!--{if $_G[forum][todayposts] < $_G[forum][yesterdayposts]}--><b class="ico_fall">&nbsp;</b><!--{else}--><b class="ico_increase">&nbsp;</b><!--{/if}--><!--{/if}--><span class="pipe">|</span>{lang index_threads}: <strong class="xi1">$_G[forum][threads]</strong><!--{if $_G[forum][rank]}--><span class="pipe">|</span>{lang rank}: <strong class="xi1" title="{lang previous_rank}:$_G[forum][oldrank]">$_G[forum][rank]</strong><!--{if $_G[forum][rank] <= $_G[forum][oldrank]}--><b class="ico_increase">&nbsp;</b><!--{else}--><b class="ico_fall">&nbsp;</b><!--{/if}--><!--{/if}--></span><!--{/if}-->
</h1>
</div>
<!--{if (!empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])) || $moderatedby || ($_G['page'] == 1 && $_G['forum']['rules'])}-->
<div class="bm_c cl pbn">
<!--{if !empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])}-->
<div class="pbn">{lang forum_domain}: <a href="{$_G['scheme']}://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}" id="group_link">{$_G['scheme']}://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}</a></div>
<!--{/if}-->
<!--{if $moderatedby}--><div>{lang forum_modedby}: <span class="xi2">$moderatedby</span></div><!--{/if}-->
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}-->
<div id="forum_rules_{$_G[fid]}" style="$collapse['forum_rules'];">
<div class="ptn xg2">$_G['forum'][rules]</div>
</div>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{if !empty($forumarchive)}-->
<div id="forumarchive_menu" class="p_pop" style="display:none">
<ul>
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">{lang threads_all}</a></li>
<!--{loop $forumarchive $id $info}-->
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&archiveid=$id">{$info['displayname']} ({$info['threads']})</a></li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
</div>
<!--{hook/forumdisplay_top}-->
<!--{if $subexists && $_G['page'] == 1}--><!--{template forum/forumdisplay_subforum}--><!--{/if}-->
<div class="drag">
<!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->
</div>
<!--{if !empty($_G['forum']['recommendlist'])}-->
<div class="bm bmw">
<div class="bm_h cl">
<h2>{lang forum_recommend}</h2>
</div>
<div class="bm_c cl">
<!--{subtemplate forum/recommend}-->
</div>
</div>
<!--{/if}-->
<!--{hook/forumdisplay_middle}-->
<!--{if !$subforumonly}-->
<!--{if $recommendgroups && !$_G['forum']['allowside']}-->
<div class="bm bmw fl{if $_G['forum']['forumcolumns']} flg{/if}">
<div class="bm_h cl">
<span class="o"><em id="recommendgroups_{$_G[forum][fid]}_img" class="tg{$collapseicon[recommendgroups]}" title="{lang spread}" onclick="toggle_collapse('recommendgroups_{$_G[forum][fid]}');"></em></span>
<h2>{lang recommended_groups}</h2>
</div>
<div class="bm_c" id="recommendgroups_{$_G[forum][fid]}" style="$collapse[recommendgroups]">
<table cellspacing="0" cellpadding="0" class="fl_tb">
<!--{loop $recommendgroups $key $group}-->
<!--{if $_G['forum']['forumcolumns']}-->
<!--{if $key && ($key % $_G['forum']['forumcolumns'] == 0)}-->
</tr>
<!--{if $key < $_G['forum']['forumcolumns']}-->
<tr class="fl_row">
<!--{/if}-->
<!--{/if}-->
<td class="fl_g">
<div class="fl_icn_g">
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank"><img src="$group[icon]" alt="$group[name]" width="32" /></a>
</div>
<dl>
<dt><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><span class="xg1 xw0"> ($group[membernum] {lang activity_member_unit})</span>
<dd><em>{lang forum_threads}: $group[threads]</em></dd>
<dd>
<!--{if is_array($group['lastpost'])}-->
<!--{if $_G['forum']['forumcolumns'] < 3}-->
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($group[lastpost][subject], 30)}--></a> <cite>$group[lastpost][dateline] <!--{if $group['lastpost']['author']}--><a href="home.php?mod=space&username={$group[lastpost][encode_author]}">{$group[lastpost][author]}</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2">$group[lastpost][dateline]</a>
<!--{/if}--> <!--{else}-->
{lang never}
<!--{/if}-->
</dd>
</dl>
</td>
<!--{else}-->
<tr {if $key != 0}class="fl_row"{/if}>
<td class="fl_icn">
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank"><img src="$group[icon]" alt="$group[name]" width="32" /></a>
</td>
<td>
<h2><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><span class="xg1 xw0"> ($group[membernum] {lang activity_member_unit})</span></h2>
<p><!--{echo cutstr($group[description], 100)}--></p>
</td>
<td class="fl_i">
<span class="xi2">$group[threads] {lang index_threads}</span>
</td>
<td class="fl_by">
<div>
<!--{if is_array($group['lastpost'])}-->
<a href="forum.php?mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($group[lastpost][subject], 30)}--></a> <cite>$group[lastpost][dateline] <!--{if $group['lastpost']['author']}--><a href="home.php?mod=space&username={$group[lastpost][encode_author]}">{$group[lastpost][author]}</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
{lang never}
<!--{/if}-->
</div>
</td>
</tr>
<!--{/if}-->
<!--{/loop}-->
</table>
</div>
</div>
<!--{/if}-->
<!--{if !empty($threadmodcount)}--><div class="bm"><div class="ntc_l hm xi2"><strong>{lang forum_moderate_unhandled}</strong></div></div><!--{/if}-->
<!--{if $livethread}-->
<div id="livethread" class="tl bm bmw cl" style="padding:10px 15px;">
<div class="livethreadtitle vm">
<span class="replynumber xg1">{lang reply} <span id="livereplies" class="xi1">$livethread[replies]</span></span>
<a href="forum.php?mod=viewthread&tid=$livethread[tid]" target="_blank">$livethread[subject]</a> <span class="liveicon">{lang admin_live}</span>
</div>
<div class="livethreadcon">$livemessage</div>
<div id="livereplycontentout">
<div id="livereplycontent">
</div>
</div>
<div id="liverefresh">{lang forum_live_newreply_refresh}</div>
<div id="livefastreply">
<form id="livereplypostform" method="post" action="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$livethread[tid]&replysubmit=yes&infloat=yes&handlekey=livereplypost&inajax=1" onsubmit="return livereplypostvalidate(this)">
<div id="livefastcomment">
<textarea id="livereplymessage" name="message" style="color:gray;<!--{if !$liveallowpostreply}-->display:none;<!--{/if}-->">{lang forum_live_fastreply_notice}</textarea>
<!--{if !$liveallowpostreply}-->
<div>
<!--{if !$_G[uid]}-->
{lang login_to_reply} <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">{lang login}</a> | <a href="member.php?mod={$_G[setting][regname]}" class="xi2">$_G['setting']['reglinkname']</a>
<!--{elseif $_G['forum']['replyperm'] && !forumperm($_G['forum']['replyperm'])}-->
{lang replyperm_nopermission}
<!--{else}-->
{lang no_permission_to_post}<a href="javascript:;" onclick="ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));" class="xi2">{lang click_to_show_reason}</a>
<!--{/if}-->
</div>
<!--{/if}-->
</div>
<div id="livepostsubmit" style="display:none;">
<!--{if $secqaacheck || $seccodecheck}-->
<!--{block sectpl}--><sec> <span id="sec<hash>" onclick="showMenu(this.id)"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div><!--{/block}-->
<div class="mtm sec" style="text-align:right;"><!--{subtemplate common/seccheck}--></div>
<!--{/if}-->
<p class="ptm pnpost" style="margin-bottom:10px;">
<button type="submit" name="replysubmit" class="pn pnc vm" style="float:right;" value="replysubmit" id="livereplysubmit">
<strong>{lang forum_live_post}</strong>
</button>
</p>
</div>
<input type="hidden" name="formhash" value="{FORMHASH}">
<input type="hidden" name="subject" value=" ">
</form>
</div>
<span id="livereplypostreturn"></span>
</div>
<script type="text/javascript">
var postminchars = parseInt('$_G['setting']['minpostsize']');
var postmaxchars = parseInt('$_G['setting']['maxpostsize']');
var postminsubjectchars = parseInt('$_G['setting']['minsubjectsize']');
var postmaxsubjectchars = parseInt('$_G['setting']['maxsubjectsize']');
var disablepostctrl = parseInt('{$_G['group']['disablepostctrl']}');
var replycontentlist = new Array();
var addreplylist = new Array();
var timeoutid = timeid = movescrollid = waitescrollid = null;
var replycontentnum = 0;
getnewlivepostlist(1);
timeid = setInterval(getnewlivepostlist, 5000);
$('livereplycontent').style.position = 'absolute';
$('livereplycontent').style.width = ($('livereplycontentout').clientWidth - 50) + 'px';
$('livereplymessage').onfocus = function() {
if(this.style.color == 'gray') {
this.value = '';
this.style.color = 'black';
$('livepostsubmit').style.display = 'block';
this.style.height = '56px';
$('livefastcomment').style.height = '57px';
}
};
$('livereplymessage').onblur = function() {
if(this.value == '') {
this.style.color = 'gray';
this.value = '{lang forum_live_fastreply_notice}';
}
};
$('liverefresh').onclick = function() {
$('livereplycontent').style.position = 'absolute';
getnewlivepostlist();
this.style.display = 'none';
};
$('livereplycontentout').onmouseover = function(e) {
if($('livereplycontent').style.position == 'absolute' && $('livereplycontent').clientHeight > 215) {
$('livereplycontent').style.position = 'static';
this.scrollTop = this.scrollHeight;
}
if(this.scrollTop + this.clientHeight != this.scrollHeight) {
clearInterval(timeid);
clearTimeout(timeoutid);
clearInterval(movescrollid);
timeid = timeoutid = movescrollid = null;
if(waitescrollid == null) {
waitescrollid = setTimeout(function() {
$('liverefresh').style.display = 'block';
}, 60000 * 10);
}
} else {
clearTimeout(waitescrollid);
waitescrollid = null;
}
};
$('livereplycontentout').onmouseout = function(e) {
if(this.scrollTop + this.clientHeight == this.scrollHeight) {
$('livereplycontent').style.position = 'absolute';
clearInterval(timeid);
timeid = setInterval(getnewlivepostlist, 10000);
}
};
function getnewlivepostlist(first) {
var x = new Ajax('JSON');
x.getJSON('forum.php?mod=misc&action=livelastpost&fid=$livethread[fid]', function(s, x) {
var count = s.data.count;
$('livereplies').innerHTML = count;
var newpostlist = s.data.list;
for(i in newpostlist) {
var postid = i;
var postcontent = '';
postcontent += newpostlist[i].authorid ? '<dt><a href="home.php?mod=space&uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].avatar + '</a></dt>' : '<dt></dt>';
postcontent += newpostlist[i].authorid ? '<dd><a href="home.php?mod=space&uid=' + newpostlist[i].authorid + '" target="_blank">' + newpostlist[i].author + '</a></dd>' : '<dd>' + newpostlist[i].author + '</dd>';
postcontent += '<dd>' + htmlspecialchars(newpostlist[i].message) + '</dd>';
postcontent += '<dd class="dateline">' + newpostlist[i].dateline + '</dd>';
if(replycontentlist[postid]) {
$('livereply_' + postid).innerHTML = postcontent;
continue;
}
addreplylist[postid] = '<dl id="livereply_' + postid + '">' + postcontent + '</dl>';
}
if(first) {
for(i in addreplylist) {
replycontentlist[i] = addreplylist[i];
replycontentnum++;
var div = document.createElement('div');
div.innerHTML = addreplylist[i];
$('livereplycontent').appendChild(div);
delete addreplylist[i];
}
} else {
livecontentfacemove();
}
});
}
function livecontentfacemove() {
//note 从队列中取出数据
var reply = '';
for(i in addreplylist) {
reply = replycontentlist[i] = addreplylist[i];
replycontentnum++;
delete addreplylist[i];
break;
}
if(reply) {
var div = document.createElement('div');
div.innerHTML = reply;
var oldclientHeight = $('livereplycontent').clientHeight;
$('livereplycontent').appendChild(div);
$('livereplycontentout').style.overflowY = 'hidden';
$('livereplycontent').style.bottom = oldclientHeight - $('livereplycontent').clientHeight + 'px';
if(replycontentnum > 20) {
$('livereplycontent').removeChild($('livereplycontent').firstChild);
for(i in replycontentlist) {
delete replycontentlist[i];
break;
}
replycontentnum--;
}
if(!movescrollid) {
movescrollid = setInterval(function() {
if(parseInt($('livereplycontent').style.bottom) < 0) {
$('livereplycontent').style.bottom =
((parseInt($('livereplycontent').style.bottom) + 5) > 0 ? 0 : (parseInt($('livereplycontent').style.bottom) + 5)) + 'px';
} else {
$('livereplycontentout').style.overflowY = 'auto';
clearInterval(movescrollid);
movescrollid = null;
timeoutid = setTimeout(livecontentfacemove, 1000);
}
}, 100);
}
}
}
function livereplypostvalidate(theform) {
var s;
if(theform.message.value == '' || $('livereplymessage').style.color == 'gray') {
s = '{lang forum_live_nocontent_error}';
}
if(!disablepostctrl && ((postminchars != 0 && mb_strlen(theform.message.value) < postminchars) || (postmaxchars != 0 && mb_strlen(theform.message.value) > postmaxchars))) {
s = {lang forum_live_nolength_error};
}
if(s) {
showError(s);
doane();
$('livereplysubmit').disabled = false;
return false;
}
$('livereplysubmit').disabled = true;
theform.message.value = theform.message.value.replace(/([^>=\]"'\/]|^)((((https?|ftp):\/\/)|www\.)([\w\-]+\.)*[\w\-\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!]*)+\.(jpg|gif|png|bmp|webp))/ig, '$1[img]$2[/img]');
theform.message.value = parseurl(theform.message.value);
ajaxpost('livereplypostform', 'livereplypostreturn', 'livereplypostreturn', 'onerror', $('livereplysubmit'));
return false;
}
function succeedhandle_livereplypost(url, msg, param) {
$('livereplymessage').value = '';
$('livereplycontent').style.position = 'absolute';
if(param['sechash']) {
updatesecqaa(param['sechash']);
updateseccode(param['sechash']);
}
getnewlivepostlist();
}
</script>
<!--{/if}-->
<div id="pgt" class="bm bw0 pgs cl">
<span id="fd_page_top">$multipage</span>
<span class="pgb y" {if $_G[setting][visitedforums]}id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'34'})"{/if} ><a href="forum.php">{lang return_index}</a></span>
<!--{if !$_GET['archiveid']}--><a href="javascript:;" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && empty($_G['forum']['threadsorts']['required'])} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} title="{lang send_posts}" class="pgsbtn showmenu">{lang send_posts}</a><!--{/if}-->
<!--{hook/forumdisplay_postbutton_top}-->
</div>
<!--{if ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || (isset($_G['forum']['threadsorts']['types']) && is_array($_G['forum']['threadsorts']['types']) && count($_G['forum']['threadsorts']['types']) > 0)}-->
<ul id="thread_types" class="ttp bm cl">
<!--{hook/forumdisplay_threadtype_inner}-->
<li id="ttp_all" {if !$_GET['typeid'] && !$_GET['sortid']}class="xw1 a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['forum']['threadsorts']['defaultshow']}&filter=sortall&sortall=1{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">{lang forum_viewall}</a></li>
<!--{if $_G['forum']['threadtypes']}-->
<!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
<!--{if $_GET['typeid'] == $id}-->
<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['sortid']}&filter=sortid&sortid=$_GET['sortid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name<!--{if $showthreadclasscount[typeid][$id]}--><span class="xg1 num">$showthreadclasscount[typeid][$id]</span><!--{/if}--></a></li>
<!--{else}-->
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$id$forumdisplayadd[typeid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name<!--{if $showthreadclasscount[typeid][$id]}--><span class="xg1 num">$showthreadclasscount[typeid][$id]</span><!--{/if}--></a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $_G['forum']['threadsorts']}-->
<!--{if $_G['forum']['threadtypes']}--><li><span class="pipe">|</span></li><!--{/if}-->
<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
<!--{if $_GET['sortid'] == $id}-->
<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_GET['typeid']}&filter=typeid&typeid=$_GET['typeid']{/if}{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="xg1 num">$showthreadclasscount[sortid][$id]</span><!--{/if}--></a></li>
<!--{else}-->
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$id$forumdisplayadd[sortid]{if $_GET['archiveid']}&archiveid={$_GET['archiveid']}{/if}">$name<!--{if $showthreadclasscount[sortid][$id]}--><span class="xg1 num">$showthreadclasscount[sortid][$id]</span><!--{/if}--></a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{hook/forumdisplay_filter_extra}-->
</ul>
<script type="text/javascript">showTypes('thread_types');</script>
<!--{/if}-->
<!--{hook/forumdisplay_threadtype_extra}-->
<!--{if empty($_G['forum']['sortmode'])}-->
<!--{subtemplate forum/forumdisplay_list}-->
<!--{else}-->
<!--{subtemplate forum/forumdisplay_sort}-->
<!--{/if}-->
<!--{/if}-->
<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
<!--{if $fastpost}-->
<!--{template forum/forumdisplay_fastpost}-->
<!--{/if}-->
<!--{hook/forumdisplay_bottom}-->
<!--[diy=diyforumdisplaybottom]--><div id="diyforumdisplaybottom" class="area"></div><!--[/diy]-->
</div>
<!--{if $_G['forum']['allowside']}-->
<div class="sd">
<!--{hook/forumdisplay_side_top}-->
<!--{if !$subforumonly}-->
<div class="bm">
<div class="bm_h">
<h2>{lang their}: <!--{eval echo cutstr($_G['cache']['forums'][$_G['forum']['fup']]['name'], 22, '')}--></h2>
</div>
<div class="bm_c">
<ul class="xl xl2 cl">
<!--{loop $_G['cache']['forums'] $bforum}-->
<!--{if $bforum['fup'] == $_G['forum']['fup'] && $bforum['status']}-->
<li><a href="forum.php?mod=forumdisplay&fid=$bforum[fid]">$bforum['name']</a></li>
<!--{/if}-->
<!--{/loop}-->
</ul>
</div>
</div>
<!--{if $recommendgroups}-->
<div class="bm">
<div class="bm_h cl">
<h2>{lang recommended_groups}</h2>
</div>
<div class="bm_c cl">
<ul class="ml mls cl">
<!--{loop $recommendgroups $key $group}-->
<li>
<a href="forum.php?mod=group&fid=$group[fid]" title="$group[name]" target="_blank" class="avt"><img src="$group[icon]" alt="$group[name]"></a>
<p><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{if !($_G['forum']['simple'] & 1) && $_G[setting][whosonlinestatus]}-->
<div class="bm">
<!--{if $detailstatus}-->
<div class="bm_h cl">
<span class="o y"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&page=$page&showoldetails=no#online"><em class="tg_no"></em></a></span>
<h2>{lang forum_activeusers} ($onlinenum)</h2>
</div>
<div class="bm_c">
<ul class="ml mls cl">
<!--{loop $whosonline $key $online}-->
<li>
<a href="home.php?mod=space&uid=$online[uid]" class="avt"><!--{avatar($online['uid'], 'small')}--></a>
<!--{if $online['uid']}-->
<p><a href="home.php?mod=space&uid=$online[uid]">$online[username]</a></p>
<!--{else}-->
<p>$online[username]</p>
<!--{/if}-->
<span>$online[lastactivity]{LF}</span>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{else}-->
<div class="bm_h cl">
<span class="o y"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&page=$page&showoldetails=yes#online" class="nobdr"><em class="tg_yes"></em></a></span>
<h2>{lang forum_activeusers} ($onlinenum)</h2>
</div>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<div class="drag">
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
</div>
<!--{hook/forumdisplay_side_bottom}-->
</div>
<!--{/if}-->
</div>
</div>
<!--{if $_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])}-->
<ul class="p_pop" id="newspecial_menu" style="display: none">
<!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
<!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
<!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
<!--{if $_G['forum']['threadsorts']['show'][$id]}-->
<li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id">$threadsorts</a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $_G['group']['allowpostpoll']}--><li class="poll"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
<!--{if $_G['group']['allowpostreward']}--><li class="reward"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
<!--{if $_G['group']['allowpostdebate']}--><li class="debate"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
<!--{if $_G['group']['allowpostactivity']}--><li class="activity"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
<!--{if $_G['group']['allowposttrade']}--><li class="trade"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
<!--{if $_G['setting']['threadplugins']}-->
<!--{loop $_G['forum']['threadplugin'] $tpid}-->
<!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && is_array($_G['group']['allowthreadplugin']) && in_array($tpid, $_G['group']['allowthreadplugin'])}-->
<li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url(source/plugin/$tpid/$_G[setting][threadplugins][$tpid][icon])"{/if}><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid">{$_G[setting][threadplugins][$tpid][name]}</a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
</ul>
<!--{/if}-->
<!--{if $_G['setting']['visitedforums'] && $_G['forum']['status'] != 3}-->
<div id="visitedforums_menu" class="p_pop blk cl" style="display: none;">
<table cellspacing="0" cellpadding="0">
<tr>
<td id="v_forums">
<h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
<ul class="xl xl1">
$_G['setting']['visitedforums']
</ul>
</td>
</tr>
</table>
</div>
<!--{/if}-->
<!--{if $_G['setting']['threadmaxpages'] > 1 && $page && !$subforumonly}-->
<script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && isset($_G['page_next']) && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_GET[orderby]}{$forumdisplayadd[page]}&{$multipage_archive}', $page);}</script>
<!--{/if}-->
<!--{if empty($_G['forum']['picstyle']) && $_GET['orderby'] == 'lastpost' && empty($_GET['filter']) }-->
<script type="text/javascript">checkForumnew_handle = setTimeout(function () {checkForumnew($_G[fid], lasttime);}, checkForumtimeout);</script>
<!--{/if}-->
<div class="wp mtn">
<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
</div>
<!--{if empty($_G['setting']['disfixednv_forumdisplay']) }--><script>fixed_top_nv();</script><!--{/if}-->
<!--{template common/footer}-->

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