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,18 @@
<!--{subtemplate search/header}-->
<div id="ct" class="w">
<form class="searchform" method="post" autocomplete="off" action="search.php?mod=album" onsubmit="if($('scform_srchtxt')) searchFocus($('scform_srchtxt'));">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{subtemplate search/pubsearch}-->
<!--{hook/album_top}-->
</form>
<!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}-->
<!--{subtemplate search/album_list}-->
<!--{/if}-->
</div>
<!--{hook/album_bottom}-->
<!--{subtemplate search/footer}-->

View File

@@ -0,0 +1,21 @@
<div class="tl">
<div class="sttl mbn">
<h2><!--{if $keyword}-->{lang search_result_keyword}<!--{else}-->{lang search_result}<!--{/if}--></h2>
</div>
<!--{ad/search/y mtw}-->
<!--{if empty($albumlist)}-->
<p class="emp xs2 xg2">{lang search_nomatch}</p>
<!--{else}-->
<div class="slst xld xlda mtw">
<ul class="ml mla cl">
<!--{loop $albumlist $key $value}-->
<li>
<div class="c"><a href="home.php?mod=space&uid=$value[uid]&do=album&id=$value[albumid]" target="_blank"><!--{if $value[pic]}--><img src="$value[pic]" /><!--{/if}--></a></div>
<p class="ptm"><a href="home.php?mod=space&uid=$value[uid]&do=album&id=$value[albumid]" target="_blank">$value[albumname]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{if !empty($multipage)}--><div class="pgs cl mbm">$multipage</div><!--{/if}-->
<!--{/if}-->
</div>

View File

@@ -0,0 +1,17 @@
<!--{subtemplate search/header}-->
<div id="ct" class="w">
<form class="searchform" method="post" autocomplete="off" action="search.php?mod=blog" onsubmit="if($('scform_srchtxt')) searchFocus($('scform_srchtxt'));">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{subtemplate search/pubsearch}-->
<!--{hook/blog_top}-->
</form>
<!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}-->
<!--{subtemplate search/blog_list}-->
<!--{/if}-->
</div>
<!--{hook/blog_bottom}-->
<!--{subtemplate search/footer}-->

View File

@@ -0,0 +1,27 @@
<div class="tl">
<div class="sttl mbn">
<h2><!--{if $keyword}-->{lang search_result_keyword}<!--{else}-->{lang search_result}<!--{/if}--></h2>
</div>
<!--{ad/search/y mtw}-->
<!--{if empty($bloglist)}-->
<p class="emp xs2 xg2">{lang search_nomatch}</p>
<!--{else}-->
<div class="slst mtw">
<ul>
<!--{loop $bloglist $blog}-->
<li class="pbw">
<h3 class="xs3"><a href="home.php?mod=space&uid=$blog[uid]&do=blog&id=$blog[blogid]"{if $blog[magiccolor]} class="magiccolor$blog[magiccolor]"{/if} target="_blank">$blog[subject]</a></h3>
<p class="xg1">$blog[replynum] {lang a_comment} - $blog[viewnum] {lang a_visit} - $blog[hot] {lang heat}</p>
<p>$blog[message]</p>
<p>
<span>$blog[dateline]</span>
-
<span><a href="home.php?mod=space&uid=$blog[uid]" target="_blank">$blog[username]</a></span>
</p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--{if !empty($multipage)}--><div class="pgs cl mbm">$multipage</div><!--{/if}-->
</div>

View File

@@ -0,0 +1,17 @@
<!--{subtemplate search/header}-->
<div id="ct" class="w">
<form class="searchform" method="post" autocomplete="off" action="search.php?mod=collection" onsubmit="if($('scform_srchtxt')) searchFocus($('scform_srchtxt'));">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{subtemplate search/pubsearch}-->
<!--{hook/collection_top}-->
</form>
<!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}-->
<!--{subtemplate search/collection_list}-->
<!--{/if}-->
</div>
<!--{hook/collection_bottom}-->
<!--{subtemplate search/footer}-->

View File

@@ -0,0 +1,20 @@
<div class="tl">
<div class="sttl mbn">
<h2><!--{if $keyword}-->{lang search_result_keyword}<!--{else}-->{lang search_result}<!--{/if}--></h2>
</div>
<!--{ad/search/y mtw}-->
<!--{if empty($collectionlist)}-->
<p class="emp xs2 xg2">{lang search_nomatch}</p>
<!--{else}-->
<div class="slst pbm bbda cl">
<!--{loop $collectionlist $key $value}-->
<dl class="xld xld_a z" style="width: 350px;">
<dt><a href="forum.php?mod=collection&action=view&ctid=$value[ctid]" target="_blank">$value[name]</a></dt>
<dd>{lang threads}: $value[threadnum], {lang comment}: $value[commentnum], {lang subscribe}: $value[follownum], {lang lastupdate}: $value[lastupdate]</dd>
<dd>$value[desc]&nbsp;</dd>
</dl>
<!--{/loop}-->
</div>
<!--{if !empty($multipage)}--><br /><div class="pgs cl mbm">$multipage</div><!--{/if}-->
<!--{/if}-->
</div>

View File

@@ -0,0 +1,48 @@
<!--{eval $focusid = getfocus_rand($_G['basescript']);}-->
<!--{if $focusid !== null}-->
<!--{eval $focus = $_G['cache']['focus']['data'][$focusid];}-->
<div class="focus" id="focus">
<div class="bm">
<div class="bm_h cl">
<a href="javascript:;" onclick="setcookie('nofocus_$focusid', 1, $_G['cache']['focus']['cookie']*3600);$('focus').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}--></h2>
</div>
<div class="bm_c">
<dl class="xld cl bbda">
<dt><a href="{$focus['url']}" class="xi2" target="_blank">$focus['subject']</a></dt>
<!--{if $focus[image]}-->
<dd class="m"><a href="{$focus['url']}" target="_blank"><img src="{$focus['image']}" alt="$focus['subject']" /></a></dd>
<!--{/if}-->
<dd>$focus['summary']</dd>
</dl>
<p class="ptn hm"><a href="{$focus['url']}" class="xi2" target="_blank">{lang focus_show} &raquo;</a></p>
</div>
</div>
</div>
<!--{/if}-->
<!--{ad/footerbanner/wp a_f hm/1}--><!--{ad/footerbanner/wp a_f hm/2}--><!--{ad/footerbanner/wp a_f hm/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}-->
<!--{hook/global_footer}-->
<div id="ft" class="w cl">
<em>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}--></em> &nbsp;
<em>{lang copyright}</em>
<span class="pipe">|</span>
<!--{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[code]<span class="pipe">|</span><!--{/if}--><!--{/loop}-->
<strong><a href="$_G['setting']['siteurl']" target="_blank">$_G['setting']['sitename']</a></strong>
<!--{if $_G['setting']['icp'] || $_G['setting']['mps']}-->( <!--{if $_G['setting']['icp']}--><a href="https://beian.miit.gov.cn/" target="_blank">$_G['setting']['icp']</a><!--{/if}--><!--{if $_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']}--><span class="pipe">| $_G['setting']['statcode']</span><!--{/if}-->
<!--{eval updatesession();}-->
</div>
<!--{if $_G[uid] && !isset($_G['cookie']['checkpm'])}-->
<script language="javascript" type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G[timestamp]"></script>
<!--{/if}-->
<!--{eval output();}-->
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!--{subtemplate search/header}-->
<div id="ct" class="cl w">
<div class="mw">
<form class="searchform" method="post" autocomplete="off" action="search.php?mod=forum" onsubmit="if($('scform_srchtxt')) searchFocus($('scform_srchtxt'));">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{subtemplate search/pubsearch}-->
<!--{hook/forum_top}-->
<!--{eval $policymsgs = $p = '';}-->
<!--{loop $_G['setting']['creditspolicy']['search'] $id $policy}-->
<!--{block policymsg}--><!--{if $_G['setting']['extcredits'][$id][img]}-->$_G['setting']['extcredits'][$id][img] <!--{/if}-->$_G['setting']['extcredits'][$id][title] $policy $_G['setting']['extcredits'][$id][unit]<!--{/block}-->
<!--{eval $policymsgs .= $p.$policymsg;$p = ', ';}-->
<!--{/loop}-->
<!--{if $policymsgs}--><p>{lang search_credit_msg}</p><!--{/if}-->
</form>
<!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}-->
<!--{subtemplate search/thread_list}-->
<!--{/if}-->
</div>
</div>
<!--{hook/forum_bottom}-->
<!--{subtemplate search/footer}-->

View File

@@ -0,0 +1,119 @@
<!--{template search/header}-->
<div id="ct" class="cl w">
<div class="mw">
<form class="searchform" method="post" autocomplete="off" action="search.php?mod=forum" onsubmit="if($('scform_srchtxt')) searchFocus($('scform_srchtxt'));">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{subtemplate search/pubsearch}-->
<!--{eval $policymsgs = $p = '';}-->
<!--{loop $_G['setting']['creditspolicy']['search'] $id $policy}-->
<!--{block policymsg}--><!--{if $_G['setting']['extcredits'][$id][img]}-->$_G['setting']['extcredits'][$id][img] <!--{/if}-->$_G['setting']['extcredits'][$id][title] $policy $_G['setting']['extcredits'][$id][unit]<!--{/block}-->
<!--{eval $policymsgs .= $p.$policymsg;$p = ', ';}-->
<!--{/loop}-->
<!--{if $policymsgs}--><p>{lang search_credit_msg}</p><!--{/if}-->
</form>
<div class="bm bw0">
<div class="sttl mbn"><h2>{lang search_thread_higher}</h2></div>
<div class="bm_c">
<form method="post" autocomplete="off" action="search.php?mod=forum" onsubmit="if($('srchtxt_1')) searchFocus($('srchtxt_1'));">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<table summary="{lang search}" cellspacing="0" cellpadding="0" class="tfm">
<tr>
<th>{lang keywords}</th>
<td>
<input type="text" name="srchtxt" id="srchtxt_1" class="px" size="25" maxlength="40" value="$keyword" />
<!--{if ($_G['group']['allowsearch'] & 32)}--><label><input type="checkbox" name="srchtype" class="pc" value="fulltext" {$fulltextchecked}{if $posttableselect} onclick="if(this.checked){$('seltableid').style.display='';}else{$('seltableid').style.display='none';}"{/if}/>{lang search_fulltext}</label><!--{/if}-->
<!--{if $posttableselect}-->&nbsp; $posttableselect<!--{/if}-->
<script type="text/javascript">initSearchmenu('srchtxt_1');$('srchtxt_1').focus();</script>
</td>
</tr>
<tr>
<th>{lang author}</th>
<td><input type="text" name="srchuname" id="srchname" class="px" size="25" maxlength="40" value="$srchuname" /></td>
</tr>
<tr>
<th>{lang search_thread_range}</th>
<td>
<label class="lb"><input type="radio" class="pr" name="srchfilter" value="all" $srchfilterchecked[all]/>{lang search_thread_range_all}</label>
<label class="lb"><input type="radio" class="pr" name="srchfilter" value="digest" $srchfilterchecked[digest]/>{lang search_thread_range_digest}</label>
<label class="lb"><input type="radio" class="pr" name="srchfilter" value="top" $srchfilterchecked[top] />{lang search_thread_range_top}</label>
</td>
</tr>
<tr>
<th>{lang special_thread}</th>
<td>
<label class="lb"><input type="checkbox" class="pc" name="special[]" value="1"$specialchecked[1] />{lang special_poll}</label>
<label class="lb"><input type="checkbox" class="pc" name="special[]" value="2"$specialchecked[2] />{lang special_trade}</label>
<label class="lb"><input type="checkbox" class="pc" name="special[]" value="3"$specialchecked[3] />{lang special_reward}</label>
<label class="lb"><input type="checkbox" class="pc" name="special[]" value="4"$specialchecked[4] />{lang special_activity}</label>
<label class="lb"><input type="checkbox" class="pc" name="special[]" value="5"$specialchecked[5] />{lang special_debate}</label>
</td>
</tr>
<tr>
<th><label for="srchfrom">{lang search_time}</label></th>
<td>
<select id="srchfrom" name="srchfrom">
<option value="0" $srchfromselected[0]>{lang search_any_date}</option>
<option value="86400"$srchfromselected[86400]>{lang 1_days_ago}</option>
<option value="172800"$srchfromselected[172800]>{lang 2_days_ago}</option>
<option value="604800"$srchfromselected[604800]>{lang 7_days_ago}</option>
<option value="2592000"$srchfromselected[2592000]>{lang 30_days_ago}</option>
<option value="7776000"$srchfromselected[7776000]>{lang 90_days_ago}</option>
<option value="15552000"$srchfromselected[15552000]>{lang 180_days_ago}</option>
<option value="31536000"$srchfromselected[31536000]>{lang 365_days_ago}</option>
</select>
<label class="lb"><input type="radio" class="pr" name="before" value="" $beforechecked[0] />{lang search_newer}</label>
<label class="lb"><input type="radio" class="pr" name="before" value="1" $beforechecked[1]/>{lang search_older}</label>
</td>
</tr>
<tr>
<th><label for="orderby">{lang search_orderby}</label></th>
<td>
<select id="orderby1" name="orderby" class="ps">
<option value="lastpost" $orderbyselected[lastpost]>{lang order_lastpost}</option>
<option value="dateline"$orderbyselected[dateline]>{lang order_starttime}</option>
<option value="replies"$orderbyselected[replies]>{lang order_replies}</option>
<option value="views"$orderbyselected[views]>{lang order_views}</option>
</select>
<select id="orderby2" name="orderby" class="ps" style="position: absolute; display: none" disabled="disabled">
<option value="dateline" selected="selected">{lang dateline}</option>
<option value="price">{lang post_trade_price}</option>
<option value="expiration">{lang trade_remaindays}</option>
</select>
<label class="lb"><input type="radio" class="pr" name="ascdesc" value="asc"$ascchecked[asc] />{lang order_asc}</label>
<label class="lb"><input type="radio" class="pr" name="ascdesc" value="desc"$ascchecked[desc] />{lang order_desc}</label>
</td>
</tr>
<tr>
<th valign="top"><label for="srchfid">{lang search_range}</label></th>
<td>
<select id="srchfid" name="srchfid[]" multiple="multiple" size="10" style="width: 26em;">
<option value="all"{if !$srchfid} selected="selected"{/if}>{lang search_allforum}</option>
$forumselect
</select>
</td>
</tr>
<tr>
<th></th>
<td>
<input type="hidden" name="searchsubmit" value="yes" />
<button type="submit" class="pn pnc"><strong>{lang search}</strong></button>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
<!--{template search/footer}-->

View File

@@ -0,0 +1,22 @@
<!--{subtemplate search/header}-->
<div id="ct" class="w">
<form class="searchform" method="post" autocomplete="off" action="search.php?mod=group" onsubmit="if($('scform_srchtxt')) searchFocus($('scform_srchtxt'));">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="srchfid" value="$srchfid" />
<!--{subtemplate search/pubsearch}-->
<!--{hook/group_top}-->
</form>
<!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}-->
<!--{if $srchfid}-->
<!--{subtemplate search/thread_list}-->
<!--{else}-->
<!--{subtemplate search/group_list}-->
<!--{/if}-->
<!--{/if}-->
</div>
<!--{hook/group_bottom}-->
<!--{subtemplate search/footer}-->

View File

@@ -0,0 +1,63 @@
<div>
<div class="sttl mbn">
<h2><!--{if $keyword && empty($searchstring[2])}-->{lang search_group_result_keyword} <!--{if empty($viewgroup) && !empty($grouplist)}--><a href="search.php?mod=group&searchid=$searchid&orderby=$orderby&ascdesc=$ascdesc&searchsubmit=yes&viewgroup=1" target="_blank">{lang search_group_viewgroup}</a><!--{/if}--><!--{elseif $viewgroup}-->{lang search_group_result}<!--{else}-->{lang search_result}<!--{/if}--></h2>
</div>
<!--{ad/search/y mtw}-->
<!--{if $viewgroup}-->
<!--{if empty($grouplist)}-->
<p class="emp xs2 xg2">{lang search_nomatch}</p>
<!--{else}-->
<div class="slst pbm bbda cl">
<!--{loop $grouplist $group}-->
<dl class="xld xld_a z" style="width: 350px;">
<dd class="m"><a href="forum.php?mod=group&fid=$group[fid]" target="_blank"><img src="$group[icon]" alt="" /></a></dd>
<dt><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><!--{if $group['gviewperm'] == 1}-->({lang public})<!--{/if}--></dt>
<dd>{lang member}: $group[membernum], {lang threads}: $group[threads]</dd>
<dd>{lang credits}: $group[commoncredits], {lang creating_time}: $group[dateline]</dd>
</dl>
<!--{/loop}-->
</div>
<!--{if !empty($multipage)}--><div class="pgs cl mbm">$multipage</div><!--{/if}-->
<!--{/if}-->
<!--{else}-->
<!--{if !empty($grouplist) && $page < 2}-->
<div class="slst pbm bbda cl">
<!--{loop $grouplist $group}-->
<dl class="xld xld_a z" style="width: 350px;">
<dd class="m"><a href="forum.php?mod=group&fid=$group[fid]" target="_blank"><img src="$group[icon]" alt="" /></a></dd>
<dt><a href="forum.php?mod=group&fid=$group[fid]" target="_blank">$group[name]</a><!--{if $group['gviewperm'] == 1}-->({lang public})<!--{/if}--></dt>
<dd>{lang member}: $group[membernum], {lang threads}: $group[threads]</dd>
<dd>{lang credits}: $group[commoncredits], {lang creating_time}: $group[dateline]</dd>
</dl>
<!--{/loop}-->
</div>
<!--{/if}-->
<!--{if !empty($threadlist)}-->
<div class="slst mtw">
<ul>
<!--{loop $threadlist $thread}-->
<li class="pbw">
<h3 class="xs3"><a href="forum.php?mod=viewthread&tid=$thread[tid]&highlight=$index[keywords]" target="_blank" $thread[highlight]>$thread[subject]</a></h3>
<p class="xg1">$thread[replies] {lang a_comment_thread} - $thread[views] {lang a_visit}</p>
<p>$thread[message]</p>
<p>
<span>$thread[dateline]</span>
-
<span>
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]" target="_blank">$thread[author]</a>
<!--{else}-->
<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$thread[authorid]" target="_blank">{$_G['setting']['anonymoustext']}</a><!--{else}-->{$_G['setting']['anonymoustext']}<!--{/if}-->
<!--{/if}-->
</span>
-
<span><a href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank" class="xi1">$thread[forumname]</a></span>
</p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--{if !empty($multipage)}--><div class="pgs cl mbm">$multipage</div><!--{/if}-->
<!--{/if}-->
</div>

View File

@@ -0,0 +1,59 @@
<!--{subtemplate common/header_common}-->
</head>
<body id="nv_search" onkeydown="if(event.keyCode==27) return false;">
<div id="append_parent"></div><div id="ajaxwaitid"></div>
<div id="toptb" class="cl">
<div class="z">
<a href="./" id="navs" class="showmenu xi2" onmouseover="showMenu(this.id)">{lang return_homepage}</a>
</div>
<div class="y">
<!--{if $_G['uid']}-->
<strong><a href="home.php?mod=space" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong>
<a href="javascript:;" id="myspace" class="showmenu xi2" onmouseover="showMenu(this.id);">{lang my_nav}</a>
<!--{hook/global_usernav_extra1}-->
<a href="home.php?mod=spacecp">{lang setup}</a>
<!--{if $_G['uid'] && ($_G['group']['radminid'] == 1 || getstatus($_G['member']['allowadmincp'], 1))}--><a href="admin.php" target="_blank">{lang admincp}</a><!--{/if}-->
<!--{hook/global_usernav_extra2}-->
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
<!--{elseif !empty($_G['cookie']['loginuser'])}-->
<strong><a id="loginuser"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang activation}</a>
<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
<!--{else}-->
<a href="member.php?mod={$_G[setting][regname]}">$_G['setting']['reglinkname']</a>
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang login}</a>
<!--{/if}-->
</div>
</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]
<!--{if $_G['setting']['navs']}-->
<ul class="p_pop h_pop" id="navs_menu" style="display: none">
<!--{loop $_G['setting']['navs'] $nav}-->
<!--{eval $nav_showmenu = strpos((isset($nav['nav']) ? $nav['nav'] : ''), 'onmouseover="showMenu(');}-->
<!--{eval $nav_navshow = strpos((isset($nav['nav']) ? $nav['nav'] : ''), 'onmouseover="navShow(')}-->
<!--{if !isset($nav_hidden) || $nav_hidden !== false || !isset($nav_navshow) || $nav_navshow !== false}-->
<!--{eval $nav['nav'] = preg_replace("/onmouseover\=\"(.*?)\"/i", '',(isset($nav['nav']) ? $nav['nav'] : ''))}-->
<!--{/if}-->
<!--{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[nav]></li><!--{/if}-->
<!--{/loop}-->
</ul>
<!--{/if}-->
<ul id="myspace_menu" class="p_pop" style="display:none;">
<!--{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>

View File

View File

@@ -0,0 +1,17 @@
<!--{subtemplate search/header}-->
<div id="ct" class="w">
<form class="searchform" method="post" autocomplete="off" action="search.php?mod=portal" onsubmit="if($('scform_srchtxt')) searchFocus($('scform_srchtxt'));">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<!--{subtemplate search/pubsearch}-->
<!--{hook/portal_top}-->
</form>
<!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}-->
<!--{subtemplate search/portal_list}-->
<!--{/if}-->
</div>
<!--{hook/portal_bottom}-->
<!--{subtemplate search/footer}-->

View File

@@ -0,0 +1,27 @@
<div class="tl">
<div class="sttl mbn">
<h2><!--{if $keyword}-->{lang search_result_keyword}<!--{else}-->{lang search_result}<!--{/if}--></h2>
</div>
<!--{ad/search/y mtw}-->
<!--{if empty($articlelist)}-->
<p class="emp xg2 xs2">{lang search_nomatch}</p>
<!--{else}-->
<div class="slst mtw">
<ul>
<!--{loop $articlelist $article}-->
<li class="pbw">
<h3 class="xs3"><a href="{echo fetch_article_url($article);}" target="_blank">$article[title]</a></h3>
<p class="xg1">$article[commentnum] {lang a_comment} - $article[viewnum] {lang a_visit}</p>
<p>$article[summary]</p>
<p>
<span>$article[dateline]</span>
-
<span><a href="home.php?mod=space&uid=$article[uid]" target="_blank">$article[username]</a></span>
</p>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
<!--{if !empty($multipage)}--><div class="pgs cl mbm">$multipage</div><!--{/if}-->
</div>

View File

@@ -0,0 +1,83 @@
<!--{eval $keywordenc = $keyword ? rawurlencode($keyword) : '';}-->
<!--{if $searchid || (!empty($_GET['adv']) && CURMODULE == 'forum')}-->
<table id="scform" class="mbm" cellspacing="0" cellpadding="0">
<tr>
<td><h1><a href="search.php" title="$_G['setting']['bbname']">{$_G['style']['searchlogo']}</a></h1></td>
<td>
<div id="scform_tb" class="cl">
<!--{if CURMODULE == 'forum'}-->
<span class="y">
<a href="javascript:;" id="quick_sch" class="showmenu" onmouseover="delayShow(this);">{lang quick}</a>
<!--{if CURMODULE == 'forum'}-->
<a href="search.php?mod=forum&adv=yes$advextra">{lang search_adv}</a>
<!--{/if}-->
</span>
<!--{/if}-->
<!--{if helper_access::check_module('portal') && $_G['setting']['search']['portal']['status'] && ($_G['group']['allowsearch'] & 1 || $_G['adminid'] == 1)}--><!--{block slist['portal']}--><a href="search.php?mod=portal{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'portal'} class="a"{/if}>{lang portal}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('forum') && $_G['setting']['search']['forum']['status'] && ($_G['group']['allowsearch'] & 2 || $_G['adminid'] == 1)}--><!--{block slist['forum']}--><a href="search.php?mod=forum{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'forum'} class="a"{/if}>{lang thread}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('blog') && $_G['setting']['search']['blog']['status'] && ($_G['group']['allowsearch'] & 4 || $_G['adminid'] == 1)}--><!--{block slist['blog']}--><a href="search.php?mod=blog{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'blog'} class="a"{/if}>{lang blog}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('album') && $_G['setting']['search']['album']['status'] && ($_G['group']['allowsearch'] & 8 || $_G['adminid'] == 1)}--><!--{block slist['album']}--><a href="search.php?mod=album{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'album'} class="a"{/if}>{lang album}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('group') && $_G['setting']['search']['group']['status'] && ($_G['group']['allowsearch'] & 16 || $_G['adminid'] == 1)}--><!--{block slist['group']}--><a href="search.php?mod=group{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'group'} class="a"{/if}>$_G['setting']['navs'][3]['navname']</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('collection') && $_G['setting']['search']['collection']['status'] && ($_G['group']['allowsearch'] & 64 || $_G['adminid'] == 1)}--><!--{block slist['collection']}--><a href="search.php?mod=collection{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'collection'} class="a"{/if}>{lang collection}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('friend') }--><!--{block slist['user']}--><a href="search.php?mod=user{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'user'} class="a"{/if}>{lang users}</a><!--{/block}--><!--{/if}-->
<!--{echo implode("", $slist);}-->
</div>
<table id="scform_form" cellspacing="0" cellpadding="0">
<tr>
<td class="td_srchtxt"><input type="text" id="scform_srchtxt" name="srchtxt" size="45" maxlength="40" value="$keyword" x-webkit-speech speech /><script type="text/javascript">initSearchmenu('scform_srchtxt');$('scform_srchtxt').focus();</script></td>
<td class="td_srchbtn"><input type="hidden" name="searchsubmit" value="yes" /><button type="submit" id="scform_submit" class="schbtn"><strong>{lang search}</strong></button></td>
</tr>
</table>
</td>
</tr>
</table>
<!--{else}-->
<!--{if !empty($srchtype)}--><input type="hidden" name="srchtype" value="$srchtype" /><!--{/if}-->
<!--{if $srchtype != 'threadsort'}-->
<div class="hm mtw ptw pbw"><h1 class="mtw ptw"><a href="./" title="$_G['setting']['bbname']">{$_G['style']['searchlogo']}</a></h1></div>
<table id="scform" cellspacing="0" cellpadding="0" style="margin: 0 auto;">
<tr>
<td id="scform_tb" class="xs2">
<!--{if CURMODULE == 'forum'}-->
<span class="y xs1">
<a href="javascript:;" id="quick_sch" class="showmenu" onmouseover="delayShow(this);">{lang quick}</a>
<!--{if CURMODULE == 'forum'}-->
<a href="search.php?mod=forum&adv=yes">{lang search_adv}</a>
<!--{/if}-->
</span>
<!--{/if}-->
<!--{if helper_access::check_module('portal') && $_G['setting']['search']['portal']['status'] && ($_G['group']['allowsearch'] & 1 || $_G['adminid'] == 1)}--><!--{block slist['portal']}--><a href="search.php?mod=portal{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'portal'} class="a"{/if}>{lang portal}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('forum') && $_G['setting']['search']['forum']['status'] && ($_G['group']['allowsearch'] & 2 || $_G['adminid'] == 1)}--><!--{block slist['forum']}--><a href="search.php?mod=forum{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'forum'} class="a"{/if}>{lang thread}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('blog') && $_G['setting']['search']['blog']['status'] && ($_G['group']['allowsearch'] & 4 || $_G['adminid'] == 1) && helper_access::check_module('blog')}--><!--{block slist['blog']}--><a href="search.php?mod=blog{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'blog'} class="a"{/if}>{lang blog}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('album') && $_G['setting']['search']['album']['status'] && ($_G['group']['allowsearch'] & 8 || $_G['adminid'] == 1) && helper_access::check_module('album')}--><!--{block slist['album']}--><a href="search.php?mod=album{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'album'} class="a"{/if}>{lang album}</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('group') && $_G['setting']['search']['group']['status'] && ($_G['group']['allowsearch'] & 16 || $_G['adminid'] == 1)}--><!--{block slist['group']}--><a href="search.php?mod=group{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'group'} class="a"{/if}>$_G['setting']['navs'][3]['navname']</a><!--{/block}--><!--{/if}-->
<!--{if helper_access::check_module('collection') && $_G['setting']['search']['collection']['status'] && ($_G['group']['allowsearch'] & 64 || $_G['adminid'] == 1)}--><!--{block slist['collection']}--><a href="search.php?mod=collection{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'collection'} class="a"{/if}>{lang collection}</a><!--{/block}--><!--{/if}-->
<!--{echo implode("", $slist);}-->
<!--{if helper_access::check_module('friend') }--><a href="search.php?mod=user{if $keyword}&srchtxt=$keywordenc&searchsubmit=yes{/if}"{if CURMODULE == 'user'} class="a"{/if}>{lang user}</a><!--{/if}-->
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" id="scform_form">
<tr>
<td class="td_srchtxt"><input type="text" id="scform_srchtxt" name="srchtxt" size="65" maxlength="40" value="$keyword" /><script type="text/javascript">initSearchmenu('scform_srchtxt');$('scform_srchtxt').focus();</script></td>
<td class="td_srchbtn"><input type="hidden" name="searchsubmit" value="yes" /><button type="submit" id="scform_submit" value="true"><strong>{lang search}</strong></button></td>
</tr>
</table>
</td>
</tr>
</table>
<!--{/if}-->
<!--{/if}-->
<!--{if CURMODULE == 'forum'}-->
<ul id="quick_sch_menu" class="p_pop" style="display: none;">
<li><a href="search.php?mod=forum&srchfrom=3600&searchsubmit=yes">{lang search_quick_hour_1}</a></li>
<li><a href="search.php?mod=forum&srchfrom=14400&searchsubmit=yes">{lang search_quick_hour_4}</a></li>
<li><a href="search.php?mod=forum&srchfrom=28800&searchsubmit=yes">{lang search_quick_hour_8}</a></li>
<li><a href="search.php?mod=forum&srchfrom=86400&searchsubmit=yes">{lang search_quick_hour_24}</a></li>
<li><a href="search.php?mod=forum&srchfrom=604800&searchsubmit=yes">{lang search_quick_day_7}</a></li>
<li><a href="search.php?mod=forum&srchfrom=2592000&searchsubmit=yes">{lang search_quick_day_30}</a></li>
<li><a href="search.php?mod=forum&srchfrom=15552000&searchsubmit=yes">{lang search_quick_day_180}</a></li>
<li><a href="search.php?mod=forum&srchfrom=31536000&searchsubmit=yes">{lang search_quick_day_365}</a></li>
</ul>
<!--{/if}-->

View File

@@ -0,0 +1,51 @@
<!--{template common/header}-->
<input type="hidden" name="selectsortid" value="$_G['forum_selectsortid']" />
<input type="hidden" name="srchtype" value="threadsort" />
<input type="hidden" name="fid" value="$srchfid" />
<!--{loop $_G['forum_optionlist'] $optionid $option}-->
<!--{if $option['search']}-->
<tr><th>$option[title]</th>
<td>
<!--{if in_array($option['type'], array('number', 'text', 'email', 'calendar', 'image', 'url', 'textarea'))}-->
<!--{if $option['type'] == 'calendar'}-->
<script type="text/javascript" src="{$_G['setting']['jspath']}calendar.js?{VERHASH}"></script>
<input type="text" name="searchoption[$optionid][value]" size="45" value="$option[value]" onclick="showcalendar(event, this, false)" />
<!--{elseif $option['type'] == 'number'}-->
<select name="searchoption[$optionid][condition]">
<option value="0">{lang equal_to}</option>
<option value="1">{lang more_than}</option>
<option value="2">{lang lower_than}</option>
</select>&nbsp;&nbsp;
<input type="text" name="searchoption[$optionid][value]" size="35" value="$option[value]" />
<input type="hidden" name="searchoption[$optionid][type]" value="number">
<!--{else}-->
<input type="text" name="searchoption[$optionid][value]" size="45" value="$option[value]" />
<!--{/if}-->
<!--{elseif in_array($option['type'], array('radio', 'checkbox', 'select'))}-->
<!--{if $option[type] == 'select'}-->
<select name="searchoption[$optionid][value]">
<option value="0">{lang unlimited}</option>
<!--{loop $option['choices'] $id $value}-->
<option value="$id" $option['value'][$id]>$value</option>
<!--{/loop}-->
</select>
<input type="hidden" name="searchoption[$optionid][type]" value="select">
<!--{elseif $option['type'] == 'radio'}-->
<!--{loop $option['choices'] $id $value}-->
<input type="radio" class="pr" name="searchoption[$optionid][value]" size="45" value="$id" $option['value'][$id]> $value
<!--{/loop}-->
<input type="hidden" name="searchoption[$optionid][type]" value="radio">
<!--{elseif $option['type'] == 'checkbox'}-->
<!--{loop $option['choices'] $id $value}-->
<input type="checkbox" class="pc" name="searchoption[$optionid][value][]" size="45" value="$id" $option['value'][$id][$id] /> $value
<!--{/loop}-->
<input type="hidden" name="searchoption[$optionid][type]" value="checkbox">
<!--{/if}-->
<!--{/if}-->
$option[unit]
</td></tr>
<!--{/if}-->
<!--{/loop}-->
<!--{template common/footer}-->

View File

@@ -0,0 +1,52 @@
<div class="tl">
<div class="sttl mbn">
<h2><!--{if $keyword}-->{lang search_result_keyword} <!--{if $modfid}--><a href="forum.php?mod=modcp&action=thread&fid=$modfid&keywords=$modkeyword&submit=true&do=search&page=$page" target="_blank">{lang goto_memcp}</a><!--{/if}--><!--{else}-->{lang search_result}<!--{/if}--></h2>
</div>
<!--{ad/search/y mtw}-->
<!--{if empty($threadlist)}-->
<p class="emp xs2 xg2">{lang search_nomatch}</p>
<!--{else}-->
<div class="slst mtw" id="threadlist" {if $modfid} style="position: relative;"{/if}>
<!--{if $modfid}-->
<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&action=moderate&fid=$modfid&infloat=yes&nopost=yes">
<!--{/if}-->
<ul>
<!--{loop $threadlist $thread}-->
<li class="pbw" id="$thread[tid]">
<h3 class="xs3">
<!--{if $modfid}-->
<!--{if $thread['fid'] == $modfid && ($thread['displayorder'] <= 3 || $_G['adminid'] == 1)}-->
<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />&nbsp;
<!--{else}-->
<input type="checkbox" disabled="disabled" />&nbsp;
<!--{/if}-->
<!--{/if}-->
<a href="forum.php?mod=viewthread&tid=$thread[realtid]&highlight=$index[keywords]" target="_blank" $thread[highlight]>$thread[subject]</a>
</h3>
<p class="xg1">$thread[replies] {lang a_comment_thread} - $thread[views] {lang a_visit}</p>
<p><!--{if !$thread['price'] && !$thread['readperm']}-->$thread[message]<!--{else}-->{lang thread_list_message1}<!--{/if}--></p>
<p>
<span>$thread[dateline]</span>
-
<span>
<!--{if $thread['authorid'] && $thread['author']}-->
<a href="home.php?mod=space&uid=$thread[authorid]" target="_blank">$thread[author]</a>
<!--{else}-->
<!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$thread[authorid]" target="_blank">{$_G['setting']['anonymoustext']}</a><!--{else}-->{$_G['setting']['anonymoustext']}<!--{/if}-->
<!--{/if}-->
</span>
-
<span><a href="forum.php?mod=forumdisplay&fid=$thread[fid]" target="_blank" class="xi1">$thread[forumname]</a></span>
</p>
</li>
<!--{/loop}-->
</ul>
<!--{if $modfid}-->
<script type="text/javascript" src="{$_G[setting][jspath]}forum_moderate.js?{VERHASH}"></script>
<!--{template forum/topicadmin_modlayer}-->
</form>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{if !empty($multipage)}--><div class="pgs cl mbm">$multipage</div><!--{/if}-->
</div>