Added:
trunk/upload/include/template.func.php
trunk/upload/templates/babel/showmessage_other.htm
Modified:
trunk/upload/include/global.func.php
trunk/upload/templates/babel/announcement.htm
trunk/upload/templates/babel/digest.htm
trunk/upload/templates/babel/discuz.htm
trunk/upload/templates/babel/expense_view.htm
trunk/upload/templates/babel/faq.htm
trunk/upload/templates/babel/footer.htm
trunk/upload/templates/babel/forumdisplay.htm
trunk/upload/templates/babel/geo_home.htm
trunk/upload/templates/babel/header.htm
trunk/upload/templates/babel/login.htm
trunk/upload/templates/babel/login_secques.htm
trunk/upload/templates/babel/lostpasswd.htm
trunk/upload/templates/babel/memberlist.htm
trunk/upload/templates/babel/memcp_credits.htm
trunk/upload/templates/babel/memcp_home.htm
trunk/upload/templates/babel/memcp_misc.htm
trunk/upload/templates/babel/memcp_profile.htm
trunk/upload/templates/babel/memcp_usergroups.htm
trunk/upload/templates/babel/my.htm
trunk/upload/templates/babel/new_features.htm
trunk/upload/templates/babel/nopermission.htm
trunk/upload/templates/babel/now.htm
trunk/upload/templates/babel/now_new.htm
trunk/upload/templates/babel/now_stats.htm
trunk/upload/templates/babel/plugin_valentine.htm
trunk/upload/templates/babel/plugin_valentine_new.htm
trunk/upload/templates/babel/pm.htm
trunk/upload/templates/babel/post_editpost.htm
trunk/upload/templates/babel/post_newreply.htm
trunk/upload/templates/babel/post_newthread.htm
trunk/upload/templates/babel/rate.htm
trunk/upload/templates/babel/rate_view.htm
trunk/upload/templates/babel/register.htm
trunk/upload/templates/babel/search.htm
trunk/upload/templates/babel/search_threads.htm
trunk/upload/templates/babel/section.htm
trunk/upload/templates/babel/session.htm
trunk/upload/templates/babel/showmessage.htm
trunk/upload/templates/babel/tod.htm
trunk/upload/templates/babel/topic.htm
trunk/upload/templates/babel/topicadmin_copy.htm
trunk/upload/templates/babel/topicadmin_merge.htm
trunk/upload/templates/babel/topicadmin_moderate.htm
trunk/upload/templates/babel/topicadmin_split.htm
trunk/upload/templates/babel/touch_view.htm
trunk/upload/templates/babel/viewpro_classic.htm
trunk/upload/templates/babel/viewthread.htm
trunk/upload/templates/babel/whosonline.htm
Log:
Template Function Update
Modified: trunk/upload/include/global.func.php
==============================================================================
--- trunk/upload/include/global.func.php (original)
+++ trunk/upload/include/global.func.php Mon Jun 9 00:55:11 2008
@@ -79,6 +79,30 @@
}
}
+
+function checkmd5($md5, $verified, $salt = '') {
+ if(md5($md5.$salt) == $verified) {
+ $result = !empty($salt) ? 1 : 2;
+ } elseif(empty($salt)) {
+ $result = $md5 == $verified ? 3 : ((strlen($verified) == 16 && substr($md5, 8, 16) == $verified) ? 4 : 0);
+ } else {
+ $result = 0;
+ }
+ return $result;
+}
+
+function checktplrefresh($maintpl, $subtpl, $timecompare, $templateid, $tpldir) {
+ global $tplrefresh;
+ if(empty($timecompare) || $tplrefresh == 1 || ($tplrefresh > 1 && !($GLOBALS['timestamp'] % $tplrefresh))) {
+ if(empty($timecompare) || @filemtime($subtpl) > $timecompare) {
+ require_once DISCUZ_ROOT.'./include/template.func.php';
+ parse_template($maintpl, $templateid, $tpldir);
+ return TRUE;
+ }
+ }
+ return FALSE;
+}
+
function cutstr($string, $length, $dot = ' ...') {
global $charset;
@@ -795,22 +819,18 @@
}
function template($file, $templateid = 0, $tpldir = '') {
- global $tplrefresh;
-
+ global $inajax;
+ $file .= $inajax && ($file == 'header' || $file == 'footer') ? '_ajax' : '';
$tpldir = $tpldir ? $tpldir : TPLDIR;
$templateid = $templateid ? $templateid : TEMPLATEID;
$tplfile = DISCUZ_ROOT.'./'.$tpldir.'/'.$file.'.htm';
$objfile = DISCUZ_ROOT.'./forumdata/templates/'.$templateid.'_'.$file.'.tpl.php';
- if(TEMPLATEID != 1 && $templateid != 1 && !file_exists($tplfile)) {
- return template($file, 1, './templates/default/');
- }
- if($tplrefresh == 1 || ($tplrefresh > 1 && substr($GLOBALS['timestamp'], -1) > $tplrefresh)) {
- if(@filemtime($tplfile) > @filemtime($objfile)) {
- require_once DISCUZ_ROOT.'./include/template.func.php';
- parse_template($file, $templateid, $tpldir);
- }
+ if($templateid != 1 && !file_exists($tplfile)) {
+ $tplfile = DISCUZ_ROOT.'./templates/default/'.$file.'.htm';
}
+ @checktplrefresh($tplfile, $tplfile, filemtime($objfile), $templateid, $tpldir);
+
return $objfile;
}
Added: trunk/upload/include/template.func.php
==============================================================================
--- (empty file)
+++ trunk/upload/include/template.func.php Mon Jun 9 00:55:11 2008
@@ -0,0 +1,161 @@
+<?php
+
+/*
+ [Discuz!] (C)2001-2007 Comsenz Inc.
+ This is NOT a freeware, use is subject to license terms
+
+ $RCSfile: template.func.php,v $
+ $Revision: 1.17.2.2 $
+ $Date: 2007/03/21 15:52:38 $
+*/
+
+if(!defined('IN_DISCUZ')) {
+ exit('Access Denied');
+}
+
+function parse_template($tplfile, $templateid, $tpldir) {
+ global $language, $subtemplates, $timestamp;
+
+ $nest = 5;
+ $file = basename($tplfile, '.htm');
+ $objfile = DISCUZ_ROOT."./forumdata/templates/{$templateid}_$file.tpl.php";
+
+ if(!@$fp = fopen($tplfile, 'r')) {
+ dexit("Current template file './$tpldir/$file.htm' not found or have no access!");
+ } elseif($language['discuz_lang'] != 'templates' && !include language('templates', $templateid, $tpldir)) {
+ dexit("<br />Current template pack do not have a necessary language file 'templates.lang.php' or have syntax error!");
+ }
+
+ $template = @fread($fp, filesize($tplfile));
+ fclose($fp);
+
+ $var_regexp = "((\\\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)(\[[a-zA-Z0-9_\-\.\"\'\[\]\$\x7f-\xff]+\])*)";
+ $const_regexp = "([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)";
+
+ $subtemplates = array();
+ for($i = 1; $i<=3; $i++) {
+ if(strexists($template, '{subtemplate')) {
+ $template = preg_replace("/[\n\r\t]*\{subtemplate\s+([a-z0-9_]+)\}[\n\r\t]*/ies", "loadsubtemplate('\\1')", $template);
+ }
+ }
+
+ //$template = preg_replace("/([\n\r]+)\t+/s", "\\1", $template);
+ $template = preg_replace("/\<\!\-\-\{(.+?)\}\-\-\>/s", "{\\1}", $template);
+ $template = preg_replace("/\{lang\s+(.+?)\}/ies", "languagevar('\\1')", $template);
+ $template = preg_replace("/\{faq\s+(.+?)\}/ies", "faqvar('\\1')", $template);
+ $template = str_replace("{LF}", "<?=\"\\n\"?>", $template);
+
+ $template = preg_replace("/\{(\\\$[a-zA-Z0-9_\[\]\'\"\$\.\x7f-\xff]+)\}/s", "<?=\\1?>", $template);
+ $template = preg_replace("/$var_regexp/es", "addquote('<?=\\1?>')", $template);
+ $template = preg_replace("/\<\?\=\<\?\=$var_regexp\?\>\?\>/es", "addquote('<?=\\1?>')", $template);
+
+ $headeradd = '';
+ if(!empty($subtemplates)) {
+ $headeradd .= "\n0\n";
+ foreach ($subtemplates as $fname) {
+ $headeradd .= "|| checktplrefresh('$tplfile', '$fname', $timestamp, '$templateid', '$tpldir')\n";
+ }
+ $headeradd .=";";
+ }
+
+ $template = "<? if(!defined('IN_DISCUZ')) exit('Access Denied'); {$headeradd}?>\n$template";
+
+ $template = preg_replace("/[\n\r\t]*\{template\s+([a-z0-9_]+)\}[\n\r\t]*/is", "\n<? include template('\\1'); ?>\n", $template);
+ $template = preg_replace("/[\n\r\t]*\{template\s+(.+?)\}[\n\r\t]*/is", "\n<? include template('\\1'); ?>\n", $template);
+ $template = preg_replace("/[\n\r\t]*\{eval\s+(.+?)\}[\n\r\t]*/ies", "stripvtags('<? \\1 ?>','')", $template);
+ $template = preg_replace("/[\n\r\t]*\{echo\s+(.+?)\}[\n\r\t]*/ies", "stripvtags('<? echo \\1; ?>','')", $template);
+ $template = preg_replace("/([\n\r\t]*)\{elseif\s+(.+?)\}([\n\r\t]*)/ies", "stripvtags('\\1<? } elseif(\\2) { ?>\\3','')", $template);
+ $template = preg_replace("/([\n\r\t]*)\{else\}([\n\r\t]*)/is", "\\1<? } else { ?>\\2", $template);
+
+ for($i = 0; $i < $nest; $i++) {
+ $template = preg_replace("/[\n\r\t]*\{loop\s+(\S+)\s+(\S+)\}[\n\r]*(.+?)[\n\r]*\{\/loop\}[\n\r\t]*/ies", "stripvtags('<? if(is_array(\\1)) { foreach(\\1 as \\2) { ?>','\\3<? } } ?>')", $template);
+ $template = preg_replace("/[\n\r\t]*\{loop\s+(\S+)\s+(\S+)\s+(\S+)\}[\n\r\t]*(.+?)[\n\r\t]*\{\/loop\}[\n\r\t]*/ies", "stripvtags('<? if(is_array(\\1)) { foreach(\\1 as \\2 => \\3) { ?>','\\4<? } } ?>')", $template);
+ $template = preg_replace("/([\n\r\t]*)\{if\s+(.+?)\}([\n\r]*)(.+?)([\n\r]*)\{\/if\}([\n\r\t]*)/ies", "stripvtags('\\1<? if(\\2) { ?>\\3','\\4\\5<? } ?>\\6')", $template);
+ }
+
+ $template = preg_replace("/\{$const_regexp\}/s", "<?=\\1?>", $template);
+ $template = preg_replace("/ \?\>[\n\r]*\<\? /s", " ", $template);
+
+ if(!@$fp = fopen($objfile, 'w')) {
+ dexit("Directory './forumdata/templates/' not found or have no access!");
+ }
+
+ $template = preg_replace("/\"(http)?[\w\.\/:]+\?[^\"]+?&[^\"]+?\"/e", "transamp('\\0')", $template);
+ $template = preg_replace("/\<script[^\>]*?src=\"(.+?)\".*?\>\s*\<\/script\>/ise", "stripscriptamp('\\1')", $template);
+
+ $template = preg_replace("/[\n\r\t]*\{block\s+([a-zA-Z0-9_]+)\}(.+?)\{\/block\}/ies", "stripblock('\\1', '\\2')", $template);
+ flock($fp, 2);
+ fwrite($fp, $template);
+ fclose($fp);
+}
+
+function loadsubtemplate($file, $templateid = 0, $tpldir = '') {
+ global $subtemplates;
+ $tpldir = $tpldir ? $tpldir : TPLDIR;
+ $templateid = $templateid ? $templateid : TEMPLATEID;
+
+ $tplfile = DISCUZ_ROOT.'./'.$tpldir.'/'.$file.'.htm';
+ if($templateid != 1 && !file_exists($tplfile)) {
+ $tplfile = DISCUZ_ROOT.'./templates/default/'.$file.'.htm';
+ }
+
+ $subtemplates[] = $tplfile;
+ return @implode('', file($tplfile));
+}
+
+function transamp($str) {
+ $str = str_replace('&', '&', $str);
+ $str = str_replace('&amp;', '&', $str);
+ $str = str_replace('\"', '"', $str);
+ return $str;
+}
+
+function addquote($var) {
+ return str_replace("\\\"", "\"", preg_replace("/\[([a-zA-Z0-9_\-\.\x7f-\xff]+)\]/s", "['\\1']", $var));
+}
+
+function languagevar($var) {
+ if(isset($GLOBALS['language'][$var])) {
+ return $GLOBALS['language'][$var];
+ } else {
+ return "!$var!";
+ }
+}
+
+function faqvar($var) {
+ global $_DCACHE;
+ include_once DISCUZ_ROOT.'./forumdata/cache/cache_faqs.php';
+
+ if(isset($_DCACHE['faqs'][$var])) {
+ return '<a href="faq.php?action=message&id='.$_DCACHE['faqs'][$var]['id'].'" target="_blank">'.$_DCACHE['faqs'][$var]['keyword'].'</a>';
+ } else {
+ return "!$var!";
+ }
+}
+
+function stripvtags($expr, $statement) {
+ $expr = str_replace("\\\"", "\"", preg_replace("/\<\?\=(\\\$.+?)\?\>/s", "\\1", $expr));
+ $statement = str_replace("\\\"", "\"", $statement);
+ return $expr.$statement;
+}
+
+function stripscriptamp($s) {
+ $s = str_replace('&', '&', $s);
+ return "<script src=\"$s\" type=\"text/javascript\"></script>";
+}
+
+function stripblock($var, $s) {
+ $s = str_replace('\\"', '"', $s);
+ $s = preg_replace("/<\?=\\\$(.+?)\?>/", "{\$\\1}", $s);
+ preg_match_all("/<\?=(.+?)\?>/e", $s, $constary);
+ $constadd = '';
+ $constary[1] = array_unique($constary[1]);
+ foreach($constary[1] as $const) {
+ $constadd .= '$__'.$const.' = '.$const.';';
+ }
+ $s = preg_replace("/<\?=(.+?)\?>/", "{\$__\\1}", $s);
+ $s = str_replace('?>', "\n\$$var .= <<<EOF\n", $s);
+ $s = str_replace('<?', "\nEOF;\n", $s);
+ return "<?\n$constadd\$$var = <<<EOF\n".$s."\nEOF;\n?>";
+}
+?>
\ No newline at end of file
Modified: trunk/upload/templates/babel/announcement.htm
==============================================================================
--- trunk/upload/templates/babel/announcement.htm (original)
+++ trunk/upload/templates/babel/announcement.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> » {lang announcements}
</div></div>
@@ -23,4 +23,4 @@
<div class="subtable" style="width: {TABLEWIDTH}; margin-top: {TABLESPACE}px">
$multipage
</div>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/digest.htm
==============================================================================
--- trunk/upload/templates/babel/digest.htm (original)
+++ trunk/upload/templates/babel/digest.htm Mon Jun 9 00:55:11 2008
@@ -1,13 +1,10 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
-<a href="$indexname">$bbname</a> » {lang digest}
-</div><br>
-
-<div class="subtable" style="width: {TABLEWIDTH}">
+<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /> <a href="$bbsdir/$indexname">$bbname</a> » {lang digest}
+</div></div>
+<div class="maintable" align="left">
$multipage
-</div>
-
-<div class="spaceborder" style="width: {TABLEWIDTH}; clear: both">
+<hr class="board" />
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center" style="table-layout: fixed; word-wrap: break-word">
<tr class="header">
<td align="center" width="43%">{lang subject}</td>
@@ -46,19 +43,27 @@
<img src="{IMGDIR}/digest_$thread[digest].gif" alt="{lang thread_digest} $thread[digest]" />
<!--{/if}-->
</div>
- <a href="viewthread.php?tid=$thread[tid]&highlight=$index[keywords]" target="_blank" $thread[highlight]>$thread[subject]</a><span class="smalltxt">$thread[multipage]</span></td>
- <td align="center"><a href="forumdisplay.php?fid=$thread[fid]">$thread[forumname]</a></td>
+ <a href="viewthread.php?tid=$thread[tid]" target="_blank" $thread[highlight]>$thread[subject]</a><span class="smalltxt">$thread[multipage]</span></td>
+ <td align="center"><a href="$bbsdir/forumdisplay.php?fid=$thread[fid]">$thread[forumname]</a></td>
<td align="center">
- <!--{if $thread['authorid']}--><a href="space.php?uid=$thread[authorid]">$thread[author]</a><!--{else}-->{lang anonymous}<!--{/if}-->
+ <!--{if $thread['authorid']}--><a href="$bbsdir/space.php?uid=$thread[authorid]">$thread[author]</a><!--{else}-->{lang anonymous}<!--{/if}-->
<br><span class="smalltxt lighttxt">$thread[dateline]</span></td>
<td align="center">$thread[replies] / <span class="lighttxt">$thread[views]</span></td>
- <td align="center" nowrap><!--{if $thread['lastposter']}--><a href="space.php?username=$thread[lastposterenc]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--><br>
- <span class="smalltxt"><a href="redirect.php?tid=$thread[tid]&goto=lastpost&highlight=$index[keywords]#lastpost">$thread[lastpost]</a></span>
+ <td align="center" nowrap><!--{if $thread['lastposter']}--><a href="$bbsdir/space.php?username=$thread[lastposterenc]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--><br>
+ <span class="smalltxt"><a href="$bbsdir/redirect.php?tid=$thread[tid]&goto=lastpost&highlight=$index[keywords]#lastpost">$thread[lastpost]</a></span>
</td>
</tr>
<!--{/loop}-->
+</table>
+<hr class="board" />
+$multipage
+</div>
-<form method="post" action="digest.php">
+<div class="maintable" align="left">
+<img src="{IMGDIR}/star.png" align="absmiddle"> ���°�龫����
+<hr class="board" />
+<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center" style="table-layout: fixed; word-wrap: break-word">
+<form method="post" action="$bbsdir/digest.php">
<input type="hidden" name="formhash" value="{FORMHASH}">
<tr>
<td class="altbg2" colspan="6">{lang keyword}: <input type="text" size="15" name="keyword" value="$keyword">
@@ -82,9 +87,8 @@
<input class="checkbox" type="checkbox" name="forums[]" value="$forum[fid]" $forumcheck[$forum[fid]]> $forum[name]
<!--{/loop}-->
</tr></table>
-</form></td></tr></table></div>
-
-<div class="subtable" style="width: {TABLEWIDTH}">
-$multipage
+</form></td></tr>
+</table>
</div>
-{template footer}
\ No newline at end of file
+
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/discuz.htm
==============================================================================
--- trunk/upload/templates/babel/discuz.htm (original)
+++ trunk/upload/templates/babel/discuz.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<!--{if empty($gid)}-->
<img src="{IMGDIR}/special.png" />
<hr class="board" />
@@ -25,7 +25,7 @@
<!--{if empty($gid)}-->
<!--{if !empty($newpmexists) || $announcepm}-->
<div class="maintable" align="left">
- {template pmprompt}
+ {subtemplate pmprompt}
</div>
<!--{/if}-->
<!--{eval $js_home_tabs= autoVer($jsdir.'/home_tabs.js');}-->
@@ -102,12 +102,12 @@
<!--{if empty($gid)}-->
<div class="maintable" align="left">
<img src="{IMGDIR}/star.png" align="absmiddle" /> ���������������־�ղ���
-<table width="100%" cellpadding="0" cellspacing="0" border="0" class="fav">
-{template i_fav}
+<table width="99%" cellpadding="0" cellspacing="0" border="0" class="fav">
+{subtemplate i_fav}
</table>
</div>
-{template i_avatar}
+{subtemplate i_avatar}
<!--{if $supe['status'] && $supe['items']['status'] && $_DCACHE['supe_updateitems']}-->
<div class="maintable" align="left">
@@ -188,4 +188,4 @@
}
</script>
-{template footer}
+{subtemplate footer}
Modified: trunk/upload/templates/babel/expense_view.htm
==============================================================================
--- trunk/upload/templates/babel/expense_view.htm (original)
+++ trunk/upload/templates/babel/expense_view.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/index.php">$bbname</a> » �ҵ���Ѽ�¼</div>
<div class="maintable" align="left">
<span class="text_large"><img src="{IMGDIR}/ico_expense.gif" align="absmiddle" class="home" />�ҵ���Ѽ�¼ </span>
@@ -24,4 +24,4 @@
<img src="{IMGDIR}/information.gif" align="absmiddle" /> $credit[title]��ɶ�ã�
<hr class="board" />
<span class="tip">��������־�����������ҪȦȦ�������˻ظ��������ʱ���ͻ���ȦȦ���롣<br /><br />���ص���ȦȦ���⣬��֪��ɽ��ˮ������·��ȦȦ�Ի��ǽ���</span>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/faq.htm
==============================================================================
--- trunk/upload/templates/babel/faq.htm (original)
+++ trunk/upload/templates/babel/faq.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> »
<!--{if !$action}-->{lang faq}<!--{else}--><a href="faq.php">{lang faq}</a> $navigation<!--{/if}-->
@@ -51,4 +51,4 @@
</div><br>
<!--{/loop}-->
<!--{/if}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/footer.htm
==============================================================================
--- trunk/upload/templates/babel/footer.htm (original)
+++ trunk/upload/templates/babel/footer.htm Mon Jun 9 00:55:11 2008
@@ -14,7 +14,7 @@
</div>
</div>
-<div id="bottom"><small><a href="http://saicn.com/bbs/" target="_blank">Project Parasynthesis</a> | Based on <a href="http://www.discuz.net" target="_blank">Discuz!</a> $version | Thanks to <a href="http://www.livid.cn" target="_blank">Livid</a><br /><a href="$bbsdir/about">About</a> | <a href="$bbsdir/faq.nnm">Help</a> | <a href="http://saicn.com/bbs/go/Parasy"> Developer</a> | <a href="http://n2design.cn" target="_blank">N2Design</a><br /><a href="member.php?action=clearcookies&formhash={FORMHASH}" class="ch_font">{lang clear_cookies}</a> - <a href="mailto:$adminemail" class="ch_font">{lang contactus}</a> - <a href="$siteurl" target="_blank" class="ch_font">$sitename</a>
+<div id="bottom"><small><a href="http://saicn.com/bbs/" target="_blank">Project Parasynthesis</a> | Based on <a href="http://www.discuz.net" target="_blank">Discuz!</a> $version | Thanks to <a href="http://www.livid.cn" target="_blank">Livid</a><br /><a href="$bbsdir/about">About</a> | <a href="$bbsdir/faq.nnm">Help</a> | <a href="http://saicn.com/bbs/go/Parasy"> Developer</a> | <a href="http://saicn.com" target="_blank">N2Design</a><br /><a href="$bbsdir/member.php?action=clearcookies&formhash={FORMHASH}" class="ch_font">{lang clear_cookies}</a> - <a href="mailto:$adminemail" class="ch_font">{lang contactus}</a> - <a href="$siteurl" target="_blank" class="ch_font">$sitename</a>
<!--{if $archiverstatus}--> - <a href="archiver/" target="_blank">Archiver</a><!--{/if}-->
- <a href="m" target="_blank">Mobile</a><br />
<!--{if debuginfo()}-->
@@ -22,9 +22,9 @@
<!--{/if}--></small></span>
{eval updatesession();}
</div></div></div>
-<!--{if !empty($jsmenu) && (empty($bbclosed) || $adminid == 1)}-->{template jsmenu}<!--{/if}-->
+
<!--{if $_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes'}-->
<script type="text/javascript" src="include/javascript/iframe.js"></script>
<!--{/if}-->
</body></html>
-{eval output();}
\ No newline at end of file
+{eval output();}
Modified: trunk/upload/templates/babel/forumdisplay.htm
==============================================================================
--- trunk/upload/templates/babel/forumdisplay.htm (original)
+++ trunk/upload/templates/babel/forumdisplay.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable" style="width:{TABLEWIDTH}">
<div class="right" style="margin-top: 5px;">
@@ -25,13 +25,13 @@
<span class="text_large">
<img src="$forum_pic" align="right" class="portrait" />
<img src="{IMGDIR}/ico_board.gif" align="absmiddle" class="home" />$forum[name]
-<a href="$bbsdir/my.php?item=favorites&fid=$fid" id="ajax_favorite" onclick="ajaxmenu(event, this.id)" style="font-size: 12px; margin-left: 10px;"><img src="{IMGDIR}/lightning_add.png" align="absmiddle" /> {lang forum_favorite}</a>
-<a href="$bbsdir/my-threads-fid-$fid.html" style="font-size: 12px;"><img src="{IMGDIR}/pico_online.gif" align="absmiddle" /> {lang show_mytopics}</a></span>
+<!--{if $discuz_uid}--><a href="$bbsdir/parasy_my.php?item=favorites&fid=$fid" id="ajax_favorite" onclick="ajaxmenu(event, this.id)" style="font-size: 12px; margin-left: 10px;"><img src="{IMGDIR}/lightning_add.png" align="absmiddle" /> {lang forum_favorite}</a>
+<a href="$bbsdir/my/threads/fid/$fid" style="font-size: 12px;"><img src="{IMGDIR}/pico_online.gif" align="absmiddle" /> {lang show_mytopics}</a><!--{/if}--></span>
<br />���������й��� $threadcount ������ <!--{if $moderatedby}-->���� $moderatedby ����{lang forum_modedby}<!--{else}-->�����滹û�а���<!--{/if}-->
<!--{if $subexists}-->
<hr size="1" class="board" />
<div class="channels">
- {template forumdisplay_subforum}
+ {subtemplate forumdisplay_subforum}
</div>
<!--{/if}-->
<!--<hr size="1" class="board" />
@@ -42,7 +42,7 @@
<!--{if !empty($newpmexists) || $announcepm}-->
<div class="maintable" id="pmprompt">
- {template pmprompt}
+ {subtemplate pmprompt}
</div>
<!--{/if}-->
<!--{if $forum['rules']}-->
@@ -388,16 +388,11 @@
<img src="{IMGDIR}/hot_red_folder.gif" class="absmiddle" alt="" /> {lang thread_more_replies}
<img src="{IMGDIR}/lock_folder.gif" class="absmiddle" alt="" /> {lang thread_closed}
</span></div></div>
-<!--{if $forumjump && $jsmenu[1]}-->
- <div class="popupmenu_popup" id="forumlist_menu" style="display: none">
- <table cellpadding="4" cellspacing="0" border="0">
- <tr><td class="popupmenu_option"><a href="$bbsdir/$indexname" class="nav">$bbname</a></td></tr>
- {$forummenu}
- </table></div>
-<!--{/if}-->
+
+
<script type="text/javascript">
var getObj = function(objId) {
return document.all ? document.all[objId] : document.getElementById(objId);
}
</script>
-{template footer}
+{subtemplate footer}
Modified: trunk/upload/templates/babel/geo_home.htm
==============================================================================
--- trunk/upload/templates/babel/geo_home.htm (original)
+++ trunk/upload/templates/babel/geo_home.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /> <a href="$bbsdir/$indexname">$bbname</a> > ���� > $geo_name_cn <span class="tip_i"><small>portal</small></span></div>
<div class="maintable" align="left">
@@ -57,4 +57,4 @@
<!--{eval $chile_route = $Geo->Show_Child_Route();}-->
<div class="geo_home_bar"><img src="{IMGDIR}/world_link.png" align="absmiddle" /> �� $geo_name_cn ƽ�е�����</div>
<!--{eval $parallel_route = $Geo->Show_Parallel_Route();}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/header.htm
==============================================================================
--- trunk/upload/templates/babel/header.htm (original)
+++ trunk/upload/templates/babel/header.htm Mon Jun 9 00:55:11 2008
@@ -18,6 +18,7 @@
<!--{/if}-->
<link rel="stylesheet" type="text/css" href="$bbsdir/css/$css_babel" />
<link rel="stylesheet" type="text/css" href="$bbsdir/css/$css_extra" />
+<!--{eval css_hack();}-->
<!--{if CDN_JS}-->
<script type="text/javascript" src="{CDN_JS}/common.js"></script>
@@ -39,20 +40,15 @@
<!--{/if}-->
<div align="center">
<div id="parasy">
-<!--{if $_SESSION['hits']==38}-->
-<!--{eval $topbg = 'luckystar';}-->
-<!--{else}-->
-<!--{eval $topbg = rand(1,2);}-->
-<!--{/if}-->
<!--{eval $discuz_userss_encode = rawurlencode($discuz_userss);}-->
-<div id="top_banner" style="background: url('{IMGDIR}/bg_$topbg.jpg');" align="left">
+<div id="top_banner" align="left">
<div id="top_right">
<!--{if $discuz_uid}--><div class="hi">Hi,<a href="$bbsdir/uid/$discuz_uid" class="tr1">$discuz_userss</a>!</div> <a href="$bbsdir/memcp.nnm" target="_self" class="tr">�������</a> <!--{if $discuz_uid && in_array($adminid, array(1, 2, 3))}-->| <a href="$bbsdir/admincp.php" target="_blank" class="tr">{lang admincp}</a> <!--{/if}-->| <a href="$bbsdir/logout-{FORMHASH}.nnm" class="tr" target="_self">�dz�</a><!--{loop $extcredits $id $credit}--> | <a href="$bbsdir/expense/view.nnm" class="tr"><small>$GLOBALS[extcredits.$id]</small>$credit[unit] $credit[title]</a><!--{/loop}-->
<!--{else}-->
<a href="$bbsdir/login.nnm" class="tr">{lang login}</a> | <a href="$bbsdir/passwd.nnm" class="tr">�һ�����</a> | <a href="$bbsdir/signup.nnm" class="tr">ע��</a><!--{/if}-->
</div>
<div id="top_banner_logo">
- <a href="$bbsdir/"><img src="{IMGDIR}/logo_$topbg.jpg" border="0" alt="::NoName Magazine ������־" /></a>
+ <a href="$bbsdir/"><img src="{IMGDIR}/logo_summer_2.gif" border="0" alt="$bbname" /></a>
</div>
</div>
<div id="nav">
@@ -63,10 +59,8 @@
<li><a href="$bbsdir/about" class="nav">������������</a></li>
<li><a href="$bbsdir/" class="nav">������̳��ҳ</a></li>
<li><div class="sep"> </div></li>
- <li><a href="$bbsdir/topic-latest.html" class="nav">�������������б�</a></li>
- <li><a href="$bbsdir/topic-answered.html" class="nav">�������»ظ��б�</a></li>
- <li><div class="sep"> </div></li>
- <li><a href="#" class="nav">����140 ������</a></li>
+ <li><a href="$bbsdir/topic/latest.html" class="nav">�������������б�</a></li>
+ <li><a href="$bbsdir/topic/answered.html" class="nav">�������»ظ��б�</a></li>
<!--{if $discuz_uid}--><li><div class="sep"> </div></li>
<li><a href="$bbsdir/logout-{FORMHASH}.nnm" class="nav">�����dz�</a></li><!--{/if}-->
</ul>
@@ -79,9 +73,9 @@
<li><a href="http://blog.orzotl.com/?action_site_type_panel" class="nav">��<img src="{IMGDIR}/pico_zen.gif" align="absmiddle"> �ҵIJ�־</a></li>
<!--{if PARASY_FEATURE_NOW}--><li><a href="$bbsdir/now/$discuz_userss_encode" class="nav">��<img src="{IMGDIR}/rainbow.png" align="absmiddle" /> Nowhere</a></li><!--{/if}-->
<!--{if PARASY_FEATURE_TOD}--><li><a href="$bbsdir/tod" class="nav">��<img src="{IMGDIR}/report_edit.png" align="absmiddle" /> Tod��y</a></li><!--{/if}-->
- <li><a href="$bbsdir/my-threads.html" class="nav">��<img src="{IMGDIR}/pico_topics.gif" align="absmiddle" /> �ҵ�����</a></li>
- <li><a href="$bbsdir/my-posts.html" class="nav">��<img src="{IMGDIR}/comments_add.png" align="absmiddle" /> �ҵĻظ�</a></li>
- <li><a href="$bbsdir/my-favorites-thread.html" class="nav">��<img src="{IMGDIR}/star.png" align="absmiddle" /> �ҵ��ղؼ�</a></li>
+ <li><a href="$bbsdir/my/threads" class="nav">��<img src="{IMGDIR}/pico_topics.gif" align="absmiddle" /> �ҵ�����</a></li>
+ <li><a href="$bbsdir/my/posts" class="nav">��<img src="{IMGDIR}/comments_add.png" align="absmiddle" /> �ҵĻظ�</a></li>
+ <li><a href="$bbsdir/my/favs/thread" class="nav">��<img src="{IMGDIR}/star.png" align="absmiddle" /> �ҵ��ղؼ�</a></li>
<!--{if PARASY_FEATURE_EXP}--><li><a href="$bbsdir/expense/view.nnm" class="nav">��<img src="{IMGDIR}/coins_delete.png" align="absmiddle" /> ��Ѽ�¼</a></li><!--{/if}-->
<li><a href="$bbsdir/session/stats.nnm" class="nav">��<img src="{IMGDIR}/page_copy.png" align="absmiddle" /> ���η����� $_SESSION['hits'] ��ҳ��</a></li>
<li><div class="sep"> </div></li>
@@ -106,7 +100,7 @@
<!--{if $maxpmnum}-->
<li><img src="{IMGDIR}/pico_message.gif" align="absmiddle" /> <a href="$bbsdir/pm.nnm" class="menu" target="_blank">�ҵ���Ϣ</a></li><!--{/if}-->
<li><img src="{IMGDIR}/house.png" align="absmiddle" /> <a href="$bbsdir/uid/$discuz_uid" class="menu">�ҵ�������ҳ</a></li>
- <li><img src="{IMGDIR}/pico_topics.gif" align="absmiddle" /> <a href="$bbsdir/my-threads.html" class="menu">�ҵ�����</a></li>
+ <li><img src="{IMGDIR}/pico_topics.gif" align="absmiddle" /> <a href="$bbsdir/my/threads" class="menu">�ҵ�����</a></li>
<li><img src="{IMGDIR}/drink.png" align="absmiddle"> <a href="http://blog.orzotl.com/?action_site_type_panel" class="menu">�ҵIJ�־</a></li>
<!--{if PARASY_FEATURE_NOW}--><li><img src="{IMGDIR}/rainbow.png" align="absmiddle" /> <a href="$bbsdir/now/$discuz_userss_encode" class="menu">Nowhere</a></li><!--{/if}-->
<!--{if PARASY_FEATURE_TOD}--><li><img src="{IMGDIR}/report_edit.png" align="absmiddle" /> <a href="$bbsdir/tod" class="menu">Tod��y</a><!--{if $my_tod_task}--> <small class="fade">($my_tod_task)</small><!--{/if}--> <span class="tip_i"><small>alpha</small></span></li><!--{/if}-->
@@ -118,7 +112,7 @@
</div>
<!--{if !in_array('fav',$app_hide_sidebar)}-->
-<div class="menu_fav" align="left"><img src="{IMGDIR}/star.png" align="absmiddle" /> <a href="$bbsdir/my-favorites-thread.html" class="menu">�ҵ��ղؼ�</a>
+<div class="menu_fav" align="left"><img src="{IMGDIR}/star.png" align="absmiddle" /> <a href="$bbsdir/my/favs/thread" class="menu">�ҵ��ղؼ�</a>
<!--{if $fav}-->
<hr class="board">
<ul class="news">
@@ -146,7 +140,7 @@
<ul class="menu">
<li><img src="{IMGDIR}/pico_search.gif" align="absmiddle" /> <a href="$bbsdir/search.nnm" class="menu">����</a></li>
<li><img src="{IMGDIR}/pico_feed.gif" align="absmiddle" /> <!--{if $fid !=0 }--><a href="$bbsdir/rss.php?fid=$fid&auth=$rssauth" class="menu" target="_blank"><!--{else}--><a href="$bbsdir/rss.php" class="menu" target="_blank"><!--{/if}-->RSS 2.0 �ۺ�</a></li>
- <li><img src="{IMGDIR}/pico_fresh.gif" align="absmiddle" /> <a href="$bbsdir/topic-latest.html" class="menu">��������</a></li>
+ <li><img src="{IMGDIR}/pico_fresh.gif" align="absmiddle" /> <a href="$bbsdir/topic/latest.html" class="menu">��������</a></li>
<!--{if $discuz_action ==1 }-->
<li><img src="{IMGDIR}/pico_user.gif" align="absmiddle" /> ����ע���Ա<ul class="items">
<!--{loop $_DCACHE['lastmembers'] $lastm}-->
@@ -175,6 +169,9 @@
<!--{/if}-->
</ul>
</li>
+ <hr class="board">
+ <li><a href="http://saicn.com/bbs/go/Parasy" class="regular" target="_blank"><img src="http://saicn.com/img/badge_pp_1.png" align="absmiddle" /></a></li>
+ <hr class="board">
<li><img src="{IMGDIR}/pico_exec.gif" align="absmiddle" /> <a href="$bbsdir/../nnm25" class="menu" target="_self"><small>NoNameMusic25</small></a></li>
</ul></div></div>
<div id="main">
Modified: trunk/upload/templates/babel/login.htm
==============================================================================
--- trunk/upload/templates/babel/login.htm (original)
+++ trunk/upload/templates/babel/login.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> » {lang member_login}
</div></div>
@@ -108,4 +108,4 @@
window.alert('{lang login_timeoffset}');
}
</script>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/login_secques.htm
==============================================================================
--- trunk/upload/templates/babel/login_secques.htm (original)
+++ trunk/upload/templates/babel/login_secques.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> » {lang member_login}
</div></div>
@@ -55,4 +55,4 @@
</table><br />
<div class="option"><div class="submitbutton"><input class="button" type="submit" name="loginsubmit" value="{lang member_login}"></div></div>
</form>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/lostpasswd.htm
==============================================================================
--- trunk/upload/templates/babel/lostpasswd.htm (original)
+++ trunk/upload/templates/babel/lostpasswd.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> » {lang lostpassword}
</div></div>
@@ -37,4 +37,4 @@
<div class="option"><div class="submitbutton"><input class="button" type="submit" name="lostpwsubmit" value="{lang submit}"></div></div>
<hr size="1" color="#EEE" style="color: #EEE; background-color: #EEE; height: 1px; border: 0;" /><img src="{IMGDIR}/information.gif" align="absmiddle" /> �����ͨ������ע��ʱ���ṩ����Ϣ��һ�����<br /> ���������ĵ����ʼ���ַȷʵ���ڵĻ������ǽ���������ע��ʱ��ʹ�õĵ����ʼ���ַ����һ�������ָ����ʼ�������ʼ��еĵ�ַ���ÿ������㸴λ����<br /><br />�����ȷ�����յ����Ƿ�������ʼ������������ǵļ���֧�� sai#live.com ����һ���ʼ���ϸ���������������<
</form>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/memberlist.htm
==============================================================================
--- trunk/upload/templates/babel/memberlist.htm (original)
+++ trunk/upload/templates/babel/memberlist.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" />
<a href="$indexname">$bbname</a> » <!--{if $type != 'birthdays'}-->{lang member_list}<!--{else}-->{lang todays_birthdays_members}<!--{/if}-->
</div>
@@ -53,4 +53,4 @@
<div class="subtable" style="width: {TABLEWIDTH}; margin-top: {TABLESPACE}px">
$multipage
</div>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/memcp_credits.htm
==============================================================================
--- trunk/upload/templates/babel/memcp_credits.htm (original)
+++ trunk/upload/templates/babel/memcp_credits.htm Mon Jun 9 00:55:11 2008
@@ -1,5 +1,5 @@
-{template header}
-{template memcp_navbar}
+{subtemplate header}
+{subtemplate memcp_navbar}
<!--{if $operation == 'transfer'}-->
<form method="post" action="$bbsdir/credits.nnm">
@@ -375,4 +375,4 @@
</table>
<div class="subtable" style="width: 100%">$multipage</div>
<!--{/if}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/memcp_home.htm
==============================================================================
--- trunk/upload/templates/babel/memcp_home.htm (original)
+++ trunk/upload/templates/babel/memcp_home.htm Mon Jun 9 00:55:11 2008
@@ -1,5 +1,5 @@
-{template header}
-{template memcp_navbar}
+{subtemplate header}
+{subtemplate memcp_navbar}
<div style="border: 1px solid {CATBORDER}; {CATBGCODE}; padding:8px 0px;">
<img src="images/common/notice.gif"> {lang memcp_welcome}
@@ -147,4 +147,4 @@
</div>
</td></tr></table>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/memcp_misc.htm
==============================================================================
--- trunk/upload/templates/babel/memcp_misc.htm (original)
+++ trunk/upload/templates/babel/memcp_misc.htm Mon Jun 9 00:55:11 2008
@@ -1,5 +1,5 @@
-{template header}
-{template memcp_navbar}
+{subtemplate header}
+{subtemplate memcp_navbar}
<!--{if $action == 'buddylist'}-->
<form method="post" action="$bbsdir/buddylist.nnm">
@@ -31,4 +31,4 @@
</form>
<!--{/if}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/memcp_profile.htm
==============================================================================
--- trunk/upload/templates/babel/memcp_profile.htm (original)
+++ trunk/upload/templates/babel/memcp_profile.htm Mon Jun 9 00:55:11 2008
@@ -1,5 +1,5 @@
-{template header}
-{template memcp_navbar}
+{subtemplate header}
+{subtemplate memcp_navbar}
<script type="text/javascript" src="include/javascript/calendar.js"></script>
<script type="text/javascript" src="include/javascript/bbcode.js"></script>
@@ -438,4 +438,4 @@
</table>
</form></div>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/memcp_usergroups.htm
==============================================================================
--- trunk/upload/templates/babel/memcp_usergroups.htm (original)
+++ trunk/upload/templates/babel/memcp_usergroups.htm Mon Jun 9 00:55:11 2008
@@ -1,5 +1,5 @@
-{template header}
-{template memcp_navbar}
+{subtemplate header}
+{subtemplate memcp_navbar}
<!--{if empty($type)}-->
<form method="post" action="memcp.php?action=usergroups&type=main">
@@ -81,4 +81,4 @@
<div class="option" style="width: 100%"><div class="submitbutton"><input class="button" type="submit" name="groupsubmit" value="{lang submit}"></div></div>
</form>
<!--{/if}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/my.htm
==============================================================================
--- trunk/upload/templates/babel/my.htm (original)
+++ trunk/upload/templates/babel/my.htm Mon Jun 9 00:55:11 2008
@@ -1,51 +1,51 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" />
-<a href="$bbsdir/$indexname">$bbname</a> » <!--{if $srchfid}--><a href="$bbsdir/my-$item$extra.html"><!--{/if}--><!--{if empty($item)}-->{lang my}...<!--{elseif $item == 'threads'}-->{lang my_threads}<!--{elseif $item == 'posts'}-->{lang my_replys}<!--{elseif $item == 'favorites' && $type == 'thread'}-->{lang my_favorite_threads}<!--{elseif $item == 'favorites' && $type == 'forum'}-->{lang my_favorite_forums}<!--{elseif $item == 'subscriptions'}-->{lang my_subscription_threads}<!--{elseif in_array($item, array('tradestats', 'selltrades', 'buytrades', 'tradethreads'))}-->{lang my_trades}<!--{elseif $item == 'reward'}-->{lang my_rewards}<!--{elseif $item == 'activities'}-->{lang my_activities}<!--{elseif $item == 'promotion'}-->{lang post_my_advisit}<!--{/if}--><!--{if $srchfid}--></a> » $forumname<!--{/if}-->
+<a href="$bbsdir/$indexname">$bbname</a> » <!--{if $srchfid}--><a href="$bbsdir/my/$item$extra"><!--{/if}--><!--{if empty($item)}-->{lang my}...<!--{elseif $item == 'threads'}-->{lang my_threads}<!--{elseif $item == 'posts'}-->{lang my_replys}<!--{elseif $item == 'favorites' && $type == 'thread'}-->{lang my_favorite_threads}<!--{elseif $item == 'favorites' && $type == 'forum'}-->{lang my_favorite_forums}<!--{elseif $item == 'subscriptions'}-->{lang my_subscription_threads}<!--{elseif in_array($item, array('tradestats', 'selltrades', 'buytrades', 'tradethreads'))}-->{lang my_trades}<!--{elseif $item == 'reward'}-->{lang my_rewards}<!--{elseif $item == 'activities'}-->{lang my_activities}<!--{elseif $item == 'promotion'}-->{lang post_my_advisit}<!--{/if}--><!--{if $srchfid}--></a> » $forumname<!--{/if}-->
</div></div>
<div class="maintable">
<ul class="tabs">
<!--{if $item == 'threads'}--><li class="current">�ҵ�����</li>
-<!--{else}--><li class="normal"><a href="$bbsdir/my-threads$extrafid.html">�ҵ�����</a></li>
+<!--{else}--><li class="normal"><a href="$bbsdir/my/threads$extrafid">�ҵ�����</a></li>
<!--{/if}-->
<!--{if $item == 'posts'}--><li class="current">�ҵĻظ�</li>
-<!--{else}--><li class="normal"><a href="$bbsdir/my-posts$extrafid.html">�ҵĻظ�</a></li>
+<!--{else}--><li class="normal"><a href="$bbsdir/my/posts$extrafid">�ҵĻظ�</a></li>
<!--{/if}-->
<!--{if $item == 'favorites' && $type == 'thread'}--><li class="current">�ղص�����</li><!--{else}-->
-<li class="normal"><a href="$bbsdir/my-favorites-thread.html">�ղص�����</a></li>
+<li class="normal"><a href="$bbsdir/my/favs/thread">�ղص�����</a></li>
<!--{/if}-->
<!--{if $item == 'favorites' && $type == 'forum'}-->
<li class="current">�ղص���̳</li><!--{else}-->
-<li class="normal"><a href="$bbsdir/my-favorites-forum.html">�ղص���̳</a></li>
+<li class="normal"><a href="$bbsdir/my/favs/forum">�ղص���̳</a></li>
<!--{/if}-->
<!--{if $item == 'subscriptions'}-->
<li class="current">���ĵ�����</li><!--{else}-->
-<li class="normal"><a href="$bbsdir/my-subscriptions$extrafid.html">���ĵ�����</a></li>
+<li class="normal"><a href="$bbsdir/my/subscriptions$extrafid">���ĵ�����</a></li>
<!--{/if}-->
</ul>
<!--{if empty($item)}-->
- {template my_index}
+ {subtemplate my_index}
<!--{elseif $item == 'threads'}-->
- {template my_threads}
+ {subtemplate my_threads}
<!--{elseif $item == 'posts'}-->
- {template my_posts}
+ {subtemplate my_posts}
<!--{elseif $item == 'favorites'}-->
- {template my_favorites}
+ {subtemplate my_favorites}
<!--{elseif $item == 'subscriptions'}-->
- {template my_subscriptions}
+ {subtemplate my_subscriptions}
<!--{elseif $ec_id && $item == 'tradestats'}-->
- {template my_tradestats}
+ {subtemplate my_tradestats}
<!--{elseif $ec_id && ($item == 'selltrades' || $item == 'buytrades')}-->
- {template my_trades}
+ {subtemplate my_trades}
<!--{elseif $ec_id && $item == 'tradethreads'}-->
- {template my_tradethreads}
+ {subtemplate my_tradethreads}
<!--{elseif $item == 'reward'}-->
- {template my_rewards}
+ {subtemplate my_rewards}
<!--{elseif $item == 'activities'}-->
- {template my_activities}
+ {subtemplate my_activities}
<!--{elseif $item == 'promotion'}-->
- {template my_promotion}
+ {subtemplate my_promotion}
<!--{/if}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/new_features.htm
==============================================================================
--- trunk/upload/templates/babel/new_features.htm (original)
+++ trunk/upload/templates/babel/new_features.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /> <a href="index.php">$bbname</a> » ��������</div>
<div class="maintable">
<span class="text_large">��ӭ���������־ NoNameMagazine</span>
@@ -49,4 +49,4 @@
</ul>
<hr size="1" color="#EEE" style="color: #EEE;" />
<span class="tip_i">��ҳ������ʱ�� 2007-10-03 14:16:00 GMT+8</span>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/nopermission.htm
==============================================================================
--- trunk/upload/templates/babel/nopermission.htm (original)
+++ trunk/upload/templates/babel/nopermission.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> » {lang board_message}
</div>
@@ -87,4 +87,4 @@
</form>
<!--{/if}-->
</td></tr></table>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/now.htm
==============================================================================
--- trunk/upload/templates/babel/now.htm (original)
+++ trunk/upload/templates/babel/now.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<!--[if IE]>
<style>div#message-container {
background: transparent url(/bbs/images/now/bg-form-bubble.gif) no-repeat ;
@@ -174,5 +174,5 @@
<!--{if $action == index}--><img src="{IMGDIR}/pico_feed.gif" align="absmiddle" /> <a href="$bbsdir/feed/now">RSS</a> <!--{elseif $action == friends}--><img src="{IMGDIR}/pico_feed.gif" align="absmiddle" /> <a href="#;">RSS / $user_nick ������������״̬</a> <!--{else}--><img src="{IMGDIR}/pico_feed.gif" align="absmiddle" /> <a href="#;">RSS / $user_nick ������״̬</a> <!--{/if}-->
<!--{if $discuz_uid && $user_nick==$discuz_userss && $action !=friends }--><img src="$bbsdir/images/now/html.png" align="absmiddle" /> <a href="$bbsdir/ojs/now/" target="_blank">JavaScript ��������վ</a> <img src="$bbsdir/images/now/picture.png" align="absmiddle" /> <a href="$bbsdir/oimg/now/" target="_blank">ͼƬ��������վ</a><!--{/if}-->
<!--{/if}-->
-{template about_nowhere}
-{template footer}
\ No newline at end of file
+{subtemplate about_nowhere}
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/now_new.htm
==============================================================================
--- trunk/upload/templates/babel/now_new.htm (original)
+++ trunk/upload/templates/babel/now_new.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="nav"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/index.php">$bbname</a> » <a href="$bbsdir/now">Nowhere</a></div>
</div>
@@ -42,4 +42,4 @@
<input type="hidden" name="identifier" value="$identifier">
<center><input type="submit" name="submit" value="{lang submit}" class="inpStyle"></center>
</form>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/now_stats.htm
==============================================================================
--- trunk/upload/templates/babel/now_stats.htm (original)
+++ trunk/upload/templates/babel/now_stats.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="nav"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/index.php">$bbname</a> » Nowhere</div>
</div>
<!--{eval $discuz_userss_encode = rawurlencode($discuz_userss);}-->
@@ -66,5 +66,5 @@
<tr><td colspan="2" align="left" class="section_odd"><div class="notify"><img src="{IMGDIR}/database_lightning.png" align="absmiddle" /> {lang stats_update}
</div></td></tr></table>
</div>
-{template about_nowhere}
-{template footer}
\ No newline at end of file
+{subtemplate about_nowhere}
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/plugin_valentine.htm
==============================================================================
--- trunk/upload/templates/babel/plugin_valentine.htm (original)
+++ trunk/upload/templates/babel/plugin_valentine.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<style>
.contentbox{position:absolute;width:200px;height:auto;border-top-style:Ridge;border-right-style:Ridge;border-left-style:Ridge;
border-bottom-style:Ridge;border-width:1pt;}
@@ -66,4 +66,4 @@
</td></tr></table>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/plugin_valentine_new.htm
==============================================================================
--- trunk/upload/templates/babel/plugin_valentine_new.htm (original)
+++ trunk/upload/templates/babel/plugin_valentine_new.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed">
<tr><td class="nav" width="90%" align="left" nowrap> <a href="index.php">$bbname</a> » ��������</td>
<td align="right" width="10%"> <a href="#bottom"><img src="{IMGDIR}/arrow_dw.gif" border="0" align="absmiddle"></a></td>
@@ -81,4 +81,4 @@
<center><input type="submit" name="submit" value="{lang submit}" class="inpStyle"></center>
</form>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/pm.htm
==============================================================================
--- trunk/upload/templates/babel/pm.htm (original)
+++ trunk/upload/templates/babel/pm.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /> <a href="$indexname">$bbname</a> » {lang pm}
</div></div>
<div class="maintable">
@@ -15,19 +15,19 @@
<tr><td valign="top">
<!--{if empty($action)}-->
- {template pm_folder}
+ {subtemplate pm_folder}
<!--{elseif $action == 'view'}-->
- {template pm_view}
+ {subtemplate pm_view}
<!--{elseif $action == 'send'}-->
- {template pm_send}
+ {subtemplate pm_send}
<!--{elseif $action == 'search'}-->
- <!--{if !empty($searchid)}-->{template pm_search_result}<!--{else}-->{template pm_search}<!--{/if}-->
+ <!--{if !empty($searchid)}-->{subtemplate pm_search_result}<!--{else}-->{subtemplate pm_search}<!--{/if}-->
<!--{elseif $action == 'archive'}-->
- {template pm_archive}
+ {subtemplate pm_archive}
<!--{elseif $action == 'ignore'}-->
- {template pm_ignore}
+ {subtemplate pm_ignore}
<!--{/if}-->
</td></tr></table>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/post_editpost.htm
==============================================================================
--- trunk/upload/templates/babel/post_editpost.htm (original)
+++ trunk/upload/templates/babel/post_editpost.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> $navigation » {lang post_editpost}
@@ -102,7 +102,7 @@
}
</script>
-{template post_preview}
+{subtemplate post_preview}
<form method="post" id="postform" action="post.php?action=edit&extra=$extra&editsubmit=yes&mod=$mod" $enctype onSubmit="return validate(this)">
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}">
@@ -383,7 +383,7 @@
<tr class="bottom">
<td class="altbg1" valign="top">
-{template post_sminsert}
+{subtemplate post_sminsert}
<input class="checkbox" type="checkbox" name="parseurloff" id="parseurloff" value="1" $urloffcheck> {lang disable} {lang post_parseurl}<br>
<input class="checkbox" type="checkbox" name="smileyoff" id="smileyoff" value="1" $smileyoffcheck> {lang disable} {faq smilies}<br>
<input class="checkbox" type="checkbox" name="bbcodeoff" id="bbcodeoff" value="1" $codeoffcheck> {lang disable} {faq discuzcode}<br>
@@ -403,7 +403,7 @@
<td align="left" class="altbg2" valign="top">
<div id="$editorid">
-{template post_bbinsert}
+{subtemplate post_bbinsert}
<div class="editor_text"><textarea name="message" rows="10" cols="60" style="width:100%; height:350px;" tabindex="100" id="{$editorid}_textarea" onSelect="javascript: storeCaret(this);" onClick="javascript: storeCaret(this);" onKeyUp="javascript:storeCaret(this);" onKeyDown="ctlent(event);">$postinfo[message]</textarea></div>
<table width="100%" cellpadding="{TABLESPACE}" cellspacing="0" class="editor_button"><tr><td>
<div class="editor_textexpand"><img src="images/common/bb_contract.gif" width="11" height="21" title="{lang post_discuzcode_contract}" alt="{lang post_discuzcode_contract}" onclick="resizeEditor(-100)" /><img src="images/common/bb_expand.gif" width="11" height="21" title="{lang post_discuzcode_expand}" alt="{lang post_discuzcode_expand}" onclick="resizeEditor(100)" /></div>
@@ -415,7 +415,7 @@
</td></tr>
<!--{if $allowpostattach}-->
<tr><td colspan="2">
- {template post_attachments}
+ {subtemplate post_attachments}
</td></tr>
<!--{/if}-->
</table>
@@ -495,4 +495,4 @@
}
</script>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/post_newreply.htm
==============================================================================
--- trunk/upload/templates/babel/post_newreply.htm (original)
+++ trunk/upload/templates/babel/post_newreply.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/$indexname">$bbname</a> $navigation » {lang post_newreply}
@@ -38,7 +38,7 @@
}
</script>
-{template post_preview}
+{subtemplate post_preview}
<form method="post" id="postform" action="post.php?action=reply&fid=$fid&tid=$tid&extra=$extra&replysubmit=yes" $enctype onSubmit="validate(this);return false;">
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}">
@@ -85,7 +85,7 @@
<tr class="bottom">
<td class="altbg1" valign="top">
-{template post_sminsert}
+{subtemplate post_sminsert}
<input class="checkbox" type="checkbox" name="parseurloff" id="parseurloff" value="1" $urloffcheck> {lang disable} {lang post_parseurl}<br>
<input class="checkbox" type="checkbox" name="smileyoff" id="smileyoff" value="1" $smileyoffcheck> {lang disable} {faq smilies}<br>
<input class="checkbox" type="checkbox" name="bbcodeoff" id="bbcodeoff" value="1" $codeoffcheck> {lang disable} {faq discuzcode}<br>
@@ -97,7 +97,7 @@
<td align="left" class="altbg2" valign="top">
<div id="$editorid">
-{template post_bbinsert}
+{subtemplate post_bbinsert}
<div class="editor_text"><textarea name="message" rows="10" cols="60" style="width:100%; height:350px;" tabindex="100" id="{$editorid}_textarea" onSelect="javascript: storeCaret(this);" onClick="javascript: storeCaret(this);" onKeyUp="javascript:storeCaret(this);" onKeyDown="ctlent(event);">$message</textarea></div>
<table width="100%" cellpadding="{TABLESPACE}" cellspacing="0" class="editor_button"><tr><td>
<div class="editor_textexpand"><img src="images/common/bb_contract.gif" width="11" height="21" title="{lang post_discuzcode_contract}" alt="{lang post_discuzcode_contract}" onclick="resizeEditor(-100)" /><img src="images/common/bb_expand.gif" width="11" height="21" title="{lang post_discuzcode_expand}" alt="{lang post_discuzcode_expand}" onclick="resizeEditor(100)" /></div>
@@ -109,7 +109,7 @@
</td>
<!--{if $allowpostattach}-->
<tr><td colspan="2">
- {template post_attachments}
+ {subtemplate post_attachments}
</td></tr>
<!--{/if}-->
</table>
@@ -155,4 +155,4 @@
}
</script>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/post_newthread.htm
==============================================================================
--- trunk/upload/templates/babel/post_newthread.htm (original)
+++ trunk/upload/templates/babel/post_newthread.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/$indexname">$bbname</a> $navigation » {lang post_newthread}
</div>
@@ -78,7 +78,7 @@
}
</script>
-{template post_preview}
+{subtemplate post_preview}
<form method="post" id="postform" action="post.php?action=newthread&fid=$fid&extra=$extra&topicsubmit=yes" $enctype onSubmit="validate(this);return false">
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}">
@@ -334,7 +334,7 @@
<tr class="bottom">
<td class="altbg1" valign="top">
-{template post_sminsert}
+{subtemplate post_sminsert}
<input class="checkbox" type="checkbox" name="parseurloff" id="parseurloff" value="1" $urloffcheck> {lang disable} {lang post_parseurl}<br>
<input class="checkbox" type="checkbox" name="smileyoff" id="smileyoff" value="1" $smileyoffcheck> {lang disable} {faq smilies}<br>
<input class="checkbox" type="checkbox" name="bbcodeoff" id="bbcodeoff" value="1" $codeoffcheck> {lang disable} {faq discuzcode}<br>
@@ -351,7 +351,7 @@
<td align="left" class="altbg2" valign="top">
<div id="$editorid">
-{template post_bbinsert}
+{subtemplate post_bbinsert}
<div class="editor_text"><textarea name="message" rows="10" cols="60" style="width:100%; height:350px" tabindex="100" id="{$editorid}_textarea" onSelect="javascript: storeCaret(this);" onClick="javascript: storeCaret(this);" onKeyUp="javascript:storeCaret(this);" onKeyDown="ctlent(event);">$message</textarea></div>
<table width="100%" cellpadding="{TABLESPACE}" cellspacing="0" class="editor_button"><tr><td>
<div class="editor_textexpand"><img src="images/common/bb_contract.gif" width="11" height="21" title="{lang post_discuzcode_contract}" alt="{lang post_discuzcode_contract}" onclick="resizeEditor(-100)" /><img src="images/common/bb_expand.gif" width="12" height="21" title="{lang post_discuzcode_expand}" alt="{lang post_discuzcode_expand}" onclick="resizeEditor(100)" /></div>
@@ -363,7 +363,7 @@
</td>
<!--{if $allowpostattach}-->
<tr><td colspan="2">
- {template post_attachments}
+ {subtemplate post_attachments}
</td></tr>
<!--{/if}-->
</table>
@@ -388,4 +388,4 @@
}
</script>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/rate.htm
==============================================================================
--- trunk/upload/templates/babel/rate.htm (original)
+++ trunk/upload/templates/babel/rate.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" />
<!--{if $action == 'rate'}-->
@@ -40,7 +40,7 @@
<!--{/loop}-->
</td></tr>
- {template topicadmin_reason}
+ {subtemplate topicadmin_reason}
</table>
@@ -76,7 +76,7 @@
</tr>
</tr>
- {template topicadmin_reason}
+ {subtemplate topicadmin_reason}
</table>
<hr class="board">
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" align="center">
@@ -101,4 +101,4 @@
<center><input class="button" type="submit" name="ratesubmit" value="{lang submit}" id="postsubmit"> {lang post_submit_hotkey}</center>
<!--{/if}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/rate_view.htm
==============================================================================
--- trunk/upload/templates/babel/rate_view.htm (original)
+++ trunk/upload/templates/babel/rate_view.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> $navigation » {lang rate_view}
</div></div>
@@ -30,4 +30,4 @@
</tr>
<!--{/loop}-->
</table>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/register.htm
==============================================================================
--- trunk/upload/templates/babel/register.htm (original)
+++ trunk/upload/templates/babel/register.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<style type="text/css">
<!--
.input {
@@ -606,4 +606,4 @@
</script>
<!--{/if}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/search.htm
==============================================================================
--- trunk/upload/templates/babel/search.htm (original)
+++ trunk/upload/templates/babel/search.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> » {lang search}
</div></div>
@@ -86,4 +86,4 @@
<div class="option"><div class="submitbutton"><input class="button" type="submit" name="searchsubmit" value="{lang submit}"></div></div>
</form>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/search_threads.htm
==============================================================================
--- trunk/upload/templates/babel/search_threads.htm (original)
+++ trunk/upload/templates/babel/search_threads.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> » {lang search}
</div></div>
@@ -69,4 +69,4 @@
<div class="subtable" style="width: {TABLEWIDTH}; margin-top: {TABLESPACE}px">
$multipage
</div>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/section.htm
==============================================================================
--- trunk/upload/templates/babel/section.htm (original)
+++ trunk/upload/templates/babel/section.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<!--{loop $catlist $key $cat}-->
<!--{if $cat['forumscount']}-->
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" />
@@ -78,4 +78,4 @@
<hr class="board" />
<div align="right"><span class="tip_i">*�ְ��ͼƬ����ڿɰ��� ����douban.com</span></div>
</div>
-{template footer}
+{subtemplate footer}
Modified: trunk/upload/templates/babel/session.htm
==============================================================================
--- trunk/upload/templates/babel/session.htm (original)
+++ trunk/upload/templates/babel/session.htm Mon Jun 9 00:55:11 2008
@@ -1,6 +1,6 @@
-{template header}
+{subtemplate header}
<div class="nav"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/index.php">$bbname</a> » ������ʷ����</div>
</div>
<div class="maintable" align="left"><img src="{IMGDIR}/pico_tuser.gif" class="portrait" align="absmiddle" /> ������ʷ����...
<!--{eval nmSessionStats();}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/showmessage.htm
==============================================================================
--- trunk/upload/templates/babel/showmessage.htm (original)
+++ trunk/upload/templates/babel/showmessage.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/$indexname">$bbname</a> » {lang board_message}
</div></div>
@@ -25,4 +25,4 @@
<br><br><a href="javascript:history.back()">{lang message_go_back}</a>
<!--{/if}-->
</div>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Added: trunk/upload/templates/babel/showmessage_other.htm
==============================================================================
--- (empty file)
+++ trunk/upload/templates/babel/showmessage_other.htm Mon Jun 9 00:55:11 2008
@@ -0,0 +1,27 @@
+{subtemplate header}
+<div class="subtable nav" style="width: {TABLEWIDTH}">
+<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/$indexname">$bbname</a> » {lang board_message}
+</div></div>
+
+<div class="maintable">
+<div class="altbg1 bottom">
+$show_message
+
+<!--{if in_array($message, array('post_reply_succeed', 'post_reply_blog_succeed', 'post_newthread_blog_succeed', 'post_newthread_succeed', 'post_edit_delete_succeed', 'post_edit_succeed'))}-->
+ <input type="hidden" id="textarea">
+ <script type="text/javascript">
+ if(is_ie) {
+ var textobj = $('textarea');
+ textobj.addBehavior('#default#userData');
+ window.onload = deleteData;
+ }
+ </script>
+<!--{/if}-->
+
+<!--{if $url_forward}-->
+ <br><br><a href="$url_forward">{lang message_forward}</a>
+<!--{elseif stristr($show_message, '{lang return}')}-->
+ <br><br><a href="javascript:history.back()">{lang message_go_back}</a>
+<!--{/if}-->
+</div>
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/tod.htm
==============================================================================
--- trunk/upload/templates/babel/tod.htm (original)
+++ trunk/upload/templates/babel/tod.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<!--{eval $css_color= rand_color();}-->
<!--{eval $css_color2= rand_color();}-->
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/index.php">$bbname</a> » <a href="$bbsdir/uid/$uid">$user_nick</a> » Tod��y <span class="tip_i"><small>alpha</small></span></div>
@@ -14,7 +14,7 @@
<script type="text/javascript" src="$jsdir/tod.js"></script>
<!--{/if}-->
<link rel="stylesheet" type="text/css" href="$bbsdir/templates/css/css_tod.css" />
-{template tod_menu}
+{subtemplate tod_menu}
<span class="text_large"><a style="color: $css_color" href="$bbsdir/uid/$uid" class="var">$user_nick</a> / ���ڽ��е���Ŀ</span>
<div class="message_block">$user_nick �� $task_count ������Ҫ���, $Project_run_count �����ڽ��е���Ŀ, $Project_done_count ������ɵ���Ŀ, 0 ���ǩ</div>
<!--{if $_SESSION['tod_message'] != ''}-->
@@ -71,5 +71,5 @@
</tr>
<!--{/loop}-->
</table>
-{template about_today}
-{template footer}
\ No newline at end of file
+{subtemplate about_today}
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/topic.htm
==============================================================================
--- trunk/upload/templates/babel/topic.htm (original)
+++ trunk/upload/templates/babel/topic.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="nav"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/index.php">$bbname</a> » $maintitle</div>
</div>
<div class="maintable" align="left"><img src="{IMGDIR}/pico_topics.gif" class="portrait" align="absmiddle" /> $description ...
@@ -23,4 +23,4 @@
</ul>
<hr class="board" />
<span class="tip">�� 100 ƪ����� $replies ƪ�ظ���������� $topic_hits �� ...</span>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/topicadmin_copy.htm
==============================================================================
--- trunk/upload/templates/babel/topicadmin_copy.htm (original)
+++ trunk/upload/templates/babel/topicadmin_copy.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> $navigation »
{lang admin_copy}
</div></div>
@@ -21,8 +21,8 @@
$forumselect
</select></td>
</tr>
-{template topicadmin_reason}
+{subtemplate topicadmin_reason}
</table><hr class="board">
<div class="option" style="width: {TABLEWIDTH}"><div class="submitbutton"><input class="button" type="submit" name="copysubmit" value="{lang submit}" id="postsubmit"> {lang post_submit_hotkey}</div></div>
</form>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/topicadmin_merge.htm
==============================================================================
--- trunk/upload/templates/babel/topicadmin_merge.htm (original)
+++ trunk/upload/templates/babel/topicadmin_merge.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" />
<a href="$indexname">$bbname</a> $navigation » {lang admin_merge}
</div></div>
@@ -18,11 +18,11 @@
<td class="altbg2"><input type="text" name="othertid" size="10"> <span class="smalltxt">{lang admin_merge_tid_comment}</span></td>
</tr>
-{template topicadmin_reason}
+{subtemplate topicadmin_reason}
</table><hr class="board">
<input type="hidden" name="fid" value="$fid">
<input type="hidden" name="tid" value="$tid">
<div class="option" style="width: {TABLEWIDTH}"><div class="submitbutton"><input class="button" type="submit" name="mergesubmit" value="{lang admin_merge}" id="postsubmit"> {lang post_submit_hotkey}</div></div>
</form>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/topicadmin_moderate.htm
==============================================================================
--- trunk/upload/templates/babel/topicadmin_moderate.htm (original)
+++ trunk/upload/templates/babel/topicadmin_moderate.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" />
<a href="$indexname">$bbname</a> $navigation »
<!--{if $operation == 'delete'}-->
@@ -134,7 +134,7 @@
</tr>
<!--{/if}-->
-{template topicadmin_reason}
+{subtemplate topicadmin_reason}
<!--{if in_array($operation, array('stick', 'digest', 'highlight'))}-->
<tr>
@@ -192,4 +192,4 @@
<!--{if in_array($operation, array('stick', 'digest', 'highlight', 'close'))}-->
<script type="text/javascript" src="include/javascript/calendar.js"></script>
<!--{/if}-->
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/topicadmin_split.htm
==============================================================================
--- trunk/upload/templates/babel/topicadmin_split.htm (original)
+++ trunk/upload/templates/babel/topicadmin_split.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" />
<a href="$indexname">$bbname</a> $navigation » {lang admin_split}
</div></div>
@@ -18,7 +18,7 @@
<td class="altbg2"><input type="text" name="subject" size="45"></td>
</tr>
-{template topicadmin_reason}
+{subtemplate topicadmin_reason}
<tr class="header">
<td>{lang select}</td>
@@ -40,4 +40,4 @@
<hr class="board">
<div class="option" style="width: {TABLEWIDTH}"><div class="submitbutton"><input class="button" type="submit" name="splitsubmit" value="{lang admin_split}" id="postsubmit"> {lang post_submit_hotkey}</div></div>
</form>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/touch_view.htm
==============================================================================
--- trunk/upload/templates/babel/touch_view.htm (original)
+++ trunk/upload/templates/babel/touch_view.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template touch_header}
+{subtemplate touch_header}
<!--{eval $thread['subject'] = iconv('gbk', 'utf-8', $thread['subject']);}-->
<div id="nav_title">$thread['subject']</div>
<!--{loop $postlist $post}-->
@@ -28,4 +28,4 @@
<!--{/if}-->
<!--{/loop}-->
<!--{if $touch_multipage}--><div id="page"><div align="center">$touch_multipage</div></div><!--{/if}-->
-{template touch_footer}
\ No newline at end of file
+{subtemplate touch_footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/viewpro_classic.htm
==============================================================================
--- trunk/upload/templates/babel/viewpro_classic.htm (original)
+++ trunk/upload/templates/babel/viewpro_classic.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$bbsdir/$indexname">$bbname</a> » $member[username]
</div></div>
@@ -22,7 +22,7 @@
</td>
<td align="left" valign="top" class="section_even">
<span class="text_large">$member[username]</span> <span class="excerpt"><br /><br />
- <!--{if $member['gender'] == 1}-->{lang male}<!--{elseif $member['gender'] == 2}-->{lang female}<!--{else}-->�Ա�δ֪<!--{/if}-->��$member[regdate]���������־�������� $member[posts] ƪ���ӣ�$member[digestposts] ƪ�����������$member[pageviews]ҳ��־<br /><!--{if $member['username']==$discuz_user}--><span class="tip_i">�����ڲ쿴�����Լ���ҳ�棬�������ĵ�ַ����������ѣ������ǹ�������������־��õĿ��֣�</span><!--{/if}--></span>
+ <span class="tip"><!--{if $member['gender'] == 1}-->{lang male}<!--{elseif $member['gender'] == 2}-->{lang female}<!--{else}-->�Ա�δ֪<!--{/if}-->| Since $member[regdate] - Posts $member[posts] - Digests <a href="$bbsdir/digest/$member[uid].html" class="regular">$member[digestposts]</a> - Viewed $member[pageviews] Pages</span><br /><!--{if $member['username']==$discuz_user}--><span class="tip_i">�����ڲ쿴�����Լ���ҳ�棬�������ĵ�ַ����������ѣ������ǹ�������������־��õĿ��֣�</span><!--{/if}--></span>
</td>
</tr>
<!--{if $now}-->
@@ -170,4 +170,4 @@
</tr>
</table>
</div>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/viewthread.htm
==============================================================================
--- trunk/upload/templates/babel/viewthread.htm (original)
+++ trunk/upload/templates/babel/viewthread.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width:{TABLEWIDTH}"><img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" />
<!--{if $forumjump && $jsmenu[1]}--><span id="forumlist" onmouseover="showMenu(this.id)"><a href="$bbsdir/$indexname">$bbname</a></span><!--{else}--><a href="$bbsdir/$indexname">$bbname</a><!--{/if}--> $navigation
</div></div>
@@ -12,20 +12,20 @@
<!--{if !empty($newpmexists) || $announcepm}-->
<div class="maintable" id="pmprompt">
- {template pmprompt}
+ {subtemplate pmprompt}
</div>
<!--{/if}-->
<!--{if $thread['special'] == 1 && $polloptions}-->
<div class="maintable">
- {template viewthread_poll}
+ {subtemplate viewthread_poll}
</div>
<!--{elseif $thread['special'] == 2}-->
<div class="maintable">
- {template viewthread_trade}
+ {subtemplate viewthread_trade}
</div>
<!--{elseif $thread['special'] == 4}-->
<div class="maintable">
- {template viewthread_activity}
+ {subtemplate viewthread_activity}
</div>
<!--{/if}-->
@@ -77,7 +77,7 @@
<div class="brief" id="tpcBrief">
<a href="$bbsdir/printable-$tid.html" target="_blank">{lang thread_printable}</a> |
<a href="$bbsdir/emailfriend-$tid.html">{lang thread_email_friend}</a> |
- <a href="$bbsdir/my.php?item=subscriptions&subadd=$tid" id="ajax_subscription" onclick="ajaxmenu(event, this.id)">{lang thread_subscribe}</a>
+ <a href="$bbsdir/parasy_my.php?item=subscriptions&subadd=$tid" id="ajax_subscription" onclick="ajaxmenu(event, this.id)">{lang thread_subscribe}</a>
<!--{if $supe['status'] && $xspacestatus && $thread['authorid'] == $discuz_uid}-->
<!--{if !$thread['itemid']}-->
| <a href="$supe[siteurl]/spacecp.php?action=spaceblogs&op=add&tid=$tid" target="_blank">{lang supe_join_xspace}</a>
@@ -175,7 +175,7 @@
<a href="$bbsdir/pre-$fid-$tid.html" class="tg"> {lang next_thread}<span class="tip_i"> <img src="{IMGDIR}/pico_right.gif" align="absmiddle" border="0" /></span></a>
<hr size="1" class="board"/>
<a href="$bbsdir/newthread-$fid-$page.html" class="h">�ڱ�������������</a>
-<div id="tpcFav" style="display: inline;"><a href="$bbsdir/my.php?item=favorites&tid=$tid" id="ajax_favorite" onclick="ajaxmenu(event, this.id)" class="h">:) ��ϲ����ƪ����</a></div>
+<div id="tpcFav" style="display: inline;"><a href="$bbsdir/prasy_my.php?item=favorites&tid=$tid" id="ajax_favorite" onclick="ajaxmenu(event, this.id)" class="h">:) ��ϲ����ƪ����</a></div>
<span class="tip_i"> ... <a href="#"><img src="{IMGDIR}/feed.png" align="absmiddle" border="0" alt="RSS 2.0 Feed" /></a></span>
</div></div>
<div class="maintable">
@@ -405,4 +405,4 @@
return document.all ? document.all[objId] : document.getElementById(objId);
}
</script>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file
Modified: trunk/upload/templates/babel/whosonline.htm
==============================================================================
--- trunk/upload/templates/babel/whosonline.htm (original)
+++ trunk/upload/templates/babel/whosonline.htm Mon Jun 9 00:55:11 2008
@@ -1,4 +1,4 @@
-{template header}
+{subtemplate header}
<div class="subtable nav" style="width: {TABLEWIDTH}">
<img src="{IMGDIR}/map.png" align="absmiddle" alt="You are here" class="map" /><a href="$indexname">$bbname</a> » {lang whosonline}
</div></div>
@@ -52,4 +52,4 @@
<div class="subtable" style="width: {TABLEWIDTH};">
$multipage
</div>
-{template footer}
\ No newline at end of file
+{subtemplate footer}
\ No newline at end of file