code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('nopermission'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/nopermission.htm', 'D:\Website\newbbs\bbs\././templates/default/header.htm', 1268389335, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/nopermission.htm', 'D:\Website\newbbs\bbs\././templates/default/footer.htm', 1268389335, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/nopermission.htm', 'D:\Website\newbbs\bbs\././templates/default/jsmenu.htm', 1268389335, '1', './templates/default') ;?> <? if(!$inajax) { ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" /> <title><?=$navtitle?> <?=$bbname?> <?=$seotitle?> - Powered by Discuz!</title> <?=$seohead?> <meta name="keywords" content="<?=$metakeywords?><?=$seokeywords?>" /> <meta name="description" content="<?=$metadescription?> <?=$bbname?> <?=$seodescription?> - Discuz! Board" /> <meta name="generator" content="Discuz! <?=$version?>" /> <meta name="author" content="Discuz! Team and Comsenz UI Team" /> <meta name="copyright" content="2001-2009 Comsenz Inc." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <meta http-equiv="x-ua-compatible" content="ie=7" /> <link rel="archives" title="<?=$bbname?>" href="<?=$boardurl?>archiver/" /> <?=$rsshead?> <?=$extrahead?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>" /><link rel="stylesheet" type="text/css" href="forumdata/cache/scriptstyle_<?=STYLEID?>_<?=CURSCRIPT?>.css?<?=VERHASH?>" /> <? if($forum['ismoderator']) { ?> <link href="forumdata/cache/style_1_moderator.css?mpd" rel="stylesheet" type="text/css" /> <? } ?><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', disallowfloat = '<?=$disallowfloat?>', creditnotice = '<? if($creditnotice) { ?><?=$creditnames?><? } ?>', <? if(in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))) { ?>gid = parseInt('<?=$thisgid?>')<? } elseif(CURSCRIPT == 'index') { ?>gid = parseInt('<?=$gid?>')<? } else { ?>gid = 0<? } ?>, fid = parseInt('<?=$fid?>'), tid = parseInt('<?=$tid?>')</script> <script src="<?=$jspath?>common.js?<?=VERHASH?>" type="text/javascript"></script> </head> <body id="<?=CURSCRIPT?>" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <div id="header"> <div class="wrap s_clear"> <h2><a href="<?=$indexname?>" title="<?=$bbname?>"><?=BOARDLOGO?></a></h2> <div id="umenu"> <? if($discuz_uid) { ?> <cite><a href="space.php?uid=<?=$discuz_uid?>" class="noborder"><?=$discuz_userss?></a><? if($allowinvisible) { ?><span id="loginstatus"><? if(!empty($invisible)) { ?><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">隐身</a><? } else { ?><a href="member.php?action=switchstatus" title="我要隐身" onclick="ajaxget(this.href, 'loginstatus');doane(event);">在线</a><? } ?></span><? } ?></cite> <span class="pipe">|</span> <? if($ucappopen['UCHOME']) { ?> <a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">空间</a> <? } elseif($ucappopen['XSPACE']) { ?> <a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">空间</a> <? } ?> <a id="myprompt" href="notice.php" <? if($prompt) { ?>class="new" onmouseover="showMenu({'ctrlid':this.id})"<? } ?>>提醒</a> <span id="myprompt_check"></span> <a href="pm.php" id="pm_ntc" target="_blank">短消息</a> <? if($taskon) { ?> <a id="task_ntc" <? if($doingtask) { ?>href="task.php?item=doing" class="new" title="您有未完成的任务"<? } else { ?>href="task.php"<? } ?> target="_blank">论坛任务</a> <? } ?> <span class="pipe">|</span> <a href="memcp.php">个人中心</a> <? if($discuz_uid && $adminid > 1) { ?><a href="modcp.php?fid=<?=$fid?>" target="_blank">管理面板</a><? } if($discuz_uid && $adminid == 1) { ?><a href="admincp.php" target="_blank">管理中心</a><? } ?> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } elseif(!empty($_DCOOKIE['loginuser'])) { ?> <cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">激活</a> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } else { ?> <a href="<?=$regname?>" onclick="showWindow('register', this.href);return false;" class="noborder"><?=$reglinkname?></a> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">登录</a> <? } ?> </div> <div id="ad_headerbanner"><? if($admode && !empty($advlist['headerbanner'])) { ?><?=$advlist['headerbanner']?><? } ?></div> <div id="menu"> <ul> <? if($_DCACHE['settings']['frameon'] > 0) { ?> <li> <span class="frameswitch"> <script type="text/javascript"> if(top == self) { <? if(($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))) { ?> top.location = 'frame.php?frameon=yes&referer='+escape(self.location); <? } ?> document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">分栏模式<\/a>'); } else { document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">平板模式<\/a>'); } </script> </span> </li> <? } if(is_array($navs)) { foreach($navs as $id => $nav) { if($id == 3) { if(!empty($plugins['jsmenu'])) { ?> <?=$nav['nav']?> <? } if(!empty($plugins['links'])) { if(is_array($plugins['links'])) { foreach($plugins['links'] as $module) { if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li><?=$module['url']?></li><? } } } } } else { if(!$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)) { ?><?=$nav['nav']?><? } } } } if(in_array($BASEFILENAME, $navmns)) { $mnid = $BASEFILENAME; } elseif($navmngs[$BASEFILENAME]) { if(is_array($navmngs[$BASEFILENAME])) { foreach($navmngs[$BASEFILENAME] as $navmng) { if($navmng['0'] == array_intersect_assoc($navmng['0'], $_GET)) { $mnid = $navmng['1']; } } } } ?> </ul> <script type="text/javascript"> var currentMenu = $('mn_<?=$mnid?>') ? $('mn_<?=$mnid?>') : $('mn_<?=$navmns['0']?>'); currentMenu.parentNode.className = 'current'; </script> </div> <? if(!empty($stylejumpstatus)) { ?> <script type="text/javascript"> function setstyle(styleid) { str = unescape('<? echo str_replace("'", "\\'", urlencode($_SERVER['QUERY_STRING'])); ?>'); str = str.replace(/(^|&)styleid=\d+/ig, ''); str = (str != '' ? str + '&' : '') + 'styleid=' + styleid; location.href = '<?=$BASESCRIPT?>?' + str; } </script> <ul id="style_switch"><? if(is_array($styles)) { foreach($styles as $id => $stylename) { ?><li<? if($id == STYLEID) { ?> class="current"<? } ?>><a href="###" onclick="setstyle(<?=$id?>)" title="<?=$stylename?>" style="background: <?=$styleicons[$id]?>;"><?=$stylename?></a></li><? } } ?></ul> <? } ?> </div> <div id="myprompt_menu" style="display:none" class="promptmenu"> <div class="promptcontent"> <ul class="s_clear"><? if(is_array($prompts)) { foreach($prompts as $promptkey => $promptdata) { if($promptkey) { ?><li<? if(!$promptdata['new']) { ?> style="display:none"<? } ?>><a id="prompt_<?=$promptkey?>" href="<? if($promptdata['script']) { ?><?=$promptdata['script']?><? } else { ?>notice.php?filter=<?=$promptkey?><? } ?>" target="_blank"><?=$promptdata['name']?> (<?=$promptdata['new']?>)</a></li><? } } } ?></ul> </div> </div> </div> <?=$pluginhooks['global_header']?><div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> &raquo; 提示信息</div> <div id="wrap" class="wrap s_clear"><div class="main"><div class="content nofloat"> <div class="fcontent alert_win"> <h3 class="float_ctrl"><em><?=$bbname?> 提示信息</em></h3> <hr class="shadowline" /> <div class="postbox"><div class="alert_error"> <p>您无权进行当前操作,原因如下:</p> <? if($show_message) { ?><p><?=$show_message?></p></div><? } if($discuz_uid) { ?><p class="alert_btnleft"><a href="faq.php?action=grouppermission" target="_blank">查看您当前用户组的权限</a></p></div> <? } else { ?> <div class="alert_act"> <form method="post" name="login" id="loginform" class="gateform" onsubmit="<? if($pwdsafety) { ?>pwmd5('password3');<? } ?>pwdclear = 1;" action="logging.php?action=login&amp;loginsubmit=yes"> <input type="hidden" name="formhash" value="<?=FORMHASH?>" /> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th> <select name="loginfield" id="loginfield"> <option value="username">用户名</option> <option value="uid">UID</option> <option value="email">Email</option> </select> </th> <td><input type="text" name="username" autocomplete="off" size="36" class="txt" tabindex="1" value="" /></td> </tr> <tr> <th><label for="password3">密码</label></th> <td><input type="password" id="password3" name="password" onkeypress="detectCapsLock(event, this)" size="36" class="txt" tabindex="2" /></td> </tr> <tr> <th><label for="questionid">安全提问</label></th> <td> <select id="questionid" name="questionid" tabindex="3"> <option value="0">安全提问</option> <option value="1">母亲的名字</option> <option value="2">爷爷的名字</option> <option value="3">父亲出生的城市</option> <option value="4">您其中一位老师的名字</option> <option value="5">您个人计算机的型号</option> <option value="6">您最喜欢的餐馆名称</option> <option value="7">驾驶执照的最后四位数字</option> </select> </td> </tr> <tr> <th><label for="answer">回答</label></th> <td><input type="text" name="answer" id="answer" autocomplete="off" size="36" class="txt" tabindex="4" /></td> </tr> <? if($seccodecheck) { ?> <tr> <th></th> <td> <div id="seccodelayer"><? include template('seccheck', '0', ''); ?></div> </td> </tr> <? } ?> <tr> <th>&nbsp;</th> <td> <a class="right" href="<?=$regname?>" onclick="showWindow('register', this.href);return false;"><?=$reglinkname?></a> <button class="submit" type="submit" name="loginsubmit" value="true" tabindex="6">登录</button> <input type="checkbox" class="checkbox" name="cookietime" id="cookietime" tabindex="5" value="2592000" <?=$cookietimecheck?> /> <label for="cookietime">记住我的登录状态</label> </td> </tr> </table> </form> </div> <? } ?> </div> </div></div></div> </div><? if(!empty($plugins['jsmenu'])) { ?> <ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?> <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?> <li><?=$module['url']?></li> <? } } } ?></ul> <? } if(is_array($subnavs)) { foreach($subnavs as $subnav) { ?><?=$subnav?><? } } if($prompts['newbietask'] && $newbietasks) { include template('task_newbie_js', '0', ''); } if($admode && !empty($advlist)) { ?> <div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><? if($advlist['footerbanner2']) { ?><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><? } if($advlist['footerbanner3']) { ?><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div><? } } else { ?> <div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div> <? } ?> <?=$pluginhooks['global_footer']?> <div id="footer"> <div class="wrap s_clear"> <div id="footlink"> <p> <strong><a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a></strong> <? if($icp) { ?>( <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a>)<? } ?> <span class="pipe">|</span><a href="mailto:<?=$adminemail?>">联系我们</a> <? if($allowviewstats) { ?><span class="pipe">|</span><a href="stats.php">论坛统计</a><? } if($archiverstatus) { ?><span class="pipe">|</span><a href="archiver/" target="_blank">Archiver</a><? } if($wapstatus) { ?><span class="pipe">|</span><a href="wap/" target="_blank">WAP</a><? } if($statcode) { ?><span class="pipe">| <?=$statcode?></span><? } ?> <?=$pluginhooks['global_footerlink']?> </p> <p class="smalltext"> GMT<?=$timenow['offset']?>, <?=$timenow['time']?> <? if(debuginfo()) { ?>, <span id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?></span><? } ?>. </p> </div> <div id="rightinfo"> <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p> <p class="smalltext">&copy; 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p> </div><? updatesession(); ?></div> </div> <? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?> <script src="<?=$jspath?>iframe.js?<?=VERHASH?>" type="text/javascript"></script> <? } output(); ?></body> </html><? } else { include template('header', '0', ''); ?><script type="text/javascript" reload="1"> function ajaxerror() { hideMenu(); <? if(!$discuz_uid) { ?> showDialog('<?=$show_message?>', 'confirm', '', function () { hideWindow('<?=$handlekey?>');showWindow('login', 'logging.php?action=login'); }, 0); <? } else { ?> showDialog('<?=$show_message?>', 'notice', '', null, 0); <? } ?> } ajaxerror(); </script><? include template('footer', '0', ''); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_nopermission.tpl.php
PHP
asf20
14,433
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('header_ajax');?><? ob_end_clean(); ob_start(); @header("Expires: -1"); @header("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE); @header("Pragma: no-cache"); @header("Content-type: application/xml; charset=$charset"); echo '<?xml version="1.0" encoding="'.$charset.'"?>';; ?><root><![CDATA[
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_header_ajax.tpl.php
PHP
asf20
392
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('forumdisplay'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/forumdisplay.htm', 'D:\Website\newbbs\bbs\././templates/default/header.htm', 1268615835, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/forumdisplay.htm', 'D:\Website\newbbs\bbs\././templates/default/recommend.htm', 1268615835, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/forumdisplay.htm', 'D:\Website\newbbs\bbs\././templates/default/footer.htm', 1268615835, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/forumdisplay.htm', 'D:\Website\newbbs\bbs\././templates/default/jsmenu.htm', 1268615835, '1', './templates/default') ;?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" /> <title><?=$navtitle?> <?=$bbname?> <?=$seotitle?> - Powered by Discuz!</title> <?=$seohead?> <meta name="keywords" content="<?=$metakeywords?><?=$seokeywords?>" /> <meta name="description" content="<?=$metadescription?> <?=$bbname?> <?=$seodescription?> - Discuz! Board" /> <meta name="generator" content="Discuz! <?=$version?>" /> <meta name="author" content="Discuz! Team and Comsenz UI Team" /> <meta name="copyright" content="2001-2009 Comsenz Inc." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <meta http-equiv="x-ua-compatible" content="ie=7" /> <link rel="archives" title="<?=$bbname?>" href="<?=$boardurl?>archiver/" /> <?=$rsshead?> <?=$extrahead?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>" /><link rel="stylesheet" type="text/css" href="forumdata/cache/scriptstyle_<?=STYLEID?>_<?=CURSCRIPT?>.css?<?=VERHASH?>" /> <? if($forum['ismoderator']) { ?> <link href="forumdata/cache/style_1_moderator.css?mpd" rel="stylesheet" type="text/css" /> <? } ?><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', disallowfloat = '<?=$disallowfloat?>', creditnotice = '<? if($creditnotice) { ?><?=$creditnames?><? } ?>', <? if(in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))) { ?>gid = parseInt('<?=$thisgid?>')<? } elseif(CURSCRIPT == 'index') { ?>gid = parseInt('<?=$gid?>')<? } else { ?>gid = 0<? } ?>, fid = parseInt('<?=$fid?>'), tid = parseInt('<?=$tid?>')</script> <script src="<?=$jspath?>common.js?<?=VERHASH?>" type="text/javascript"></script> </head> <body id="<?=CURSCRIPT?>" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <div id="header"> <div class="wrap s_clear"> <h2><a href="<?=$indexname?>" title="<?=$bbname?>"><?=BOARDLOGO?></a></h2> <div id="umenu"> <? if($discuz_uid) { ?> <cite><a href="space.php?uid=<?=$discuz_uid?>" class="noborder"><?=$discuz_userss?></a><? if($allowinvisible) { ?><span id="loginstatus"><? if(!empty($invisible)) { ?><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">隐身</a><? } else { ?><a href="member.php?action=switchstatus" title="我要隐身" onclick="ajaxget(this.href, 'loginstatus');doane(event);">在线</a><? } ?></span><? } ?></cite> <span class="pipe">|</span> <? if($ucappopen['UCHOME']) { ?> <a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">空间</a> <? } elseif($ucappopen['XSPACE']) { ?> <a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">空间</a> <? } ?> <a id="myprompt" href="notice.php" <? if($prompt) { ?>class="new" onmouseover="showMenu({'ctrlid':this.id})"<? } ?>>提醒</a> <span id="myprompt_check"></span> <a href="pm.php" id="pm_ntc" target="_blank">短消息</a> <? if($taskon) { ?> <a id="task_ntc" <? if($doingtask) { ?>href="task.php?item=doing" class="new" title="您有未完成的任务"<? } else { ?>href="task.php"<? } ?> target="_blank">论坛任务</a> <? } ?> <span class="pipe">|</span> <a href="memcp.php">个人中心</a> <? if($discuz_uid && $adminid > 1) { ?><a href="modcp.php?fid=<?=$fid?>" target="_blank">管理面板</a><? } if($discuz_uid && $adminid == 1) { ?><a href="admincp.php" target="_blank">管理中心</a><? } ?> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } elseif(!empty($_DCOOKIE['loginuser'])) { ?> <cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">激活</a> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } else { ?> <a href="<?=$regname?>" onclick="showWindow('register', this.href);return false;" class="noborder"><?=$reglinkname?></a> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">登录</a> <? } ?> </div> <div id="ad_headerbanner"><? if($admode && !empty($advlist['headerbanner'])) { ?><?=$advlist['headerbanner']?><? } ?></div> <div id="menu"> <ul> <? if($_DCACHE['settings']['frameon'] > 0) { ?> <li> <span class="frameswitch"> <script type="text/javascript"> if(top == self) { <? if(($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))) { ?> top.location = 'frame.php?frameon=yes&referer='+escape(self.location); <? } ?> document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">分栏模式<\/a>'); } else { document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">平板模式<\/a>'); } </script> </span> </li> <? } if(is_array($navs)) { foreach($navs as $id => $nav) { if($id == 3) { if(!empty($plugins['jsmenu'])) { ?> <?=$nav['nav']?> <? } if(!empty($plugins['links'])) { if(is_array($plugins['links'])) { foreach($plugins['links'] as $module) { if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li><?=$module['url']?></li><? } } } } } else { if(!$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)) { ?><?=$nav['nav']?><? } } } } if(in_array($BASEFILENAME, $navmns)) { $mnid = $BASEFILENAME; } elseif($navmngs[$BASEFILENAME]) { if(is_array($navmngs[$BASEFILENAME])) { foreach($navmngs[$BASEFILENAME] as $navmng) { if($navmng['0'] == array_intersect_assoc($navmng['0'], $_GET)) { $mnid = $navmng['1']; } } } } ?> </ul> <script type="text/javascript"> var currentMenu = $('mn_<?=$mnid?>') ? $('mn_<?=$mnid?>') : $('mn_<?=$navmns['0']?>'); currentMenu.parentNode.className = 'current'; </script> </div> <? if(!empty($stylejumpstatus)) { ?> <script type="text/javascript"> function setstyle(styleid) { str = unescape('<? echo str_replace("'", "\\'", urlencode($_SERVER['QUERY_STRING'])); ?>'); str = str.replace(/(^|&)styleid=\d+/ig, ''); str = (str != '' ? str + '&' : '') + 'styleid=' + styleid; location.href = '<?=$BASESCRIPT?>?' + str; } </script> <ul id="style_switch"><? if(is_array($styles)) { foreach($styles as $id => $stylename) { ?><li<? if($id == STYLEID) { ?> class="current"<? } ?>><a href="###" onclick="setstyle(<?=$id?>)" title="<?=$stylename?>" style="background: <?=$styleicons[$id]?>;"><?=$stylename?></a></li><? } } ?></ul> <? } ?> </div> <div id="myprompt_menu" style="display:none" class="promptmenu"> <div class="promptcontent"> <ul class="s_clear"><? if(is_array($prompts)) { foreach($prompts as $promptkey => $promptdata) { if($promptkey) { ?><li<? if(!$promptdata['new']) { ?> style="display:none"<? } ?>><a id="prompt_<?=$promptkey?>" href="<? if($promptdata['script']) { ?><?=$promptdata['script']?><? } else { ?>notice.php?filter=<?=$promptkey?><? } ?>" target="_blank"><?=$promptdata['name']?> (<?=$promptdata['new']?>)</a></li><? } } } ?></ul> </div> </div> </div> <?=$pluginhooks['global_header']?><? if($forum['ismoderator']) { ?> <script src="<?=$jspath?>moderate.js?<?=VERHASH?>" type="text/javascript"></script> <? } ?> <div id="nav"><a id="fjump" href="<?=$indexname?>"<? if($forumjump == 1) { ?> class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})"<? } ?>><?=$bbname?></a> <?=$navigation?></div> <? if($admode && !empty($advlist['text'])) { ?> <div id="ad_text" class="ad_text" > <table summary="Text Ad" cellpadding="0" cellspacing="0"><?=$advlist['text']?></table> </div> <? } else { ?> <div id="ad_text"></div> <? } ?> <div id="wrap"<? if($infosidestatus['allow'] < 2) { ?> class="wrap s_clear"<? } else { ?> class="wrap with_side s_clear"<? } ?>> <? if($infosidestatus['allow'] == 2) { ?> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['打开边栏', '关闭边栏']);" class="<?=$collapseimg['sidebar']?>"><? if($collapseimg['sidebar'] == 'collapsed_yes') { ?>打开边栏<? } else { ?>关闭边栏<? } ?></a> <? } elseif($infosidestatus['allow'] == 1) { ?> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['', '关闭边栏']);" class="collapsed_yes">打开边栏</a> <? } ?> <div class="main"> <div class="content"> <?=$pluginhooks['forumdisplay_header']?> <div id="forumheader" class="s_clear"> <h1 style="<? if($forum['extra']['namecolor']) { ?>color: <?=$forum['extra']['namecolor']?>;<? } ?>"><?=$forum['name']?></h1> <p class="forumstats">[ <strong><?=$forum['threads']?></strong> 主题 / <? echo $forum['posts']-$forum['threads']; ?> 回复 ]</p> <div class="forumaction"> <div class="right"> <?=$pluginhooks['forumdisplay_forumaction']?> <? if($discuz_uid) { ?> <a href="my.php?item=attention&amp;type=forum&amp;action=add&amp;fid=<?=$fid?>" id="ajax_attention" class="attention" onclick="ajaxmenu(this);doane(event);">关注</a> <a href="my.php?item=favorites&amp;fid=<?=$fid?>" id="ajax_favorite" onclick="ajaxmenu(this);doane(event);">收藏</a> <? } if($rssstatus) { ?><a href="rss.php?fid=<?=$fid?>&amp;auth=<?=$rssauth?>" target="_blank" class="feed">RSS</a><? } ?> </div> <? if($forum['recyclebin'] && $forum['ismoderator']) { ?> <a href="<? if($adminid == 1) { ?>admincp.php?action=recyclebin&amp;frames=yes<? } elseif($forum['ismoderator']) { ?>modcp.php?action=recyclebins&amp;fid=<?=$fid?><? } ?>" class="recyclebin" target="_blank">回收站</a> <? } ?> </div> <? if($forum['description']) { ?><p class="channelinfo">版块介绍: <?=$forum['description']?></p><? } ?> <p id="modedby"> <? if($forum['ismoderator']) { ?> <div class="modlink"> <?=$pluginhooks['forumdisplay_modlink']?> <? if($forum['modworks']) { if($reportnum) { ?><a href="modcp.php?action=report&amp;fid=<?=$fid?>" target="_blank">用户报告(<?=$reportnum?>)</a> |<? } if($modnum) { ?><a href="modcp.php?action=moderate&amp;op=threads&amp;fid=<?=$fid?>" target="_blank">待审核帖(<?=$modnum?>)</a> |<? } if($modusernum) { ?><a href="modcp.php?action=moderate&amp;op=members&amp;fid=<?=$fid?>" target="_blank">待审核用户(<?=$modusernum?>)</a> |<? } } ?> <a href="modcp.php?fid=<?=$fid?>" target="_blank">管理面板</a> </div> <? } ?> 版主: <? if($moderatedby) { ?><?=$moderatedby?><? } else { ?>*空缺中*<? } ?> </p> </div> <?=$pluginhooks['forumdisplay_top']?> <? if($forum['recommendlist'] || $forum['rules']) { ?> <div id="modarea" class="s_clear"> <div class="list"> <span class="headactions"><img onclick="toggle_collapse('modarea_c');" alt="收起/展开" title="收起/展开" src="<?=IMGDIR?>/<?=$collapseimg['modarea_c']?>.gif" id="modarea_c_img" class="toggle" /></span> <h3> <? if($forum['recommendlist']) { ?> <a href="javascript:;" id="tab_1" class="current" <? if($forum['rules']) { ?> onclick="switchTab('tab', 1, 2)"<? } ?>>推荐主题</a><? if($forum['ismoderator'] && $allowrecommendthread) { ?><a href="modcp.php?action=forums&amp;op=recommend&amp;show=all&amp;fid=<?=$fid?>" target="_blank">[编辑]</a><? } } if($forum['recommendlist'] && $forum['rules']) { ?><span class="pipe">|</span><? } if($forum['rules']) { ?><a href="javascript:;" id="tab_2"<? if(!$forum['recommendlist']) { ?> class="current"<? } ?> <? if($forum['recommendlist']) { ?> onclick="switchTab('tab', 2, 2)"<? } ?>>本版规则</a><? } ?> </h3> </div> <div id="modarea_c" style="<?=$collapse['modarea_c']?>"> <? if($forum['recommendlist']) { ?> <div id="tab_c_1"><? if($forum['recommendlist']['images']) { ?> <div style="float: left; width: <?=$forum['modrecommend']['imagewidth']?>px;"> <script type="text/javascript"> var slideSpeed = 5000; var slideImgsize = [<?=$forum['modrecommend']['imagewidth']?>,<?=$forum['modrecommend']['imageheight']?>]; var slideBorderColor = '<?=SPECIALBORDER?>'; var slideBgColor = '<?=COMMONBG?>'; var slideImgs = new Array(); var slideImgLinks = new Array(); var slideImgTexts = new Array(); var slideSwitchColor = '<?=TABLETEXT?>'; var slideSwitchbgColor = '<?=COMMONBG?>'; var slideSwitchHiColor = '<?=SPECIALBORDER?>';<? if(is_array($forum['recommendlist']['images'])) { foreach($forum['recommendlist']['images'] as $k => $imginfo) { ?>slideImgs[<? echo $k+1; ?>] = "<?=$imginfo['filename']?>"; slideImgLinks[<? echo $k+1; ?>] = "viewthread.php?tid=<?=$imginfo['tid']?>&amp;from=recommend_f"; slideImgTexts[<? echo $k+1; ?>] = "<?=$imginfo['subject']?>";<? } } ?></script> <script src="include/js/slide.js" type="text/javascript"></script> </div> <? } ?> <div class="inlinelist titlelist s_clear"<? if($forum['recommendlist']['images']) { ?> style="margin-left: <?=$forum['modrecommend']['imagewidth']?>px;"<? } ?>><? unset($forum['recommendlist']['images']); ?><ul><? if(is_array($forum['recommendlist'])) { foreach($forum['recommendlist'] as $rtid => $recommend) { ?><li class="wide"><cite><a href="space.php?uid=<?=$recommend['authorid']?>&amp;from=recommend_f" target="_blank"><?=$recommend['author']?></a></cite><a href="viewthread.php?tid=<?=$rtid?>&amp;from=recommend_f" <?=$recommend['subjectstyles']?> target="_blank"><?=$recommend['subject']?></a></li><? } } ?></ul> </div></div> <? } if($forum['rules']) { ?> <div id="tab_c_2"<? if($forum['recommendlist']) { ?> style="display:none"<? } ?> class="rule"><?=$forum['rules']?></div> <? } ?> </div> </div> <? } if($subexists) { ?> <div id="subforum" class="mainbox list"><? include template('forumdisplay_subforum', '0', ''); ?></div> <? } ?> <?=$pluginhooks['forumdisplay_middle']?> <div class="pages_btns s_clear"> <?=$multipage?> <span <? if($visitedforums) { ?>id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"<? } ?> class="pageback"><a href="<?=$indexname?>">返回首页</a></span> <span class="postbtn" id="newspecial" prompt="post_newthread" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&amp;fid=<?=$fid?>"<? if(!$forum['allowspecialonly']) { ?> onclick="showWindow('newthread', this.href);return false;"<? } ?>>发帖</a></span> </div> <? if($forum['threadtypes'] && $forum['threadtypes']['listable'] || $forum['threadsorts']) { ?> <div class="threadtype"> <? if($forum['threadtypes'] && $forum['threadtypes']['listable']) { ?> <p> <? if($typeid || $sortid) { ?><a href="forumdisplay.php?fid=<?=$fid?>">全部</a><? } else { ?><strong>全部</strong><? } if(is_array($forum['threadtypes']['flat'])) { foreach($forum['threadtypes']['flat'] as $id => $name) { if($typeid != $id) { ?><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=type&amp;typeid=<?=$id?><?=$sortadd?>"><?=$name?></a><? } else { ?><strong><?=$name?></strong><? } ?> <? } } if($forum['threadtypes']['selectbox']) { ?> <span id="threadtypesmenu" class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})">更多分类</span> <div class="popupmenu_popup headermenu_popup" id="threadtypesmenu_menu" style="display: none"> <ul><? if(is_array($forum['threadtypes']['selectbox'])) { foreach($forum['threadtypes']['selectbox'] as $id => $name) { ?><li> <? if($typeid != $id) { ?> <a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=type&amp;typeid=<?=$id?><?=$sortadd?>"><?=$name?></a> <? } else { ?> <strong><?=$name?></strong> <? } ?> </li><? } } ?></ul> </div> <? } ?> </p> <? } if($forum['threadsorts']) { ?> <p> <? if(!$forum['threadtypes']['listable']) { if($sortid) { ?><a href="forumdisplay.php?fid=<?=$fid?>">全部</a><? } else { ?><strong>全部</strong><? } } if(is_array($forum['threadsorts']['flat'])) { foreach($forum['threadsorts']['flat'] as $id => $name) { if($sortid != $id) { ?><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=sort&amp;sortid=<?=$id?><?=$typeadd?>"><?=$name?></a><? } else { ?><strong><?=$name?></strong><? } ?> <? } } if($forum['threadsorts']['selectbox']) { ?> <span id="threadsortsmenu" class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})">更多分类</span> <div class="popupmenu_popup headermenu_popup" id="threadsortsmenu_menu" style="display: none"> <ul><? if(is_array($forum['threadsorts']['selectbox'])) { foreach($forum['threadsorts']['selectbox'] as $id => $name) { ?><li> <? if($sortid != $id) { ?> <a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=sort&amp;sortid=<?=$id?><?=$typeadd?>"><?=$name?></a> <? } else { ?> <strong><?=$name?></strong> <? } ?> </li><? } } ?></ul> </div> <? } ?> </p> <? } ?> </div> <? } ?> <div id="threadlist" class="threadlist datalist" style="position: relative;"> <form method="post" name="moderate" id="moderate" action="topicadmin.php?action=moderate&amp;fid=<?=$fid?>&amp;infloat=yes&amp;nopost=yes"> <input type="hidden" name="formhash" value="<?=FORMHASH?>" /> <input type="hidden" name="listextra" value="<?=$extra?>" /> <table summary="forum_<?=$fid?>" <? if(!$separatepos) { ?>id="forum_<?=$fid?>"<? } ?> cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td colspan="2">&nbsp;<a href="javascript:;" id="filtertype" class="dropmenu" onclick="showMenu({'ctrlid':this.id});"><? if($filter == poll) { ?>投票 <? } elseif($filter == trade) { ?>商品 <? } elseif($filter == activity) { ?>活动 <? } elseif($filter == debate) { ?>辩论 <? } elseif($filter == reward) { ?>悬赏 <? } else { ?>类型<? } ?></a></td> <? if($forum['ismoderator']) { ?><td class="icon">&nbsp;</td><? } ?> <th> <ul class="itemfilter s_clear"> <li>主题:</li> <li<? if(!$filter) { ?> class="current"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>"><span>全部</span></a></li> <li<? if($filter == 'digest') { ?> class="current"<? } ?>><a class="filter" href="forumdisplay.php?fid=<?=$fid?>&amp;filter=digest"><span>精华</span></a></li> <? if($recommendthread['status']) { ?><li<? if($filter == 'recommend') { ?> class="current"<? } ?>><a class="filter" href="forumdisplay.php?fid=<?=$fid?>&amp;filter=recommend&amp;orderby=recommends"><span>推荐</span></a></li><? } ?> <li class="pipe">|</li> <li>时间:</li> <li<? if($filter == 86400) { ?> class="current"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;orderby=<?=$orderby?>&amp;filter=86400<?=$typeadd?><?=$sortadd?>"><span>一天</span></a></li> <li<? if($filter == 172800) { ?> class="current"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;orderby=<?=$orderby?>&amp;filter=172800<?=$typeadd?><?=$sortadd?>"><span>两天</span></a></li> <li<? if($filter == 604800) { ?> class="current"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;orderby=<?=$orderby?>&amp;filter=604800<?=$typeadd?><?=$sortadd?>"><span>周</span></a></li> <li<? if($filter == 2592000) { ?> class="current"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;orderby=<?=$orderby?>&amp;filter=2592000<?=$typeadd?><?=$sortadd?>"><span>月</span></a></li> <li<? if($filter == 7948800) { ?> class="current"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;orderby=<?=$orderby?>&amp;filter=7948800<?=$typeadd?><?=$sortadd?>"><span>季</span></a></li> <li class="pipe">|</li> <li><a class="order <? if($orderby == 'heats' || $orderby == 'recommends') { ?>order_active<? } ?>" href="forumdisplay.php?fid=<?=$fid?>&amp;filter=<?=$filter?>&amp;orderby=<? if($filter == 'recommend') { ?>recommends<? } else { ?>heats<? } ?><?=$typeadd?><?=$sortadd?>">热门</a></li> </ul> </th> <td class="author"><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=<?=$filter?>&amp;orderby=dateline<?=$typeadd?><?=$sortadd?>" class="order <? if($orderby == 'dateline') { ?>order_active<? } ?>">作者/时间</a></td> <td class="nums"><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=<?=$filter?>&amp;orderby=replies<?=$typeadd?><?=$sortadd?>" class="order <? if($orderby == 'replies') { ?>order_active<? } ?>">回复</a>&nbsp;<a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=<?=$filter?>&amp;orderby=views<?=$typeadd?><?=$sortadd?>" class="order <? if($orderby == 'views') { ?>order_active<? } ?>">查看</a></td> <td class="lastpost"><cite><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=<?=$filter?>&amp;orderby=lastpost<?=$typeadd?><?=$sortadd?>" class="order <? if($orderby == 'lastpost') { ?>order_active<? } ?>">最后发表</a></cite></td> </tr> </thead> <? if($page == 1 && !empty($announcement)) { ?> <tbody> <tr> <td class="folder"><img src="<?=IMGDIR?>/ann_icon.gif" alt="公告" /></td> <td class="icon">&nbsp;</td> <? if($forum['ismoderator']) { ?><td class="icon">&nbsp;</td><? } ?> <th class="subject"><strong>公告: <? if(empty($announcement['type'])) { ?><a href="announcement.php?id=<?=$announcement['id']?>#<?=$announcement['id']?>" target="_blank"><?=$announcement['subject']?></a><? } else { ?><a href="<?=$announcement['message']?>" target="_blank"><?=$announcement['subject']?></a><? } ?></strong></th> <td class="author"> <cite><a href="space.php?uid=<?=$announcement['authorid']?>"><?=$announcement['author']?></a></cite> <em><?=$announcement['starttime']?></em> </td> <td class="nums">&nbsp;</td> <td class="lastpost">&nbsp;</td> </tr> </tbody> <? } if($threadcount) { if(is_array($threadlist)) { foreach($threadlist as $key => $thread) { if($forumseparator == 1 && $separatepos == $key + 1) { ?> <tbody> <tr> <td class="folder"></td><td>&nbsp;</td> <? if($forum['ismoderator']) { ?><td>&nbsp;</td><? } ?> <th class="subject">版块主题</th><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> </tr> </tbody> <? } ?> <tbody id="<?=$thread['id']?>"> <tr> <td class="folder"> <a href="viewthread.php?tid=<?=$thread['tid']?>&amp;extra=<?=$extra?>" title="新窗口打开" target="_blank"> <? if($thread['folder'] == 'lock') { ?> <img src="<?=IMGDIR?>/folder_lock.gif" /></a> <? } elseif(in_array($thread['displayorder'], array(1, 2, 3, 4))) { ?> <img src="<?=IMGDIR?>/pin_<?=$thread['displayorder']?>.gif" alt="<?=$threadsticky[3-$thread['displayorder']]?>" /></a> <? } else { ?> <img src="<?=IMGDIR?>/folder_<?=$thread['folder']?>.gif" /></a> <? } ?> </td> <td class="icon"> <? if($thread['special'] == 1) { ?> <a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=poll"><img src="<?=IMGDIR?>/pollsmall.gif" alt="投票" /></a> <? } elseif($thread['special'] == 2) { ?> <a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=trade"><img src="<?=IMGDIR?>/tradesmall.gif" alt="商品" /></a> <? } elseif($thread['special'] == 3) { ?> <a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=reward"><img src="<?=IMGDIR?>/rewardsmall.gif" alt="悬赏" <? if($thread['price'] < 0) { ?>class="solved"<? } ?> /></a> <? } elseif($thread['special'] == 4) { ?> <a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=activity"><img src="<?=IMGDIR?>/activitysmall.gif" alt="活动" /></a> <? } elseif($thread['special'] == 5) { ?> <a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=debate"><img src="<?=IMGDIR?>/debatesmall.gif" alt="辩论" /></a> <? } else { ?> <?=$thread['icon']?> <? } ?> </td> <? if($forum['ismoderator']) { ?> <td class="icon"> <? if($thread['fid'] == $fid && $thread['digest'] >= 0) { if($thread['displayorder'] <= 3 || $adminid == 1) { ?> <input onclick="tmodclick(this)" class="checkbox" type="checkbox" name="moderate[]" value="<?=$thread['tid']?>" /> <? } else { ?> <input class="checkbox" type="checkbox" disabled="disabled" /> <? } } else { ?> <input class="checkbox" type="checkbox" disabled="disabled" /> <? } ?> </td> <? } ?> <th class="subject <?=$thread['folder']?>"> <label><?=$pluginhooks['forumdisplay_thread'][$key]?>&nbsp;</label> <? if($thread['moved']) { if($forum['ismoderator']) { ?> <a href="topicadmin.php?action=moderate&amp;optgroup=3&amp;operation=delete&amp;tid=<?=$thread['moved']?>" onclick="showWindow('mods', this.href);return false">移动:</a> <? } else { ?> 移动: <? } } ?> <?=$thread['sortid']?> <?=$thread['typeid']?> <span id="thread_<?=$thread['tid']?>"><a href="viewthread.php?tid=<?=$thread['tid']?>&amp;extra=<?=$extra?>"<?=$thread['highlight']?>><?=$thread['subject']?></a></span> <? if($thread['readperm']) { ?> - [阅读权限 <span class="bold"><?=$thread['readperm']?></span>]<? } if($thread['price'] > 0) { if($thread['special'] == '3') { ?> - <span style="color: #C60">[悬赏<?=$extcredits[$creditstransextra['2']]['title']?> <span class="bold"><?=$thread['price']?></span> <?=$extcredits[$creditstransextra['2']]['unit']?>]</span> <? } else { ?> - [售价 <?=$extcredits[$creditstransextra['1']]['title']?> <span class="bold"><?=$thread['price']?></span> <?=$extcredits[$creditstransextra['1']]['unit']?>] <? } } elseif($thread['special'] == '3' && $thread['price'] < 0) { ?> - <span style="color: #269F11">[已解决]</span> <? } if($thread['attachment'] == 2) { ?> <img src="images/attachicons/image_s.gif" alt="图片附件" class="attach" /> <? } elseif($thread['attachment'] == 1) { ?> <img src="images/attachicons/common.gif" alt="附件" class="attach" /> <? } if($thread['displayorder'] == 0) { if($thread['recommendicon']) { ?> <img src="<?=IMGDIR?>/recommend_<?=$thread['recommendicon']?>.gif" class="attach" alt="评价指数 <?=$thread['recommends']?>" title="评价指数 <?=$thread['recommends']?>" /> <? } if($thread['heatlevel']) { ?> <img src="<?=IMGDIR?>/hot_<?=$thread['heatlevel']?>.gif" class="attach" alt="<?=$thread['heatlevel']?> 级热门" title="<?=$thread['heatlevel']?> 级热门" /> <? } if($thread['digest'] > 0) { ?> <img src="<?=IMGDIR?>/digest_<?=$thread['digest']?>.gif" class="attach" alt="精华 <?=$thread['digest']?>" title="精华 <?=$thread['digest']?>" /> <? } if($thread['rate'] > 0) { ?> <img src="<?=IMGDIR?>/agree.gif" class="attach" alt="帖子被加分" title="帖子被加分" /> <? } } if($thread['multipage']) { ?> <span class="threadpages"><?=$thread['multipage']?></span> <? } ?> </th> <td class="author"> <cite> <? if($thread['authorid'] && $thread['author']) { ?> <a href="space.php?uid=<?=$thread['authorid']?>"><?=$thread['author']?></a> <? } else { if($forum['ismoderator']) { ?> <a href="space.php?uid=<?=$thread['authorid']?>">匿名</a> <? } else { ?> 匿名 <? } } ?> </cite> <em><?=$thread['dateline']?></em> </td> <td class="nums"><strong><?=$thread['replies']?></strong>/<em><?=$thread['views']?></em></td> <td class="lastpost"> <cite><? if($thread['lastposter']) { ?><a href="<? if($thread['digest'] != -2) { ?>space.php?username=<?=$thread['lastposterenc']?><? } else { ?>viewthread.php?tid=<?=$thread['tid']?>&amp;page=<? echo max(1, $thread['pages']);; } ?>"><?=$thread['lastposter']?></a><? } else { ?>匿名<? } ?></cite> <em><a href="<? if($thread['digest'] != -2) { ?>redirect.php?tid=<?=$thread['tid']?>&amp;goto=lastpost<?=$highlight?>#lastpost<? } else { ?>viewthread.php?tid=<?=$thread['tid']?>&amp;page=<? echo max(1, $thread['pages']);; } ?>"><?=$thread['lastpost']?></a></em> </td> </tr> </tbody><? } } } else { ?> <tbody><tr><th colspan="6"><p class="nodata">本版块或指定的范围内尚无主题。</p></th></tr></tbody> <? } ?> </table> <? if($forum['ismoderator'] && $threadcount) { include template('topicadmin_modlayer', '0', ''); } ?> </form> </div> <div class="pages_btns s_clear"> <?=$multipage?> <span <? if($visitedforums) { ?>id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"<? } ?> class="pageback"><a href="<?=$indexname?>">返回首页</a></span> <span class="postbtn" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&amp;fid=<?=$fid?>"<? if(!$forum['allowspecialonly']) { ?> onclick="showWindow('newthread', this.href);return false;"<? } ?>>发帖</a></span> </div> <? if($whosonlinestatus) { ?> <dl id="onlinelist"> <? if($detailstatus) { ?> <dd> <span class="headactions"><a href="forumdisplay.php?fid=<?=$fid?>&amp;page=<?=$page?>&amp;showoldetails=no#online"><img src="<?=IMGDIR?>/collapsed_no.gif" alt="" /></a></span> <h3>正在浏览此版块的会员</h3> </dd> <dd> <ul class="s_clear"><? if(is_array($whosonline)) { foreach($whosonline as $key => $online) { ?><li title="时间: <?=$online['lastactivity']?><?="\n"?> 操作: <?=$online['action']?><?="\n"?> 版块: <?=$forumname?>"> <img src="images/common/<?=$online['icon']?>" alt="" /> <? if($online['uid']) { ?> <a href="space.php?uid=<?=$online['uid']?>"><?=$online['username']?></a> <? } else { ?> <?=$online['username']?> <? } ?> </li><? } } ?></ul> </dd> <? } else { ?> <dt> <span class="headactions"><a href="forumdisplay.php?fid=<?=$fid?>&amp;page=<?=$page?>&amp;showoldetails=yes#online" class="nobdr"><img src="<?=IMGDIR?>/collapsed_yes.gif" alt="" /></a></span> <h3>正在浏览此版块的会员</h3> </dt> <? } ?> </dl> <? } ?> <?=$pluginhooks['forumdisplay_bottom']?> </div> </div> <? if($infosidestatus['allow'] == 2) { ?> <div id="sidebar" class="side" style="<?=$collapse['sidebar']?>"> <? if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 2)) { ?> <div id="qihoosearch" class="sidebox"> <form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';"> <input type="hidden" name="searchsubmit" value="yes" /> <input type="text" class="txt" name="srchtxt" size="20" value="<?=$qihoo_searchboxtxt?>" /> &nbsp;<button type="submit">搜索</button> </form> </div> <? } if($infosidestatus['0']) { if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 2)) { ?> <hr class="shadowline"/> <? } ?> <div id="infoside"><? request($infosidestatus, 1, 0); ?></div> <? } ?> </div> <? } if($allowpost && ($allowposttrade || $allowpostpoll || $allowpostreward || $allowpostactivity || $allowpostdebate || $threadplugins || $forum['threadsorts'])) { ?> <ul class="popupmenu_popup postmenu" id="newspecial_menu" style="display: none"> <? if(!$forum['allowspecialonly']) { ?><li><a href="post.php?action=newthread&amp;fid=<?=$fid?>" onclick="showWindow('newthread', this.href);doane(event)">发新话题</a></li><? } if($allowpostpoll) { ?><li class="poll"><a href="post.php?action=newthread&amp;fid=<?=$fid?>&amp;special=1">发布投票</a></li><? } if($allowpostreward) { ?><li class="reward"><a href="post.php?action=newthread&amp;fid=<?=$fid?>&amp;special=3">发布悬赏</a></li><? } if($allowpostdebate) { ?><li class="debate"><a href="post.php?action=newthread&amp;fid=<?=$fid?>&amp;special=5">发布辩论</a></li><? } if($allowpostactivity) { ?><li class="activity"><a href="post.php?action=newthread&amp;fid=<?=$fid?>&amp;special=4">发布活动</a></li><? } if($allowposttrade) { ?><li class="trade"><a href="post.php?action=newthread&amp;fid=<?=$fid?>&amp;special=2">发布商品</a></li><? } if($threadplugins) { if(is_array($forum['threadplugin'])) { foreach($forum['threadplugin'] as $tpid) { if(array_key_exists($tpid, $threadplugins) && @in_array($tpid, $allowthreadplugin)) { ?> <li class="popupmenu_option"<? if($threadplugins[$tpid]['icon']) { ?> style="background-image:url(<?=$threadplugins[$tpid]['icon']?>)"<? } ?>><a href="post.php?action=newthread&amp;fid=<?=$fid?>&amp;specialextra=<?=$tpid?>"><?=$threadplugins[$tpid]['name']?></a></li> <? } } } } if($forum['threadsorts'] && !$forum['allowspecialonly']) { if(is_array($forum['threadsorts']['types'])) { foreach($forum['threadsorts']['types'] as $id => $threadsorts) { if($forum['threadsorts']['show'][$id]) { ?> <li class="popupmenu_option"><a href="post.php?action=newthread&amp;fid=<?=$fid?>&amp;extra=<?=$extra?>&amp;sortid=<?=$id?>"><?=$threadsorts?></a></li> <? } } } if(is_array($forum['typemodels'])) { foreach($forum['typemodels'] as $id => $model) { ?><li class="popupmenu_option"><a href="post.php?action=newthread&amp;fid=<?=$fid?>&amp;extra=<?=$extra?>&amp;modelid=<?=$id?>"><?=$model['name']?></a></li><? } } } ?> </ul> <? } ?> <ul class="popupmenu_popup headermenu_popup filter_popup" id="filtertype_menu" style="display: none;"> <li><a href="forumdisplay.php?fid=<?=$fid?>">全部</a></li> <? if($showpoll) { ?><li <? if($filter == 'poll') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=poll">投票</a></li><? } if($showtrade) { ?><li <? if($filter == 'trade') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=trade">商品</a></li><? } if($showreward) { ?><li <? if($filter == 'reward') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=reward">悬赏</a></li><? } if($showactivity) { ?><li <? if($filter == 'activity') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=activity">活动</a></li><? } if($showdebate) { ?><li <? if($filter == 'debate') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=debate">辩论</a></li><? } if($threadplugins) { if(is_array($forum['threadplugin'])) { foreach($forum['threadplugin'] as $tpid) { if(array_key_exists($tpid, $threadplugins) && @in_array($tpid, $allowthreadplugin)) { ?> <li <? if($filter == 'special' && $extraid == $tpid) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&amp;filter=special&amp;extraid=<?=$tpid?>"><?=$threadplugins[$tpid]['name']?></a></li> <? } } } } ?> </ul> <? if($visitedforums) { ?> <ul class="popupmenu_popup" id="visitedforums_menu" style="display: none"> <?=$visitedforums?> </ul> <? } if($forumjump) { ?> <div class="popupmenu_popup" id="fjump_menu" style="display: none"> <?=$forummenu?> </div> <? } if($maxpage > 1) { ?> <script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <? if($page > 1) { ?>1<? } else { ?>0<? } ?>, <? if($page < $maxpage) { ?>1<? } else { ?>0<? } ?>, 'forumdisplay.php?fid=<?=$fid?><?=$forumdisplayadd?>', <?=$page?>);}</script> <? } ?> </div><? if(!empty($plugins['jsmenu'])) { ?> <ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?> <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?> <li><?=$module['url']?></li> <? } } } ?></ul> <? } if(is_array($subnavs)) { foreach($subnavs as $subnav) { ?><?=$subnav?><? } } if($prompts['newbietask'] && $newbietasks) { include template('task_newbie_js', '0', ''); } if($admode && !empty($advlist)) { ?> <div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><? if($advlist['footerbanner2']) { ?><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><? } if($advlist['footerbanner3']) { ?><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div><? } } else { ?> <div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div> <? } ?> <?=$pluginhooks['global_footer']?> <div id="footer"> <div class="wrap s_clear"> <div id="footlink"> <p> <strong><a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a></strong> <? if($icp) { ?>( <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a>)<? } ?> <span class="pipe">|</span><a href="mailto:<?=$adminemail?>">联系我们</a> <? if($allowviewstats) { ?><span class="pipe">|</span><a href="stats.php">论坛统计</a><? } if($archiverstatus) { ?><span class="pipe">|</span><a href="archiver/" target="_blank">Archiver</a><? } if($wapstatus) { ?><span class="pipe">|</span><a href="wap/" target="_blank">WAP</a><? } if($statcode) { ?><span class="pipe">| <?=$statcode?></span><? } ?> <?=$pluginhooks['global_footerlink']?> </p> <p class="smalltext"> GMT<?=$timenow['offset']?>, <?=$timenow['time']?> <? if(debuginfo()) { ?>, <span id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?></span><? } ?>. </p> </div> <div id="rightinfo"> <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p> <p class="smalltext">&copy; 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p> </div><? updatesession(); ?></div> </div> <? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?> <script src="<?=$jspath?>iframe.js?<?=VERHASH?>" type="text/javascript"></script> <? } output(); ?></body> </html>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_forumdisplay.tpl.php
PHP
asf20
37,911
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('post_forumselect');?><? include template('header', '0', ''); if(empty($infloat)) { ?> <div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> <?=$navigation?></div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <? } ?> <div class="fcontent"> <div style="display: none"> <ul id="fs_group"><?=$grouplist?></ul> <ul id="fs_forum_common"><?=$commonlist?></ul><? if(is_array($forumlist)) { foreach($forumlist as $forumid => $forum) { ?><ul id="fs_forum_<?=$forumid?>"><?=$forum?></ul><? } } if(is_array($subforumlist)) { foreach($subforumlist as $forumid => $forum) { ?><ul id="fs_subforum_<?=$forumid?>"><?=$forum?></ul><? } } ?></div> <h3 class="float_ctrl"> <em>导航</em> <span> <? if(!empty($infloat)) { ?><a href="javascript:;" class="float_close" onclick="hideWindow('nav')" title="关闭">关闭</a><? } ?> </span> </h3> <div class="postbox"> <p class="s_clear"> <button class="right" id="postbtn" onclick="hideWindow('nav');showWindow('newthread', 'post.php?action=newthread&fid=' + selectfid);" disabled="disabled">发帖</button> <button class="right" id="enterbtn" onclick="locationforums(currentblock, currentfid)" disabled="disabled">进入</button> <span class="switchnav"><?=$bbname?><span id="switchnav"></span></span> </p> <ul class="postboardlist s_clear"> <li id="block_group"></li> <li id="block_forum"></li> <li id="block_subforum"></li> </ul> </div> </div> <script type="text/javascript" reload="1"> var s = '<p><a id="commonforum" href="javascript:;" onclick="switchforums(this, 1, \'common\')" class="hassubboard lightlink">常用版块</a></p>'; var lis = $('fs_group').getElementsByTagName('LI'); for(i = 0;i < lis.length;i++) { var gid = lis[i].getAttribute('fid'); if($('fs_forum_' + gid)) { s += '<p><a href="javascript:;" ondblclick="locationforums(1, ' + gid + ')" onclick="switchforums(this, 1, ' + gid + ')" class="hassubboard">' + lis[i].innerHTML + '</a></p>'; } } $('block_group').innerHTML = s; var lastswitchobj = null; var selectfid = 0; var switchforum = switchsubforum = ''; switchforums($('commonforum'), 1, 'common'); function switchforums(obj, block, fid) { if(lastswitchobj != obj) { if(lastswitchobj) { lastswitchobj.parentNode.className = ''; } obj.parentNode.className = 'pbl_selected'; } var s = ''; if(fid != 'common') { $('enterbtn').removeAttribute("disabled"); currentblock = block; currentfid = fid; } else { $('enterbtn').setAttribute("disabled", "disabled"); } if(block == 1) { var lis = $('fs_forum_' + fid).getElementsByTagName('LI'); for(i = 0;i < lis.length;i++) { fid = lis[i].getAttribute('fid'); if(fid != '') { s += '<p><a href="javascript:;" ondblclick="locationforums(2, ' + fid + '\)" onclick="switchforums(this, 2, ' + fid + ')"' + ($('fs_subforum_' + fid) ? ' class="hassubboard"' : '') + '>' + lis[i].innerHTML + '</a></p>'; } } $('block_forum').innerHTML = s; $('block_subforum').innerHTML = ''; switchforum = switchsubforum = ''; selectfid = 0; $('postbtn').setAttribute("disabled", "disabled"); } else if(block == 2) { selectfid = fid; if($('fs_subforum_' + fid)) { var lis = $('fs_subforum_' + fid).getElementsByTagName('LI'); for(i = 0;i < lis.length;i++) { fid = lis[i].getAttribute('fid'); s += '<p><a href="javascript:;" ondblclick="locationforums(3, ' + fid + ')" onclick="switchforums(this, 3, ' + fid + ')">' + lis[i].innerHTML + '</a></p>'; } $('block_subforum').innerHTML = s; } else { $('block_subforum').innerHTML = ''; } switchforum = obj.innerHTML; switchsubforum = ''; $('postbtn').removeAttribute("disabled"); } else { selectfid = fid; switchsubforum = obj.innerHTML; $('postbtn').removeAttribute("disabled"); } lastswitchobj = obj; $('switchnav').innerHTML = switchforum ? '&nbsp;&gt;&nbsp;' + switchforum + (switchsubforum ? '&nbsp;&gt;&nbsp;' + switchsubforum : '') : ''; } function locationforums(block, fid) { location.href = block == 1 ? '<?=$indexname?>?gid=' + fid : 'forumdisplay.php?fid=' + fid; } </script> <? if(empty($infloat)) { ?> </div></div> </div> <? } include template('footer', '0', ''); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_post_forumselect.tpl.php
PHP
asf20
4,223
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('register'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/register.htm', 'D:\Website\newbbs\bbs\././templates/default/seccheck.htm', 1268371452, '1', './templates/default') ;?><? include template('header', '0', ''); if(!empty($message)) { ?> <script type="text/javascript" onload="1"><? $bbname = str_replace('\'', '\\\'', $bbname); ?>if(document.body.stat) document.body.stat('register_succeed', '<?=$regname?>'); display('main_messaqge'); display('layer_reg'); display('layer_message'); <? if($regverify == 1) { ?> $('messageleft1').innerHTML = '<p>感谢您注册 <?=$bbname?></p><p>您的帐号处于非激活状态,请收取邮件激活您的帐号</p>'; $('messageright1').innerHTML = '<a href="memcp.php">个人中心</a><br />如果您没有收到我们发送的系统邮件,请进入个人中心点击“重新验证 Email”或在“密码和安全问题”中更换另外一个 Email 地址。注意:在完成激活之前,根据管理员设置,您将只能以待验证会员的身份访问论坛,您可能不能进行发帖等操作。激活成功后,上述限制将自动取消。'; setTimeout("window.location.href='memcp.php'", <?=$mrefreshtime?>); <? } elseif($regverify == 2) { ?> $('messageleft1').innerHTML = '<p>感谢您注册 <?=$bbname?></p><p>请等待管理员审核您的帐号</p>'; $('messageright1').innerHTML = '<a href="memcp.php">个人中心</a>'; setTimeout("window.location.href='memcp.php'", <?=$mrefreshtime?>); <? } else { if($newbietask) { ?> $('messageleft1').innerHTML = '<p>感谢您注册 <?=$bbname?></p><p>我们诚邀您参与新手任务 <?=$task['name']?>,现在将转入任务详情页面。</p>'; $('messageright1').innerHTML = '<a href="javascript:;" onclick="location.href=\'task.php?action=view&id=<?=$task['taskid']?>\'">如果页面没有响应,请点这里刷新</a>'; setTimeout('location.href=\'task.php?action=view&id=<?=$task['taskid']?>\'', <?=$mrefreshtime?>); <? } else { ?> $('messageleft1').innerHTML = '<p>感谢您注册 <?=$bbname?></p>'; $('messageright1').innerHTML = '<a href="javascript:;" onclick="location.reload()">如果页面没有响应,请点这里刷新</a>'; setTimeout('location.reload()', <?=$mrefreshtime?>); <? } } if($_DCACHE['settings']['frameon'] && $_DCOOKIE['frameon'] == 'yes') { ?> if(top != self) { parent.leftmenu.location.reload(); } <? } ?> </script> <? } else { if(empty($infloat)) { ?> <div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> <?=$navigation?></div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <? } ?> <div class="fcontent" id="main_messaqge"> <div id="layer_bbrule" class="postbox" style="display: none;"> <div> <h3><?=$bbname?> 网站服务条款</h3> <div class="clause"><?=$bbrulestxt?></div> <button onclick="$('agreebbrule').checked = true;display('layer_reg');display('layer_bbrule');">同意</button> &nbsp; <button onclick="hideWindow('register')">不同意</button> </div> </div> <div id="layer_reg" class="postbox s_clear"> <h3 class="float_ctrl"> <em id="returnmessage4"><? if($action != 'activation') { ?><?=$reglinkname?><? } else { ?>您的帐号需要激活<? } ?></em> <span> <? if(!empty($infloat)) { ?><a href="javascript:;" class="float_close" onclick="hideWindow('register')" title="关闭">关闭</a><? } ?> </span> </h3> <form method="post" name="register" id="registerform" onsubmit="ajaxpost('registerform', 'returnmessage4', 'returnmessage4', 'onerror');return false;" action="<?=$regname?>?regsubmit=yes"> <input type="hidden" name="formhash" value="<?=FORMHASH?>" /> <input type="hidden" name="referer" value="<?=$referer?>" /> <? if(!empty($infloat)) { ?><input type="hidden" name="handlekey" value="<?=$handlekey?>" /><? } ?> <input type="hidden" name="activationauth" value="<? if($action == 'activation') { ?><?=$activationauth?><? } ?>" /> <div class="loginform"> <div id="reginfo_a"> <span id="activation_hidden"<? if($action == 'activation') { ?> style="display:none"<? } ?>> <? if(!empty($fromuser)) { ?> <span> <label><em>推荐人:</em><?=$fromuser?></label> <input type="hidden" name="fromuser"value="<?=$fromuser?>" /> </span> <? } ?> <label><em>用户名:</em><input type="text" id="username" name="username" autocomplete="off" size="25" maxlength="15" value="" onBlur="checkusername()" tabindex="1" class="txt" /> *</label> <label><em>密码:</em><input type="password" name="password" size="25" id="password" onkeypress="detectCapsLock(event, this)" tabindex="1" class="txt" /> *</label> <label><em>确认密码:</em><input type="password" name="password2" size="25" id="password2" onkeypress="detectCapsLock(event, this)" tabindex="1" value="" class="txt" /> *</label> <label><em>Email:</em><input type="text" name="email" autocomplete="off" size="25" id="email" onBlur="checkemail()" tabindex="1" class="txt" /> *</label> <label><em>&nbsp;</em><a href="https://domains.live.com/members/signup.aspx?domain=<?=$msn['domain']?>" target="_blank" style="float: left; width: 210px;"><? if($msn['on']) { ?>注册 @<?=$msn['domain']?> 超大 Hotmail 邮箱<? } else { ?>注册超大 Hotmail 邮箱<? } ?></a></label> </span> <? if($action == 'activation') { ?> <span id="activation_user"> <label><em>用户名:</em><?=$username?></label> </span> <? } if($secqaacheck || $seccodecheck) { ?> <div class="regsec"><label style="display:inline"><em>验证: </em><? if($secqaacheck) { ?> <input name="secanswer" id="secanswer" type="text" autocomplete="off" style="width:50px" value="验证问答" class="txt" href="ajax.php?action=updatesecqaa" tabindex="1"> <span id="checksecanswer"><img src="images/common/none.gif" width="16" height="16"></span> <? } if($seccodecheck) { ?> <input name="seccodeverify" id="seccodeverify_<?=CURSCRIPT?>" type="text" autocomplete="off" style="width:50px" value="验证码" class="txt" href="ajax.php?action=updateseccode" tabindex="1"> <a href="javascript:;" onclick="updateseccode();doane(event);">换一个</a> <span id="checkseccodeverify_<?=CURSCRIPT?>"><img src="images/common/none.gif" width="16" height="16"></span> <? } ?> <script type="text/javascript" reload="1"> var profile_seccode_invalid = '验证码输入错误,请重新填写。'; var profile_secanswer_invalid = '验证问答回答错误,请重新填写。'; var lastseccode = lastsecanswer = secfocus =''; var secanswerObj = $('secanswer'); var seccodeObj = $('seccodeverify_<?=CURSCRIPT?>'); var secstatus = {'secanswer':0,'seccodeverify_<?=CURSCRIPT?>':0}; if(secanswerObj) { secanswerObj.onclick = secanswerObj.onfocus = showIdentifying; secanswerObj.onblur = function(e) {if(!secfocus) $('secanswer_menu').style.display='none';checksecanswer();doane(e);}; } if(seccodeObj) { seccodeObj.onclick = seccodeObj.onfocus = showIdentifying; seccodeObj.onblur = function(e) {if(!secfocus) $('seccodeverify_<?=CURSCRIPT?>_menu').style.display='none';checkseccode();doane(e);}; } function showIdentifying(e) { var obj = BROWSER.ie ? event.srcElement : e.target; if(!$(obj.id + '_menu')) { obj.value = ''; ajaxmenu($(obj.id), 0, 1, 3, '12', function() { secstatus[obj.id] = 1; $(obj.id + '_menu').onmouseover = function() { secfocus = 1; } $(obj.id + '_menu').onmouseout = function() { secfocus = '';$(obj.id).focus(); } }); } else if(secstatus[obj.id] == 1) { $(obj.id + '_menu').style.display = ''; } obj.unselectable = 'off'; obj.focus(); doane(e); } function updateseccode(op) { if(isUndefined(op)) { ajaxget('ajax.php?action=updateseccode', seccodeObj.id + '_menu', 'ajaxwaitid', '', '', '$(seccodeObj.id + \'_menu\').style.display = \'\''); } else { window.document.seccodeplayer.SetVariable("isPlay", "1"); } seccodeObj.focus(); } function checkseccode() { var seccodeverify = seccodeObj.value; if(seccodeverify == lastseccode) { return; } else { lastseccode = seccodeverify; } var cs = $('checkseccodeverify_<?=CURSCRIPT?>'); <? if($seccodedata['type'] != 1) { ?> if(!(/[0-9A-Za-z]{4}/.test(seccodeverify))) { warning(cs, profile_seccode_invalid); return; } <? } else { ?> if(seccodeverify.length != 2) { warning(cs, profile_seccode_invalid); return; } <? } ?> ajaxresponse('checkseccodeverify_<?=CURSCRIPT?>', 'action=checkseccode&seccodeverify=' + (BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent(seccodeverify) : seccodeverify)); } function checksecanswer() { var secanswer = secanswerObj.value; if(secanswer == lastsecanswer) { return; } else { lastsecanswer = secanswer; } ajaxresponse('checksecanswer', 'action=checksecanswer&secanswer=' + (BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent(secanswer) : secanswer)); } function ajaxresponse(objname, data) { var x = new Ajax('XML', objname); x.get('ajax.php?inajax=1&' + data, function(s){ var obj = $(objname); if(s.substr(0, 7) == 'succeed') { obj.style.display = ''; obj.innerHTML = '<img src="<?=IMGDIR?>/check_right.gif" width="16" height="16" />'; obj.className = "warning"; } else { warning(obj, s); } }); } function warning(obj, msg) { if((ton = obj.id.substr(5, obj.id.length)) != 'password2') { $(ton).select(); } obj.style.display = ''; obj.innerHTML = '<img src="<?=IMGDIR?>/check_error.gif" width="16" height="16" />'; obj.className = "warning"; } </script></label></div> <? } if(($regstatus > 1 && $action != 'activation') || $regstatus == 2) { ?> <label><em>邀请码:</em><input type="text" name="invitecode" autocomplete="off" size="25" maxlength="16" value="<?=$invitecode?>" id="invitecode" onBlur="checkinvitecode()" tabindex="1" class="txt" /><? if($regstatus == 2) { ?> *<? } ?></label> <? } ?> </div> <div id="reginfo_b"<? if(!empty($infloat)) { ?> style="display:none;"<? } ?>> <? if($regverify == 2) { ?> <label><em>注册原因:</em><input name="regmessage" autocomplete="off" size="25" tabindex="1" class="txt" /> *</label> <? } if(is_array($_DCACHE['fields_required'])) { foreach($_DCACHE['fields_required'] as $field) { ?><label<? if($field['description']) { ?> title="<? echo htmlspecialchars($field['description']); ?>"<? } ?>><em><?=$field['title']?>:</em> <? if($field['selective']) { ?> <select name="field_<?=$field['fieldid']?>new" tabindex="1"> <option value="">- 请选择 -</option><? if(is_array($field['choices'])) { foreach($field['choices'] as $index => $choice) { ?><option value="<?=$index?>"<? if($index == $member['field_'.$field['fieldid']]) { ?> selected="selected"<? } ?>><?=$choice?></option><? } } ?></select> <? } else { ?> <input type="text" name="field_<?=$field['fieldid']?>new" size="25" value="<?=$member['field_'.$field['fieldid']]?>" tabindex="1" class="txt" /> <? } ?> * </label><? } } ?></div> </div> <div class="logininfo"> <h4>已有帐号?<a href="logging.php?action=login" onclick="hideWindow('register');showWindow('login', this.href);return false;">现在登录</a></h4> <? if($action == 'activation') { ?> <p>放弃激活,<a href="javascript:;" onclick="$('registerform').activationauth.value='';$('activation_hidden').style.display='';$('activation_user').style.display='none'">现在<?=$reglinkname?></a></p> <? } ?> </div> <p class="fsubmit s_clear"> <? if($sitemessage['register']) { ?><a href="javascript:;" id="custominfo_register" class="right"><img src="<?=IMGDIR?>/info.gif" alt="帮助" /></a><? } ?> <span id="reginfo_a_btn"> <? if($action != 'activation') { ?><em>&nbsp;</em><? } if(($field || $regverify == 2) && !empty($infloat)) { ?> <button class="submit" tabindex="1" onclick="regstep('reginfo_a','reginfo_b'); return false;">下一步</button> </span> <span id="reginfo_b_btn" style="display:none"> <em class="regpre"><a href="javascript:;" onclick="regstep('reginfo_b','reginfo_a');">上一步</a></em> <? } ?> <button class="submit" id="registerformsubmit" type="submit" name="regsubmit" value="true" tabindex="1"><? if($action == 'activation') { ?>激活<? } else { ?>提交<? } ?></button> <? if($bbrules) { ?> <input type="checkbox" class="checkbox" name="agreebbrule" value="<?=$bbrulehash?>" id="agreebbrule" checked="checked" /> <label for="agreebbrule">同意<a href="javascript:;" onclick="display('layer_reg');display('layer_bbrule');">网站服务条款</a></label> <? } ?> </span> </p> </form> </div> </div> <div id="layer_message" class="fcontent alert_win" style="display: none;"> <h3 class="float_ctrl"> <em>用户登录</em> <span><? if(!empty($infloat)) { ?><a href="javascript:;" class="float_close" onclick="hideWindow('login')" title="关闭">关闭</a><? } ?></span> </h3> <hr class="shadowline" /> <div class="postbox"><div class="alert_right"> <div id="messageleft1"></div> <p class="alert_btnleft" id="messageright1"></p> </div> </div> <script type="text/javascript" reload="1"> <? if($action != 'activation') { ?> function initinput_register() { $('registerform').username.focus(); } if(BROWSER.ie && BROWSER.ie < 7) { setTimeout('initinput_register()', 500); } else { initinput_register(); } <? } if($sitemessage['register']) { ?> showPrompt('custominfo_register', 'click', '<? echo trim($sitemessage['register'][array_rand($sitemessage['register'])]); ?>', <?=$sitemessage['time']?>); <? } ?> var profile_username_toolong = '用户名超过 15 个字符'; var profile_username_tooshort = '用户名小于3个字符'; var doublee = parseInt('<?=$doublee?>'); var lastusername = lastpassword = lastemail = lastinvitecode = ''; function messagehandle_register(key, msg) { $('returnmessage4').className = key == 1 ? 'onerror' : ''; $('returnmessage4').innerHTML = msg; } function checkusername() { var username = trim($('username').value); if(username == '' || username == lastusername) { return; } else { lastusername = username; } var unlen = username.replace(/[^\x00-\xff]/g, "**").length; if(unlen < 3 || unlen > 15) { messagehandle_register(1, unlen < 3 ? profile_username_tooshort : profile_username_toolong); return; } ajaxget('ajax.php?infloat=register&handlekey=register&action=checkusername&username=' + (BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent(username) : username), 'returnmessage4'); } function checkemail() { var email = trim($('email').value); if(email == '' || email == lastemail) { return; } else { lastemail = email; } ajaxget('ajax.php?infloat=register&handlekey=register&action=checkemail&email=' + email, 'returnmessage4'); } function checkinvitecode() { var invitecode = trim($('invitecode').value); if(invitecode == lastinvitecode) { return; } else { lastinvitecode = invitecode; } ajaxget('ajax.php?infloat=register&handlekey=register&action=checkinvitecode&invitecode=' + invitecode, 'returnmessage4'); } function trim(str) { return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1'); } <? if(($field && !empty($infloat)) || $regverify == 2) { ?> function regstep(obja,objb){ $(obja).style.display = $(obja+'_btn').style.display = 'none'; $(objb).style.display = $(objb+'_btn').style.display = ''; } <? } if($invitecode) { ?> ajaxget('ajax.php?infloat=register&handlekey=register&action=checkinvitecode&invitecode=<?=$invitecode?>', 'returnmessage4'); <? } ?> </script> <? } updatesession(); if(empty($infloat)) { ?> </div></div> </div> <? } include template('footer', '0', ''); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_register.tpl.php
PHP
asf20
15,507
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('discuz'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz.htm', 'D:\Website\newbbs\bbs\././templates/default/header.htm', 1268371286, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz.htm', 'D:\Website\newbbs\bbs\././templates/default/index_heats.htm', 1268371286, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz.htm', 'D:\Website\newbbs\bbs\././templates/default/index_navbar.htm', 1268371286, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz.htm', 'D:\Website\newbbs\bbs\././templates/default/footer.htm', 1268371286, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz.htm', 'D:\Website\newbbs\bbs\././templates/default/jsmenu.htm', 1268371286, '1', './templates/default') ;?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" /> <title><?=$navtitle?> <?=$bbname?> <?=$seotitle?> - Powered by Discuz!</title> <?=$seohead?> <meta name="keywords" content="<?=$metakeywords?><?=$seokeywords?>" /> <meta name="description" content="<?=$metadescription?> <?=$bbname?> <?=$seodescription?> - Discuz! Board" /> <meta name="generator" content="Discuz! <?=$version?>" /> <meta name="author" content="Discuz! Team and Comsenz UI Team" /> <meta name="copyright" content="2001-2009 Comsenz Inc." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <meta http-equiv="x-ua-compatible" content="ie=7" /> <link rel="archives" title="<?=$bbname?>" href="<?=$boardurl?>archiver/" /> <?=$rsshead?> <?=$extrahead?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>" /><link rel="stylesheet" type="text/css" href="forumdata/cache/scriptstyle_<?=STYLEID?>_<?=CURSCRIPT?>.css?<?=VERHASH?>" /> <? if($forum['ismoderator']) { ?> <link href="forumdata/cache/style_1_moderator.css?mpd" rel="stylesheet" type="text/css" /> <? } ?><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', disallowfloat = '<?=$disallowfloat?>', creditnotice = '<? if($creditnotice) { ?><?=$creditnames?><? } ?>', <? if(in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))) { ?>gid = parseInt('<?=$thisgid?>')<? } elseif(CURSCRIPT == 'index') { ?>gid = parseInt('<?=$gid?>')<? } else { ?>gid = 0<? } ?>, fid = parseInt('<?=$fid?>'), tid = parseInt('<?=$tid?>')</script> <script src="<?=$jspath?>common.js?<?=VERHASH?>" type="text/javascript"></script> </head> <body id="<?=CURSCRIPT?>" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <div id="header"> <div class="wrap s_clear"> <h2><a href="<?=$indexname?>" title="<?=$bbname?>"><?=BOARDLOGO?></a></h2> <div id="umenu"> <? if($discuz_uid) { ?> <cite><a href="space.php?uid=<?=$discuz_uid?>" class="noborder"><?=$discuz_userss?></a><? if($allowinvisible) { ?><span id="loginstatus"><? if(!empty($invisible)) { ?><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">隐身</a><? } else { ?><a href="member.php?action=switchstatus" title="我要隐身" onclick="ajaxget(this.href, 'loginstatus');doane(event);">在线</a><? } ?></span><? } ?></cite> <span class="pipe">|</span> <? if($ucappopen['UCHOME']) { ?> <a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">空间</a> <? } elseif($ucappopen['XSPACE']) { ?> <a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">空间</a> <? } ?> <a id="myprompt" href="notice.php" <? if($prompt) { ?>class="new" onmouseover="showMenu({'ctrlid':this.id})"<? } ?>>提醒</a> <span id="myprompt_check"></span> <a href="pm.php" id="pm_ntc" target="_blank">短消息</a> <? if($taskon) { ?> <a id="task_ntc" <? if($doingtask) { ?>href="task.php?item=doing" class="new" title="您有未完成的任务"<? } else { ?>href="task.php"<? } ?> target="_blank">论坛任务</a> <? } ?> <span class="pipe">|</span> <a href="memcp.php">个人中心</a> <? if($discuz_uid && $adminid > 1) { ?><a href="modcp.php?fid=<?=$fid?>" target="_blank">管理面板</a><? } if($discuz_uid && $adminid == 1) { ?><a href="admincp.php" target="_blank">管理中心</a><? } ?> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } elseif(!empty($_DCOOKIE['loginuser'])) { ?> <cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">激活</a> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } else { ?> <a href="<?=$regname?>" onclick="showWindow('register', this.href);return false;" class="noborder"><?=$reglinkname?></a> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">登录</a> <? } ?> </div> <div id="ad_headerbanner"><? if($admode && !empty($advlist['headerbanner'])) { ?><?=$advlist['headerbanner']?><? } ?></div> <div id="menu"> <ul> <? if($_DCACHE['settings']['frameon'] > 0) { ?> <li> <span class="frameswitch"> <script type="text/javascript"> if(top == self) { <? if(($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))) { ?> top.location = 'frame.php?frameon=yes&referer='+escape(self.location); <? } ?> document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">分栏模式<\/a>'); } else { document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">平板模式<\/a>'); } </script> </span> </li> <? } if(is_array($navs)) { foreach($navs as $id => $nav) { if($id == 3) { if(!empty($plugins['jsmenu'])) { ?> <?=$nav['nav']?> <? } if(!empty($plugins['links'])) { if(is_array($plugins['links'])) { foreach($plugins['links'] as $module) { if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li><?=$module['url']?></li><? } } } } } else { if(!$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)) { ?><?=$nav['nav']?><? } } } } if(in_array($BASEFILENAME, $navmns)) { $mnid = $BASEFILENAME; } elseif($navmngs[$BASEFILENAME]) { if(is_array($navmngs[$BASEFILENAME])) { foreach($navmngs[$BASEFILENAME] as $navmng) { if($navmng['0'] == array_intersect_assoc($navmng['0'], $_GET)) { $mnid = $navmng['1']; } } } } ?> </ul> <script type="text/javascript"> var currentMenu = $('mn_<?=$mnid?>') ? $('mn_<?=$mnid?>') : $('mn_<?=$navmns['0']?>'); currentMenu.parentNode.className = 'current'; </script> </div> <? if(!empty($stylejumpstatus)) { ?> <script type="text/javascript"> function setstyle(styleid) { str = unescape('<? echo str_replace("'", "\\'", urlencode($_SERVER['QUERY_STRING'])); ?>'); str = str.replace(/(^|&)styleid=\d+/ig, ''); str = (str != '' ? str + '&' : '') + 'styleid=' + styleid; location.href = '<?=$BASESCRIPT?>?' + str; } </script> <ul id="style_switch"><? if(is_array($styles)) { foreach($styles as $id => $stylename) { ?><li<? if($id == STYLEID) { ?> class="current"<? } ?>><a href="###" onclick="setstyle(<?=$id?>)" title="<?=$stylename?>" style="background: <?=$styleicons[$id]?>;"><?=$stylename?></a></li><? } } ?></ul> <? } ?> </div> <div id="myprompt_menu" style="display:none" class="promptmenu"> <div class="promptcontent"> <ul class="s_clear"><? if(is_array($prompts)) { foreach($prompts as $promptkey => $promptdata) { if($promptkey) { ?><li<? if(!$promptdata['new']) { ?> style="display:none"<? } ?>><a id="prompt_<?=$promptkey?>" href="<? if($promptdata['script']) { ?><?=$promptdata['script']?><? } else { ?>notice.php?filter=<?=$promptkey?><? } ?>" target="_blank"><?=$promptdata['name']?> (<?=$promptdata['new']?>)</a></li><? } } } ?></ul> </div> </div> </div> <?=$pluginhooks['global_header']?><div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> &raquo; 首页</div> <? if($admode && !empty($advlist['text'])) { ?><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1"><?=$advlist['text']?></table></div><? } else { ?><div id="ad_text"></div><? } ?> <div id="wrap"<? if($infosidestatus['allow'] < 2) { ?> class="wrap s_clear"<? } else { ?> class="wrap with_side s_clear"<? } ?>> <? if($infosidestatus['allow'] == 2) { ?> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['打开边栏', '关闭边栏']);" class="<?=$collapseimg['sidebar']?>"><? if($collapseimg['sidebar'] == 'collapsed_yes') { ?>打开边栏<? } else { ?>关闭边栏<? } ?></a> <? } elseif($infosidestatus['allow'] == 1) { ?> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['', '关闭边栏']);" class="collapsed_yes">打开边栏</a> <? } ?> <div class="main"><div class="content"> <?=$pluginhooks['index_header']?><? include template('index_header', '0', ''); if($indexhot['status']) { if($_DCACHE['heats']['message']) { ?> <div id="hot" class="s_clear<? if($_DCACHE['heats']['image']) { ?> img<? } ?>"> <h3>论坛热点</h3> <div id="hot_main"> <dl><? if(is_array($_DCACHE['heats']['message'])) { foreach($_DCACHE['heats']['message'] as $data) { ?><dt> <strong><? if($adminid == 1) { ?><a class="deloption" href="misc.php?action=removeindexheats&amp;tid=<?=$data['tid']?>&amp;from=indexheats" onclick="return removeindexheats()">delete</a><? } ?><a href="viewthread.php?tid=<?=$data['tid']?>&amp;from=indexheats"><?=$data['subject']?></a></strong> <cite><a href="space.php?uid=<?=$data['authorid']?>&amp;from=indexheats"><?=$data['author']?></a></cite> </dt> <dd class="desc"> <?=$data['message']?> ... <a href="viewthread.php?tid=<?=$data['tid']?>&amp;from=indexheats_readmore">查看全文</a> </dd><? } } ?></dl> <? if($_DCACHE['heats']['subject']) { ?> <ul class="s_clear"><? if(is_array($_DCACHE['heats']['subject'])) { foreach($_DCACHE['heats']['subject'] as $data) { ?><li><? if($adminid == 1) { ?><a class="deloption" href="misc.php?action=removeindexheats&amp;tid=<?=$data['tid']?>" onclick="return removeindexheats()">delete</a><? } ?><a href="viewthread.php?tid=<?=$data['tid']?>"><?=$data['subject']?></a></li><? } } ?></ul> <? } ?> </div> <? if($_DCACHE['heats']['image']) { ?> <div id="hot_img"> <a href="viewthread.php?tid=<?=$_DCACHE['heats']['image']['tid']?>&amp;from=indexheats_pic"><img src="<?=$_DCACHE['heats']['image']['thumb']?>" alt="<?=$_DCACHE['heats']['image']['subject']?>" /></a> <h2><? if($adminid == 1) { ?><a class="deloption" href="misc.php?action=removeindexheats&amp;tid=<?=$_DCACHE['heats']['image']['tid']?>" onclick="return removeindexheats()">delete</a><? } ?><a href="viewthread.php?tid=<?=$_DCACHE['heats']['image']['tid']?>&amp;from=indexheats"><?=$_DCACHE['heats']['image']['subject']?></a></h2> <p class="desc"><?=$_DCACHE['heats']['image']['message']?> ...<a href="viewthread.php?tid=<?=$_DCACHE['heats']['image']['tid']?>&amp;from=indexheats_readmore">查看全文</a></p> <cite><a href="space.php?uid=<?=$_DCACHE['heats']['image']['authorid']?>&amp;from=indexheats"><?=$_DCACHE['heats']['image']['author']?></a> 发表于 <? echo dgmdate("$dateformat $timeformat", $_DCACHE['heats']['image']['dateline'] + $timeoffset * 3600); ?></cite> </div> <? } ?> </div> <? } } ?> <?=$pluginhooks['index_hot']?> <div class="itemtitle s_clear"> <p class="right forumcount"> 今日: <em><?=$todayposts?></em>, 昨日: <em><?=$postdata['0']?></em>, 会员: <em><?=$totalmembers?></em> </p> <? if($indextype) { ?><ul> <li<? if($indexfile == 'classics') { ?> class="current"<? } ?>><a href="<?=$indexname?>?op=classics"><span>论坛版块</span></a></li> <li<? if($indexfile == 'feeds' && !$type) { ?> class="current"<? } ?>><a href="<?=$indexname?>?op=feeds"><span>论坛动态</span></a></li> <? if($my_status) { ?> <li<? if($indexfile == 'feeds' && $type == 'manyou') { ?> class="current"<? } ?>><a href="<?=$indexname?>?op=feeds&type=manyou"><span>应用动态</span></a></li> <? } ?> <?=$pluginhooks['index_navbar']?> </ul><? } ?> </div><? $rkey=array_rand($catlist); ?><?=$pluginhooks['index_top']?><? if(is_array($catlist)) { foreach($catlist as $key => $cat) { if($cat['forumscount']) { ?> <div class="mainbox list"> <span class="headactions"> <? if($cat['moderators']) { ?>分区版主: <?=$cat['moderators']?><? } ?> <img id="category_<?=$cat['fid']?>_img" src="<?=IMGDIR?>/<?=$cat['collapseimg']?>" title="收起/展开" alt="收起/展开" onclick="toggle_collapse('category_<?=$cat['fid']?>');" /> </span> <h3><a href="<?=$indexname?>?gid=<?=$cat['fid']?>" style="<? if($cat['extra']['namecolor']) { ?>color: <?=$cat['extra']['namecolor']?>;<? } ?>"><?=$cat['name']?></a></h3> <table id="category_<?=$cat['fid']?>" summary="category<?=$cat['fid']?>" cellspacing="0" cellpadding="0" style="<?=$collapse['category_'.$cat['fid']]?>"> <? if(!$cat['forumcolumns']) { if(is_array($cat['forums'])) { foreach($cat['forums'] as $forumid) { $forum=$forumlist[$forumid]; ?><tbody id="forum<?=$forum['fid']?>"> <tr> <th<?=$forum['folder']?>> <?=$forum['icon']?> <div class="left"> <h2><a href="forumdisplay.php?fid=<?=$forum['fid']?>" <? if($forum['redirect']) { ?>target="_blank"<? } ?> style="<? if($forum['extra']['namecolor']) { ?>color: <?=$forum['extra']['namecolor']?>;<? } ?>"><?=$forum['name']?></a><? if($forum['todayposts'] && !$forum['redirect']) { ?><em> (今日: <strong><?=$forum['todayposts']?></strong>)</em><? } ?></h2> <? if($forum['description']) { ?><p><?=$forum['description']?></p><? } if($forum['subforums']) { ?><p>子版块: <?=$forum['subforums']?></p><? } if($forum['moderators']) { if($moddisplay == 'flat') { ?><p>版主: <?=$forum['moderators']?></p><? } else { ?><span class="dropmenu" id="mod<?=$forum['fid']?>" onmouseover="showMenu({'ctrlid':this.id})">版主</span><ul class="popupmenu_popup headermenu_popup" id="mod<?=$forum['fid']?>_menu" style="display: none"><?=$forum['moderators']?></ul><? } } ?> </div> </th> <td class="forumnums"> <? if($forum['redirect']) { ?>N/A<? } else { ?><em><?=$forum['threads']?></em> / <?=$forum['posts']?><? } ?> </td> <td class="forumlast"> <? if($forum['permission'] == 1) { ?> 私密版块 <? } else { if($forum['redirect']) { ?> <a href="forumdisplay.php?fid=<?=$forum['fid']?>">链接到外部地址</a> <? } elseif(is_array($forum['lastpost'])) { ?> <p><a href="redirect.php?tid=<?=$forum['lastpost']['tid']?>&amp;goto=lastpost#lastpost"><? echo cutstr($forum['lastpost']['subject'], 30); ?></a></p> <cite><? if($forum['lastpost']['author']) { ?><?=$forum['lastpost']['author']?><? } else { ?>匿名<? } ?> - <?=$forum['lastpost']['dateline']?></cite> <? } else { ?> 从未 <? } } ?> </td> </tr> </tbody><? } } } else { ?> <tr class="narrowlist"><? if(is_array($cat['forums'])) { foreach($cat['forums'] as $forumid) { $forum=$forumlist[$forumid]; if($forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)) { ?> </tr></tbody> <? if($forum['orderid'] < $cat['forumscount']) { ?> <tbody><tr> <? } } ?> <th width="<?=$cat['forumcolwidth']?>"<?=$forum['folder']?>> <h2><a href="forumdisplay.php?fid=<?=$forum['fid']?>" <? if($forum['redirect']) { ?>target="_blank"<? } ?> style="<? if($forum['extra']['namecolor']) { ?>color: <?=$forum['extra']['namecolor']?>;<? } ?>"><?=$forum['name']?></a><? if($forum['todayposts']) { ?><em> (今日: <strong><?=$forum['todayposts']?></strong>)</em><? } ?></h2> <? if(!$forum['redirect']) { ?> <p>主题: <?=$forum['threads']?>, 帖数: <?=$forum['posts']?></p> <? if($forum['permission'] == 1) { ?> <p>私密版块 <? } else { ?> <p>最后发表: <? if(is_array($forum['lastpost'])) { ?> <a href="redirect.php?tid=<?=$forum['lastpost']['tid']?>&amp;goto=lastpost#lastpost" title="<? echo cutstr($forum['lastpost']['subject'], 30); ?> by <? if($forum['lastpost']['author']) { ?><?=$forum['lastpost']['authorusername']?><? } else { ?>匿名<? } ?> "><?=$forum['lastpost']['dateline']?></a> <? } else { ?> 从未 <? } ?> </p> <? } } else { ?> <p>链接到外部地址</p> <? } ?> </th><? } } ?><?=$cat['endrows']?> <? } ?> </table> </div> <? if($admode && !empty($advlist['intercat']) && ($advlist['intercat'][$key] = array_merge(($advlist['intercat']['0'] ? $advlist['intercat']['0'] : array()), ($advlist['intercat'][$key] ? $advlist['intercat'][$key] : array())))) { ?><div class="ad_column" id="ad_intercat_<?=$key?>"><? echo $advitems[$advlist['intercat'][$key][array_rand($advlist['intercat'][$key])]]; ?></div><? } else { ?><div id="ad_intercat_<?=$key?>"></div><? } } } } ?><?=$pluginhooks['index_middle']?> <? if($_DCACHE['forumlinks']['0'] || $_DCACHE['forumlinks']['1'] || $_DCACHE['forumlinks']['2']) { ?> <div class="mainbox list"> <span class="headactions"><img id="forumlinks_img" src="<?=IMGDIR?>/<?=$collapseimg['forumlinks']?>.gif" alt="" onclick="toggle_collapse('forumlinks');" /></span> <h3>友情链接</h3> <div id="forumlinks" style="<?=$collapse['forumlinks']?>"> <? if($_DCACHE['forumlinks']['0']) { ?> <div class="forumlinks"> <ul class="s_clear"><?=$_DCACHE['forumlinks']['0']?></ul> </div> <? } if($_DCACHE['forumlinks']['1']) { ?> <div class="forumimglink"> <?=$_DCACHE['forumlinks']['1']?> </div> <? } if($_DCACHE['forumlinks']['2']) { ?> <div class="forumtxtlink"> <ul class="s_clear"> <?=$_DCACHE['forumlinks']['2']?> </ul> </div> <? } ?> </div> </div> <? } if(empty($gid) && $maxbdays &&$_DCACHE['birthdays_index']['todaysbdays']) { ?> <div class="mainbox list" id="bdays"> <h3 id="bdayslist"> <a href="member.php?action=list&amp;type=birthdays">生日快乐</a>: <?=$_DCACHE['birthdays_index']['todaysbdays']?> </h3> </div> <? } if(empty($gid) && $whosonlinestatus) { ?> <div class="mainbox list" id="online"> <? if($whosonlinestatus) { if($detailstatus) { ?> <span class="headactions"><a href="<?=$indexname?>?showoldetails=no#online" title="关闭"><img src="<?=IMGDIR?>/collapsed_no.gif" alt="关闭" /></a></span> <h3> <strong><a href="member.php?action=online">在线会员</a></strong> - <em><?=$onlinenum?></em> 人在线 - <em><?=$membercount?></em> 会员(<em><?=$invisiblecount?></em> 隐身), <em><?=$guestcount?></em> 位游客 - 最高记录是 <em><?=$onlineinfo['0']?></em> 于 <em><?=$onlineinfo['1']?></em>. </h3> <? } else { ?> <span class="headactions"><a href="<?=$indexname?>?showoldetails=yes#online" class="nobdr"><img src="<?=IMGDIR?>/collapsed_yes.gif" alt="" /></a></span> <h3> <strong><a href="member.php?action=online">在线会员</a></strong> - 总计 <em><?=$onlinenum?></em> 人在线 - 最高记录是 <em><?=$onlineinfo['0']?></em> 于 <em><?=$onlineinfo['1']?></em>. </h3> <? } } else { ?> <h4><strong><a href="member.php?action=online">在线会员</a></strong></h4> <? } if($whosonlinestatus && $detailstatus) { ?> <dl id="onlinelist"> <dt><?=$_DCACHE['onlinelist']['legend']?></dt> <? if($detailstatus) { ?> <dd> <ul class="s_clear"> <? if($whosonline) { if(is_array($whosonline)) { foreach($whosonline as $key => $online) { ?><li title="时间: <?=$online['lastactivity']?><?="\n"?>操作: <?=$online['action']?> <? if($online['fid']) { ?><?="\n"?>版块: <?=$online['fid']?><? } ?>"> <img src="images/common/<?=$online['icon']?>" alt="" /> <? if($online['uid']) { ?> <a href="space.php?uid=<?=$online['uid']?>"><?=$online['username']?></a> <? } else { ?> <?=$online['username']?> <? } ?> </li><? } } } else { ?> <li style="width: auto">当前只有游客或隐身会员在线</li> <? } ?> </ul> </dd> <? } ?> </dl> <? } ?> </div> <? } ?> <?=$pluginhooks['index_bottom']?> </div></div> <? if($infosidestatus['allow'] == 2) { ?> <div id="sidebar" class="side" style="<?=$collapse['sidebar']?>"> <? if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 1)) { ?> <div id="qihoosearch" class="sidebox"> <? if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 1)) { ?> <form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';"> <input type="hidden" name="searchsubmit" value="yes" /> <input type="text" class="txt" name="srchtxt" value="<?=$qihoo_searchboxtxt?>" size="20" /> <select name="stype"> <option value="" selected="selected">全文</option> <option value="1">标题</option> <option value="2">作者</option> </select> &nbsp;<button name="searchsubmit" type="submit" value="true">搜索</button> </form> <? if(!empty($qihoo['links']['keywords'])) { ?> <strong>热门搜索</strong><? if(is_array($qihoo['links']['keywords'])) { foreach($qihoo['links']['keywords'] as $link) { ?><?=$link?>&nbsp;<? } } } if($customtopics) { ?> <strong>用户专题</strong>&nbsp;&nbsp;<?=$customtopics?> [<a href="javascript:;" onclick="showWindow('customtopics', 'misc.php?action=customtopics')">编辑</a>]<br /> <? } if(!empty($qihoo['links']['topics'])) { ?> <strong>论坛专题</strong>&nbsp;<? if(is_array($qihoo['links']['topics'])) { foreach($qihoo['links']['topics'] as $url) { ?><?=$url?> &nbsp;<? } } } } ?> </div> <? } if($infosidestatus['2']) { if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 1)) { ?> <hr class="shadowline"/> <? } ?> <div id="infoside"> <? if(empty($gid)) { request($infosidestatus, 0, 2); } else { request($infosidestatus, 1, 2); } ?> </div> <? } ?> </div> <? } ?> </div><? if(!empty($plugins['jsmenu'])) { ?> <ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?> <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?> <li><?=$module['url']?></li> <? } } } ?></ul> <? } if(is_array($subnavs)) { foreach($subnavs as $subnav) { ?><?=$subnav?><? } } if($prompts['newbietask'] && $newbietasks) { include template('task_newbie_js', '0', ''); } if($admode && !empty($advlist)) { ?> <div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><? if($advlist['footerbanner2']) { ?><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><? } if($advlist['footerbanner3']) { ?><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div><? } } else { ?> <div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div> <? } ?> <?=$pluginhooks['global_footer']?> <div id="footer"> <div class="wrap s_clear"> <div id="footlink"> <p> <strong><a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a></strong> <? if($icp) { ?>( <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a>)<? } ?> <span class="pipe">|</span><a href="mailto:<?=$adminemail?>">联系我们</a> <? if($allowviewstats) { ?><span class="pipe">|</span><a href="stats.php">论坛统计</a><? } if($archiverstatus) { ?><span class="pipe">|</span><a href="archiver/" target="_blank">Archiver</a><? } if($wapstatus) { ?><span class="pipe">|</span><a href="wap/" target="_blank">WAP</a><? } if($statcode) { ?><span class="pipe">| <?=$statcode?></span><? } ?> <?=$pluginhooks['global_footerlink']?> </p> <p class="smalltext"> GMT<?=$timenow['offset']?>, <?=$timenow['time']?> <? if(debuginfo()) { ?>, <span id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?></span><? } ?>. </p> </div> <div id="rightinfo"> <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p> <p class="smalltext">&copy; 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p> </div><? updatesession(); ?></div> </div> <? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?> <script src="<?=$jspath?>iframe.js?<?=VERHASH?>" type="text/javascript"></script> <? } output(); ?></body> </html>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_discuz.tpl.php
PHP
asf20
24,848
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('notice'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/notice.htm', 'D:\Website\newbbs\bbs\././templates/default/personal_navbar.htm', 1268616355, '1', './templates/default') ;?><? include template('header', '0', ''); ?><div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> &raquo; 提醒</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <div class="itemtitle s_clear"> <h1>提醒</h1> </div> <div class="pm_header colplural itemtitle s_clear"> <ul> <li<? if(!$filter) { ?> class="current"<? } ?>><a href="notice.php" hidefocus="true"><span>全部</span></a></li><? if(is_array($prompts)) { foreach($prompts as $promptkey => $promptdata) { if(!$promptdata['script']) { ?><li<? if($filter == $promptkey) { ?> class="current"<? } ?>><a href="notice.php?filter=<?=$promptkey?>"><span><?=$promptdata['name']?><? if($promptdata['new']) { ?>(<?=$promptdata['new']?>)<? } ?></span></a></li><? } } } ?></ul> </ul> </div> <? if($pmlist) { ?> <ul class="feed"><? if(is_array($pmlist)) { foreach($pmlist as $key => $pm) { ?><li class="s_clear"><?=$pm['message']?></li><? } } ?></ul> <div><?=$multipage?></div> <? } else { ?> <p class="nodata">暂无数据</p> <? } ?> </div> </div> <div class="side"><h2>个人中心</h2> <div class="sideinner"> <ul class="tabs"> <? if($regverify == 1 && $groupid == 8) { ?> <li<? if(CURSCRIPT=='memcp' && $action == 'emailverify') { ?> class="current"<? } ?>><a href="member.php?action=emailverify">重新验证 Email</a></li> <? } if($regverify == 2 && $groupid == 8) { ?> <li<? if(CURSCRIPT=='memcp' && $action == 'validating') { ?> class="current"<? } ?>><a href="memcp.php?action=validating">账户审核</a></li> <li<? if(CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '2') { ?> class="current"<? } ?>><a href="memcp.php?action=profile&amp;typeid=2">个人资料</a></li> <? } else { ?> <li<? if(CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '3') { ?> class="current"<? } ?>><a href="memcp.php?action=profile&amp;typeid=3" id="uploadavatar" prompt="uploadavatar">修改头像</a></li> <li<? if(CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '2') { ?> class="current"<? } ?>><a href="memcp.php?action=profile&amp;typeid=2">个人资料</a></li> <li<? if(CURSCRIPT=='pm') { ?> class="current"<? } ?>><a href="pm.php">短消息</a></li> <li<? if(CURSCRIPT=='notice') { ?> class="current"<? } ?>><a href="notice.php">提醒</a></li> <li<? if(CURSCRIPT=='my' && $item == 'buddylist') { ?> class="current"<? } ?>><a href="my.php?item=buddylist&amp;<?=$extrafid?>">我的好友</a></li> <? if($regstatus > 1) { ?><li><a href="invite.php">邀请注册</a></li><? } if($ucappopen['UCHOME']) { ?> <li><a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">我的空间</a></li> <? } elseif($ucappopen['XSPACE']) { ?> <li><a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">我的空间</a></li> <? } } ?> </ul> </div> <? if($groupid != 8) { ?> <hr class="shadowline" /> <div class="sideinner"> <ul class="tabs"> <li<? if(CURSCRIPT=='my' && in_array($item, array('threads', 'posts', 'polls', 'reward', 'activities', 'debate', 'buytrades', 'tradethreads', 'selltrades', 'tradestats'))) { ?> class="current"<? } ?>><a href="my.php?item=threads<?=$extrafid?>">我的帖子</a></li> <li<? if(CURSCRIPT=='my' && $item == 'favorites') { ?> class="current"<? } ?>><a href="my.php?item=favorites&amp;type=thread<?=$extrafid?>">我的收藏</a></li> <li<? if(CURSCRIPT=='my' && $item == 'attention') { ?> class="current"<? } ?>><a href="my.php?item=attention&amp;type=thread<?=$extrafid?>">我的关注</a></li> <? if(!empty($plugins['plinks_my'])) { if(is_array($plugins['plinks_my'])) { foreach($plugins['plinks_my'] as $module) { if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li<? if(CURSCRIPT == 'plugin' && $_GET['id'] == $module['id']) { ?> class="current"<? } ?>><?=$module['url']?></li><? } } } } ?> </ul> </div> <hr class="shadowline" /> <div class="sideinner"> <ul class="tabs"> <li<? if(CURSCRIPT=='memcp' && $action == 'credits') { ?> class="current"<? } ?>><a href="memcp.php?action=credits">积分</a></li> <li<? if(CURSCRIPT=='memcp' && $action == 'usergroups') { ?> class="current"<? } ?>><a href="memcp.php?action=usergroups">用户组</a></li> <li<? if(CURSCRIPT=='task') { ?> class="current"<? } ?>><a href="task.php">论坛任务</a></li> <? if($medalstatus) { ?><li<? if(CURSCRIPT=='medal') { ?> class="current"<? } ?>><a href="medal.php">勋章</a></li><? } if($magicstatus) { ?><li<? if(CURSCRIPT=='magic') { ?> class="current"<? } ?>><a href="magic.php">道具</a></li><? } if(!empty($plugins['plinks_tools'])) { if(is_array($plugins['plinks_tools'])) { foreach($plugins['plinks_tools'] as $module) { if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li<? if(CURSCRIPT == 'plugin' && $_GET['id'] == $module['id']) { ?> class="current"<? } ?>><?=$module['url']?></li><? } } } } ?> </ul> </div> <? } ?> <hr class="shadowline" /> <div class="sideinner"> <ul class="tabs"> <li<? if(CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '5') { ?> class="current"<? } ?>><a href="memcp.php?action=profile&amp;typeid=5">论坛个性化设定</a></li> <li<? if(CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '1') { ?> class="current"<? } ?>><a href="memcp.php?action=profile&amp;typeid=1">密码和安全问题</a></li> </ul> </div> <hr class="shadowline" /> <div class="sideinner"> <ul class="tabs"> <li>积分: <?=$credits?></li><? if(is_array($extcredits)) { foreach($extcredits as $id => $credit) { ?><li><?=$credit['title']?>: <?=$GLOBALS['extcredits'.$id]?> <?=$credit['unit']?></li><? } } ?></ul> </div> <?=$pluginhooks['memcp_side']?></div> </div><? include template('footer', '0', ''); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_notice.tpl.php
PHP
asf20
6,043
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); function tpl_hide_credits_hidden($creditsrequire) { global $hideattach; ?><? $return = <<<EOF <div class="locked">本帖隐藏的内容需要积分高于 {$creditsrequire} 才可浏览</div> EOF; ?><? return $return; } function tpl_hide_credits($creditsrequire, $message) { global $hideattach; ?><? $return = <<<EOF <div class="locked">以下内容需要积分高于 {$creditsrequire} 才可浏览</div> {$message}<br /><br /> <br /> EOF; ?><? return $return; } function tpl_codedisp($discuzcodes, $code) { ?><? $return = <<<EOF <div class="blockcode"><div id="code{$discuzcodes['codecount']}"><ol><li>{$code}</ol></div><em onclick="copycode($('code{$discuzcodes['codecount']}'));">复制代码</em></div> EOF; ?><? return $return; } function tpl_quote() { ?><? $return = <<<EOF <div class="quote"><blockquote>\\1</blockquote></div> EOF; ?><? return $return; } function tpl_free() { ?><? $return = <<<EOF <div class="quote"><blockquote>\\1</blockquote></div> EOF; ?><? return $return; } function tpl_hide_reply() { global $hideattach; ?><? $return = <<<EOF <div class="showhide"><h4>本帖隐藏的内容需要回复才可以浏览</h4>\\1</div> EOF; ?><? return $return; } function tpl_hide_reply_hidden() { ?><? $return = <<<EOF <div class="locked">本帖隐藏的内容需要回复才可以浏览</div> EOF; ?><? return $return; } function attachlist($attach) { global $attachrefcheck, $extcredits, $creditstrans, $creditstransextra, $ftp, $thumbstatus, $authkey, $attachimgpost, $fid; $attach['refcheck'] = (!$attach['remote'] && $attachrefcheck) || ($attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp'))); $aidencode = aidencode($attach['aid']); ?><? $return = <<<EOF EOF; if($attach['attachimg']) { if(!IS_ROBOT) { $return .= <<<EOF <dl class="t_attachlist attachimg"> <dt> </dt> <dd> <p class="imgtitle"> <a href="attachment.php?aid={$aidencode}&amp;nothumb=yes" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" id="aid{$attach['aid']}" class="bold" target="_blank">{$attach['filename']}</a> <em>({$attach['attachsize']})</em> </p> <div class="attach_popup" id="aid{$attach['aid']}_menu" style="display: none"> <div class="cornerlayger"> <p>下载次数:{$attach['downloads']}</p> <p>{$attach['dateline']}</p> </div> <div class="minicorner"></div> </div> <p> EOF; if($attach['readperm']) { $return .= <<<EOF 阅读权限: <strong>{$attach['readperm']}</strong> EOF; } if($attach['price']) { $return .= <<<EOF 售价: <strong>{$extcredits[$creditstransextra['1']]['title']} {$attach['price']} {$extcredits[$creditstransextra['1']]['unit']}</strong> &nbsp;[<a href="misc.php?action=viewattachpayments&amp;aid={$attach['aid']}" onclick="showWindow('attachpay', this.href);return false;" target="_blank">记录</a>] EOF; if(!$attach['payed']) { $return .= <<<EOF &nbsp;[<a href="misc.php?action=attachpay&amp;aid={$attach['aid']}" onclick="showWindow('attachpay', this.href);return false;" target="_blank">购买</a>] EOF; } } $return .= <<<EOF </p> EOF; if($attach['description']) { $return .= <<<EOF <p>{$attach['description']}</p> EOF; } if(!$attach['price'] || $attach['payed']) { $return .= <<<EOF <p> EOF; if($thumbstatus && $attach['thumb']) { $return .= <<<EOF <a href="javascript:;"><img onclick="zoom(this, ' EOF; if($attach['refcheck']) { $return .= <<<EOF attachment.php?aid={$aidencode}&amp;noupdate=yes&amp;nothumb=yes EOF; } else { $return .= <<<EOF {$attach['url']}/{$attach['attachment']} EOF; } $return .= <<<EOF ')" src=" EOF; if($attach['refcheck']) { $return .= <<<EOF attachment.php?aid={$aidencode} EOF; } else { $return .= <<<EOF {$attach['url']}/{$attach['attachment']}.thumb.jpg EOF; } $return .= <<<EOF " alt="{$attach['filename']}" /></a> EOF; } else { $GLOBALS['aimgs'][$attach['pid']][] = $attach['aid']; $widthcode = attachwidth($attach['width']); $return .= <<<EOF <img src="images/common/none.gif" file=" EOF; if($attach['refcheck']) { $return .= <<<EOF attachment.php?aid={$aidencode}&amp;noupdate=yes EOF; } else { $return .= <<<EOF {$attach['url']}/{$attach['attachment']} EOF; } $return .= <<<EOF " {$widthcode} id="aimg_{$attach['aid']}" alt="{$attach['filename']}" /> EOF; } $return .= <<<EOF </p> EOF; } $return .= <<<EOF </dd> EOF; } else { $return .= <<<EOF <dl class="t_attachlist attachimg"> EOF; if(!$attach['price'] || $attach['payed']) { if($attach['description']) { $return .= <<<EOF <p>{$attach['description']}</p> EOF; } $return .= <<<EOF <img src=" EOF; if($attach['refcheck']) { $return .= <<<EOF attachment.php?aid={$aidencode}&amp;noupdate=yes EOF; } else { $return .= <<<EOF {$attach['url']}/{$attach['attachment']} EOF; } $return .= <<<EOF " alt="{$attach['filename']}" /> EOF; } } } else { $return .= <<<EOF <dl class="t_attachlist"> <dt> {$attach['attachicon']} </dt> <dd> <p class="attachname"> EOF; if(!$attach['price'] || $attach['payed']) { $return .= <<<EOF <a href="attachment.php?aid={$aidencode}" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" id="aid{$attach['aid']}" target="_blank" EOF; if($GLOBALS['attachcredits']) { $return .= <<<EOF onclick="return creditconfirm('{$GLOBALS['attachcredits']}');" EOF; } $return .= <<<EOF >{$attach['filename']}</a> EOF; } else { $return .= <<<EOF <a href="misc.php?action=attachpay&amp;aid={$attach['aid']}" onclick="showWindow('attachpay', this.href);return false;">{$attach['filename']}</a> EOF; } $return .= <<<EOF ({$attach['attachsize']}) <div class="attach_popup" id="aid{$attach['aid']}_menu" style="display: none"> <div class="cornerlayger"> <p>下载次数:{$attach['downloads']}</p> <p>{$attach['dateline']}</p> EOF; if($GLOBALS['attachcredits']) { $return .= <<<EOF <p>下载消耗 {$GLOBALS['attachcredits']}</p> EOF; } $return .= <<<EOF </div> <div class="minicorner"></div> </div> </p> <p> EOF; if($attach['readperm']) { $return .= <<<EOF 阅读权限: <strong>{$attach['readperm']}</strong><br /> EOF; } if($attach['price']) { $return .= <<<EOF 售价: <strong>{$extcredits[$creditstransextra['1']]['title']} {$attach['price']} {$extcredits[$creditstransextra['1']]['unit']}</strong> &nbsp;[<a href="misc.php?action=viewattachpayments&amp;aid={$attach['aid']}" onclick="showWindow('attachpay', this.href);return false;" target="_blank">记录</a>] EOF; if(!$attach['payed']) { $return .= <<<EOF &nbsp;[<a href="misc.php?action=attachpay&amp;aid={$attach['aid']}" onclick="showWindow('attachpay', this.href);return false;">购买</a>] EOF; } } $return .= <<<EOF </p> EOF; if($attach['description']) { $return .= <<<EOF <p>{$attach['description']}</p> EOF; } $return .= <<<EOF </dd> EOF; } $return .= <<<EOF </dl> EOF; ?><? return $return; } function attachinpost($attach) { global $attachrefcheck, $extcredits, $creditstrans, $creditstransextra, $ftp, $thumbstatus, $attachimgpost; $attach['refcheck'] = (!$attach['remote'] && $attachrefcheck) || ($attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp'))); $aidencode = aidencode($attach['aid']); ?><? $__IMGDIR = IMGDIR;$return = <<<EOF EOF; if(!isset($attach['unpayed'])) { if($attach['attachimg']) { if(!IS_ROBOT) { $return .= <<<EOF <span style="position: absolute; display: none" id="attach_{$attach['aid']}" onmouseover="showMenu({'ctrlid':this.id,'pos':'13'})"><img src="{$__IMGDIR}/attachimg.gif" border="0"></span> EOF; if($thumbstatus && $attach['thumb']) { $return .= <<<EOF <a href="javascript:;"><img onclick="zoom(this, ' EOF; if($attach['refcheck']) { $return .= <<<EOF attachment.php?aid={$aidencode}&amp;noupdate=yes&amp;nothumb=yes EOF; } else { $return .= <<<EOF {$attach['url']}/{$attach['attachment']} EOF; } $return .= <<<EOF ')" src=" EOF; if($attach['refcheck']) { $return .= <<<EOF attachment.php?aid={$aidencode} EOF; } else { $return .= <<<EOF {$attach['url']}/{$attach['attachment']}.thumb.jpg EOF; } $return .= <<<EOF " border="0" id="aimg_{$attach['aid']}" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></a> EOF; } else { $GLOBALS['aimgs'][$attach['pid']][] = $attach['aid']; $widthcode = attachwidth($attach['width']); $return .= <<<EOF <img src="images/common/none.gif" file=" EOF; if($attach['refcheck']) { $return .= <<<EOF attachment.php?aid={$aidencode}&amp;noupdate=yes EOF; } else { $return .= <<<EOF {$attach['url']}/{$attach['attachment']} EOF; } $return .= <<<EOF " {$widthcode} id="aimg_{$attach['aid']}" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" alt="{$attach['filename']}" /> EOF; } $return .= <<<EOF <div class="t_attach" id="aimg_{$attach['aid']}_menu" style="position: absolute; display: none"> <a href="attachment.php?aid={$aidencode}&amp;nothumb=yes" title="{$attach['filename']}" target="_blank"><strong>下载</strong></a> ({$attach['attachsize']})<br /> EOF; if($attach['description']) { $return .= <<<EOF {$attach['description']}<br /> EOF; } } else { $return .= <<<EOF <dl class="t_attachlist attachimg"> EOF; if(!$attach['price'] || $attach['payed']) { if($attach['description']) { $return .= <<<EOF <p>{$attach['description']}</p> EOF; } $return .= <<<EOF <img src=" EOF; if($attach['refcheck']) { $return .= <<<EOF attachment.php?aid={$aidencode}&amp;noupdate=yes EOF; } else { $return .= <<<EOF {$attach['url']}/{$attach['attachment']} EOF; } $return .= <<<EOF " alt="{$attach['filename']}" /> EOF; } $return .= <<<EOF <div style="display: none"> EOF; } } else { $return .= <<<EOF {$attach['attachicon']} <span style="white-space: nowrap" id="attach_{$attach['aid']}" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})"><a href="attachment.php?aid={$aidencode}" target="_blank" EOF; if(!$attach['attachimg'] && $GLOBALS['attachcredits']) { $return .= <<<EOF onclick="return creditconfirm('{$GLOBALS['attachcredits']}');" EOF; } $return .= <<<EOF ><strong>{$attach['filename']}</strong></a></span> ({$attach['attachsize']}) <div class="t_attach" id="attach_{$attach['aid']}_menu" style="position: absolute; display: none"> EOF; if($attach['description']) { $return .= <<<EOF {$attach['description']}<br /> EOF; } $return .= <<<EOF 下载次数: {$attach['downloads']}<br /> EOF; if($attach['readperm']) { $return .= <<<EOF 阅读权限: {$attach['readperm']}<br /> EOF; } } if($attach['price']) { $return .= <<<EOF 售价: {$extcredits[$creditstransextra['1']]['title']} {$attach['price']} {$extcredits[$creditstransextra['1']]['unit']}<br /> <a href="misc.php?action=viewattachpayments&amp;aid={$attach['aid']}" onclick="showWindow('attachpay', this.href);return false;" target="_blank">[记录]</a> EOF; } $return .= <<<EOF <div class="t_smallfont">{$attach['dateline']}</div> EOF; if(!$attach['attachimg'] && $GLOBALS['attachcredits']) { $return .= <<<EOF 下载消耗 {$GLOBALS['attachcredits']}<br /> EOF; } $return .= <<<EOF </div> EOF; } else { $return .= <<<EOF {$attach['attachicon']} <strong>收费附件: {$attach['filename']}</strong> EOF; } $return .= <<<EOF EOF; ?><? return $return; } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_discuzcode.tpl.php
PHP
asf20
11,374
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); if($imagelist) { $i = 0; ?><table cellspacing="2" cellpadding="2" class="imglist"><tr><? if(is_array($imagelist)) { foreach($imagelist as $image) { $i++; ?><td valign="bottom" id="image_td_<?=$image['aid']?>" width="25%"> <a href="javascript:;" title="<?=$image['filename']?>"><img src="<?=$image['url']?>/<?=$image['attachment']?>" id="image_<?=$image['aid']?>" onclick="insertAttachimgTag('<?=$image['aid']?>')" width="<?=$image['width']?>" _width="<?=$image['width']?>" _height="110" onload="thumbImg(this, 1)" /></a> <p class="imginfo"> <span class="right"><a href="javascript:;" onclick="delImgAttach(<?=$image['aid']?>,<? if(!$attach['pid']) { ?>1<? } else { ?>0<? } ?>)" class="deloption">删除</a></span> <? if($image['description']) { ?> <input type="text" name="attachnew[<?=$image['aid']?>][description]" class="txt" value="<?=$image['description']?>" id="image_desc_<?=$image['aid']?>" /> <? } else { ?> <input type="text" class="txt lighttxt" value="描述" onclick="this.style.display='none';$('image_desc_<?=$image['aid']?>').style.display='';$('image_desc_<?=$image['aid']?>').focus();" /> <input type="text" name="attachnew[<?=$image['aid']?>][description]" class="txt" style="display: none" id="image_desc_<?=$image['aid']?>" /> <? } ?> </p> </td> <? if($i % 4 == 0 && isset($imagelist[$i])) { ?></tr><tr><? } } } if(($imgpad = $i % 4) > 0) { echo str_repeat('<td width="25%"></td>', 4 - $imgpad);; } ?> </tr></table> <? if(!empty($inajax)) { ?> <script type="text/javascript" reload="1"> ATTACHNUM['imageunused'] += <? echo count($imagelist); ?>; updateattachnum('image'); </script> <? } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_ajax_imagelist.tpl.php
PHP
asf20
1,683
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); ?> <div class="pages_btns s_clear"> <span class="postbtn" id="prompt_index_postbtn"><a href="misc.php?action=nav" onclick="showWindow('nav', this.href);return false;">发帖</a></span> <? if(!$discuz_uid) { ?> <p>你可以<a href="<?=$regname?>" onclick="showWindow('register', this.href);return false;" class="lightlink">注册</a>一个帐号,并以此<a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;" class="lightlink">登录</a>,以浏览更多精彩内容,并随时发布观点,与大家交流。</p> <? } else { ?> 欢迎回来 <?=$discuz_userss?>, <? if($lastvisit) { ?>你上次访问时间是在 <?=$lastvisit?>, <? } ?><a href="my.php?item=threads" class="lightlink" target="_blank">我的帖子</a>, <a href="search.php?srchfrom=<?=$newthreads?>&amp;searchsubmit=yes" class="lightlink">查看新帖</a>, <a href="member.php?action=markread" id="ajax_markread" onclick="ajaxmenu(this);doane(event);" class="lightlink">标记已读</a> <? } ?> </div> <? if(empty($gid) && $announcements) { ?> <div id="ann"> <dl> <dt>公告:</dt> <dd> <div id="annbody"><ul id="annbodylis"><?=$announcements?></ul></div> </dd> </dl> </div> <script type="text/javascript">announcement();</script> <? } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_index_header.tpl.php
PHP
asf20
1,315
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('discuz_feeds'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz_feeds.htm', 'D:\Website\newbbs\bbs\././templates/default/header.htm', 1271816901, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz_feeds.htm', 'D:\Website\newbbs\bbs\././templates/default/index_header.htm', 1271816901, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz_feeds.htm', 'D:\Website\newbbs\bbs\././templates/default/index_heats.htm', 1271816901, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz_feeds.htm', 'D:\Website\newbbs\bbs\././templates/default/index_navbar.htm', 1271816901, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz_feeds.htm', 'D:\Website\newbbs\bbs\././templates/default/footer.htm', 1271816901, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/discuz_feeds.htm', 'D:\Website\newbbs\bbs\././templates/default/jsmenu.htm', 1271816901, '1', './templates/default') ;?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" /> <title><?=$navtitle?> <?=$bbname?> <?=$seotitle?> - Powered by Discuz!</title> <?=$seohead?> <meta name="keywords" content="<?=$metakeywords?><?=$seokeywords?>" /> <meta name="description" content="<?=$metadescription?> <?=$bbname?> <?=$seodescription?> - Discuz! Board" /> <meta name="generator" content="Discuz! <?=$version?>" /> <meta name="author" content="Discuz! Team and Comsenz UI Team" /> <meta name="copyright" content="2001-2009 Comsenz Inc." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <meta http-equiv="x-ua-compatible" content="ie=7" /> <link rel="archives" title="<?=$bbname?>" href="<?=$boardurl?>archiver/" /> <?=$rsshead?> <?=$extrahead?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>" /><link rel="stylesheet" type="text/css" href="forumdata/cache/scriptstyle_<?=STYLEID?>_<?=CURSCRIPT?>.css?<?=VERHASH?>" /> <? if($forum['ismoderator']) { ?> <link href="forumdata/cache/style_1_moderator.css?mpd" rel="stylesheet" type="text/css" /> <? } ?><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', disallowfloat = '<?=$disallowfloat?>', creditnotice = '<? if($creditnotice) { ?><?=$creditnames?><? } ?>', <? if(in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))) { ?>gid = parseInt('<?=$thisgid?>')<? } elseif(CURSCRIPT == 'index') { ?>gid = parseInt('<?=$gid?>')<? } else { ?>gid = 0<? } ?>, fid = parseInt('<?=$fid?>'), tid = parseInt('<?=$tid?>')</script> <script src="<?=$jspath?>common.js?<?=VERHASH?>" type="text/javascript"></script> </head> <body id="<?=CURSCRIPT?>" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <div id="header"> <div class="wrap s_clear"> <h2><a href="<?=$indexname?>" title="<?=$bbname?>"><?=BOARDLOGO?></a></h2> <div id="umenu"> <? if($discuz_uid) { ?> <cite><a href="space.php?uid=<?=$discuz_uid?>" class="noborder"><?=$discuz_userss?></a><? if($allowinvisible) { ?><span id="loginstatus"><? if(!empty($invisible)) { ?><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">隐身</a><? } else { ?><a href="member.php?action=switchstatus" title="我要隐身" onclick="ajaxget(this.href, 'loginstatus');doane(event);">在线</a><? } ?></span><? } ?></cite> <span class="pipe">|</span> <? if($ucappopen['UCHOME']) { ?> <a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">空间</a> <? } elseif($ucappopen['XSPACE']) { ?> <a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">空间</a> <? } ?> <a id="myprompt" href="notice.php" <? if($prompt) { ?>class="new" onmouseover="showMenu({'ctrlid':this.id})"<? } ?>>提醒</a> <span id="myprompt_check"></span> <a href="pm.php" id="pm_ntc" target="_blank">短消息</a> <? if($taskon) { ?> <a id="task_ntc" <? if($doingtask) { ?>href="task.php?item=doing" class="new" title="您有未完成的任务"<? } else { ?>href="task.php"<? } ?> target="_blank">论坛任务</a> <? } ?> <span class="pipe">|</span> <a href="memcp.php">个人中心</a> <? if($discuz_uid && $adminid > 1) { ?><a href="modcp.php?fid=<?=$fid?>" target="_blank">管理面板</a><? } if($discuz_uid && $adminid == 1) { ?><a href="admincp.php" target="_blank">管理中心</a><? } ?> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } elseif(!empty($_DCOOKIE['loginuser'])) { ?> <cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">激活</a> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } else { ?> <a href="<?=$regname?>" onclick="showWindow('register', this.href);return false;" class="noborder"><?=$reglinkname?></a> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">登录</a> <? } ?> </div> <div id="ad_headerbanner"><? if($admode && !empty($advlist['headerbanner'])) { ?><?=$advlist['headerbanner']?><? } ?></div> <div id="menu"> <ul> <? if($_DCACHE['settings']['frameon'] > 0) { ?> <li> <span class="frameswitch"> <script type="text/javascript"> if(top == self) { <? if(($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))) { ?> top.location = 'frame.php?frameon=yes&referer='+escape(self.location); <? } ?> document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">分栏模式<\/a>'); } else { document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">平板模式<\/a>'); } </script> </span> </li> <? } if(is_array($navs)) { foreach($navs as $id => $nav) { if($id == 3) { if(!empty($plugins['jsmenu'])) { ?> <?=$nav['nav']?> <? } if(!empty($plugins['links'])) { if(is_array($plugins['links'])) { foreach($plugins['links'] as $module) { if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li><?=$module['url']?></li><? } } } } } else { if(!$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)) { ?><?=$nav['nav']?><? } } } } if(in_array($BASEFILENAME, $navmns)) { $mnid = $BASEFILENAME; } elseif($navmngs[$BASEFILENAME]) { if(is_array($navmngs[$BASEFILENAME])) { foreach($navmngs[$BASEFILENAME] as $navmng) { if($navmng['0'] == array_intersect_assoc($navmng['0'], $_GET)) { $mnid = $navmng['1']; } } } } ?> </ul> <script type="text/javascript"> var currentMenu = $('mn_<?=$mnid?>') ? $('mn_<?=$mnid?>') : $('mn_<?=$navmns['0']?>'); currentMenu.parentNode.className = 'current'; </script> </div> <? if(!empty($stylejumpstatus)) { ?> <script type="text/javascript"> function setstyle(styleid) { str = unescape('<? echo str_replace("'", "\\'", urlencode($_SERVER['QUERY_STRING'])); ?>'); str = str.replace(/(^|&)styleid=\d+/ig, ''); str = (str != '' ? str + '&' : '') + 'styleid=' + styleid; location.href = '<?=$BASESCRIPT?>?' + str; } </script> <ul id="style_switch"><? if(is_array($styles)) { foreach($styles as $id => $stylename) { ?><li<? if($id == STYLEID) { ?> class="current"<? } ?>><a href="###" onclick="setstyle(<?=$id?>)" title="<?=$stylename?>" style="background: <?=$styleicons[$id]?>;"><?=$stylename?></a></li><? } } ?></ul> <? } ?> </div> <div id="myprompt_menu" style="display:none" class="promptmenu"> <div class="promptcontent"> <ul class="s_clear"><? if(is_array($prompts)) { foreach($prompts as $promptkey => $promptdata) { if($promptkey) { ?><li<? if(!$promptdata['new']) { ?> style="display:none"<? } ?>><a id="prompt_<?=$promptkey?>" href="<? if($promptdata['script']) { ?><?=$promptdata['script']?><? } else { ?>notice.php?filter=<?=$promptkey?><? } ?>" target="_blank"><?=$promptdata['name']?> (<?=$promptdata['new']?>)</a></li><? } } } ?></ul> </div> </div> </div> <?=$pluginhooks['global_header']?><div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> &raquo; 首页</div> <? if($admode && !empty($advlist['text'])) { ?><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1"><?=$advlist['text']?></table></div><? } else { ?><div id="ad_text"></div><? } ?> <div id="wrap"<? if($infosidestatus['allow'] < 2) { ?> class="wrap s_clear"<? } else { ?> class="wrap with_side s_clear"<? } ?>> <? if($infosidestatus['allow'] == 2) { ?> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['打开边栏', '关闭边栏']);" class="<?=$collapseimg['sidebar']?>"><? if($collapseimg['sidebar'] == 'collapsed_yes') { ?>打开边栏<? } else { ?>关闭边栏<? } ?></a> <? } elseif($infosidestatus['allow'] == 1) { ?> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['', '关闭边栏']);" class="collapsed_yes">打开边栏</a> <? } ?> <div class="main"><div class="content"> <?=$pluginhooks['index_header']?><div class="pages_btns s_clear"> <span class="postbtn" id="prompt_index_postbtn"><a href="misc.php?action=nav" onclick="showWindow('nav', this.href);return false;">发帖</a></span> <? if(!$discuz_uid) { ?> <p>你可以<a href="<?=$regname?>" onclick="showWindow('register', this.href);return false;" class="lightlink">注册</a>一个帐号,并以此<a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;" class="lightlink">登录</a>,以浏览更多精彩内容,并随时发布观点,与大家交流。</p> <? } else { ?> 欢迎回来 <?=$discuz_userss?>, <? if($lastvisit) { ?>你上次访问时间是在 <?=$lastvisit?>, <? } ?><a href="my.php?item=threads" class="lightlink" target="_blank">我的帖子</a>, <a href="search.php?srchfrom=<?=$newthreads?>&amp;searchsubmit=yes" class="lightlink">查看新帖</a>, <a href="member.php?action=markread" id="ajax_markread" onclick="ajaxmenu(this);doane(event);" class="lightlink">标记已读</a> <? } ?> </div> <? if(empty($gid) && $announcements) { ?> <div id="ann"> <dl> <dt>公告:</dt> <dd> <div id="annbody"><ul id="annbodylis"><?=$announcements?></ul></div> </dd> </dl> </div> <script type="text/javascript">announcement();</script> <? } if($indexhot['status']) { if($_DCACHE['heats']['message']) { ?> <div id="hot" class="s_clear<? if($_DCACHE['heats']['image']) { ?> img<? } ?>"> <h3>论坛热点</h3> <div id="hot_main"> <dl><? if(is_array($_DCACHE['heats']['message'])) { foreach($_DCACHE['heats']['message'] as $data) { ?><dt> <strong><? if($adminid == 1) { ?><a class="deloption" href="misc.php?action=removeindexheats&amp;tid=<?=$data['tid']?>&amp;from=indexheats" onclick="return removeindexheats()">delete</a><? } ?><a href="viewthread.php?tid=<?=$data['tid']?>&amp;from=indexheats"><?=$data['subject']?></a></strong> <cite><a href="space.php?uid=<?=$data['authorid']?>&amp;from=indexheats"><?=$data['author']?></a></cite> </dt> <dd class="desc"> <?=$data['message']?> ... <a href="viewthread.php?tid=<?=$data['tid']?>&amp;from=indexheats_readmore">查看全文</a> </dd><? } } ?></dl> <? if($_DCACHE['heats']['subject']) { ?> <ul class="s_clear"><? if(is_array($_DCACHE['heats']['subject'])) { foreach($_DCACHE['heats']['subject'] as $data) { ?><li><? if($adminid == 1) { ?><a class="deloption" href="misc.php?action=removeindexheats&amp;tid=<?=$data['tid']?>" onclick="return removeindexheats()">delete</a><? } ?><a href="viewthread.php?tid=<?=$data['tid']?>"><?=$data['subject']?></a></li><? } } ?></ul> <? } ?> </div> <? if($_DCACHE['heats']['image']) { ?> <div id="hot_img"> <a href="viewthread.php?tid=<?=$_DCACHE['heats']['image']['tid']?>&amp;from=indexheats_pic"><img src="<?=$_DCACHE['heats']['image']['thumb']?>" alt="<?=$_DCACHE['heats']['image']['subject']?>" /></a> <h2><? if($adminid == 1) { ?><a class="deloption" href="misc.php?action=removeindexheats&amp;tid=<?=$_DCACHE['heats']['image']['tid']?>" onclick="return removeindexheats()">delete</a><? } ?><a href="viewthread.php?tid=<?=$_DCACHE['heats']['image']['tid']?>&amp;from=indexheats"><?=$_DCACHE['heats']['image']['subject']?></a></h2> <p class="desc"><?=$_DCACHE['heats']['image']['message']?> ...<a href="viewthread.php?tid=<?=$_DCACHE['heats']['image']['tid']?>&amp;from=indexheats_readmore">查看全文</a></p> <cite><a href="space.php?uid=<?=$_DCACHE['heats']['image']['authorid']?>&amp;from=indexheats"><?=$_DCACHE['heats']['image']['author']?></a> 发表于 <? echo dgmdate("$dateformat $timeformat", $_DCACHE['heats']['image']['dateline'] + $timeoffset * 3600); ?></cite> </div> <? } ?> </div> <? } } ?> <?=$pluginhooks['index_hot']?> <div class="itemtitle s_clear"> <p class="right forumcount"> 今日: <em><?=$todayposts?></em>, 昨日: <em><?=$postdata['0']?></em>, 会员: <em><?=$totalmembers?></em> </p><ul> <li<? if($indexfile == 'classics') { ?> class="current"<? } ?>><a href="<?=$indexname?>?op=classics"><span>论坛版块</span></a></li> <li<? if($indexfile == 'feeds' && !$type) { ?> class="current"<? } ?>><a href="<?=$indexname?>?op=feeds"><span>论坛动态</span></a></li> <? if($my_status) { ?> <li<? if($indexfile == 'feeds' && $type == 'manyou') { ?> class="current"<? } ?>><a href="<?=$indexname?>?op=feeds&type=manyou"><span>应用动态</span></a></li> <? } ?> <?=$pluginhooks['index_navbar']?> </ul></div> <?=$pluginhooks['index_top']?> <div id="feed" class="feed"> <ul><? if(is_array($feeds)) { foreach($feeds as $value) { if($value['daterange']) { ?> </ul><h3> <? if($value['daterange'] == $day1) { ?>今天 <? } elseif($value['daterange'] == $day2) { ?>昨天 <? } elseif($value['daterange'] == $day3) { ?>前天 <? } else { ?><?=$value['daterange']?><? } ?> </h3><ul> <? } ?> <li class="s_clear"> <div class="f_icon"> <img src="<? if(empty($type)) { ?><?=$value['icon']?><? } else { ?><?=$value['icon_image']?><? } ?>" class="apptype" /> <?=$value['title']?> <? if($value['image']) { ?> <div class="f_thumb"><? if(is_array($value['image'])) { foreach($value['image'] as $image) { ?><?=$image?><? } } ?></div> <? } if($value['general']) { ?> <fieldset><ins><?=$value['general']?></ins></fieldset> <? } if($value['body']) { ?><div class="summary"><?=$value['body']?></div><? } ?> </div> </li><? } } ?></ul> </div> <? if(!empty($view)) { ?> <div class="s_clear"><?=$multi?></div> <? } else { ?> <div class="pages s_clear"> <a class="next" href="<? if(empty($type)) { ?><?=$indexname?>?view=all&op=feeds<? } else { ?>userapp.php<? } ?>">查看所有</a> </div> <? } ?> <?=$pluginhooks['index_bottom']?> </div></div> <? if($infosidestatus['allow'] == 2) { ?> <div id="sidebar" class="side" style="<?=$collapse['sidebar']?>"> <? if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 1)) { ?> <div id="qihoosearch" class="sidebox"> <? if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 1)) { ?> <form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';"> <input type="hidden" name="searchsubmit" value="yes" /> <input type="text" class="txt" name="srchtxt" value="<?=$qihoo_searchboxtxt?>" size="20" /> <select name="stype"> <option value="" selected="selected">全文</option> <option value="1">标题</option> <option value="2">作者</option> </select> &nbsp;<button name="searchsubmit" type="submit" value="true">搜索</button> </form> <? if(!empty($qihoo['links']['keywords'])) { ?> <strong>热门搜索</strong><? if(is_array($qihoo['links']['keywords'])) { foreach($qihoo['links']['keywords'] as $link) { ?><?=$link?>&nbsp;<? } } } if($customtopics) { ?> <strong>用户专题</strong>&nbsp;&nbsp;<?=$customtopics?> [<a href="javascript:;" onclick="showWindow('customtopics', 'misc.php?action=customtopics')">编辑</a>]<br /> <? } if(!empty($qihoo['links']['topics'])) { ?> <strong>论坛专题</strong>&nbsp;<? if(is_array($qihoo['links']['topics'])) { foreach($qihoo['links']['topics'] as $url) { ?><?=$url?> &nbsp;<? } } } } ?> </div> <? } if($infosidestatus['2']) { if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 1)) { ?> <hr class="shadowline"/> <? } ?> <div id="infoside"> <? if(empty($gid)) { request($infosidestatus, 0, 2); } else { request($infosidestatus, 1, 2); } ?> </div> <? } ?> </div> <? } ?> </div><? if(!empty($plugins['jsmenu'])) { ?> <ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?> <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?> <li><?=$module['url']?></li> <? } } } ?></ul> <? } if(is_array($subnavs)) { foreach($subnavs as $subnav) { ?><?=$subnav?><? } } if($prompts['newbietask'] && $newbietasks) { include template('task_newbie_js', '0', ''); } if($admode && !empty($advlist)) { ?> <div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><? if($advlist['footerbanner2']) { ?><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><? } if($advlist['footerbanner3']) { ?><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div><? } } else { ?> <div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div> <? } ?> <?=$pluginhooks['global_footer']?> <div id="footer"> <div class="wrap s_clear"> <div id="footlink"> <p> <strong><a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a></strong> <? if($icp) { ?>( <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a>)<? } ?> <span class="pipe">|</span><a href="mailto:<?=$adminemail?>">联系我们</a> <? if($allowviewstats) { ?><span class="pipe">|</span><a href="stats.php">论坛统计</a><? } if($archiverstatus) { ?><span class="pipe">|</span><a href="archiver/" target="_blank">Archiver</a><? } if($wapstatus) { ?><span class="pipe">|</span><a href="wap/" target="_blank">WAP</a><? } if($statcode) { ?><span class="pipe">| <?=$statcode?></span><? } ?> <?=$pluginhooks['global_footerlink']?> </p> <p class="smalltext"> GMT<?=$timenow['offset']?>, <?=$timenow['time']?> <? if(debuginfo()) { ?>, <span id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?></span><? } ?>. </p> </div> <div id="rightinfo"> <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p> <p class="smalltext">&copy; 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p> </div><? updatesession(); ?></div> </div> <? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?> <script src="<?=$jspath?>iframe.js?<?=VERHASH?>" type="text/javascript"></script> <? } output(); ?></body> </html>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_discuz_feeds.tpl.php
PHP
asf20
19,921
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/footer.htm', 'D:\Website\newbbs\bbs\././templates/default/jsmenu.htm', 1268616355, '1', './templates/default') ;?> </div><? if(!empty($plugins['jsmenu'])) { ?> <ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?> <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?> <li><?=$module['url']?></li> <? } } } ?></ul> <? } if(is_array($subnavs)) { foreach($subnavs as $subnav) { ?><?=$subnav?><? } } if($prompts['newbietask'] && $newbietasks) { include template('task_newbie_js', '0', ''); } if($admode && !empty($advlist)) { ?> <div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><? if($advlist['footerbanner2']) { ?><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><? } if($advlist['footerbanner3']) { ?><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div><? } } else { ?> <div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div> <? } ?> <?=$pluginhooks['global_footer']?> <div id="footer"> <div class="wrap s_clear"> <div id="footlink"> <p> <strong><a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a></strong> <? if($icp) { ?>( <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a>)<? } ?> <span class="pipe">|</span><a href="mailto:<?=$adminemail?>">联系我们</a> <? if($allowviewstats) { ?><span class="pipe">|</span><a href="stats.php">论坛统计</a><? } if($archiverstatus) { ?><span class="pipe">|</span><a href="archiver/" target="_blank">Archiver</a><? } if($wapstatus) { ?><span class="pipe">|</span><a href="wap/" target="_blank">WAP</a><? } if($statcode) { ?><span class="pipe">| <?=$statcode?></span><? } ?> <?=$pluginhooks['global_footerlink']?> </p> <p class="smalltext"> GMT<?=$timenow['offset']?>, <?=$timenow['time']?> <? if(debuginfo()) { ?>, <span id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?></span><? } ?>. </p> </div> <div id="rightinfo"> <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p> <p class="smalltext">&copy; 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p> </div><? updatesession(); ?></div> </div> <? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?> <script src="<?=$jspath?>iframe.js?<?=VERHASH?>" type="text/javascript"></script> <? } output(); ?></body> </html>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_footer.tpl.php
PHP
asf20
3,045
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('showmessage'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/showmessage.htm', 'D:\Website\newbbs\bbs\././templates/default/header.htm', 1268371459, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/showmessage.htm', 'D:\Website\newbbs\bbs\././templates/default/footer.htm', 1268371459, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/showmessage.htm', 'D:\Website\newbbs\bbs\././templates/default/jsmenu.htm', 1268371459, '1', './templates/default') ;?> <? if(!$inajax) { ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" /> <title><?=$navtitle?> <?=$bbname?> <?=$seotitle?> - Powered by Discuz!</title> <?=$seohead?> <meta name="keywords" content="<?=$metakeywords?><?=$seokeywords?>" /> <meta name="description" content="<?=$metadescription?> <?=$bbname?> <?=$seodescription?> - Discuz! Board" /> <meta name="generator" content="Discuz! <?=$version?>" /> <meta name="author" content="Discuz! Team and Comsenz UI Team" /> <meta name="copyright" content="2001-2009 Comsenz Inc." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <meta http-equiv="x-ua-compatible" content="ie=7" /> <link rel="archives" title="<?=$bbname?>" href="<?=$boardurl?>archiver/" /> <?=$rsshead?> <?=$extrahead?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>" /> <? if($forum['ismoderator']) { ?> <link href="forumdata/cache/style_1_moderator.css?mpd" rel="stylesheet" type="text/css" /> <? } ?><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', disallowfloat = '<?=$disallowfloat?>', creditnotice = '<? if($creditnotice) { ?><?=$creditnames?><? } ?>', <? if(in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))) { ?>gid = parseInt('<?=$thisgid?>')<? } elseif(CURSCRIPT == 'index') { ?>gid = parseInt('<?=$gid?>')<? } else { ?>gid = 0<? } ?>, fid = parseInt('<?=$fid?>'), tid = parseInt('<?=$tid?>')</script> <script src="<?=$jspath?>common.js?<?=VERHASH?>" type="text/javascript"></script> </head> <body id="<?=CURSCRIPT?>" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <div id="header"> <div class="wrap s_clear"> <h2><a href="<?=$indexname?>" title="<?=$bbname?>"><?=BOARDLOGO?></a></h2> <div id="umenu"> <? if($discuz_uid) { ?> <cite><a href="space.php?uid=<?=$discuz_uid?>" class="noborder"><?=$discuz_userss?></a><? if($allowinvisible) { ?><span id="loginstatus"><? if(!empty($invisible)) { ?><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">隐身</a><? } else { ?><a href="member.php?action=switchstatus" title="我要隐身" onclick="ajaxget(this.href, 'loginstatus');doane(event);">在线</a><? } ?></span><? } ?></cite> <span class="pipe">|</span> <? if($ucappopen['UCHOME']) { ?> <a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">空间</a> <? } elseif($ucappopen['XSPACE']) { ?> <a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">空间</a> <? } ?> <a id="myprompt" href="notice.php" <? if($prompt) { ?>class="new" onmouseover="showMenu({'ctrlid':this.id})"<? } ?>>提醒</a> <span id="myprompt_check"></span> <a href="pm.php" id="pm_ntc" target="_blank">短消息</a> <? if($taskon) { ?> <a id="task_ntc" <? if($doingtask) { ?>href="task.php?item=doing" class="new" title="您有未完成的任务"<? } else { ?>href="task.php"<? } ?> target="_blank">论坛任务</a> <? } ?> <span class="pipe">|</span> <a href="memcp.php">个人中心</a> <? if($discuz_uid && $adminid > 1) { ?><a href="modcp.php?fid=<?=$fid?>" target="_blank">管理面板</a><? } if($discuz_uid && $adminid == 1) { ?><a href="admincp.php" target="_blank">管理中心</a><? } ?> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } elseif(!empty($_DCOOKIE['loginuser'])) { ?> <cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">激活</a> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } else { ?> <a href="<?=$regname?>" onclick="showWindow('register', this.href);return false;" class="noborder"><?=$reglinkname?></a> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">登录</a> <? } ?> </div> <div id="ad_headerbanner"><? if($admode && !empty($advlist['headerbanner'])) { ?><?=$advlist['headerbanner']?><? } ?></div> <div id="menu"> <ul> <? if($_DCACHE['settings']['frameon'] > 0) { ?> <li> <span class="frameswitch"> <script type="text/javascript"> if(top == self) { <? if(($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))) { ?> top.location = 'frame.php?frameon=yes&referer='+escape(self.location); <? } ?> document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">分栏模式<\/a>'); } else { document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">平板模式<\/a>'); } </script> </span> </li> <? } if(is_array($navs)) { foreach($navs as $id => $nav) { if($id == 3) { if(!empty($plugins['jsmenu'])) { ?> <?=$nav['nav']?> <? } if(!empty($plugins['links'])) { if(is_array($plugins['links'])) { foreach($plugins['links'] as $module) { if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li><?=$module['url']?></li><? } } } } } else { if(!$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)) { ?><?=$nav['nav']?><? } } } } if(in_array($BASEFILENAME, $navmns)) { $mnid = $BASEFILENAME; } elseif($navmngs[$BASEFILENAME]) { if(is_array($navmngs[$BASEFILENAME])) { foreach($navmngs[$BASEFILENAME] as $navmng) { if($navmng['0'] == array_intersect_assoc($navmng['0'], $_GET)) { $mnid = $navmng['1']; } } } } ?> </ul> <script type="text/javascript"> var currentMenu = $('mn_<?=$mnid?>') ? $('mn_<?=$mnid?>') : $('mn_<?=$navmns['0']?>'); currentMenu.parentNode.className = 'current'; </script> </div> <? if(!empty($stylejumpstatus)) { ?> <script type="text/javascript"> function setstyle(styleid) { str = unescape('<? echo str_replace("'", "\\'", urlencode($_SERVER['QUERY_STRING'])); ?>'); str = str.replace(/(^|&)styleid=\d+/ig, ''); str = (str != '' ? str + '&' : '') + 'styleid=' + styleid; location.href = '<?=$BASESCRIPT?>?' + str; } </script> <ul id="style_switch"><? if(is_array($styles)) { foreach($styles as $id => $stylename) { ?><li<? if($id == STYLEID) { ?> class="current"<? } ?>><a href="###" onclick="setstyle(<?=$id?>)" title="<?=$stylename?>" style="background: <?=$styleicons[$id]?>;"><?=$stylename?></a></li><? } } ?></ul> <? } ?> </div> <div id="myprompt_menu" style="display:none" class="promptmenu"> <div class="promptcontent"> <ul class="s_clear"><? if(is_array($prompts)) { foreach($prompts as $promptkey => $promptdata) { if($promptkey) { ?><li<? if(!$promptdata['new']) { ?> style="display:none"<? } ?>><a id="prompt_<?=$promptkey?>" href="<? if($promptdata['script']) { ?><?=$promptdata['script']?><? } else { ?>notice.php?filter=<?=$promptkey?><? } ?>" target="_blank"><?=$promptdata['name']?> (<?=$promptdata['new']?>)</a></li><? } } } ?></ul> </div> </div> </div> <?=$pluginhooks['global_header']?><? } else { include template('header_ajax', '0', ''); } $allowreturn = $url_forward || !stristr($show_message, '返回') ? 0 : 1;$alerttype = $url_forward ? (preg_match('/\_succeed$/', $message) ? 'alert_right' : 'alert_info') : ($allowreturn ? 'alert_error' : 'alert_info'); if(!$inajax) { ?> <div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> &raquo; 提示信息</div> <div id="wrap" class="wrap s_clear"><div class="main"><div class="content nofloat"> <div class="fcontent alert_win"> <h3 class="float_ctrl"><em><?=$bbname?> 提示信息</em></h3> <hr class="shadowline" /> <div class="postbox"><div class="<?=$alerttype?>"> <p><?=$show_message?></p> <? if($url_forward) { if(empty($forwardtype)) { ?> <p class="alert_btnleft"><a href="<?=$url_forward?>">如果您的浏览器没有自动跳转,请点击此链接</a></p> <? } else { ?> <p class="alert_btnleft"><a href="<?=$url_forward?>">如果 <?=$refreshtime?> 秒后下载仍未开始,请点击此链接</a></p> <? } } elseif($allowreturn) { ?> <p class="alert_btnleft"><a href="javascript:history.back()">[ 点击这里返回上一页 ]</a></p> <? } ?> </div></div> </div> </div></div></div> <? } elseif(!empty($infloat) && (empty($_POST) || !empty($nopost))) { ?> <div class="fcontent alert_win"> <h3 class="float_ctrl"><em>提示信息</em><span><a href="javascript:;" class="float_close" onclick="hideWindow('<?=$handlekey?>');" title="关闭">关闭</a></span></h3> <hr class="shadowline" /> <div class="postbox"> <div class="<?=$alerttype?>"><?=$show_message?></div> <? if($messagehandle == 'NOPERM' && !$discuz_uid) { ?> <div class="alert_btn"><input type="button" onclick="hideWindow('<?=$handlekey?>');showWindow('login', 'logging.php?action=login');" value="&nbsp;确定&nbsp;" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" onclick="hideWindow('<?=$handlekey?>');" value="&nbsp;取消&nbsp;" /></div> <? } else { ?> <div class="alert_btn"><input type="button" onclick="hideWindow('<?=$handlekey?>');" value="关闭" /></div> <? } ?> </div> </div> <? } else { echo str_replace(array(",请返回", ",请。"), array(",请", "。"), $show_message); if($extra == 'HALTED' || $extra == 'NOPERM') { ?> <script type="text/javascript" reload="1"> function ajaxerror() { hideMenu(); showDialog('<?=$show_message?>', 'notice', '', null, 0); } ajaxerror(); </script> <? } } if(!$inajax) { ?> </div><? if(!empty($plugins['jsmenu'])) { ?> <ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?> <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?> <li><?=$module['url']?></li> <? } } } ?></ul> <? } if(is_array($subnavs)) { foreach($subnavs as $subnav) { ?><?=$subnav?><? } } if($prompts['newbietask'] && $newbietasks) { include template('task_newbie_js', '0', ''); } if($admode && !empty($advlist)) { ?> <div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><? if($advlist['footerbanner2']) { ?><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><? } if($advlist['footerbanner3']) { ?><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div><? } } else { ?> <div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div> <? } ?> <?=$pluginhooks['global_footer']?> <div id="footer"> <div class="wrap s_clear"> <div id="footlink"> <p> <strong><a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a></strong> <? if($icp) { ?>( <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a>)<? } ?> <span class="pipe">|</span><a href="mailto:<?=$adminemail?>">联系我们</a> <? if($allowviewstats) { ?><span class="pipe">|</span><a href="stats.php">论坛统计</a><? } if($archiverstatus) { ?><span class="pipe">|</span><a href="archiver/" target="_blank">Archiver</a><? } if($wapstatus) { ?><span class="pipe">|</span><a href="wap/" target="_blank">WAP</a><? } if($statcode) { ?><span class="pipe">| <?=$statcode?></span><? } ?> <?=$pluginhooks['global_footerlink']?> </p> <p class="smalltext"> GMT<?=$timenow['offset']?>, <?=$timenow['time']?> <? if(debuginfo()) { ?>, <span id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?></span><? } ?>. </p> </div> <div id="rightinfo"> <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p> <p class="smalltext">&copy; 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p> </div><? updatesession(); ?></div> </div> <? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?> <script src="<?=$jspath?>iframe.js?<?=VERHASH?>" type="text/javascript"></script> <? } output(); ?></body> </html><? } else { include template('footer_ajax', '0', ''); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_showmessage.tpl.php
PHP
asf20
13,406
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('viewpro_classic'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/viewpro_classic.htm', 'D:\Website\newbbs\bbs\././templates/default/header.htm', 1271758412, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/viewpro_classic.htm', 'D:\Website\newbbs\bbs\././templates/default/footer.htm', 1271758412, '1', './templates/default') || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/viewpro_classic.htm', 'D:\Website\newbbs\bbs\././templates/default/jsmenu.htm', 1271758412, '1', './templates/default') ;?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" /> <title><?=$navtitle?> <?=$bbname?> <?=$seotitle?> - Powered by Discuz!</title> <?=$seohead?> <meta name="keywords" content="<?=$metakeywords?><?=$seokeywords?>" /> <meta name="description" content="<?=$metadescription?> <?=$bbname?> <?=$seodescription?> - Discuz! Board" /> <meta name="generator" content="Discuz! <?=$version?>" /> <meta name="author" content="Discuz! Team and Comsenz UI Team" /> <meta name="copyright" content="2001-2009 Comsenz Inc." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <meta http-equiv="x-ua-compatible" content="ie=7" /> <link rel="archives" title="<?=$bbname?>" href="<?=$boardurl?>archiver/" /> <?=$rsshead?> <?=$extrahead?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>" /><link rel="stylesheet" type="text/css" href="forumdata/cache/scriptstyle_<?=STYLEID?>_<?=CURSCRIPT?>.css?<?=VERHASH?>" /> <? if($forum['ismoderator']) { ?> <link href="forumdata/cache/style_1_moderator.css?mpd" rel="stylesheet" type="text/css" /> <? } ?><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', disallowfloat = '<?=$disallowfloat?>', creditnotice = '<? if($creditnotice) { ?><?=$creditnames?><? } ?>', <? if(in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))) { ?>gid = parseInt('<?=$thisgid?>')<? } elseif(CURSCRIPT == 'index') { ?>gid = parseInt('<?=$gid?>')<? } else { ?>gid = 0<? } ?>, fid = parseInt('<?=$fid?>'), tid = parseInt('<?=$tid?>')</script> <script src="<?=$jspath?>common.js?<?=VERHASH?>" type="text/javascript"></script> </head> <body id="<?=CURSCRIPT?>" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <div id="header"> <div class="wrap s_clear"> <h2><a href="<?=$indexname?>" title="<?=$bbname?>"><?=BOARDLOGO?></a></h2> <div id="umenu"> <? if($discuz_uid) { ?> <cite><a href="space.php?uid=<?=$discuz_uid?>" class="noborder"><?=$discuz_userss?></a><? if($allowinvisible) { ?><span id="loginstatus"><? if(!empty($invisible)) { ?><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">隐身</a><? } else { ?><a href="member.php?action=switchstatus" title="我要隐身" onclick="ajaxget(this.href, 'loginstatus');doane(event);">在线</a><? } ?></span><? } ?></cite> <span class="pipe">|</span> <? if($ucappopen['UCHOME']) { ?> <a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">空间</a> <? } elseif($ucappopen['XSPACE']) { ?> <a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">空间</a> <? } ?> <a id="myprompt" href="notice.php" <? if($prompt) { ?>class="new" onmouseover="showMenu({'ctrlid':this.id})"<? } ?>>提醒</a> <span id="myprompt_check"></span> <a href="pm.php" id="pm_ntc" target="_blank">短消息</a> <? if($taskon) { ?> <a id="task_ntc" <? if($doingtask) { ?>href="task.php?item=doing" class="new" title="您有未完成的任务"<? } else { ?>href="task.php"<? } ?> target="_blank">论坛任务</a> <? } ?> <span class="pipe">|</span> <a href="memcp.php">个人中心</a> <? if($discuz_uid && $adminid > 1) { ?><a href="modcp.php?fid=<?=$fid?>" target="_blank">管理面板</a><? } if($discuz_uid && $adminid == 1) { ?><a href="admincp.php" target="_blank">管理中心</a><? } ?> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } elseif(!empty($_DCOOKIE['loginuser'])) { ?> <cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">激活</a> <a href="logging.php?action=logout&amp;formhash=<?=FORMHASH?>">退出</a> <? } else { ?> <a href="<?=$regname?>" onclick="showWindow('register', this.href);return false;" class="noborder"><?=$reglinkname?></a> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">登录</a> <? } ?> </div> <div id="ad_headerbanner"><? if($admode && !empty($advlist['headerbanner'])) { ?><?=$advlist['headerbanner']?><? } ?></div> <div id="menu"> <ul> <? if($_DCACHE['settings']['frameon'] > 0) { ?> <li> <span class="frameswitch"> <script type="text/javascript"> if(top == self) { <? if(($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))) { ?> top.location = 'frame.php?frameon=yes&referer='+escape(self.location); <? } ?> document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">分栏模式<\/a>'); } else { document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">平板模式<\/a>'); } </script> </span> </li> <? } if(is_array($navs)) { foreach($navs as $id => $nav) { if($id == 3) { if(!empty($plugins['jsmenu'])) { ?> <?=$nav['nav']?> <? } if(!empty($plugins['links'])) { if(is_array($plugins['links'])) { foreach($plugins['links'] as $module) { if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li><?=$module['url']?></li><? } } } } } else { if(!$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)) { ?><?=$nav['nav']?><? } } } } if(in_array($BASEFILENAME, $navmns)) { $mnid = $BASEFILENAME; } elseif($navmngs[$BASEFILENAME]) { if(is_array($navmngs[$BASEFILENAME])) { foreach($navmngs[$BASEFILENAME] as $navmng) { if($navmng['0'] == array_intersect_assoc($navmng['0'], $_GET)) { $mnid = $navmng['1']; } } } } ?> </ul> <script type="text/javascript"> var currentMenu = $('mn_<?=$mnid?>') ? $('mn_<?=$mnid?>') : $('mn_<?=$navmns['0']?>'); currentMenu.parentNode.className = 'current'; </script> </div> <? if(!empty($stylejumpstatus)) { ?> <script type="text/javascript"> function setstyle(styleid) { str = unescape('<? echo str_replace("'", "\\'", urlencode($_SERVER['QUERY_STRING'])); ?>'); str = str.replace(/(^|&)styleid=\d+/ig, ''); str = (str != '' ? str + '&' : '') + 'styleid=' + styleid; location.href = '<?=$BASESCRIPT?>?' + str; } </script> <ul id="style_switch"><? if(is_array($styles)) { foreach($styles as $id => $stylename) { ?><li<? if($id == STYLEID) { ?> class="current"<? } ?>><a href="###" onclick="setstyle(<?=$id?>)" title="<?=$stylename?>" style="background: <?=$styleicons[$id]?>;"><?=$stylename?></a></li><? } } ?></ul> <? } ?> </div> <div id="myprompt_menu" style="display:none" class="promptmenu"> <div class="promptcontent"> <ul class="s_clear"><? if(is_array($prompts)) { foreach($prompts as $promptkey => $promptdata) { if($promptkey) { ?><li<? if(!$promptdata['new']) { ?> style="display:none"<? } ?>><a id="prompt_<?=$promptkey?>" href="<? if($promptdata['script']) { ?><?=$promptdata['script']?><? } else { ?>notice.php?filter=<?=$promptkey?><? } ?>" target="_blank"><?=$promptdata['name']?> (<?=$promptdata['new']?>)</a></li><? } } } ?></ul> </div> </div> </div> <?=$pluginhooks['global_header']?><div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> &raquo; <? if($discuz_uid == $member['uid']) { ?>我的资料<? } else { ?><?=$member['username']?>的个人资料<? } ?></div> <script type="text/javascript">var imagemaxwidth = '<?=IMAGEMAXWIDTH?>';</script> <div id="wrap" class="wrap with_side special s_clear"> <div class="main"> <div id="profilecontent" class="content"> <div class="itemtitle s_clear"> <h1><?=$member['username']?><? if($member['online']) { ?> <img src="<?=IMGDIR?>/online_buddy.gif" title="当前在线" class="online_buddy" /><? } ?></h1> <ul> <li>(UID: <?=$member['uid']?>)</li> </ul> </div> <?=$pluginhooks['profile_baseinfo_top']?> <div id="baseprofile"> <table cellpadding="0" cellpadding="0" class="formtable" style="table-layout:fixed"> <? if($member['allownickname'] && $member['nickname']) { ?> <tr> <th>昵称:</th> <td><?=$member['nickname']?></td> </tr> <? } ?> <tr> <th width="70">性别:</th> <td> <? if($member['gender'] == 1) { ?>男<? } elseif($member['gender'] == 2) { ?>女<? } else { ?>保密<? } ?> </td> </tr> <? if($member['location']) { ?> <tr> <th width="70">来自:</th> <td> <?=$member['location']?> </td> </tr> <? } if($member['bday'] != '00-00') { ?> <tr> <th width="70">生日:</th> <td> <?=$member['bday']?> </td> </tr> <? } if($member['bio']) { ?> <tr> <th>自我介绍:</th> <td style="word-break:all"><?=$member['bio']?></td> </tr> <? } ?> </table> <table cellpadding="0" cellpadding="0" class="formtable"> <? if($member['site']) { ?> <tr> <th>个人网站:</th> <td><a href="<?=$member['site']?>" target="_blank"><?=$member['site']?></a></td> </tr> <? } if($member['showemail'] && $adminid > 0) { ?> <tr> <th>Email:</th> <td><?=$member['email']?></td> </tr> <? } if($member['qq']) { ?> <tr> <th>QQ:</th> <td><a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=<?=$member['qq']?>&amp;Site=<?=$bbname?>&amp;Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:<?=$member['qq']?>:4" border="0" alt="QQ" /><?=$member['qq']?></a></td> </tr> <? } if($member['icq']) { ?> <tr> <th>ICQ:</th> <td><?=$member['icq']?></td> </tr> <? } if($member['yahoo']) { ?> <tr> <th>Yahoo:</th> <td><?=$member['yahoo']?></td> </tr> <? } if($member['msn']) { ?> <tr> <th>MSN:</th> <td><? if($member['msn']['1']) { ?><a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=<?=$member['msn']['1']?>@apps.messenger.live.com&amp;mkt=zh-cn" title="MSN 聊天"><img style="vertical-align:middle" src="http://messenger.services.live.com/users/<?=$member['msn']['1']?>@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" /><em id="imme_status_<?=$member['msn']['1']?>">MSN 聊天</em></a><script src="http://messenger.services.live.com/users/<?=$member['msn']['1']?>@apps.messenger.live.com/presence/?cb=showimmestatus" type="text/javascript"></script><? } if($member['msn']['0']) { ?> <?=$member['msn']['0']?><? } ?></td> </tr> <? } if($member['taobao']) { ?> <tr> <th>阿里旺旺:</th> <td><script type="text/javascript">document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&amp;uid='+encodeURIComponent('<?=$member['taobaoas']?>')+'&amp;s=2"><img src="http://amos1.taobao.com/online.ww?v=2&amp;uid='+encodeURIComponent('<?=$member['taobaoas']?>')+'&amp;s=1" alt="阿里旺旺" border="0" /></a>&nbsp;');</script></td> </tr> <? } if($member['alipay']) { ?> <tr> <th>支付宝账号:</th> <td><?=$member['alipay']?></td> </tr> <? } if(is_array($_DCACHE['fields'])) { foreach($_DCACHE['fields'] as $field) { ?><tr> <th><?=$field['title']?>:</th> <td> <? if($field['selective']) { ?> <?=$field['choices'][$member['field_'.$field['fieldid']]]?> <? } else { ?> <?=$member['field_'.$field['fieldid']]?> <? } ?> &nbsp; </td> </tr><? } } ?></table> </div> <?=$pluginhooks['profile_baseinfo_bottom']?> <hr class="dashline" /> <h3 class="blocktitle lightlink">用户组: <a href="faq.php?action=grouppermission&amp;searchgroupid=<?=$member['groupid']?>" target="_blank"><?=$member['grouptitle']?></a> <? showstars($member['groupstars']); ?> <? if($member['maingroupexpiry']) { ?><em>有效期至 <?=$member['maingroupexpiry']?></em><? } ?></h3> <? if($extgrouplist) { ?> <p>扩展用户组:<? if(is_array($extgrouplist)) { foreach($extgrouplist as $extgroup) { ?><?=$extgroup['title']?><? if($extgroup['expiry']) { ?>&nbsp;(有效期至 <?=$extgroup['expiry']?>)<? } } } ?></p> <? } if($modforums) { ?><p>管理以下版块: <?=$modforums?></p><? } ?> <div class="s_clear"> <ul class="commonlist right" style="width: 50%"> <li>注册日期: <?=$member['regdate']?></li> <li>上次访问: <? if($member['invisible'] && $adminid != 1) { ?>隐身<? } else { ?><?=$member['lastvisit']?><? } ?></li> <li>最后发表: <?=$member['lastpost']?></li> <? if($discuz_uid == $member['uid'] || $allowviewip) { ?> <li>注册 IP: <?=$member['regip']?> - <?=$member['regiplocation']?></li> <li>上次访问 IP: <?=$member['lastip']?> - <?=$member['lastiplocation']?></li> <? } ?> </ul> <ul class="commonlist"> <li>发帖数级别: <?=$member['ranktitle']?> <? showstars($member['rankstars']); ?></li> <li>阅读权限: <?=$member['readaccess']?></li> <li>帖子: <?=$member['posts']?> 篇(占全部帖子的 <?=$percent?>%)</li> <li>平均每日发帖: <?=$postperday?> 篇</li> <li>精华: <?=$member['digestposts']?> 篇</li> <? if($pvfrequence) { ?><li>页面访问量: <?=$member['pageviews']?></li><? } ?> </ul> </div> <? if($oltimespan) { ?><p>在线时间: 总计在线 <em><?=$member['totalol']?></em> 小时, 本月在线 <em><?=$member['thismonthol']?></em> 小时 <? showstars(ceil(($member['totalol'] + 1) / 50)); ?> (升级剩余时间 <span class="bold"><?=$member['olupgrade']?></span> 小时)</p><? } ?> <hr class="dashline" /> <? if($member['medals']) { ?> <h3 class="blocktitle lightlink">勋章</h3><? if(is_array($member['medals'])) { foreach($member['medals'] as $medal) { ?><img src="images/common/<?=$medal['image']?>" border="0" alt="<?=$medal['name']?>" title="<?=$medal['name']?>" /> &nbsp;<? } } ?><hr class="dashline" /> <? } ?> <h3 class="blocktitle lightlink">积分: <?=$member['credits']?></h3> <p><? $sp = ''; if(is_array($extcredits)) { foreach($extcredits as $id => $credit) { ?><?=$sp?><?=$credit['img']?><?=$credit['title']?>: <?=$member['extcredits'.$id]?> <?=$credit['unit']?><? $sp = ',&nbsp;'; } } ?></p> <? if($tradeopen) { ?> <hr class="dashline" /> <h3 class="blocktitle lightlink">信用评价 <a href="eccredit.php?uid=<?=$member['uid']?>" style="font-size: 12px; color: #09C;">(查看详细的信用记录)</a></h3> <p> 买家信用评价: <?=$member['sellercredit']?> <a href="eccredit.php?uid=<?=$member['uid']?>" target="_blank"><img src="images/rank/seller/<?=$member['sellerrank']?>.gif" border="0" class="absmiddle"></a> 卖家信用评价: <?=$member['buyercredit']?> <a href="eccredit.php?uid=<?=$member['uid']?>" target="_blank"><img src="images/rank/buyer/<?=$member['buyerrank']?>.gif" border="0" class="absmiddle"></a> </p> <? } ?> <?=$pluginhooks['profile_extrainfo']?> <? if($my_status) { ?> <style> .mynarrow { margin: 5px -10px 5px 10px; padding-top: 8px; width: 200px; border-top: 1px dashed #ccc; } .mynarrow h3.lightlink a { text-decoration: none; } .with_side .side { width: 220px; } .with_side .main { margin-left:-220px; } .with_side .content { margin-left:220px; } </style><? if(is_array($my_list['wide'])) { foreach($my_list['wide'] as $value) { ?><hr class="dashline" /> <h3 class="blocktitle lightlink"><a href="<?=$value['appurl']?>&from=space"><?=$value['appname']?></a></h3> <p><? eval($value['myml']); ?></p><? } } } ?> </div> </div> <div class="side"> <div class="profile_side"> <? if($bannedmessages & 2 && ($member['groupid'] == 4 || $member['groupid'] == 5)) { ?> <div class="avatar">头像被屏蔽</div> <? } else { ?> <div class="avatar"><? echo discuz_uc_avatar($member['uid']); ?></div> <? } ?> <ul id="profile_act"> <?=$pluginhooks['profile_side_top']?> <li class="pm"><a href="pm.php?action=new&amp;uid=<?=$member['uid']?>" id="sendpm" prompt="sendpm" onclick="showWindow('sendpm', this.href);return false;">发短消息</a></li> <li class="buddy"><a href="my.php?item=buddylist&amp;newbuddyid=<?=$member['uid']?>&amp;buddysubmit=yes" id="addbuddy" prompt="addbuddy" onclick="ajaxmenu(this, 3000);doane(event);">加为好友</a></li> <? if($discuz_uid && $magicstatus) { ?><li class="magic"><a href="magic.php?action=index&amp;username=<?=$member['usernameenc']?>" target="_blank">使用道具</a></li><? } if($allowviewuserthread) { ?> <li class="searchthread"><a href="my.php?item=threads&amp;uid=<?=$member['uid']?>">查看主题</a></li> <li class="searchpost"><a href="my.php?item=posts&amp;uid=<?=$member['uid']?>">查看回复</a></li> <? } else { ?> <li class="searchpost"><a href="search.php?srchuid=<?=$member['uid']?>&amp;srchfid=all&amp;srchfrom=0&amp;searchsubmit=yes">搜索帖子</a></li> <? } if($ucappopen['UCHOME']) { ?> <li class="space"><a href="<?=$uchomeurl?>/space.php?uid=<?=$member['uid']?>" target="_blank">个人空间</a></li> <? } elseif($ucappopen['XSPACE']) { ?> <li class="space"><a href="<?=$xspaceurl?>/?uid-<?=$member['uid']?>" target="_blank">个人空间</a></li> <? } ?> </ul> <? if($discuz_uid && $magicstatus && $usemagic['user']) { ?> <ul><? if(is_array($usemagic['user'])) { foreach($usemagic['user'] as $id => $magic) { ?><a href="magic.php?action=mybox&amp;operation=use&amp;type=1&amp;pid=<?=$post['pid']?>&amp;magicid=<?=$id?>" onclick="showWindow('magics', this.href);doane(event);"><img src="images/magics/<?=$magic['pic']?>" title="对<?=$post['author']?>使用<?=$magic['name']?>"></a><? } } ?></ul> <? } if($allowbanuser || $allowedituser || $member['adminid'] > 0 && $modworkstatus) { ?> <ul> <? if($member['adminid'] > 0 && $modworkstatus) { ?><li><a href="stats.php?type=modworks&amp;uid=<?=$member['uid']?>"><span>工作统计</span></a></li><? } if($allowbanuser || $allowedituser) { ?> <li>管理此人</li> <li> <? if($allowbanuser) { ?><a href="<? if($adminid==1) { ?>admincp.php?action=members&operation=ban&username=<?=$member['usernameenc']?>&frames=yes<? } else { ?>modcp.php?action=members&amp;op=ban&amp;uid=<?=$member['uid']?><? } ?>" target="_blank"><span>禁止</span></a>&nbsp;<? } if($allowedituser) { ?><a href="<? if($adminid == 1) { ?>admincp.php?action=members&amp;username=<?=$member['usernameenc']?>&amp;submit=yes&frames=yes<? } else { ?>modcp.php?action=members&amp;op=edit&amp;uid=<?=$member['uid']?><? } ?>" target="_blank"><span>编辑</span></a>&nbsp;<? } ?> <a href="modcp.php?action=threads&amp;op=posts&amp;do=search&amp;searchsubmit=1&amp;users=<?=$member['usernameenc']?>" target="_blank">帖子</a> </li> <? } ?> </ul> <? } if($my_status) { if($my_list['guide']) { ?> <ul><? if(is_array($my_list['guide'])) { foreach($my_list['guide'] as $value) { ?><li style="background-image: url(http://appicon.manyou.com/icons/<?=$value['appid']?>)"><? eval($value['profilelink']); ?></li><? } } ?></ul> <? } if(is_array($my_list['narrow'])) { foreach($my_list['narrow'] as $value) { ?><div class="mynarrow"> <h3 class="blocktitle lightlink"><a href="<?=$value['appurl']?>&from=space"><?=$value['appname']?></a></h3><? eval($value['myml']); ?></div><? } } } ?> </div> <?=$pluginhooks['profile_side_bottom']?> </div> </div><? if(!empty($plugins['jsmenu'])) { ?> <ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?> <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?> <li><?=$module['url']?></li> <? } } } ?></ul> <? } if(is_array($subnavs)) { foreach($subnavs as $subnav) { ?><?=$subnav?><? } } if($prompts['newbietask'] && $newbietasks) { include template('task_newbie_js', '0', ''); } if($admode && !empty($advlist)) { ?> <div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><? if($advlist['footerbanner2']) { ?><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><? } if($advlist['footerbanner3']) { ?><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div><? } } else { ?> <div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div> <? } ?> <?=$pluginhooks['global_footer']?> <div id="footer"> <div class="wrap s_clear"> <div id="footlink"> <p> <strong><a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a></strong> <? if($icp) { ?>( <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a>)<? } ?> <span class="pipe">|</span><a href="mailto:<?=$adminemail?>">联系我们</a> <? if($allowviewstats) { ?><span class="pipe">|</span><a href="stats.php">论坛统计</a><? } if($archiverstatus) { ?><span class="pipe">|</span><a href="archiver/" target="_blank">Archiver</a><? } if($wapstatus) { ?><span class="pipe">|</span><a href="wap/" target="_blank">WAP</a><? } if($statcode) { ?><span class="pipe">| <?=$statcode?></span><? } ?> <?=$pluginhooks['global_footerlink']?> </p> <p class="smalltext"> GMT<?=$timenow['offset']?>, <?=$timenow['time']?> <? if(debuginfo()) { ?>, <span id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?></span><? } ?>. </p> </div> <div id="rightinfo"> <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p> <p class="smalltext">&copy; 2001-2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p> </div><? updatesession(); ?></div> </div> <? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?> <script src="<?=$jspath?>iframe.js?<?=VERHASH?>" type="text/javascript"></script> <? } output(); ?></body> </html>
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_viewpro_classic.tpl.php
PHP
asf20
22,572
<?PHP exit;?> 1271294269 administrator adm***or 123.113.156.227 <?PHP exit;?> 1271294477 admin adm***or 123.113.156.227 <?PHP exit;?> 1271294504 administrator adm***or 123.113.156.227
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/logs/201004_illegallog.php
PHP
asf20
187
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: stats.php 18819 2009-07-23 10:38:43Z liuqiang $ */ define('CURSCRIPT', 'stats'); define('NOROBOT', TRUE); require_once './include/common.inc.php'; $discuz_action = 131; $statscachelife = $statscachelife * 60; if(!$allowviewstats) { showmessage('group_nopermission', NULL, 'NOPERM'); } $navstyle = array(); if(empty($type)) { $navstyle = array('home' => 'class="current"'); $stattype = $statstatus ? "'total', 'month', 'hour'" : ''; } else { $navstyle = array($type => 'class="current"'); $stattype = $type == 'agent' ? "'os', 'browser'" : ($type == 'views' ? "'week', 'hour'" : ''); } $stats_total = array(); if($stattype) { $query = $db->query("SELECT * FROM {$tablepre}stats WHERE type IN ($stattype) ORDER BY type"); while($stats = $db->fetch_array($query)) { switch($stats['type']) { case 'total': $stats_total[$stats['variable']] = $stats['count']; break; case 'os': $stats_os[$stats['variable']] = $stats['count']; if($stats['count'] > $maxos) { $maxos = $stats['count']; } break; case 'browser': $stats_browser[$stats['variable']] = $stats['count']; if($stats['count'] > $maxbrowser) { $maxbrowser = $stats['count']; } break; case 'month': $stats_month[$stats['variable']] = $stats['count']; if($stats['count'] > $maxmonth) { $maxmonth = $stats['count']; $maxmonth_year = intval($stats['variable'] / 100); $maxmonth_month = $stats['variable'] - $maxmonth_year * 100; } ksort($stats_month); break; case 'week': $stats_week[$stats['variable']] = $stats['count']; if($stats['count'] > $maxweek) { $maxweek = $stats['count']; $maxweek_day = $stats['variable']; } ksort($stats_week); break; case 'hour': $stats_hour[$stats['variable']] = $stats['count']; if($stats['count'] > $maxhour) { $maxhour = $stats['count']; $maxhourfrom = $stats['variable']; $maxhourto = $maxhourfrom + 1; } ksort($stats_hour); break; } } } $newstatvars = array(); if((empty($type) && empty($statstatus)) || (isset($type) && $type == 'posts')) { $maxmonthposts = $maxdayposts = 0; $stats_monthposts = $stats_dayposts = array(); $stats_dayposts['starttime'] = gmdate('Ymd', $timestamp - 86400 * 30); $db->query("DELETE FROM {$tablepre}statvars WHERE type='dayposts' AND variable<'$stats_dayposts[starttime]'"); $query = $db->query("SELECT * FROM {$tablepre}statvars WHERE type='monthposts' OR type='dayposts' ORDER BY variable"); while($variable = $db->fetch_array($query)) { $variable['type'] == 'monthposts' ? $stats_monthposts[$variable['variable']] = $variable['value'] : $stats_dayposts[$variable['variable']] = $variable['value']; } if(!isset($stats_monthposts['starttime'])) { $starttime = $db->result_first("SELECT MIN(dateline) FROM {$tablepre}posts"); $stats_monthposts['starttime'] = gmdate('Y-m-01', ($starttime ? $starttime : $timestamp)); $newstatvars[] = "'monthposts', 'starttime', '$stats_monthposts[starttime]'"; } for($dateline = strtotime($stats_monthposts['starttime']); $dateline < strtotime(gmdate('Y-m-01', $timestamp + $_DCACHE['settings']['timeoffset'] * 3600)); $dateline += gmdate('t', $dateline + 86400 * 15) * 86400) { $month = gmdate('Ym', $dateline + $_DCACHE['settings']['timeoffset'] * 3600); if(!isset($stats_monthposts[$month])) { $stats_monthposts[$month] = $db->result_first("SELECT COUNT(*) FROM {$tablepre}posts WHERE dateline BETWEEN $dateline AND $dateline+2592000 AND invisible='0'"); $newstatvars[] = "'monthposts', '$month', '$stats_monthposts[$month]'"; } if($stats_monthposts[$month] > $maxmonthposts) { $maxmonthposts = $stats_monthposts[$month]; } } for($dateline = strtotime($stats_dayposts['starttime']); $dateline < strtotime(gmdate('Y-m-d', $timestamp + $_DCACHE['settings']['timeoffset'] * 3600)); $dateline += 86400) { $day = gmdate('Ymd', $dateline + $_DCACHE['settings']['timeoffset'] * 3600); if(!isset($stats_dayposts[$day])) { $stats_dayposts[$day] = $db->result_first("SELECT COUNT(*) FROM {$tablepre}posts WHERE dateline BETWEEN $dateline AND $dateline+86400 AND invisible='0'"); $newstatvars[] = "'dayposts', '$day', '$stats_dayposts[$day]'"; } if($stats_dayposts[$day] > $maxdayposts) { $maxdayposts = $stats_dayposts[$day]; } } unset($stats_monthposts['starttime'], $stats_dayposts['starttime']); ksort($stats_dayposts); ksort($stats_monthposts); } if(empty($type)) { $newdatasql = ''; $statvars = array(); $query = $db->query("SELECT * FROM {$tablepre}statvars WHERE type='main'"); while($variable = $db->fetch_array($query)) { $statvars[$variable['variable']] = $variable['value']; } if($timestamp - $statvars['lastupdate'] > $statscachelife) { $statvars = array('lastupdate' => $timestamp); $newstatvars[] = "'main', 'lastupdate', '$timestamp'"; } if(isset($statvars['forums'])) { $forums = $statvars['forums']; } else { $forums = $db->result_first("SELECT COUNT(*) FROM {$tablepre}forums WHERE type IN ('forum', 'sub') AND status='1'"); $newstatvars[] = "'main', 'forums', '$forums'"; } if(isset($statvars['threads'])) { $threads = $statvars['threads']; } else { $threads = $db->result_first("SELECT COUNT(*) FROM {$tablepre}threads WHERE displayorder>='0'"); $newstatvars[] = "'main', 'threads', '$threads'"; } if(isset($statvars['posts']) && isset($statvars['runtime'])) { $posts = $statvars['posts']; $runtime = $statvars['runtime']; } else { $query = $db->query("SELECT COUNT(*), (MAX(dateline)-MIN(dateline))/86400 FROM {$tablepre}posts"); list($posts, $runtime) = $db->fetch_row($query); $newstatvars[] = "'main', 'posts', '$posts'"; $newstatvars[] = "'main', 'runtime', '$runtime'"; } if(isset($statvars['members'])) { $members = $statvars['members']; } else { $members = $db->result_first("SELECT COUNT(*) FROM {$tablepre}members"); $newstatvars[] = "'main', 'members', '$members'"; } if(isset($statvars['postsaddtoday'])) { $postsaddtoday = $statvars['postsaddtoday']; } else { $postsaddtoday = $db->result_first("SELECT COUNT(*) FROM {$tablepre}posts WHERE dateline>='".($timestamp - 86400)."' AND invisible='0'"); $newstatvars[] = "'main', 'postsaddtoday', '$postsaddtoday'"; } if(isset($statvars['membersaddtoday'])) { $membersaddtoday = $statvars['membersaddtoday']; } else { $membersaddtoday = $db->result_first("SELECT COUNT(*) FROM {$tablepre}members WHERE regdate>='".($timestamp - 86400)."'"); $newstatvars[] = "'main', 'membersaddtoday', '$membersaddtoday'"; } if(isset($statvars['admins'])) { $admins = $statvars['admins']; } else { $admins = $db->result_first("SELECT COUNT(*) FROM {$tablepre}members WHERE adminid>'0'"); $newstatvars[] = "'main', 'admins', '$admins'"; } if(isset($statvars['memnonpost'])) { $memnonpost = $statvars['memnonpost']; } else { $memnonpost = $db->result_first("SELECT COUNT(*) FROM {$tablepre}members WHERE posts='0'"); $newstatvars[] = "'main', 'memnonpost', '$memnonpost'"; } if(isset($statvars['hotforum'])) { $hotforum = unserialize($statvars['hotforum']); } else { $hotforum = $db->fetch_first("SELECT posts, threads, fid, name FROM {$tablepre}forums WHERE status='1' ORDER BY posts DESC LIMIT 1"); $newstatvars[] = "'main', 'hotforum', '".addslashes(serialize($hotforum))."'"; } if(isset($statvars['bestmem']) && isset($statvars['bestmemposts'])) { $bestmem = $statvars['bestmem']; $bestmemposts = $statvars['bestmemposts']; } else { $query = $db->query("SELECT author, COUNT(*) AS posts FROM {$tablepre}posts WHERE dateline>='$timestamp'-86400 AND invisible='0' AND authorid>'0' GROUP BY author ORDER BY posts DESC LIMIT 1"); list($bestmem, $bestmemposts) = $db->fetch_row($query); if($bestmem) { $bestmem = '<a href="space.php?username='.rawurlencode($bestmem).'">'.addslashes($bestmem).'</a>'; } else { $bestmem = 'None'; $bestmemposts = 0; } $newstatvars[] = "'main', 'bestmem', '$bestmem'"; $newstatvars[] = "'main', 'bestmemposts', '$bestmemposts'"; } $mempost = $members - $memnonpost; @$mempostavg = sprintf ("%01.2f", $posts / $members); @$threadreplyavg = sprintf ("%01.2f", ($posts - $threads) / $threads); @$mempostpercent = sprintf ("%01.2f", 100 * $mempost / $members); @$postsaddavg = round($posts / $runtime); @$membersaddavg = round($members / $runtime); @$stats_total['visitors'] = $stats_total['members'] + $stats_total['guests']; @$pageviewavg = sprintf ("%01.2f", $stats_total['hits'] / $stats_total['visitors']); @$activeindex = round(($membersaddavg / $members + $postsaddavg / $posts) * 1500 + $threadreplyavg * 10 + $mempostavg * 1 + $mempostpercent / 10 + $pageviewavg); if($statstatus) { $statsbar_month = statsdata('month', $maxmonth, 'ksort'); } else { $statsbar_monthposts = statsdata('monthposts', $maxmonthposts); $statsbar_dayposts = statsdata('dayposts', $maxdayposts); } $lastupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $timeoffset * 3600); $nextupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $statscachelife + $timeoffset * 3600); updatenewstatvars(); include template('stats_main'); } elseif($type == 'posts' || ($statstatus && in_array($type, array('views', 'agent')))) { switch($type) { case 'views': $statsbar_week = statsdata('week', $maxweek); $statsbar_hour = statsdata('hour', $maxhour); break; case 'agent': $statsbar_browser = statsdata('browser', $maxbrowser, 'arsort'); $statsbar_os = statsdata('os', $maxos, 'arsort'); break; case 'posts': $statsbar_monthposts = statsdata('monthposts', $maxmonthposts); $statsbar_dayposts = statsdata('dayposts', $maxdayposts); break; } updatenewstatvars(); include template('stats_misc'); } elseif($type == 'threadsrank') { $threadsrank = ''; $threadview = $threadreply = array(); $query = $db->query("SELECT views, tid, subject FROM {$tablepre}threads WHERE displayorder>='0' ORDER BY views DESC LIMIT 0, 20"); while($thread = $db->fetch_array($query)) { $thread['subject'] = cutstr($thread['subject'], 45); $threadview[] = $thread; } $query = $db->query("SELECT replies, tid, subject FROM {$tablepre}threads WHERE displayorder>='0' ORDER BY replies DESC LIMIT 0, 20"); while($thread = $db->fetch_array($query)) { $thread['subject'] = cutstr($thread['subject'], 50); $threadreply[] = $thread; } for($i = 0; $i < 20; $i++) { $bgclass = $i % 2 ? ' class="colplural"' : ''; $threadsrank .= "<tr".$bgclass."><td class=\"stat_subject\"><a href=\"viewthread.php?tid={$threadview[$i]['tid']}\">{$threadview[$i]['subject']}</a>&nbsp;</td><td class=\"stat_num\">{$threadview[$i]['views']}</td>\n". "<td class=\"stat_subject\"><a href=\"viewthread.php?tid={$threadreply[$i]['tid']}\">{$threadreply[$i]['subject']}</a><td class=\"stat_num\">{$threadreply[$i]['replies']}</td></tr>\n"; } updatenewstatvars(); include template('stats_misc'); } elseif($type == 'forumsrank') { $forumsrank = array(); $statvars = array(); $query = $db->query("SELECT * FROM {$tablepre}statvars WHERE type='forumsrank'"); while($variable = $db->fetch_array($query)) { $statvars[$variable['variable']] = $variable['value']; } if($timestamp - $statvars['lastupdate'] > $statscachelife) { $statvars = array('lastupdate' => $timestamp); $newstatvars[] = "'forumsrank', 'lastupdate', '$timestamp'"; } $threads = $posts = $thismonth = $today = array(); if(isset($statvars['threads'])) { $threads = unserialize($statvars['threads']); } else { $statvars['forums'] = 0; $query = $db->query("SELECT fid, name, threads FROM {$tablepre}forums WHERE status='1' AND type<>'group' ORDER BY threads DESC LIMIT 0, 20"); while($forum = $db->fetch_array($query)) { $statvars['forums']++; $threads[] = $forum; } $newstatvars[] = "'forumsrank', 'threads', '".addslashes(serialize($threads))."'"; $newstatvars[] = "'forumsrank', 'forums', '$statvars[forums]'"; } $statvars['forums'] = $statvars['forums'] ? $statvars['forums'] : 20; if(isset($statvars['posts'])) { $posts = unserialize($statvars['posts']); } else { $query = $db->query("SELECT fid, name, posts FROM {$tablepre}forums WHERE status='1' AND type<>'group' ORDER BY posts DESC LIMIT 0, $statvars[forums]"); while($forum = $db->fetch_array($query)) { $posts[] = $forum; } $newstatvars[] = "'forumsrank', 'posts', '".addslashes(serialize($posts))."'"; } if(isset($statvars['thismonth'])) { $thismonth = unserialize($statvars['thismonth']); } else { $query = $db->query("SELECT DISTINCT(p.fid) AS fid, f.name, COUNT(pid) AS posts FROM {$tablepre}posts p LEFT JOIN {$tablepre}forums f USING (fid) WHERE dateline>='$timestamp'-86400*30 AND invisible='0' AND authorid>'0' GROUP BY p.fid ORDER BY posts DESC LIMIT 0, $statvars[forums]"); while($forum = $db->fetch_array($query)) { $thismonth[] = $forum; } $newstatvars[] = "'forumsrank', 'thismonth', '".addslashes(serialize($thismonth))."'"; } if(isset($statvars['today'])) { $today = unserialize($statvars['today']); } else { $query = $db->query("SELECT DISTINCT(p.fid) AS fid, f.name, COUNT(pid) AS posts FROM {$tablepre}posts p LEFT JOIN {$tablepre}forums f USING (fid) WHERE dateline>='$timestamp'-86400 AND invisible='0' AND authorid>'0' GROUP BY p.fid ORDER BY posts DESC LIMIT 0, $statvars[forums]"); while($forum = $db->fetch_array($query)) { $today[] = $forum; } $newstatvars[] = "'forumsrank', 'today', '".addslashes(serialize($today))."'"; } for($i = 0; $i < $statvars['forums']; $i++) { $bgclass = $i % 2 ? ' class="colplural"' : ''; @$forumsrank[0] .= $threads[$i]['name'] || $posts[$i]['name'] ? "<tr".$bgclass."><td class=\"stat_subject\"><a href=\"forumdisplay.php?fid={$threads[$i]['fid']}\" target=\"_blank\">{$threads[$i]['name']}</a></td><td class=\"stat_num\">{$threads[$i]['threads']}</td>\n". "<td class=\"stat_subject\"><a href=\"forumdisplay.php?fid={$posts[$i]['fid']}\" target=\"_blank\">{$posts[$i]['name']}</a></td><td class=\"stat_num\">{$posts[$i]['posts']}</td>\n" : ''; @$forumsrank[1] .= $thismonth[$i]['name'] || $today[$i]['name'] ? "<tr".$bgclass."><td class=\"stat_subject\"><a href=\"forumdisplay.php?fid={$thismonth[$i]['fid']}\" target=\"_blank\">{$thismonth[$i]['name']}</a></td><td class=\"stat_num\">{$thismonth[$i]['posts']}</td>\n". "<td class=\"stat_subject\"><a href=\"forumdisplay.php?fid={$today[$i]['fid']}\" target=\"_blank\">{$today[$i]['name']}</a></td><td class=\"stat_num\">{$today[$i]['posts']}</td></tr>\n" : ''; } $lastupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $timeoffset * 3600); $nextupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $statscachelife + $timeoffset * 3600); updatenewstatvars(); include template('stats_misc'); } elseif($type == 'postsrank') { $postsrank = ''; $statvars = array(); $query = $db->query("SELECT * FROM {$tablepre}statvars WHERE type='postsrank'"); while($variable = $db->fetch_array($query)) { $statvars[$variable['variable']] = $variable['value']; } if($timestamp - $statvars['lastupdate'] > $statscachelife) { $statvars = array('lastupdate' => $timestamp); $newstatvars[] = "'postsrank', 'lastupdate', '$timestamp'"; } $posts = $digestposts = $thismonth = $today = array(); if(isset($statvars['posts'])) { $posts = unserialize($statvars['posts']); } else { $query = $db->query("SELECT username, uid, posts FROM {$tablepre}members ORDER BY posts DESC LIMIT 0, 20"); while($member = $db->fetch_array($query)) { $posts[] = $member; } $newstatvars[] = "'postsrank', 'posts', '".addslashes(serialize($posts))."'"; } if(isset($statvars['digestposts'])) { $digestposts = unserialize($statvars['digestposts']); } else { $query = $db->query("SELECT username, uid, digestposts FROM {$tablepre}members ORDER BY digestposts DESC LIMIT 0, 20"); while($member = $db->fetch_array($query)) { $digestposts[] = $member; } $newstatvars[] = "'postsrank', 'digestposts', '".addslashes(serialize($digestposts))."'"; } if(isset($statvars['thismonth'])) { $thismonth = unserialize($statvars['thismonth']); } else { $query = $db->query("SELECT DISTINCT(author) AS username, COUNT(pid) AS posts FROM {$tablepre}posts WHERE dateline>='$timestamp'-86400*30 AND invisible='0' AND authorid>'0' GROUP BY author ORDER BY posts DESC LIMIT 0, 20"); while($member = $db->fetch_array($query)) { $thismonth[] = $member; } $newstatvars[] = "'postsrank', 'thismonth', '".addslashes(serialize($thismonth))."'"; } if(isset($statvars['today'])) { $today = unserialize($statvars['today']); } else { $query = $db->query("SELECT DISTINCT(author) AS username, COUNT(pid) AS posts FROM {$tablepre}posts WHERE dateline >='$timestamp'-86400 AND invisible='0' AND authorid>'0' GROUP BY author ORDER BY posts DESC LIMIT 0, 20"); while($member = $db->fetch_array($query)) { $today[] = $member; } $newstatvars[] = "'postsrank', 'today', '".addslashes(serialize($today))."'"; } for($i = 0; $i < 20; $i++) { $bgclass = $i % 2 ? ' class="colplural"' : ''; @$postsrank .= "<tr".$bgclass."><td class=\"stat_subject\"><a href=\"space.php?username=".rawurlencode($posts[$i]['username'])."\" target=\"_blank\">{$posts[$i]['username']}</a>&nbsp;</td><td class=\"stat_num\">{$posts[$i]['posts']}</td>\n". "<td class=\"stat_subject\"><a href=\"space.php?username=".rawurlencode($digestposts[$i]['username'])."\" target=\"_blank\">{$digestposts[$i]['username']}</a></td><td class=\"stat_num\">{$digestposts[$i]['digestposts']}</td>\n". "<td class=\"stat_subject\"><a href=\"space.php?username=".rawurlencode($thismonth[$i]['username'])."\" target=\"_blank\">{$thismonth[$i]['username']}</a></td><td class=\"stat_num\">{$thismonth[$i]['posts']}</td>\n". "<td class=\"stat_subject\"><a href=\"space.php?username=".rawurlencode($today[$i]['username'])."\" target=\"_blank\">{$today[$i]['username']}</a></td><td class=\"stat_num\">{$today[$i]['posts']}</td></tr>\n"; } $lastupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $timeoffset * 3600); $nextupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $statscachelife + $timeoffset * 3600); updatenewstatvars(); include template('stats_misc'); } elseif($type == 'creditsrank') { $creditsrank = ''; $statvars = array(); $query = $db->query("SELECT * FROM {$tablepre}statvars WHERE type='creditsrank'"); while($variable = $db->fetch_array($query)) { $statvars[$variable['variable']] = $variable['value']; } if($timestamp - $statvars['lastupdate'] > $statscachelife) { $statvars = array('lastupdate' => $timestamp); $newstatvars[] = "'creditsrank', 'lastupdate', '$timestamp'"; } //ATTENTION: initialize the arrays first! $credits = $extendedcredits = array(); if(isset($statvars['credits'])) { $credits = unserialize($statvars['credits']); } else { $query = $db->query("SELECT username, uid, credits FROM {$tablepre}members ORDER BY credits DESC LIMIT 0, 20"); while($member = $db->fetch_array($query)) { $credits[] = $member; } $newstatvars[] = "'creditsrank', 'credits', '".addslashes(serialize($credits))."'"; } if(isset($statvars['extendedcredits'])) { $extendedcredits = unserialize($statvars['extendedcredits']); } else { foreach($extcredits as $id => $credit) { $query = $db->query("SELECT username, uid, extcredits$id AS credits FROM {$tablepre}members ORDER BY extcredits$id DESC LIMIT 0, 20"); while($member = $db->fetch_array($query)) { $extendedcredits[$id][] = $member; } } $newstatvars[] = "'creditsrank', 'extendedcredits', '".addslashes(serialize($extendedcredits))."'"; } if(is_array($extendedcredits)) { $extcreditfirst = 0;$extcreditkeys = $creditsrank = array(); foreach($extendedcredits as $key => $extendedcredit) { $max = $extendedcredit[0]['credits']; !$extcreditfirst && $extcreditfirst = $key; $extcreditkeys[] = $key; foreach($extendedcredit as $i => $members) { @$width = intval(370 * $members['credits'] / $max); $width += 2; $creditsrank[$key] .= "<tr><td width=\"100\"><a href=\"space.php?uid=$members[uid]\" target=\"_blank\">$members[username]</a></strong></td>\n". "<td><div class=\"optionbar\"><div style=\"width: {$width}px\">&nbsp;</div></div>&nbsp; <strong>$members[credits]</strong></td></tr>\n"; } } $extcredit = empty($extcredit) || !in_array($extcredit, $extcreditkeys) ? $extcreditfirst : intval($extcredit); } $lastupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $timeoffset * 3600); $nextupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $statscachelife + $timeoffset * 3600); updatenewstatvars(); include template('stats_misc'); } elseif($type == 'onlinetime' && $oltimespan) { $onlines = ''; $statvars = array(); $query = $db->query("SELECT * FROM {$tablepre}statvars WHERE type='onlines'"); while($variable = $db->fetch_array($query)) { $statvars[$variable['variable']] = $variable['value']; } if($timestamp - $statvars['lastupdate'] > $statscachelife) { $statvars = array('lastupdate' => $timestamp); $newstatvars[] = "'onlines', 'lastupdate', '$timestamp'"; } $total = $thismonth = array(); if(isset($statvars['total'])) { $total = unserialize($statvars['total']); } else { $query = $db->query("SELECT o.uid, m.username, o.total AS time FROM {$tablepre}onlinetime o LEFT JOIN {$tablepre}members m USING (uid) ORDER BY o.total DESC LIMIT 20"); while($online = $db->fetch_array($query)) { $online['time'] = round($online['time'] / 60, 2); $total[] = $online; } $newstatvars[] = "'onlines', 'total', '".addslashes(serialize($total))."'"; } if(isset($statvars['thismonth'])) { $thismonth = unserialize($statvars['thismonth']); } else { $dateline = strtotime(gmdate('Y-n-01', $timestamp)); $query = $db->query("SELECT o.uid, m.username, o.thismonth AS time FROM {$tablepre}onlinetime o, {$tablepre}members m WHERE o.uid=m.uid AND m.lastactivity>='$dateline' ORDER BY o.thismonth DESC LIMIT 20"); while($online = $db->fetch_array($query)) { $online['time'] = round($online['time'] / 60, 2); $thismonth[] = $online; } $newstatvars[] = "'onlines', 'thismonth', '".addslashes(serialize($thismonth))."'"; } for($i = 0; $i < 20; $i++) { $bgclass = $i % 2 ? ' class="colplural"' : ''; @$onlines .= "<tr".$bgclass."><td class=\"stat_subject\"><a href=\"space.php?uid={$total[$i]['uid']}\" target=\"_blank\">{$total[$i]['username']}</a>&nbsp;</td><td class=\"stat_num\">{$total[$i]['time']}</td>\n". "<td class=\"stat_subject\"><a href=\"space.php?uid={$thismonth[$i]['uid']}\" target=\"_blank\">{$thismonth[$i]['username']}</a></td><td class=\"stat_num\">{$thismonth[$i]['time']}</td></tr>\n"; } $lastupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $timeoffset * 3600); $nextupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $statscachelife + $timeoffset * 3600); updatenewstatvars(); include template('stats_onlinetime'); } elseif($type == 'team') { $statvars = array(); $query = $db->query("SELECT * FROM {$tablepre}statvars WHERE type='team'"); while($variable = $db->fetch_array($query)) { $statvars[$variable['variable']] = $variable['value']; } if($timestamp - $statvars['lastupdate'] > $statscachelife) { $statvars = array('lastupdate' => $timestamp); $newstatvars[] = "'team', 'lastupdate', '$timestamp'"; } $team = array(); if(isset($statvars['team'])) { $team = unserialize($statvars['team']); } else { $forums = $moderators = $members = $fuptemp = array(); $categories = array(0 => array('fid' => 0, 'fup' => 0, 'type' => 'group', 'name' => $bbname)); $uids = 0; $query = $db->query("SELECT fid, uid FROM {$tablepre}moderators WHERE inherited='0' ORDER BY displayorder"); while($moderator = $db->fetch_array($query)) { $moderators[$moderator['fid']][] = $moderator['uid']; $uids .= ','.$moderator['uid']; } if($oltimespan) { $oltimeadd1 = ', o.thismonth AS thismonthol, o.total AS totalol'; $oltimeadd2 = "LEFT JOIN {$tablepre}onlinetime o ON o.uid=m.uid"; } else { $oltimeadd1 = $oltimeadd2 = ''; } $totaloffdays = $totalol = $totalthismonthol = 0; $query = $db->query("SELECT m.uid, m.username, m.adminid, m.lastactivity, m.credits, m.posts $oltimeadd1 FROM {$tablepre}members m $oltimeadd2 WHERE m.uid IN ($uids) OR m.adminid IN (1, 2) ORDER BY m.adminid"); $admins = array(); while($member = $db->fetch_array($query)) { if($member['adminid'] == 1 || $member['adminid'] == 2) { $admins[] = $member['uid']; } $member['offdays'] = intval(($timestamp - $member['lastactivity']) / 86400); $totaloffdays += $member['offdays']; if($oltimespan) { $member['totalol'] = round($member['totalol'] / 60, 2); $member['thismonthol'] = gmdate('Yn', $member['lastactivity']) == gmdate('Yn', $timestamp) ? round($member['thismonthol'] / 60, 2) : 0; $totalol += $member['totalol']; $totalthismonthol += $member['thismonthol']; } $members[$member['uid']] = $member; $uids .= ','.$member['uid']; } $totalthismonthposts = 0; $query = $db->query("SELECT authorid, COUNT(*) AS posts FROM {$tablepre}posts WHERE dateline>=$timestamp-86400*30 AND authorid IN ($uids) AND invisible='0' GROUP BY authorid"); while($post = $db->fetch_array($query)) { $members[$post['authorid']]['thismonthposts'] = $post['posts']; $totalthismonthposts += $post['posts']; } $totalmodposts = $totalmodactions = 0; if($modworkstatus) { $starttime = gmdate("Y-m-1", $timestamp + $_DCACHE['settings']['timeoffset'] * 3600); $query = $db->query("SELECT uid, SUM(count) AS actioncount FROM {$tablepre}modworks WHERE dateline>='$starttime' GROUP BY uid"); while($member = $db->fetch_array($query)) { $members[$member['uid']]['modactions'] = $member['actioncount']; $totalmodactions += $member['actioncount']; } } $query = $db->query("SELECT fid, fup, type, name, inheritedmod FROM {$tablepre}forums WHERE status='1' ORDER BY type, displayorder"); while($forum = $db->fetch_array($query)) { $forum['moderators'] = count($moderators[$forum['fid']]); switch($forum['type']) { case 'group': $categories[$forum['fid']] = $forum; $forums[$forum['fid']][$forum['fid']] = $forum; $catfid = $forum['fid']; break; case 'forum': $forums[$forum['fup']][$forum['fid']] = $forum; $fuptemp[$forum['fid']] = $forum['fup']; $catfid = $forum['fup']; break; case 'sub': $forums[$fuptemp[$forum['fup']]][$forum['fid']] = $forum; $catfid = $fuptemp[$forum['fup']]; break; } if(!empty($moderators[$forum['fid']])) { $categories[$catfid]['moderating'] = 1; } } foreach($categories as $fid => $category) { if(empty($category['moderating'])) { unset($categories[$fid]); } } $team = array ( 'categories' => $categories, 'forums' => $forums, 'admins' => $admins, 'moderators' => $moderators, 'members' => $members, 'avgoffdays' => @($totaloffdays / count($members)), 'avgthismonthposts' => @($totalthismonthposts / count($members)), 'avgtotalol' => @($totalol / count($members)), 'avgthismonthol' => @($totalthismonthol / count($members)), 'avgmodactions' => @($totalmodactions / count($members)), ); $newstatvars[] = "'team', 'team', '".addslashes(serialize($team))."'"; } if(is_array($team)) { foreach($team['members'] as $uid => $member) { @$member['thismonthposts'] = intval($member['thismonthposts']); @$team['members'][$uid]['offdays'] = $member['offdays'] > $team['avgoffdays'] ? '<b><i>'.$member['offdays'].'</i></b>' : $member['offdays']; @$team['members'][$uid]['thismonthposts'] = $member['thismonthposts'] < $team['avgthismonthposts'] / 2 ? '<b><i>'.$member['thismonthposts'].'</i></b>' : $member['thismonthposts']; @$team['members'][$uid]['lastactivity'] = gmdate("$dateformat $timeformat", $member['lastactivity'] + $timeoffset * 3600); @$team['members'][$uid]['thismonthol'] = $member['thismonthol'] < $team['avgthismonthol'] / 2 ? '<b><i>'.$member['thismonthol'].'</i></b>' : $member['thismonthol']; @$team['members'][$uid]['totalol'] = $member['totalol'] < $team['avgtotalol'] / 2 ? '<b><i>'.$member['totalol'].'</i></b>' : $member['totalol']; @$team['members'][$uid]['modposts'] = $member['modposts'] < $team['avgmodposts'] / 2 ? '<b><i>'.intval($member['modposts']).'</i></b>' : intval($member['modposts']); @$team['members'][$uid]['modactions'] = $member['modactions'] < $team['avgmodactions'] / 2 ? '<b><i>'.intval($member['modactions']).'</i></b>' : intval($member['modactions']); } } $lastupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $timeoffset * 3600); $nextupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $statscachelife + $timeoffset * 3600); updatenewstatvars(); include template('stats_team'); } elseif($type == 'modworks' && $modworkstatus) { $before = (isset($before) && $before > 0 && $before <= $maxmodworksmonths) ? intval($before) : 0 ; list($now['year'], $now['month'], $now['day']) = explode("-", gmdate("Y-n-j", $timestamp + $_DCACHE['settings']['timeoffset'] * 3600)); for($i = 0; $i <= $maxmodworksmonths; $i++) { $month = date("Y-m", mktime(0, 0, 0, $now['month'] - $i, 1, $now['year'])); if($i != $before) { $monthlinks[$i] = "<a href=\"stats.php?type=$type&amp;before=$i&amp;uid=$uid\">$month</a>"; } else { $thismonth = $month; $starttime = $month.'-01'; $endtime = date("Y-m-01", mktime(0, 0, 0, $now['month'] - $i + 1 , 1, $now['year'])); $daysofmonth = date("t", mktime(0, 0, 0, $now['month'] - $i , 1, $now['year'])); $monthlinks[$i] = "<b>$month</b>"; } } $expiretime = date('Y-m', mktime(0, 0, 0, $now['month'] - $maxmodworksmonths - 1, 1, $now['year'])); $daysofmonth = empty($before) ? $now['day'] : $daysofmonth; $mergeactions = array('OPN' => 'CLS', 'ECL' => 'CLS', 'UEC' => 'CLS', 'EOP' => 'CLS', 'UEO' => 'CLS', 'UDG' => 'DIG', 'EDI' =>'DIG', 'UED' => 'DIG', 'UST' => 'STK', 'EST' => 'STK', 'UES' => 'STK', 'DLP' => 'DEL', 'PRN' => 'DEL', 'UDL' => 'DEL', 'UHL' => 'HLT', 'EHL' => 'HLT', 'UEH' => 'HLT', 'SPL' => 'MRG', 'ABL' => 'EDT', 'RBL' => 'EDT'); if(!empty($uid)) { $member = $db->fetch_first("SELECT username FROM {$tablepre}members WHERE uid='$uid' AND adminid>'0'"); if(!$member) { showmessage('undefined_action'); } $modactions = $totalactions = array(); for($i = 1; $i <= $daysofmonth; $i++) { $modactions[sprintf("$thismonth-%02d", $i)] = array(); } $query = $db->query("SELECT * FROM {$tablepre}modworks WHERE uid='$uid' AND dateline>='{$starttime}' AND dateline<'$endtime'"); while($data = $db->fetch_array($query)) { if(isset($mergeactions[$data['modaction']])) { $data['modaction'] = $mergeactions[$data['modaction']]; } $modactions[$data['dateline']][$data['modaction']]['count'] += $data['count']; $modactions[$data['dateline']][$data['modaction']]['posts'] += $data['posts']; $totalactions[$data['modaction']]['count'] += $data['count']; $totalactions[$data['modaction']]['posts'] += $data['posts']; } } else { $modworksupdated = false; $variable = empty($before) ? 'thismonth' : $starttime; $members = $db->fetch_first("SELECT * FROM {$tablepre}statvars WHERE type='modworks' AND variable='$variable'"); if($members) { $members = unserialize($members['value']); if( !empty($before) || (($timestamp - $members['lastupdate'] < $statscachelife) && $members['thismonth'] == $starttime)) { $modworksupdated = true; } } if($modworksupdated) { if(empty($before)) { unset($members['lastupdate'], $members['thismonth']); } } else { $members = array(); $uids = $totalmodactions = 0; $query = $db->query("SELECT uid, username, adminid FROM {$tablepre}members WHERE adminid IN (1, 2, 3) ORDER BY adminid, uid"); while($member = $db->fetch_array($query)) { $members[$member['uid']] = $member; $uids .= ', '.$member['uid']; } $query = $db->query("SELECT uid, modaction, SUM(count) AS count, SUM(posts) AS posts FROM {$tablepre}modworks WHERE uid IN ($uids) AND dateline>='{$starttime}' AND dateline<'$endtime' GROUP BY uid, modaction"); while($data = $db->fetch_array($query)) { if(isset($mergeactions[$data['modaction']])) { $data['modaction'] = $mergeactions[$data['modaction']]; } $members[$data['uid']]['total'] += $data['count']; $totalmodactioncount += $data['count']; $members[$data['uid']][$data['modaction']]['count'] += $data['count']; $members[$data['uid']][$data['modaction']]['posts'] += $data['posts']; } $avgmodactioncount = @($totalmodactioncount / count($members)); foreach($members as $id => $member) { $members[$id]['totalactions'] = intval($members[$id]['totalactions']); $members[$id]['username'] = ($members[$id]['total'] < $avgmodactioncount / 2) ? ('<b><i>'.$members[$id]['username'].'</i></b>') : ($members[$id]['username']); } if(!empty($before)) { $db->query("DELETE FROM {$tablepre}statvars WHERE type='modworks' AND variable<'$expiretime'", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}modworks WHERE dateline<'{$expiretime}-01'", 'UNBUFFERED'); $newstatvars[] = "'modworks', '$starttime', '".addslashes(serialize($members))."'"; } else { $members['thismonth'] = $starttime; $members['lastupdate'] = $timestamp; $newstatvars[] = "'modworks', 'thismonth', '".addslashes(serialize($members))."'"; unset($members['lastupdate'], $members['thismonth']); } } } include language('modactions'); $bgarray = array(); foreach($modactioncode as $key => $val) { if(isset($mergeactions[$key])) { unset($modactioncode[$key]); } } $tdcols = count($modactioncode) + 1; $tdwidth = floor(90 / ($tdcols - 1)).'%'; updatenewstatvars(); include template('stats_misc'); } elseif($type == 'trade') { $statvars = array(); $query = $db->query("SELECT * FROM {$tablepre}statvars WHERE type='trade'"); while($variable = $db->fetch_array($query)) { $statvars[$variable['variable']] = $variable['value']; } if($timestamp - $statvars['lastupdate'] > $statscachelife) { $statvars = array('lastupdate' => $timestamp); $newstatvars[] = "'trade', 'lastupdate', '$timestamp'"; } if($statvars['tradesum']) { $tradesums = unserialize($statvars['tradesum']); } else { $query = $db->query("SELECT subject, tid, pid, seller, sellerid, sum(tradesum) as tradesum FROM {$tablepre}trades WHERE tradesum>0 GROUP BY sellerid ORDER BY tradesum DESC LIMIT 10"); while($data = $db->fetch_array($query)) { $tradesums[] = $data; } $newstatvars[] = "'trade', 'tradesums', '".addslashes(serialize($tradesums))."'"; } if($statvars['credittradesum']) { $credittradesums = unserialize($statvars['credittradesum']); } else { $query = $db->query("SELECT subject, tid, pid, seller, sellerid, sum(credittradesum) as credittradesum FROM {$tablepre}trades WHERE credittradesum>0 GROUP BY sellerid ORDER BY credittradesum DESC LIMIT 10"); while($data = $db->fetch_array($query)) { $credittradesums[] = $data; } $newstatvars[] = "'trade', 'credittradesum', '".addslashes(serialize($credittradesums))."'"; } if($statvars['totalitems']) { $totalitems = unserialize($statvars['totalitems']); } else { $query = $db->query("SELECT subject, tid, pid, seller, sellerid, sum(totalitems) as totalitems FROM {$tablepre}trades WHERE totalitems>0 GROUP BY sellerid ORDER BY totalitems DESC LIMIT 10"); while($data = $db->fetch_array($query)) { $totalitems[] = $data; } $newstatvars[] = "'trade', 'totalitems', '".addslashes(serialize($totalitems))."'"; } $lastupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $timeoffset * 3600); $nextupdate = gmdate("$dateformat $timeformat", $statvars['lastupdate'] + $statscachelife + $timeoffset * 3600); updatenewstatvars(); include template('stats_trade'); } else { showmessage('undefined_action', NULL, 'HALTED'); } function statsdata($type, $max, $sortfunc = '') { global $barno; $statsbar = ''; $sum = 0; $datarray = $GLOBALS["stats_$type"]; if(is_array($datarray)) { if($sortfunc) { eval("$sortfunc(\$datarray);"); } foreach($datarray as $count) { $sum += $count; } } else { $datarray = array(); } foreach($datarray as $variable => $count) { $barno ++; switch($type) { case $type == 'month' || $type == 'monthposts': $variable = substr($variable, 0, 4).'-'.substr($variable, -2); break; case 'dayposts': $variable = substr($variable, 0, 4).'-'.substr($variable, -4, 2).'-'.substr($variable, -2); break; case 'week': include language('misc'); $variable = $language['week_'.intval($variable)]; break; case 'hour': $variable = intval($variable); break; default: $variable = '<img src="images/stats/'.strtolower(str_replace('/', '', $variable)).'.gif" border="0" alt="" /> '.$variable; break; } @$width = intval(370 * $count / $max); @$percent = sprintf ("%01.1f", 100 * $count / $sum); $width = $width ? $width : '2'; $variable = $count == $max ? '<strong>'.$variable.'</strong>' : $variable; $count = '<div class="optionbar"><div style="width: '.$width.'px">&nbsp;</div></div>&nbsp; <strong>'.$percent.'%</strong> ('.$count.')'; $statsbar .= "<tr><th width=\"100\">$variable</th><td>$count</td></tr>\n"; } return $statsbar; } function updatenewstatvars() { global $newstatvars, $db, $tablepre; if($newstatvars && $newdata = @implode('),(', $newstatvars)) { $db->query("REPLACE INTO {$tablepre}statvars (type, variable, value) VALUES ($newdata)"); } $newstatvars = array(); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/stats.php
PHP
asf20
38,991
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: announcement.php 16688 2008-11-14 06:41:07Z cnteacher $ */ define('CURSCRIPT', 'announcement'); require_once './include/common.inc.php'; require_once DISCUZ_ROOT.'./include/discuzcode.func.php'; $discuz_action = 21; $query = $db->query("SELECT id, subject, groups, author, starttime, endtime, message FROM {$tablepre}announcements WHERE type!=2 AND starttime<='$timestamp' AND (endtime='0' OR endtime>'$timestamp') ORDER BY displayorder, starttime DESC, id DESC"); if(!$db->num_rows($query)) { showmessage('announcement_nonexistence'); } $announcelist = array(); while($announce = $db->fetch_array($query)) { $announce['authorenc'] = rawurlencode($announce['author']); $tmp = explode('.', gmdate('Y.m', $announce['starttime'] + $timeoffset * 3600)); $months[$tmp[0].$tmp[1]] = $tmp; if(!empty($m) && $m != gmdate('Ym', $announce['starttime'] + $timeoffset * 3600)) { continue; } $announce['starttime'] = gmdate($dateformat, $announce['starttime'] + $timeoffset * 3600); $announce['endtime'] = $announce['endtime'] ? gmdate($dateformat, $announce['endtime'] + $timeoffset * 3600) : ''; $announce['message'] = $announce['type'] == 1 ? "[url]{$announce[message]}[/url]" : $announce['message']; $announce['message'] = nl2br(discuzcode($announce['message'], 0, 0, 1, 1, 1, 1, 1)); $announcelist[] = $announce; } $annid = intval($id); include template('announcement'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/announcement.php
PHP
asf20
1,537
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: pm.php 20686 2009-10-14 09:29:20Z liuqiang $ */ define('CURSCRIPT', 'pm'); define('NOROBOT', TRUE); require_once './include/common.inc.php'; $discuz_action = 101; if(!$discuz_uid) { showmessage('not_loggedin', NULL, 'NOPERM'); } include_once DISCUZ_ROOT.'./uc_client/client.php'; if(isset($checknewpm)) { @dheader("Expires: 0"); @dheader("Cache-Control: private, post-check=0, pre-check=0, max-age=0", FALSE); @dheader("Pragma: no-cache"); $ucnewpm = uc_pm_checknew($discuz_uid, 2); $s = ''; if($prompts['pm']['new'] != $ucnewpm['newpm']) { $s .= updateprompt('pm', $discuz_uid, $ucnewpm['newpm']); } if($announcepm != $ucnewpm['announcepm']) { $_DCACHE['settings']['announcepm'] = $ucnewpm['announcepm']; require_once DISCUZ_ROOT.'./include/cache.func.php'; updatesettings(); $s .= updateprompt('announcepm', $discuz_uid, $ucnewpm['announcepm'], 0); } dsetcookie('checkpm', 1, 30, 0); include_once template('pm_checknew'); exit; } $page = max($page, 1); $action = !empty($action) ? $action : (isset($uid) || !empty($pmid) ? 'view' : ''); if(!$action) { $pmstatus = uc_pm_checknew($discuz_uid, 4); $filter = !empty($filter) && in_array($filter, array('newpm', 'privatepm', 'announcepm')) ? $filter : ($pmstatus['newpm'] ? 'newpm' : 'privatepm'); $ucdata = uc_pm_list($discuz_uid, $page, $ppp, !isset($search) ? 'inbox' : 'searchbox', !isset($search) ? $filter : $srchtxt, 200); if(!empty($search) && $srchtxt !== '') { $filter = ''; $srchtxtinput = htmlspecialchars(stripslashes($srchtxt)); $srchtxtenc = rawurlencode($srchtxt); } else { $multipage = multi($ucdata['count'], $ppp, $page, 'pm.php?filter='.$filter); } $_COOKIE['checkpm'] && setcookie('checkpm', '', -86400 * 365); $pmlist = array(); $today = $timestamp - ($timestamp + $timeoffset * 3600) % 86400; foreach($ucdata['data'] as $pm) { $pm['msgfromurl'] = $pm['fromappid'] && $ucapp[$pm['fromappid']]['viewprourl'] ? sprintf($ucapp[$pm['fromappid']]['viewprourl'], $pm['msgfromid']) : 'space.php?uid='.$pm['msgfromid']; $pm['daterange'] = 5; if($pm['dateline'] >= $today) { $pm['daterange'] = 1; } elseif($pm['dateline'] >= $today - 86400) { $pm['daterange'] = 2; } elseif($pm['dateline'] >= $today - 172800) { $pm['daterange'] = 3; } $pm['date'] = gmdate($dateformat, $pm['dateline'] + $timeoffset * 3600); $pm['time'] = gmdate($timeformat, $pm['dateline'] + $timeoffset * 3600); $pmlist[] = $pm; } if($prompts['pm']['new']) { updateprompt('pm', $discuz_uid, 0); } } elseif($action == 'view') { $daterange = empty($daterange) ? 1 : $daterange; if(isset($uid)) { $ucdata = uc_pm_view($discuz_uid, '', $uid, $daterange); $msgfromurl = $pm['fromappid'] && $ucapp[$pm['fromappid']]['viewprourl'] ? sprintf($ucapp[$pm['fromappid']]['viewprourl'], $uid) : 'space.php?uid='.$uid; list(,$user) = uc_get_user($uid, 1); } elseif(!empty($pmid)) { $ucdata = uc_pm_view($discuz_uid, $pmid, 0, $daterange); $msgfromurl = ''; } $pmlist = array(); $pmdate = ''; foreach($ucdata as $pm) { $dateline = $pm['dateline'] + $timeoffset * 3600; $pm['date'] = gmdate($dateformat, $dateline); if($pmdate != $pm['date']) { $lastdaterange = $pm['daterange'] = $pm['date']; } else { $pm['daterange'] = ''; } $pmdate = $pm['date']; $pm['dateline'] = gmdate("$dateformat $timeformat", $dateline); $pm['new'] && $pmunread++; $pmlist[] = $pm; } if(!empty($export)) { ob_end_clean(); dheader('Content-Encoding: none'); dheader('Content-Type: '.(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ? 'application/octetstream' : 'application/octet-stream')); dheader('Content-Disposition: attachment; filename="PM_'.$discuz_userss.'_'.$user.'_'.gmdate('ymd_Hi', $timestamp + $timeoffset * 3600).'.htm"'); dheader('Pragma: no-cache'); dheader('Expires: 0'); include template('pm_archive_html'); exit; } } elseif($action == 'new') { if(!$allowsendpm) { showmessage('pm_send_disable'); } $username = $subject = $message = ''; if(!empty($uid)) { $username = htmlspecialchars($db->result_first("SELECT username FROM {$tablepre}members WHERE uid='$uid'", 0)); } if(!empty($pmid)) { include_once language('misc'); $ucdata = uc_pm_view($discuz_uid, $pmid); $subject = 'Fw: '.$ucdata[0]['subject']; $message = ($ucdata[0]['msgfromid'] ? $language['pm_from'].': '.$ucdata[0]['msgfrom'] : $lang['pm_system'])."\n". $language['pm_to'].': '.$discuz_userss."\n". $language['pm_date'].': '.gmdate("$dateformat $timeformat", $ucdata[0]['dateline'] + $timeoffset * 3600)."\n\n". '[quote]'.trim(preg_replace("/(\[quote])(.*)(\[\/quote])/siU", '', strip_tags($ucdata[0]['message']))).'[/quote]'."\n"; } if($operation == 'trade' && ($tradepid = intval($pid))) { include_once language('misc'); $tradepid = intval($tradepid); $trade = $db->fetch_first("SELECT * FROM {$tablepre}trades WHERE pid='$tradepid'"); if($trade) { $message = '[url='.$boardurl.'viewthread.php?do=tradeinfo&tid='.$trade['tid'].'&pid='.$tradepid.']'.$trade['subject']."[/url]\n"; $message .= $language['post_trade_price'].': '.($trade['price'] > 0 ? $trade['price'].' '.$language['post_trade_yuan'].' ' : '').($extcredits[$creditstransextra[5]]['title'] != -1 && $trade['credit'] > 0 ? $extcredits[$creditstransextra[5]]['title'].' '.$trade['credit'].' '.$extcredits[$creditstransextra[5]]['unit'] : '')."\n"; $message .= $language['post_trade_transport_type'].': '; if($trade['transport'] == 1) { $message .= $language['post_trade_transport_seller']; } elseif($trade['transport'] == 2) { $message .= $language['post_trade_transport_buyer']; } elseif($trade['transport'] == 3) { $message .= $language['post_trade_transport_virtual']; } elseif($trade['transport'] == 4) { $message .= $language['post_trade_transport_physical']; } if($trade['transport'] == 1 or $trade['transport'] == 2 or $trade['transport'] == 4) { if(!empty($trade['ordinaryfee'])) { $message .= ', '.$language['post_trade_transport_mail'].' '.$trade['ordinaryfee'].' '.$language['payment_unit']; } if(!empty($trade['expressfee'])) { $message .= ', '.$language['post_trade_transport_express'].' '.$trade['expressfee'].' '.$language['payment_unit']; } if(!empty($trade['emsfee'])) { $message .= ', EMS '.$trade['emsfee'].' '.$language['payment_unit']; } } $message .= "\n".$language['post_trade_locus'].': '.$trade['locus']."\n\n"; $message .= $language['post_trade_pm_buynum'].": \n"; $message .= $language['post_trade_pm_wishprice'].": \n"; $message .= $language['post_trade_pm_reason'].": \n"; $message = htmlspecialchars($message); } } elseif($operation == 'report' && ($reportid = intval($reportid))) { include_once language('misc'); $reportlog = $db->fetch_first("SELECT r.*, p.tid, p.author, p.first, p.authorid, t.subject, t.displayorder FROM {$tablepre}reportlog r LEFT JOIN {$tablepre}posts p ON p.pid=r.pid LEFT JOIN {$tablepre}threads t ON t.tid=p.tid WHERE r.id='$reportid'"); if($reportlog && $reportlog['tid'] && $reportlog['displayorder'] >= 0) { $plang = $reportlog['first'] ? 'thread' : 'post'; $message = '[quote]'.(empty($isreporter) ? '[url='.$boardurl.'space.php?uid='.$reportlog['uid'].']'.$reportlog['username'].'[/url]' : $language['reportpost_your']). ($reportlog['type'] ? $language['reportpost_recommend'] : $language['reportpost_delate']). (!empty($isreporter) ? '[url='.$boardurl.'space.php?uid='.$reportlog['authorid'].']'.$reportlog['author'].'[/url]'.$language['reportpost_'.$plang] : $language['reportpost_your'.$plang]). '[url='.$boardurl.'redirect.php?goto=findpost&pid='.$reportlog['pid'].'&ptid='.$reportlog['tid'].']'.$reportlog['subject']."[/url]: \n".$reportlog['reason']. "[/quote]\n"; $message = htmlspecialchars($message); } } elseif($operation == 'share') { include_once language('misc'); $thread = $db->fetch_first("SELECT * FROM {$tablepre}threads WHERE tid='$tid' AND displayorder>='0'"); $fromuid = $creditspolicy['promotion_visit'] ? '&amp;fromuid='.$discuz_uid : ''; $threadurl = "{$boardurl}viewthread.php?tid=$tid$fromuid"; eval("\$message = \"".$language['share_message']."\";"); } $buddynum = uc_friend_totalnum($discuz_uid, 3); $buddyarray = uc_friend_ls($discuz_uid, 1, $buddynum, $buddynum, 3); $uids = array(); foreach($buddyarray as $buddy) { $uids[] = $buddy['friendid']; } $buddyarray = array(); if($uids) { $query = $db->query("SELECT uid, username FROM {$tablepre}members WHERE uid IN (".implodeids($uids).")"); while($buddy = $db->fetch_array($query)) { $buddyarray[] = $buddy; } } include template('pm_send'); exit; } elseif($action == 'send' && submitcheck('pmsubmit')) { if(!$allowsendpm) { showmessage('pm_send_disable'); } if(!$adminid && $newbiespan && (!$lastpost || $timestamp - $lastpost < $newbiespan * 3600)) { $query = $db->query("SELECT regdate FROM {$tablepre}members WHERE uid='$discuz_uid'"); if($timestamp - ($db->result($query, 0)) < $newbiespan * 3600) { showmessage('pm_newbie_span'); } } !($exempt & 1) && checklowerlimit($creditspolicy['sendpm'], -1); if(!empty($uid)) { $msgto = intval($uid); } else { if(!empty($msgtos)) { $buddynum = uc_friend_totalnum($discuz_uid, 3); $buddyarray = uc_friend_ls($discuz_uid, 1, $buddynum, $buddynum, 3); $uids = array(); foreach($buddyarray as $buddy) { $uids[] = $buddy['friendid']; } $msgto = $p = ''; foreach($msgtos as $uid) { $msgto .= in_array($uid, $uids) ? $p.$uid : ''; $p = ','; } if(!$msgto) { showmessage('pm_send_nonexistence'); } } else { if(!($uid = $db->result_first("SELECT uid FROM {$tablepre}members WHERE username='$msgto'"))) { showmessage('pm_send_nonexistence'); } $msgto = $uid; } } if($discuz_uid == $msgto) { showmessage('pm_send_self_ignore'); } if(trim($message) === '') { showmessage('pm_send_empty'); } include_once './forumdata/cache/cache_bbcodes.php'; foreach($_DCACHE['smilies']['replacearray'] AS $key => $smiley) { $_DCACHE['smilies']['replacearray'][$key] = '[img]'.$boardurl.'images/smilies/'.$_DCACHE['smileytypes'][$_DCACHE['smilies']['typearray'][$key]]['directory'].'/'.$smiley.'[/img]'; } $message = preg_replace($_DCACHE['smilies']['searcharray'], $_DCACHE['smilies']['replacearray'], $message); $pmid = uc_pm_send($discuz_uid, $msgto, '', $message, 1, 0, 0); if($pmid > 0) { !($exempt & 1) && updatecredits($discuz_uid, $creditspolicy['sendpm'], -1); if(empty($sendnew)) { $pm = uc_pm_viewnode($discuz_uid, 0, $pmid); $dateline = $pm['dateline'] + $timeoffset * 3600; $pm['daterange'] = gmdate($dateformat, $dateline); $pm['daterange'] = $pm['daterange'] != $lastdaterange ? $pm['daterange'] : ''; $pm['dateline'] = gmdate("$dateformat $timeformat", $dateline); include template('header_ajax'); include template('pm_node'); include template('footer_ajax'); exit; } else { if($prompts['newbietask'] && $newbietaskid && $newbietasks[$newbietaskid]['scriptname'] == 'sendpm') { require_once DISCUZ_ROOT.'./include/task.func.php'; task_newbie_complete(); } showmessage('pm_send_succeed', '', 1); exit; } } elseif($pmid == -1) { showmessage('pm_send_limit1day_error'); } elseif($pmid == -2) { showmessage('pm_send_floodctrl_error'); } elseif($pmid == -3) { showmessage('pm_send_batnotfriend_error'); } elseif($pmid == -4) { showmessage('pm_send_pmsendregdays_error'); } else { showmessage('pm_send_invalid'); } } elseif($action == 'del') { $uid = !empty($uid) ? (!is_array($uid) ? array($uid) : $uid) : array(); $pmid = !empty($pmid) ? (!is_array($pmid) ? array($pmid) : $pmid) : array(); if($uid || $pmid) { if(!$readopt) { if($uid) { uc_pm_deleteuser($discuz_uid, $uid); } if($pmid) { uc_pm_delete($discuz_uid, 'inbox', $pmid); } showmessage('pm_delete_succeed', "pm.php?filter=$filter&page=$page"); } else { uc_pm_readstatus($discuz_uid, $uid, $pmid, $readopt == 1 ? 0 : 1); showmessage($readopt == 1 ? 'pm_mark_read_succeed' : 'pm_mark_unread_succeed', "pm.php?filter=$filter&page=$page"); } } else { showmessage('pm_nonexistence', "pm.php?filter=$filter&page=$page"); } } elseif($action == 'addblack') { if($formhash != FORMHASH) { showmessage('undefined_action', NULL, 'HALTED'); } uc_pm_blackls_add($discuz_uid, $user); if($user != '{ALL}') { showmessage('pm_addblack_succeed', 'pm.php?action=viewblack'); } else { showmessage('pm_addblackall_succeed', 'pm.php?action=viewblack'); } } elseif($action == 'delblack') { if($formhash != FORMHASH) { showmessage('undefined_action', NULL, 'HALTED'); } uc_pm_blackls_delete($discuz_uid, $user); showmessage('pm_delblack_succeed', 'pm.php?action=viewblack'); } elseif($action == 'viewblack') { $blackls = explode(',', uc_pm_blackls_get($discuz_uid)); $blackall = in_array('{ALL}', $blackls); } include template('pm'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/pm.php
PHP
asf20
13,456
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: notice.php 20815 2009-10-24 09:05:29Z monkey $ */ define('CURSCRIPT', 'notice'); define('NOROBOT', TRUE); require_once './include/common.inc.php'; $discuz_action = 102; if(!$discuz_uid) { showmessage('not_loggedin', NULL, 'NOPERM'); } $filter = !empty($filter) && in_array($filter, $promptkeys) ? $filter : ''; $newexists = 0; $typeadd = $filter ? "AND typeid='".$prompts[$filter]['id']."'" : "AND typeid IN (".implodeids($promptpmids).")"; $page = max(1, intval($page)); $start_limit = ($page - 1) * $ppp; $pmlist = $ids = array(); $today = $timestamp - ($timestamp + $timeoffset * 3600) % 86400; $count = $db->result_first("SELECT count(*) FROM {$tablepre}promptmsgs WHERE uid='$discuz_uid' $typeadd"); $query = $db->query("SELECT id AS pmid, new, message, dateline, typeid, actor FROM {$tablepre}promptmsgs WHERE uid='$discuz_uid' $typeadd ORDER BY dateline DESC LIMIT $start_limit, $ppp"); while($row = $db->fetch_array($query)) { if($row['new']) { $newexists = 1; } $find = array('{boardurl}', '{time}'); $replace = array($boardurl, '<em>'.dgmdate("$dateformat $timeformat", $row['dateline'] + $timeoffset * 3600).'</em>'.($row['new'] ? '<img src="'.IMGDIR.'/notice_newpm.gif" alt="NEW" />' : '')); if(strpos($row['message'], '{actor}') !== FALSE) { list($actorcount, $actors) = explode("\t", $row['actor']); $actorarray = explode(',', $actors); $actor = $comma = ''; foreach($actorarray as $au) { $actor .= $comma.($au != '<i>Anonymous</i>' ? '<a href="space.php?username='.rawurlencode($au).'" target="_blank">'.$au.'</a>' : $au); $comma = ','; } if($actorcount > 5) { include_once language('misc'); $actor .= eval('return " '.$language['notice_actor'].'";'); } else { $actor .= ' '; } $find[] = '{actor}'; $replace[] = $actor; } $row['message'] = str_replace($find, $replace, $row['message']); $pmlist[] = $row; } if($newexists) { $db->query("UPDATE {$tablepre}promptmsgs SET new='0' WHERE uid='$discuz_uid' AND new='1'", 'UNBUFFERED'); } $multipage = multi($count, $ppp, $page, 'notice.php'.($filter ? '?filter='.$filter : '')); if(!$filter) { foreach($prompts as $promptkey => $promptdata) { if($promptdata['new']) { updateprompt($promptkey, $discuz_uid, 0); } } } elseif($prompts[$filter]['new']) { updateprompt($filter, $discuz_uid, 0); } include template('notice'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/notice.php
PHP
asf20
2,531
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: relatethread.php 18819 2009-07-23 10:38:43Z liuqiang $ */ error_reporting(0); set_magic_quotes_runtime(0); define('DISCUZ_ROOT', './'); define('IN_DISCUZ', TRUE); define('NOROBOT', TRUE); require_once './forumdata/cache/cache_settings.php'; $qihoo = $_DCACHE['settings']['qihoo']; if(!$qihoo['relate']['bbsnum']) { exit; } $_SERVER = empty($_SERVER) ? $HTTP_SERVER_VARS : $_SERVER; $_GET = empty($_GET) ? $HTTP_GET_VARS : $_GET; $site = $_SERVER['HTTP_HOST']; $subjectenc = rawurlencode($_GET['subjectenc']); $tags = explode(' ',trim($_GET['tagsenc'])); $tid = intval($_GET['tid']); require_once './config.inc.php'; if($_GET['verifykey'] <> md5($_DCACHE['settings']['authkey'].$tid.$subjectenc.$charset.$site)) { exit(); } $tshow = !$qihoo['relate']['position'] ? 'mid' : 'bot'; $intnum = intval($qihoo['relate']['bbsnum']); $extnum = intval($qihoo['relate']['webnum']); $exttype = $qihoo['relate']['type']; $up = intval($_GET['qihoo_up']); $data = @implode('', file("http://related.code.qihoo.com/related.html?title=$subjectenc&ics=$charset&ocs=$charset&site=$site&sort=pdate&tshow=$tshow&intnum=$intnum&extnum=$extnum&exttype=$exttype&up=$up")); if($data) { $timestamp = time(); $chs = ''; if(PHP_VERSION > '5' && $charset != 'utf-8') { require_once DISCUZ_ROOT.'./include/chinese.class.php'; $chs = new Chinese('utf-8', $charset); } $parser = xml_parser_create(); xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0); xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1); xml_parse_into_struct($parser, $data, $values, $index); xml_parser_free($parser); $xmldata = array('chanl', 'fid', 'title', 'tid', 'author', 'pdate', 'rdate', 'rnum', 'vnum', 'insite'); $relatedthreadlist = $keywords = array(); $nextuptime = 0; foreach($index as $tag => $valuearray) { if(in_array($tag, $xmldata)) { foreach($valuearray as $key => $value) { if($values[$index['title'][$key]]['value']) { $relatedthreadlist[$key][$tag] = !empty($chs) ? $chs->convert(trim($values[$value]['value'])) : trim($values[$value]['value']); $relatedthreadlist[$key]['fid'] = !$values[$index['fid'][$key]]['value'] ? preg_replace("/(.+?)\/forum\-(\d+)\-(\d+)\.html/", "\\2", trim($values[$index['curl'][$key]]['value'])) : trim($values[$index['fid'][$key]]['value']); $relatedthreadlist[$key]['tid'] = !$values[$index['tid'][$key]]['value'] ? preg_replace("/(.+?)\/thread\-(\d+)\-(\d+)-(\d+)\.html/", "\\2", trim($values[$index['surl'][$key]]['value'])) : trim($values[$index['tid'][$key]]['value']); } } } elseif(in_array($tag, array('kw', 'ekw'))) { $type = $tag == 'kw' ? 'general' : 'trade'; foreach($valuearray as $value) { $keywords[$type][] = !empty($chs) ? $chs->convert(trim($values[$value]['value'])) : trim($values[$value]['value']); } } elseif($tag == 'nextuptime') { $nextuptime = $values[$index['nextuptime'][0]]['value']; } elseif($tag == 'keep' && intval($values[$index['keep'][0]]['value'])) { exit; } } $generalnew = array(); if($keywords['general']) { $searchkeywords = rawurlencode(implode(' ', $keywords['general'])); foreach($keywords['general'] as $keyword) { $generalnew[] = $keyword; if(!in_array($keyword, $tags)) { $relatedkeywords .= '<a href="search.php?srchtype=qihoo&amp;srchtxt='.rawurlencode($keyword).'&amp;searchsubmit=yes" target="_blank"><strong><font color="red">'.$keyword.'</font></strong></a>&nbsp;'; } } } $keywords['general'] = $generalnew; $threadlist = array(); if($relatedthreadlist) { foreach($relatedthreadlist as $key => $relatedthread) { if($relatedthread['insite'] == 1) { $threadlist['bbsthread'][] = $relatedthread; } elseif($qihoo['relate']['webnum']) { if(empty($qihoo['relate']['banurl']) || !preg_match($qihoo['relate']['banurl'], $relatedthread['tid'])) { $threadlist['webthread'][] = $relatedthread; } } } $threadlist['bbsthread'] = $threadlist['bbsthread'] ? array_slice($threadlist['bbsthread'], 0, $qihoo['relate']['bbsnum']) : array(); $threadlist['webthread'] = $threadlist['webthread'] ? array_slice($threadlist['webthread'], 0, $qihoo['relate']['bbsnum'] - count($threadlist['bbsthread'])) : array(); $relatedthreadlist = array_merge($threadlist['bbsthread'], $threadlist['webthread']); } $keywords['general'] = $keywords['general'][0] ? implode("\t", $keywords['general']) : ''; $keywords['trade'] = $keywords['trade'][0] ? implode("\t", $keywords['trade']) : ''; $relatedthreads = $relatedthreadlist ? addslashes(serialize($relatedthreadlist)) : ''; $expiration = $nextuptime ? $nextuptime : $timestamp + 86400; require_once './include/db_'.$database.'.class.php'; $db = new dbstuff; $db->connect($dbhost, $dbuser, $dbpw, $dbname, $pconnect, true, $dbcharset); $db->select_db($dbname); unset($dbhost, $dbuser, $dbpw, $dbname, $pconnect); $db->query("REPLACE INTO {$tablepre}relatedthreads (tid, type, expiration, keywords, relatedthreads) VALUES ('$tid', 'general', '$expiration', '$keywords[general]', '$relatedthreads')", 'UNBUFFERED'); if($keywords['trade']) { $db->query("REPLACE INTO {$tablepre}relatedthreads (tid, type, expiration, keywords, relatedthreads) VALUES ('$tid', 'trade', '$expiration', '$keywords[trade]', '$relatedthreads')", 'UNBUFFERED'); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/relatethread.php
PHP
asf20
5,527
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: ajax.php 17239 2008-12-11 05:12:34Z liuqiang $ */ define('CURSCRIPT', 'forumstat'); define('NOROBOT', TRUE); require_once './include/common.inc.php'; showmessage('success'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/forumstat.php
PHP
asf20
303
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: member.php 19359 2009-08-26 09:50:42Z monkey $ */ define('CURSCRIPT', 'member'); define('NOROBOT', TRUE); require_once './include/common.inc.php'; if($action == 'clearcookies') { if(is_array($_COOKIE) && (empty($discuz_uid) || ($discuz_uid && $formhash == formhash()))) { foreach($_COOKIE as $key => $val) { dsetcookie($key, '', -86400 * 365, 0); } } showmessage('login_clearcookie', $indexname); } elseif($action == 'online') { $discuz_action = 31; @include language('actions'); $page = max(1, intval($page)); $start_limit = ($page - 1) * $memberperpage; $num = $db->result_first("SELECT COUNT(*) FROM {$tablepre}sessions"); $multipage = multi($num, $memberperpage, $page, 'member.php?action=online'); $onlinelist = array(); $query = $db->query("SELECT s.*, f.name, t.subject FROM {$tablepre}sessions s LEFT JOIN {$tablepre}forums f ON s.fid=f.fid LEFT JOIN {$tablepre}threads t ON s.tid=t.tid WHERE s.invisible='0' ORDER BY s.lastactivity DESC LIMIT $start_limit, $memberperpage"); while($online = $db->fetch_array($query)) { $online['lastactivity'] = gmdate($timeformat, $online['lastactivity'] + $timeoffset * 3600); $online['action'] = $actioncode[$online['action']]; $online['subject'] = $online['subject'] ? cutstr($online['subject'], 35) : NULL; $online['ip'] = $online['ip1'].'.'.$online['ip2'].'.'.$online['ip3'].'.'.$online['ip4']; $onlinelist[] = $online; } include template('whosonline'); } elseif($action == 'list') { $discuz_action = 41; if(($adminid != 1) && !$memliststatus && $type != 'birthdays') { showmessage('member_list_disable', NULL, 'HALTED'); } elseif($type == 'birthdays' && !$maxbdays) { showmessage('todays_birthdays_banned'); } $type = isset($type) && in_array($type, array('admins','birthdays','grouplist')) ? $type : ''; $order = isset($order) && in_array($order, array('credits','gender','username')) ? $order : ''; $orderadd = $sql = $num = $birthdayadd = ''; if(!empty($listgid) && ($listgid = intval($_GET['listgid']))) { $type = $adminid == 1 ? 'grouplist' : $type; } else { $listgid = ''; } switch($type) { case 'admins': $sql = 'WHERE groupid IN (1, 2, 3)'; $num = $db->result_first("SELECT COUNT(*) FROM {$tablepre}members $sql"); break; case 'birthdays': @include DISCUZ_ROOT.'./forumdata/cache/cache_birthdays.php'; $num = $_DCACHE['birthdays']['num']; $sql = 'WHERE m.uid IN ('.($_DCACHE['birthdays']['uids'] ? $_DCACHE['birthdays']['uids'] : '0').')'; $birthdayadd = ',m.bday '; break; case 'grouplist': $sql = "WHERE groupid='$listgid'"; $num = $db->result_first("SELECT COUNT(*) FROM {$tablepre}members $sql"); break; default: $type = ''; $order = empty($order) ? '' : $order; switch($order) { case 'credits': $orderadd = "ORDER BY credits DESC"; break; case 'gender': $orderadd = "ORDER BY gender DESC"; break; case 'username': $orderadd = "ORDER BY username DESC"; break; default: $orderadd = 'ORDER BY uid'; $order = 'uid'; break; } $sql = !empty($srchmem) ? " WHERE username LIKE '".str_replace(array('_', '%'), array('\_', '\%'), $srchmem)."%'" : ''; $num = $db->result_first("SELECT COUNT(*) FROM {$tablepre}members $sql"); } $page = $membermaxpages && $page > $membermaxpages ? 1 : $page; $start_limit = ($page - 1) * $memberperpage; $multipage = multi($num, $memberperpage, $page, "member.php?action=list&listgid=$listgid&srchmem=".rawurlencode($srchmem)."&amp;order=$order&amp;type=$type", $membermaxpages); $memberlist = array(); $query = $db->query("SELECT m.uid, m.username, m.gender, m.email, m.regdate, m.lastvisit, m.posts, m.credits, m.showemail$birthdayadd FROM {$tablepre}members m $sql $orderadd LIMIT $start_limit, $memberperpage"); while($member = $db->fetch_array($query)) { $member['usernameenc'] = rawurlencode($member['username']); $member['regdate'] = gmdate($dateformat, $member['regdate'] + $timeoffset * 3600 ); $member['lastvisit'] = dgmdate("$dateformat $timeformat", $member['lastvisit'] + ($timeoffset * 3600)); $memberlist[] = $member; } include template('memberlist'); } elseif($action == 'markread') { if($discuz_user) { $db->query("UPDATE {$tablepre}members SET lastvisit='$timestamp' WHERE uid='$discuz_uid'"); } showmessage('mark_read_succeed', $indexname); } elseif($action == 'regverify' && $regverify == 2 && $groupid == 8 && submitcheck('verifysubmit')) { $query = $db->query("SELECT uid FROM {$tablepre}validating WHERE uid='$discuz_uid' AND status='1'"); if($db->num_rows($query)) { $db->query("UPDATE {$tablepre}validating SET submittimes=submittimes+1, submitdate='$timestamp', status='0', message='".dhtmlspecialchars($regmessagenew)."' WHERE uid='$discuz_uid'"); showmessage('submit_verify_succeed', 'memcp.php'); } else { showmessage('undefined_action', NULL, 'HALTED'); } } elseif($action == 'emailverify') { $member = $db->fetch_first("SELECT mf.authstr FROM {$tablepre}members m, {$tablepre}memberfields mf WHERE m.uid='$discuz_uid' AND mf.uid=m.uid AND m.groupid='8'"); if(!$member) { showmessage('undefined_action', NULL, 'HALTED'); } if($regverify == 2) { showmessage('register_verify_invalid'); } list($dateline, $type, $idstring) = explode("\t", $member['authstr']); if($type == 2 && $timestamp - $dateline < 86400) { showmessage('email_verify_invalid'); } $idstring = $type == 2 && $idstring ? $idstring : random(6); $db->query("UPDATE {$tablepre}memberfields SET authstr='$timestamp\t2\t$idstring' WHERE uid='$discuz_uid'"); sendmail("$discuz_userss <$email>", 'email_verify_subject', 'email_verify_message'); showmessage('email_verify_succeed'); } elseif($action == 'activate' && $uid && $id) { $query = $db->query("SELECT m.uid, m.username, m.credits, mf.authstr FROM {$tablepre}members m, {$tablepre}memberfields mf WHERE m.uid='$uid' AND mf.uid=m.uid AND m.groupid='8'"); $member = $db->fetch_array($query); list($dateline, $operation, $idstring) = explode("\t", $member['authstr']); if($operation == 2 && $idstring == $id) { $query = $db->query("SELECT groupid FROM {$tablepre}usergroups WHERE type='member' AND $member[credits]>=creditshigher AND $member[credits]<creditslower LIMIT 1"); $db->query("UPDATE {$tablepre}members SET groupid='".$db->result($query, 0)."' WHERE uid='$member[uid]'"); $db->query("UPDATE {$tablepre}memberfields SET authstr='' WHERE uid='$member[uid]'"); showmessage('activate_succeed', $indexname); } else { showmessage('activate_illegal', NULL, 'HALTED'); } } elseif($action == 'lostpasswd') { $discuz_action = 141; if(submitcheck('lostpwsubmit')) { require_once DISCUZ_ROOT.'./uc_client/client.php'; list($tmp['uid'], , $tmp['email']) = uc_get_user($username); if($email != $tmp['email']) { showmessage('getpasswd_account_notmatch'); } $member = $db->fetch_first("SELECT uid, username, adminid, email FROM {$tablepre}members WHERE uid='$tmp[uid]'"); if(!$member) { showmessage('getpasswd_account_notmatch'); } elseif($member['adminid'] == 1 || $member['adminid'] == 2) { showmessage('getpasswd_account_invalid'); } if($member['email'] != $tmp['email']) { $db->query("UPDATE {$tablepre}members SET email='".addslashes($tmp['email'])."' WHERE uid='".addslashes($tmp['uid'])."'"); } $idstring = random(6); $db->query("UPDATE {$tablepre}memberfields SET authstr='$timestamp\t1\t$idstring' WHERE uid='$member[uid]'"); sendmail("$username <$tmp[email]>", 'get_passwd_subject', 'get_passwd_message'); showmessage('getpasswd_send_succeed', '', 141); } } elseif($action == 'getpasswd' && $uid && $id) { $discuz_action = 141; $member = $db->fetch_first("SELECT m.username, m.email, mf.authstr FROM {$tablepre}members m, {$tablepre}memberfields mf WHERE m.uid='$uid' AND mf.uid=m.uid"); list($dateline, $operation, $idstring) = explode("\t", $member['authstr']); if($dateline < $timestamp - 86400 * 3 || $operation != 1 || $idstring != $id) { showmessage('getpasswd_illegal', NULL, 'HALTED'); } if(!submitcheck('getpwsubmit') || $newpasswd1 != $newpasswd2) { $hashid = $id; include template('getpasswd'); } else { if($newpasswd1 != addslashes($newpasswd1)) { showmessage('profile_passwd_illegal'); } require_once DISCUZ_ROOT.'./uc_client/client.php'; uc_user_edit($member['username'], $newpasswd1, $newpasswd1, $member['email'], 1); $password = md5(random(10)); $db->query("UPDATE {$tablepre}members SET password='$password' WHERE uid='$uid'"); $db->query("UPDATE {$tablepre}memberfields SET authstr='' WHERE uid='$uid'"); showmessage('getpasswd_succeed'); } } elseif($action == 'groupexpiry' && $discuz_uid) { if(!$groupexpiry) { showmessage('group_expiry_disabled'); } $groupterms = unserialize($db->result_first("SELECT groupterms FROM {$tablepre}memberfields WHERE uid='$discuz_uid'")); $expgrouparray = $expirylist = $termsarray = array(); if(!empty($groupterms['ext']) && is_array($groupterms['ext'])) { $termsarray = $groupterms['ext']; } if(!empty($groupterms['main']['time']) && (empty($termsarray[$groupid]) || $termsarray[$groupid] > $groupterm['main']['time'])) { $termsarray[$groupid] = $groupterms['main']['time']; } foreach($termsarray as $expgroupid => $expiry) { if($expiry <= $timestamp) { $expgrouparray[] = $expgroupid; } } if(!empty($groupterms['ext'])) { foreach($groupterms['ext'] as $extgroupid => $time) { $expirylist[$extgroupid] = array('time' => gmdate($dateformat, $time + $timeoffset * 3600), 'type' => 'ext'); } } if(!empty($groupterms['main'])) { $expirylist[$groupid] = array('time' => gmdate($dateformat, $groupterms['main']['time'] + $timeoffset * 3600), 'type' => 'main'); } if($expirylist) { $query = $db->query("SELECT groupid, grouptitle FROM {$tablepre}usergroups WHERE groupid IN (".implode(',', array_keys($expirylist)).")"); while($group = $db->fetch_array($query)) { $expirylist[$group['groupid']]['grouptitle'] = in_array($group['groupid'], $expgrouparray) ? '<s>'.$group['grouptitle'].'</s>' : $group['grouptitle']; } } else { $db->query("UPDATE {$tablepre}members SET groupexpiry='0' WHERE uid='$discuz_uid'"); } if($expgrouparray) { $extgroupidarray = array(); foreach(explode("\t", $extgroupids) as $extgroupid) { if(($extgroupid = intval($extgroupid)) && !in_array($extgroupid, $expgrouparray)) { $extgroupidarray[] = $extgroupid; } } $groupidnew = $groupid; $adminidnew = $adminid; foreach($expgrouparray as $expgroupid) { if($expgroupid == $groupid) { if(!empty($groupterms['main']['groupid'])) { $groupidnew = $groupterms['main']['groupid']; $adminidnew = $groupterms['main']['adminid']; } else { $groupidnew = $db->result_first("SELECT groupid FROM {$tablepre}usergroups WHERE type='member' AND '$credits'>=creditshigher AND '$credits'<creditslower LIMIT 1"); if(in_array($adminid, array(1, 2, 3))) { $query = $db->query("SELECT groupid FROM {$tablepre}usergroups WHERE groupid IN ('".implode('\',\'', $extgroupidarray)."') AND radminid='$adminid' LIMIT 1"); $adminidnew = ($db->num_rows($query)) ? $adminid : 0; } else { $adminidnew = 0; } } unset($groupterms['main']); } unset($groupterms['ext'][$expgroupid]); } $groupexpirynew = groupexpiry($groupterms); $extgroupidsnew = implode("\t", $extgroupidarray); $grouptermsnew = addslashes(serialize($groupterms)); $db->query("UPDATE {$tablepre}members SET adminid='$adminidnew', groupid='$groupidnew', extgroupids='$extgroupidsnew', groupexpiry='$groupexpirynew' WHERE uid='$discuz_uid'"); $db->query("UPDATE {$tablepre}memberfields SET groupterms='$grouptermsnew' WHERE uid='$discuz_uid'"); } include template('groupexpiry'); } elseif($action == 'switchstatus' && $discuz_uid) { if(!$allowinvisible) { showmessage('group_nopermission', NULL, 'NOPERM'); } $db->query("UPDATE {$tablepre}members SET invisible = !invisible WHERE uid='$discuz_uid'", 'UNBUFFERED'); include language('misc'); showmessage($invisible ? '<a href="member.php?action=switchstatus" title="'.$language['login_switch_invisible_mode'].'" ajaxtarget="loginstatus">'.$language['login_normal_mode'].'</a>' : '<a href="member.php?action=switchstatus" title="'.$language['login_switch_normal_mode'].'" ajaxtarget="loginstatus">'.$language['login_invisible_mode'].'</a>', dreferer()); } else { showmessage('undefined_action', NULL, 'HALTED'); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/member.php
PHP
asf20
12,939
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic.php 21049 2009-11-09 07:05:47Z tiger $ */ define('CURSCRIPT', 'magic'); require_once './include/common.inc.php'; if(!$creditstransextra[3]) { showmessage('credits_transaction_disabled'); } elseif(!$magicstatus && $adminid != 1) { showmessage('magics_close'); } elseif(!$allowmagics && $discuz_uid) { showmessage('magics_perm'); } require_once DISCUZ_ROOT.'./include/magic.func.php'; require_once DISCUZ_ROOT.'./forumdata/cache/cache_magics.php'; $magiclist = array(); $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $action = empty($action) ? 'index' : $action; $comma = $typeadd = $filteradd = $forumperm = $targetgroupperm = ''; $magicarray = is_array($_DCACHE['magics']) ? $_DCACHE['magics'] : array(); $operationarray = array('use', 'sell', 'drop', 'give', 'my', 'buy', 'down', 'uselog', 'buylog', 'givelog', 'receivelog', 'marketlog'); $operation = !empty($operation) && in_array($operation, $operationarray) ? $operation : ''; if(!$discuz_uid && ($operation || $action == 'mybox')) { showmessage('not_loggedin', NULL, 'NOPERM'); } $totalweight = getmagicweight($discuz_uid, $magicarray); $magicid = intval($magicid); if(!empty($typeid)) { $typeadd = '&amp;typeid='.intval($typeid); $filteradd = "AND type='".intval($typeid)."'"; } if($action == 'index') { $hotmagiclist = $recommendmagiclist = array(); $query = $db->query("SELECT magicid, name, identifier, description, price FROM {$tablepre}magics WHERE available='1' AND recommend='1' ORDER BY displayorder"); while($recommenmagic = $db->fetch_array($query)) { $recommenmagic['pic'] = strtolower($recommenmagic['identifier']).'.gif'; $recommendmagiclist[] = $recommenmagic; } $query = $db->query("SELECT magicid, name, identifier, description, price FROM {$tablepre}magics WHERE available='1' AND type!='4' ORDER BY salevolume DESC LIMIT 0,4"); while($hotmagic = $db->fetch_array($query)) { $hotmagic['pic'] = strtolower($hotmagic['identifier']).'.gif'; $hotmagiclist[] = $hotmagic; } } elseif($action == 'shop') { $discuz_action = 170; if(empty($operation)) { $operation = $magicendrows = $mymagicendrows = ''; $magiccount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}magics WHERE available='1' AND type!='4' $filteradd"); $multipage = multi($magiccount, $tpp, $page, "magic.php?action=shop$typeadd"); $query = $db->query("SELECT magicid, name, identifier, description, price, num, salevolume, weight, type FROM {$tablepre}magics WHERE available='1' AND type!='4' $filteradd ORDER BY displayorder LIMIT $start_limit,$tpp"); while($magic = $db->fetch_array($query)) { $magic['discountprice'] = $magicsdiscount ? intval($magic['price'] * ($magicsdiscount / 10)) : intval($magic['price']); $magic['pic'] = strtolower($magic['identifier']).'.gif'; $magiclist[] = $magic; } } elseif($operation == 'buy') { $magic = $db->fetch_first("SELECT * FROM {$tablepre}magics WHERE magicid='$magicid'"); if(!$magic || !$magic['available']) { showmessage('magics_nonexistence'); } $magic['discountprice'] = $magicsdiscount ? intval($magic['price'] * ($magicsdiscount / 10)) : intval($magic['price']); $magic['pic'] = strtolower($magic['identifier']).".gif"; if(!submitcheck('operatesubmit')) { $magicperm = unserialize($magic['magicperm']); $useperm = (strstr($magicperm['usergroups'], "\t$groupid\t") || !$magicperm['usergroups']) ? '1' : '0'; if($magicperm['targetgroups']) { require_once DISCUZ_ROOT.'./forumdata/cache/cache_usergroups.php'; foreach(explode("\t", $magicperm['targetgroups']) as $groupid) { if(isset($_DCACHE['usergroups'][$groupid])) { $targetgroupperm .= $comma.$_DCACHE['usergroups'][$groupid]['grouptitle']; $comma = '&nbsp;'; } } } if($magicperm['forum']) { require_once DISCUZ_ROOT.'./forumdata/cache/cache_forums.php'; foreach(explode("\t", $magicperm['forum']) as $fid) { if(isset($_DCACHE['forums'][$fid])) { $forumperm .= $comma.'<a href="forumdisplay.php?fid='.$fid.'" target="_blank">'.$_DCACHE['forums'][$fid]['name'].'</a>'; $comma = '&nbsp;'; } } } include template('magic_shop_opreation'); dexit(); } else { $magicnum = intval($magicnum); $magic['weight'] = $magic['weight'] * $magicnum; $totalprice = $magic['price'] * $magicnum; if(${'extcredits'.$creditstransextra[3]} < $totalprice) { showmessage('magics_credits_no_enough'); } elseif($magic['num'] < $magicnum) { showmessage('magics_num_no_enough'); } elseif(!$magicnum || $magicnum < 0) { showmessage('magics_num_invalid'); } getmagic($magic['magicid'], $magicnum, $magic['weight'], $totalweight, $discuz_uid, $maxmagicsweight); updatemagiclog($magic['magicid'], '1', $magicnum, $magic['price'], '0', $discuz_uid); $db->query("UPDATE {$tablepre}magics SET num=num+(-'$magicnum'), salevolume=salevolume+'$magicnum' WHERE magicid='$magicid'"); $db->query("UPDATE {$tablepre}members SET extcredits$creditstransextra[3]=extcredits$creditstransextra[3]+(-'$totalprice') WHERE uid='$discuz_uid'"); showmessage('magics_succeed', 'magic.php?action=mybox'); } } elseif($operation == 'give') { $magic = $db->fetch_first("SELECT * FROM {$tablepre}magics WHERE magicid='$magicid'"); if(!$magic || !$magic['available']) { showmessage('magics_nonexistence'); } $magic['discountprice'] = $magicsdiscount ? intval($magic['price'] * ($magicsdiscount / 10)) : intval($magic['price']); $magic['pic'] = strtolower($magic['identifier']).".gif"; if(!submitcheck('operatesubmit')) { include_once DISCUZ_ROOT.'./uc_client/client.php'; $buddynum = uc_friend_totalnum($discuz_uid, 3); $buddyarray = $buddynum ? uc_friend_ls($discuz_uid, 1, $buddynum, $buddynum, 3) : array(); if($buddyarray) { $uids = array(); foreach($buddyarray as $buddy) { $uids[] = $buddy['friendid']; } $buddyarray = array(); if($uids) { $query = $db->query("SELECT uid, username FROM {$tablepre}members WHERE uid IN (".implodeids($uids).")"); while($buddy = $db->fetch_array($query)) { $buddyarray[] = $buddy; } } } include template('magic_shop_opreation'); dexit(); } else { $magicnum = intval($magicnum); $totalprice = $magic['price'] * $magicnum; if(${'extcredits'.$creditstransextra[3]} < $totalprice) { showmessage('magics_credits_no_enough'); } elseif($magic['num'] < $magicnum) { showmessage('magics_num_no_enough'); } elseif(!$magicnum || $magicnum < 0) { showmessage('magics_num_invalid'); } $toname = dhtmlspecialchars(trim($tousername)); if(!$toname) { showmessage('magics_username_nonexistence'); } if($allowmagics < 1) { showmessage('magics_nopermission'); } $givemessage = dhtmlspecialchars(trim($givemessage)); givemagic($toname, $magic['magicid'], $magicnum, $magic['num'], $totalprice, $givemessage); $db->query("UPDATE {$tablepre}magics SET num=num+(-'$magicnum'), salevolume=salevolume+'$magicnum' WHERE magicid='$magicid'"); $db->query("UPDATE {$tablepre}members SET extcredits$creditstransextra[3]=extcredits$creditstransextra[3]+(-'$totalprice') WHERE uid='$discuz_uid'"); showmessage('magics_succeed', '', 1); } } else { showmessage('undefined_action', NULL, 'HALTED'); } } elseif($action == 'mybox') { if(empty($operation)) { $pid = !empty($pid) ? intval($pid) : 0; $mymagiccount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}membermagics mm, {$tablepre}magics m WHERE mm.uid='$discuz_uid' AND mm.magicid=m.magicid"); $mymultipage = multi($magiccount, $tpp, $page, "magic.php?action=mybox&pid=$pid$typeadd"); $query = $db->query("SELECT mm.num, m.magicid, m.name, m.identifier, m.description, m.weight, m.type FROM {$tablepre}membermagics mm LEFT JOIN {$tablepre}magics m ON mm.magicid=m.magicid WHERE mm.uid='$discuz_uid' LIMIT $start_limit,$tpp"); while($mymagic = $db->fetch_array($query)) { $mymagic['pic'] = strtolower($mymagic['identifier']).'.gif'; $mymagic['weight'] = intval($mymagic['weight'] * $mymagic['num']); $mymagic['type'] = $mymagic['type']; $mymagiclist[] = $mymagic; } } else { $magic = $db->fetch_first("SELECT m.*, mm.num FROM {$tablepre}membermagics mm LEFT JOIN {$tablepre}magics m ON mm.magicid=m.magicid WHERE mm.uid='$discuz_uid' AND mm.magicid='$magicid'"); if(!$magic) { showmessage('magics_nonexistence'); } elseif(!$magic['num']) { $db->query("DELETE FROM {$tablepre}membermagics WHERE uid='$discuz_uid' AND magicid='$magic[magicid]'"); showmessage('magics_nonexistence'); } $magicperm = unserialize($magic['magicperm']); $magic['pic'] = strtolower($magic['identifier']).'.gif'; if($operation == 'use') { if(!submitcheck('operatesubmit')) { $useperm = (strstr($magicperm['usergroups'], "\t$groupid\t") || empty($magicperm['usergroups'])) ? '1' : '0'; $forumperm = ((strstr($magicperm['forum'], "\t$fid\t") && $fid) || empty($magicperm['forum'])) ? '1' : '0'; if($magic['num'] <= 0) { $db->query("DELETE FROM {$tablepre}membermagics WHERE uid='$discuz_uid' AND magicid='$magic[magicid]'"); showmessage('magics_nopermission'); } $magic['weight'] = intval($magicarray[$magic['magicid']]['weight'] * $magic['num']); include language('magics'); $username = dhtmlspecialchars($username); $magicselect = array(); $typeid = intval($typeid); if(!submitcheck('usesubmit')) { if(!$useperm) { showmessage('magics_use_nopermission'); } if(!$forumperm) { showmessage('magics_forum_nopermission'); } $username = dhtmlspecialchars($username); $magicselect = array($magicid => 'selected="selected"'); $magiclist = $typeid ? magicselect($discuz_uid, $typeid, array('magic' => array('magicid', 'name', 'description'))) : ''; if(in_array($magic['type'], array(1, 2)) && $pid) { $pid = intval($pid); $perm = $db->fetch_first("SELECT tid, author, anonymous FROM {$tablepre}posts WHERE pid='$pid'"); if($magic['type'] == 2 && $perm['anonymous']) { showmessage('magics_post_anonymous'); } $tid = $perm['tid']; $username = $perm['author']; } } if(!@include_once DISCUZ_ROOT.($magicfile = "./include/magic/$magic[filename]")) { showmessage('magics_filename_nonexistence'); } include template('magic_mybox_opreation'); dexit(); } } elseif($operation == 'sell') { if(!submitcheck('operatesubmit')) { include template('magic_mybox_opreation'); dexit(); } else { $magicnum = intval($magicnum); $price = intval($price); if(!$magicnum || $magicnum < 0) { showmessage('magics_num_invalid'); } elseif($magicnum > $magic['num']) { showmessage('magics_amount_no_enough'); } if($price) { $action = 'market'; if(empty($magicmarket)) { showmessage('magics_market_close'); } elseif($price < 0) { showmessage('magics_price_invalid'); } elseif(!empty($maxmagicprice) && $price > $magic['price'] * (1 + $maxmagicprice / 100)) { showmessage('magics_price_high'); } elseif(floor($price * (1 - $creditstax)) == 0) { showmessage('magics_price_iszero'); } $db->query("INSERT INTO {$tablepre}magicmarket (magicid, uid, username, price, num) VALUES ('$magicid', '$discuz_uid', '$discuz_user', '$price', '$magicnum')", 'UNBUFFERED'); updatemagiclog($magic['magicid'], '4', $magicnum, $price); } else { $action = 'index'; $discountprice = intval($magic['price'] * ($magicdiscount / 100)) * $magicnum; $db->query("UPDATE {$tablepre}members SET extcredits$creditstransextra[3]=extcredits$creditstransextra[3]+'$discountprice' WHERE uid='$discuz_uid'"); } usemagic($magic['magicid'], $magic['num'], $magicnum); showmessage('magics_succeed', '', 1); } } elseif($operation == 'drop') { if(!submitcheck('operatesubmit')) { include template('magic_mybox_opreation'); dexit(); } else { $magicnum = intval($magicnum); $price = intval($price); if(!$magicnum || $magicnum < 0) { showmessage('magics_num_invalid'); } elseif($magicnum > $magic['num']) { showmessage('magics_amount_no_enough'); } usemagic($magic['magicid'], $magic['num'], $magicnum); updatemagiclog($magic['magicid'], '2', $magicnum, $price); showmessage('magics_succeed', '', 1); } } elseif($operation == 'give') { if(!submitcheck('operatesubmit')) { include_once DISCUZ_ROOT.'./uc_client/client.php'; $buddynum = uc_friend_totalnum($discuz_uid, 3); $buddyarray = $buddynum ? uc_friend_ls($discuz_uid, 1, $buddynum, $buddynum, 3) : array(); if($buddyarray) { $uids = array(); foreach($buddyarray as $buddy) { $uids[] = $buddy['friendid']; } $buddyarray = array(); if($uids) { $query = $db->query("SELECT uid, username FROM {$tablepre}members WHERE uid IN (".implodeids($uids).")"); while($buddy = $db->fetch_array($query)) { $buddyarray[] = $buddy; } } } include template('magic_mybox_opreation'); dexit(); } else { $magicnum = intval($magicnum); $toname = dhtmlspecialchars(trim($tousername)); if(!$toname) { showmessage('magics_username_nonexistence'); } if($allowmagics < 2) { showmessage('magics_nopermission'); } $givemessage = dhtmlspecialchars(trim($givemessage)); givemagic($toname, $magic['magicid'], $magicnum, $magic['num'], '0', $givemessage); showmessage('magics_succeed', '', 1); } } else { showmessage('undefined_action', NULL, 'HALTED'); } } } elseif($action =='market') { $discuz_action = 172; if(empty($magicmarket)) { showmessage('magics_market_close'); } if(empty($operation) || $operation == 'my' || submitcheck('searchsubmit')) { $ascdesc = isset($ascdesc) && in_array(strtoupper($ascdesc), array('ASC', 'DESC')) ? strtoupper($ascdesc) : 'DESC'; $orderby = isset($orderby) && in_array(strtolower($orderby), array('price', 'num')) ? strtolower($orderby) : ''; $magicid = isset($magicid) && is_numeric($magicid) ? intval($magicid) : 0; $magicadd = !empty($magicid) ? '&amp;magicid='.$magicid : ''; $magicadd .= !empty($orderby) ? '&amp;orderby='.$orderby : ''; $magicadd .= !empty($ascdesc) ? '&amp;ascdesc='.$ascdesc : ''; $filteradd = $operation == 'my' ? 'WHERE uid=\''.$discuz_uid.'\'' : ''; $filteradd .= $magicid && empty($operation) ? 'WHERE magicid=\''.intval($magicid).'\'' : ''; $filteradd .= $orderby ? " ORDER BY $orderby $ascdesc" : ''; $check = array(); $check[$magicid] = $check[$orderby] = $check[$ascdesc] = 'selected="selected"'; $magiccount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}magicmarket $filteradd"); $multipage = multi($magiccount, $tpp, $page, "magic.php?action=market$magicadd"); $query = $db->query("SELECT * FROM {$tablepre}magicmarket $filteradd LIMIT $start_limit,$tpp"); while($magic = $db->fetch_array($query)) { $magic['weight'] = $magicarray[$magic['magicid']]['weight']; $magic['name'] = $magicarray[$magic['magicid']]['name']; $magic['description'] = $magicarray[$magic['magicid']]['description']; $magiclist[] = $magic; } $magicselect = ''; foreach($magicarray as $id => $magic) { if($magic['available']) { $magicselect .= '<option value="'.$id.'" '.$check[$id].'>'.$magic['name'].'</option>'; } } } elseif($operation == 'buy' || $operation == 'down') { $magicnum = intval($magicnum); if($magic = $db->fetch_first("SELECT mid, magicid, uid, username, price, num FROM {$tablepre}magicmarket WHERE mid='$mid'")) { $magic['pic'] = strtolower($magicarray[$magic['magicid']]['identifier']).".gif"; $magic['name'] = $magicarray[$magic['magicid']]['name']; $magic['marketprice'] = $magicarray[$magic['magicid']]['price']; $magic['description'] = $magicarray[$magic['magicid']]['description']; $magic['weight'] = $magicarray[$magic['magicid']]['weight']; } if(($operation == 'buy' && $magic['uid'] == $discuz_uid) || ($operation == 'down' && $magic['uid'] != $discuz_uid)) { showmessage('magics_market_operation_error'); } if(submitcheck('buysubmit')) { $magicnum = intval($magicnum); $magicprice = $magic['price'] * $magicnum; $magicweight = $magic['weight'] * $magicnum; if(!$magicnum || $magicnum < 0) { showmessage('magics_num_invalid'); } elseif($magic['num'] < $magicnum) { showmessage('magics_amount_no_enough'); } if(${'extcredits'.$creditstransextra[3]} < $magicprice) { showmessage('magics_credits_no_enough'); } getmagic($magic['magicid'], $magicnum, $magicweight, $totalweight, $discuz_uid, $maxmagicsweight); $totalcredit = floor($magicprice * (1 - $creditstax)); $db->query("UPDATE {$tablepre}members SET extcredits$creditstransextra[3]=extcredits$creditstransextra[3]+'$totalcredit' WHERE uid='$magic[uid]'"); $db->query("UPDATE {$tablepre}members SET extcredits$creditstransextra[3]=extcredits$creditstransextra[3]+(-'$magicprice') WHERE uid='$discuz_uid'"); sendnotice($magic['uid'], 'magics_sell', 'systempm'); updatemagiclog($magic['magicid'], '5', $magicnum, $magic['price'], '0', $discuz_uid); marketmagicnum($magic['mid'], $magic['num'], $magicnum); showmessage('magics_succeed', 'magic.php?action=market'); } if(submitcheck('downsubmit')) { if($magic['num'] < $magicnum || $magicnum < 0) { showmessage('magics_amount_no_enough'); } $magic['weight'] = $magic['weight'] * $magicnum; getmagic($magic['magicid'], $magicnum, $magic['weight'], $totalweight, $discuz_uid, $maxmagicsweight); updatemagiclog($magic['magicid'], '6', $magicnum, '0', '0', $discuz_uid); marketmagicnum($magic['mid'], $magic['num'], $magicnum); showmessage('magics_succeed', 'magic.php?action=market'); } } } elseif($action == 'log') { $discuz_action = 173; $loglist = array(); if($operation == 'uselog') { $query = $db->query("SELECT COUNT(*) FROM {$tablepre}magiclog WHERE action='2' AND uid='$discuz_uid'"); $multipage = multi($db->result($query, 0), $tpp, $page, 'magic.php?action=log&amp;operation=uselog'); $query = $db->query("SELECT ml.*, me.username FROM {$tablepre}magiclog ml LEFT JOIN {$tablepre}members me ON me.uid=ml.uid WHERE ml.action='2' AND ml.uid='$discuz_uid' ORDER BY ml.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['name'] = $magicarray[$log['magicid']]['name']; if($log['targettid'] || $log['targetpid']) { $log['target'] = 'viewthread.php?tid='.$log['targettid']; } elseif($log['targetuid']) { $log['target'] = 'space.php?uid='.$log['targetuid']; } else { $log['target'] = ''; } $loglist[] = $log; } } elseif($operation == 'buylog') { $query = $db->query("SELECT COUNT(*) FROM {$tablepre}magiclog WHERE uid='$discuz_uid' AND action='1'"); $multipage = multi($db->result($query, 0), $tpp, $page, 'magic.php?action=log&amp;operation=buylog'); $query = $db->query("SELECT * FROM {$tablepre}magiclog WHERE uid='$discuz_uid' AND action='1' ORDER BY dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['name'] = $magicarray[$log['magicid']]['name']; $loglist[] = $log; } } elseif($operation == 'givelog') { $query = $db->query("SELECT COUNT(*) FROM {$tablepre}magiclog WHERE uid='$discuz_uid' AND action='3'"); $multipage = multi($db->result($query, 0), $tpp, $page, 'magic.php?action=log&amp;operation=givelog'); $query = $db->query("SELECT ml.*, me.username FROM {$tablepre}magiclog ml LEFT JOIN {$tablepre}members me ON me.uid=ml.targetuid WHERE ml.uid='$discuz_uid' AND ml.action='3' ORDER BY ml.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['name'] = $magicarray[$log['magicid']]['name']; $loglist[] = $log; } } elseif($operation == 'receivelog') { $query = $db->query("SELECT COUNT(*) FROM {$tablepre}magiclog WHERE targetuid='$discuz_uid' AND action='3'"); $multipage = multi($db->result($query, 0), $tpp, $page, 'magic.php?action=log&amp;operation=receivelog'); $query = $db->query("SELECT ml.*, me.username FROM {$tablepre}magiclog ml LEFT JOIN {$tablepre}members me ON me.uid=ml.uid WHERE ml.targetuid='$discuz_uid' AND ml.action='3' ORDER BY ml.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['name'] = $magicarray[$log['magicid']]['name']; $loglist[] = $log; } } elseif($operation == 'marketlog') { $query = $db->query("SELECT COUNT(*) FROM {$tablepre}magiclog WHERE uid='$discuz_uid' AND action IN ('4','5')"); $multipage = multi($db->result($query, 0), $tpp, $page, 'magic.php?action=log&amp;operation=receivelog'); $query = $db->query("SELECT * FROM {$tablepre}magiclog WHERE uid='$discuz_uid' AND action IN ('4','5','6') ORDER BY dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['name'] = $magicarray[$log['magicid']]['name']; $loglist[] = $log; } } } elseif($action == 'getmagic') { if(!$discuz_uid || !$allowmagics) { showmessage('magics_perm'); } $addtype = $tid || $pid ? 'AND type=\'1\'' : ''; $mymagiclist = array(); $query = $db->query("SELECT m.magicid, m.name, mm.num FROM {$tablepre}membermagics mm LEFT JOIN {$tablepre}magics m ON mm.magicid=m.magicid WHERE mm.uid='$discuz_uid' $addtype"); while($mymagic = $db->fetch_array($query)) { $mymagiclist[] = $mymagic; } if(empty($mymagiclist)) { showmessage('magics_nonexistence'); } include template('ajax_magiclist'); dexit(); } else { showmessage('undefined_action', NULL, 'HALTED'); } include template('magic'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/magic.php
PHP
asf20
23,006
#header .wrap { padding: 0 0 4px; background: url({STYLEIMGDIR}/header.gif) no-repeat 0 100%; } #menu { height: 25px; } #menu li { padding-left: 5px; } #menu li a, #menu li a:hover { padding: 0 20px 0 15px; border: none; background: transparent url({STYLEIMGDIR}/menu.gif) no-repeat 100% -30px; } #menu li a:hover { color: {MENUTEXT}; } #menu li.current { background-color: {MENUHOVER}; background-position: 0 -60px; } #menu li.current a, #menu li.current a { height: 25px; background-position: 100% -90px; color: {MENUHOVERTEXT}; } #menu li a.dropmenu { background: transparent url({STYLEIMGDIR}/menu.gif) no-repeat 100% -120px; } #nav { background-image: url({STYLEIMGDIR}/nav.gif); } .shadowline { border-top-color: {COMMONBORDER}; border-bottom-color: #FBEDF1; } .side .shadowline { border-top-color: #7F0D2A; border-bottom-color: #C36; } .sidebox h4, .with_side .sidebox h4 a {color: #D14875 !important; } .with_side .side, .with_side .side a, .side .textinfolist li a, #infoside .taglist a.tagl1 { color: {WRAPBG} !important; } .with_side .side .popupmenu_popup, .with_side .side .popupmenu_popup a, .special .side a { color: {TABLETEXT} !important; } #footer .pipe { color: {WRAPBG}; } .postbtn { background-image: url({STYLEIMGDIR}/post.gif) !important; } #ad_headerbanner { margin: 25px 0 30px; }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/fervor/css_append.htm
HTML
asf20
1,313
#header { background: transparent none; } #header .wrap { {HEADERBGCODE}; } #header h2 { padding-left: 15px; } #umenu { right: 9px; } #menu { bottom: 0; padding-right: 15px; background: url({STYLEIMGDIR}/header-c-b-r.gif) no-repeat 100% 100%; } #menu li.current a { border: none; background: #FFF; color: {MENUHOVER}; } #nav { background-image: url({IMGDIR}/home.gif); } #nav, #nav a { color: {TABLETEXT}; } #wrap { border-bottom: 1px solid {COMMONBORDER}; } #sidebar_img { z-index: 898; } #sidebar_img.collapsed_no { margin:0; padding: 6px 35px 6px 0; width: 180px; w\idth: 145px; background: url({STYLEIMGDIR}/side-top.gif) no-repeat 0 0; text-align: right; } #sidebar_img.collapsed_no:hover { background-position: 0 -40px !important; } .with_side .side h2 { margin: 0; padding: 20px 25px 10px; background: url({STYLEIMGDIR}/side-top.gif) no-repeat 0 -80px; } .shadowline { border-top-color: #EBE6C9; border-bottom-color: #FCF9E6; } .content { padding-left: 0; padding-right: 0; } .with_side .content { padding-right: 25px; } .postbtn, .replybtn { background-image: url({STYLEIMGDIR}/post.gif) !important; } .list { border-top: none; } .list h3 { margin-bottom: 8px; padding: 0 !important; height: 35px; background: #F9F4CE; } .list h3 a { float: left; margin-left: -15px; padding-left: 15px; height: 35px; background: url({STYLEIMGDIR}/title.gif) no-repeat 0 100%; } .mainbox h3 { padding-left: 15px !important; background: #F9F4CE url({STYLEIMGDIR}/title.gif) no-repeat 0 100%; } #bdayslist a { float: none; background-image: none; } .headactions { height: 35px; he\ight: 23px; background: #F9F4CE url({STYLEIMGDIR}/title.gif) no-repeat 100% 0; } * html .headactions { margin-left: -3px; } #modarea .list h3 { padding-left: 15px !important; border-bottom: none; background: #F9F4CE url({STYLEIMGDIR}/title.gif) no-repeat 0 100%; } #modarea .list h3 a { margin-left: 0; padding-left: 0; background-image: none; } #modarea .list h3 .pipe { float: left; } #ad_text { background: {COMMONBG}; }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/uchome/css_append.htm
HTML
asf20
2,017
{subtemplate header_ajax} <ul> <!--{loop $pmlist $pm}--> <li> <!--{if $pm['msgfromid'] > 0}--> <a href="pm.php?uid=$pm[touid]&filter=privatepm&daterange=$pm[daterange]#new" target="_blank"><em>$pm[msgfrom]</em>$pm[subject]</a> <!--{else}--> <a href="pm.php?pmid=$pm[pmid]&filter=systempm" target="_blank"><em>{lang pm_systemmessage}</em>$pm[subject]</a> <!--{/if}--> </li> <!--{/loop}--> <!--{if $morenum}--> <li><a href="pm.php">{lang pm_message_num}</a></li> <!--{/if}--> </ul> {subtemplate footer_ajax}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/pm_viewnew.htm
HTML
asf20
534
<table cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th>{lang thread}</th> <td width="20%">{lang activity_starttime}</td> <td>{lang activity_space}</td> <td width="10%">{lang activity_payment}</td> <td class="nums"> <select onchange="window.location=this.value"> <!--{if $type == 'orig'}--> <option value="my.php?item=activities&type=orig&filter=$extrafid">{lang status}</option> <option value="my.php?item=activities&type=orig&ended=no$extrafid"<!--{if $ended == 'no'}--> selected="selected"<!--{/if}-->>{lang my_activities_stop_stauts_no}</option> <option value="my.php?item=activities&type=orig&ended=yes$extrafid"<!--{if $ended == 'yes'}--> selected="selected"<!--{/if}-->>{lang my_activities_stop_stauts_yes}</option> <!--{elseif $type == 'apply'}--> <option value="my.php?item=activities&type=apply&filter=$extrafid">{lang status}</option> <option value="my.php?item=activities&type=apply&ended=no$extrafid"<!--{if $ended == 'no'}--> selected="selected"<!--{/if}-->>{lang activity_confirm_status_no}</option> <option value="my.php?item=activities&type=apply&ended=yes$extrafid"<!--{if $ended == 'yes'}--> selected="selected"<!--{/if}-->>{lang activity_confirm_status_yes}</option> <!--{/if}--> </select> </td> </tr> </thead> <!--{if $activity}--> <tbody> <!--{if $type == 'orig'}--> <!--{loop $activity $value}--> <tr> <td class="folder"> <a href="viewthread.php?tid=$value[tid]" target="_blank"> <!--{if $value[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$value[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" /> </td> <th><!--{if $value['displayorder'] >= 0}--><a href="viewthread.php?tid=$value['tid']" target="_black">$value[subject]</a><!--{else}-->$value[subject]<!--{/if}--></th> <td>$value[starttimefrom]</td> <td>$value[place]</td> <td>$value[cost]</td> <td class="nums"><!--{if $value['expiration']}-->{lang my_activities_stop_stauts_no}<!--{else}-->{lang my_activities_stop_stauts_yes}<!--{/if}--></td> </tr> <!--{/loop}--> <!--{else}--> <!--{loop $activity $value}--> <tr> <td class="folder"> <a href="viewthread.php?tid=$value[tid]" target="_blank"> <!--{if $value[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$value[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" /> </td> <th><!--{if $thread['displayorder'] >= 0}--><a href="viewthread.php?tid=$value['tid']" target="_black">$value[subject]</a><!--{else}-->$value[subject]<!--{/if}--></th> <td>$value[starttimefrom]</td> <td>$value[place]</td> <td>$value[cost]</td> <td class="nums"><!--{if $value['verified']}-->{lang activity_confirm_status_yes}<!--{else}-->{lang activity_confirm_status_no}<!--{/if}--></td> </tr> <!--{/loop}--> <!--{/if}--> </tbody> <!--{else}--> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th colspan="4"><p class="nodata">{lang data_nonexistence}</p></th> </tr> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_activities.htm
HTML
asf20
3,616
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"><div class="main"><div class="content nofloat"> <div class="fcontent alert_win"> <form method="post" action="forumdisplay.php?fid=$fid&action=pwverify"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <div class="postbox"><div class="alert_info"> <h1>{lang forum_password_require}</h1> </div> <div class="alert_act"> <input type="password" name="pw" size="25"> &nbsp;<button class="submit" type="submit" name="loginsubmit" value="true">{lang submit}</button> </div> </div> </form> </div> </div></div></div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/forumdisplay_passwd.htm
HTML
asf20
700
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang trade_confirm_buy}</div> <div id="wrap" class="wrap s_clear"> <div class="content"> <script type="text/javascript" src="{$jspath}viewthread.js?{VERHASH}"></script> <script type="text/javascript"> zoomstatus = parseInt($zoomstatus); var feevalue = 0; {if $trade[price] > 0}var price = $trade[price];{/if} {if $creditstransextra[5] != -1 && $trade[credit]}var credit = $trade[credit];var currentcredit = $GLOBALS['extcredits'.$creditstransextra[5]];{/if} </script> <form method="post" id="tradepost" name="tradepost" action="trade.php?action=trade&tid=$tid&pid=$pid"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <div class="c_header"><h3 class="noarrow">{lang trade_confirm_buy}</h3></div> <table summary="{lang trade_confirm_buy}" cellspacing="0" cellpadding="0" class="formtable"> <tr> <th> <!--{if $trade['aid']}--> <a href="viewthread.php?do=tradeinfo&tid=$tid&pid=$pid"><img src="attachment.php?aid={echo aidencode($trade[aid]);}&noupdate=yes" onload="thumbImg(this, 1)" _width="80" _height="80" alt="$trade[subject]" /></a> <!--{else}--> <a href="viewthread.php?do=tradeinfo&tid=$tid&pid=$pid"><img src="{IMGDIR}/trade_nophotosmall.gif" alt="$trade[subject]" /></a> <!--{/if}--> </th> <td valign="top"> <p>{lang trade_price}: <!--{if $trade[price] > 0}--> &nbsp;<strong>$trade[price]</strong>&nbsp;{lang payment_unit} <!--{/if}--> <!--{if $creditstransextra[5] != -1 && $trade[credit]}--> &nbsp;{$extcredits[$creditstransextra[5]][title]}&nbsp;<strong>$trade[credit]</strong>&nbsp;{$extcredits[$creditstransextra[5]][unit]} <!--{/if}--> </p> <!--{if $trade[locus]}--><p>{lang post_trade_locus}:&nbsp;$trade[locus]</p><!--{/if}--> <p>{lang trade_seller}:&nbsp;<a href="space.php?uid=$trade[sellerid]" target="_blank">$trade[seller]</a></p> </td> </tr> <tr> <th>{lang trade_credits_total}</th> <td> <!--{if $trade[price] > 0}--><strong id="caculate"></strong>&nbsp;{lang trade_units}&nbsp;&nbsp;<!--{/if}--> <!--{if $creditstransextra[5] != -1 && $trade[credit]}-->{$extcredits[$creditstransextra[5]][title]}&nbsp;<strong id="caculatecredit"></strong>&nbsp;{$extcredits[$creditstransextra[5]][unit]}&nbsp;<span id="crediterror"></span><!--{/if}--> </td> </tr> <tr> <th><label for="number">{lang trade_nums}</label></th> <td><input type="text" id="number" name="number" onkeyup="calcsum()" value="1" class="txt" /></td> </tr> <tr> <th>{lang post_trade_transport}</th> <td> <p> <!--{if $trade['transport'] == 1}--><input type="hidden" name="transport" value="1">{lang post_trade_transport_seller}<!--{/if}--> <!--{if $trade['transport'] == 2}--><input type="hidden" name="transport" value="2">{lang post_trade_transport_buyer}<!--{/if}--> <!--{if $trade['transport'] == 3}--><input type="hidden" name="transport" value="3">{lang post_trade_transport_virtual}<!--{/if}--> <!--{if $trade['transport'] == 4}--><input type="hidden" name="transport" value="4">{lang post_trade_transport_physical}<!--{/if}--> </p> <!--{if $trade['transport'] == 1 or $trade['transport'] == 2 or $trade['transport'] == 4}--> <!--{if !empty($trade['ordinaryfee'])}--> <label><input class="radio" type="radio" name="fee" value="1" checked="checked" <!--{if $trade['transport'] == 2}-->onclick="feevalue = $trade[ordinaryfee];calcsum()"<!--{/if}--> /> {lang post_trade_transport_mail} $trade[ordinaryfee] {lang payment_unit}</label><!--{if $trade['transport'] == 2}--><script type="text/javascript">feevalue = $trade[ordinaryfee]</script><!--{/if}--><!--{/if}--> <!--{if !empty($trade['expressfee'])}--> <label><input class="radio" type="radio" name="fee" value="3" checked="checked" <!--{if $trade['transport'] == 2}-->onclick="feevalue = $trade[expressfee];calcsum()"<!--{/if}--> /> {lang post_trade_transport_express} $trade[expressfee] {lang payment_unit}</label><!--{if $trade['transport'] == 2}--><script type="text/javascript">feevalue = $trade[expressfee]</script><!--{/if}--><!--{/if}--> <!--{if !empty($trade['emsfee'])}--> <label><input class="radio" type="radio" name="fee" value="2" checked="checked" <!--{if $trade['transport'] == 2}-->onclick="feevalue = $trade[emsfee];calcsum()"<!--{/if}--> /> EMS $trade[emsfee] {lang payment_unit}</label><!--{if $trade['transport'] == 2}--><script type="text/javascript">feevalue = $trade[emsfee]</script><!--{/if}--><!--{/if}--> <!--{/if}--> </td> </tr> <tr> <th>{lang trade_paymethod}</th> <td> <!--{if !$discuz_uid}--> <label><input type="hidden" name="offline" value="0" checked="checked" /> {lang trade_pay_alipay}</label> <!--{elseif !$trade['account']}--> <input type="hidden" name="offline" value="1" checked="checked" /> {lang trade_pay_offline} <!--{else}--> <label><input type="radio" class="radio" name="offline" value="0" checked="checked" /> {lang trade_pay_alipay}</label> <label><input type="radio" class="radio" name="offline" value="1" /> {lang trade_pay_offline}</label> <!--{/if}--> </td> </tr> <!--{if $trade['transport'] != 3}--> <tr> <th><label for="buyername">{lang trade_buyername}</label></th> <td><input type="text" id="buyername" name="buyername" maxlength="50" value="$lastbuyerinfo[buyername]" class="txt" /></td> </tr> <tr> <th><label for="buyercontact">{lang trade_buyercontact}</label></th> <td><input type="text" id="buyercontact" name="buyercontact" maxlength="100" size="80" value="$lastbuyerinfo[buyercontact]" class="txt" /></td> </tr> <tr> <th><label for="buyerzip">{lang trade_buyerzip}</label></th> <td><input type="text" id="buyerzip" name="buyerzip" maxlength="10" value="$lastbuyerinfo[buyerzip]" class="txt" /></td> </tr> <tr> <th><label for="buyerphone">{lang trade_buyerphone}</label></th> <td><input type="text" id="buyerphone" name="buyerphone" maxlength="20" value="$lastbuyerinfo[buyerphone]" class="txt" /></td> </tr> <tr> <th><label for="buyermobile">{lang trade_buyermobile}</label></th> <td><input type="text" id="buyermobile" name="buyermobile" maxlength="20" value="$lastbuyerinfo[buyermobile]" class="txt" /></td> </tr> <!--{else}--> <input type="hidden" name="buyername" value="" /> <input type="hidden" name="buyercontact" value="" /> <input type="hidden" name="buyerzip" value="" /> <input type="hidden" name="buyerphone" value="" /> <input type="hidden" name="buyermobile" value="" /> <!--{/if}--> <tr> <th valign="top"><label for="buyermsg">{lang trade_seller_remark}</label><div class="tips">{lang trade_seller_remark_comment}</div></th> <td> <textarea id="buyermsg" name="buyermsg" rows="3" class="txtarea"></textarea> </td> </tr> <tr> <th>&nbsp;</th> <td> <button class="submit" type="submit" id="tradesubmit" name="tradesubmit" value="true">{lang trade_buy_confirm}</button> <!--{if !$discuz_uid}--><em class="tips">{lang trade_guest_alarm}</em><!--{/if}--> </td> </tr> </table> </form> <script type="text/javascript"> function calcsum() { {if $trade[price] > 0}$('caculate').innerHTML = (price * $('tradepost').number.value + feevalue);{/if} {if $creditstransextra[5] != -1 && $trade[credit]} v = (credit * $('tradepost').number.value + feevalue); if(v > currentcredit) { $('crediterror').innerHTML = '{lang trade_buy_crediterror}'; } else { $('crediterror').innerHTML = ''; } $('caculatecredit').innerHTML = v; {/if} } calcsum(); </script> </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/trade.htm
HTML
asf20
8,134
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; <a href="stats.php">{lang stats}</a> &raquo; {lang stats_trade_rank}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <h1>{lang stats_trade_rank}</h1> <div class="datalist"> <div id="list_trade_c" class="c_header"> <h3 onclick="toggle_collapse('list_trade', 1, 1);">{lang trade_price_sort}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_trade', 1, 1);">[ {lang open} ]</p> </div> </div> <!--{if $tradesums}--> <table id="list_trade" cellspacing="0" cellpadding="0"> <thead class="colplural"> <tr> <td>{lang post_trade_name}</td> <td width="160">{lang trade_seller}</td> <td width="80">{lang trade_totalprice}({lang payment_unit})</td> </tr> </thead> <tbody> <!--{loop $tradesums $tradesum}--> <tr class="{echo swapclass('colplural')}"> <td><a target="_blank" href="viewthread.php?do=tradeinfo&tid=$tradesum[tid]&pid=$tradesum[pid]">$tradesum[subject]</a></td> <td><a target="_blank" href="space.php?uid=$tradesum[sellerid]">$tradesum[seller]</a></td> <td>$tradesum[tradesum]</td> </tr> <!--{/loop}--> </tbody> </table> <!--{/if}--> <!--{if $credittradesums}--> <table id="list_trade" cellspacing="0" cellpadding="0"> <thead class="colplural"> <tr> <td>{lang post_trade_name}</td> <td width="160">{lang trade_seller}</td> <td width="80">{lang trade_totalprice}({$extcredits[$creditstransextra[5]][title]})</td> </tr> </thead> <tbody> {eval unset($swapc);} <!--{loop $credittradesums $credittradesum}--> <tr class="{echo swapclass('colplural')}"> <td><a target="_blank" href="viewthread.php?do=tradeinfo&tid=$credittradesum[tid]&pid=$tradesum[pid]">$credittradesum[subject]</a></td> <td><a target="_blank" href="space.php?uid=$credittradesum[sellerid]">$credittradesum[seller]</a></td> <td>$credittradesum[credittradesum]</td> </tr> <!--{/loop}--> </tbody> </table> <!--{/if}--> <div id="list_trace_number_c" class="c_header"> <h3 onclick="toggle_collapse('list_trace_number', 1, 1);">{lang trace_number_sort}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_trace_number', 1, 1);">[ {lang open} ]</p> </div> </div> <!--{if $totalitems}--> <table id="list_trace_number" cellspacing="0" cellpadding="0"> <thead class="colplural"> <tr> <td>{lang post_trade_name}</td> <td width="160">{lang trade_seller}</td> <td width="80">{lang trace_sell_number}</td> </tr> </thead> <tbody> {eval unset($swapc);} <!--{loop $totalitems $totalitem}--> <tr class="{echo swapclass('colplural')}"> <td><a target="_blank" href="viewthread.php?do=tradeinfo&tid=$tradesum[tid]&pid=$tradesum[pid]">$totalitem[subject]</a></td> <td><a target="_blank" href="space.php?uid=$totalitem[sellerid]">$totalitem[seller]</a></td> <td>$totalitem[totalitems]</td> </tr> <!--{/loop}--> </tbody> </table> <!--{/if}--> </div> <div class="notice">{lang stats_update}</div> </div> </div> <div class="side"> {subtemplate stats_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/stats_trade.htm
HTML
asf20
3,618
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang search}</div> <div id="wrap" class="wrap"> <form class="searchform" method="post" action="search.php"{if $qihoo['status']} target="_blank"{/if}> <input type="hidden" name="formhash" value="{FORMHASH}" /> <!--{if !empty($srchtype)}--><input type="hidden" name="srchtype" value="$srchtype" /><!--{/if}--> <label for="srchtxt" class="searchlabel"> {lang search} <strong> <!--{if $srchtype == 'threadsort'}--> {lang search_info} <!--{elseif $srchtype == 'trade'}--> {lang search_trade} <!--{elseif $srchtype == 'qihoo'}--> {lang search_qihoo} <!--{else}--> {lang search_title} <!--{/if}--> </strong> </label> <!--{if $srchtype != 'threadsort'}--> <p class="searchkey"> <input type="text" id="srchtxt" name="srchtxt" prompt="search_kw" size="45" maxlength="40" value="$keyword" class="txt" tabindex="1" /> <script type="text/javascript">$('srchtxt').focus();</script> <!--{if $checkarray[posts]}--> <select name='srchtype'> <option value="title">{lang title}</option> <!--{if !$disabled[fulltext]}--><option value="fulltext">{lang search_fulltext}</option><!--{/if}--> </select> <!--{/if}--> <button type="submit" name="searchsubmit" id="searchsubmit" value="true" prompt="search_submit">{lang search}</button> <!--{if $checkarray[posts]}--> <a href="javascript:;" onclick="userdisplay = $('search_option').style.display == '' ? '0' : '1'; display('search_option'); ajaxget('ajax.php?action=displaysearch_adv&display='+userdisplay);">{lang search_adv}</a> <!--{/if}--> </p> <!--{/if}--> <p> <input type="radio" name="st" onclick="window.location=('search.php')" {$checkarray[posts]} id="srchtypeposts"/> <label for="srchtypeposts">{lang search_title}</label> <input type="radio" name="st" onclick="window.location=('search.php?srchtype=trade')" {$checkarray[trade]} id="srchtypetrade"/> <label for="srchtypetrade">{lang search_trade}</label> <!--{if $qihoo['status']}--><input type="radio" name="st" onclick="window.location=('search.php?srchtype=qihoo')" {$checkarray[qihoo]} id="srchtypeqihoo" /> <label for="srchtypeqihoo">{lang search_qihoo}</label><!--{/if}--> <input type="radio" name="st" onclick="window.location=('search.php?srchtype=threadsort')" {$checkarray[threadsort]} id="srchtypesort"/> <label for="srchtypesort">{lang search_info}</label> </p> {eval $policymsgs = $p = '';} <!--{loop $creditspolicy['search'] $id $policy}--> <!--{block policymsg}--><!--{if $extcredits[$id][img]}-->$extcredits[$id][img] <!--{/if}-->$extcredits[$id][title] $policy $extcredits[$id][unit]<!--{/block}--> {eval $policymsgs .= $p.$policymsg;$p = ', ';} <!--{/loop}--> <!--{if $policymsgs}--><p>{lang search_credit_msg}</p><!--{/if}--> <!--{if $srchtype != 'qihoo'}--> <div id="search_option" {if $checkarray[posts] && empty($_DCOOKIE[displaysearch_adv])}style="display: none;"{/if}> <hr class="shadowline"/> <h3>{lang search_option}</h3> <table summary="{lang search}" cellspacing="0" cellpadding="0" class="formtable"> <!--{if $srchtype == 'threadsort'}--> <tr> <th><label for="typeid">{lang threadtype_option}</label></th> <td> <select name="sortid" onchange="ajaxget('post.php?action=threadsorts&sortid='+this.options[this.selectedIndex].value+'&operate=1&sid=$sid', 'threadsorts', 'threadsortswait')"> <option value="0">{lang none}</option>$threadsorts </select> <span id="threadsortswait"></span> </td> </tr> <tbody id="threadsorts"></tbody> <!--{/if}--> <!--{if $checkarray[posts] || $srchtype == 'trade'}--> <tr> <td>{lang author}</td> <td><input type="text" id="srchname" name="srchuname" size="45" maxlength="40" class="txt" /></td> </tr> <tr> <td>{lang search_thread_range}</td> <td> <label><input type="radio" name="srchfilter" value="all" checked="checked" /> {lang search_thread_range_all}</label> <label><input type="radio" name="srchfilter" value="digest" /> {lang search_thread_range_digest}</label> <label><input type="radio" name="srchfilter" value="top" /> {lang search_thread_range_top}</label> </td> </tr> <!--{/if}--> <!--{if $checkarray[posts]}--> <tr> <td>{lang special_thread}</td> <td> <label><input type="checkbox" name="special[]" value="1" /> {lang special_poll}</label> <label><input type="checkbox" name="special[]" value="2" /> {lang special_trade}</label> <label><input type="checkbox" name="special[]" value="3" /> {lang special_reward}</label> <label><input type="checkbox" name="special[]" value="4" /> {lang special_activity}</label> <label><input type="checkbox" name="special[]" value="5" /> {lang special_debate}</label> <!--{loop $threadplugins $pluginid $threadplugin}--> <label><input type="checkbox" name="specialplugin[]" value="$threadplugin[iconid]" /> $threadplugin[name]</label> <!--{/loop}--> </td> </tr> <!--{/if}--> <!--{if $srchtype == 'trade'}--> <tr> <td>{lang search_tradetype}</td> <td> <select name="srchtypeid"><option value="">{lang all}</option> <!--{loop $tradetypes $typeid $typename}--> <option value="$typeid">$typename</option> <!--{/loop}--> </select> </td> </tr> <!--{/if}--> <!--{if $checkarray[posts] || $srchtype == 'trade'}--> <tr> <th><label for="srchfrom">{lang search_time}</label></th> <td> <select id="srchfrom" name="srchfrom"> <option value="0">{lang search_any_date}</option> <option value="86400">{lang 1_days_ago}</option> <option value="172800">{lang 2_days_ago}</option> <option value="604800">{lang 7_days_ago}</option> <option value="2592000">{lang 30_days_ago}</option> <option value="7776000">{lang 90_days_ago}</option> <option value="15552000">{lang 180_days_ago}</option> <option value="31536000">{lang 365_days_ago}</option> </select> <label><input type="radio" name="before" value="" checked="checked" /> {lang search_newer}</label> <label><input type="radio" name="before" value="1" /> {lang search_older}</label> </td> </tr> <tr> <td><label for="orderby">{lang search_orderby}</label></td> <td> <select id="orderby1" name="orderby"> <option value="lastpost" selected="selected">{lang order_lastpost}</option> <option value="dateline">{lang order_starttime}</option> <option value="replies">{lang order_replies}</option> <option value="views">{lang order_views}</option> </select> <select id="orderby2" name="orderby" style="position: absolute; display: none" 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><input type="radio" name="ascdesc" value="asc" /> {lang order_asc}</label> <label><input type="radio" name="ascdesc" value="desc" checked="checked" /> {lang order_desc}</label> </td> </tr> <!--{/if}--> <tr> <td valign="top"><label for="srchfid">{lang search_range}</label></td> <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> <!--{if $srchtype == 'threadsort'}--> <tr> <th>&nbsp;</th> <td><button class="submit" type="submit" name="searchsubmit" value="true">{lang search}</button></td> </tr> <!--{/if}--> </table> </div> <!--{/if}--> <!--{if empty($srchtype) && empty($keyword)}--> <hr class="shadowline"/> <h3>{lang search_quick}</h3> <table cellspacing="4" cellpadding="0" width="100%"> <tr> <td><a href="search.php?srchfrom=3600&searchsubmit=yes">{lang search_quick_hour_1}</a></td> <td><a href="search.php?srchfrom=14400&searchsubmit=yes">{lang search_quick_hour_4}</a></td> <td><a href="search.php?srchfrom=28800&searchsubmit=yes">{lang search_quick_hour_8}</a></td> <td><a href="search.php?srchfrom=86400&searchsubmit=yes">{lang search_quick_hour_24}</a></td> </tr> <tr> <td><a href="search.php?srchfrom=604800&searchsubmit=yes">{lang search_quick_day_7}</a></td> <td><a href="search.php?srchfrom=2592000&searchsubmit=yes">{lang search_quick_day_30}</a></td> <td><a href="search.php?srchfrom=15552000&searchsubmit=yes">{lang search_quick_day_180}</a></td> <td><a href="search.php?srchfrom=31536000&searchsubmit=yes">{lang search_quick_day_365}</a></td> </tr> </table> <!--{/if}--> </form> <!--{if !empty($searchid) && submitcheck('searchsubmit', 1)}--> <!--{if $checkarray['posts']}--> {subtemplate search_threads} <!--{elseif $checkarray['threadsort']}--> {subtemplate search_sort} <!--{/if}--> <!--{/if}--> </div> <script type="text/javascript"> <!--{if $sortid}--> ajaxget('post.php?action=threadsorts&sortid=$sortid&operate=1&inajax=1', 'threadsorts', 'threadsortswait'); <!--{/if}--> </script> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/search.htm
HTML
asf20
9,429
{subtemplate header} <div id="nav"> <a href="$indexname">$bbname</a> &raquo; <a href="userapp.php">{lang manyou:myop}</a> &raquo; {lang manyou:admincp} </div> <div id="wrap" class="wrap s_clear uappmain"> <div class="main"><div class="content"> <!--{if $my_status}--> <table width="100%"> <tr> <td> <strong>{lang manyou:tips_title}</strong><br> {lang manyou:tips_comment} </td> </tr> <tr> <td> <table><tr><td> <form method="post" action="userapp.php?script=admincp"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="submit" name="mysubmit" value="{lang manyou:myop_sync}" class="submit"> </form> </td><td> <form method="post" action="userapp.php?script=admincp"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="submit" name="closemysubmit" value="{lang manyou:myop_close}" class="submit"> </form> </td></tr> </table> </td> </tr> <tr> <td> <form method="post" action="userapp.php?script=admincp"> MYOP {lang manyou:myop_credit} <select name="myextcreditnew"> <!--{loop $extcredits $id $credit}--> <option value="$id"{if $my_extcredit == $id} selected="selected"{/if}>$credit[title]</option> <!--{/loop}--> </select> &nbsp; {lang manyou:feedperpage} <input name="myfeedppnew" value="$my_feedpp" size="4" /> &nbsp; <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="submit" name="settingmysubmit" value="{lang manyou:save}" class="submit"> </form> </td> </tr> </table> <!--{else}--> <form method="post" action="userapp.php?script=admincp&action=userapp"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <table width="100%"> <tr><td>{lang manyou:myop_intro_message}</td></tr> <tr><td> <input type="submit" name="mysubmit" value="{lang manyou:myop_open}" class="submit"> </td></tr> </table> </form> <!--{/if}--> </div> <br> <!--{if $my_status}--> <script type="text/javascript" src="http://static.manyou.com/scripts/my_iframe.js"></script> <script type="text/javascript"> var prefixURL = "$my_prefix"; var suffixURL = "$my_suffix"; var queryString = ''; var url = "$url"; var oldHash = null; var timer = null; var server = new MyXD.Server("ifm0"); server.registHandler('iframeHasLoaded'); server.registHandler('setTitle'); server.start(); function iframeHasLoaded(ifm_id) { MyXD.Util.showIframe(ifm_id); document.getElementById('loading').style.display = 'none'; } function setTitle(x) { document.title = x + ' - <!--{eval echo addslashes($discuz_user.' - '.$bbname);}--> - Powered by Discuz!'; } </script> <div> <div id="loading" style="display:block; padding:100px 0 100px 0;text-align:center;color:#999999;font-size:12px;"> <img src="manyou/images/loading.gif" alt="loading..." style="position:relative;top:11px;"/> {lang manyou:loading} </div> <center><iframe id="ifm0" frameborder="0" width="810" scrolling="no" height="810" style="position:absolute; top:-5000px; left:-5000px;" src="$url"></iframe></center> </div> <!--{/if}--> </div></div> </div> $my_noticejs {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/manyou_admincp.htm
HTML
asf20
3,267
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang memcp_validating}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <h1>{lang memcp_validating}</h1> <form method="post" action="member.php?action=regverify"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <table summary="{lang memcp_validating}" cellpadding="0" cellspacing="0" class="formtable"> <thead> <tr> <th>&nbsp;</th> <td>{lang memcp_validating_info}</td> </tr> </thead> <tr> <th>{lang memcp_validating_status}</th> <td><strong><!--{if $validating['status'] == 0}-->{lang memcp_validating_status_0}<!--{elseif $validating['status'] == 1}-->{lang memcp_validating_status_1}<!--{/if}--></strong></td> </tr> <!--{if $validating['admin']}--> <tr> <th>{lang memcp_validating_admin}</th> <td><a href="space.php?username=$validating[adminenc]">$validating[admin]</a></td> </tr> <!--{/if}--> <!--{if $validating['moddate']}--> <tr> <th>{lang memcp_validating_time}</th> <td>$validating[moddate]</td> </tr> <!--{/if}--> <!--{if $validating['remark']}--> <tr> <th>{lang memcp_validating_remark}</th> <td>$validating[remark]</td> </tr> <!--{/if}--> <!--{if $validating['status'] == 1}--> <tr> <th valign="top"><label for="regmessagenew">{lang register_message}</label></th> <td><textarea rows="5" cols="50" id="regmessagenew" name="regmessagenew" class="txtarea">$validating[message]</textarea></td> </tr> <tr> <th></th> <td><button type="submit" class="submit" name="verifysubmit" id="verifysubmit" value="true">{lang submit}</button></td> </tr> <!--{else}--> <tr> <th valign="top"><label for="regmessagenew">{lang register_message}</label></th> <td>$validating[message]</td> </tr> <!--{/if}--> </table> </form> </div> </div> <div class="side"> {subtemplate personal_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/memcp_validating.htm
HTML
asf20
2,184
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent" id="floatlayout_topicadmin"> <h3 class="float_ctrl"> <em id="return_mods"><!--{if in_array($action, array('delpost', 'banpost', 'warn'))}-->{lang admin_select_piece}<!--{else}-->{lang admin_select_one_piece}<!--{/if}--></em> <span> <a href="javascript:;" class="float_close" onclick="{if $action == 'stamp'}if ($('threadstamp')) $('threadstamp').innerHTML = oldthreadstamp;{/if}hideWindow('mods')" title="{lang close}">{lang close}</a> </span> </h3> <form id="topicadminform" method="post" action="topicadmin.php?action=$action&modsubmit=yes&infloat=yes&modclick=yes" onsubmit="ajaxpost('topicadminform', 'return_mods', 'return_mods', 'onerror');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="fid" value="$fid"> <input type="hidden" name="tid" value="$tid"> <div class="postbox"> <div class="{if $action != 'split'}topicadminlow{else}topicadminhigh{/if}"> <!--{if $action == 'delpost'}--> $deleteid {lang admin_delposts} <!--{elseif $action == 'copy'}--> <p>{lang admin_target}:</p> <p class="tah_body"> <select name="copyto">$forumselect</select> </p> <!--{elseif $action == 'banpost'}--> $banid <ul class="inlinelist"> <li><label><input type="radio" class="radio" name="banned" value="1" $checkban /> {lang admin_banpost}</label></li> <li><label><input type="radio" class="radio" name="banned" value="0" $checkunban /> {lang admin_unbanpost}</li> </ul> <script type="text/javascript" reload="1"> function submithandle_mods(locationhref) { {loop $topiclist $pid} ajaxget('viewthread.php?tid=$tid&viewpid=$pid&modclick=yes', 'post_$pid', 'post_$pid'); {/loop} hideWindow('mods'); } </script> <!--{elseif $action == 'warn'}--> $warnpid <ul class="inlinelist"> <li><input type="radio" class="radio" name="warned" value="1" $checkwarn /> {lang topicadmin_warn_add}</li> <li><input type="radio" class="radio" name="warned" value="0" $checkunwarn /> {lang topicadmin_warn_delete}</li> </ul> <!--{if ($modpostsnum == 1 || $authorcount == 1) && $authorwarnings > 0}--> <br /><div style="clear: both; text-align: right;" title="{lang topicadmin_warn_prompt}">{lang topicadmin_warn_nums}</div> <!--{/if}--> <script type="text/javascript" reload="1"> function submithandle_mods(locationhref) { {loop $topiclist $pid} ajaxget('viewthread.php?tid=$tid&viewpid=$pid&modclick=yes', 'post_$pid', 'post_$pid'); {/loop} hideWindow('mods'); } </script> <!--{elseif $action == 'merge'}--> <table cellspacing="0" cellpadding="0"> <tr> <td><label for="othertid">{lang admin_merge} &rarr;</label></td> <td>{lang admin_merge_tid}</td> </tr> <tr> <td></td> <td><input type="text" id="othertid" name="othertid" size="10" /></td> </tr> </table> <!--{elseif $action == 'refund'}--> <table cellspacing="0" cellpadding="0"> <tr> <th>{lang pay_buyers}</th> <td>$payment[payers]</td> </tr> <tr> <th>{lang pay_author_income}</th> <td>{$extcredits[$creditstransextra[1]][title]} $payment[netincome] {$extcredits[$creditstransextra[1]][unit]}</td> </tr> </table> <!--{elseif $action == 'split'}--> <table cellspacing="0" cellpadding="0"> <tr> <td><label for="subject">{lang admin_split_newsubject}</label></td> </tr> <tr> <td><input type="text" name="subject" id="subject" size="20" class="txt" /></td> </tr> <tr> <td><label for="split">{lang admin_split_comment}</label></td> </tr> <tr> <td><textarea name="split" id="split" class="txtarea" style="width: 212px; height:120px" /></textarea></td> </tr> </table> <!--{elseif $action == 'stamp'}--> <p>{lang admin_stamp_select}:</p> <p class="tah_body"> <select name="stamp" id="stamp" onchange="updatestampimg()"> <option value="">{lang admin_stamp_none}</option> <!--{loop $_DCACHE['stamps'] $stampid $stamp}--> <option value="$stampid">$stamp[text]</option> <!--{/loop}--> </select> </p> <script type="text/javascript" reload="1"> if($('threadstamp')) { var oldthreadstamp = $('threadstamp').innerHTML; } var stampurls = new Array(); {loop $_DCACHE['stamps'] $stampid $stamp} stampurls[$stampid] = '$stamp[url]'; {/loop} function updatestampimg() { if($('threadstamp')) { $('threadstamp').innerHTML = $('stamp').value ? '<img src="images/stamps/' + stampurls[$('stamp').value] + '">' : '<img src="images/common/none.gif">'; } } </script> <!--{/if}--> </div> <div class="topicadminlog"> <h4> <span class="hasdropdownbtn right"><a onclick="showselect(this, 'reason', 'reasonselect')" class="dropdownbtn" href="javascript:;">^</a></span> {lang admin_operation_explain}: </h4> <p><textarea id="reason" name="reason" class="txtarea" onkeyup="seditor_ctlent(event, '$(\'topicadminform\').submit()')"></textarea></p> <ul id="reasonselect" style="display: none">{echo modreasonselect()}</ul> <p> <input name="modsubmit" type="submit" value="{lang confirms}" /> <input type="checkbox" name="sendreasonpm" id="sendreasonpm" class="checkbox"{if $reasonpm == 2 || $reasonpm == 3} checked="checked" disabled="disabled"{/if} /> <label for="sendreasonpm" />{lang admin_pm}</label> </p> </div> </div> </form> </div> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/topicadmin_action.htm
HTML
asf20
5,968
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang credits}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <h1>{lang credits}</h1> <div class="datalist"> <div class="c_header"><h3 class="noarrow">{lang my_credits}</h3><div class="c_header_action"><a href="faq.php?action=credits">{lang credits_policy}</a></div></div> <table cellspacing="0" cellpadding="0" summary="{lang invite_logs}" class="datatable" style="margin-bottom:30px;"> <tr class="colplural"> <!--{loop $extcredits $credit}--> <th>{$credit[img]} $credit[title]</th> <!--{/loop}--> </tr> <tr> <!--{loop $extcredits $id $credit}--> <td>$GLOBALS['extcredits'.$id]</td> <!--{/loop}--> </tr> </table> <!--{if $exchangestatus || $transferstatus || $ec_ratio}--> <div class="c_header"><h3 class="noarrow">{lang credits_manage}</h3></div> <table cellspacing="0" cellpadding="0" summary="{lang invite_logs}" class="datatable creditstable" style="margin-bottom:30px;"> <!--{if $exchangestatus || $outextcredits}--> <tbody> <form id="exchangeform" name="exchangeform" method="post" action="memcp.php?action=credits&infloat=yes&exchangesubmit=yes" onsubmit="showWindow('credit', 'exchangeform', 'post');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}"> <input type="hidden" name="operation" value="exchange"> <input type="hidden" name="outi" value=""> <tr class="colplural"> <td class="cre_title" valign="top">{lang memcp_credits_exchange}</td> <td class="cre_opt" valign="top"><input type="text" class="txt" size="5" name="exchangeamount" id="exchangeamount" value="0" onkeyup="exchangecalcredit()" /> <select name="tocredits" onChange="exchangecalcredit()"> <!--{loop $extcredits $id $ecredits}--> <!--{if $ecredits[allowexchangein] && $ecredits[ratio]}--> <option value="$id" unit="$ecredits[unit]" title="$ecredits[title]" ratio="$ecredits[ratio]">$ecredits[title]</option> <!--{/if}--> <!--{/loop}--> {eval $i=0;} <!--{loop $outextcredits $id $data}-->{eval $i++;} <!--{if $data[title]}--> <option value="$id" outi="$i">$data[title]</option> <!--{/if}--> <!--{/loop}--> </select> <p class="cre_btn"><button class="submit" type="submit" name="exchangesubmit" id="exchangesubmit" value="true" tabindex="2">{lang memcp_credits_exchange}</button></p> </td> <td class="cre_arrow" valign="top">{lang credits_need}</td> <td class="cre_opt" valign="top"> <input type="text" size="5" id="exchangedesamount" value="0" disabled="disabled" class="txt"/> <select name="fromcredits" id="fromcredits_0" style="display: none" onChange="exchangecalcredit();"> <!--{loop $extcredits $id $credit}--> <!--{if $credit[allowexchangeout] && $credit[ratio]}--> <option value="$id" unit="$credit[unit]" title="$credit[title]" ratio="$credit[ratio]">$credit[title]</option> <!--{/if}--> <!--{/loop}--> </select> {eval $i=0;} <!--{loop $outextcredits $id $data}-->{eval $i++;} <select name="fromcredits_$i" id="fromcredits_$i" style="display: none" onChange="exchangecalcredit()"> <!--{loop $data[creditsrc] $id $ratio}--> <option value="$id" unit="$extcredits[$id][unit]" title="$extcredits[$id][title]" ratiosrc="$data[ratiosrc][$id]" ratiodesc="$data[ratiodesc][$id]">$extcredits[$id][title]</option> <!--{/loop}--> </select> <!--{/loop}--> </td> <td valign="top"> <!--{if $exchangemincredits}--> {lang memcp_credits_exchange_min_balance}$exchangemincredits <br /> <!--{/if}--> <span id="taxpercent"> <!--{if intval($taxpercent) > 0}--> {lang credits_tax}$taxpercent <!--{/if}--> </span> <br /><a href="memcp.php?action=creditslog&operation=creditslog" class="lightlink">{lang memcp_credits_log_exchange}</a> </td> </tr> </form> </tbody> <script type="text/javascript"> function exchangecalcredit() { with($('exchangeform')) { tocredit = tocredits[tocredits.selectedIndex]; {eval $i=0;} <!--{loop $outextcredits $id $data}-->{eval $i++;} $('fromcredits_$i').style.display = 'none'; <!--{/loop}--> if(tocredit.getAttribute('outi')) { outi.value = tocredit.getAttribute('outi'); fromcredit = $('fromcredits_' + tocredit.getAttribute('outi')); $('taxpercent').style.display = $('fromcredits_0').style.display = 'none'; fromcredit.style.display = ''; fromcredit = fromcredit[fromcredit.selectedIndex]; $('exchangeamount').value = $('exchangeamount').value.toInt(); if($('exchangeamount').value != 0) { $('exchangedesamount').value = Math.floor( fromcredit.getAttribute('ratiosrc') / fromcredit.getAttribute('ratiodesc') * $('exchangeamount').value); } else { $('exchangedesamount').value = ''; } } else { outi.value = 0; $('taxpercent').style.display = $('fromcredits_0').style.display = ''; fromcredit = fromcredits[fromcredits.selectedIndex]; $('exchangeamount').value = $('exchangeamount').value.toInt(); if(fromcredit.getAttribute('title') != tocredit.getAttribute('title') && $('exchangeamount').value != 0) { if(tocredit.getAttribute('ratio') < fromcredit.getAttribute('ratio')) { $('exchangedesamount').value = Math.ceil( tocredit.getAttribute('ratio') / fromcredit.getAttribute('ratio') * $('exchangeamount').value * (1 + $creditstax)); } else { $('exchangedesamount').value = Math.floor( tocredit.getAttribute('ratio') / fromcredit.getAttribute('ratio') * $('exchangeamount').value * (1 + $creditstax)); } } else { $('exchangedesamount').value = ''; } } } } String.prototype.toInt = function() { var s = parseInt(this); return isNaN(s) ? 0 : s; } exchangecalcredit(); </script> <!--{/if}--> <!--{if $transferstatus}--> <tbody> <form id="transferform" name="transferform" method="post" action="memcp.php?action=credits&infloat=yes&transfersubmit=yes" onsubmit="showWindow('credit', 'transferform', 'post');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="operation" value="transfer" /> <tr> <td class="cre_title" valign="top">{lang memcp_credits_transfer}</td> <td class="cre_opt" valign="top"> <input type="text" size="5" id="transferamount" name="transferamount" value="0" class="txt" />&nbsp;&nbsp;{$extcredits[$creditstrans][title]} <p class="cre_btn"><button class="submit" type="submit" name="transfersubmit" id="transfersubmit" value="true" tabindex="1">{lang memcp_credits_transfer}</button></p> </td> <td class="cre_arrow" valign="top">{lang credits_give}</td> <td class="cre_opt" valign="top"><input type="text" size="15" name="to" id="to" class="txt" /></td> <td valign="top"> {lang memcp_credits_transfer_min_balance}$transfermincredits {$extcredits[$creditstrans][unit]}<br /> {lang credits_tax} $taxpercent <br /><a href="memcp.php?action=creditslog&operation=creditslog" class="lightlink">{lang memcp_credits_log_transfer}</a> </td> </tr> </form> </tbody> <!--{/if}--> <!--{if $ec_ratio && ($ec_account || $ec_tenpay_bargainor)}--> <tbody> <form id="addfundsform" name="addfundsform" method="post" action="memcp.php?action=credits&infloat=yes&addfundssubmit=yes" onsubmit="showWindow('credit', 'addfundsform', 'post');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="operation" value="addfunds" /> <tr class="colplural"> <td class="cre_title" valign="top">{lang memcp_credits_addfunds}</td> <td class="cre_opt" valign="top"> <input type="text" size="5" id="addfundamount" name="addfundamount" value="0" onkeyup="addcalcredit()" class="txt" />&nbsp;&nbsp;{$extcredits[$creditstrans][title]} <p class="cre_btn"><button class="submit" type="submit" name="addfundssubmit" id="addfundssubmit" value="true" tabindex="1">{lang memcp_credits_addfunds}</button></p> </td> <td class="cre_arrow" valign="top">{lang credits_need}</td> <td class="cre_opt" valign="top">{lang memcp_credits_addfunds_caculate_radio}</td> <td valign="top"> {lang memcp_credits_addfunds_rules_ratio} = {$extcredits[$creditstrans][title]} <b>$ec_ratio</b> {$extcredits[$creditstrans][unit]} <!--{if $ec_mincredits}--><br />{lang memcp_credits_addfunds_rules_min} {$extcredits[$creditstrans][title]} <b>$ec_mincredits</b> {$extcredits[$creditstrans][unit]}<!--{/if}--> <!--{if $ec_maxcredits}--><br />{lang memcp_credits_addfunds_rules_max} {$extcredits[$creditstrans][title]} <b>$ec_maxcredits</b> {$extcredits[$creditstrans][unit]}<!--{/if}--> <!--{if $ec_maxcreditspermonth}--><br />{lang memcp_credits_addfunds_rules_month} {$extcredits[$creditstrans][title]} <b>$ec_maxcreditspermonth</b> {$extcredits[$creditstrans][unit]}<!--{/if}--> <br /><a href="memcp.php?action=creditslog&operation=creditslog" class="lightlink">{lang memcp_credits_log_addfunds}</a> </td> </tr> </form> </tbody> <script type="text/javascript"> function addcalcredit() { var addfundamount = $('addfundamount').value.replace(/^0/, ''); var addfundamount = parseInt(addfundamount); $('desamount').innerHTML = !isNaN(addfundamount) ? Math.ceil(((addfundamount / $ec_ratio) * 100)) / 100 : 0; } </script> <!--{/if}--> </table> <!--{/if}--> <!--{if $creditspolicy['promotion_visit'] || $creditspolicy['promotion_register']}--> <div class="c_header"><h3 class="noarrow">{lang post_my_advisit}</h3></div> <div class="channelinfo"> <!--{if $promotion_visit}--><p>{lang my_promotion_url}</p><!--{/if}--> <!--{if $promotion_register && $promotion_visit}--><p>{lang my_promotion_reg}</p><!--{/if}--> <!--{if $promotion_register && !$promotion_visit}--><p>{lang my_promotion}</p><!--{/if}--> </div> <table cellspacing="0" cellpadding="0" class="datatable"> <tr class="colplural"> <td> {lang post_promotion_url1} <input type="text" class="txt" onclick="this.select();setCopy(this.value, '{lang promotion_url_copied}');" value="$boardurl?fromuid=$discuz_uid" size="50" /> &nbsp;&nbsp;<button type="submit" class="submit" onclick="setCopy('$boardurl?fromuid=$discuz_uid', '{lang promotion_url_copied}');" type="submit">{lang copy}</button> </td> </tr> <tr> <td> {lang post_promotion_url2} <input type="text" class="txt" onclick="this.select();setCopy(this.value, '{lang promotion_url_copied}');" value="$boardurl?fromuser={echo rawurlencode($discuz_userss)}" size="50" /> &nbsp;&nbsp;<button type="submit" class="submit" onclick="setCopy('$boardurl?fromuser={echo rawurlencode($discuz_userss)}', '{lang promotion_url_copied}');">{lang copy}</button> </td> </tr> </table> <!--{/if}--> </div> </div> </div> <div class="side"> {subtemplate personal_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/memcp_credits.htm
HTML
asf20
12,196
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <!--{if $action == 'rate'}--> <div class="fcontent" id="floatlayout_topicadmin"> <h3 class="float_ctrl"> <em id="return_rate">{lang rate}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('rate')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form id="rateform" method="post" action="misc.php?action=rate&ratesubmit=yes&infloat=yes" onsubmit="ajaxpost('rateform', 'return_rate', 'return_rate', 'onerror');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="tid" value="$tid"> <input type="hidden" name="pid" value="$pid"> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="rate"><!--{/if}--> <div class="postbox"> <!--{loop $ratelist $id $options}--> <div class="hasdropdownbtn ratelist s_clear"> <label for="score$id" title="{lang rate_quota_today}">{$extcredits[$id][img]} {$extcredits[$id][title]}</label> <input type="text" id="score$id" name="score$id" value="0" class="txt" /> <a href="javascript:;" class="dropdownbtn" onclick="showselect(this, 'score$id', 'scoreoption$id')">^</a> <ul id="scoreoption$id" style="display:none">$options</ul> </div> <!--{/loop}--> <div class="topicadminlog"> <h4> <span class="hasdropdownbtn right"><a onclick="showselect(this, 'reason', 'reasonselect')" class="dropdownbtn" href="javascript:;">^</a></span> {lang admin_operation_explain}: </h4> <p><textarea id="reason" name="reason" class="txtarea" onkeyup="seditor_ctlent(event, '$(\'rateform\').ratesubmit.click()')"></textarea></p> <ul id="reasonselect" style="display: none">{echo modreasonselect()}</ul> <p> <input name="ratesubmit" type="submit" value="{lang confirms}" /> <input type="checkbox" name="sendreasonpm" id="sendreasonpm" class="checkbox"{if $reasonpm == 2 || $reasonpm == 3} checked="checked" disabled="disabled"{/if} /> <label for="sendreasonpm" />{lang admin_pm}</label> </p> </div> </div> </form> </div> <!--{elseif $action == 'removerate'}--> <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_rate">{lang thread_removerate}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('rate')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form id="rateform" method="post" action="misc.php?action=removerate&ratesubmit=yes&infloat=yes" onsubmit="ajaxpost('rateform', 'return_rate', 'return_rate', 'onerror');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="tid" value="$tid"> <input type="hidden" name="pid" value="$pid"> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="rate"><!--{/if}--> <div class="floatwrap"> <table class="list" cellspacing="0" cellpadding="0"> <thead> <tr> <td>&nbsp;</td> <td>{lang username}</td> <td>{lang time}</td> <td>{lang credits}</td> <td>{lang reason}</td> </tr> </thead> <!--{loop $ratelogs $ratelog}--> <tr> <td><input type="checkbox" name="logidarray[]" value="$ratelog[uid] $ratelog[extcredits] $ratelog[dbdateline]" /></td> <td><a href="space.php?uid=$ratelog[uid]">$ratelog[username]</a></td> <td>$ratelog[dateline]</td> <td>{$extcredits[$ratelog[extcredits]][title]} <span class="bold">$ratelog[scoreview]</span> {$extcredits[$ratelog[extcredits]][unit]}</td> <td>$ratelog[reason]</td> </tr> <!--{/loop}--> </table> </div> <div class="postbox"> <p style="float:right"> <input type="checkbox" name="sendreasonpm" id="sendreasonpm" class="checkbox"{if $reasonpm == 2 || $reasonpm == 3} checked="checked" disabled="disabled"{/if} /> <label for="sendreasonpm" />{lang admin_pm}</label>&nbsp;&nbsp; {lang admin_operation_explain}: <input name="reason" class="txt" /> </p> <label><input class="checkbox header" type="checkbox" name="chkall" onclick="checkall(this.form, 'logid')" /> {lang checkall}</label>&nbsp;&nbsp; <button class="submit" type="submit" value="true" name="ratesubmit">{lang submit}</button> </div> </form> </div> <!--{/if}--> <script type="text/javascript" reload="1"> function submithandle_rate(locationhref) { ajaxget('viewthread.php?tid=$tid&viewpid=$pid', 'post_$pid', 'post_$pid'); hideWindow('rate'); } </script> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/rate.htm
HTML
asf20
4,833
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=$charset" /> <title>$navtitle $bbname $seotitle - 北京家居网家居建材团购信息 美陶、法恩莎、恒洁、汇得邦、克诺森华、阿里斯顿、箭牌、科宝博洛尼、诺贝尔、一统、安信等团购</title> $seohead <meta name="keywords" content="{$metakeywords}$seokeywords" /> <meta name="description" content="$metadescription $bbname $seodescription - Discuz! Board" /> <meta name="generator" content="Discuz! $version" /> <meta name="author" content="Discuz! Team and Comsenz UI Team" /> <meta name="copyright" content="2001-2009 Comsenz Inc." /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <meta http-equiv="x-ua-compatible" content="ie=7" /> <link rel="archives" title="$bbname" href="{$boardurl}archiver/" /> $rsshead $extrahead {csstemplate} <script type="text/javascript">var STYLEID = '{STYLEID}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '$charset', discuz_uid = $discuz_uid, cookiedomain = '$cookiedomain', cookiepath = '$cookiepath', attackevasive = '$attackevasive', disallowfloat = '$disallowfloat', creditnotice = '{if $creditnotice}$creditnames{/if}', {if in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))}gid = parseInt('$thisgid'){elseif CURSCRIPT == 'index'}gid = parseInt('$gid'){else}gid = 0{/if}, fid = parseInt('$fid'), tid = parseInt('$tid')</script> <script type="text/javascript" src="{$jspath}common.js?{VERHASH}"></script> </head> <body id="{CURSCRIPT}" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <div id="header"> <div class="wrap s_clear"> <h2><a href="$indexname" title="$bbname">{BOARDLOGO}</a></h2> <div id="umenu"> <!--{if $discuz_uid}--> <cite><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a><!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite> <span class="pipe">|</span> <!--{if $ucappopen['UCHOME']}--> <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a> <!--{elseif $ucappopen['XSPACE']}--> <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a> <!--{/if}--> <a id="myprompt" href="notice.php" <!--{if $prompt}-->class="new" onmouseover="showMenu({'ctrlid':this.id})"<!--{/if}-->>{lang notice}</a> <span id="myprompt_check"></span> <a href="pm.php" id="pm_ntc" target="_blank">{lang pm_center}</a> <!--{if $taskon}--> <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a> <!--{/if}--> <span class="pipe">|</span> <a href="memcp.php">{lang user_center}</a> <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}--> <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}--> <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a> <!--{elseif !empty($_DCOOKIE['loginuser'])}--> <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang activation}</a> <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a> <!--{else}--> <a href="$regname" onclick="showWindow('register', this.href);return false;" class="noborder">$reglinkname</a> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang login}</a> <!--{/if}--> </div> <div id="ad_headerbanner"><!--{if $admode && !empty($advlist['headerbanner'])}-->$advlist[headerbanner]<!--{/if}--></div> <div id="menu"> <ul> <!--{if $_DCACHE['settings']['frameon'] > 0}--> <li> <span class="frameswitch"> <script type="text/javascript"> if(top == self) { {if ($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))} top.location = 'frame.php?frameon=yes&referer='+escape(self.location); {/if} document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">{lang frameon_column}<\/a>'); } else { document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">{lang frameon_flat}<\/a>'); } </script> </span> </li> <!--{/if}--> <!--{loop $navs $id $nav}--> <!--{if $id == 3}--> <!--{if !empty($plugins['jsmenu'])}--> $nav[nav] <!--{/if}--> <!--{if !empty($plugins['links'])}--> <!--{loop $plugins['links'] $module}--> <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--><li>$module[url]</li><!--{/if}--> <!--{/loop}--> <!--{/if}--> <!--{else}--> <!--{if !$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)}-->$nav[nav]<!--{/if}--> <!--{/if}--> <!--{/loop}--> <!--{if in_array($BASEFILENAME, $navmns)}--> {eval $mnid = $BASEFILENAME;} <!--{elseif $navmngs[$BASEFILENAME]}--> <!--{loop $navmngs[$BASEFILENAME] $navmng}--> <!--{if $navmng[0] == array_intersect_assoc($navmng[0], $_GET)}-->{eval $mnid = $navmng[1];}<!--{/if}--> <!--{/loop}--> <!--{/if}--> </ul> <script type="text/javascript"> var currentMenu = $('mn_$mnid') ? $('mn_$mnid') : $('mn_$navmns[0]'); currentMenu.parentNode.className = 'current'; </script> </div> <!--{if !empty($stylejumpstatus)}--> <script type="text/javascript"> function setstyle(styleid) { str = unescape('{echo str_replace("'", "\\'", urlencode($_SERVER[QUERY_STRING]))}'); str = str.replace(/(^|&)styleid=\d+/ig, ''); str = (str != '' ? str + '&' : '') + 'styleid=' + styleid; location.href = '$BASESCRIPT?' + str; } </script> <ul id="style_switch"> <!--{loop $styles $id $stylename}--> <li{if $id == STYLEID} class="current"{/if}><a href="###" onclick="setstyle($id)" title="$stylename" style="background: $styleicons[$id];">$stylename</a></li> <!--{/loop}--> </ul> <!--{/if}--> </div> <div id="myprompt_menu" style="display:none" class="promptmenu"> <div class="promptcontent"> <ul class="s_clear"> <!--{loop $prompts $promptkey $promptdata}--> <!--{if $promptkey}--><li{if !$promptdata[new]} style="display:none"{/if}><a id="prompt_$promptkey" href="{if $promptdata[script]}$promptdata[script]{else}notice.php?filter=$promptkey{/if}" target="_blank">$promptdata[name] ($promptdata[new])</a></li><!--{/if}--> <!--{/loop}--> </ul> </div> </div> </div> $pluginhooks[global_header]
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/header.htm
HTML
asf20
7,767
{subtemplate header} <div id="nav"> <a href="$indexname">$bbname</a> &raquo; <a href="userapp.php">{lang manyou:myop}</a> &raquo; {lang manyou:feed} </div> <div id="wrap" class="wrap s_clear uappmain"> <div class="main"> <div class="content"> {subtemplate manyou_appnav} <!--{if $feeds}--> <ul class="uappfeed"> <!--{loop $feeds $value}--> <!--{if $value[daterange]}--> <li><strong> <!--{if $value[daterange] == $day1}-->{lang pm_today} <!--{elseif $value[daterange] == $day2}-->{lang pm_yesterday} <!--{elseif $value[daterange] == $day3}-->{lang pm_before_yesterday} <!--{else}-->$value[daterange]<!--{/if}--> </strong></li> <!--{/if}--> <li> <em>$value[dateline]</em> <img class="apptype" src="$value[icon_image]">$value[title] <div class="feed_content"> <!--{loop $value[image] $image}-->$image<!--{/loop}--> $value[body] </div> <!--{if $value['general']}--> <div class="quote"><span class="q">$value[general]</span></div> <!--{/if}--> </li> <!--{/loop}--> </ul> <div class="page">$multi</div> </div> <!--{else}--> <p class="nodata">{lang manyou:nofeed}<a href="userapp.php?view=all">{lang manyou:viewall}</a></p> <!--{/if}--> </div></div></div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/manyou_feed.htm
HTML
asf20
1,280
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_$handlekey">{lang debate_umpirecomment}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form method="post" id="postform" action="misc.php?action=debateumpire&tid=$tid&umpiresubmit=yes&infloat=yes"{if !empty($infloat)} onsubmit="ajaxpost('postform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;"{/if}> <input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <table class="list" cellspacing="0" cellpadding="0"> <tr> <th>{lang debate_winner}</th> <td> <label><input type="radio" name="winner" value="1" class="radio" $winnerchecked[1] id="winner1" /> {lang debate_square}</label> <label><input type="radio" name="winner" value="2" class="radio" $winnerchecked[2] id="winner2" /> {lang debate_opponent}</label> <label><input type="radio" name="winner" value="3" class="radio" $winnerchecked[3] id="winner3" /> {lang debate_draw}</label> </td> </tr> <tr> <th><label for="bestdebater">{lang debate_bestdebater}</label></th> <td> <input type="text" name="bestdebater" value="$debate[bestdebater]" size="20" id="bestdebater" /> <select onchange="$('bestdebater').value=this.options[this.options.selectedIndex].value"> <option value=""><strong>{lang debate_recommend_list}</strong></option> <option value="">------------------------------</option> <!--{loop $candidates $candidate}--> <option value="$candidate[username]"<!--{if $candidate[username] == $debate[bestdebater]}--> selected<!--{/if}-->>$candidate[username] ( $candidate[voters] {lang debate_poll}, <!--{if $candidate[stand] == 1}-->{lang debate_square}<!--{elseif $candidate[stand] == 2}-->{lang debate_opponent}<!--{/if}-->)</option> <!--{/loop}--> </select><br /><em class="tips">{lang debate_list_nonexistence}</em> </td> </tr> <tr> <th valign="top"><label for="umpirepoint">{lang debate_umpirepoint}</label></th> <td><textarea id="umpirepoint" name="umpirepoint" class="txtarea" style="width:98%; height: 100px;">$debate[umpirepoint]</textarea></td> </tr> <tr class="btns"> <th>&nbsp;</th> <td><button type="submit" name="umpiresubmit" value="true" class="submit">{lang submit}</button></td> </tr> </table> </form> </div> <!--{if !empty($infloat)}--> <script type="text/javascript" reload="1"> function submithandle_$handlekey(locationhref) { ajaxget('viewthread.php?tid=$tid&viewpid=$pid', 'post_$pid'); hideWindow('$handlekey'); } </script> <!--{/if}--> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/debate_umpire.htm
HTML
asf20
3,165
/* wysiwyg Official Style for Discuz!(R) URL: http://www.discuz.net (C) 2001-2009 Comsenz Inc. */ * { word-wrap: break-word; line-height: normal;} html, body { border: 0 !important; } body { background: {INPUTBG} !important; font: {MSGFONTSIZE}/1.6em {FONT} !important; } body, td, input, textarea, select, button { color: {TABLETEXT}; font: {FONTSIZE}/1.6em {FONT}; } input, select, button { vertical-align:middle; } textarea { resize: none; } body, ul, li, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset { margin: 0; padding: 0; } h1, h2, h3, h4, h5, h6 { font-size: 1em; } li { list-style-type: disc; margin-left: 2em; } .litype_1 li { list-style-type: decimal; } .litype_2 li { list-style-type: lower-alpha; } .litype_3 li { list-style-type: upper-alpha; } a { color: {HIGHLIGHTLINK}; } a:hover { text-decoration: none; } a img { border: none; } table { empty-cells: show; border-collapse: collapse; } table td { padding: 4px; border: 1px solid {COMMONBORDER}; } th { font-weight: 400; }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/css_wysiwyg.htm
HTML
asf20
1,023
<script type="text/javascript" src="{$jspath}moderate.js?{VERHASH}"></script> <div class="itemtitle s_clear"> <h1>{lang mod_option_subject}</h1> <ul> <li {if $action == 'threads' && $op == 'threads'} class="current" {/if}><a href="{$cpscript}?action=threads&op=threads{$forcefid}" hidefocus="true"><span>{lang mod_option_subject_forum}</span></a></li> <li {if $action == 'threads' && $op == 'posts'} class="current" {/if}><a href="{$cpscript}?action=threads&op=posts{$forcefid}" hidefocus="true"><span>{lang mod_option_subject_delete}</span></a></li> <li {if $action == 'recyclebins'} class="current" {/if}><a href="{$cpscript}?action=recyclebins{$forcefid}" hidefocus="true"><span>{lang mod_option_subject_recyclebin}</span></a></li> </ul> </div> <script type="text/javascript" src="{$jspath}calendar.js?{VERHASH}"></script> <div class="datalist"> <form method="post" action="{$cpscript}?action=$action&op=$op"> <input type="hidden" name="do" value="search"> <input type="hidden" name="formhash" value="{FORMHASH}"> <div class="filterform"> <table cellspacing="0" cellpadding="0"> <tr> <td width="15%">{lang mod_option_selectforum}:</td> <td width="35%"> <select name="fid" style="width: 180px"> <option value=""></option> <!--{loop $modforums[list] $id $name}--> <option value="$id" {if $id == $fid}selected{/if}>$name</option> <!--{/loop}--> </select> </td> <td width="15%">{lang modcp_posts_type}</td> <td width="35%"> <select name="threadoption" style="width: 180px"> <option value="0" $threadoptionselect[0]>{lang all}</option> <option value="1" $threadoptionselect[1]>{lang thread_poll}</option> <option value="2" $threadoptionselect[2]>{lang thread_trade}</option> <option value="3" $threadoptionselect[3]>{lang thread_reward}</option> <option value="4" $threadoptionselect[4]>{lang thread_activity}</option> <option value="5" $threadoptionselect[5]>{lang thread_debate}</option> <option value="999" $threadoptionselect[999]>{lang thread_digest}</option> <option value="888" $threadoptionselect[888]>{lang thread_stick}</option> </select> </td> </tr> <tr> <td>{lang modcp_posts_author}:</td> <td><input type="text" class="txt" size="20" value="$result[users]" name="users" style="width: 180px"/></td> <td>{lang modcp_dateline_range}:</td> <td><input type="text" class="txt" size="10" value="$result[starttime]" name="starttime" onclick="showcalendar(event, this);"/> {lang modcp_posts_to} <input type="text" class="txt" size="10" value="$result[endtime]" name="endtime" onclick="showcalendar(event, this)"/> </td> </tr> <tr> <td>{lang modcp_subject_keyword}:</td> <td><input type="text" class="txt" size="20" value="$result[keywords]" name="keywords" style="width: 180px"/></td> <td>{lang modcp_views_range}:</td> <td><input type="text" class="txt" size="10" value="$result[viewsmore]" name="viewsmore"/> {lang modcp_posts_to} <input type="text" class="txt" size="10" value="$result[viewsless]" name="viewsless"/> </td> <tr> <tr> <td>{lang modcp_no_reply_range}:</td> <td><input type="text" class="txt" size="20" value="$result[noreplydays]" name="noreplydays" style="width: 180px"/></td> <td>{lang modcp_reply_range}:</td> <td><input type="text" class="txt" size="10" value="$result[repliesmore]" name="repliesmore"/> {lang modcp_posts_to} <input type="text" class="txt" size="10" value="$result[repliesless]" name="repliesless"/> </td> <tr> <tr> <td></td> <td colspan="3"><button value="true" id="searchsubmit" name="submit" class="submit" type="submit">{lang submit}</button></td> </tr> </table> </div> </form> </div> <!--{if $fid}--> <div class="c_header"><h3 class="noarrow">{lang modcp_forum}: <a href="forumdisplay.php?fid=$fid" target="_blank" class="lightlink">$forum[name]</a>, {lang modcp_thread_search_msg}</h3></div> <div id="threadlist" style="position: relative;" class="threadlist datalist"> <form method="post" name="moderate" id="moderate" action="topicadmin.php?action=moderate&fid=$fid&infloat=yes&nopost=yes"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="frommodcp" value="{if empty($do)}1{else}2{/if}" /> <table cellspacing="0" cellpadding="0" style="position: relative;" class="datatable"> <thead class="colplural"> <tr> <td class="icon">&nbsp;</td> <td class="icon">&nbsp;</td> <td >&nbsp;</td> <td class="author">{lang author}</td> <td class="nums">{lang replies}/{lang views}</td> <td class="lastpost"><cite>{lang lastpost}</cite></td> </tr> </thead> <!--{loop $postlist $thread}--> <tbody id="$thread[id]"> <tr> <td class="icon"> <!--{if $thread['special'] == 1}--> <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" /> <!--{elseif $thread['special'] == 2}--> <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" /> <!--{elseif $thread['special'] == 3}--> <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" <!--{if $thread['price'] < 0}-->class="solved"<!--{/if}--> /> <!--{elseif $thread['special'] == 4}--> <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" /> <!--{elseif $thread['special'] == 5}--> <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" /> <!--{else}--> $thread['icon'] <!--{/if}--> </td> <td> <!--{if $thread['displayorder'] <= 3 || $adminid == 1}--> <input onclick="tmodclick(this)" class="checkbox" type="checkbox" name="moderate[]" value="$thread[tid]" /> <!--{else}--> <input class="checkbox" type="checkbox" disabled="disabled" /> <!--{/if}--> </td> <th class="subject $thread[folder]"> <label> <!--{if $thread['rate'] > 0}--> <img src="{IMGDIR}/agree.gif" alt="" /> <!--{elseif $thread['rate'] < 0}--> <img src="{IMGDIR}/disagree.gif" alt="" /> <!--{/if}--> <!--{if $thread['digest'] > 0}--> <img src="{IMGDIR}/digest_$thread[digest].gif" alt="{lang thread_digest} $thread[digest]" /> <!--{/if}--> &nbsp;</label> <span id="thread_$thread[tid]"><a href="viewthread.php?tid=$thread[tid]" target="_blank" $thread['highlight']>$thread[subject]</a></span> <!--{if $thread['readperm']}--> - [{lang readperm} <span class="bold">$thread[readperm]</span>]<!--{/if}--> <!--{if $thread['price'] > 0}--> <!--{if $thread['special'] == '3'}--> - <span style="color: #C60">[{lang thread_reward}{$extcredits[$creditstransextra[2]][title]} <span class="bold">$thread[price]</span> {$extcredits[$creditstransextra[2]][unit]}]</span> <!--{else}--> - [{lang price} {$extcredits[$creditstransextra[1]][title]} <span class="bold">$thread[price]</span> {$extcredits[$creditstransextra[1]][unit]}] <!--{/if}--> <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}--> - <span style="color: #269F11">[{lang reward_solved}]</span> <!--{/if}--> <!--{if $thread['displayorder'] == 1}--> - <span style="color: #C60">{lang modcp_threadstick_1}</span> <!--{elseif $thread['displayorder'] == 2}--> - <span style="color: #C60">{lang modcp_threadstick_2}</span> <!--{elseif $thread['displayorder'] == 3}--> - <span style="color: #C60">{lang modcp_threadstick_3}</span> <!--{/if}--> <!--{if $thread['attachment'] == 2}--> <img src="images/attachicons/image_s.gif" alt="{lang attach_img}" class="attach" /> <!--{elseif $thread['attachment'] == 1}--> <img src="images/attachicons/common.gif" alt="{lang attachment}" class="attach" /> <!--{/if}--> </th> <td class="author"> <cite> <!--{if $thread['authorid'] && $thread['author']}--> <a href="space.php?uid=$thread[authorid]" target="_blank">$thread[author]</a> <!--{else}--> <a href="space.php?uid=$thread[authorid]" target="_blank">{lang anonymous}</a> <!--{/if}--> </cite> <em>$thread[dateline]</em> </td> <td class="nums"><strong>$thread[replies]</strong>/<em>$thread[views]</em></td> <td class="lastpost"> <cite><!--{if $thread['lastposter']}--><a target="_blank" href="space.php?username=$thread[lastposterenc]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite> <em><a target="_blank" href="redirect.php?tid=$thread[tid]&amp;goto=lastpost">$thread[lastpost]</a></em> </td> </tr> </tbody> <!--{/loop}--> </table> <!--{if $multipage}-->$multipage <!--{/if}--> <!--{if !$total}--><p class="nodata">{lang modcp_thread_msg}</p><!--{/if}--> {template topicadmin_modlayer} </form> </div> <br /><br /> <!--{else}--> <p>{lang modcp_forum_select_msg}</p> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/modcp_threads.htm
HTML
asf20
9,167
{subtemplate header} <!--{block subtitle}-->$member[username]<!--{if empty($item) || $item == 'threads'}-->{lang member_threads}<!--{elseif $item == 'posts'}-->{lang member_replys}<!--{/if}--><!--{/block}--> <div id="nav"> <a href="$indexname">$bbname</a> &raquo; $subtitle </div> <div id="wrap" class="wrap s_clear"> <div class="content datalist"> <div class="itemtitle s_clear"> <h1>$subtitle</h1> <ul> <li{if $item == 'threads'} class="current"{/if}><a href="my.php?item=threads&uid=$uid"><span>{lang threads}</span></a></li> <li{if $item == 'posts'} class="current"{/if}><a href="my.php?item=posts&uid=$uid"><span>{lang posts}</span></a></li> </ul> </div> <!--{if empty($item) || $item == 'threads'}--> {template my_threads} <!--{elseif $item == 'posts'}--> {template my_posts} <!--{/if}--> </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewpro_data.htm
HTML
asf20
873
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=$charset"> <title>$navtitle $bbname $seotitle - Powered by Discuz!</title> $seohead <meta name="keywords" content="$metakeywordsDiscuz!,Board,Comsenz,forums,bulletin board,$seokeywords"> <meta name="description" content="$bbname $seodescription - Discuz! Board"> <meta name="generator" content="Discuz! $version" /> <meta name="author" content="Discuz! Team & Comsenz UI Team" /> <meta name="copyright" content="2001-2009 Comsenz Inc." /> <meta name="MSSmartTagsPreventParsing" content="TRUE"> <meta http-equiv="MSThemeCompatible" content="Yes"> <style type="text/css"> body { margin: 0px; } #frameswitch { background: url({IMGDIR}/frame_switch.gif) no-repeat 0; cursor: pointer; } </style> <script type="text/javascript" src="{$jspath}common.js?{VERHASH}"></script> <script type="text/javascript" src="{$jspath}iframe.js?{VERHASH}"></script> <script type="text/javascript"><!--{eval $framewidthcss = $framewidth -3;}--> function framebutton(){ var obj = document.getElementById('navigation'); var frameswitch = document.getElementById('frameswitch'); var switchbar = document.getElementById('switchbar'); if(obj.style.display == 'none'){ obj.style.display = ''; switchbar.style.left = '{$framewidthcss}px'; frameswitch.style.backgroundPosition = '0'; }else{ obj.style.display = 'none'; switchbar.style.left = '0px'; frameswitch.style.backgroundPosition = '-11'; } } if(top != self) { top.location = self.location; } </script> </head> <body scroll="no"> <table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%"> <tr> <td align="middle" id="navigation" valign="center" name="frametitle" width="$framewidth"> <iframe name="leftmenu" frameborder="0" src="leftmenu.php?frameon=no" scrolling="auto" style="height: 100%; visibility: inherit; width: {$framewidth}px; z-index: 1" onkeydown="refreshrightframe(event)"></iframe> <td style="width: 100%"> <table id="switchbar" border="0" cellPadding="0" cellSpacing="0" width="11" height="100%" style="position: absolute; left: {$framewidthcss}px; background-repeat: repeat-y; background-position: -{$framewidthcss}px"> <tr><td onClick="framebutton()"><img id="frameswitch" src="images/common/none.gif" alt="" border="0" width="11" height="49" /></td></tr> </table> <iframe frameborder="0" scrolling="yes" name="main" src="$newurl" style="height: 100%; visibility: inherit; width: 100%; z-index: 1;overflow: visible;" onkeydown="refreshrightframe(event)"></iframe> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/frame.htm
HTML
asf20
2,705
<!--{if $debate[endtime]}--> <p>{lang endtime}: <strong>$debate[endtime]</strong> <!--{if !$debate[umpire]}--></p><!--{/if}--> <!--{/if}--> <!--{if $debate[umpire]}--> <!--{if $debate[endtime]}-->,<!--{/if}--> {lang debate_umpire}: <strong>$debate[umpire]</strong></p> <!--{if $debate[umpire] && $discuz_user && $debate[umpire] == $discuz_userss}--> <!--{if $debate[remaintime] && !$debate[umpirepoint]}--> <p><button type="button" onclick="showWindow('debate', 'misc.php?action=debateumpire&tid=$tid&pid=$post[pid]')">{lang debate_umpire_end}</button></p> <!--{elseif $timestamp - $debate['dbendtime'] < 3600}--> <p><button type="button" onclick="showWindow('debate', 'misc.php?action=debateumpire&tid=$tid&pid=$post[pid]')">{lang debate_umpirepoint_edit}</button></p> <!--{/if}--> <!--{/if}--> <!--{if $debate['umpirepoint']}--> <div id="umpirepoint"> <p class="dbresult"> <!--{if $debate[winner]}--> <!--{if $debate[winner] == 1}--> <label class="winner_1"><strong>{lang debate_square}</strong>{lang debate_winner}</label> <!--{elseif $debate[winner] == 2}--> <label class="winner_2"><strong>{lang debate_opponent}</strong>{lang debate_winner}</label> <!--{else}--> <label class="winner_0"><strong>{lang debate_draw}</strong></label> <!--{/if}--> <!--{/if}--> <em>{lang debate_comment_dateline}: $debate[endtime]</em> </p> <!--{if $debate[umpirepoint]}--><p class="umpirepoint"><strong>{lang debate_umpirepoint}</strong>: $debate[umpirepoint]</p><!--{/if}--> <!--{if $debate[bestdebater]}--><p class="bestdebater"><strong>{lang debate_bestdebater}</strong>: $debate[bestdebater]</p><!--{/if}--> </div> <!--{/if}--> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewthread_debate_umpire.htm
HTML
asf20
1,691
<!--{if $type == 'stats'}--> <table cellspacing="0" cellpadding="0" class="datatable"> <tr> <th width="20%">{lang my_reward_question_number}:</th> <td>$questions[total] {lang my_reward_unit}</td> <th width="20%">{lang my_reward_answer_number}:</th> <td>$answers[total] {lang my_reward_unit}</td> </tr> <tr> <th>{lang my_reward_question_solved_number}:</th> <td>$questions[solved] {lang my_reward_unit}</td> <th>{lang my_reward_answer_adopted_number}:</th> <td>$answers[adopted] {lang my_reward_unit}</td> </tr> <tr> <th>{lang my_reward_question_solved_per}:</th> <td>$questions[percent]%</td> <th>{lang my_reward_answer_adopted_per}:</th> <td>$answers[percent]%</td> </tr> <tr> <th>{lang my_reward_question_price}<!--{if !empty($extcredits[$creditstransextra[2]]['title'])}-->({$extcredits[$creditstransextra[2]][title]})<!--{/if}-->:</th> <td>$questions['totalprice'] <!--{if $extcredits[$creditstransextra[2]]['unit'] != ''}-->$extcredits[$creditstransextra[2]][unit]<!--{/if}--></td> <th>{lang my_reward_anser_price}<!--{if !empty($extcredits[$creditstransextra[2]]['title'])}-->({$extcredits[$creditstransextra[2]][title]})<!--{/if}-->:</th> <td>$answers['totalprice'] <!--{if $extcredits[$creditstransextra[2]]['unit'] != ''}-->$extcredits[$creditstransextra[2]][unit]<!--{/if}--></td> </tr> </table> <!--{else}--> <table cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th>{lang thread}</th> <td class="nums">{lang my_reward_forum}</td> <td class="nums"><!--{if $type == 'question'}-->{lang my_reward_answerer}<!--{elseif $type == 'answer'}-->{lang my_reward_questioner}<!--{/if}--></td> <td class="nums">{lang my_reward_allprice}</td> <!--{if $type == 'question'}--> <td class="nums">{lang my_reward_real_payment}</td> <!--{/if}--> <td class="nums"> <select onchange="window.location=this.value"> <!--{if $type == 'question'}--> <option value="my.php?item=reward&type=question&filter=$extrafid">{lang status}</option> <option value="my.php?item=reward&type=question&filter=solved$extrafid"<!--{if $filter == 'solved'}--> selected="selected"<!--{/if}-->>{lang my_reward_solved}</option> <option value="my.php?item=reward&type=question&filter=unsolved$extrafid"<!--{if $filter == 'unsolved'}--> selected="selected"<!--{/if}-->>{lang my_reward_unsolved}</option> <!--{elseif $type == 'answer'}--> <option value="my.php?item=reward&type=answer&filter=$extrafid">{lang status}</option> <option value="my.php?item=reward&type=answer&filter=adopted$extrafid"<!--{if $filter == 'adopted'}--> selected="selected"<!--{/if}-->>{lang my_reward_adopted}</option> <option value="my.php?item=reward&type=answer&filter=unadopted$extrafid"<!--{if $filter == 'unadopted'}--> selected="selected"<!--{/if}-->>{lang my_reward_unadopted}</option> <!--{/if}--> </select> </td> <td class="lastpost"><cite>{lang my_reward_dateline}</cite></td> </tr> </thead> <!--{if $rewardloglist}--> <tbody> <!--{if $type == 'question'}--> <!--{loop $rewardloglist $rewardlog}--> <tr> <td class="folder"> <a href="viewthread.php?tid=$rewardlog[tid]" target="_blank"> <!--{if $rewardlog[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$rewardlog[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" <!--{if $rewardlog['price'] < 0}-->class="solved"<!--{/if}--> /> </td> <th><a href="viewthread.php?tid=$rewardlog[tid]">$rewardlog[subject]</a></th> <td class="nums"><a href="forumdisplay.php?fid=$rewardlog[fid]">$rewardlog[name]</a></td> <td class="nums"><!--{if $rewardlog[uid]}--><a href="space.php?uid=$rewardlog[uid]">$rewardlog[username]</a><!--{else}-->&nbsp;<!--{/if}--></td> <td class="nums">{$extcredits[$creditstransextra[2]][title]} $rewardlog[price]<!--{if $extcredits[$creditstransextra[2]]['unit'] != ''}--> $extcredits[$creditstransextra[2]][unit]<!--{/if}--></td> <td class="nums">{$extcredits[$creditstransextra[2]][title]} $rewardlog['netamount']<!--{if $extcredits[$creditstransextra[2]]['unit'] != ''}--> $extcredits[$creditstransextra[2]][unit]<!--{/if}--></td> <td class="nums"><!--{if $rewardlog['answererid'] > 0}-->{lang my_reward_solved}<!--{else}-->{lang my_reward_unsolved}<!--{/if}--></td> <td class="lastpost"><cite>$rewardlog[dateline]</cite></td> </tr> <!--{/loop}--> <!--{elseif $type == 'answer'}--> <!--{loop $rewardloglist $rewardlog}--> <tr> <td class="folder"> <a href="viewthread.php?tid=$rewardlog[tid]" target="_blank"> <!--{if $rewardlog[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$rewardlog[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" <!--{if $rewardlog['price'] < 0}-->class="solved"<!--{/if}--> /> </td> <th><a href="viewthread.php?tid=$rewardlog[tid]">$rewardlog[subject]</a></th> <td class="nums"><a href="forumdisplay.php?fid=$rewardlog[fid]">$rewardlog[name]</a></td> <td class="nums"><!--{if $rewardlog[uid]}--><a href="space.php?uid=$rewardlog[uid]">$rewardlog[username]</a><!--{else}-->&nbsp;<!--{/if}--></td> <td class="nums">{$extcredits[$creditstransextra[2]][title]} $rewardlog[price]<!--{if $extcredits[$creditstransextra[2]]['unit'] != ''}--> $extcredits[$creditstransextra[2]][unit]<!--{/if}--></td> <td class="nums"><!--{if $rewardlog['authorid'] > 0}-->{lang my_reward_adopted}<!--{else}-->{lang my_reward_unadopted}<!--{/if}--></td> <td class="lastpost">$rewardlog[dateline]</td> </tr> <!--{/loop}--> <!--{else}--> <th colspan="<!--{if $type == 'question'}-->9<!--{elseif $type == 'answer'}-->8<!--{elseif $type == 'stats'}-->4<!--{/if}-->"><p class="nodata">{lang data_nonexistence}</p></th></tr> <!--{/if}--> </tbody> <!--{else}--> <tr><th colspan="<!--{if $type == 'question'}-->9<!--{elseif $type == 'answer'}-->8<!--{elseif $type == 'stats'}-->4<!--{/if}-->"><p class="nodata">{lang data_nonexistence}</p></th></tr> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_rewards.htm
HTML
asf20
6,698
{eval $needhiddenreply = ($hiddenreplies && $discuz_uid != $post['authorid'] && $discuz_uid != $thread['authorid'] && !$post['first'] && !$forum['ismoderator']);} <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0"> <!--{if !empty($fav) && $rpid == $post[pid]}--> <tr class="threadad"> <td class="postauthor"></td> <td class="adcontent"> <div id="ntc_jp"> <div class="s_clear"> <a class="deloption" href="my.php?item=attention&action=remove&tid=$tid" id="attention_remove_$post[pid]" onclick="ajaxmenu(this, 3000);doane(event);" title="{lang attention_cancel}">{lang attention_cancel}</a> <em>{lang thread_redirect_notice}</em> <h2><a href="viewthread.php?tid=$tid">$thread[subject]</a></h2> </div> </div> </td> </tr> <!--{/if}--> <tr> <td class="postauthor" rowspan="2"> <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}--> <!--{if $authoronleft}--> <div class="postinfo"> <a target="_blank" href="space.php?uid=$post['authorid']" style="margin-left: 20px; font-weight: 800">$post[author]</a> </div> <!--{/if}--> <div class="popupmenu_popup userinfopanel" id="userinfo$post[pid]" style="display: none; position: absolute;{if $authoronleft}margin-top: -11px;{/if}"> <div class="popavatar"> <div id="userinfo$post[pid]_ma"></div> <ul class="profile_side"> <li class="pm"><a href="pm.php?action=new&uid=$post[authorid]" onclick="hideMenu('userinfo$post[pid]');showWindow('sendpm', this.href);return false;" title="{lang send_pm}">{lang send_pm}</a></li> <!--{if $post['msn'][1]}--> <li style="text-indent:0"><a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee={$post[msn][1]}@apps.messenger.live.com&mkt=zh-cn" title="{lang msn_chat}"><img style="border-style: none; margin-right: 5px; vertical-align: middle;" src="http://messenger.services.live.com/users/{$post[msn][1]}@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" />{lang msn_chat}</a></li> <!--{/if}--> <li class="buddy"><a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" title="{lang add_to_buddylist}" onclick="ajaxmenu(this, 3000);doane(event);">{lang add_to_buddylist}</a></li> </ul> {$pluginhooks[viewthread_profileside][$postcount]} </div> <div class="popuserinfo"> <p> <a href="space.php?uid=$post[authorid]" target="_blank">$post[author]</a> <!--{if $post['nickname']}--><em>($post[nickname])</em><!--{/if}--> <!--{if $vtonlinestatus && $post['authorid']}--> <!--{if ($vtonlinestatus == 2 && $onlineauthors[$post[authorid]]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}--> <em>{lang online} <!--{else}--> <em>{lang offline} <!--{/if}--> </em> <!--{/if}--> </p> <!--{if $post['customstatus']}--><p class="customstatus">$post[customstatus]</p><!--{/if}--> <dl class="s_clear">{eval @eval('echo "'.$customauthorinfo[2].'";');}</dl> <div class="imicons"> <!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=$post[qq]&amp;Site=$bbname&amp;Menu=yes" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}--> <!--{if $post['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}--> <!--{if $post['yahoo']}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!" /></a><!--{/if}--> <!--{if $post['taobao']}--><a href="javascript:;" onclick="window.open('http://amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&site=cntaobao&s=2&charset=utf-8')" title="taobao"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}--> <!--{if $ucappopen['UCHOME']}--> <a href="{$uchomeurl}/space.php?uid=$post[authorid]" target="_blank" title="{lang space}"><img src="{IMGDIR}/home.gif" alt="{lang space}" /></a> <!--{elseif $ucappopen['XSPACE']}--> <a href="{$xspaceurl}/?uid-$post[authorid]" target="_blank" title="{lang space}"><img src="{IMGDIR}/home.gif" alt="{lang space}" /></a> <!--{/if}--> <!--{if $post['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}" /></a><!--{/if}--> <a href="space.php?uid=$post[authorid]" target="_blank" title="{lang member_viewpro}"><img src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}" /></a> {$pluginhooks[viewthread_imicons][$postcount]} </div> <div id="avatarfeed"><span id="threadsortswait"></span></div> </div> </div> <!--{/if}--> $post[newpostanchor] $post[lastpostanchor] <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}--> <div> <!--{if $bannedmessages & 2 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}--> <div class="avatar">{lang member_avatar_banned}</div> <!--{elseif $post['avatar'] && $showavatars}--> <div class="avatar" onmouseover="showauthor(this, 'userinfo$post[pid]')"><a href="space.php?uid=$post[authorid]" target="_blank">$post[avatar]</a></div> <!--{/if}--> <p><em><a href="faq.php?action=grouppermission&searchgroupid={$post[groupid]}" target="_blank">{$post[authortitle]}</a></em></p> </div> <p>{eval showstars($post['stars']);}</p> {$pluginhooks[viewthread_sidetop][$postcount]} <!--{if $customauthorinfo[1]}--><dl class="profile s_clear">{eval @eval('echo "'.$customauthorinfo[1].'";');}</dl><!--{/if}--> <!--{if $post['medals']}--><p> <!--{loop $post['medals'] $medal}--> <img src="images/common/$medal[image]" alt="$medal[name]" title="$medal[name]" /> <!--{/loop}--></p> <!--{/if}--> <!--{if $discuz_uid && $magicstatus && $usemagic['user']}--> <p> <!--{loop $usemagic['user'] $id $magic}--> <a href="magic.php?action=mybox&operation=use&amp;type=1&amp;pid=$post[pid]&magicid=$id" onclick="showWindow('magics', this.href);doane(event);"><img src="images/magics/$magic[pic]" title="{lang magics_to_user}"></a> <!--{/loop}--> </p> <!--{/if}--> {$pluginhooks[viewthread_sidebottom][$postcount]} <!--{else}--> <div class="avatar"> <!--{if !$post['authorid']}--> <a href="javascript:;">{lang guest} <em>$post[useip]</em></a> <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}--> <!--{if $forum['ismoderator']}--><a href="space.php?uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}--> <!--{else}--> $post[author] <em>{lang member_deleted}</em> <!--{/if}--> </div> <!--{/if}--> <!--{if $allowedituser || $allowbanuser || ($forum['ismoderator'] && $allowviewip && ($thread['digest'] >= 0 || !$post['first']))}--> <hr class="shadowline" /> <p> {lang admin_member}<br /> <!--{if $forum['ismoderator'] && $allowviewip && ($thread['digest'] >= 0 || !$post['first'])}--> <a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]" onclick="ajaxmenu(this, 0, 1, 2);doane(event)" title="{lang admin_getip}" class="lightlink">IP</a>&nbsp; <!--{/if}--> <!--{if $allowedituser}--> <a href="{if $adminid == 1}admincp.php?action=members&username=$post[usernameenc]&submit=yes&frames=yes{else}modcp.php?action=members&op=edit&uid=$post[authorid]{/if}" target="_blank" class="lightlink">{lang edit}</a>&nbsp; <!--{/if}--> <!--{if $allowbanuser}--> <!--{if $adminid == 1}--> <a href="admincp.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank" class="lightlink">{lang ban_member}</a>&nbsp; <!--{else}--> <a href="modcp.php?action=members&op=ban&uid=$post[authorid]" target="_blank" class="lightlink">{lang ban_member}</a>&nbsp; <!--{/if}--> <!--{/if}--> <a href="modcp.php?action=threads&op=posts&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank" class="lightlink">{lang posts}</a> </p> <!--{/if}--> </td> <td class="postcontent"> <!--{if $post['first']}--><div id="threadstamp"><!--{if $threadstamp}--><img src="images/stamps/$threadstamp[url]" title="$threadstamp[text]" /><!--{/if}--></div><!--{/if}--> <div class="postinfo"> <strong><a title="{lang share_url_copy}" id="postnum$post[pid]" href="javascript:;" onclick="setCopy('{$boardurl}{if $post[first]}viewthread.php?tid=$tid$fromuid{else}redirect.php?goto=findpost&amp;ptid=$tid&amp;pid=$post[pid]$fromuid{/if}', '{lang post_copied}')"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a> <!--{if !$postcount}--> <em class="rpostno" title="{lang thread_redirect_postno_tips}">{lang thread_redirect_postno} <input id="rpostnovalue" size="3" type="text" class="txtarea" onkeydown="if(event.keyCode==13) {$('rpostnobtn').click();return false;}" /><span id="rpostnobtn" onclick="window.location='redirect.php?ptid=$tid&ordertype=$ordertype&postno='+$('rpostnovalue').value">&raquo;</span></em> <!--{/if}--> <!--{if $post['first']}--> <!--{if $ordertype != 1}--> <a href="viewthread.php?tid=$tid&extra=$extra&ordertype=1" class="left">{lang post_descview}</a> <!--{else}--> <a href="viewthread.php?tid=$tid&extra=$extra&ordertype=2" class="left">{lang post_ascview}</a> <!--{/if}--> <!--{/if}--> </strong> <div class="posterinfo"> <div class="pagecontrol"> <!--{if $post['first']}--> <a href="viewthread.php?action=printable&amp;tid=$tid" target="_blank" class="print left">{lang thread_printable}</a> <!--{if MSGBIGSIZE}--> <div class="msgfsize right"> <label>{lang font_zoom}: </label><small onclick="$('postlist').className='mainbox viewthread'" title="{lang common}">t</small><big onclick="$('postlist').className='mainbox viewthread t_bigfont'" title="{lang zoom_in}">T</big> </div> <!--{/if}--> <!--{elseif $thread['special'] == 5}--> <span class="debatevote poststand_{echo intval($post[stand])}"> <label><!--{if $post[stand] == 1}--><a href="viewthread.php?tid=$tid&extra=$extra&stand=1" title="{lang debate_view_square}">{lang debate_square}</a> <!--{elseif $post[stand] == 2}--><a href="viewthread.php?tid=$tid&extra=$extra&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a> <!--{else}--><a href="viewthread.php?tid=$tid&extra=$extra&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}--> </label> <!--{if $post[stand]}--> <span><a href="misc.php?action=debatevote&tid=$tid&pid=$post[pid]" id="voterdebate_$post[pid]" onclick="ajaxmenu(this);doane(event);">{lang debate_support}</a>$post[voters]</span> <!--{/if}--> </span> <!--{/if}--> </div> <div class="authorinfo"> <!--{if !$post['anonymous'] && $_DCACHE['groupicon'][$post['groupid']]}--> <img class="authicon" id="authicon$post[pid]" src="$_DCACHE['groupicon'][$post['groupid']]" onclick="showauthor(this, 'userinfo$post[pid]')" /> <!--{else}--> <img class="authicon" id="authicon$post[pid]" src="images/common/online_member.gif" onclick="showauthor(this, 'userinfo$post[pid]');" /> <!--{/if}--> <!--{if $post['authorid'] && !$post['anonymous']}--> <!--{if !$authoronleft}--><a href="space.php?uid=$post[authorid]" class="posterlink" target="_blank">$post[author]</a><!--{/if}-->{$pluginhooks[viewthread_postheader][$postcount]}<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em> <!--{if !$authorid}--> | <a href="viewthread.php?tid=$post[tid]&amp;page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a> <!--{else}--> | <a href="viewthread.php?tid=$post[tid]&amp;page=$page" rel="nofollow">{lang thread_show_all}</a> <!--{/if}--> <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}--> {lang anonymous} {$pluginhooks[viewthread_postheader][$postcount]}<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em> <!--{elseif !$post['authorid'] && !$post['username']}--> {lang guest} {$pluginhooks[viewthread_postheader][$postcount]}<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em> <!--{/if}--> </div> </div> </div> <div class="defaultpost"> <!--{if $admode && !empty($advlist['thread2'][$post['count']])}--><div class="ad_textlink2" id="ad_thread2_$post[count]">$advlist[thread2][$post[count]]</div><!--{else}--><div id="ad_thread2_$post[count]"></div><!--{/if}--> <!--{if $admode && !empty($advlist['thread3'][$post['count']])}--><div class="ad_pip" id="ad_thread3_$post[count]">$advlist[thread3][$post[count]]</div><!--{else}--><div id="ad_thread3_$post[count]"></div><!--{/if}--><div id="ad_thread4_$post[count]"></div> <div class="postmessage <!--{if $post['first']}-->firstpost<!--{/if}-->"> <!--{if $post['warned']}--> <span class="postratings"><a href="misc.php?action=viewwarning&amp;tid=$tid&amp;uid=$post[authorid]" title="{lang warn_get}" onclick="showWindow('viewwarning', this.href);return false;"><img src="{IMGDIR}/warning.gif" border="0" /></a></span> <!--{/if}--> <!--{if $thread[special] == 3 && $post['first']}--> <!--{if $thread['price'] > 0}--> <cite class="re_unsolved">{lang reward_unsolved}</cite> <!--{elseif $thread['price'] < 0}--> <cite class="re_solved">{lang reward_solved}</cite> <!--{/if}--> <!--{if $activityclose}--><cite class="re_solved">{lang activity_close}</cite><!--{/if}--> <!--{/if}--> <!--{if $post['first']}--> <div id="threadtitle"> <!--{if $thread['readperm']}--><em>{lang readperm_thread} $thread[readperm]</em><!--{/if}--> <h1>$thread[subject]</h1> <!--{if $thread[tags] || $relatedkeywords}--> <div class="threadtags"> <!--{if $thread['tags']}-->$thread[tags]<!--{/if}--> <!--{if $relatedkeywords}--><span class="postkeywords">$relatedkeywords</span><!--{/if}--> </div> <!--{/if}--> </div> <!--{elseif $post['subject']}--> <h2>$post[subject]</h2> <!--{/if}--> <!--{if $adminid != 1 && $bannedmessages & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}--> <div class="locked">{lang message_banned}</div> <!--{elseif $adminid != 1 && $post['status'] & 1}--> <div class="locked">{lang message_single_banned}</div> <!--{elseif $needhiddenreply}--> <div class="locked">{lang message_ishidden_hiddenreplies}</div> <!--{elseif $post['first'] && $threadpay}--> {subtemplate viewthread_pay} <!--{else}--> {$pluginhooks[viewthread_posttop][$postcount]} <!--{if $bannedmessages & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))}--> <div class="locked">{lang admin_message_banned}</div> <!--{elseif $post['status'] & 1}--> <div class="locked">{lang admin_message_single_banned}</div> <!--{/if}--> <!--{if $post['first']}--> <!--{if $thread['price'] > 0 && $thread['special'] == 0}--> <div class="locked"><em class="right"><a href="misc.php?action=viewpayments&tid=$tid" onclick="showWindow('pay', this.href);return false;">{lang pay_view}</a></em>{lang pay_threads}:<strong>{$extcredits[$creditstransextra[1]][title]} $thread[price] {$extcredits[$creditstransextra[1]][unit]} </strong></div> <!--{/if}--> <!--{if $typetemplate}--> $typetemplate <!--{elseif $optionlist && !($post['status'] & 1) && !$threadpay}--> <div class="typeoption"> <h4>$forum[threadsorts][types][$thread[sortid]]</h4> <table summary="{lang threadtype_option}" cellpadding="0" cellspacing="0" class="formtable datatable"> <!--{loop $optionlist $option}--> <tr class="{echo swapclass('colplural')}"> <th>$option[title]</th> <td><!--{if $option['value']}-->$option[value] $option[unit]<!--{else}-->-<!--{/if}--></td> </tr> <!--{/loop}--> </table> </div> <!--{/if}--> <!--{if $thread[special] == 1}--> {template viewthread_poll} <!--{elseif $thread[special] == 3}--> {template viewthread_reward_price} <!--{elseif $thread[special] == 4}--> {template viewthread_activity_info} <!--{elseif $thread[special] == 5}--> {template viewthread_debate_umpire} <!--{elseif $threadplughtml}--> $threadplughtml <!--{/if}--> <!--{/if}--> <div class="{if !$thread[special]}t_msgfontfix{else}specialmsg{/if}"> <table cellspacing="0" cellpadding="0"><tr><td class="t_msgfont" id="postmessage_$post[pid]">$post[message]</td></tr></table> <!--{if $post['first']}--> <!--{if $thread[special] == 2}--> {template viewthread_trade} <!--{elseif $thread[special] == 3}--> <!--{if $bapid}-->{eval $bestpost = $postlist[$bapid];unset($postlist[$bapid]);}<!--{/if}--> {template viewthread_reward} <!--{elseif $thread[special] == 4}--> {template viewthread_activity} <!--{elseif $thread[special] == 5}--> {template viewthread_debate} <!--{/if}--> <!--{/if}--> <!--{if $post['attachment']}--> <div class="locked">{lang attachment}: <em><!--{if $discuz_uid}-->{lang attach_nopermission}<!--{else}-->{lang attach_nopermission_login}<!--{/if}--></em></div> <!--{elseif $hideattach[$post[pid]] && $post['attachments']}--> <div class="locked">{lang attachment}: <em>{lang attachment_reply_show}</em></div> <!--{elseif $post['imagelist'] || $post['attachlist']}--> <div class="postattachlist"> <!--{if $post['imagelist']}--> $post['imagelist'] <!--{/if}--> <!--{if $post['attachlist']}--> $post[attachlist] <!--{/if}--> </div> <!--{/if}--> <!--{if $relatedthreadlist && !$qihoo['relate']['position'] && $post['first']}--> <div class="tagrelated"> <h3><em><a href="http://search.qihoo.com/sint/qusearch.html?kw=$searchkeywords&amp;sort=rdate&amp;ics=$charset&amp;domain=$site&amp;tshow=1" target="_blank">{lang thread_more_related_threads}</a></em>{lang qihoo_relatedthreads}</h3> <ul> <!--{loop $relatedthreadlist $key $threads}--> <!--{if $threads[tid] != $tid}--> <li> <!--{if !$threads['insite']}--> [{lang qihoo_webthread}] <a href="topic.php?url={echo urlencode($threads[tid])}&amp;md5={echo md5($threads[tid])}&amp;statsdata=$fid||$tid" target="_blank">$threads[title]</a>&nbsp;&nbsp;&nbsp; [ <a href="post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;url={echo urlencode($threads[tid])}&amp;md5={echo md5($threads[tid])}&amp;from=direct" style="color: #090" target="_blank">{lang reprint}</a> ] <!--{else}--> <a href="viewthread.php?tid=$threads[tid]&amp;statsdata=$fid||$tid" target="_blank">$threads[title]</a> <!--{/if}--> </li> <!--{/if}--> <!--{/loop}--> </ul> </div> <!--{/if}--> <!--{if $post['first'] && $relatedtagstatus}--> <div id="relatedtags"></div> <script type="text/javascript" src="tag.php?action=relatetag&rtid=$tid" reload="1"></script> <!--{/if}--> </div> {$pluginhooks[viewthread_postbottom][$postcount]} <!--{if !empty($post['ratelog'])}--> <dl class="newrate"> <dt> <!--{if !empty($postlist[$post[pid]]['totalrate'])}--> <strong><a href="misc.php?action=viewratings&amp;tid=$tid&amp;pid=$post[pid]" onclick="showWindow('viewratings', this.href);return false;" title="{lang thread_rate_log_lately}">{echo count($postlist[$post[pid]][totalrate]);}</a></strong> <p>{lang thread_rate_count}</p> <!--{/if}--> </dt> <dd> <ul class="s_clear"> <div id="post_rate_$post[pid]"></div> <!--{if $ratelogon}--> <ul class="s_clear ratelist"> <!--{loop $post['ratelog'] $uid $ratelog}--> <li id="rate_{$post[pid]}_{$uid}" class="ratelistavatar"> <a href="space.php?uid=$uid" target="_blank">{echo discuz_uc_avatar($uid, 'small');}</a><a href="space.php?uid=$uid" target="_blank">$ratelog[username]:</a> $ratelog[reason] <!--{loop $ratelog['score'] $id $score}--> <!--{if $score > 0}--> <em>{$extcredits[$id][title]} + $score $extcredits[$id][unit]</em> <!--{else}--> <span>{$extcredits[$id][title]} $score $extcredits[$id][unit]</span> <!--{/if}--> <!--{/loop}--> </li> <!--{/loop}--> </ul> <!--{else}--> <!--{loop $post['ratelog'] $uid $ratelog}--> <li> <div id="rate_{$post[pid]}_{$uid}_menu" class="attach_popup" style="display: none;"> <p class="cornerlayger">$ratelog[reason] &nbsp;&nbsp; <!--{loop $ratelog['score'] $id $score}--> <!--{if $score > 0}--> <em>{$extcredits[$id][title]} + $score $extcredits[$id][unit]</em> <!--{else}--> <span>{$extcredits[$id][title]} $score $extcredits[$id][unit]</span> <!--{/if}--> <!--{/loop}--> </p> <p class="minicorner"></p> </div> <p id="rate_{$post[pid]}_{$uid}" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" class="rateavatar"><a href="space.php?uid=$uid" target="_blank">{echo discuz_uc_avatar($uid, 'small');}</a></p> <p><a href="space.php?uid=$uid" target="_blank">$ratelog[username]</a></p> </li> <!--{/loop}--> <!--{/if}--> </ul> </dd> </dl> <!--{else}--> <div id="post_rate_div_$post[pid]"></div> <!--{/if}--> <!--{/if}--> <!--{if $post['first']}--> <!--{if $lastmod['modaction']}--><div class="modact"><a href="misc.php?action=viewthreadmod&amp;tid=$tid" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href);return false;">{lang thread_mod_by}</a></div><!--{/if}--> <!--{if $lastmod['magicname']}--><div class="modact"><a href="misc.php?action=viewthreadmod&amp;tid=$tid" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href);return false;">{lang magics_logs}</a></div><!--{/if}--> <div class="useraction{if $allowrecommend && $recommendthread[status]} nrate{/if}"> <a href="javascript:;" onclick="showDialog($('favoritewin').innerHTML, 'info', '{lang thread_favorite}/{lang thread_attention}')">{lang thread_favorite}</a> <a href="javascript:;" id="share" onclick="showDialog($('sharewin').innerHTML, 'info', '{lang thread_share}')">{lang thread_share}</a> <!--{if $allowrecommend && $recommendthread[status]}--> <div id="ajax_recommendlink"> <div id="recommendv" onclick="switchrecommendv()" title="{lang recommends}"{if $recommendthread[defaultshow]} style="display: none"{/if}>$thread[recommends]</div> <ul id="recommendav" onclick="switchrecommendv()" title="{lang recommends}"{if !$recommendthread[defaultshow]} style="display: none"{/if} class="recommend_act s_clear"> <li id="recommendv_add" title="$recommendthread[addtext]{lang recommends_users}">$thread[recommend_add]</li> <li id="recommendv_subtract" title="$recommendthread[subtracttext]{lang recommends_users}">$thread[recommend_sub]</li> </ul> <ul class="recommend_act s_clear"> <li><a id="recommend_add" {if $discuz_uid}href="misc.php?action=recommend&amp;do=add&amp;tid=$tid" onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate($allowrecommend)');;doane(event);"{else}href="logging.php?action=login" onclick="showWindow('login', this.href);return false;"{/if}>$recommendthread[addtext]</a></li> <li><a id="recommend_subtract"{if $discuz_uid}href="misc.php?action=recommend&amp;do=subtract&amp;tid=$tid" onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(-$allowrecommend)');;doane(event);"{else}href="logging.php?action=login" onclick="showWindow('login', this.href);return false;"{/if}>$recommendthread[subtracttext]</a></li> </ul> </div> <!--{/if}--> {$pluginhooks[viewthread_useraction]} </div> <!--{/if}--> </div> </div> </td></tr> <tr><td class="postcontent postbottom"> <!--{if $post['signature'] && ($bannedmessages & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}--> <div class="signatures">{lang member_signature_banned}</div> <!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}--> <div class="signatures" style="max-height:{$maxsigrows}px;maxHeightIE:{$maxsigrows}px;">$post[signature]</div> <!--{/if}--> <!--{if $admode && !empty($advlist['thread1'][$post['count']])}--><div class="ad_textlink1" id="ad_thread1_$post[count]">$advlist[thread1][$post[count]]</div><!--{else}--><div id="ad_thread1_$post[count]"></div><!--{/if}--> </td> </tr> <tr> <td class="postauthor"></td> <td class="postcontent"> <div class="postactions"> <!--{if $forum['ismoderator'] && ($allowdelpost || $allowbanpost)}--> <span class="right"> <label for="manage$post[pid]"> <!--{if $post['first'] && $thread['digest'] == -1}--> <input type="checkbox" id="manage$post[pid]" disabled="disabled" /> <!--{else}--> <input type="checkbox" id="manage$post[pid]" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" /> <!--{/if}--> {lang manage} </label> </span> <!--{/if}--> <div class="postact s_clear"> <em> <!--{if $allowpostreply}--> <a class="fastreply" href="post.php?action=reply&amp;fid=$fid&amp;tid=$tid&amp;reppost=$post[pid]&amp;extra=$extra&amp;page=$page" onclick="showWindow('reply', this.href);return false;">{lang reply}</a> <!--{if !$needhiddenreply}--> <a class="repquote" href="post.php?action=reply&amp;fid=$fid&amp;tid=$tid&amp;repquote=$post[pid]&amp;extra=$extra&amp;page=$page" onclick="showWindow('reply', this.href);return false;">{lang reply_quote}</a> <!--{/if}--> <!--{/if}--> <!--{if (($forum['ismoderator'] && $alloweditpost && !(in_array($post['adminid'], array(1, 2, 3)) && $adminid > $post['adminid'])) || ($forum['alloweditpost'] && $discuz_uid && $post['authorid'] == $discuz_uid)) && ($thread['digest'] >= 0 || !$post['first'])}--> <a class="editpost" href="post.php?action=edit&amp;fid=$fid&amp;tid=$tid&amp;pid=$post[pid]&amp;page=$page"><!--{if $thread['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}--> <!--{/if}--> {$pluginhooks[viewthread_postfooter][$postcount]} </em> <p> <!--{if $thread['special'] == 3 && ($forum['ismoderator'] || $thread['authorid'] == $discuz_uid) && $discuz_uid != $post['authorid'] && $post['authorid'] != $thread['authorid'] && $post['first'] == 0 && $thread['price'] > 0}--> <a href="javascript:;" onclick="setanswer($post['pid'])">{lang reward_set_bestanswer}</a> <!--{/if}--> <!--{if $raterange && $post['authorid']}--> <a href="misc.php?action=rate&amp;tid=$tid&amp;pid=$post[pid]" onclick="showWindow('rate', this.href);return false;">{lang rate}</a> <!--{/if}--> <!--{if $post['rate'] && $forum['ismoderator']}--> <a href="misc.php?action=removerate&amp;tid=$tid&amp;pid=$post[pid]&amp;page=$page" onclick="showWindow('rate', this.href);return false;">{lang removerate}</a> <!--{/if}--> <!--{if !$forum['ismoderator'] && $discuz_uid && $reportpost && $discuz_uid != $post['authorid']}--> <a href="misc.php?action=report&amp;fid=$fid&amp;tid=$tid&amp;pid=$post[pid]" onclick="showWindow('report', this.href);doane(event);">{lang reportpost}</a> <!--{/if}--> <!--{if $discuz_uid && $magicstatus}--> <a href="magic.php?action=getmagic&amp;fid=$fid&amp;pid=$post[pid]" id="usermagicopt$post[pid]" class="dropmenu" onmouseover="SMAM=setTimeout(function() {ajaxmenu($('usermagicopt$post[pid]'), 1000, 1, 2);doane(event);}, 500)" onmouseout="clearTimeout(SMAM)" onclick="if($(this.id + '_menu') && $(this.id + '_menu').style.display == '') {hideMenu(this.id + '_menu')} else {ajaxmenu(this, 1000, 1, 2);}doane(event);">{lang magics_use}</a> <!--{/if}--> <!--{if !$post['first']}--> <a href="javascript:;" onclick="scrollTo(0,0);">TOP</a> <!--{/if}--> </p> </div> </div> </td> </tr> <tr class="threadad"> <td class="postauthor"></td> <td class="adcontent"> <!--{if $post['first'] && $thread['replies']}--><!--{if $admode && !empty($advlist['interthread'])}--><div class="ad_column" id="ad_interthread">$advlist[interthread]<!--{else}--><div id="ad_interthread"><!--{/if}--></div><!--{/if}--> </td> </tr> <!--{if $post['first'] && $thread[special] == 5 && $stand != ''}--> <tr class="threadad stand_select"> <td class="postauthor" style="background: #EBF2F8;"></td> <td> <div class="itemtitle s_clear"> <h2>{lang debate_filter}: </h2> <ul> <li><a href="viewthread.php?tid=$tid&extra=$extra" hidefocus="true"><span>{lang all}</span></a></li> <li <!--{if $stand == 1}-->class="current"<!--{/if}-->><a href="viewthread.php?tid=$tid&extra=$extra&stand=1" hidefocus="true"><span>{lang debate_square}</span></a></li> <li <!--{if $stand == 2}-->class="current"<!--{/if}-->><a href="viewthread.php?tid=$tid&extra=$extra&stand=2" hidefocus="true"><span>{lang debate_opponent}</span></a></li> <li <!--{if $stand == 0}-->class="current"<!--{/if}-->><a href="viewthread.php?tid=$tid&extra=$extra&stand=0" hidefocus="true"><span>{lang debate_neutral}</span></a></li> </ul> </div> <hr class="solidline" /> </td> </tr> <!--{/if}--> </table> <!--{if $aimgs[$post[pid]]}--> <script type="text/javascript" reload="1">aimgcount[{$post[pid]}] = [{echo implode(',', $aimgs[$post[pid]]);}];attachimgshow($post[pid]);</script> <!--{/if}--> {$pluginhooks[viewthread_endline][$postcount]} {eval $postcount++;}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewthread_node.htm
HTML
asf20
30,888
<?php $language = array ( 'feed_thread_title' => '{actor} 在 {app} 发表了新话题', 'feed_thread_message' => '{subject}<br />{message}', 'feed_reply_title' => '{actor} 在 {app} 回复了 {author} 的话题 {subject}', 'feed_reply_message' => '', 'feed_thread_poll_title' => '{actor} 在 {app} 发起了新投票', 'feed_thread_poll_message' => '{subject}<br />{message}', 'feed_thread_votepoll_title' => '{actor} 在 {app} 参与了关于 {subject} 的投票', 'feed_thread_votepoll_message' => '', 'feed_thread_goods_title' => '{actor} 在 {app} 出售了一个新商品', 'feed_thread_goods_message' => '{itemname}<br />售价 {itemprice} 元', 'feed_thread_reward_title' => '{actor} 在 {app} 发起了新悬赏', 'feed_thread_reward_message' => '{subject}<br />悬赏 {rewardprice} {extcredits}', 'feed_reply_reward_title' => '{actor} 在 {app} 回复了关于 {subject} 的悬赏', 'feed_reply_reward_message' => '', 'feed_thread_activity_title' => '{actor} 在 {app} 发起了新活动', 'feed_thread_activity_message' => '开始时间:{starttimefrom}<br />活动地点:{activityplace}<br />每人大约 {cost} 元<br />{subject}<br />{message}', 'feed_reply_activity_title' => '{actor} 在 {app} 报名参加了 {subject} 的活动', 'feed_reply_activity_message' => '', 'feed_thread_debate_title' => '{actor} 在 {app} 发起了新辩论', 'feed_thread_debate_message' => '正方:{affirmpoint}<br />反方:{negapoint}<br />{subject}<br />{message}', 'feed_thread_debatevote_title' => '{actor} 在 {app} 参与了关于 {subject} 的辩论', 'feed_thread_debatevote_message' => '', ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/feed.lang.php
PHP
asf20
1,704
{template header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang pm_center}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <div class="itemtitle s_clear"> <form id="pm_search" method="get" action="pm.php" class="right"> <input name="search" type="hidden" value="yes" /> <input name="srchtxt" type="text" value="{if !empty($search) && $srchtxt !== ''}$srchtxtinput{/if}" class="txt" /> <input type="submit" value="{lang search}" /> </form> <h1>{lang pm_center}</h1> </div> <div class="pm_header colplural itemtitle s_clear"> <a href="pm.php?action=new" onclick="showWindow('sendpm', this.href);return false;" class="postpm">+ {lang pm_send}</a> <ul> <li {if $filter == 'newpm'}class="current"{/if}><a href="pm.php?filter=newpm" hidefocus="true"><span>{lang pm_unread}</span></a></li> <li {if $filter == 'privatepm'}class="current"{/if}><a href="pm.php?filter=privatepm" hidefocus="true"><span>{lang pm_private}</span></a></li> <li {if $filter == 'announcepm'}class="current"{/if}><a href="pm.php?filter=announcepm" hidefocus="true"><span>{lang pm_announce}</span></a></li> <li {if $action == 'viewblack'}class="current"{/if}><a href="pm.php?action=viewblack" hidefocus="true"><span>{lang pm_setting}</span></a></li> </ul> </div> <!--{if !$action}--> <!--{if $pmlist}--> <form method="post" id="pmform" action="pm.php?action=del&filter=$filter&page=$page"> <input name="readopt" type="hidden" value="0" /> <ul class="pm_list"> {eval $range = array('', '{lang pm_today}', '{lang pm_yesterday}', '{lang pm_before_yesterday}');} <!--{loop $pmlist $key $pm}--> <li id="pm_$pm[pmid]" class="s_clear {echo swapclass('colplural')}"> <!--{if $filter == 'privatepm'}--> <a{if $pm[msgfromurl]} href="$pm[msgfromurl]"{/if} target="_blank" class="avatar">{echo discuz_uc_avatar($pm[touid], 'small');}</a> <!--{else}--> <a class="avatar">{echo discuz_uc_avatar($pm[touid], 'small');}</a> <!--{/if}--> <p class="cite"> <!--{if $pm[msgfrom]}--><cite><a{if $pm[msgfromurl]} href="$pm[msgfromurl]"{/if} target="_blank">$pm[msgfrom]</a></cite><!--{/if}--> <!--{if $range[$pm[daterange]]}-->$range[$pm[daterange]] $pm[time]<!--{else}-->$pm[date] $pm[time]<!--{/if}--> <!--{if $pm[new] && $filter != 'announcepm'}-->&nbsp;&nbsp;<img src="{IMGDIR}/notice_newpm.gif" alt="NEW" /><!--{/if}--> </p> <div class="summary"> <!--{if $filter != 'announcepm'}--> <!--{if $pm[touid]}--> $pm[message]</div> <p class="more"><a href="pm.php?uid=$pm[touid]&filter=$filter{if !empty($search)}#pm_$pm[pmid]{else}&amp;daterange=$pm[daterange]#new{/if}" class="to">{lang pm_view}</a></p> <span class="action"> <input name="uid[]" class="checkbox" type="checkbox" value="$pm[touid]" /> <a href="pm.php?action=del&uid=$pm[touid]&filter=$filter" id="pmd_$pm[pmid]" onclick="deletepm(this, $pm[pmid]);return false;" class="delete" title="{lang delete}">{lang delete}</a> </span> <!--{else}--> <a href="pm.php?pmid=$pm[pmid]&filter=$filter">$pm[message]</a> </div> <span class="action"> <input name="pmid[]" class="checkbox" type="checkbox" value="$pm[pmid]" /> <a href="pm.php?action=del&pmid=$pm[pmid]&filter=$filter" id="pmd_$pm[pmid]" onclick="deletepm(this, $pm[pmid]);return false;" class="delete" title="{lang delete}">{lang delete}</a> </span> <!--{/if}--> <!--{else}--> <a href="pm.php?pmid=$pm[pmid]&filter=$filter">$pm[message]</a></div> <!--{/if}--> </li> <!--{/loop}--> </ul> <div class="s_clear" style="margin: 10px 0;"> <!--{if $filter != 'announcepm'}--> <span class="right"> <input class="checkbox" type="checkbox" id="chkall" name="chkall" onclick="checkall(this.form);" /> <label for="chkall">{lang checkall}</label> <span class="pipe">|</span><a href="javascript:;" onclick="doane(event);$('pmform').readopt.value = 0;$('pmform').submit()" class="lightlink">{lang delete}</a> <button type="submit" value="yes" class="button" id="delallpm" style="display: none;">{lang delete}</button> </span> <!--{/if}--> {lang pm_num_total} </div> <div> <!--{if !empty($search) && $filter !== ''}--> <!--{if $page > 1}--><a href="pm.php?search=yes&srchtxt=$srchtxtenc">{lang pm_first_page}</a><!--{/if}--> <a href="pm.php?search=yes&srchtxt=$srchtxtenc&page={echo $page+1}">{lang pm_search_continue}</a> <!--{else}--> $multipage <!--{/if}--> </div> </form> <script type="text/javascript"> function deletepm(obj, pmid) { str = 'ajaxget(\'' + obj.href + '\', \'pm_' + pmid + '\', \'ajaxwaitid\', \'ajaxwaitid\', \'\', \'$(\\\'pm_' + pmid + '\\\').style.display = \\\'none\\\'\');'; showDialog('{lang pm_delete_confirm}', 'confirm', '', str); } </script> <!--{else}--> <p class="nodata">{lang data_nonexistence}</p> <!--{/if}--> <!--{elseif $action == 'view'}--> <!--{if empty($pmid)}--> <div class="itemtitle newpm_notice s_clear"> <span class="right"> {lang pm_total} {echo count($pmlist);} <span class="pipe">|</span><a href="pm.php?uid=$uid&daterange=5&export=yes">{lang pm_archive}</a> <span class="pipe">|</span><a href="pm.php?action=del&uid=$uid&filter=$filter" onclick="return confirm('{lang pm_clean_confirm}');">{lang pm_clean}</a> <span class="pipe">|</span><a href="pm.php?action=addblack&formhash={FORMHASH}&user={echo rawurlencode($user);}" class="addblack">{lang pm_add_blacklist}</a> </span> <a href="javascript:history.go(-1);" class="back">{lang return}</a> <span class="left">{lang pm_between_user}</span> <ul> <li{if $daterange <= 3} class="current"{/if}><a href="pm.php?uid=$uid&daterange=3" hidefocus="true"><span>{lang pm_three_day}</span></a></li> <li{if $daterange == 4} class="current"{/if}><a href="pm.php?uid=$uid&daterange=4" hidefocus="true"><span>{lang pm_week}</span></a></li> <li{if $daterange == 5} class="current"{/if}><a href="pm.php?uid=$uid&daterange=5" hidefocus="true"><span>{lang pm_all_day}</span></a></li> </ul> </div> <!--{/if}--> <div id="pmlist"> <ul class="pm_list"> <!--{if $pmlist}--> {eval $new = 0;} <!--{loop $pmlist $pm}--> {subtemplate pm_node} <!--{/loop}--> <!--{else}--> <!--{if $daterange == 3}--> <li>{lang pm_three_day_nonexistence}</li> <!--{elseif $daterange == 4}--> <li>{lang pm_week_nonexistence}</li> <!--{else}--> <li>{lang pm_all_day_nonexistence}</li> <!--{/if}--> <!--{/if}--> </ul> <!--{if empty($pmid) && $allowsendpm}--> <div id="pm_list"> <ul id="pm_new" class="pm_list" style="display: none"></ul> </div> <form id="pmform" method="post" action="pm.php?action=send&uid=$uid&pmsubmit=yes&infloat=yes" class="pmreply"> <input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" /> <input type="hidden" name="handlekey" value="pmreply" /> <input type="hidden" name="lastdaterange" value="$lastdaterange" /> <div class="editor_tb" style="width: 514px"> {eval $seditor = array('pmreply', array('bold', 'img', 'link', 'quote', 'code', 'smilies'));} {subtemplate seditor} </div> <textarea onKeyDown="seditor_ctlent(event, 'pmreplysubmit()')" id="pmreplymessage" name="message" class="txtarea" cols="30" rows="5" style="margin-top: -1px; border-top: none;"></textarea> <p style="margin: 5px 0;"><button onclick="pmreplysubmit();return false;">{lang pm_reply}</button> {eval $policymsgs = $p = '';} <!--{loop $creditspolicy['sendpm'] $id $policy}--> <!--{block policymsg}--><!--{if $extcredits[$id][img]}-->$extcredits[$id][img] <!--{/if}-->$extcredits[$id][title] $policy $extcredits[$id][unit]<!--{/block}--> {eval $policymsgs .= $p.$policymsg;$p = ', ';} <!--{/loop}--> <!--{if $policymsgs}-->&nbsp;{lang pm_credit_msg}<!--{/if}--> </p> </form> <!--{/if}--> </div> <script type="text/javascript"> function pmreplysubmit() { $('pmreplymessage').value = parseurl($('pmreplymessage').value); ajaxpost('pmform', 'pm_new', 'pm_new', 'onerror'); } function messagehandle_pmreply() { $('pm_new').style.display = ''; } function appendpmnode() { $('pm_new').className = 'pm_list'; $('pm_new').style.display = ''; $('pm_new').id = ''; ul = document.createElement('ul'); ul.id = 'pm_new'; ul.className = 'pm_list'; ul.style.display = 'none'; $('pm_list').appendChild(ul); $('pmform').message.value = ''; showCreditPrompt(); if(document.body.stat) document.body.stat('pm_send_succeed', 'pm.php'); } </script> <!--{elseif $action == 'viewblack'}--> <div class="blacklist"> <form class="allblocked" method="post" action="pm.php?user=%7BALL%7D"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="action" value="" /> <label><input name="black" type="radio" class="radio" value="0" onclick="this.form.action.value = 'delblack'"{if !$blackall} checked="checked"{/if} /> {lang pm_all_blacklist_receive}</label> <label><input name="black" type="radio" class="radio" value="1" onclick="this.form.action.value = 'addblack'"{if $blackall} checked="checked"{/if} /> {lang pm_all_blacklist_black}</label> <input type="submit" name="submit" value="{lang submit}" /> </form> <h3 class="blocktitle lightlink">{lang pm_blacklist}: </h3> <ul class="commonlist inlinelist"> {eval $dataexist=0;} <!--{loop $blackls $user}--> <!--{if $user !== '' && $user != chr(0x7B).'ALL'.chr(0x7D)}--> {eval $dataexist=1;} <li style="padding: 4px 0;" onmouseover="this.className='hover'" onmouseout="this.className=''"> <a href="space.php?username=$user" target="_blank">$user</a> <a href="pm.php?action=delblack&formhash={FORMHASH}&user={echo urlencode($user);}" title="{lang pm_remove_blacklist}" class="remove">{lang pm_remove_blacklist}</a> </li> <!--{/if}--> <!--{/loop}--> <!--{if !$dataexist}--> <li>{lang data_nonexistence}<li> <!--{/if}--> </ul> </div> <!--{/if}--> </div> </div> <div class="side"> {subtemplate personal_navbar} </div> </div> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/pm.htm
HTML
asf20
10,805
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_$handlekey"><!--{if $isactivitymaster}-->{lang activity_applylist_manage}<!--{else}-->{lang activity_applylist}<!--{/if}--></em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form id="applylistform" method="post" action="misc.php?action=activityapplylist&tid=$tid&applylistsubmit=yes&infloat=yes"{if !empty($infloat)} onsubmit="ajaxpost('applylistform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;"{/if}> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="operation" value="" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <!--{if !empty($uid) && $isactivitymaster}--> {eval $apply = $applylist[0];} <input type="hidden" name="applyidarray[]" value="$apply[applyid]" /> <table class="list" cellspacing="0" cellpadding="0" style="width:200px"> <tr> <th>{lang activity_join_members}</th> <td><a target="_blank" href="space.php?uid=$apply[uid]">$apply[username]</a></td> </tr> <tr> <th>{lang activity_linkman}</th> <td>$apply[contact]</td> </tr> <tr> <th>{lang leaveword}</th> <td>$apply[message]</td> </tr> <tr> <th>{lang activity_payment}</th> <td><!--{if $apply[payment] >= 0}-->$apply[payment] {lang payment_unit}<!--{else}-->{lang activity_self}<!--{/if}--></td> </tr> <tr> <th>{lang activity_jointime}</th> <td>$apply[dateline]</td> </tr> <tr class="btns" align="center"> <!--{if $operation == 'delete'}--> <td colspan="2"><button type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='delete';">{lang delete}</button></td> <!--{else}--> <td colspan="2"><button class="submit" type="submit" value="true" name="applylistsubmit">{lang confirm}</button></td> <!--{/if}--> </tr> </table> <!--{else}--> <div class="floatwrap"> <table class="list" cellspacing="0" cellpadding="5"> <thead> <tr> <!--{if $isactivitymaster}--><td>&nbsp;</td><!--{/if}--> <td>{lang activity_join_members}</td> <!--{if $isactivitymaster}--><td>{lang activity_linkman}</td><!--{/if}--> <td>{lang leaveword}</td> <td>{lang activity_payment}</td> <td>{lang activity_jointime}</td> <!--{if $isactivitymaster}--><td>{lang status}</td><!--{/if}--> </tr> </thead> <!--{loop $applylist $apply}--> <tr> <!--{if $isactivitymaster}--> <td><input class="checkbox" type="checkbox" name="applyidarray[]" value="$apply[applyid]" /></td> <!--{/if}--> <td><a target="_blank" href="space.php?uid=$apply[uid]">$apply[username]</a></td> <!--{if $isactivitymaster}--> <td><input type="text" size="10" class="txt" value="$apply[contact]" readonly="readonly" /></td> <!--{/if}--> <td><input type="text" size="15" class="txt" value="$apply[message]" readonly="readonly" /></td> <td><!--{if $apply[payment] >= 0}-->$apply[payment] {lang payment_unit}<!--{else}-->{lang activity_self}<!--{/if}--></td> <td>$apply[dateline]</td> <!--{if $isactivitymaster}--> <td><!--{if $apply[verified]}-->{lang activity_allow_join}<!--{else}-->{lang activity_cant_audit}<!--{/if}--></td> <!--{/if}--> </tr> <!--{/loop}--> </table> </div> <!--{if $isactivitymaster}--> <div class="postbox"> <label><input class="checkbox header" type="checkbox" name="chkall" onclick="checkall(this.form, 'applyid')" /> {lang checkall}</label>&nbsp;&nbsp; <button type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='delete';">{lang delete}</button>&nbsp;&nbsp; <button class="submit" type="submit" value="true" name="applylistsubmit">{lang confirm}</button> </div> <!--{/if}--> <!--{/if}--> </form> </div> <!--{if !empty($infloat)}--> <script type="text/javascript" reload="1"> function submithandle_$handlekey(locationhref) { ajaxget('viewthread.php?tid=$tid&viewpid=$pid', 'post_$pid'); hideWindow('$handlekey'); } </script> <!--{/if}--> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/activity_applylist.htm
HTML
asf20
4,636
<!--{if $fid && $forum['ismoderator']}--> <div class="itemtitle s_clear"> <h1><!--{if $op == 'editforum'}-->{lang mod_option_forum_edit}<!--{elseif $op == 'recommend'}-->{lang mod_option_forum_recommend}<!--{/if}--> - <a href="forumdisplay.php?fid=$fid" target="_blank">$forum[name]</a></h1> <!--{if $op == 'recommend'}--> <ul> <li {if $show == 'all'} class="current" {/if}><a href="{$cpscript}?action=forums&op=recommend&show=all{$forcefid}" hidefocus="true"><span>{lang forum_recommend_position_all}</span></a></li> <li {if $show == 'forumdisplay'} class="current" {/if}><a href="{$cpscript}?action=forums&op=recommend&show=forumdisplay{$forcefid}" hidefocus="true"><span>{lang forum_recommend_position_forumdisplay}</span></a></li> <li {if $show == 'viewthread'} class="current" {/if}><a href="{$cpscript}?action=forums&op=recommend&show=viewthread{$forcefid}" hidefocus="true"><span>{lang forum_recommend_position_viewthread}</span></a></li> <li {if $show == 'unlimited'} class="current" {/if}><a href="{$cpscript}?action=forums&op=recommend&show=unlimited{$forcefid}" hidefocus="true"><span>{lang forum_recommend_position_both}</span></a></li> </ul> <!--{/if}--> </div> <!--{/if}--> <div class="datalist"> <!--{if $modforums['fids']}--> <form method="post" action="{$cpscript}"> <input type="hidden" name="action" value="$action" /> <input type="hidden" name="op" value="$op" /> <div class="filterform"> <select name="fid" onchange="this.form.submit();"> <option value=""></option> <!--{loop $modforums[list] $id $name}--> <option value="$id" {if $id == $fid}selected{/if}>$name</option> <!--{/loop}--> </select> </div> </form> <!--{else}--> <p>{lang mod_message_forum_nopermission}</p> <!--{/if}--> </div> <!--{if $fid && $forum['ismoderator']}--> <!--{if $op == 'editforum'}--> <script type="text/javascript"> var allowbbcode = allowimgcode = 1; var allowhtml = forumallowhtml = allowsmilies = 0; function parseurl(str, mode) { str = str.replace(/([^>=\]"'\/]|^)((((https?|ftp):\/\/)|www\.)([\w\-]+\.)*[\w\-\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!]*)+\.(jpg|gif|png|bmp))/ig, mode == 'html' ? '$1<img src="$2" border="0">' : '$1[img]$2[/img]'); str = str.replace(/([^>=\]"'\/@]|^)((((https?|ftp|gopher|news|telnet|rtsp|mms|callto|bctp|ed2k):\/\/)|www\.)([\w\-]+\.)*[:\.@\-\w\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!#]*)*)/ig, mode == 'html' ? '$1<a href="$2" target="_blank">$2</a>' : '$1[url]$2[/url]'); str = str.replace(/([^\w>=\]:"'\.\/]|^)(([\-\.\w]+@[\.\-\w]+(\.\w+)+))/ig, mode == 'html' ? '$1<a href="mailto:$2">$2</a>' : '$1[email]$2[/email]'); return str; } </script> <script type="text/javascript" src="{$jspath}bbcode.js?{VERHASH}"></script> <form method="post" action="{$cpscript}?action=$action&op=$op"> <input type="hidden" name="formhash" value="{FORMHASH}"> <input type="hidden" name="fid" value="$fid"> <table cellspacing="0" cellpadding="0" width="100%" class="formtable"> <tr> <td colspan="2"><strong>{lang forum_description}:</strong></td> </tr> <tr> <td width="560"> <div id="descpreview"></div> <div class="editor_tb" style="width: 554px"> {eval $seditor = array('desc', array('bold', 'color', 'img', 'link'));} {subtemplate seditor} </div> <textarea id="descmessage" name="descnew" rows="8" cols="80" class="txtarea" style="width: 550px;height:100px;">$forum['description']</textarea> </td> <td> {faq discuzcode} {lang enabled}<br /> {lang post_imgcode} {lang enabled}<br /> {lang post_html} {lang disabled}<br /> <a href="javascript:;" onclick="$('descpreview').innerHTML = bbcode2html($('descmessage').value)">{lang memcp_profile_preview}</a> </td> </tr> <tr> <td colspan="2"><strong>{lang forum_rules}:</strong></td> </tr> <tr> <td width="560"> <div id="rulespreview"></div> <div class="editor_tb" style="width: 554px"> {eval $seditor = array('rules', array('bold', 'color', 'img', 'link'));} {subtemplate seditor} </div> <textarea id="rulesmessage" name="rulesnew" rows="8" cols="80" class="txtarea" style="width: 550px;height:100px;"{if !$alloweditrules}disabled="disabled" readonly="readonly"{/if}>$forum['rules']</textarea> </td> <td> {faq discuzcode} {lang enabled}<br /> {lang post_imgcode} {lang enabled}<br /> {lang post_html} {lang disabled}<br /> <a href="javascript:;" onclick="$('rulespreview').innerHTML = bbcode2html($('rulesmessage').value)">{lang memcp_profile_preview}</a> </td> </tr> <tr> <td colspan="2"><button type="submit" class="submit" name="editsubmit" value="true">{lang submit}</button></td> </tr> </table> </form> <!--{if $forumupdate}--> <div class="notice">{lang mod_message_forum_update}</div> <!--{/if}--> <!--{elseif $op == 'recommend'}--> <div class="datalist"> <!--{if $threadlist}--> <form method="post" action="{$cpscript}?action=$action"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="op" value="$op" /> <input type="hidden" name="page" value="$page" /> <input type="hidden" name="fid" value="$fid" /> <input type="hidden" name="check" value="$check" /> <table cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td width="8%"></td> <th width="8%">{lang displayorder}</th> <th width="25%">{lang subject}</th> <th width="15%">{lang author}</th> <th width="15%">{lang recommend_moderator}</th> <td width="18%">{lang mod_forum_recommend_expiration}</td> <td width="11%"></td> </tr> </thead> <!--{loop $threadlist $thread}--> <tr class="{echo swapclass('colplural')}"> <td><input{if $forum['modrecommend']['sort'] == 1} readonly{/if} type="checkbox" name="delete[]" value="$thread[tid]" class="checkbox" /></td> <td><input{if $forum['modrecommend']['sort'] == 1} readonly{/if} type="text" size="3" name="order[{$thread[tid]}]" value="$thread[displayorder]" class="txt" /></td> <td><input{if $forum['modrecommend']['sort'] == 1} readonly{/if} type="text" name="subject[{$thread[tid]}]" value="$thread[subject]" class="txt" /></td> <td>$thread[authorlink]</td> <td>$thread[moderatorlink]</td> <td><input type="text" value="{$thread[expiration]}" class="txt" name="expirationrecommend[{$thread[tid]}]" id="expirationrecommend" autocomplete="off" {if $forum['modrecommend']['sort'] == 1} readonly{else} onclick="showcalendar(event, this, true)"{/if} /></td> <td><!--{if $forum['modrecommend']['sort'] != 1}--><a href="javascript:;" onclick="showWindow('mods', 'topicadmin.php?optgroup=1&action=moderate&operation=recommend&frommodcp=2&show={$show}&tid={$thread[tid]}');" class="lightlink">{lang more_settings}</a><!--{/if}--></td> </tr> <!--{/loop}--> <tr> <td><input class="checkbox" type="checkbox" id="chkall" name="chkall" onclick="checkall(this.form)" /> <label for="chkall">{lang delete_check}</label></td> <td colspan="5"><button type="submit" name="editsubmit" value="yes" class="button">{lang mod_forum_recommend_list}</button></td> </tr> </table> </form> <!--{else}--> <p>{lang search_nomatch}</p> <!--{/if}--> </div> <!--{if !empty($reportlist[pagelink])}--><div class="pages_btns">$reportlist[pagelink]</div><!--{/if}--> <!--{if $listupdate}--> <div class="notice">{lang mod_message_forum_updaterecommend}</div> <!--{/if}--> <!--{/if}--> <!--{/if}--> <script type="text/javascript" src="{$jspath}calendar.js?{VERHASH}"></script>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/modcp_forums.htm
HTML
asf20
8,068
#modlayer { position: absolute; right: 0; padding: 12px; width: 275px; background-color: #FFF; border: 4px solid #7FCAE2; } #modlayer a { color: #09C; } #modlayer label { float: right; margin-top: 5px; } #modcount { padding: 0 2px; font-size: 24px; font-weight: 400; color: #F60; } #modlayer .collapse { position: absolute; right: 0; top: 5px; padding: 0 5px; } #modlayer.collapsed { margin-right: -23px; padding: 0; width: 27px; height: 35px; border: none; background: #F60; overflow: hidden; } #modlayer.collapsed #modcount { display: block; position: absolute; left: 0; top: 0; z-index: 999; width: 27px; height: 35px; border-color: #09C; background-color: #09C; color: #FFF; font-size: 12px; text-align: center; line-height: 35px; cursor: pointer; } .listtopicadmin { margin: 10px 0; border-top: 1px solid #C5DAEB; } .listtopicadmin li { *overflow:hidden; *margin-bottom: -2px; height: 28px; line-height: 18px; border-top: 1px solid #FFF; border-bottom: 1px solid #C5DAEB; zoom: 1; } .listtopicadmin .currentopt { height: auto; } .detailopt { visibility: hidden; overflow: hidden; white-space: nowrap; } .currentopt .detailopt { visibility: visible; } .detailopt p .txt { width: 100px; } .detailopt span .txt { width: 18px; border-right: none; } .detailopt a { float: left; text-indent: -999px; margin-right: 3px; width: 22px; height: 20px; text-align: center; } .detailopt_bold, .detailopt_italic, .detailopt_underline { border: 1px solid #F1F5FA; outline: none; } .detailopt .current { border: 1px solid #999; background-color: #FFF; } .listtopicadmin table { width: 100%; } .listtopicadmin td { vertical-align: top; } .listtopicadmin .labeltxt { display: block; cursor: pointer; width: 100%; background: url({IMGDIR}/arrow_down.gif) no-repeat 100% 8px; } .currentopt .labeltxt { float: left; cursor: default; width: 45px; background: none; color: #09C; } .listtopicadmin .checkbox { margin-top: 3px; *margin-top: -2px; } .listtopicadmin img { vertical-align: middle; } .tah_fixiesel { overflow: hidden; white-space: nowrap; width: 217px; *border-right: 1px solid {INPUTBORDER}; } .tah_fixiesel select { width: 160px; *width: expression(this.offsetWidth > 180 ? 'auto':'180'); }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/css_moderator.htm
HTML
asf20
2,286
<div class="itemtitle s_clear"> <h1>{lang task}</h1> <ul> <li{if $item == 'new'} class="current"{/if}><a href="task.php?item=new" hidefocus="true"><span>{lang task_new}</span></a></li> <li{if $item == 'doing'} class="current"{/if}><a href="task.php?item=doing" hidefocus="true"><span>{lang task_doing}</span></a></li> <li{if $item == 'done'} class="current"{/if}><a href="task.php?item=done" hidefocus="true"><span>{lang task_done}</span></a></li> <li{if $item == 'failed'} class="current"{/if}><a href="task.php?item=failed" hidefocus="true"><span>{lang task_failed}</span></a></li> </ul> </div> <div class="datalist"> <table cellspacing="0" cellpadding="0" class="datatable"> <!--{if $tasklist}--> <thead class="colplural"> <tr> <th></th> <th></th> <th width="200">{lang task_reward}</th> <th width="120"></th> <tr> </thead> <!--{loop $tasklist $task}--> <tr class="{echo swapclass('colplural')}"> <td width="70"><img src="$task[icon]" width="64" height="64" alt="Icon" /></td> <td> <p><strong><a href="task.php?action=view&id=$task[taskid]">$task[name]</a></strong>&nbsp;&nbsp;&nbsp;({lang task_applies}: <a href="task.php?action=view&id=$task[taskid]#parter">$task[applicants]</a> )</p> <!--{if $item == 'doing'}--> <div class="taskbar"> <div class="taskbar_text">{lang task_complete} <span id="csc_$task[taskid]">$task[csc]</span>%</div> <div class="optionbar" id="cscbar_$task[taskid]" style="width: $task[csc]%"></div> </div> <!--{/if}--> </td> <td class="emfont"><!--{if $task['reward'] == 'credit'}-->{lang credits} $extcredits[$task[prize]][title] $task[bonus] $extcredits[$task[prize]][unit]<!--{elseif $task['reward'] == 'magic'}-->{lang magics_title} $magics[$task[prize]] $task[bonus]<!--{elseif $task['reward'] == 'medal'}-->{lang medals} $medals[$task[prize]] {if $task['bonus']}{lang expire} $task[bonus] {lang days} {/if}<!--{elseif $task['reward'] == 'invite'}-->{lang invite_code} $task[prize] {lang expire} $task[bonus] {lang days}<!--{elseif $task['reward'] == 'group'}-->{lang usergroup} $groups[$task[prize]] {if $task['bonus']} $task[bonus] {lang days} {/if}<!--{/if}--></td> <td> <!--{if $item == 'new'}--> <!--{if $task['newbietask'] == '1'}--> <a href="javascript:;" onclick="showDialog('{lang task_newbie_dependence_dialog}')"><img src="images/tasks/coming.gif" title="{lang task_newbie_dependence}" border="0" /></a> <!--{else}--> <!--{if $task['applyperm'] && $task['applyperm'] != 'all' && !(($task['applyperm'] == 'member'&& $adminid == '0') || ($task['applyperm'] == 'admin' && $adminid > '0') || forumperm($task['applyperm']))}--> <a href="javascript:;" onclick="doane(event);showDialog('{lang task_group_nopermission}')"><img src="images/tasks/disallow.gif" title="{lang task_group_nopermission}" border="0" /></a> <!--{elseif $task['tasklimits'] && $task['achievers'] >= $task['tasklimits']}--> <a href="javascript:;" onclick="doane(event);showDialog('{lang task_applies_full}')"><imgsrc="images/tasks/disallow.gif" title="{lang task_applies_full}" border="0" /></a> <!--{else}--> <a href="task.php?action=apply&id=$task[taskid]"><img src="images/tasks/apply.gif" border="0" /></a> <!--{/if}--> <!--{/if}--> <!--{elseif $item == 'doing'}--> <!--{if $task['newbietask'] == '1'}--> <a href="$task[entrance]"><img src="images/tasks/start.gif" alt="{lang task_newbie_start}" /></a> <!--{else}--> <p id="reward_$task[taskid]"><a href="task.php?action=draw&id=$task[taskid]" onclick="tasknoticewin('$task[taskid]');return false;"><img src="images/tasks/{if $task[csc] >=100}reward.gif{else}rewardless.gif{/if}" border="0" /></a></p> <!--{/if}--> <!--{elseif $item == 'done'}--> <p style="white-space:nowrap">{lang task_complete_on} $task[dateline] {if $task['period'] && $task[t]}<br />{if $task[allowapply]}<a href="task.php?action=apply&id=$task[taskid]">{lang task_applyagain_now}</a>{else}{$task[t]}{lang task_applyagain}{/if}{/if}</p> <!--{elseif $item == 'failed'}--> <p style="white-space:nowrap">{lang task_lose_on} $task[dateline] {if $task['period'] && $task[t]}<br />{if $task[allowapply]}<a href="task.php?action=apply&id=$task[taskid]">{lang task_applyagain_now}</a>{else}{$task[t]}{lang task_reapply}{/if}{/if}</p> <!--{/if}--> </td> </tr> <!--{/loop}--> <!--{else}--> <tr><td colspan="5"><p class="nodata"><!--{if $item == 'new'}-->{lang task_nonew}<!--{elseif $item == 'doing'}-->{lang task_nodoing}<!--{else}-->{lang data_nonexistence}<!--{/if}--></p></td></tr> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/task_list.htm
HTML
asf20
4,907
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_$handlekey">{lang thread_moderations}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <div class="floatwrap"> <table class="list" cellspacing="0" cellpadding="0"> <thead> <tr> <td>{lang thread_moderations_username}</td> <td class="time">{lang time}</td> <td>{lang thread_moderations_action}</td> <td class="time">{lang expire}</td> </tr> </thead> <!--{loop $loglist $log}--> <tr> <td><!--{if $log['uid']}--><a href="space.php?uid=$log['uid']" target="_blank">$log[username]</a><!--{else}-->{lang thread_moderations_cron}<!--{/if}--></td> <td class="time">$log[dateline]</td> <td $log[status]><!--{if $log['magicid']}--><a href="magic.php?action=index&operation=buy&magicid=$log['magicid']" target="_blank">$log[magicname]</a><!--{else}-->{$modactioncode[$log['action']]}<!--{/if}--></td> <td class="time" $log[status]><!--{if $log['expiration']}-->$log[expiration]<!--{elseif in_array($log['action'], array('STK', 'HLT', 'DIG', 'CLS', 'OPN'))}-->{lang expiration_unlimit}<!--{/if}--></td> </tr> <!--{/loop}--> </table> </div> </div> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewthread_mod.htm
HTML
asf20
1,645
<div class="datalist"> <h1>{lang mod_option_member_access}</h1> <div class="channelinfo">{lang mod_notice_access}</div> <!--{if $modforums['fids']}--> <script type="text/javascript"> function chkallaccess(obj) { $('new_post').checked = $('new_post').disabled = $('new_reply').checked = $('new_reply').disabled = $('new_postattach').checked = $('new_postattach').disabled = $('new_getattach').checked = $('new_getattach').disabled = obj.checked; } function disallaccess(obj) { $('new_view').checked = $('new_post').checked = $('new_post').checked = $('new_reply').checked = $('new_postattach').checked = $('new_getattach').checked = false; $('customaccess').disabled = $('new_view').disabled = $('new_view').disabled = $('new_post').disabled = $('new_post').disabled = $('new_reply').disabled = $('new_postattach').disabled = $('new_getattach').disabled = obj.checked; } </script> <form method="post" action="{$cpscript}?action=$action"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="op" value="$op" id="operation" /> <div class="filterform"> <table cellspacing="0" cellpadding="0"> <!--{if $adderror || $successed}--> <tr> <th></th> <td> <span style="color: red; font-weight: 700;"> * <!--{if $successed}--> {lang mod_message_access_updatepermission} <!--{elseif $adderror == 1}--> {lang mod_message_access_user_nonexistence} <!--{elseif $adderror == 2}--> {lang mod_message_access_user_invalid} <!--{elseif $adderror == 3}--> {lang mod_message_access_admin_invalid} <!--{/if}--> </span> </td> </tr> <!--{/if}--> <tr> <th width="60">{lang mod_moderate_selectforum}:</th> <td> <select name="fid"> <!--{loop $modforums[list] $id $name}--> <option value="$id" {if $id == $fid}selected="selected"{/if}>$name</option> <!--{/loop}--> </select> </td> </tr> <tr> <th>{lang username}:</th> <td> <input type="text" size="20" value="$new_user" name="new_user" class="txt" /> &nbsp;&nbsp; </td> </tr> <tr> <th>{lang mod_access_change}:</th> <td> <input type="checkbox" value="1" name="deleteaccess" id="deleteaccess" onclick="disallaccess(this)" class="checkbox" /> <label for="deleteaccess">{lang mod_access_recover}</label>&nbsp; <span id="customaccess"> <input type="checkbox" value="-1" name="new_view" id="new_view" onclick="chkallaccess(this)" class="checkbox" /> <label for="new_view">{lang mod_access_ban_viewthread}</label>&nbsp; <input type="checkbox" value="-1" name="new_post" id="new_post" class="checkbox" /> <label for="new_post">{lang mod_access_ban_postthread}</label>&nbsp; <input type="checkbox" value="-1" name="new_reply" id="new_reply" class="checkbox" /> <label for="new_reply">{lang mod_access_ban_postreply}</label>&nbsp; <input type="checkbox" value="-1" name="new_postattach" id="new_postattach" class="checkbox" /> <label for="new_postattach">{lang mod_access_ban_upload}</label>&nbsp; <input type="checkbox" value="-1" name="new_getattach" id="new_getattach" class="checkbox" /> <label for="new_getattach">{lang mod_access_ban_download}</label> </span> </td> </tr> <tr> <th></th> <td><button type="submit" class="submit" name="addsubmit" value="true">{lang submit}</button></td> </tr> </table> </div> <script type="text/javascript"> <!--{if !empty($deleteaccess)}--> var obj = $('deleteaccess'); obj.checked = true; disallaccess(obj); <!--{elseif !empty($new_view)}--> var obj = $('new_view'); obj.checked = true; chkallaccess(obj); <!--{/if}--> </script> </form> <!--{/if}--> <div id="list_member_c" class="c_header"> <h3 onclick="toggle_collapse('list_member', 1, 1);">{lang mod_access_specialuser}</h3> <div class="c_header_action"> <div class="c_header_ext"> <form method="post" action="{$cpscript}?action=$action&op=$op"> <input type="hidden" name="formhash" value="{FORMHASH}"> {lang username}: <input type="text" name="suser" value="$suser" onclick="this.value='';" class="txt" />&nbsp; <select name="fid"> <option>{lang all}{lang forum}</option> $forumlistall </select>&nbsp; <button type="submit" class="submit" name="searchsubmit" id="searchsubmit" value="true">{lang search}</button> </form> </div> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_member', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_member" cellspacing="0" cellpadding="0"> <thead class="colplural"> <tr> <td width="13%">{lang member}</td> <td width="15%">{lang forum}</td> <th width="9%">{lang mod_access_viewthread}</th> <th width="9%">{lang mod_access_postthread}</th> <th width="9%">{lang mod_access_postreply}</th> <th width="9%">{lang mod_access_upload}</th> <th width="9%">{lang mod_access_download}</th> <td width="12%">{lang mod_access_optime}</td> <td width="15%">{lang moderator}</td> </tr> </thead> <!--{if $list[data]}--> <!--{loop $list[data] $access}--> <tr class="{echo swapclass('colplural')}"> <td>{if $users[$access[uid]] != ''}<a href="space.php?uid=$access[uid]" target="_blank">{$users[$access[uid]]}</a>{else}UID $access[uid]{/if}</td> <td>$access['forum']</td> <td>$access['allowview']</td> <td>$access['allowpost']</td> <td>$access['allowreply']</td> <td>$access['allowpostattach']</td> <td>$access['allowgetattach']</td> <td>$access[dateline]</td> <td>{if $users[$access[adminuser]] != ''}<a href="space.php?uid=$access[adminuser]" target="_blank">{$users[$access[adminuser]]}</a>{else}UID $access[adminuser]{/if}</td> </tr> <!--{/loop}--> <!--{else}--> <tr><td colspan="9">{lang mod_message_access_nonexistence}</td></tr> <!--{/if}--> </table> </div> <!--{if !empty($list[pagelink])}--><div class="pages_btns">$list[pagelink]</div><!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/modcp_forumaccess.htm
HTML
asf20
6,313
<?php // Misc Language Pack for Discuz! Version 1.0.0 // Translated by Crossday $language = array ( 'discuz_lang' => 'misc', 'anonymous' => '匿名', 'post_hidden' => '**** 本内容被作者隐藏 ****', 'post_banned' => '**** 作者被禁止或删除 内容自动屏蔽 ****', 'post_single_banned' => '**** 该帖被屏蔽 ****', 'message_ishidden_hiddenreplies' => '此帖仅作者可见', 'post_reply_quote' => '$thaquote[author] 发表于 $time', 'post_edit' => '[i=s] 本帖最后由 $editor 于 $edittime 编辑 [/i]\n\n', 'post_edit_regexp' => '/^\[i=s\] 本帖最后由 .*? 于 .*? 编辑 \[\/i\]\n\n/s', 'post_reply' => '回复', 'post_thread' => '的帖子', 'price' => '售价', 'pay_view' => '记录', 'attachment_buy' => '购买', 'post_trade_yuan' => '元', 'post_trade_seller' => '卖家', 'post_trade_name' => '商品名称', 'post_trade_price' => '商品价格', 'post_trade_quality' => '商品成色', 'post_trade_locus' => '商品所在地', 'post_trade_transport_type' => '物流方式', 'post_trade_transport_seller' => '卖家承担运费', 'post_trade_transport_buyer' => '买家承担运费', 'post_trade_transport_mail' => '平邮', 'post_trade_transport_express' => '快递', 'post_trade_transport_virtual' => '虚拟物品或无需邮递', 'post_trade_transport_physical' => '买家收到货物后直接支付给物流公司', 'post_trade_locus' => '所在地点', 'post_trade_description' => '商品描述', 'post_trade_pm_subject' => '[议价]', 'post_trade_pm_buynum' => '购买数量', 'post_trade_pm_wishprice' => '我期望的价格是', 'post_trade_pm_reason' => '我议价的理由是', 'payment_unit' => '元', 'attach' => '附件', 'attach_pay' => '收费附件', 'attach_credits_policy' => '查看积分策略说明', 'attach_img' => '图片附件', 'attach_readperm' => '阅读权限', 'attach_img_zoom' => '点击在新窗口查看全图\\nCTRL+鼠标滚轮放大或缩小', 'attach_img_thumb' => '点击在新窗口查看全图', 'attach_downloads' => '下载次数', 'post_trade_transport' => '邮费', 'post_trade_transport_mail' => '平邮', 'post_trade_quality' => '商品成色', 'post_trade_quality_new' => '全新', 'post_trade_quality_secondhand' => '二手', 'trade_unstart' => '<font color="gray">未生效的交易</font>', 'trade_waitbuyerpay' => '等待买家付款', 'trade_waitsellerconfirm' => '交易已创建,等待卖家确认', 'trade_sysconfirmpay' => '确认买家付款中,暂勿发货', 'trade_waitsellersend' => '买家已付款,等待卖家发货', 'trade_waitbuyerconfirm' => '卖家已发货,买家确认中', 'trade_syspayseller' => '买家确认收到货,等待支付宝打款给卖家', 'trade_finished' => '<font color="green">交易成功结束</font>', 'trade_closed' => '<font color="gray">交易中途关闭(未完成)</font>', 'trade_waitselleragree' => '等待卖家同意退款', 'trade_sellerrefusebuyer' => '卖家拒绝买家条件,等待买家修改条件', 'trade_waitbuyerreturn' => '卖家同意退款,等待买家退货', 'trade_waitsellerconfirmgoods' => '等待卖家收货', 'trade_waitalipayrefund' => '双方已经一致,等待支付宝退款', 'trade_alipaycheck' => '支付宝处理中', 'trade_overedrefund' => '结束的退款', 'trade_refundsuccess' => '<font color="green">退款成功</font>', 'trade_refundclosed' => '<font color="green">退款关闭</font>', 'trade_offline_1' => '交易单生效', 'trade_offline_4' => '我已付款,等待卖家发货', 'trade_offline_5' => '我已发货', 'trade_offline_7' => '我收到货,交易成功结束', 'trade_offline_8' => '取消此次交易', 'trade_offline_10' => '我要退货,等待卖家同意退款', 'trade_offline_11' => '卖家拒绝退款', 'trade_offline_12' => '卖家同意退款', 'trade_offline_13' => '我已退货,等待卖家收货', 'trade_offline_17' => '卖家收到退货,已退款', 'trade_message_4' => '可输入付款方式、银行账号等信息', 'trade_message_5' => '可输入发货公司、发货单号等信息', 'trade_message_13' => '可输入发货公司、发货单号等信息', 'reportpost_your' => '您', 'reportpost_recommend' => ' 在推荐', 'reportpost_delate' => ' 在举报', 'reportpost_post' => ' 的帖子', 'reportpost_yourpost' => '您的帖子', 'reportpost_thread' => ' 的主题', 'reportpost_yourthread' => '您的主题', 'reportpost_say' => '时说', 'credit_payment' => '积分充值', 'credit_forum_payment' => '论坛积分充值', 'credit_forum_royalty' => '交易手续费', 'formulaperm_regdate' => '注册时间', 'formulaperm_regday' => '注册天数', 'formulaperm_regip' => '注册IP', 'formulaperm_lastip' => '最后登录IP', 'formulaperm_buyercredit' => '买家信用评价', 'formulaperm_sellercredit' => '卖家信用评价', 'formulaperm_digestposts' => '精华帖数', 'formulaperm_posts' => '发帖数', 'formulaperm_threads' => '主题数', 'formulaperm_oltime' => '在线时间(小时)', 'formulaperm_pageviews' => '页面浏览量', 'formulaperm_and' => '并且', 'formulaperm_or' => '或者', 'formulaperm_extcredits' => '自定义积分', 'login_normal_mode' => '在线', 'login_switch_invisible_mode' => '我要隐身', 'login_switch_normal_mode' => '我要上线', 'login_invisible_mode' => '隐身', 'eccredit_explain' => '解释', 'google_site_0' => '网页搜索', 'google_site_1' => '站内搜索', 'google_sa' => '搜索', 'modcp_logs_action_home' => '面板首页', 'modcp_logs_action_announcements' => '公告管理', 'modcp_logs_action_members' => '用户管理', 'modcp_logs_action_forumaccess' => '用户权限', 'modcp_logs_action_forums' => '版块设置', 'modcp_logs_action_report' => '用户报告', 'modcp_logs_action_moderate' => '主题管理', 'modcp_logs_action_login' => '登录', 'uch_selectalbum' => '请选择相册', 'uch_noalbum' => '您还没有相册,', 'click_here' => '点击这里', 'uch_createalbum' => '创建自己的相册吧!', 'pm_from' => '发件人', 'pm_to' => '收件人', 'pm_date' => '日期', 'share_message' => '你好!我在 $bbname 看到了这篇帖子,认为很有价值,特推荐给你。\\n\\n$thread[subject]\\n地址 [url={$threadurl}]{$threadurl}[/url]\\n\\n希望你能喜欢。', 'week_0' => '星期日', 'week_1' => '星期一', 'week_2' => '星期二', 'week_3' => '星期三', 'week_4' => '星期四', 'week_5' => '星期五', 'week_6' => '星期六', 'notice_actor' => '等 $actorcount 人', 'perms_allowvisit' => '访问论坛', 'perms_readaccess' => '阅读权限', 'perms_allowviewpro' => '查看用户资料', 'perms_allowinvisible' => '隐身', 'perms_allowsearch' => '使用搜索', 'perms_allownickname' => '使用昵称', 'perms_allowcstatus' => '自定义头衔', 'perms_allowpost' => '发新话题', 'perms_allowreply' => '发表回复', 'perms_allowpostpoll' => '发起投票', 'perms_allowvote' => '参与投票', 'perms_allowpostreward' => '发表悬赏', 'perms_allowpostactivity' => '发表活动', 'perms_allowpostdebate' => '发表辩论', 'perms_allowposttrade' => '发表交易', 'perms_maxsigsize' => '最大签名长度', 'perms_allowsigbbcode' => '签名中使用 Discuz! 代码', 'perms_allowsigimgcode' => '签名中使用 [img] 代码', 'perms_maxbiosize' => '自我介绍最大长度', 'perms_allowrecommend' => '主题评价影响值', 'perms_allowbiobbcode' => '自我介绍中使用 Discuz! 代码', 'perms_allowbioimgcode' => '自我介绍中使用 [img] 代码', 'perms_allowgetattach' => '下载/查看附件', 'perms_allowpostattach' => '发布附件', 'perms_allowsetattachperm' => '自我介绍中使用 [img] 代码', 'perms_maxattachsize' => '单个最大附件尺寸', 'perms_maxsizeperday' => '每天最大附件总尺寸', 'perms_allowbioimgcode' => '自我介绍中使用 [img] 代码', 'perms_attachextensions' => '附件类型', 'perms_allowstickthread' => '主题置顶', 'perms_allowdigestthread' => '主题精华', 'perms_allowstickthread_value' => '置顶', 'perms_allowdigestthread_value' => '精华', 'perms_allowbumpthread' => '提升主题', 'perms_allowhighlightthread' => '主题高亮', 'perms_allowrecommendthread' => '主题推荐', 'perms_allowstampthread' => '主题鉴定', 'perms_allowclosethread' => '主题关闭', 'perms_allowmovethread' => '主题移动', 'perms_allowedittypethread' => '编辑主题分类', 'perms_allowcopythread' => '主题复制', 'perms_allowmergethread' => '主题合并', 'perms_allowsplitthread' => '主题分割', 'perms_allowrepairthread' => '主题修复', 'perms_allowrefund' => '强制退款', 'perms_alloweditpoll' => '编辑投票', 'perms_allowremovereward' => '移除悬赏', 'perms_alloweditactivity' => '管理活动', 'perms_allowedittrade' => '管理商品', 'perms_alloweditpost' => '编辑帖子', 'perms_allowwarnpost' => '警告帖子', 'perms_allowbanpost' => '屏蔽帖子', 'perms_allowdelpost' => '删除帖子', 'perms_allowviewreport' => '查看用户报告', 'perms_allowmodpost' => '审核帖子', 'perms_allowmoduser' => '审核用户', 'perms_allowbanuser' => '禁止用户', 'perms_allowbanip' => '禁止 IP', 'perms_allowedituser' => '编辑用户', 'perms_allowmassprune' => '批量删帖', 'perms_allowpostannounce' => '发布公告', 'perms_disablepostctrl' => '发帖不受限制', 'perms_allowviewip' => '允许查看 IP', ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/misc.lang.php
PHP
asf20
9,738
{subtemplate header} {eval $mode = 1;} <div id="nav"> <a href="$indexname">$bbname</a> &raquo; <a href="userapp.php">{lang manyou:myop}</a> &raquo; $app[appname] </div> <div id="wrap" class="wrap s_clear uappmain"> <div class="main"> <div class="content"> <script language="javascript"> if(top != self) { top.location.href = location.href; } </script> {subtemplate manyou_appnav} <script type="text/javascript" src="http://static.manyou.com/scripts/my_iframe.js"></script> <script language="javascript"> var prefixURL = "$my_prefix"; var suffixURL = "$my_suffix"; var queryString = ''; var url = "http://apps.manyou.com/{$my_appId}"; var oldHash = null; var timer = null; var appId = '$my_appId'; var server = new MyXD.Server("ifm0"); server.registHandler('iframeHasLoaded'); server.registHandler('setTitle'); server.start(); function iframeHasLoaded(ifm_id) { MyXD.Util.showIframe(ifm_id); document.getElementById('loading').style.display = 'none'; } function setTitle(x) { document.title = x + ' - <!--{eval echo addslashes($discuz_user.' - '.$bbname);}--> - Powered by Discuz!'; } </script> <iframe id="ifm0" frameborder="0" width="810" scrolling="no" height="810" style="{if !$mode}position:absolute; top:-5000px; left:-5000px;{/if}" src="{$url}"></iframe> <div id="mx2note" style="display:none; padding:150px 0 150px 0; margin:1px; text-align:center; background-color:#FFFFBF; font-size:12px; line-height:14px; color:#DB0000; letter-spacing:1px;"> {lang manyou:notice_browser} </div> <!--{if !$mode}--> <div id="loading" style="display:block; padding:100px 0 100px 0;text-align:center;color:#999999;font-size:12px;"> <img src="manyou/images/loading.gif" alt="loading..." style="position:relative;top:11px;"/> {lang manyou:manyou_admincp_htm_22}... </div> <!--{else}--> <div id="loading" style="display:none"></div> <!--{/if}--> </div></div></div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/manyou_app.htm
HTML
asf20
2,004
<!--{block writedata}--> <!--{if $birthdaymembers}--> <div class="sidebox"> <h4>{lang todays_birthdays}</h4> <ul class="avt_list s_clear"> <!--{loop $birthdaymembers $member}--> <li><a href="space.php?uid=$member[uid]" target="_blank"><img src="{UC_API}/avatar.php?uid=$member[uid]&size=small" title="$member[username]" /></a></li> <!--{/loop}--> </ul> </div> <!--{/if}--> <!--{/block}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/request_birthday.htm
HTML
asf20
408
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; <!--{if empty($action)}-->{lang faq}<!--{else}--><a href="faq.php">{lang faq}</a> $navigation<!--{/if}--></div> <div id="wrap" class="wrap with_side s_clear"> <div class="side"> {subtemplate faq_navbar} </div> <div class="main"> <div class="content"> <!--{if empty($action)}--> <div class="datalist"> <!--{loop $faqparent $fpid $parent}--> <h2 class="blocktitle"><a href="faq.php?action=faq&id=$fpid" class="lightlink">$parent[title]</a></h2> <ul name="$parent[title]" class="commonlist"> <!--{loop $faqsub[$parent[id]] $sub}--> <li><a href="faq.php?action=faq&id=$sub[fpid]&messageid=$sub[id]">$sub[title]</a></li> <!--{/loop}--> </ul> <hr class="solidline" /> <!--{/loop}--> </div> <!--{elseif $action == 'faq'}--> <!--{loop $faqlist $faq}--> <div class="datalist"> <div id="messageid$faq[id]_c" class="c_header{if $messageid != $faq[id]} closenode{/if}"> <h3 onclick="toggle_collapse('messageid$faq[id]', 1, 1);">$faq[title]</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('messageid$faq[id]', 1, 1);">[ {lang open} ]</p> </div> </div> <div class="faqmessage" id="messageid$faq[id]" style="{if $messageid != $faq[id]} display: none {/if}">$faq[message]</div> </div> <!--{/loop}--> <!--{elseif $action == 'search'}--> <!--{if $faqlist}--> <!--{loop $faqlist $faq}--> <div class="datalist"> <div class="c_header searchfaq"><h3>$faq[title]</h3></div> <div class="faqmessage">$faq[message]</div> </div> <!--{/loop}--> <!--{else}--> <p class="nodata">{lang faq_search_nomatch}</p> <!--{/if}--> <!--{elseif $action == 'plugin' && !empty($faqtpl)}--> {eval include(template($faqtpl));} <!--{/if}--> </div> </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/faq.htm
HTML
asf20
1,955
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang group_expiry}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <h1>{lang group_expiry}</h1> <div class="channelinfo">{lang group_expiry_comment}</div> <div class="datalist"> <table cellspacing="0" cellpadding="0" class="datatable"> <tr class="colplural"> <td>{lang usergroup}</td> <td>{lang group_expiry_time}</td> <td>{lang group_expiry_type}</td> </tr> <!--{loop $expirylist $group}--> <tr class="{echo swapclass('colplural')}"> <td>$group[grouptitle]</td> <td>$group[time]</td> <td ><!--{if $group['type'] == 'main'}-->{lang group_expiry_type_main}<!--{else}-->{lang group_expiry_type_ext}<!--{/if}--></td> </tr> <!--{/loop}--> </table> </div> </div> </div> <div class="side"> {subtemplate personal_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/groupexpiry.htm
HTML
asf20
1,003
<!--{if $attentionlist}--> <form method="post" action="my.php?item=attention&type=forum"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <table cellspacing="0" cellpadding="0" summary="{lang my_attention_threads}" class="datatable"> <thead class="colplural"> <tr> <td width="6%"></td> <th>{lang forum}</th> <td>{lang forum_moderate_threads}</td> <td>{lang forum_threads}</td> <td>{lang forum_posts}</td> <td>{lang forum_todayposts}</td> <td class="lastpost">{lang forum_lastpost}</td> </tr> </thead> <tbody> <!--{loop $attentionlist $attention}--> <tr> <td><input class="checkbox" type="checkbox" name="delete[]" value="$attention[fid]" /></td> <!--{if $attention[newthreads]}--> <th><strong><a href="my.php?item=attention&action=detail&type=forum&fid=$attention[fid]">$attention[name]</a></strong> <a href="my.php?item=attention&type=forum&action=open&fid=$attention[fid]" target="_blank">({lang attention_openforum})</a></th> <!--{else}--> <th><a href="my.php?item=attention&action=detail&type=forum&fid=$attention[fid]">$attention[name]</a></th> <!--{/if}--> <td>$attention[newthreads]</td> <td>$attention[threads]</td> <td>$attention[posts]</td> <td>$attention[todayposts]</td> <td class="lastpost"><cite><a href="redirect.php?tid=$attention[lastpost][tid]&goto=lastpost#lastpost" title="{echo cutstr($attention[lastpost][subject], 30)} {lang forum_lastpost_by} {if $attention['lastpost']['author']}$attention['lastpost']['author']{else}{lang anonymous}{/if}">$attention[lastpost][subject]</a></cite><em>$attention[lastpost][dateline]</em></td> </tr> <!--{/loop}--> <tr> <td><input class="checkbox" type="checkbox" name="chkall" id="chkall" onclick="checkall(this.form)" /> <label for="chkall">{lang delete_check}</label></td> <th><button type="submit" class="submit" name="attentionsubmit" value="true">{lang submit}</button></th> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> </tbody> </table> </form> <!--{else}--> <table cellspacing="0" cellpadding="0" class="datatable"> <tr><th><p class="nodata">{lang data_nonexistence}</p></th></tr> </table> <!--{/if}--> <!--{if !empty($multipage)}--> <div class="pages_btns">$multipage</div> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_attention_forums.htm
HTML
asf20
2,361
<div id="list_trade_selles_c" class="c_header"> <h3 onclick="toggle_collapse('list_trade_selles', 1, 1);">{lang my_trade_seller_list}<!--{if $tid || $srchkey}-->&nbsp;&nbsp;[<a href="my.php?item=$item$extrafid">{lang my_trade_view_allthread}</a>]<!--{/if}--></h3> <div class="c_header_action"> <div class="c_header_ext"> <form action="my.php?item=tradethreads" method="post"> {lang my_trade_goods_name}: <input name="srchkey" value="$srchkey" size="20" class="txt" />&nbsp;<button class="submit" type="submit" name="submit" value="true">{lang search}</button> </form> </div> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_trade_selles', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_trade_selles" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td colspan="2">{lang my_trade_goods_name}</td> <td >{lang my_trade_show}</td> <td>{lang my_trade_sale_quantity}</td> <td>{lang my_trade_stock_quantity}</td> <td>{lang my_trade_amount_all}</td> <td>{lang my_trade_last}</td> </tr> </thead> <!--{if $tradelist}--> <!--{loop $tradelist $key $trade}--> <tr height="80" class="{echo swapclass('colplural')}"> <td width="80" valign="middle"> <a href="viewthread.php?do=tradeinfo&tid=$trade[tid]&pid=$trade[pid]" target="_blank"><!--{if $trade['aid']}--><img src="attachment.php?aid={echo aidencode($trade[aid]);}&noupdate=yes" onload="thumbImg(this, 1)" width="80" _width="80" _height="80" /><!--{else}--><img src="{IMGDIR}/trade_nophotosmall.gif" /><!--{/if}--></a> </td> <td> <a href="viewthread.php?do=tradeinfo&tid=$trade[tid]&pid=$trade[pid]" target="_blank">$trade[subject]</a><br /> <!--{if $trade[closed]}--> <span class="lighttxt">{lang trade_timeout}</span> <!--{elseif $trade[expiration] > 0}--> <span class="lighttxt">{lang trade_remain} {$trade[expiration]}{lang days}{$trade[expirationhour]}{lang trade_hour}</span> <!--{elseif $trade[expiration] == -1}--> <span class="lighttxt">{lang trade_timeout}</span> <!--{/if}--> </td> <td><a href="my.php?item=selltrades&tid=$trade[tid]&pid=$trade[pid]" target="_blank">{lang enter}</a></td> <td>$trade[totalitems]</td> <td>$trade[amount]</td> <td> <!--{if $trade['price'] > 0}--> $trade[tradesum] {lang trade_units}&nbsp;&nbsp; <!--{/if}--> <!--{if $trade['credit'] > 0}--> {$extcredits[$creditstransextra[5]][title]} $trade[credittradesum] {$extcredits[$creditstransextra[5]][unit]} <!--{/if}--> </td> <td><!--{if $trade['lastbuyer']}--><a href="redirect.php?tid=$trade[tid]&goto=lastpost#lastpost">$trade[lastupdate]</a><br />{lang forum_lastpost_by} <a href="space.php?username=$trade[lastbuyer]" target="_blank">$trade[lastbuyer]</a><!--{else}-->&nbsp;<!--{/if}--></td> </tr> <!--{/loop}--> <!--{else}--> <tr><td colspan="6"><p class="nodata">{lang data_nonexistence}</p></td></tr> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <div class="c_header"> <h3 class="noarrow"><a href="my.php?item=selltrades&filter=all">{lang my_trade_seller_log}</a></h3> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_tradethreads.htm
HTML
asf20
3,274
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_$handlekey">{lang pay_view}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <div class="floatwrap"> <table class="list" cellspacing="0" cellpadding="0"> <thead> <tr> <td>{lang username}</td> <td>{lang time}</td> <td>{$extcredits[$creditstransextra[1]][title]}</td> </tr> </thead> <!--{if $loglist}--> <!--{loop $loglist $log}--> <tr> <td><a href="space.php?uid=$log[uid]">$log[username]</a></td> <td>$log[dateline]</td> <td>$log[amount] {$extcredits[$creditstransextra[1]][unit]}</td> </tr> <!--{/loop}--> <!--{else}--> <tr><td colspan="3">{lang pay_nobuyers}</td></tr> <!--{/if}--> </table> </div> </div> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/pay_view.htm
HTML
asf20
1,210
<?php $dlang = array ( 'nextpage' => '下一页', 'date' => '前,天,昨天,前天,小时,半,分钟,秒,刚才' ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/runtime.lang.php
PHP
asf20
130
<div class="searchlist threadlist datalist"> <div class="itemtitle s_clear"> <h1><!--{if $keyword}-->{lang search_result_keyword}<!--{else}-->{lang search_result}<!--{/if}--></h1> <!--{if !empty($multipage)}-->$multipage<!--{/if}--> </div> <table summary="{lang search}" cellspacing="0" cellpadding="0" width="100%" class="datatable"> <thead> <tr class="colplural"> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th>{lang subject}</th> <td class="forum">{lang forum}</td> <td class="author">{lang author}</td> <td class="nums">{lang replies}/{lang views}</td> <td class="lastpost"><cite>{lang lastpost}</cite></td> </tr> </thead> <!--{loop $threadlist $thread}--> <tbody> <tr> <td class="folder"> <a href="viewthread.php?tid=$thread[tid]&highlight=$index[keywords]" title="{lang target_blank}" target="_blank"> <!--{if $thread[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$thread[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <!--{if $thread['special'] == 1}--> <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" /> <!--{elseif $thread['special'] == 2}--> <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" /> <!--{elseif $thread['special'] == 3}--> <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" /> <!--{elseif $thread['special'] == 4}--> <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" /> <!--{elseif $thread['special'] == 5}--> <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" /> <!--{else}--> $thread['icon'] <!--{/if}--> </td> <th class="subject"> <label> <!--{if $thread['digest'] > 0}--> <img src="{IMGDIR}/digest_$thread[digest].gif" alt="{lang thread_digest} $thread[digest]" /> <!--{/if}--> &nbsp; </label> <a href="viewthread.php?tid=$thread[tid]&highlight=$index[keywords]" target="_blank" $thread[highlight]>$thread[subject]</a> <!--{if $thread['attachment'] == 2}--> <img src="images/attachicons/image_s.gif" alt="{lang attach_img}" class="attach" /> <!--{elseif $thread['attachment'] == 1}--> <img src="images/attachicons/common.gif" alt="{lang attachment}" class="attach" /> <!--{/if}--> <!--{if $thread[multipage]}--><span class="threadpages">$thread[multipage]</span><!--{/if}--> </th> <td class="forum"><a href="forumdisplay.php?fid=$thread[fid]">$thread[forumname]</a></td> <td class="author"> <cite> <!--{if $thread['authorid'] && $thread['author']}--> <a href="space.php?uid=$thread[authorid]">$thread[author]</a> <!--{else}--> <!--{if $forum['ismoderator']}--><a href="space.php?uid=$thread[authorid]">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}--> <!--{/if}--> </cite> <em>$thread[dateline]</em> </td> <td class="nums"><strong>$thread[replies]</strong> / <em>$thread[views]</em></td> <td class="lastpost"> <cite><!--{if $thread['lastposter']}--><a href="space.php?username=$thread[lastposterenc]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite> <em><a href="redirect.php?tid=$thread[tid]&amp;goto=lastpost$highlight#lastpost">$thread[lastpost]</a></em> </td> </tr> </tbody> <!--{/loop}--> <!--{if empty($threadlist)}--> <tbody><tr><th colspan="7">{lang search_nomatch}</th></tr></tbody> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns s_clear">$multipage</div><!--{/if}--> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/search_threads.htm
HTML
asf20
3,665
{eval funcstat();} {eval stat_code();} {eval $s = ob_get_contents();} {eval ob_end_clean();} {eval $s = preg_replace("/([\x01-\x08\x0b-\x0c\x0e-\x1f])+/", ' ', $s);} {eval $s = str_replace(array(chr(0), ']]>'), array(' ', ']]&gt;'), $s);} $s <!--{if $prompts['newbietask'] && $newbietasks}-->{template task_newbie_js}<!--{/if}--> ]]></root>{eval exit;}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/footer_ajax.htm
HTML
asf20
360
{template header} <!--{if empty($inajax)}--> <style type="text/css"> .main { overflow: hidden; } .content { margin: 5px; min-height: 400px; } * html .content { height: 400px; overflow: auto; } </style> <link rel="stylesheet" type="text/css" href="forumdata/cache/style_{STYLEID}_special.css?{VERHASH}" /> <script type="text/javascript" src="{$jspath}viewthread.js?{VERHASH}"></script> <div id="nav"> <!--{if $forumjump == 1}--><a href="$indexname">$bbname</a><!--{else}--><a href="$indexname">$bbname</a><!--{/if}-->$navigation </div> <div id="wrap" class="wrap s_clear"><div class="main"><div class="content"> <!--{/if}--> <div class="viewthread tradeinfo s_clear"{if !empty($inajax)} style="border:0"{/if}> <div class="tradethumb"> <!--{if $trade['thumb']}--> <a href="javascript:;"><img src="$trade[thumb]" onclick="zoom(this, '$trade[attachurl]')" onload="thumbImg(this, 1)" _width="240" _height="240" alt="$trade[subject]" /></a> <!--{else}--> <img src="{IMGDIR}/trade_nophoto.gif" alt="$trade[subject]" /> <!--{/if}--> </div> <div class="tradeattribute"> <!--{if !empty($inajax)}--><span class="infoview"><a href="javascript:;" onclick="$('tradeinfo$trade[pid]').style.display = 'none';display('trade$trade[pid]');">{lang close}</a></span><!--{/if}--> <h4><a href="viewthread.php?tid=$tid&do=tradeinfo&pid=$post[pid]" class="lightlink" target="_blank">$trade[subject]</a></h4> <dl> <dt>{lang trade_type_viewthread}:</dt> <dd> <!--{if $trade['quality'] == 1}-->{lang trade_new}<!--{/if}--> <!--{if $trade['quality'] == 2}-->{lang trade_old}<!--{/if}--> {lang trade_type_buy} </dd> <dt>{lang trade_transport}:</dt> <dd> <!--{if $trade['transport'] == 1}-->{lang post_trade_transport_seller}<!--{/if}--> <!--{if $trade['transport'] == 2 || $trade['transport'] == 4}--> <!--{if $trade['transport'] == 4}-->{lang post_trade_transport_physical}<!--{/if}--> <!--{if !empty($trade['ordinaryfee']) || !empty($trade['expressfee']) || !empty($trade['emsfee'])}--> <!--{if !empty($trade['ordinaryfee'])}-->{lang post_trade_transport_mail} $trade[ordinaryfee] {lang payment_unit}<!--{/if}--> <!--{if !empty($trade['expressfee'])}--> {lang post_trade_transport_express} $trade[expressfee] {lang payment_unit}<!--{/if}--> <!--{if !empty($trade['emsfee'])}--> EMS $trade[emsfee] {lang payment_unit}<!--{/if}--> <!--{elseif $trade['transport'] == 2}--> {lang post_trade_transport_none} <!--{/if}--> <!--{/if}--> <!--{if $trade['transport'] == 3}-->{lang post_trade_transport_virtual}<!--{/if}--> </dd> <dt>{lang trade_remaindays}:</dt> <dd> <!--{if $trade[closed]}--> <em>{lang trade_timeout}</em> <!--{elseif $trade[expiration] > 0}--> {$trade[expiration]}{lang days}{$trade[expirationhour]}{lang trade_hour} <!--{elseif $trade[expiration] == -1}--> <em>{lang trade_timeout}</em> <!--{else}--> &nbsp; <!--{/if}--> </dd> <dt>{lang post_trade_number}:</dt><dd>$trade[amount]</dd> <!--{if $trade[locus]}--><dt>{lang trade_locus}:</dt><dd>$trade[locus]</dd><!--{/if}--> <dt>{lang post_trade_buynumber}:</dt><dd>$trade[totalitems]</dd> <!--{if $trade[price] && $trade['costprice'] > 0 || $creditstransextra[5] != -1 && $trade[credit] && $trade['costcredit'] > 0}--> <dt>{lang trade_costprice}:</dt> <dd> <!--{if $trade['costprice'] > 0}--> <del>$trade[costprice] {lang payment_unit}</del>&nbsp;&nbsp; <!--{/if}--> <!--{if $creditstransextra[5] != -1 && $trade['costcredit'] > 0}--> <del>{$extcredits[$creditstransextra[5]][title]} $trade[costcredit] {$extcredits[$creditstransextra[5]][unit]}</del> <!--{/if}--> </dd> <!--{/if}--> <dt>{lang trade_price}:</dt> <dd> <!--{if $trade[price] > 0}--> <strong class="price">$trade[price]</strong>&nbsp;{lang payment_unit}&nbsp;&nbsp; <!--{/if}--> <!--{if $creditstransextra[5] != -1 && $trade[credit]}--> {$extcredits[$creditstransextra[5]][title]}&nbsp;<strong class="price">$trade[credit]</strong>&nbsp;{$extcredits[$creditstransextra[5]][unit]} <!--{/if}--> </dd> </dl> <!--{if $post['authorid'] != $discuz_uid && empty($thread['closed']) && empty($trade['closed'])}--> <!--{if $trade[amount]}--><button onclick="window.open('trade.php?tid=$post[tid]&pid=$post[pid]','','')">{lang trade_buy}</button> &nbsp;<!--{/if}--> <!--{if $discuz_uid}--><button onclick="showWindow('sendpm', 'pm.php?action=new&uid=$post[authorid]&operation=trade&pid=$post[pid]')">{lang trade_bargain}</button><!--{/if}--> <!--{/if}--> <!--{if $trade['account']}--> <br /><em>({lang post_trade_supportalipay})</em> <!--{/if}--> </div> <div class="postmessage"> <!--{if $typetemplate}--> $typetemplate <!--{elseif $optionlist}--> <div class="box typeoption"> <h4>$tradetypes[$tradetypeid]</h4> <table summary="{lang threadtype_option}" cellpadding="0" cellspacing="0" class="formtable datatable"> <!--{loop $optionlist $option}--> <tr class="{echo swapclass('colplural')}"> <th>$option[title]</th> <td><!--{if $option['value']}-->$option[value]<!--{else}-->-<!--{/if}--></td> </tr> <!--{/loop}--> </table> </div> <!--{/if}--> $post[message] <!--{if $post['attachment']}--> <div class="notice postattach">{lang attachment}: <em>{lang attach_nopermission}</em></div> <!--{elseif $hideattach[$post[pid]] && $post['attachments']}--> <div class="notice postattach">{lang attachment}: <em>{lang attachment_reply_show}</em></div> <!--{elseif $post['imagelist'] || $post['attachlist']}--> <div class="postattachlist"> <!--{if $post['imagelist']}--> $post['imagelist'] <!--{/if}--> <!--{if $post['attachlist']}--> $post[attachlist] <!--{/if}--> </div> <!--{/if}--> </div> </td></tr> </td></tr></table></div> <!--{if $aimgs[$post[pid]]}--> <script type="text/javascript" reload="1">var aimgcount = new Array();aimgcount[$pid] = [{echo implode(',', $aimgs[$pid]);}];attachimgshow($pid);</script> <!--{/if}--> <!--{if empty($inajax)}--> </div></div></div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/trade_info.htm
HTML
asf20
6,094
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div id="floatlayout_magics" class="fcontent"> <h3 class="float_ctrl"> <em> <!--{if $operation == 'give'}--> {lang magics_operation_present} <!--{elseif $operation == 'drop'}--> {lang magics_operation_drop} <!--{elseif $operation == 'sell'}--> {lang magics_operation_sell} <!--{elseif $operation == 'use'}--> {lang magics_operation_use} <!--{/if}--> </em> <span><!--{if !empty($infloat)}--><a title="{lang close}" onclick="hideWindow('magics')" class="float_close" href="javascript:;">{lang close}</a><!--{/if}--></span> </h3> <div class="postbox"> <div id="return_magics"></div> <form id="magicform" method="post" action="magic.php?action=mybox&infloat=yes" onsubmit="ajaxpost('magicform', 'return_magics', 'return_magics', 'onerror');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="handlekey" value="magics" /> <input type="hidden" name="operation" value="$operation" /> <input type="hidden" name="magicid" value="$magicid" /> <!--{if $operation == 'give'}--> <div class="magicnum"> <div class="mymagic fixed s_clear"> <div class="magicimg"><img src="images/magics/$magic[pic]" alt="$magic[name]"></div> <div class="magicdetail"> <!--{if $allowmagics > 1 }--> <p>{lang magics_target_present}: </p> <div class="hasdropdownbtn ratelist s_clear"> <input type="text" id="selectedusername" name="tousername" size="12" value="" class="txt" /> <!--{if $buddyarray}--> <a href="javascript:;" class="dropdownbtn" onclick="showselect(this, 'selectedusername', 'selectusername')"></a> <ul id="selectusername" style="display:none"> <!--{loop $buddyarray $buddy}--> <li>$buddy[username]</li> <!--{/loop}--> </ul> <!--{/if}--> </div> <!--{/if}--> <p>{lang magics_present_message}: </p> <textarea name="givemessage" class="txtarea" style="height:60px;width:230px">{lang magics_present_message_text}</textarea> <p>{lang magics_num}: </p> <input name="magicnum" type="text" size="12" value="1" class="txt" /> <p><input type="hidden" name="operatesubmit" value="yes" /> <button class="submit fixedbtn" type="submit" name="operatesubmit" id="operatesubmit" value="true" onclick="return confirmMagicOp(e)">{lang magics_operation_present}</button></p> </div> </div> <!--{elseif $operation == 'use'}--> <!--{if $magiclist}--> <select name="magicid" onchange="showWindow('magics', 'magic.php?action=mybox&operation=use&&infloat=yes&type=$typeid&pid=$pid&typeid=$typeid&magicid='+this.options[this.selectedIndex].value)" class="chosemagic"> <option value="0">{lang magics_select}</option> <!--{loop $magiclist $magics}--> <option value="$magics[magicid]" $magicselect[$magics[magicid]]>$magics[name] - $magics[description]</option> <!--{/loop}--> </select> <!--{/if}--> <div class="mymagic fixed s_clear"> <div class="magicimg"><img src="images/magics/$magic[pic]" alt="$magic[name]"></div> <div class="magicdetail"> {eval showmagic();} <input type="hidden" name="usesubmit" value="yes" /> <input type="hidden" name="operation" value="use" /> <input type="hidden" name="magicid" value="$magicid" /> <button class="submit fixedbtn" type="submit" name="usesubmit" id="usesubmit" value="true">{lang magics_operation_use}</button> <!--{elseif $operation == 'sell'}--> <h5 class="magicnum">$magic[name]</h5> <p class="magicnum">{lang magics_num}: <input name="magicnum" type="text" size="5" value="1" class="txt" /> {lang magics_price}: <input name="price" type="text" size="5" class="txt" /></p> <input type="hidden" name="operatesubmit" value="yes" /> <button class="submit fixedbtn" type="submit" name="operatesubmit" id="operatesubmit" value="true" onclick="return confirmMagicOp(e)">{lang magics_operation_sell}</button> <!--{elseif $operation == 'drop'}--> <div class="magicnum"> <p>{lang magics_num}: <input name="magicnum" type="text" size="12" value="1" class="txt" /></p> </div> <input type="hidden" name="operatesubmit" value="yes" /> <button class="submit fixedbtn" type="submit" name="operatesubmit" id="operatesubmit" value="true" onclick="return confirmMagicOp(e)">{lang magics_operation_drop}</button> <!--{/if}--> </div> </div> </form> </div> </div> <script type="text/javascript" reload="1"> function confirmMagicOp(e) { e = e ? e : window.event; showDialog('{lang magics_confirm}', 'confirm', '', 'ajaxpost(\'magicform\', \'return_magics\', \'return_magics\', \'onerror\');'); doane(e); return false; } function messagehandle_magics(key) { if(key != 0) { $('magicform').style.display = 'none'; $('return_magics').className = 'onright'; } } </script> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/magic_mybox_opreation.htm
HTML
asf20
5,342
<!--{block writedata}--> <div class="sidebox s_clear"> <!--{if $GLOBALS[discuz_uid]}--> <div style="float:left; margin-right: 16px;">$avatar</div> <a href="space.php?uid=$GLOBALS[discuz_uid]" target="_blank">$GLOBALS[discuz_userss]</a><br /> <a href="faq.php?action=grouppermission" target="_blank">{$_DCACHE[usergroups][$GLOBALS[groupid]][grouptitle]}</a><br /> <ul id="mycredits_menu" class="popupmenu_popup headermenu_popup" style="width:137px;display:none"> <!--{loop $GLOBALS[extcredits] $id $credit}--> <li>$credit[title]: $GLOBALS['extcredits'.$id] $credit[unit]</li> <!--{/loop}--> </ul> <div style="clear: both"> <div style="float:right;width:60%"> <span id="mycredits_hover" class="dropmenu" onmouseover="showMenu({'ctrlid':this.id,'showid':'mycredits'})">{lang credits}: $GLOBALS[_DSESSION]['credits']</span><br /> <!--{if $creditupgrade !== ''}--> <span title="{lang index_upgrade_tips}">{lang index_upgrade}: $creditupgrade</span><br /> <!--{/if}--> </div> <div style="float:left;text-align:left"> <a id="mycredits" href="my.php?item=threads$fidadd" target="_blank">{lang my_posts}</a><br /> <a href="my.php?item=favorites&type=thread$fidadd" target="_blank">{lang my_favorite}</a> </div> </div> <!--{else}--> <div style="float:left; text-align:left; width:40%;"><img src="{UC_API}/images/noavatar_small.gif"></div> <a href="$GLOBALS[regname]" onclick="showWindow('register', this.href);return false;">$GLOBALS[reglinkname]</a><br /> <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang login}</a> <!--{/if}--> </div> <!--{if $GLOBALS[discuz_uid] && $GLOBALS[prompt]}--> <hr class="shadowline" /> <div class="sidebox"> <ul> <!--{loop $GLOBALS[prompts] $promptkey $promptdata}--> <!--{if $promptkey && $promptdata[new]}--><li><a href="{if $promptdata[script]}$promptdata[script]{else}notice.php?filter=$promptkey{/if}" target="_blank">$promptdata[name]($promptdata[new])</a></li><!--{/if}--> <!--{/loop}--> </ul> </div> <!--{/if}--> <!--{/block}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/request_assistant.htm
HTML
asf20
2,093
<table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%"> <!--{loop $attachlist $attach}--> <tbody id="attach_$attach[aid]"> <tr> <td class="attachname_swf"> <p id="attach$attach[aid]"> <span>$attach[filetype] <a href="javascript:;" class="lighttxt" onclick="{if $attach['isimage']}insertAttachimgTag('$attach[aid]'){else}insertAttachTag('$attach[aid]'){/if}" title="{lang upload_msg}">$attach[filename]</a></span> <!--{if $allowattachurl}--> <a href="javascript:;" class="attachurl" title="{lang e_attach_url}" onclick="insertText('attach://$attach[aid].{echo fileext($attach[filenametitle])}')"><img src="{IMGDIR}/attachurl.gif" /></a> <!--{if ($attachmcode = parseattachmedia($attach))}--><a href="javascript:;" class="attachurl" title="{lang e_attach_mediacode}" onclick="insertText('$attachmcode')"><img src="{IMGDIR}/attachmediacode.gif" /></a><!--{/if}--> <!--{/if}--> {if $attach['pid']}&nbsp;<a href="javascript:;" onclick="updateAttach('$attach[aid]')">{lang update}</a></span>{/if} </p> <span id="attachupdate$attach[aid]"></span> <!--{if $attach['isimage']}--><img src="$attach[url]/$attach[attachment]" id="image_$attach[aid]" width="$attach[width]" _width="$attach[width]" _height="110" onload="thumbImg(this, 1)" style="position:absolute;top:-10000px" /><!--{/if}--> </td> <td class="attachdesc"><input name="attachnew[{$attach[aid]}][description]" value="$attach[description]" size="18" class="txt" /></td> <!--{if $allowsetattachperm}--><td class="attachview"><input type="text" name="attachnew[{$attach[aid]}][readperm]" value="$attach[readperm]" size="1" class="txt" /></td><!--{/if}--> <!--{if $maxprice}--><td class="attachpr"><input type="text" name="attachnew[{$attach[aid]}][price]" value="$attach[price]" size="1" class="txt" /></td><!--{/if}--> <td class="attachdel"><a href="javascript:;" class="deloption" onclick="delAttach($attach[aid],{if !$attach[pid]}1{else}0{/if})">{lang e_attach_del}</a></td> </tr> </tbody> <!--{/loop}--> </table> <!--{if !empty($inajax)}--> <script type="text/javascript" reload="1"> ATTACHNUM['attachunused'] += {echo count($attachlist)}; updateattachnum('attach'); </script> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/ajax_attachlist.htm
HTML
asf20
2,281
<?php $tasklang = array ( 'avatar_name' => '头像类任务', 'avatar_desc' => '该任务仅限没有上传头像的会员申请,申请后只要上传头像即可完成任务,获得相应的奖励。', 'avatar_apply_var_name_noavatar' => '没有上传头像', 'avatar_apply_var_desc_noavatar' => '该任务仅限没有上传过头像的会员申请', 'avatar_complete_var_name_uploadavatar' => '上传头像', 'avatar_complete_var_desc_uploadavatar' => '申请任务后只要上传头像即可完成任务', 'avatar_copyright' => '<a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a>', 'gift_name' => '红包类任务', 'gift_desc' => '申请此任务即可领取红包。', 'gift_copyright' => '<a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a>', 'promotion_name' => '论坛推广任务', 'promotion_desc' => '您知道论坛推广在哪里吗?哈哈,在“<a href="memcp.php?action=credits" target="_blank">我的积分</a>”里面,页面下方有推广链接,复制后发给您的好友,或者发到您的博客,或者发到一些大论坛,推广获积分,还可以得到该任务的额外奖励。', 'promotion_complete_var_name_iplimit' => '推广 IP 数下限', 'promotion_complete_var_desc_iplimit' => '当日推广 IP 数大于或等于此设置,才能完成任务。', 'promotion_copyright' => '<a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a>', ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/tasks.lang.php
PHP
asf20
1,473
<!--{block writedata}--> <script type="text/javascript"> var IMGDIR = '{IMGDIR}'; </script> <script type="text/javascript" src="{$GLOBALS[jspath]}tree.js?{VERHASH}" /></script> <style type="text/css"> .tree { font: {FONTSIZE} {FONT}; color: {MIDTEXT}; white-space: nowrap; padding-left: 0.4em; overflow-x: hidden; } .tree img { border: 0px; vertical-align: middle; } .tree .node a { text-decoration: none; } </style> <div class="sidebox"> <script type="text/javascript"> var tree = new dzTree('tree'); tree.addNode(0, -1, '$GLOBALS[bbname]', '$GLOBALS[indexname]', 'main', true); <!--{loop $forumlist $forumdata}--> <!--{if $forumdata['type'] == 'group'}--> <!--{if $haschild[$forumdata['fid']]}--> tree.addNode($forumdata[fid], $forumdata[fup], '$forumdata[name]', 'index.php?gid=$forumdata[fid]', '', false); <!--{/if}--> <!--{else}--> tree.addNode($forumdata[fid], $forumdata[fup], '$forumdata[name]', 'forumdisplay.php?fid=$forumdata[fid]', '', false); <!--{/if}--> <!--{/loop}--> tree.show(); </script> </div> <!--{/block}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/request_forumtree.htm
HTML
asf20
1,074
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang memcp_credits_log}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <div class="itemtitle s_clear"> <h1>{lang memcp_credits_log}</h1> <ul> <li<!--{if $operation == 'paymentlog'}--> class="current"<!--{/if}-->><a href="memcp.php?action=creditslog&operation=paymentlog" hidefocus="true"><span>{lang memcp_credits_log_payment}</span></a></li> <li<!--{if $operation == 'incomelog'}--> class="current"<!--{/if}-->><a href="memcp.php?action=creditslog&operation=incomelog" hidefocus="true"><span>{lang memcp_credits_log_income}</span></a></li> <li<!--{if $operation == 'attachpaymentlog'}--> class="current"<!--{/if}-->><a href="memcp.php?action=creditslog&operation=attachpaymentlog" hidefocus="true"><span>{lang memcp_credits_attach_log_payment}</span></a></li> <li<!--{if $operation == 'attachincomelog'}--> class="current"<!--{/if}-->><a href="memcp.php?action=creditslog&operation=attachincomelog" hidefocus="true"><span>{lang memcp_credits_attach_log_income}</span></a></li> <li<!--{if $operation == 'rewardpaylog'}--> class="current"<!--{/if}-->><a href="memcp.php?action=creditslog&operation=rewardpaylog" hidefocus="true"><span>{lang memcp_reward_log_payment}</span></a></li> <li<!--{if $operation == 'rewardincomelog'}--> class="current"<!--{/if}-->><a href="memcp.php?action=creditslog&operation=rewardincomelog" hidefocus="true"><span>{lang memcp_reward_log_income}</span></a></li> <li<!--{if $operation == 'creditslog'}--> class="current"<!--{/if}-->><a href="memcp.php?action=creditslog&operation=creditslog" hidefocus="true"><span>{lang memcp_credits_log_transaction}</span></a></li> </ul> <button class="right" onclick="window.location='memcp.php?action=credits'">{lang return}</button> </div> <div class="datalist"> <!--{if $operation == 'paymentlog'}--> <table summary="{lang memcp_credits_log_payment}" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td>{lang subject}</td> <td>{lang author}</td> <td>{lang dateline}</td> <td>{lang forum}</td> <td>{lang memcp_credits_log_payment_dateline}</td> <td>{lang price}</td> <td>{lang pay_author_income}</td> </tr> </thead> <tbody> <!--{if $loglist}--> <!--{loop $loglist $log}--> <tr class="{echo swapclass('colplural')}"> <td><a href="viewthread.php?tid=$log[tid]" target="_blank">$log[subject]</a></td> <td><a href="space.php?uid=$log[authorid]" target="_blank">$log[author]</a></td> <td>$log[tdateline]</td> <td><a href="forumdisplay.php?fid=$log[fid]" target="_blank">$log[name]</a></td> <td>$log[dateline]</td> <!--{if !$log['amount'] && !$log['netamount']}--> <td colspan="2">{lang memcp_credits_log_payment_refunded}</td> <!--{else}--> <td>{$extcredits[$creditstransextra[1]][title]} $log[amount] {$extcredits[$creditstransextra[1]][unit]}</td> <td>{$extcredits[$creditstransextra[1]][title]} $log[netamount] {$extcredits[$creditstransextra[1]][unit]}</td> <!--{/if}--> </tr> <!--{/loop}--> <!--{else}--> <td colspan="7">{lang memcp_credits_log_none}</td></tr> <!--{/if}--> </tbody> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <!--{elseif $operation == 'incomelog'}--> <table summary="{lang memcp_credits_log_income}" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td>{lang subject}</td> <td>{lang dateline}</td> <td>{lang forum}</td> <td>{lang memcp_credits_log_income_buyer}</td> <td>{lang memcp_credits_log_payment_dateline}</td> <td>{lang price}</td> <td>{lang pay_author_income}</td> </tr> </thead> <tbody> <!--{if $loglist}--> <!--{loop $loglist $log}--> <tr class="{echo swapclass('colplural')}"> <td><a href="viewthread.php?tid=$log[tid]" target="_blank">$log[subject]</a></td> <td>$log[tdateline]</td> <td><a href="forumdisplay.php?fid=$log[fid]" target="_blank">$log[name]</a></td> <td><a href="space.php?uid=$log[uid]" target="_blank">$log[username]</a></td> <td>$log[dateline]</td> <!--{if !$log['amount'] && !$log['netamount']}--> <td colspan="2">{lang memcp_credits_log_payment_refunded}</td> <!--{else}--> <td>{$extcredits[$creditstransextra[1]][title]} $log[amount] {$extcredits[$creditstransextra[1]][unit]}</td> <td>{$extcredits[$creditstransextra[1]][title]} $log[netamount] {$extcredits[$creditstransextra[1]][unit]}</td> <!--{/if}--> </tr> <!--{/loop}--> <!--{else}--> <td colspan="7">{lang memcp_credits_log_none}</td></tr> <!--{/if}--> </tbody> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <!--{elseif $operation == 'attachpaymentlog'}--> <table summary="{lang memcp_credits_log_income}" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td>{lang attachments}</td> <td>{lang author}</td> <td>{lang dateline}</td> <td>{lang memcp_credits_attach_log_post}</td> <td>{lang memcp_credits_log_payment_dateline}</td> <td>{lang price}</td> <td>{lang pay_author_income}</td> </tr> </thead> <tbody> <!--{if $loglist}--> <!--{loop $loglist $log}--> <tr class="{echo swapclass('colplural')}"> <td>$log[filename]</td> <td><a href="space.php?uid=$log[uid]" target="_blank">$log[username]</a></td> <td>$log[adateline]</td> <td><a href="redirect.php?goto=findpost&pid=$log[pid]&ptid=$log[tid]" target="_blank">$log[subject]</a></td> <td>$log[dateline]</td> <!--{if !$log['amount'] && !$log['netamount']}--> <td colspan="2">{lang memcp_credits_log_payment_refunded}</td> <!--{else}--> <td>{$extcredits[$creditstransextra[1]][title]} $log[amount] {$extcredits[$creditstransextra[1]][unit]}</td> <td>{$extcredits[$creditstransextra[1]][title]} $log[netamount] {$extcredits[$creditstransextra[1]][unit]}</td> <!--{/if}--> </tr> <!--{/loop}--> <!--{else}--> <td colspan="7">{lang memcp_credits_log_none}</td></tr> <!--{/if}--> </tbody> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <!--{elseif $operation == 'attachincomelog'}--> <table summary="{lang memcp_credits_log_income}" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td>{lang attachments}</td> <td>{lang dateline}</td> <td>{lang memcp_credits_attach_log_post}</td> <td>{lang memcp_credits_log_income_buyer}</td> <td>{lang memcp_credits_log_payment_dateline}</td> <td>{lang price}</td> <td>{lang pay_author_income}</td> </tr> </thead> <tbody> <!--{if $loglist}--> <!--{loop $loglist $log}--> <tr class="{echo swapclass('colplural')}"> <td>$log[filename]</td> <td>$log[adateline]</td> <td><a href="redirect.php?goto=findpost&pid=$log[pid]&ptid=$log[tid]" target="_blank">$log[subject]</a></td> <td><a href="space.php?uid=$log[uid]" target="_blank">$log[username]</a></td> <td>$log[dateline]</td> <!--{if !$log['amount'] && !$log['netamount']}--> <td colspan="2">{lang memcp_credits_log_payment_refunded}</td> <!--{else}--> <td>{$extcredits[$creditstransextra[1]][title]} $log[amount] {$extcredits[$creditstransextra[1]][unit]}</td> <td>{$extcredits[$creditstransextra[1]][title]} $log[netamount] {$extcredits[$creditstransextra[1]][unit]}</td> <!--{/if}--> </tr> <!--{/loop}--> <!--{else}--> <td colspan="7">{lang memcp_credits_log_none}</td></tr> <!--{/if}--> </tbody> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <!--{elseif $operation == 'rewardpaylog'}--> <table summary="{lang memcp_reward_log_payment}" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td>{lang subject}</td> <td>{lang dateline}</td> <td>{lang forum}</td> <td>{lang memcp_reward_log_payment_answerer}</td> <td>{lang memcp_reward_total}</td> <td>{lang memcp_reward_fact}</td> </tr> </thead> <tbody> <!--{if $loglist}--> <!--{loop $loglist $log}--> <tr class="{echo swapclass('colplural')}"> <td><a href="viewthread.php?tid=$log[tid]" target="_blank">$log[subject]</a></td> <td>$log[dateline]</td> <td><a href="forumdisplay.php?fid=$log[fid]" target="_blank">$log[name]</a></td> <td><a href="space.php?uid=$log['uid']" target="_blank">$log[username]</a></td> <td>{$extcredits[$creditstransextra[2]][title]} $log['price']<!--{if $extcredits[$creditstransextra[2]][unit] != ''}--> $extcredits[$creditstransextra[2]][unit]<!--{/if}--></td> <td>{$extcredits[$creditstransextra[2]][title]} $log['netamount']<!--{if $extcredits[$creditstransextra[2]][unit] != ''}--> $extcredits[$creditstransextra[2]][unit]<!--{/if}--></td> </tr> <!--{/loop}--> <!--{else}--> <td colspan="7">{lang memcp_credits_log_none}</td></tr> <!--{/if}--> </tbody> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <!--{elseif $operation == 'rewardincomelog'}--> <table summary="{lang memcp_reward_log_income}" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td>{lang subject}</td> <td>{lang dateline}</td> <td>{lang forum}</td> <td>{lang memcp_reward_log_income_author}</td> <td>{lang memcp_reward_total}</td> </tr> </thead> <tbody> <!--{if $loglist}--> <!--{loop $loglist $log}--> <tr class="{echo swapclass('colplural')}"> <td><a href="viewthread.php?tid=$log[tid]" target="_blank">$log[subject]</a></td> <td>$log[dateline]</td> <td><a href="forumdisplay.php?fid=$log[fid]" target="_blank">$log[name]</a></td> <td><a href="space.php?uid=$log['uid']" target="_blank">$log[username]</a></td> <td>{$extcredits[$creditstransextra[2]][title]} $log['price']<!--{if $extcredits[$creditstransextra[2]]['unit'] != ''}--> $extcredits[$creditstransextra[2]][unit]<!--{/if}--></td> </tr> <!--{/loop}--> <!--{else}--> <td colspan="7">{lang memcp_credits_log_none}</td></tr> <!--{/if}--> </tbody> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <!--{elseif $operation == 'creditslog'}--> <table summary="{lang memcp_credits_log_transaction}" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td></td> <td>{lang time}</td> <td width="15%">{lang memcp_credits_log_transaction_outgo}</td> <td>{lang memcp_credits_log_transaction_income}</td> <td>{lang action}</td> </tr> </thead> <tbody> <!--{if $loglist}--> <!--{loop $loglist $log}--> <tr class="{echo swapclass('colplural')}"> <td><!--{if $log['fromto'] == 'BANK ACCOUNT'}-->{lang memcp_credits_transfer_bank}<!--{elseif $log['fromto'] == 'TASK REWARD'}-->{lang memcp_credits_transfer_task}<!--{else}--><a href="space.php?username=$log[fromtoenc]">$log[fromto]</a><!--{/if}--></td> <td>$log[dateline]</td> <td><!--{if $log['send']}-->{$extcredits[$log[sendcredits]][title]} $log[send] {$extcredits[$log[sendcredits]][unit]}<!--{/if}--></td> <td><!--{if $log['receive']}-->{$extcredits[$log[receivecredits]][title]} $log[receive] {$extcredits[$log[receivecredits]][unit]}<!--{/if}--></td> <td> <!--{if $log['operation'] == 'TFR'}--> {lang memcp_credits_transfer_send} <!--{elseif $log['operation'] == 'RCV'}--> {lang memcp_credits_transfer_receive} <!--{elseif $log['operation'] == 'EXC'}--> {lang memcp_credits_exchange} <!--{elseif $log['operation'] == 'UGP'}--> {lang memcp_usergroups_charged} <!--{elseif $log['operation'] == 'AFD'}--> {lang memcp_credits_transfer_bank} <!--{/if}--> </td> </tr> <!--{/loop}--> <!--{else}--> <tr><td colspan="5">{lang memcp_credits_log_none}</td></tr> <!--{/if}--> </tbody> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> <!--{/if}--> </div> </div> </div> <div class="side"> {subtemplate personal_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/memcp_credits_log.htm
HTML
asf20
13,716
<!--{block writedata}--> <div class="side_type s_clear"> <!--{if $settings['title']}--> <h3 class="requesttabs">{eval $sp = '';} <span> <!--{loop $combinetitles $i $combinetitle}-->$sp<a href="javascript:;" hidefocus="true" id="{$idbase}_$i" onclick="switchTab('$idbase', $i, $combinecount)">$combinetitle</a>{eval $sp = ' | ';}<!--{/loop}--> </span> $settings[title] </h3> <!--{else}--> <!--{loop $combinetitles $i $combinetitle}--> <h4 id="{$idbase}_$i" onclick="switchTab('$idbase', $i, $combinecount)">$combinetitle</h4> <!--{/loop}--> <!--{/if}--> </div> $combinedata <script type="text/javascript">switchTab('$idbase', 1, $combinecount);</script> <!--{/block}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/request_rowcombine.htm
HTML
asf20
682
{template header} <!--{if !empty($message)}--> <script type="text/javascript" onload="1"> {eval $bbname = str_replace('\'', '\\\'', $bbname);} if(document.body.stat) document.body.stat('register_succeed', '$regname'); display('main_messaqge'); display('layer_reg'); display('layer_message'); {if $regverify == 1} $('messageleft1').innerHTML = '<p>{lang register_succeed} $bbname</p><p>{lang profile_email_verify}</p>'; $('messageright1').innerHTML = '<a href="memcp.php">{lang user_center}</a><br />{lang profile_email_verify_comment}'; setTimeout("window.location.href='memcp.php'", $mrefreshtime); {elseif $regverify == 2} $('messageleft1').innerHTML = '<p>{lang register_succeed} $bbname</p><p>{lang register_manual_verify}</p>'; $('messageright1').innerHTML = '<a href="memcp.php">{lang user_center}</a>'; setTimeout("window.location.href='memcp.php'", $mrefreshtime); {else} {if $newbietask} $('messageleft1').innerHTML = '<p>{lang register_succeed} $bbname</p><p>{lang register_newbietask}</p>'; $('messageright1').innerHTML = '<a href="javascript:;" onclick="location.href=\'task.php?action=view&id=$task[taskid]\'">{lang login_refresh}</a>'; setTimeout('location.href=\'task.php?action=view&id=$task[taskid]\'', $mrefreshtime); {else} $('messageleft1').innerHTML = '<p>{lang register_succeed} $bbname</p>'; $('messageright1').innerHTML = '<a href="javascript:;" onclick="location.reload()">{lang login_refresh}</a>'; setTimeout('location.reload()', $mrefreshtime); {/if} {/if} {if $_DCACHE['settings']['frameon'] && $_DCOOKIE['frameon'] == 'yes'} if(top != self) { parent.leftmenu.location.reload(); } {/if} </script> <!--{else}--> <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent" id="main_messaqge"> <div id="layer_bbrule" class="postbox" style="display: none;"> <div> <h3>$bbname {lang rulemessage}</h3> <div class="clause">$bbrulestxt</div> <button onclick="$('agreebbrule').checked = true;display('layer_reg');display('layer_bbrule');">{lang agree}</button> &nbsp; <button onclick="hideWindow('register')">{lang disagree}</button> </div> </div> <div id="layer_reg" class="postbox s_clear"> <h3 class="float_ctrl"> <em id="returnmessage4"><!--{if $action != 'activation'}-->$reglinkname<!--{else}-->{lang index_activation}<!--{/if}--></em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('register')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form method="post" name="register" id="registerform" onsubmit="ajaxpost('registerform', 'returnmessage4', 'returnmessage4', 'onerror');return false;" action="$regname?regsubmit=yes"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="referer" value="$referer" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <input type="hidden" name="activationauth" value="{if $action == 'activation'}$activationauth{/if}" /> <div class="loginform"> <div id="reginfo_a"> <span id="activation_hidden"{if $action == 'activation'} style="display:none"{/if}> <!--{if !empty($fromuser)}--> <span> <label><em>{lang register_from}:</em>$fromuser</label> <input type="hidden" name="fromuser"value="$fromuser" /> </span> <!--{/if}--> <label><em>{lang username}:</em><input type="text" id="username" name="username" autocomplete="off" size="25" maxlength="15" value="" onBlur="checkusername()" tabindex="1" class="txt" /> *</label> <label><em>{lang password}:</em><input type="password" name="password" size="25" id="password" onkeypress="detectCapsLock(event, this)" tabindex="1" class="txt" /> *</label> <label><em>{lang password_confirm}:</em><input type="password" name="password2" size="25" id="password2" onkeypress="detectCapsLock(event, this)" tabindex="1" value="" class="txt" /> *</label> <label><em>{lang email}:</em><input type="text" name="email" autocomplete="off" size="25" id="email" onBlur="checkemail()" tabindex="1" class="txt" /> *</label> <label><em>&nbsp;</em><a href="https://domains.live.com/members/signup.aspx?domain=$msn[domain]" target="_blank" style="float: left; width: 210px;"><!--{if $msn['on']}-->{lang msn_email_reglink}<!--{else}-->{lang msn_email_reglink_default}<!--{/if}--></a></label> </span> <!--{if $action == 'activation'}--> <span id="activation_user"> <label><em>{lang username}:</em>$username</label> </span> <!--{/if}--> <!--{if $secqaacheck || $seccodecheck}--> <div class="regsec"><label style="display:inline"><em>{lang memcp_profile_security_check}: </em>{subtemplate seccheck}</label></div> <!--{/if}--> <!--{if ($regstatus > 1 && $action != 'activation') || $regstatus == 2}--> <label><em>{lang invite_code}:</em><input type="text" name="invitecode" autocomplete="off" size="25" maxlength="16" value="$invitecode" id="invitecode" onBlur="checkinvitecode()" tabindex="1" class="txt" /><!--{if $regstatus == 2}--> *<!--{/if}--></label> <!--{/if}--> </div> <div id="reginfo_b"{if !empty($infloat)} style="display:none;"{/if}> <!--{if $regverify == 2}--> <label><em>{lang register_message}:</em><input name="regmessage" autocomplete="off" size="25" tabindex="1" class="txt" /> *</label> <!--{/if}--> <!--{loop $_DCACHE['fields_required'] $field}--> <label{if $field['description']} title="{echo htmlspecialchars($field[description])}"{/if}><em>$field[title]:</em> <!--{if $field['selective']}--> <select name="field_$field[fieldid]new" tabindex="1"> <option value="">{lang please_select}</option> <!--{loop $field['choices'] $index $choice}--> <option value="$index"{if $index == $member['field_'.$field[fieldid]]} selected="selected"{/if}>$choice</option> <!--{/loop}--> </select> <!--{else}--> <input type="text" name="field_$field[fieldid]new" size="25" value="$member['field_'.$field[fieldid]]" tabindex="1" class="txt" /> <!--{/if}--> * </label> <!--{/loop}--> </div> </div> <div class="logininfo"> <h4>{lang login_now}</h4> <!--{if $action == 'activation'}--> <p>{lang login_inactive}</p> <!--{/if}--> </div> <p class="fsubmit s_clear"> <!--{if $sitemessage[register]}--><a href="javascript:;" id="custominfo_register" class="right"><img src="{IMGDIR}/info.gif" alt="{lang faq}" /></a><!--{/if}--> <span id="reginfo_a_btn"> <!--{if $action != 'activation'}--><em>&nbsp;</em><!--{/if}--> <!--{if ($field || $regverify == 2) && !empty($infloat)}--> <button class="submit" tabindex="1" onclick="regstep('reginfo_a','reginfo_b'); return false;">{lang register_next}</button> </span> <span id="reginfo_b_btn" style="display:none"> <em class="regpre"><a href="javascript:;" onclick="regstep('reginfo_b','reginfo_a');">{lang register_pre}</a></em> <!--{/if}--> <button class="submit" id="registerformsubmit" type="submit" name="regsubmit" value="true" tabindex="1">{if $action == 'activation'}{lang activation}{else}{lang submit}{/if}</button> <!--{if $bbrules}--> <input type="checkbox" class="checkbox" name="agreebbrule" value="$bbrulehash" id="agreebbrule" checked="checked" /> <label for="agreebbrule">{lang agree}<a href="javascript:;" onclick="display('layer_reg');display('layer_bbrule');">{lang rulemessage}</a></label> <!--{/if}--> </span> </p> </form> </div> </div> <div id="layer_message" class="fcontent alert_win" style="display: none;"> <h3 class="float_ctrl"> <em>{lang login_member}</em> <span><!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('login')" title="{lang close}">{lang close}</a><!--{/if}--></span> </h3> <hr class="shadowline" /> <div class="postbox"><div class="alert_right"> <div id="messageleft1"></div> <p class="alert_btnleft" id="messageright1"></p> </div> </div> <script type="text/javascript" reload="1"> {if $action != 'activation'} function initinput_register() { $('registerform').username.focus(); } if(BROWSER.ie && BROWSER.ie < 7) { setTimeout('initinput_register()', 500); } else { initinput_register(); } {/if} {if $sitemessage[register]} showPrompt('custominfo_register', 'click', '{echo trim($sitemessage[register][array_rand($sitemessage[register])])}', $sitemessage[time]); {/if} var profile_username_toolong = '{lang register_profile_username_toolong}'; var profile_username_tooshort = '{lang register_profile_profile_username_tooshort}'; var doublee = parseInt('$doublee'); var lastusername = lastpassword = lastemail = lastinvitecode = ''; function messagehandle_register(key, msg) { $('returnmessage4').className = key == 1 ? 'onerror' : ''; $('returnmessage4').innerHTML = msg; } function checkusername() { var username = trim($('username').value); if(username == '' || username == lastusername) { return; } else { lastusername = username; } var unlen = username.replace(/[^\x00-\xff]/g, "**").length; if(unlen < 3 || unlen > 15) { messagehandle_register(1, unlen < 3 ? profile_username_tooshort : profile_username_toolong); return; } ajaxget('ajax.php?infloat=register&handlekey=register&action=checkusername&username=' + (BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent(username) : username), 'returnmessage4'); } function checkemail() { var email = trim($('email').value); if(email == '' || email == lastemail) { return; } else { lastemail = email; } ajaxget('ajax.php?infloat=register&handlekey=register&action=checkemail&email=' + email, 'returnmessage4'); } function checkinvitecode() { var invitecode = trim($('invitecode').value); if(invitecode == lastinvitecode) { return; } else { lastinvitecode = invitecode; } ajaxget('ajax.php?infloat=register&handlekey=register&action=checkinvitecode&invitecode=' + invitecode, 'returnmessage4'); } function trim(str) { return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1'); } {if ($field && !empty($infloat)) || $regverify == 2} function regstep(obja,objb){ $(obja).style.display = $(obja+'_btn').style.display = 'none'; $(objb).style.display = $(objb+'_btn').style.display = ''; } {/if} {if $invitecode} ajaxget('ajax.php?infloat=register&handlekey=register&action=checkinvitecode&invitecode=$invitecode', 'returnmessage4'); {/if} </script> <!--{/if}--> {eval updatesession();} <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/register.htm
HTML
asf20
10,945
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; <!--{if $discuz_uid == $member['uid']}-->{lang space_profile}<!--{else}-->$member[username]{lang space_sprofile}<!--{/if}--></div> <script type="text/javascript">var imagemaxwidth = '{IMAGEMAXWIDTH}';</script> <div id="wrap" class="wrap with_side special s_clear"> <div class="main"> <div id="profilecontent" class="content"> <div class="itemtitle s_clear"> <h1>$member[username]<!--{if $member[online]}--> <img src="{IMGDIR}/online_buddy.gif" title="{lang online}" class="online_buddy" /><!--{/if}--></h1> <ul> <li>({lang uid}: $member[uid])</li> </ul> </div> $pluginhooks[profile_baseinfo_top] <div id="baseprofile"> <table cellpadding="0" cellpadding="0" class="formtable" style="table-layout:fixed"> <!--{if $member['allownickname'] && $member['nickname']}--> <tr> <th>{lang nickname}:</th> <td>$member[nickname]</td> </tr> <!--{/if}--> <tr> <th width="70">{lang gender}:</th> <td> <!--{if $member['gender'] == 1}-->{lang male}<!--{elseif $member['gender'] == 2}-->{lang female}<!--{else}-->{lang secret}<!--{/if}--> </td> </tr> <!--{if $member[location]}--> <tr> <th width="70">{lang location}:</th> <td> $member[location] </td> </tr> <!--{/if}--> <!--{if $member[bday] != '00-00'}--> <tr> <th width="70">{lang birthday}:</th> <td> $member[bday] </td> </tr> <!--{/if}--> <!--{if $member[bio]}--> <tr> <th>{lang bio}:</th> <td style="word-break:all">$member[bio]</td> </tr> <!--{/if}--> </table> <table cellpadding="0" cellpadding="0" class="formtable"> <!--{if $member[site]}--> <tr> <th>{lang homepage}:</th> <td><a href="$member[site]" target="_blank">$member[site]</a></td> </tr> <!--{/if}--> <!--{if $member['showemail'] && $adminid > 0}--> <tr> <th>Email:</th> <td>$member[email]</td> </tr> <!--{/if}--> <!--{if $member['qq']}--> <tr> <th>QQ:</th> <td><a href="http://wpa.qq.com/msgrd?V=1&Uin=$member[qq]&amp;Site=$bbname&amp;Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:$member[qq]:4" border="0" alt="QQ" />$member[qq]</a></td> </tr> <!--{/if}--> <!--{if $member['icq']}--> <tr> <th>ICQ:</th> <td>$member[icq]</td> </tr> <!--{/if}--> <!--{if $member['yahoo']}--> <tr> <th>Yahoo:</th> <td>$member[yahoo]</td> </tr> <!--{/if}--> <!--{if $member['msn']}--> <tr> <th>MSN:</th> <td><!--{if $member['msn'][1]}--><a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee={$member[msn][1]}@apps.messenger.live.com&mkt=zh-cn" title="{lang msn_chat}"><img style="vertical-align:middle" src="http://messenger.services.live.com/users/{$member[msn][1]}@apps.messenger.live.com/presenceimage?mkt=zh-cn" width="16" height="16" /><em id="imme_status_{$member[msn][1]}">{lang msn_chat}</em></a><script type="text/javascript" language="javascript" src="http://messenger.services.live.com/users/{$member[msn][1]}@apps.messenger.live.com/presence/?cb=showimmestatus"></script><!--{/if}--><!--{if $member['msn'][0]}--> $member[msn][0]<!--{/if}--></td> </tr> <!--{/if}--> <!--{if $member['taobao']}--> <tr> <th>{lang taobao}:</th> <td><script type="text/javascript">document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid='+encodeURIComponent('$member[taobaoas]')+'&s=2"><img src="http://amos1.taobao.com/online.ww?v=2&uid='+encodeURIComponent('$member[taobaoas]')+'&s=1" alt="{lang taobao}" border="0" /></a>&nbsp;');</script></td> </tr> <!--{/if}--> <!--{if $member['alipay']}--> <tr> <th>{lang alipay}:</th> <td>$member[alipay]</td> </tr> <!--{/if}--> <!--{loop $_DCACHE['fields'] $field}--> <tr> <th>$field[title]:</th> <td> <!--{if $field['selective']}--> $field['choices'][$member['field_'.$field['fieldid']]] <!--{else}--> $member['field_'.$field['fieldid']] <!--{/if}--> &nbsp; </td> </tr> <!--{/loop}--> </table> </div> $pluginhooks[profile_baseinfo_bottom] <hr class="dashline" /> <h3 class="blocktitle lightlink">{lang usergroup}: <a href="faq.php?action=grouppermission&searchgroupid={$member[groupid]}" target="_blank">{$member[grouptitle]}</a> {eval showstars($member['groupstars']);} <!--{if $member['maingroupexpiry']}--><em>{lang valid_before} $member[maingroupexpiry]</em><!--{/if}--></h3> <!--{if $extgrouplist}--> <p>{lang extgroups}: <!--{loop $extgrouplist $extgroup}--> $extgroup[title]<!--{if $extgroup['expiry']}-->&nbsp;({lang valid_before} $extgroup[expiry])<!--{/if}--> <!--{/loop}--> </p> <!--{/if}--> <!--{if $modforums}--><p>{lang moderatorforums}: $modforums</p><!--{/if}--> <div class="s_clear"> <ul class="commonlist right" style="width: 50%"> <li>{lang regdate}: $member[regdate]</li> <li>{lang lastvisit}: <!--{if $member['invisible'] && $adminid != 1}-->{lang login_invisible_mode}<!--{else}-->$member[lastvisit]<!--{/if}--></li> <li>{lang lastpost}: $member[lastpost]</li> <!--{if $discuz_uid == $member[uid] || $allowviewip}--> <li>{lang regip}: $member[regip] - $member[regiplocation]</li> <li>{lang lastip}: $member[lastip] - $member[lastiplocation]</li> <!--{/if}--> </ul> <ul class="commonlist"> <li>{lang rank}: $member[ranktitle] {eval showstars($member['rankstars']);}</li> <li>{lang readperm}: $member[readaccess]</li> <li>{lang posts}: $member[posts] {lang piece}({lang post_percent} $percent%)</li> <li>{lang posts_per_day}: $postperday {lang piece}</li> <li>{lang digestposts}: $member[digestposts] {lang piece}</li> <!--{if $pvfrequence}--><li>{lang pageviews}: $member[pageviews]</li><!--{/if}--> </ul> </div> <!--{if $oltimespan}--><p>{lang onlinetime}: {lang onlinetime_total} <em>$member[totalol]</em> {lang hours}, {lang onlinetime_thismonth} <em>$member[thismonthol]</em> {lang hours} {eval showstars(ceil(($member['totalol'] + 1) / 50));} ({lang onlinetime_upgrade})</p><!--{/if}--> <hr class="dashline" /> <!--{if $member['medals']}--> <h3 class="blocktitle lightlink">{lang medals}</h3> <!--{loop $member['medals'] $medal}--> <img src="images/common/$medal[image]" border="0" alt="$medal[name]" title="$medal[name]" /> &nbsp; <!--{/loop}--> <hr class="dashline" /> <!--{/if}--> <h3 class="blocktitle lightlink">{lang credits}: $member[credits]</h3> <p> {eval $sp = '';} <!--{loop $extcredits $id $credit}--> $sp{$credit[img]}$credit[title]: {$member['extcredits'.$id]} $credit[unit] {eval $sp = ',&nbsp;';} <!--{/loop}--> </p> <!--{if $tradeopen}--> <hr class="dashline" /> <h3 class="blocktitle lightlink">{lang eccredit} <a href="eccredit.php?uid=$member[uid]" style="font-size: 12px; color: #09C;">({lang eccredit_list})</a></h3> <p> {lang trade_buyer_rate}: $member[sellercredit] <a href="eccredit.php?uid=$member[uid]" target="_blank"><img src="images/rank/seller/$member['sellerrank'].gif" border="0" class="absmiddle"></a> {lang trade_seller_rate}: $member[buyercredit] <a href="eccredit.php?uid=$member[uid]" target="_blank"><img src="images/rank/buyer/$member['buyerrank'].gif" border="0" class="absmiddle"></a> </p> <!--{/if}--> $pluginhooks[profile_extrainfo] <!--{if $my_status}--> <style> .mynarrow { margin: 5px -10px 5px 10px; padding-top: 8px; width: 200px; border-top: 1px dashed #ccc; } .mynarrow h3.lightlink a { text-decoration: none; } .with_side .side { width: 220px; } .with_side .main { margin-left:-220px; } .with_side .content { margin-left:220px; } </style> <!--{loop $my_list[wide] $value}--> <hr class="dashline" /> <h3 class="blocktitle lightlink"><a href="$value[appurl]&from=space">$value[appname]</a></h3> <p> <!--{eval eval($value[myml]);}--> </p> <!--{/loop}--> <!--{/if}--> </div> </div> <div class="side"> <div class="profile_side"> <!--{if $bannedmessages & 2 && ($member['groupid'] == 4 || $member['groupid'] == 5)}--> <div class="avatar">{lang member_avatar_banned}</div> <!--{else}--> <div class="avatar"> {echo discuz_uc_avatar($member[uid])} </div> <!--{/if}--> <ul id="profile_act"> $pluginhooks[profile_side_top] <li class="pm"><a href="pm.php?action=new&amp;uid=$member[uid]" id="sendpm" prompt="sendpm" onclick="showWindow('sendpm', this.href);return false;">{lang send_pm}</a></li> <li class="buddy"><a href="my.php?item=buddylist&amp;newbuddyid=$member[uid]&amp;buddysubmit=yes" id="addbuddy" prompt="addbuddy" onclick="ajaxmenu(this, 3000);doane(event);">{lang add_to_buddylist}</a></li> <!--{if $discuz_uid && $magicstatus}--><li class="magic"><a href="magic.php?action=index&amp;username=$member[usernameenc]" target="_blank">{lang magics_use}</a></li><!--{/if}--> <!--{if $allowviewuserthread}--> <li class="searchthread"><a href="my.php?item=threads&amp;uid=$member[uid]">{lang user_threads}</a></li> <li class="searchpost"><a href="my.php?item=posts&amp;uid=$member[uid]">{lang user_posts}</a></li> <!--{else}--> <li class="searchpost"><a href="search.php?srchuid=$member[uid]&amp;srchfid=all&amp;srchfrom=0&amp;searchsubmit=yes">{lang search_posts}</a></li> <!--{/if}--> <!--{if $ucappopen['UCHOME']}--> <li class="space"><a href="{$uchomeurl}/space.php?uid=$member[uid]" target="_blank">{lang user_space}</a></li> <!--{elseif $ucappopen['XSPACE']}--> <li class="space"><a href="{$xspaceurl}/?uid-$member[uid]" target="_blank">{lang user_space}</a></li> <!--{/if}--> </ul> <!--{if $discuz_uid && $magicstatus && $usemagic['user']}--> <ul> <!--{loop $usemagic['user'] $id $magic}--> <a href="magic.php?action=mybox&operation=use&amp;type=1&amp;pid=$post[pid]&magicid=$id" onclick="showWindow('magics', this.href);doane(event);"><img src="images/magics/$magic[pic]" title="{lang magics_to_user}"></a> <!--{/loop}--> </ul> <!--{/if}--> <!--{if $allowbanuser || $allowedituser || $member['adminid'] > 0 && $modworkstatus}--> <ul> <!--{if $member['adminid'] > 0 && $modworkstatus}--><li><a href="stats.php?type=modworks&amp;uid=$member[uid]"><span>{lang moderations}</span></a></li><!--{/if}--> <!--{if $allowbanuser || $allowedituser}--> <li>{lang admin_member}</li> <li> <!--{if $allowbanuser}--><a href="{if $adminid==1}admincp.php?action=members&operation=ban&username=$member[usernameenc]&frames=yes{else}modcp.php?action=members&amp;op=ban&amp;uid=$member[uid]{/if}" target="_blank"><span>{lang ban_member}</span></a>&nbsp;<!--{/if}--> <!--{if $allowedituser}--><a href="{if $adminid == 1}admincp.php?action=members&amp;username=$member[usernameenc]&amp;submit=yes&frames=yes{else}modcp.php?action=members&amp;op=edit&amp;uid=$member[uid]{/if}" target="_blank"><span>{lang edit}</span></a>&nbsp;<!--{/if}--> <a href="modcp.php?action=threads&op=posts&do=search&searchsubmit=1&users=$member[usernameenc]" target="_blank">{lang posts}</a> </li> <!--{/if}--> </ul> <!--{/if}--> <!--{if $my_status}--> <!--{if $my_list[guide]}--> <ul> <!--{loop $my_list[guide] $value}--> <li style="background-image: url(http://appicon.manyou.com/icons/$value[appid])"><!--{eval eval($value[profilelink]);}--></li> <!--{/loop}--> </ul> <!--{/if}--> <!--{loop $my_list[narrow] $value}--> <div class="mynarrow"> <h3 class="blocktitle lightlink"><a href="$value[appurl]&from=space">$value[appname]</a></h3> <!--{eval eval($value[myml]);}--> </div> <!--{/loop}--> <!--{/if}--> </div> $pluginhooks[profile_side_bottom] </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewpro_classic.htm
HTML
asf20
12,386
<!--{if $secqaacheck}--> <input name="secanswer" id="secanswer" type="text" autocomplete="off" style="width:50px" value="{lang secqaa}" class="txt" href="ajax.php?action=updatesecqaa" tabindex="1"> <span id="checksecanswer"><img src="images/common/none.gif" width="16" height="16"></span> <!--{/if}--> <!--{if $seccodecheck}--> <input name="seccodeverify" id="seccodeverify_{CURSCRIPT}" type="text" autocomplete="off" style="width:50px" value="{lang seccode}" class="txt" href="ajax.php?action=updateseccode" tabindex="1"> <a href="javascript:;" onclick="updateseccode();doane(event);">{lang seccode_change}</a> <span id="checkseccodeverify_{CURSCRIPT}"><img src="images/common/none.gif" width="16" height="16"></span> <!--{/if}--> <script type="text/javascript" reload="1"> var profile_seccode_invalid = '{lang register_profile_seccode_invalid}'; var profile_secanswer_invalid = '{lang register_profile_secqaa_invalid}'; var lastseccode = lastsecanswer = secfocus =''; var secanswerObj = $('secanswer'); var seccodeObj = $('seccodeverify_{CURSCRIPT}'); var secstatus = {'secanswer':0,'seccodeverify_{CURSCRIPT}':0}; if(secanswerObj) { secanswerObj.onclick = secanswerObj.onfocus = showIdentifying; secanswerObj.onblur = function(e) {if(!secfocus) $('secanswer_menu').style.display='none';checksecanswer();doane(e);}; } if(seccodeObj) { seccodeObj.onclick = seccodeObj.onfocus = showIdentifying; seccodeObj.onblur = function(e) {if(!secfocus) $('seccodeverify_{CURSCRIPT}_menu').style.display='none';checkseccode();doane(e);}; } function showIdentifying(e) { var obj = BROWSER.ie ? event.srcElement : e.target; if(!$(obj.id + '_menu')) { obj.value = ''; ajaxmenu($(obj.id), 0, 1, 3, '12', function() { secstatus[obj.id] = 1; $(obj.id + '_menu').onmouseover = function() { secfocus = 1; } $(obj.id + '_menu').onmouseout = function() { secfocus = '';$(obj.id).focus(); } }); } else if(secstatus[obj.id] == 1) { $(obj.id + '_menu').style.display = ''; } obj.unselectable = 'off'; obj.focus(); doane(e); } function updateseccode(op) { if(isUndefined(op)) { ajaxget('ajax.php?action=updateseccode', seccodeObj.id + '_menu', 'ajaxwaitid', '', '', '$(seccodeObj.id + \'_menu\').style.display = \'\''); } else { window.document.seccodeplayer.SetVariable("isPlay", "1"); } seccodeObj.focus(); } function checkseccode() { var seccodeverify = seccodeObj.value; if(seccodeverify == lastseccode) { return; } else { lastseccode = seccodeverify; } var cs = $('checkseccodeverify_{CURSCRIPT}'); {if $seccodedata['type'] != 1} if(!(/[0-9A-Za-z]{4}/.test(seccodeverify))) { warning(cs, profile_seccode_invalid); return; } {else} if(seccodeverify.length != 2) { warning(cs, profile_seccode_invalid); return; } {/if} ajaxresponse('checkseccodeverify_{CURSCRIPT}', 'action=checkseccode&seccodeverify=' + (BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent(seccodeverify) : seccodeverify)); } function checksecanswer() { var secanswer = secanswerObj.value; if(secanswer == lastsecanswer) { return; } else { lastsecanswer = secanswer; } ajaxresponse('checksecanswer', 'action=checksecanswer&secanswer=' + (BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent(secanswer) : secanswer)); } function ajaxresponse(objname, data) { var x = new Ajax('XML', objname); x.get('ajax.php?inajax=1&' + data, function(s){ var obj = $(objname); if(s.substr(0, 7) == 'succeed') { obj.style.display = ''; obj.innerHTML = '<img src="{IMGDIR}/check_right.gif" width="16" height="16" />'; obj.className = "warning"; } else { warning(obj, s); } }); } function warning(obj, msg) { if((ton = obj.id.substr(5, obj.id.length)) != 'password2') { $(ton).select(); } obj.style.display = ''; obj.innerHTML = '<img src="{IMGDIR}/check_error.gif" width="16" height="16" />'; obj.className = "warning"; } </script>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/seccheck.htm
HTML
asf20
4,142
<!--{if $thread['price'] > 0}--> <p class="reward_button"><button name="answer" value="ture" onclick="showWindow('reply', 'post.php?action=reply&fid=$fid&tid=$tid');return false;">{lang reward_answer}</button></p> <!--{/if}--> </div><br /> <!--{if $bestpost}--> <div class="reward_bestpost"> <table cellpadding="0" cellspacing="0" border="0" id="bestpost"> <thead> <tr><th>{lang reward_bestanswer}</th><td> <a href="space.php?username=$bestpost[author]" >$bestpost[author]</a></td></tr> </thead> <tbody> <tr> <th><a target="_blank" href="space.php?uid=$bestpost[uid]">{echo discuz_uc_avatar($bestpost[uid], 'small')}</a></th> <td> <div class="t_msgfont">$bestpost[message]</div> <!--{if $bestpost['attachment']}--> <div class="notice postattach">{lang attachment}: <em>{lang attach_nopermission}</em></div> <!--{elseif $hideattach[$post[pid]] && $bestpost['attachments']}--> <div class="notice postattach">{lang attachment}: <em>{lang attachment_reply_show}</em></div> <!--{elseif $bestpost['imagelist'] || $bestpost['attachlist']}--> <div class="box postattachlist"> <!--{if $bestpost['imagelist']}--> $bestpost[imagelist] <!--{/if}--> <!--{if $bestpost['attachlist']}--> $bestpost[attachlist] <!--{/if}--> </div> <!--{/if}--> <!--{if $aimgs[$bapid]}--> <script type="text/javascript" reload="1">aimgcount[$bapid] = [{echo implode(',', $aimgs[$bapid]);}];attachimgshow($bapid);</script> <!--{/if}--> </td> </tr> </tbody> </table> </div> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewthread_reward.htm
HTML
asf20
1,595
<!--{if $thread['freemessage']}--> <div id="postmessage_$pid" class="t_msgfont">$thread[freemessage]</div> <!--{/if}--> <div class="locked"> <a href="javascript:;" class="right viewpay" title="{lang pay}" onclick="showWindow('pay', 'misc.php?action=pay&tid=$tid&pid=$post[pid]')">{lang pay}</a> <em class="right"> {lang pay_buyers}:$thread[payers]&nbsp; <a href="misc.php?action=viewpayments&tid=$tid" onclick="showWindow('pay', this.href);return false;">{lang pay_view}</a> </em> <!--{if $thread['price'] > 0}-->{lang pay_comment}<!--{/if}--> <!--{if $thread[endtime]}-->{lang pay_free_time}<!--{/if}--> </div> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewthread_pay.htm
HTML
asf20
626
{subtemplate header} <!--{if $forum['ismoderator']}--> <script type="text/javascript" src="{$jspath}moderate.js?{VERHASH}"></script> <!--{/if}--> <!--{if $thread['special']}--> <link rel="stylesheet" type="text/css" href="forumdata/cache/style_{STYLEID}_special.css?{VERHASH}" /> <!--{/if}--> <script type="text/javascript" src="{$jspath}viewthread.js?{VERHASH}"></script> <script type="text/javascript">zoomstatus = parseInt($zoomstatus);var imagemaxwidth = '{IMAGEMAXWIDTH}';var aimgcount = new Array();</script> <div id="nav"> <!--{if $forumjump == 1}--><a href="$indexname" id="fjump" onmouseover="showMenu({'ctrlid':this.id})" class="dropmenu">$bbname</a><!--{else}--><a href="$indexname">$bbname</a><!--{/if}-->$navigation </div> $pluginhooks[viewthread_top] <!--{if $admode && !empty($advlist['text'])}--><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1">$advlist[text]</table></div><!--{else}--><div id="ad_text"></div><!--{/if}--> <!--{if $forum['ismoderator']}--> <ul class="popupmenu_popup headermenu_popup inlinelist" id="modopt_menu" style="width: 180px; display: none">{eval $modopt=0;} <!--{if $thread['digest'] >= 0}--> <!--{if $allowdelpost}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(3, 'delete')">{lang admin_delthread}</a></li><!--{/if}--> <!--{if $allowbumpthread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(3, 'down')">{lang admin_bump_down}</a></li><!--{/if}--> <!--{if $allowstickthread && ($thread['displayorder'] <= 3 || $adminid == 1)}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'stick')">{lang admin_stick}</a></li><!--{/if}--> <!--{if $allowhighlightthread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'highlight')">{lang admin_highlight}</a></li><!--{/if}--> <!--{if $allowdigestthread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'digest')">{lang admin_digest}</a></li><!--{/if}--> <!--{if $allowrecommendthread && $forum['modrecommend']['open'] && $forum['modrecommend']['sort'] != 1}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'recommend')">{lang admin_recommend}</a></li><!--{/if}--> <!--{if $allowstampthread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modaction('stamp')">{lang admin_stamp}</a></li><!--{/if}--> <!--{if $allowclosethread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(4)">{lang admin_openclose}</a></li><!--{/if}--> <!--{if $allowmovethread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(2, 'move')">{lang admin_move}</a></li><!--{/if}--> <!--{if $allowedittypethread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modthreads(2, 'type')">{lang admin_type}</a></li><!--{/if}--> <!--{if !$thread['special']}--> <!--{if $allowcopythread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modaction('copy')">{lang admin_copy}</a></li><!--{/if}--> <!--{if $allowmergethread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modaction('merge')">{lang admin_merges}</a></li><!--{/if}--> <!--{if $allowrefund && $thread['price'] > 0}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modaction('refund')">{lang admin_refund}</a></li><!--{/if}--> <!--{/if}--> <!--{if $allowsplitthread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modaction('split')">{lang admin_split}</a></li><!--{/if}--> <!--{if $allowrepairthread}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modaction('repair')">{lang admin_repair}</a></li><!--{/if}--> <!--{/if}--> <!--{if $allowremovereward && $thread['special'] == 3}-->{eval $modopt++}<li class="wide"><a href="javascript:;" onclick="modaction('removereward')">{lang admin_remove_reward}</a></li><!--{/if}--> </ul> <!--{if $allowwarnpost || $allowbanpost || $allowdelpost}--> <div id="modlayer" style="display:none;position:position;width:165px;"> <span>{lang admin_select}</span><strong id="modcount"></strong><span>{lang piece}: </span> <!--{if $allowwarnpost}--> <a href="javascript:;" onclick="modaction('warn')">{lang warn}</a> <!--{/if}--> <!--{if $allowbanpost}--> <a href="javascript:;" onclick="modaction('banpost')">{lang admin_banpost}</a> <!--{/if}--> <!--{if $allowdelpost}--> <a href="javascript:;" onclick="modaction('delpost')">{lang delete}</a> <!--{/if}--> </div> <!--{/if}--> <!--{/if}--> <div id="wrap" class="wrap s_clear threadfix"> <div class="forumcontrol"> <table cellspacing="0" cellpadding="0"> <tr> <td class="modaction"> <!--{if $forum['ismoderator'] && $modopt}--> <span id="modopt" onclick="$('modopt').id = 'modopttmp';this.id = 'modopt';showMenu({'ctrlid':this.id})" class="dropmenu">{lang admin_modoptions}</span> <!--{/if}--> </td> <td> $multipage <span class="pageback"{if $visitedforums} id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span> <!--{if $allowpostreply}--> <span class="replybtn" id="post_reply" prompt="post_reply"><a href="post.php?action=reply&fid=$fid&tid=$tid" onclick="showWindow('reply', this.href);return false;">{lang reply}</a></span> <!--{/if}--> <span class="postbtn" id="newspecial" prompt="post_newthread" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&fid=$fid" onclick="showWindow('newthread', this.href);return false;">{lang send_posts}</a></span> </td> </tr> </table> </div> <!--{if $allowpost && ($allowposttrade || $allowpostpoll || $allowpostreward || $allowpostactivity || $allowpostdebate || $threadplugins || $forum['threadsorts'])}--> <ul class="popupmenu_popup postmenu" id="newspecial_menu" style="display: none"> <!--{if !$forum['allowspecialonly']}--><li><a href="post.php?action=newthread&fid=$fid" onclick="showWindow('newthread', this.href);doane(event)">{lang post_newthread}</a></li><!--{/if}--> <!--{if $allowpostpoll}--><li class="poll"><a href="post.php?action=newthread&fid=$fid&special=1">{lang post_newthreadpoll}</a></li><!--{/if}--> <!--{if $allowpostreward}--><li class="reward"><a href="post.php?action=newthread&fid=$fid&special=3">{lang post_newthreadreward}</a></li><!--{/if}--> <!--{if $allowpostdebate}--><li class="debate"><a href="post.php?action=newthread&fid=$fid&special=5">{lang post_newthreaddebate}</a></li><!--{/if}--> <!--{if $allowpostactivity}--><li class="activity"><a href="post.php?action=newthread&fid=$fid&special=4">{lang post_newthreadactivity}</a></li><!--{/if}--> <!--{if $allowposttrade}--><li class="trade"><a href="post.php?action=newthread&fid=$fid&special=2">{lang post_newthreadtrade}</a></li><!--{/if}--> <!--{if $threadplugins}--> <!--{loop $forum['threadplugin'] $tpid}--> <!--{if array_key_exists($tpid, $threadplugins) && @in_array($tpid, $allowthreadplugin)}--> <li class="popupmenu_option"{if $threadplugins[$tpid][icon]} style="background-image:url($threadplugins[$tpid][icon])"{/if}><a href="post.php?action=newthread&fid=$fid&specialextra=$tpid">{$threadplugins[$tpid][name]}</a></li> <!--{/if}--> <!--{/loop}--> <!--{/if}--> <!--{if $forum['threadsorts'] && !$forum['allowspecialonly']}--> <!--{loop $forum['threadsorts']['types'] $id $threadsorts}--> <!--{if $forum['threadsorts']['show'][$id]}--> <li class="popupmenu_option"><a href="post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;sortid=$id">$threadsorts</a></li> <!--{/if}--> <!--{/loop}--> <!--{loop $forum['typemodels'] $id $model}--> <li class="popupmenu_option"><a href="post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;modelid=$id">$model[name]</a></li> <!--{/loop}--> <!--{/if}--> </ul> <!--{/if}--> <div id="postlist" class="mainbox viewthread"> {eval $postcount = 0;} <!--{loop $postlist $post}--> <div id="post_$post[pid]"> {subtemplate viewthread_node} </div> <!--{/loop}--> </div> <div id="postlistreply" class="mainbox viewthread"><div id="post_new" class="viewthread_table" style="display: none"></div></div> <form method="post" name="modactions" id="modactions"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="optgroup" /> <input type="hidden" name="operation" /> <input type="hidden" name="listextra" value="$extra" /> </form> $tagscript <div class="forumcontrol s_clear"> <table cellspacing="0" cellpadding="0" <!--{if $fastpost}-->class="narrow"<!--{/if}-->> <tr> <td class="modaction"> <!--{if $forum['ismoderator'] && $modopt}--> <span id="modopttmp" onclick="$('modopt').id = 'modopttmp';this.id = 'modopt';showMenu({'ctrlid':this.id})" class="dropmenu">{lang admin_modoptions}</span> <!--{/if}--> </td> <td> $multipage <span class="pageback"{if $visitedforums} id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span> <!--{if !$fastpost}--> <span class="replybtn"><a href="post.php?action=reply&fid=$fid&tid=$tid" onclick="showWindow('reply', this.href);return false;">{lang reply}</a></span> <span class="postbtn" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&fid=$fid" onclick="showWindow('newthread', this.href);return false;">{lang send_posts}</a></span> <!--{/if}--> </td> </tr> </table> </div> $pluginhooks[viewthread_middle] <!--{if $fastpost && $allowpostreply}--> {subtemplate viewthread_fastpost} <!--{/if}--> <!--{if $relatedthreadlist && $qihoo['relate']['position']}--> {template viewthread_relatedthread} <!--{/if}--> $pluginhooks[viewthread_bottom] <!--{if $visitedforums}--> <ul class="popupmenu_popup" id="visitedforums_menu" style="display: none"> $visitedforums </ul> <!--{/if}--> <!--{if $forumjump}--> <div class="popupmenu_popup" id="fjump_menu" style="display: none"> $forummenu </div> <!--{/if}--> <div id="favoritewin" style="display: none"> <h5> <a href="javascript:;" onclick="ajaxget('my.php?item=favorites&tid=$tid', 'favorite_msg');return false;" class="lightlink">[{lang thread_favorite_thread}]</a>&nbsp; <a href="javascript:;" onclick="ajaxget('my.php?item=attention&action=add&tid=$tid', 'favorite_msg');return false;" class="lightlink">[{lang attention_add}]</a> </h5> <span id="favorite_msg"></span> </div> <div id="sharewin" style="display: none"> <h5> <a href="javascript:;" onclick="setCopy('{$threadshare}\n{$boardurl}viewthread.php?tid=$tid$fromuid', '{lang post_copylink}')" class="lightlink" />[{lang share_im}]</a><br /><br /> <!--{if $discuz_uid}--> <a href="javascript:;" class="lightlink" onclick="hideWindow('confirm');showWindow('sendpm', 'pm.php?action=new&operation=share&tid=$tid');">[{lang share_pm}]</a> <!--{/if}--> </h5> </div> <!--{if $maxpage > 1}--> <script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, {if $page > 1}1{else}0{/if}, {if $page < $maxpage}1{else}0{/if}, 'viewthread.php?tid=$tid{if $authorid}&authorid=$authorid{/if}', $page);}</script> <!--{/if}--> <!--{if !empty($_DCACHE['focus']['data']) && CURSCRIPT == 'viewthread' && empty($_COOKIE['discuz_nofocus'])}-->{eval $focus = $_DCACHE['focus'];$focustid = array_rand($focus['data']);} <div class="focus" id="focus"> <h3 class="float_ctrl"> <em>{if $focus[title]}{$focus[title]}{else}{lang hottopics}{/if}</em> <span><a href="javascript:;" onclick="setcookie('discuz_nofocus', 1, 3600);$('focus').style.display='none'" class="close deloption" title="{lang close}">{lang close}</a></span> </h3> <hr class="shadowline" /> <div class="detail"> <h4><a href="{$focus[data][$focustid][url]}" target="_blank">$focus[data][$focustid][subject]</a></h4> <p> {if $focus[data][$focustid][image]} <a href="{$focus[data][$focustid][url]}" target="_blank"> <img src="{$focus[data][$focustid][image]}" width="58" height="58" /></a> {/if} $focus[data][$focustid][summary] </p> </div> <hr class="shadowline" /> <a href="{$focus[data][$focustid][url]}" class="moreinfo" target="_blank">{lang show}</a> </div> <!--{/if}--> {subtemplate footer} <!--{if $relatedthreadupdate}--> <script type="text/javascript" src="relatethread.php?tid=$tid&amp;subjectenc=$thread[subjectenc]&amp;tagsenc=$thread[tagsenc]&amp;verifykey=$verifykey&amp;up=$qihoo_up"></script> <!--{/if}--> <!--{if $tagupdate}--> <script type="text/javascript" src="relatekw.php?tid=$tid"></script> <!--{/if}--> <!--{if $qihoo['relate']['bbsnum'] && $statsdata}--> <img style="display:none;" src="http://pvstat.qihoo.com/dimana.gif?_pdt=discuz&_pg=s100812&_r=$randnum&_dim_k=orgthread&_dim_v={echo urlencode($boardurl);}||{$statsdata}||0" width="1" height="1" alt="" /> <img style="display:none;" src="http://pvstat.qihoo.com/dimana.gif?_pdt=discuz&_pg=s100812&_r=$randnum&_dim_k=relthread&_dim_v={$statskeywords}||{$statsurl}" width="1" height="1" alt="" /> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewthread.htm
HTML
asf20
13,646
<table cellspacing="0" cellpadding="0" summary="{lang my_replys}" class="datatable"> <thead class="colplural"> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th>{lang thread}</th> <td class="forum">{lang forum}</td> <!--{if !$uid}--> <td class="nums"> <select onchange="window.location='my.php?item=posts&filter=' + this.value + '$fidadd'"> <option value="">{lang status}</option> <option value="recyclebin"<!--{if $filter == 'recyclebin'}--> selected="selected"<!--{/if}-->>{lang forum_recyclebin}</option> <option value="aduit"<!--{if $filter == 'aduit'}--> selected="selected"<!--{/if}-->>{lang my_threads_aduit}</option> <option value="close"<!--{if $filter == 'close'}--> selected="selected"<!--{/if}-->>{lang my_threads_close}</option> <option value="common"<!--{if $filter == 'common'}--> selected="selected"<!--{/if}-->>{lang my_threads_common}</option> </option> </td> <!--{/if}--> <td class="lastpost"><cite>{lang order_lastpost}</cite></td> </tr> </thead> <!--{if $postlist}--> <tbody> <!--{loop $postlist $key $post}--> {eval $thread = $threads[$post[tid]];} <tr> <td class="folder"> <a href="redirect.php?goto=findpost&pid=$post[pid]&ptid=$post[tid]" target="_blank"> <!--{if $thread[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$thread[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <!--{if $thread['special'] == 1}--> <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" /> <!--{elseif $thread['special'] == 2}--> <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" /> <!--{elseif $thread['special'] == 3}--> <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" <!--{if $thread['price'] < 0}-->class="solved"<!--{/if}--> /> <!--{elseif $thread['special'] == 4}--> <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" /> <!--{elseif $thread['special'] == 5}--> <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" /> <!--{else}--> $thread['icon'] <!--{/if}--> </td> <th><a href="redirect.php?goto=findpost&pid=$post[pid]&ptid=$post[tid]" target="_blank">{$threads[$post[tid]][subject]}</a></th> <td class="forum"><a href="forumdisplay.php?fid=$post[fid]" target="_blank">$post[forumname]</a></td> <!--{if !$uid}--> <td class="nums"><!--{if $post[invisible] == '-1'}-->{lang forum_recyclebin}<!--{elseif $post[invisible] == '-2'}-->{lang my_threads_aduit}<!--{elseif $post[closed] == '1'}-->{lang my_threads_close}<!--{else}-->{lang my_threads_common}<!--{/if}--></td> <!--{/if}--> <td class="lastpost"> <em>$post[dateline]</em> </td> </tr> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th colspan="4" class="lighttxt">$post[message]</th> </tr> <!--{/loop}--> </tbody> <!--{else}--> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th colspan="4"><p class="nodata">{lang data_nonexistence}</p></th> </tr> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_posts.htm
HTML
asf20
3,304
<h1>{lang mod_option_subject_report}</h1> <div class="datalist"> <!--{if $modforums[list]}--> <form method="post" action="{$cpscript}?action=$action&op=$op"> <input type="hidden" name="formhash" value="{FORMHASH}"> <div class="filterform"> <select name="fid" onchange="this.form.submit();"> <option value=""></option> <!--{loop $modforums[list] $id $name}--> <!--{if $reportnums[$id]}--> <option value="$id" {if $id == $fid}selected{/if}>$name ($reportnums[$id])</option> <!--{/if}--> <!--{/loop}--> </select> &nbsp;&nbsp; {lang reportpost_forums} </div> </form> <!--{else}--> <p>{lang mod_message_moderate_nopermission}</p> <!--{/if}--> <!--{if !empty($reportlist)}--> <!--{if $reportlist[data]}--> <form id="reportform" method="post" action="{$cpscript}?action=$action"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="op" value="" id="operation" /> <input type="hidden" name="page" value="$page" /> <input type="hidden" name="fid" value="$fid" /> <input type="hidden" name="deletesubmit" value="yes" /> <table cellspacing="0" cellpadding="0" class="datatable"> <!--{loop $reportlist[data] $report}--> <tr> <td> <b><a href="space.php?uid=$report[uid]" target="_blank">$report[username]</a> <!--{if $report[type]}-->{lang reportpost_recommend}<!--{else}-->{lang reportpost_delate}<!--{/if}--></b> <span class="lighttxt">$report[dateline]</span><br /> $report[reason]<br /> {lang author}: <!--{if $report[author]}--><a href="space.php?uid=$report[authorid]" class="lightlink" target="_blank">$report[author]</a> <a href="pm.php?action=new&operation=report&reportid=$report[id]&uid=$report[authorid]" class="lightlink" onclick="showWindow('sendpm', this.href);return false;">[{lang send_pm}]</a><!--{else}-->{lang guest}<!--{/if}--><br /> {lang content}: <a href="redirect.php?goto=findpost&pid=$report[pid]&ptid=$report[tid]" class="lightlink" target="_blank">$report[subject]</a><br />$report[message]<br /> </td> <td width="80" align="right" valign="top"> <a href="pm.php?action=new&operation=report&reportid=$report[id]&uid=$report[uid]&isreporter=yes" class="lightlink" onclick="showWindow('sendpm', this.href);return false;">{lang reportpost_sendpm}</a>&nbsp; - &nbsp;<input type="checkbox" name="ids[]" value="$report[id]" class="checkbox" /> </td> </tr> <!--{/loop}--> </table> <div class="pages_btns"> <div class="right"> <input class="checkbox" type="checkbox" id="chkall" name="chkall" onclick="checkall(this.form)" /> <label for="chkall">{lang checkall}</label> <span class="lightlink">|</span> <a href="javascript:;" class="lightlink" onclick="$('operation').value='delete';$('reportform').submit();return false;">{lang reportpost_delete}</a> </div> <!--{if !empty($reportlist[pagelink])}-->$reportlist[pagelink]<!--{/if}--> </div> </form> <!--{else}--> <p>{lang search_nomatch}</p> <!--{/if}--> <!--{/if}--> </div> <!--{if !empty($logids)}--> <div class="notice">{lang mod_message_report_del}</div> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/modcp_report.htm
HTML
asf20
3,253
<h1>{lang mod_login}</h1> <div class="channelinfo">{lang mod_notice_login}</div> <form method="post" action="{$cpscript}?action=login" class="filterform"> <input type="hidden" name="formhash" value="{FORMHASH}"> <input type="hidden" name="fid" value="{$fid}"> <input type="hidden" name="submit" value="yes"> <table summary="{lang stats_main_member}" cellspacing="0" cellpadding="5"> <tr> <th width="60">{lang mod_login_username}:</th><td>$discuz_userss</td> </tr> <tr> <th>{lang mod_login_password}:</th><td><input type="password" name="cppwd" class="txt" /></td> </tr> <tr> <th></th><td><button type="submit" class="submit" name="submit" id="submit" value="true">{lang submit}</button></td> </tr> </table> </form>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/modcp_login.htm
HTML
asf20
743
<!--{if $goodsbuyer || $goodsseller}--> <!--{if $goodsbuyer}--> <div id="list_my_trade_buyer_info_c" class="c_header"> <h3 onclick="toggle_collapse('list_my_trade_buyer_info', 1, 1);">{lang my_trade_buyer_info}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_my_trade_buyer_info', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_my_trade_buyer_info" cellspacing="0" cellpadding="0"> <tr> <td> <a href="my.php?item=buytrades$extrafid">{lang my_trade_buyer_trading}</a><br /> <!--{if $buyerattend}--> <a href="my.php?item=buytrades$extrafid&filter=attention">{lang my_trade_need_attend_buy}</a><br /> <span style="margin:0 30px;"> {lang my_trade_include}: <!--{if $attendstatus[1]}-->$attendstatus[1] {lang my_trade_include_1}<!--{/if}--> <!--{if $attendstatus[5]}-->$attendstatus[5] {lang my_trade_include_5}<!--{/if}--> <!--{if $attendstatus[11]}-->$attendstatus[11] {lang my_trade_include_11}<!--{/if}--> <!--{if $attendstatus[12]}-->$attendstatus[12] {lang my_trade_include_12}<!--{/if}--> </span> <!--{/if}--> <!--{if $eccreditbuyer}--><a href="my.php?item=buytrades$extrafid&filter=eccredit">{lang my_trade_need_buyer_eccredit}</a><!--{/if}--> </td> </tr> </table> <!--{/if}--> <!--{if $goodsseller}--> <div id="list_my_trade_seller_info_c" class="c_header"> <h3 onclick="toggle_collapse('list_my_trade_seller_info', 1, 1);">{lang my_trade_seller_info}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_my_trade_seller_info', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_my_trade_seller_info" cellspacing="0" cellpadding="0"> <tr> <td><a href="my.php?item=tradethreads">{lang my_trade_seller_trading}</a></td> </tr> <!--{if $sellerattend}--> <tr> <td> <a href="my.php?item=selltrades$extrafid&filter=attention">{lang my_trade_need_attend_sell}</a> <span style="margin:0 30px;"> {lang my_trade_include}: <!--{if $attendstatus[2]}-->$attendstatus[2] {lang my_trade_include_2}<!--{/if}--> <!--{if $attendstatus[4]}-->$attendstatus[4] {lang my_trade_include_4}<!--{/if}--> <!--{if $attendstatus[10]}-->$attendstatus[10] {lang my_trade_include_10}<!--{/if}--> <!--{if $attendstatus[13]}-->$attendstatus[13] {lang my_trade_include_13}<!--{/if}--> </span> </td> </tr> <!--{/if}--> <!--{if $eccreditseller}--> <tr> <td> <a href="my.php?item=selltrades$extrafid&filter=eccredit">{lang my_trade_need_seller_eccredit}</a> </td> </tr> <!--{/if}--> </table> <!--{/if}--> <!--{if $buystats['tradesum'] || $sellstats['tradesum']}--> <div id="list_my_trade_stat_c" class="c_header"> <h3 onclick="toggle_collapse('list_my_trade_stat', 1, 1);">{lang my_trade_stat}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_my_trade_stat', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_my_trade_stat" cellspacing="0" cellpadding="0"> <!--{if $buystats['tradesum']}--> <tr> <th width="15%" class="colplural">{lang my_trade_buyer_total}:</th> <td>$buystats[totalitems]</td> </tr> <tr> <th class="colplural">{lang my_trade_buyer_sum}:</th> <td>$buystats[tradesum] {lang payment_unit}</td> </tr> <!--{/if}--> <!--{if $sellstats['tradesum']}--> <tr> <th width="15%" class="colplural">{lang my_trade_seller_total}:</th> <td>$sellstats[totalitems]</td> </tr> <tr> <th class="colplural">{lang my_trade_seller_sum}:</th> <td>$sellstats[tradesum] {lang payment_unit}</td> </tr> <!--{/if}--> </table> <!--{/if}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="datatable"> <tr><th><p class="nodata">{lang data_nonexistence}</p></th></tr> </table> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_tradestats.htm
HTML
asf20
4,047
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent" id="floatlayout_topicadmin"> <h3 class="float_ctrl"> <em id="return_report">{lang reportpost}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('report')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form id="postform" method="post" action="misc.php?action=report&reportsubmit=yes&infloat=yes" onsubmit="ajaxpost('postform', 'return_report', 'return_report', 'onerror');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="fid" value="$fid"> <input type="hidden" name="tid" value="$tid"> <input type="hidden" name="pid" value="$pid"> <input type="hidden" name="handlekey" value="report"> <div class="postbox"> <div class="topicadminlow"> <ul class="inlinelist"> <li><label><input type="radio" value="1" name="type" class="radio" checked /> {lang reportpost_recommend}</label></li> <li><label><input type="radio" value="0" name="type" class="radio" /> {lang reportpost_delate}</label></li> </ul> </div> <div class="topicadminlog"> <h4>{lang reportpost_suggestion}</h4> <p><textarea id="reason" name="reason" class="txtarea"></textarea></p> <p><input name="reportsubmit" type="submit" value="{lang submit}" /></p> </div> </div> </form> </div> <script type="text/javascript" reload="1"> function submithandle_report(locationhref) { hideWindow('report'); } </script> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/reportpost.htm
HTML
asf20
1,815
<input type="hidden" name="polls" value="yes" /> <div class="specialpost s_clear"> <p><em>{lang post_poll_options}:</em>{lang post_poll_comment}</p> <div class="specialinfo sppoll"> <!--{if $action == 'newthread'}--> <span id="polloption_new"></span> <p id="polloption_hidden" style="display: none"><input name="polloption[]" class="optioninfo txt" tabindex="1" /><a href="javascript:;" class="deloption" title="del" onclick="this.parentNode.parentNode.removeChild(this.parentNode)">del</a></p> <p><a href="javascript:;" onclick="addpolloption()">+{lang post_poll_add}</a></p> <!--{else}--> <!--{loop $poll['polloption'] $key $option}--> <p> <input type="hidden" name="polloptionid[{$poll[polloptionid][$key]}]" value="$poll[polloptionid][$key]" /> <input name="displayorder[{$poll[polloptionid][$key]}]" type="text" class="optionnum txt" tabindex="1" value="$poll[displayorder][$key]" /> <input name="polloption[{$poll[polloptionid][$key]}]" type="text" class="optioninfo txt" tabindex="1" value="$option"<!--{if !$alloweditpoll}--> readonly{/if} /> </p> <!--{/loop}--> <span id="polloption_new"></span> <p id="polloption_hidden" style="display: none"><input name="displayorder[]" type="text" class="optionnum txt" tabindex="1" /><input name="polloption[]" class="optioninfo txt" tabindex="1" /><a href="javascript:;" class="deloption" title="del" onclick="this.parentNode.parentNode.removeChild(this.parentNode)">del</a></p> <p><a href="javascript:;" onclick="addpolloption()">+{lang post_poll_add}</a></p> <!--{/if}--> </div> <div class="specialaddons"> <p><label for="pollnum"><input name="multiplepoll" type="checkbox" value="1"{if $poll[multiple]} checked{/if} tabindex="1" />{lang post_poll_allowmultiple}</label> <input name="maxchoices" class="spshortinput txt" value="$poll[maxchoices]" type="text" tabindex="1" /></p> <p><label for="polldatas"><input name="expirationchecked" type="checkbox" value="1" tabindex="1" />{lang post_poll_expiration}</label> <input id="polldatas" name="expiration" class="spshortinput txt" type="text" value="{if !$poll[expiration]}0{elseif $poll[expiration] < 0}{lang poll_close}{elseif $poll[expiration] < $timestamp}{lang poll_finish}{else}{eval print_r(round(($poll[expiration] - $timestamp) / 86400))} {/if}" tabindex="1" /></p> <p><input name="visibilitypoll" type="checkbox" value="1"{if $action == 'edit' && !$poll[visible]} checked{/if} tabindex="1" />{lang poll_after_result}</p> <p><input name="overt" type="checkbox" value="1"{if $action == 'edit' && $poll[overt]} checked{/if} tabindex="1" />{lang post_poll_overt}</p> </div> </div> <script type="text/javascript" reload="1"> function addpolloption() { $('polloption_new').outerHTML = '<p>' + $('polloption_hidden').innerHTML + '</p>' + $('polloption_new').outerHTML } {if $action == 'newthread'} addpolloption(); addpolloption(); addpolloption(); addpolloption(); addpolloption(); {/if} </script>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/post_poll.htm
HTML
asf20
3,009
{subtemplate header} <div id="nav"> <a href="$indexname">$bbname</a> &raquo; <a href="stats.php">{lang stats}</a> &raquo; <!--{if $type == 'views'}--> {lang stats_views} <!--{elseif $type == 'agent'}--> {lang stats_agent} <!--{elseif $type == 'posts'}--> {lang stats_posthist} <!--{elseif $type == 'forumsrank'}--> {lang stats_forums_rank} <!--{elseif $type == 'threadsrank'}--> {lang stats_threads_rank} <!--{elseif $type == 'postsrank'}--> {lang stats_posts_rank} <!--{elseif $type == 'creditsrank'}--> {lang stats_credits_rank} <!--{elseif $type == 'modworks'}--> {lang stats_modworks} <!--{/if}--> </div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <div class="datalist"> <!--{if $type == 'views'}--> <h1>{lang stats_views}</h1> <div id="list_stats_week_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_week', 1, 1);">{lang stats_week}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_week', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_week" summary="{lang stats_week}" cellspacing="0" cellpadding="0"> $statsbar_week </table> <div id="list_stats_hour_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_hour', 1, 1);">{lang stats_hour}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_hour', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_hour" summary="{lang stats_hour}" cellspacing="0" cellpadding="0"> $statsbar_hour </table> <!--{elseif $type == 'agent'}--> <h1>{lang stats_agent}</h1> <div id="list_stats_os_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_os', 1, 1);">{lang stats_os}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_os', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_os" summary="{lang stats_agent}" cellspacing="0" cellpadding="0"> $statsbar_os </table> <div id="list_stats_browser_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_browser', 1, 1);">{lang stats_browser}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_browser', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_browser" summary="{lang stats_agent}" cellspacing="0" cellpadding="0"> $statsbar_browser </table> <!--{elseif $type == 'posts'}--> <h1>{lang stats_posthist}</h1> <div id="list_stats_month_posts_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_month_posts', 1, 1);">{lang stats_month_posts}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_month_posts', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_month_posts" summary="{lang stats_posthist}" cellspacing="0" cellpadding="0"> $statsbar_monthposts </table> <div id="list_stats_day_posts_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_day_posts', 1, 1);">{lang stats_day_posts}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_day_posts', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_day_posts" summary="{lang stats_posthist}" cellspacing="0" cellpadding="0"> $statsbar_dayposts </table> <!--{elseif $type == 'forumsrank'}--> <h1>{lang stats_forums_rank}</h1> <table summary="{lang stats_forums_rank}" cellpadding="0" cellspacing="0"> <thead class="colplural"> <tr> <td colspan="2">{lang stats_posts}{lang stats_rank}</td> <td colspan="2">{lang reply}{lang stats_rank}</td> </tr> </thead> $forumsrank[0] </table> <table summary="{lang stats_forums_rank}" cellpadding="0" cellspacing="0"> <thead class="colplural"> <tr> <td colspan="2">{lang stats_posts_thismonth}{lang stats_rank}</td> <td colspan="2">{lang stats_posts_today}{lang stats_rank}</td> </tr> </thead> $forumsrank[1] </table> <!--{elseif $type == 'threadsrank'}--> <h1>{lang stats_threads_rank}</h1> <table summary="{lang stats_threads_rank}" cellpadding="0" cellspacing="0"> <thead class="colplural"> <tr> <td colspan="2" width="50%">{lang stats_threads_most_views}</td> <td colspan="2" width="50%">{lang stats_threads_most_replies}</td> </tr> </thead> $threadsrank </table> <!--{elseif $type == 'postsrank'}--> <h1>{lang stats_posts_rank}</h1> <table summary="{lang stats_posts_rank}" cellpadding="0" cellspacing="0"> <thead class="colplural"> <tr> <td colspan="2" width="25%">{lang stats_posts} {lang stats_rank}</td> <td colspan="2" width="25%">{lang stats_digest_posts} {lang stats_rank}</td> <td colspan="2" width="25%">{lang stats_posts_thismonth} {lang stats_rank}</td> <td colspan="2" width="25%">{lang stats_posts_today} {lang stats_rank}</td> </tr> </thead> $postsrank </table> <!--{elseif $type == 'creditsrank'}--> <div class="itemtitle s_clear"> <h1>{lang stats_credits_rank}</h1> <ul> <!--{loop $extendedcredits $key $extendedcredit}--> <li{if $extcredit == $key} class="current" id="extendedcredit_current"{/if} onclick="swtichcurrent(this, $key);return false;"><a href="stats.php?type=creditsrank&extcredit=$key"><span>{$extcredits[$key][title]}</span></a></li> <!--{/loop}--> </ul> </div> <!--{loop $extendedcredits $key $extendedcredit}--> <table id="extendedcredit_$key" summary="{lang stats_credits_rank}" cellpadding="0" cellspacing="0" style="display:{if $extcredit != $key} none{/if}"> <thead class="colplural"> <tr> <td colspan="2">{$extcredits[$key][title]}{lang stats_rank}</td> </tr> </thead> $creditsrank[$key] </table> <!--{/loop}--> <script> var lastcurrent = $('extendedcredit_current'); var lastextcredit = $extcredit; function swtichcurrent(obj, extcredit) { if(lastcurrent) { lastcurrent.className = ''; } $('extendedcredit_' + lastextcredit).style.display = 'none'; $('extendedcredit_' + extcredit).style.display = ''; obj.className = 'current'; lastcurrent = obj; lastextcredit = extcredit; } </script> <!--{elseif $type == 'modworks' && $uid}--> <h1>{lang stats_modworks} - $member[username]</h1> <div class="hasscrolltable"> <p class="fixedtable">{lang stats_modworks_month}: <!--{loop $monthlinks $link}--> &nbsp;{$link}&nbsp; <!--{/loop}--></p> <table cellpadding="0" cellspacing="0" class="scrollfixedtable"> <thead class="colplural"> <tr> <td>{lang time}</td> </tr> </thead> <tbody> <!--{loop $modactions $day $modaction}--> <tr class="{echo swapclass('colplural')}"> <td>$day</td> </tr> <!--{/loop}--> </tbody> <tr class="colplural"><td></td></tr> <tr> <td>{lang stats_modworks_thismonth}</td> </tr> </table> <div class="scrolltable"> <table cellpadding="0" cellspacing="0"> <thead class="colplural"> <tr> <!--{loop $modactioncode $key $val}--><td width="$tdwidth">$val</td><!--{/loop}--> </tr> </thead> <tbody> {eval unset($swapc);} <!--{loop $modactions $day $modaction}--> <tr class="{echo swapclass('colplural')}"> <!--{loop $modactioncode $key $val}--> <!--{if $modaction[$key]['posts']}--><td title="{lang posts}: $modaction[$key][posts]">$modaction[$key][count]<!--{else}--><td>&nbsp;<!--{/if}--></td> <!--{/loop}--> </tr> <!--{/loop}--> </tbody> <tr class="colplural"><td colspan="23"></td></tr> <tr> <!--{loop $modactioncode $key $val}--> <td class="$bgarray[$key]" <!--{if $totalactions[$key]['posts']}-->title="{lang posts}: {$totalactions[$key][posts]}"<!--{/if}-->>$totalactions[$key][count]&nbsp;</td> <!--{/loop}--> </tr> </table> </div> </div> <!--{elseif $type == 'modworks'}--> <h1>{lang stats_modworks} - {lang stats_modworks_all}</h1> <div class="hasscrolltable"> <p class="fixedtable">{lang stats_modworks_month}: <!--{loop $monthlinks $link}--> &nbsp;{$link}&nbsp; <!--{/loop}--></p> <table cellpadding="0" cellspacing="0" class="scrollfixedtable"> <thead class="colplural"> <tr> <td>{lang username}</td> </tr> </thead> <tbody> <!--{loop $members $uid $member}--> <tr class="{echo swapclass('colplural')}"> <td><a href="stats.php?type=modworks&before=$before&uid=$uid" title="{lang stats_modworks_details}">{$member[username]}</a></td> </tr> <!--{/loop}--> </tbody> </table> <div class="scrolltable"> <table cellpadding="0" cellspacing="0"> <thead class="colplural"> <tr> <!--{loop $modactioncode $key $val}--><td width="$tdwidth">$val</td><!--{/loop}--> </tr> </thead> <tbody> {eval unset($swapc);} <!--{loop $members $uid $member}--> <tr class="{echo swapclass('colplural')}"> <!--{loop $modactioncode $key $val}--> <!--{if $member[$key]['posts']}--><td title="{lang posts}: {$member[$key]['posts']}">{$member[$key][count]}<!--{else}--><td>&nbsp;<!--{/if}--></td> <!--{/loop}--> </tr> <!--{/loop}--> </tbody> </table> </div> </div> <!--{/if}--> </div> <!--{if $type == 'forumsrank'}--><div class="notice">{lang stats_update}</div><!--{/if}--> </div> </div> <div class="side"> {subtemplate stats_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/stats_misc.htm
HTML
asf20
10,311
<?php // Action Pack for Discuz! Version 1.0.0 // Created by Crossday $actioncode = array ( 0 => '回到论坛', 1 => '浏览论坛首页', 2 => '浏览论坛版块', 3 => '浏览帖子', 5 => '注册为新会员', 6 => '登录论坛', 7 => '使用控制面板', 8 => '我的', 11 => '发新话题', 12 => '回复主题', 13 => '编辑帖子', 14 => '下载附件', 15 => 'X-Space导入论坛', 21 => '查看论坛公告', 31 => '查看在线用户', 41 => '查看会员列表', 51 => '查看使用帮助', 61 => '查看用户资料', 62 => '查看信用评价', 71 => '评分', 72 => '查看评分记录', 73 => '查看警告记录', 81 => '购买主题', 82 => '查看主题购买记录', 101 => '收发短消息', 102 => '查看通知', 111 => '论坛搜索', 121 => '推荐给朋友', 122 => '向版主反映帖子', 123 => '加入/移除 文集', 131 => '查看论坛统计数据', 141 => '取回密码', 150 => '个人空间', 151 => '文集', 161 => '悬赏', 170 => '道具商店', 171 => '我的道具箱', 172 => '道具市场', 173 => '道具日志', 180 => '论坛任务', 191 => 'WAP - 浏览首页', 192 => 'WAP - 浏览论坛版块', 193 => 'WAP - 浏览帖子', 194 => 'WAP - 工具箱', 195 => 'WAP - 发新话题', 196 => 'WAP - 回复主题', 197 => 'WAP - 短消息', 201 => '使用版主权限', 210 => '访问管理面板', 211 => '访问管理中心', 254 => '无效的越权访问', 255 => '提示信息/页面跳转' ); $language = array ( 'guest' => '游客' ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/actions.lang.php
PHP
asf20
1,653
<h2>{lang stats_options}</h2> <div class="sideinner"> <ul class="tabs"> <li><a href="stats.php">{lang stats_main}</a></li> <!--{if $statstatus}--><li><a href="stats.php?type=views">{lang stats_views}</a></li><!--{/if}--> <!--{if $statstatus}--><li><a href="stats.php?type=agent">{lang stats_agent}</a></li><!--{/if}--> <!--{if $statstatus}--><li><a href="stats.php?type=posts">{lang stats_posthist}</a></li><!--{/if}--> <li><a href="stats.php?type=forumsrank">{lang stats_forums_rank}</a></li> <li><a href="stats.php?type=threadsrank">{lang stats_threads_rank}</a></li> <li><a href="stats.php?type=postsrank">{lang stats_posts_rank}</a></li> <li><a href="stats.php?type=creditsrank">{lang stats_credits_rank}</a></li> <li><a href="stats.php?type=trade">{lang stats_trade_rank}</a></li> <!--{if $oltimespan}--><li><a href="stats.php?type=onlinetime">{lang stats_onlinetime}</a></li><!--{/if}--> <li><a href="stats.php?type=team">{lang stats_team}</a></li> <!--{if $modworkstatus}--><li><a href="stats.php?type=modworks">{lang stats_modworks}</a></li><!--{/if}--> <li><a href="member.php?action=list">{lang member_list}</a></li> </ul> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/stats_navbar.htm
HTML
asf20
1,184
<!--{if $operation == 'buy' || $operation == 'down'}--> <!--{if !empty($infloat)}-->{template header}<!--{/if}--> <div class="fcontent" id="fwin_magics"> <div id="floatlayout_topicadmin"> <h3 class="float_ctrl"> <em><!--{if $operation == 'buy'}-->{lang magics_operation_buy}<!--{elseif $operation == 'down'}-->{lang magics_operation_down}<!--{/if}--></em> <span><!--{if !empty($infloat)}--><a title="{lang close}" onclick="hideWindow('magics')" class="float_close" href="javascript:;">{lang close}</a><!--{/if}--></span> </h3> <form method="post" action="magic.php?action=market"> <input type="hidden" name="formhash" value="{FORMHASH}"> <input type="hidden" name="operation" value="$operation" /> <input type="hidden" name="mid" value="$mid" /> <div class="postbox"> <div class="mymagic fixed s_clear"> <div class="magicimg"><img src="images/magics/$magic[pic]" alt="$magic[name]"></div> <div class="magicdetail"> <h5>$magic[name]</h5> <p>$magic[description]</p> <p>{lang magics_shop_num}: $magic[num]&nbsp;&nbsp;{lang magics_weight}: $magic[weight]</p> <p>{lang magics_price}: <span class="magicprice">$magic[price]</span> $extcredits[$creditstransextra[3]][title]</p> <!--{if $operation == 'buy'}--> <div class="magicnum">{lang magics_amount_buy}: <input name="magicnum" type="text" size="2" value="$magic[num]" class="txt" /></div> <button class="submit" type="submit" name="buysubmit" value="true">{lang magics_operation_buy}</button> <!--{elseif $operation == 'down'}--> <div class="magicnum">{lang magics_amount_down}: <input name="magicnum" type="text" size="2" value="$magic[num]" class="txt" /></div> <button class="submit" type="submit" name="downsubmit" value="true">{lang magics_operation_down}</button> <!--{/if}--> </div> </div> </div> </form> </div> </div> <!--{if !empty($infloat)}-->{template footer}<!--{/if}--> <!--{else}--> <div id="list_magics_shop_c" class="c_header"> <h3 class="noarrow"> <!--{if !$operation}--> {lang all} <!--{elseif $operation == 'my'}--> {lang magics_market_my} <!--{/if}--> </h3> </div> <!--{if !$operation == 'my'}--> <div id="footfilter" class="filterform"> <form method="post" action="magic.php?action=market"> <input type="hidden" name="formhash" value="{FORMHASH}"> <select name="magicid"><option value="">{lang magics_name}</option>$magicselect</select> <select name="orderby"> <option value="price" $check[price]>{lang magics_price}</option> <option value="num" $check[num]>{lang magics_num}</option> </select> <select name="ascdesc"> <option value="">{lang orderby}</option> <option value="ASC" $check[ASC]>{lang order_asc}</option> <option value="DESC" $check[DESC]>{lang order_desc}</option> </select>&nbsp; <button class="submit" type="submit" name="searchsubmit">{lang sort}</button> </form> </div> <!--{/if}--> <!--{if !$operation || $operation == 'my'}--> <div class="datalist"> <table summary="{lang magics_market}" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td>{lang magics_name}</td> <td width="12%">{lang magics_price} ($extcredits[$creditstransextra[3]][title])</td> <td width="6%">{lang magics_num}</td> <td width="10%">{lang magics_single_weight}</td> <td width="15%">{lang magics_seller}</td> <td width="10%">{lang magics_operation}</td> </tr> </thead> <!--{if $magiclist}--> <!--{loop $magiclist $magic}--> <tr class="{echo swapclass('colplural')}"> <td><h4 title="$magic[description]">$magic[name]</h4></td> <td>$magic[price]</td> <td>$magic[num]</td> <td>$magic[weight]</td> <td><a href="space.php?uid=$magic[uid]" target="_blank">$magic[username]</a></td> <td> <!--{if $magic[uid] != $discuz_uid}--> <a href="magic.php?action=market&amp;operation=buy&amp;mid=$magic[mid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_buy}</a> <!--{else}--> <a href="magic.php?action=market&amp;operation=down&amp;mid=$magic[mid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_down}</a> <!--{/if}--> </td> </tr> <!--{/loop}--> <!--{else}--> <tr><td colspan="7">{lang magics_market_nonexistence}</td></tr> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}--> </div> <!--{/if}--> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/magic_market.htm
HTML
asf20
4,644
<div class="specialpost s_clear"> <div class="specialinfo"> <h4><label for="affirmpoint">{lang debate_square}:</label></h4> <div><textarea name="affirmpoint" id="affirmpoint" class="txtarea" tabindex="1">$debate[affirmpoint]</textarea></div> <h4><label for="negapoint">{lang debate_opponent}:</label></h4> <div><textarea name="negapoint" id="negapoint" class="txtarea" tabindex="1">$debate[negapoint]</textarea></div> </div> <div class="specialaddons"> <label for="endtime">{lang endtime}:</label> <p class="hasdropdownbtn"> <input onclick="showcalendar(event, this, true)" type="text" autocomplete="off" id="endtime" name="endtime" class="txt" value="$debate[endtime]" tabindex="1" /> <a href="javascript:;" class="dropdownbtn" onclick="showselect(this, 'endtime')">^</a> </p> <label for="umpire">{lang debate_umpire}:</label> <p><input type="text" id="umpire" class="splonginput txt" name="umpire" onblur="checkuserexists(this.value, 'checkuserinfo')" value="$debate[umpire]" tabindex="1" /></p> <span id="checkuserinfo"></span> </div> </div> <script type="text/javascript" reload="1"> function checkuserexists(username, objname) { if(!username) { $(objname).innerHTML = ''; return; } var x = new Ajax(); username = BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent(username) : username; x.get('ajax.php?inajax=1&action=checkuserexists&username=' + username, function(s){ var obj = $(objname); obj.innerHTML = s; }); } </script>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/post_debate.htm
HTML
asf20
1,532
<div class="pages_btns s_clear"> <span class="postbtn" id="prompt_index_postbtn"><a href="misc.php?action=nav" onclick="showWindow('nav', this.href);return false;">{lang send_posts}</a></span> <!--{if !$discuz_uid}--> {lang home_welcome_guest} <!--{else}--> {lang home_welcome} {$discuz_userss}, <!--{if $lastvisit}-->{lang home_lastvisit} {$lastvisit}, <!--{/if}--><a href="my.php?item=threads" class="lightlink" target="_blank">{lang my_posts}</a>, <a href="search.php?srchfrom=$newthreads&amp;searchsubmit=yes" class="lightlink">{lang show_newthreads}</a>, <a href="member.php?action=markread" id="ajax_markread" onclick="ajaxmenu(this);doane(event);" class="lightlink">{lang mark_read}</a> <!--{/if}--> </div> <!--{if empty($gid) && $announcements}--> <div id="ann"> <dl> <dt>{lang announcements}:</dt> <dd> <div id="annbody"><ul id="annbodylis">$announcements</ul></div> </dd> </dl> </div> <script type="text/javascript">announcement();</script> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/index_header.htm
HTML
asf20
1,011
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <script type="text/javascript" reload="1"> var max_obj = $tradestick; var p = $stickcount; function checkbox(obj) { if(obj.checked) { p++; for (var i = 0; i < $('tradeform').elements.length; i++) { var e = tradeform.elements[i]; if(p == max_obj) { if(e.name.match('stick') && !e.checked) { e.disabled = true; } } } } else { p--; for (var i = 0; i < $('tradeform').elements.length; i++) { var e = tradeform.elements[i]; if(e.name.match('stick') && e.disabled) { e.disabled = false; } } } } </script> <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_$handlekey">{lang trade_displayorder}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form id="tradeform" method="post" action="misc.php?action=tradeorder&tid=$tid&tradesubmit=yes&infloat=yes"{if !empty($infloat)} onsubmit="ajaxpost('tradeform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;"{/if}> <input type="hidden" name="formhash" value="{FORMHASH}" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <div class="floatwrap"> <table class="list" cellspacing="0" cellpadding="0"> <thead> <tr> <td>{lang trade_show_order}</td> <td>{lang trade_update_stick}</td> <td>{lang post_trade_name}</td> <td>{lang post_trade_price}</td> <td>{lang trade_remaindays}</td> <td></td> </tr> </thead> <!--{loop $trades $trade}--> <tr> <td><input size="1" name="displayorder[{$trade[pid]}]" value="$trade[displayorderview]" class="txt" /></td> <td><input class="checkbox" type="checkbox" onclick="checkbox(this)" name="stick[{$trade[pid]}]" value="yes" <!--{if $trade[displayorder] > 0}-->checked="checked"<!--{elseif $tradestick <= $stickcount}-->disabled="disabled"<!--{/if}--> /></td> <td>$trade[subject]</td> <td> <!--{if $trade[price] > 0}--> $trade[price] {lang payment_unit}&nbsp;&nbsp; <!--{/if}--> <!--{if $trade[credit] > 0}--> {$extcredits[$creditstransextra[5]][title]} $trade[credit] {$extcredits[$creditstransextra[5]][unit]} <!--{/if}--> </td> <td> <!--{if $trade[closed]}--> {lang trade_timeout} <!--{elseif $trade[expiration] > 0}--> {$trade[expiration]}{lang days}{$trade[expirationhour]}{lang trade_hour} <!--{elseif $trade[expiration] == -1}--> {lang trade_timeout} <!--{/if}--> </td> <td><a href="post.php?action=edit&amp;fid=$thread[fid]&amp;tid=$tid&amp;pid=$trade[pid]" target="_blank">{lang edit}</a></td> </tr> <!--{/loop}--> </table> </div> <div class="moreconf"> <button tabindex="1" class="submit" type="submit" name="tradesubmit" value="true">{lang trade_update_order}</button> &nbsp;&nbsp;{lang trade_update_stickmax} $tradestick </div> </form> </div> <script type="text/javascript" reload="1"> function submithandle_$handlekey(locationhref) { ajaxget('viewthread.php?tid=$attach[tid]&viewpid=$attach[pid]', 'post_$attach[pid]'); hideWindow('$handlekey'); } </script> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/trade_displayorder.htm
HTML
asf20
3,644
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang memcp_profile}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <script type="text/javascript" src="{$jspath}calendar.js?{VERHASH}"></script> <script type="text/javascript" src="{$jspath}bbcode.js?{VERHASH}"></script> <script type="text/javascript"> var charset = '$charset'; var maxsigsize = parseInt('$maxsigsize'); var maxbiosize = parseInt('$maxbiosize'); var allowhtml = 0; var forumallowhtml = 0; var allowsmilies = 0; var allowbbcode = 0; var allowimgcode = 0; var allowbiobbcode = parseInt('$allowbiobbcode'); var allowbioimgcode = parseInt('$allowbioimgcode'); var allowsigbbcode = parseInt('$allowsigbbcode'); var allowsigimgcode = parseInt('$allowsigimgcode'); function parseurl(str, mode) { str = str.replace(/([^>=\]"'\/]|^)((((https?|ftp):\/\/)|www\.)([\w\-]+\.)*[\w\-\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!]*)+\.(jpg|gif|png|bmp))/ig, mode == 'html' ? '$1<img src="$2" border="0">' : '$1[img]$2[/img]'); str = str.replace(/([^>=\]"'\/@]|^)((((https?|ftp|gopher|news|telnet|rtsp|mms|callto|bctp|ed2k):\/\/)|www\.)([\w\-]+\.)*[:\.@\-\w\u4e00-\u9fa5]+\.([\.a-zA-Z0-9]+|\u4E2D\u56FD|\u7F51\u7EDC|\u516C\u53F8)((\?|\/|:)+[\w\.\/=\?%\-&~`@':+!#]*)*)/ig, mode == 'html' ? '$1<a href="$2" target="_blank">$2</a>' : '$1[url]$2[/url]'); str = str.replace(/([^\w>=\]:"'\.\/]|^)(([\-\.\w]+@[\.\-\w]+(\.\w+)+))/ig, mode == 'html' ? '$1<a href="mailto:$2">$2</a>' : '$1[email]$2[/email]'); return str; } function validate(theform) { {if $typeid == 2} {if $maxsigsize} if(mb_strlen(theform.signaturenew.value) > maxsigsize) { alert('{lang memcp_profile_sig_toolong}'); return false; } {/if} if(mb_strlen(theform.bionew.value) > maxbiosize) { alert('{lang memcp_profile_bio_toolong}'); return false; } {if !$member[signature]}$('signaturemessage').click();{/if} {if !$member[bio]}$('biomessage').click();{/if} {/if} return true; } function updateavatar(updatenewbietask) { $('avatar').src='{echo discuz_uc_avatar($discuz_uid, 'middle', TRUE)}{if $avatarmethod}?{else}&{/if}random=1'+Math.random(); <!--{if $prompts['newbietask'] && $newbietaskid && $newbietasks[$newbietaskid]['scriptname'] == 'uploadavatar'}--> if(isUndefined(updatenewbietask)) { ajaxget('task.php?action=updatenewbietask&scriptname=uploadavatar', 'avatarctrl'); } <!--{/if}--> if(document.body.stat) document.body.stat('avatar_update_succeed', 'memcp.php'); } function updatetextarea(id, msg) { $(id).updated = 0; $(id).value = msg; $(id).style.color = '{LIGHTTEXT}'; $(id).onclick = function(){ this.style.color = '{TABLETEXT}'; this.value = ''; $(id).onclick = null; } } </script> <form name="reg" method="post" action="memcp.php?action=profile&typeid=$typeid" onSubmit="return validate(this)" style="zoom:1"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <!--{if $typeid == 1}--> <h1>{lang memcp_profile_security}</h1> <div class="channelinfo">{lang old_password_comment}</div> <table summary="{lang memcp_profile}" cellspacing="0" cellpadding="0" class="formtable"> <!--{if $secqaacheck || $seccodecheck}--> <tr> <th><label for="oldpassword">{lang memcp_profile_security_check}</label></th> <td>{subtemplate seccheck}</td> <td></td> </tr> <!--{/if}--> <tr> <th><label for="oldpassword">{lang old_password}</label></th> <td><input type="password" name="oldpassword" id="oldpassword" size="25" class="txt" /></td> <td>{lang required}</td> </tr> <tr> <th><label for="newpassword">{lang new_password}</label></th> <td><input type="password" name="newpassword" id="newpassword" size="25" class="txt" /></td> <td>{lang memcp_profile_passwd_comment}</td> </tr> <tr> <th><label for="newpassword2">{lang new_password_confirm}</label></th> <td><input type="password" name="newpassword2" id="newpassword2" size="25" class="txt" /></td> <td></td> </tr> <tr> <th><label for="emailnew">{lang email}</label></th> <td><input type="text" name="emailnew" id="emailnew" size="25" value="$member[email]" class="txt" /></td> <td> <!--{if $regverify == 1 && (($grouptype == 'member' && $adminid == 0) && $groupid == 8)}--> {lang memcp_profile_email_comment}<!--{/if}--> </td> </tr> <tr> <th><label for="questionidnew">{lang security_question}</label></th> <td><select name="questionidnew" id="questionidnew"> <!--{if $discuz_secques}--><option value="">{lang memcp_profile_security_keep}</option><!--{/if}--> <option value="0">{lang security_question_0}</option> <option value="1">{lang security_question_1}</option> <option value="2">{lang security_question_2}</option> <option value="3">{lang security_question_3}</option> <option value="4">{lang security_question_4}</option> <option value="5">{lang security_question_5}</option> <option value="6">{lang security_question_6}</option> <option value="7">{lang security_question_7}</option> </select> </td> <td>{lang memcp_profile_security_comment}</td> </tr> <tr> <th><label for="answernew">{lang security_answer}</label></th> <td><input type="text" name="answernew" id="answernew" size="25" class="txt" /></td> <td>{lang memcp_profile_security_answer_comment}</td> </tr> <!--{elseif $typeid == 2}--> <link href="forumdata/cache/style_{STYLEID}_seditor.css?{VERHASH}" rel="stylesheet" type="text/css" /> <h1>{lang memcp_profile}</h1> <table summary="{lang memcp_profile}" cellspacing="0" cellpadding="0" class="formtable"> <!--{if $secqaacheck || $seccodecheck}--> <tr> <th><label for="oldpassword">{lang memcp_profile_security_check}</label></th> <td>{template seccheck}</td> </tr> <!--{/if}--> <!--{if $allownickname}--> <tr> <th><label for="nicknamenew">{lang nickname}</label></th> <td><input type="text" name="nicknamenew" id="nicknamenew" size="25" value="$member[nickname]" class="txt" /></td> </tr> <!--{/if}--> <!--{if $allowcstatus}--> <tr> <th><label for="cstatusnew">{lang custom_status}</label></th> <td><input type="text" name="cstatusnew" id="cstatusnew" size="25" value="$member[customstatus]" class="txt" /></td> </tr> <!--{/if}--> <!--{if $maxsigsize}--> <tr> <th valign="top"><label for="signaturemessage">{lang signature}<br /><a href="javascript:;" onclick="allowbbcode = allowsigbbcode;allowimgcode = allowsigimgcode;$('signaturepreview').innerHTML = bbcode2html($('signaturemessage').value)">{lang memcp_profile_preview}</a></label></th> <td valign="top"> <div id="signaturepreview"></div> <!--{if $allowsigbbcode}--> <div class="editor_tb" style="width: 274px"> <div> <a href="javascript:;" title="{lang e_bold}" class="tb_bold" onclick="seditor_insertunit('signature', '[b]', '[/b]')">B</a> <!--{if $allowsigimgcode}--><a href="javascript:;" title="{lang e_image}" class="tb_img" onclick="seditor_insertunit('signature', '[img]', '[/img]')">Image</a><!--{/if}--> <a href="javascript:;" title="{lang e_url}" class="tb_link" onclick="seditor_insertunit('signature', '[url]', '[/url]')">Link</a> <!--{if $member[msn][1]}--> <a href="javascript:;" title="{lang e_imme}" class="tb_imme" onclick="seditor_insertunit('signature', '[imme]')">Imme</a> <!--{/if}--> </div> </div> <!--{/if}--> <textarea rows="8" cols="30" id="signaturemessage" name="signaturenew" class="txtarea" {if $allowsigbbcode}style="margin-top; -1px; border-top: none;"{/if}>$member[signature]</textarea> <span class="left"> {faq discuzcode} <!--{if $allowsigbbcode}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--><br /> {lang post_imgcode} <!--{if $allowsigimgcode}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--> </span> </td> </tr> <!--{/if}--> <tr> <th valign="top"><label for="biomessage">{lang bio}<br /><a href="javascript:;" onclick="allowbbcode = allowbiobbcode;allowimgcode = allowbioimgcode;$('biopreview').innerHTML = bbcode2html($('biomessage').value)">{lang memcp_profile_preview}</a></label></th> <td> <div id="biopreview"></div> <!--{if $allowsigbbcode}--> <div class="editor_tb" style="width: 274px"> <div> <a href="javascript:;" title="{lang e_bold}" class="tb_bold" onclick="seditor_insertunit('bio', '[b]', '[/b]')">B</a> <!--{if $allowsigimgcode}--><a href="javascript:;" title="{lang e_image}" class="tb_img" onclick="seditor_insertunit('bio', '[img]', '[/img]')">Image</a><!--{/if}--> <a href="javascript:;" title="{lang e_url}" class="tb_link" onclick="seditor_insertunit('bio', '[url]', '[/url]')">Link</a> <!--{if $member[msn][1]}--> <a href="javascript:;" title="{lang e_imme}" class="tb_imme" onclick="seditor_insertunit('bio', '[imme]')">Imme</a> <!--{/if}--> </div> </div> <!--{/if}--> <textarea rows="8" cols="30" id="biomessage" name="bionew" class="txtarea" {if $allowsigbbcode}style="margin-top; -1px; border-top: none;"{/if}>$member[bio]</textarea> <span class="left"> {faq discuzcode} <!--{if $allowbiobbcode}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--><br /> {lang post_imgcode} <!--{if $allowbioimgcode}-->{lang enabled}<!--{else}-->{lang disabled}<!--{/if}--> </span> </td> </tr> <tr> <th>{lang gender}</th> <td> <select name="gendernew"> <option value="1" $gendercheck[1]>{lang male}</option> <option value="2" $gendercheck[2]>{lang female}</option> <option value="0" $gendercheck[0]>{lang secret}</option> </select> </td> </tr> <tr> <th><label for="bdaynew">{lang birthday}</label></th> <td><input type="text" name="bdaynew" id="bdaynew" size="25" onclick="showcalendar(event, this)" onfocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" value="$member[bday]" class="txt" prompt="modifyprofile_birthday" /></td> </tr> <tr> <th><label for="locationnew">{lang location}</label></th> <td><input type="text" name="locationnew" id="locationnew" size="25" value="$member[location]" class="txt" /></td> </tr> <!--{if !empty($_DCACHE['fields_required']) || !empty($_DCACHE['fields_optional'])}--> <!--{if $_DCACHE['fields_required']}--> <!--{loop $_DCACHE['fields_required'] $field}--> <tr> <th>$field[title]</th> <td> <!--{if $field['selective']}--> <select name="field_$field[fieldid]new" <!--{if $member['field_'.$field[fieldid]] && $field['unchangeable']}-->disabled<!--{/if}-->> <option value="">{lang please_select}</option> <!--{loop $field['choices'] $index $choice}--> <option value="$index" <!--{if $index == $member['field_'.$field[fieldid]]}-->selected="selected"<!--{/if}-->>$choice</option> <!--{/loop}--> </select> <!--{else}--> <input type="text" name="field_$field[fieldid]new" size="25" value="$member['field_'.$field[fieldid]]" <!--{if $member['field_'.$field[fieldid]] && $field['unchangeable']}-->disabled<!--{/if}--> class="txt" /> <!--{/if}--> <!--{if $field['description']}-->&nbsp;&nbsp;$field[description]<!--{/if}--> <!--{if $field['unchangeable']}-->&nbsp;&nbsp;{lang memcp_profile_unchangeable_comment}<!--{/if}--> </td> </tr> <!--{/loop}--> <!--{/if}--> <!--{if $_DCACHE['fields_optional']}--> <!--{loop $_DCACHE['fields_optional'] $field}--> <tr> <th><label for="field_$field[fieldid]new">$field[title]</label></th> <td> <!--{if $field['selective']}--> <select name="field_$field[fieldid]new" id="field_$field[fieldid]new" <!--{if $member['field_'.$field[fieldid]] && $field['unchangeable']}-->disabled<!--{/if}-->> <option value="">{lang please_select}</option> <!--{loop $field['choices'] $index $choice}--> <option value="$index" <!--{if $index == $member['field_'.$field[fieldid]]}-->selected="selected"<!--{/if}-->>$choice</option> <!--{/loop}--> </select> <!--{else}--> <input type="text" name="field_$field[fieldid]new" size="25" value="$member['field_'.$field[fieldid]]" <!--{if $member['field_'.$field[fieldid]] && $field['unchangeable']}-->disabled<!--{/if}--> class="txt" /> <!--{/if}--> <!--{if $field['description']}-->&nbsp;&nbsp;$field[description]<!--{/if}--> <!--{if $field['unchangeable']}-->&nbsp;&nbsp;{lang memcp_profile_unchangeable_comment}<!--{/if}--> </td> </tr> <!--{/loop}--> <!--{/if}--> <!--{/if}--> <tr class="sep_space"><th colspan="2"></th></tr> <tr> <th><label for="sitenew">{lang homepage}</label></th> <td><input type="text" name="sitenew" id="sitenew" size="25" value="<!--{if $member[site]}-->$member[site]<!--{else}-->http://<!--{/if}-->" class="txt" /></td> </tr> <tr> <th><label for="qqnew">QQ</label></th> <td><input type="text" name="qqnew" id="qqnew" size="25" value="$member[qq]" class="txt" prompt="modifyprofile_qq" /></td> </tr> <tr> <th><label for="icqnew">ICQ</label></th> <td><input type="text" name="icqnew" id="icqnew" size="25" value="$member[icq]" class="txt" /></td> </tr> <tr> <th><label for="yahoonew">Yahoo</label></th> <td><input type="text" name="yahoonew" id="yahoonew" size="25" value="$member[yahoo]" class="txt" /></td> </tr> <tr> <th><label for="alipaynew">{lang alipay}</label></th> <td><input type="text" name="alipaynew" id="alipaynew" size="25" value="$member[alipay]" class="txt" /></td> </tr> <tr> <th><label for="taobaonew">{lang taobao}</label></th> <td><input type="text" name="taobaonew" id="taobaonew" size="25" value="$member[taobao]" class="txt" /></td> </tr> <tr class="sep_space"><th colspan="2"></th></tr> <tr> <th><label for="msnnew">MSN</label></th> <td> <input type="text" name="msnnew" id="msnnew" size="25" value="$member[msn][0]" class="txt" /> </td> </tr> <tr> <th><label for="imme">{lang msn_imme}</label></th> <td> <!--{if $member['msn'][1]}--> {lang msn_imme_binded}&nbsp;&nbsp; <a href="http://settings.messenger.live.com/applications/websignup.aspx?returnurl={$boardurl}misc.php?action=imme_binding&privacyurl={$boardurl}" target="_blank" class="emfont">{lang msn_imme_change}</a>&nbsp;&nbsp; <a href="{$boardurl}misc.php?action=imme_cancelbinding" target="_blank" class="emfont">{lang msn_imme_cancel}</a> <!--{else}--> {lang msn_imme_nobinding}&nbsp;&nbsp; <a href="http://im.live.cn/imme/index.htm" target="_blank">{lang msn_imme_info}</a><br /> <a href="https://domains.live.com/members/signup.aspx?domain=$msn[domain]" target="_blank">{lang msn_email_id}</a>&nbsp;&nbsp; <a href="http://im.live.cn" target="_blank">{lang msn_download}</a>&nbsp;&nbsp; <a href="http://settings.messenger.live.com/applications/websignup.aspx?returnurl={$boardurl}misc.php?action=imme_binding&privacyurl={$boardurl}" target="_blank">{lang msn_imme_enable}</a> <!--{/if}--> </td> </tr> <script type="text/javascript"> {if !$member[signature] && $maxsigsize}updatetextarea('signaturemessage', '$maxsigsize {lang bytes_limited}\n{lang memcp_nocustomizebbcode}');{/if} {if !$member[bio]}updatetextarea('biomessage', '$maxbiosize {lang bytes_limited}\n{lang memcp_nocustomizebbcode}');{/if} </script> <!--{elseif $typeid == 3}--> <h1>{lang memcp_profile_avatar_modify}</h1> <table summary="{lang memcp_profile_avatar_modify}" cellspacing="0" cellpadding="0" class="formtable"> <tr> <th></th> <td> <div class="avatararea"> <p><img id="avatar" src="images/common/none.gif" onerror="this.onerror=null;this.src='{UC_API}/images/noavatar_middle.gif'" /></p> </div> <div id="avatarctrl"><script type="text/javascript">updateavatar(false);document.write(AC_FL_RunContent('{echo implode("','", $uc_avatarflash);}'));</script></div> </td> </tr> <!--{elseif $typeid == 5}--> <h1>{lang memcp_profile_person}</h1> <table summary="{lang memcp_profile}" cellspacing="0" cellpadding="0" class="formtable"> <!--{if $secqaacheck || $seccodecheck}--> <tr> <th><label for="oldpassword">{lang memcp_profile_security_check}</label></th> <td>{template seccheck}</td> </tr> <!--{/if}--> <tr> <th>{lang style}</th> <td> <select name="styleidnew"> <option value="">{lang use_default}</option> $styleselect</select> </td> </tr> <tr> <th>{lang tpp}</th> <td> <label><input type="radio" name="tppnew" value="0" $tppchecked[0]> {lang use_default}</label> <label><input type="radio" name="tppnew" value="10" $tppchecked[10]> 10</label> <label><input type="radio" name="tppnew" value="20" $tppchecked[20]> 20</label> <label><input type="radio" name="tppnew" value="30" $tppchecked[30]> 30</label> </td> </tr> <tr> <th>{lang ppp}</th> <td> <label><input type="radio" name="pppnew" value="0" $pppchecked[0]> {lang use_default}</label> <label><input type="radio" name="pppnew" value="5" $pppchecked[5]> 5</label> <label><input type="radio" name="pppnew" value="10" $pppchecked[10]> 10</label> <label><input type="radio" name="pppnew" value="15" $pppchecked[15]> 15</label> </td> </tr> <tr class="sep_space"><th colspan="2"></th></tr> <tr> <th>{lang memcp_profile_signature_conf}</th> <td> <label><input type="radio" name="ssnew" value="2" $sschecked[2]> {lang use_default}</label> <label><input type="radio" name="ssnew" value="1" $sschecked[1]> {lang memcp_profile_signature}</label> <label><input type="radio" name="ssnew" value="0" $sschecked[0]> {lang memcp_profile_nosignature}</label> </td> </tr> <tr> <th>{lang memcp_profile_avatar_conf}</th> <td> <label><input type="radio" name="sanew" value="2" $sachecked[2]> {lang use_default}</label> <label><input type="radio" name="sanew" value="1" $sachecked[1]> {lang memcp_profile_avatar}</label> <label><input type="radio" name="sanew" value="0" $sachecked[0]> {lang memcp_profile_noavatar}</label> </td> </tr> <tr> <th>{lang memcp_profile_image_conf}</th> <td> <label><input type="radio" name="sinew" value="2" $sichecked[2]> {lang use_default}</label> <label><input type="radio" name="sinew" value="1" $sichecked[1]> {lang memcp_profile_image}</label> <label><input type="radio" name="sinew" value="0" $sichecked[0]> {lang memcp_profile_noimage}</label> &nbsp;&nbsp;{lang memcp_profile_image_conf_comment} </td> </tr> <tr> <th>{lang memcp_profile_editor_mode}</th> <td> <label><input type="radio" name="editormodenew" value="2" $emcheck[2]> {lang use_default}</label> <label><input type="radio" name="editormodenew" value="0" $emcheck[0]> {lang memcp_profile_editor_mode_discuzcode}</label> <label><input type="radio" name="editormodenew" value="1" $emcheck[1]> {lang memcp_profile_editor_mode_wysiwyg}</label> </td> </tr> <tr class="sep_space"><th colspan="2"></th></tr> <tr> <th>{lang timeoffset}</th> <td> <select name="timeoffsetnew"> <option value="9999" $toselect[9999]>{lang use_default}</option> <option value="-12" $toselect[-12]>(GMT -12:00) Eniwetok, Kwajalein</option> <option value="-11" $toselect[-11]>(GMT -11:00) Midway Island, Samoa</option> <option value="-10" $toselect[-10]>(GMT -10:00) Hawaii</option> <option value="-9" $toselect[-9]>(GMT -09:00) Alaska</option> <option value="-8" $toselect[-8]>(GMT -08:00) Pacific Time (US &amp; Canada), Tijuana</option> <option value="-7" $toselect[-7]>(GMT -07:00) Mountain Time (US &amp; Canada), Arizona</option> <option value="-6" $toselect[-6]>(GMT -06:00) Central Time (US &amp; Canada), Mexico City</option> <option value="-5" $toselect[-5]>(GMT -05:00) Eastern Time (US &amp; Canada), Bogota, Lima, Quito</option> <option value="-4" $toselect[-4]>(GMT -04:00) Atlantic Time (Canada), Caracas, La Paz</option> <option value="-3.5" $toselect[-3.5]>(GMT -03:30) Newfoundland</option> <option value="-3" $toselect[-3]>(GMT -03:00) Brassila, Buenos Aires, Georgetown, Falkland Is</option> <option value="-2" $toselect[-2]>(GMT -02:00) Mid-Atlantic, Ascension Is., St. Helena</option> <option value="-1" $toselect[-1]>(GMT -01:00) Azores, Cape Verde Islands</option> <option value="0" $toselect[0]>(GMT) Casablanca, Dublin, Edinburgh, London, Lisbon, Monrovia</option> <option value="1" $toselect[1]>(GMT +01:00) Amsterdam, Berlin, Brussels, Madrid, Paris, Rome</option> <option value="2" $toselect[2]>(GMT +02:00) Cairo, Helsinki, Kaliningrad, South Africa</option> <option value="3" $toselect[3]>(GMT +03:00) Baghdad, Riyadh, Moscow, Nairobi</option> <option value="3.5" $toselect[3.5]>(GMT +03:30) Tehran</option> <option value="4" $toselect[4]>(GMT +04:00) Abu Dhabi, Baku, Muscat, Tbilisi</option> <option value="4.5" $toselect[4.5]>(GMT +04:30) Kabul</option> <option value="5" $toselect[5]>(GMT +05:00) Ekaterinburg, Islamabad, Karachi, Tashkent</option> <option value="5.5" $toselect[5.5]>(GMT +05:30) Bombay, Calcutta, Madras, New Delhi</option> <option value="5.75" $toselect[5.75]>(GMT +05:45) Katmandu</option> <option value="6" $toselect[6]>(GMT +06:00) Almaty, Colombo, Dhaka, Novosibirsk</option> <option value="6.5" $toselect[6.5]>(GMT +06:30) Rangoon</option> <option value="7" $toselect[7]>(GMT +07:00) Bangkok, Hanoi, Jakarta</option> <option value="8" $toselect[8]>(GMT +08:00) Beijing, Hong Kong, Perth, Singapore, Taipei</option> <option value="9" $toselect[9]>(GMT +09:00) Osaka, Sapporo, Seoul, Tokyo, Yakutsk</option> <option value="9.5" $toselect[9.5]>(GMT +09:30) Adelaide, Darwin</option> <option value="10" $toselect[10]>(GMT +10:00) Canberra, Guam, Melbourne, Sydney, Vladivostok</option> <option value="11" $toselect[11]>(GMT +11:00) Magadan, New Caledonia, Solomon Islands</option> <option value="12" $toselect[12]>(GMT +12:00) Auckland, Wellington, Fiji, Marshall Island</option> </select> </td> </tr> <tr> <th>{lang timeformat}</th> <td> <label><input type="radio" name="timeformatnew" value="0" $tfcheck[0]> {lang use_default}</label> <label><input type="radio" name="timeformatnew" value="1" $tfcheck[1]> 12 {lang hour}</label> <label><input type="radio" name="timeformatnew" value="2" $tfcheck[2]> 24 {lang hour}</label> </td> </tr> <tr> <th>{lang dateformat}</th> <td> <label><input type="radio" name="dateformatnew" $dfcheck[0]> {lang use_default}</label> <!--{loop $dateformatlist $key $value}--> <label><input type="radio" name="dateformatnew" value="$key" $dfcheck[$key]> $value</label> <!--{/loop}--> </td> </tr> <!--{if $dateconvert}--> <tr> <th>{lang memcp_profile_dateconvert_conf}</th> <td> <label><input type="radio" name="dateconvertnew" value="0" $dateconvertchecked[0]> {lang memcp_profile_dateconvert}</label> <label><input type="radio" name="dateconvertnew" value="1" $dateconvertchecked[1]> {lang memcp_profile_nodateconvert}</label> </td> </tr> <!--{else}--> <input name="dateconvertnew" type="hidden" value="0" /> <!--{/if}--> <tr class="sep_space"><th colspan="2"></th></tr> <!--{if $creditnotice}--> <tr> <th>{lang memcp_profile_creditnotice}</th> <td> <label><input type="radio" name="creditnoticenew" value="1" $creditnoticechecked[1]> {lang yes}</label> <label><input type="radio" name="creditnoticenew" value="0" $creditnoticechecked[0]> {lang no}</label> </td> </tr> <!--{/if}--> <tr> <th>{lang notice}</th> <td> <!--{loop $prompts $promptkey $promptdata}--> <!--{if $promptkey != 'newbietask'}--><label class="left" style="width:150px"><input type="checkbox" name="disablepromptnew[$promptkey]" value="1" {if !in_array($promptkey, $disableprompt)}checked="checked" {/if}/> $promptdata[name]</label><!--{/if}--> <!--{/loop}--> </td> </tr> <tr> <th>{lang pmsound}</th> <td> <label><input type="radio" value="0" name="pmsoundnew" $pscheck[0] /> {lang none}</label> <label><input type="radio" onclick="soundplayer(1)" value="1" name="pmsoundnew" $pscheck[1] /> #1</label> <label><input type="radio" onclick="soundplayer(2)" value="2" name="pmsoundnew" $pscheck[2] /> #2</label> <label><input type="radio" onclick="soundplayer(3)" value="3" name="pmsoundnew" $pscheck[3] /> #3</label> <div id="soundplayerlayer" style="position:absolute;top:-100000px"></div> <script type="text/javascript" reload="1"> function soundplayer(file) { $('soundplayerlayer').innerHTML = AC_FL_RunContent('id', 'pmsoundplayer', 'name', 'pmsoundplayer', 'width', '0', 'height', '0', 'src', '{$boardurl}images/sound/player.swf', 'FlashVars', 'sFile={$boardurl}images/sound/pm_' + file + '.mp3', 'menu', 'false', 'allowScriptAccess', 'sameDomain', 'swLiveConnect', 'true'); } </script> </td> </tr> <!--{if $uchome['addfeed'] && $ucappopen['UCHOME']}--> <tr> <th>{lang memcp_profile_feed}</th> <td> <label><input type="radio" value="0" name="customaddfeednew" onclick="$('customaddfeed').style.display = 'none';" $defaultcheck class="radio" /> {lang default}</label> <label><input type="radio" name="customaddfeednew" onclick="$('customaddfeed').style.display = '';" $customcheck class="radio" /> {lang customize}</label> <span id="customaddfeed" style="display: $showfeedcheck"> <label><input type="checkbox" name="addfeed[1]" value="1" $feedchecks[1] class="checkbox" /> {lang general_thread}</label> <label><input type="checkbox" name="addfeed[2]" value="1" $feedchecks[2] class="checkbox" /> {lang special_thread}</label> <label><input type="checkbox" name="addfeed[3]" value="1" $feedchecks[3] class="checkbox" /> {lang join_thread}</label> </span> </td> </tr> <!--{/if}--> <tr> <th valign="top">{lang other_options}</th> <td> <!--{if $allowinvisible}--> <label><input type="checkbox" name="invisiblenew" value="1" $invisiblechecked class="checkbox" /> {lang online_invisible}</label><br /> <!--{/if}--> <label><input type="checkbox" name="showemailnew" value="1" $emailchecked class="checkbox" /> {lang show_email_addr}</label><br /> <label><input type="checkbox" name="newsletternew" value="1" $newschecked class="checkbox" /> {lang allow_newsletter}</label><br /> </td> </tr> <!--{/if}--> $pluginhooks[memcp_profilesettings] <!--{if $typeid != 3}--> <tr> <th>&nbsp;</th> <td><button type="submit" class="submit" name="editsubmit" id="editsubmit" value="true" prompt="modifyprofile_submit">{lang submit}</button></td> </tr> <!--{/if}--> </table> </form> </div> </div> <div class="side"> {subtemplate personal_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/memcp_profile.htm
HTML
asf20
29,101
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_$handlekey">{lang qihoo_custom_topics}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form id="customtopicsform" method="post" action="misc.php?action=customtopics&keywordsubmit=yes&infloat=yes"{if !empty($infloat)} onsubmit="ajaxpost('customtopicsform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;"{/if}> <input type="hidden" name="formhash" value="{FORMHASH}" /> <div class="mainbox"> <table class="list" cellspacing="0" cellpadding="5"> <thead> <tr> <td><input class="checkbox" type="checkbox" name="chkall" class="header" onclick="checkall(this.form, 'delete')" />{lang delete_check}</td> <td>{lang qihoo_custom_topics}</td> </tr> </thead> <tbody> <!--{loop $customkwlist $vals}--> <tr> <td width="8%"><input type="checkbox" name="delete[]" value="$vals[keyword]" /></td> <td>$vals[url]</a></td> </tr> <!--{/loop}--> <tr> <td width="8%">{lang add_new}</td> <td><input type="text" name="newkeyword" value="" size="25" /></td> </tr> </tbody> <tr class="btns"> <td></td> <td><button type="submit" class="submit" name="keywordsubmit" value="true">{lang submit}</button>&nbsp;&nbsp;<button type="submit" name="close" value="true" onClick="window.close()">{lang close}</button></td> </tr> </table> </form> </div> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/customtopics.htm
HTML
asf20
1,882
<div class="itemtitle s_clear"> <ul> <li class="current"><a href="#" onclick="display('list_adminnote');" hidefocus="true"><span>{lang modcp_home_adminnote_add}</span></a></li> </ul> </div> <form method="post" action="{$cpscript}?action=$action" id="list_adminnote" style="margin-bottom:30px; {if $notelist}display:none{else}display:block{/if}"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="op" value="addnote" /> <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td rowspan="2" width="75%"><textarea style="width: 95%; height: 120px;" name="newmessage" rows="5" class="txtarea"></textarea></td> <td width="25%"> <ul> <li>{lang modcp_home_adminnote_to}:</li> <li><label><input type="checkbox" value="1" name="newaccess[1]" checked="checked" disabled="disabled" /> {lang admin}</label></li> <li><label><input type="checkbox" value="1" name="newaccess[2]" checked="checked" /> {lang supermod}</label></li> <li><label><input type="checkbox" value="1" name="newaccess[3]" checked="checked" /> {lang moderator}</label></li> </ul> </td> </tr> <tr> <td> <p>{lang expire}: <input type="text" id="newexpiration" name="newexpiration" autocomplete="off" value="30" class="txt" tabindex="1" size="2" /> {lang days} </p> </td> </tr> <tr> <td colspan="2"><button type="submit" class="submit" name="submit" value="true">{lang submit}</button></td> </tr> </table> </form> <div class="datalist"> <!--{if $notelist}--> <form method="post" action="{$cpscript}?action=$action" name="notelist" id="notelist"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="op" value="delete" /> <input type="hidden" name="notlistsubmit" value="yes" /> <table cellspacing="0" cellpadding="0" class="datatable"> <!--{loop $notelist $note}--> <tr> <td> <b>$note[admin]</b> <span class="lighttxt">$note[dateline]&nbsp;&nbsp;({lang expire}: $note[expiration] {lang days})</span><br /> $note[message] </td> <td width="20" valign="top"> $note[checkbox] </td> </tr> <!--{/loop}--> </table> <div class="right"> <input class="checkbox" type="checkbox" onclick="checkall($('notelist'), 'delete', 'ncheck')" name="ncheck"> <label for="chkall">{lang checkall}</label> <span class="lightlink">|</span> <a href="javascript:;" class="lightlink" onclick="$('notelist').submit();">{lang modcp_home_adminnote_delete}</a> </div> </form> <!--{else}--> <p>{lang modcp_home_adminnote_nonexistence}</p> <!--{/if}--> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/modcp_home.htm
HTML
asf20
2,672
<?php // Message Pack for Discuz! Archiver Version 1.0.0 // Created by Crossday $lang = array ( 'page' => '页', 'replies' => '篇回复', 'anonymous' => '匿名', 'full_version' => '查看完整版本', 'forum_nonexistence' => '您没有权限访问这个论坛的存档或该论坛不存在。', 'thread_nonexistence' => '您没有权限查看这个话题或该话题不存在。', 'post_time' => '发表于', ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/archiver.lang.php
PHP
asf20
447
<!--{if $url && $randnum}--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=$charset"> <title>$navtitle $bbname $seotitle - Powered by Discuz!</title> $seohead <meta name="keywords" content="$metakeywords,$seokeywords" /> <meta name="description" content="$metadescription $bbname $seodescription - Discuz! Board" /> <meta name="generator" content="Discuz! $version" /> <meta name="MSSmartTagsPreventParsing" content="TRUE" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <link rel="archives" title="$bbname" href="{$boardurl}archiver/" /> $rsshead $extrahead <link rel="stylesheet" type="text/css" id="css" href="forumdata/cache/style_{STYLEID}.css?{VERHASH}" /> </head> <body onkeydown="if(event.keyCode==27) return false;" style="margin: 0px; padding: 0px;"> <div style="height:100%; padding-top: 70px; background: #F2F7FF; "> <a href="###" onClick="window.location='post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;url={echo urlencode($url)}&amp;md5=$md5&amp;from=iframe'" style="font-size: 12px;float: right; margin-top: -40px; margin-right: 20px;">{lang reprint}</a> <div style="text-align: left; padding: 2px 16px; border-bottom: 3px solid #B4C9E0;"><div style=" width:172px; height:65px; overflow:hidden; float:left; margin-top: -70px; "><a href="$indexname" title="$bbname">{BOARDLOGO}</a></div><div style="float:left; height:65px; padding: 3px; line-height: 20px; display: none; margin-top: -70px; "></div></div> <iframe frameborder="0" scrolling="yes" name="main" src="$url" style="height: 100%; visibility: inherit; width: 100%; z-index: 1;overflow: auto;"></iframe> </div> <img style="display:none;" src="http://pvstat.qihoo.com/dimana.gif?_pdt=discuz&_pg=s100812&_r=$randnum&_dim_k=orgthread&_dim_v={echo urlencode($boardurl);}||{$statsdata}||1" width=1 height=1 /> </body></html> <!--{else}--> {subtemplate header} <script type="text/javascript" src="{$jspath}qihoo.js?{VERHASH}"></script> <script type="text/javascript" src="http://search.qihoo.com/usearch.html?kw=$keyword&ics=$charset&ocs=$charset&site=discuzall&stype=$stype&sort=$relate&bsize=$length&site2=$site&tpp=$tpp&start=$start"></script> <script type="text/javascript"> if(qihoo_num) { var threadslist = qihoothreads(qihoo_perpage); var multipage = multi(qihoo_num, $tpp, $page, "topic.php?topic=$topic&keyword=$keyword&stype=$stype&length=$length&relate=$relate"); } else { var threadslist = "<tr><td colspan=\"6\">{lang qihoo_topic_nothreads}</td></tr>"; var multipage = ""; } </script> <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang qihoo_topics} &raquo; $topic</div> <div class="pages_btns"><script type="text/javascript">document.write(multipage);</script></div> <div class="mainbox"> <span class="headactions"><a href="http://www.qihoo.com" target="_blank">{lang qihoo_topic_powered_by}</a></span> <h3>{lang qihoo_topics}: $topic</h3> <table summary="{lang qihoo_topics}: $topic" cellspacing="0" cellpadding="0"> <thead> <tr> <td>{lang subject}</td> <td>{lang forum}</td> <td>{lang author}</td> <td>{lang replies}</td> <td>{lang views}</td> <td>{lang lastpost}</td> </tr> </thead> <tbody><script type="text/javascript">document.write(threadslist);</script></tbody> </table> </div> <div class="pages_btns"><script type="text/javascript">document.write(multipage);</script></div> <br /><br /><script type="text/javascript" src="http://pcode.qihoo.com/site/friend/discuz12068.html"></script> {subtemplate footer} <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/topic.htm
HTML
asf20
3,710
<!--{block writedata}--> <div class="sidebox"> <!--{if $thread[special] == 1}--> <h4>{lang thread_poll}</h4> <!--{elseif $thread[special] == 2}--> <h4>{lang thread_trade}</h4> <!--{elseif $thread[special] == 3}--> <h4>{lang thread_reward}</h4> <!--{elseif $thread[special] == 4}--> <h4>{lang thread_activity}</h4> <!--{elseif $thread[special] == 5}--> <h4>{lang thread_debate}</h4> <!--{/if}--> <a href="viewthread.php?tid=$tid" target="_blank">$thread[subject]</a> <!--{if $thread[special] == 1}--> <form method="post" action="misc.php?action=votepoll&fid=$fid&tid=$tid"> <ul class="side_poll"> <!--{loop $polloptions $key $option}--> <li> <input class="checkbox" type="$optiontype" id="option_$key" name="pollanswers[]" value="$option[polloptionid]" /> $option[polloption] </li> <!--{/loop}--> </ul> <button class="submit" type="submit" name="pollsubmit" id="pollsubmit" value="true">{lang submit}</button> </form> <!--{elseif $thread[special] == 2}--> <ul class="side_trade"> <!--{loop $trades $key $trade}--> <li class="s_clear">{eval $aid = aidencode($trade['aid']);} <strong> <!--{if $trade[aid]}--> <a href="viewthread.php?do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank"><img style="vertical-align: top;" src="attachment.php?aid=$aid&noupdate=yes" onload="thumbImg(this, 1)" width="64" _width="64" _height="64" /></a> <!--{else}--> <a href="viewthread.php?do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank"><img src="{IMGDIR}/trade_nophoto.gif" width="64" /></a> <!--{/if}--> <p>$trade[price]</p> </strong> <a href="viewthread.php?do=tradeinfo&tid=$tid&pid=$trade[pid]" target="_blank">$trade[subject] </li> <!--{/loop}--> </ul> <!--{elseif $thread[special] == 3}--> <div>$message</div> <p> <!--{if $rewardend}--> $thread[price] {$extcredits[$creditstransextra[2]][unit]}{$extcredits[$creditstransextra[2]][title]} <!--{else}--> {lang thread_reward}: $rewardprice {$extcredits[$creditstransextra[2]][unit]}{$extcredits[$creditstransextra[2]][title]} <button name="answer" value="ture" onclick="showWindow('reply', 'post.php?action=reply&fid=$fid&tid=$tid');return false;">{lang reward_answer}</button> <!--{/if}--> </p> <!--{elseif $thread[special] == 4}--> <div>$message</div> <p>{lang activity_already} $applynumbers</p> <!--{if $number}--> <p>{lang activity_about_member}: $aboutmembers</p> <!--{/if}--> <!--{elseif $thread[special] == 5}--> <div> <p>$message</p> <div class="debatesquare"> <table cellpadding="2" cellspacing="0" border="0" summary="debate" width="100%"> <tr> <td width="24px">{lang debate_square}</td> <td style="width:80px;"> <div style="width: $debate[affirmvoteswidth]%; background: #0099CC;">&nbsp;</div> </td> <td style="text-align:right;">$debate[affirmdebaters]</td> </tr> <tr> <td>{lang debate_opponent}</td> <td> <div style="width: $debate[negavoteswidth]%; background: #FF6600;">&nbsp;</div> </td> <td style="text-align:right;">$debate[negadebaters]</td> </tr> </table> </div> </div> <!--{else}--> <div>$message</div> <!--{/if}--> </div> <!--{/block}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/request_thread.htm
HTML
asf20
3,244
{template header} <ul class="inlinelist avt_list avt_uname s_clear"> <!--{loop $parterlist $parter}--> <li> <div class="avatar" title="{if $parter[status] == 1}{lang task_complete}{elseif $parter[status] == -1}{lang task_failed}{elseif $parter[status] == 0}{lang task_complete} $parter[csc]%{/if}">$parter[avatar]</div> <p><a href="space.php?uid=$parter[uid]" title="{lang member_viewpro}" target="_blank">$parter[username]</a></p> </li> <!--{/loop}--> </ul> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/task_parter.htm
HTML
asf20
497
<!--{eval function tpl_relatetag($tagdata, $name, $ext, $i) { }--> <!--{block return}--> <!--{if $tagdata}--> <div{if $i == 2} class="noborder"{/if}> <h4>$name</h4> <!--{if !$ext}--> <ul> $tagdata </ul> <!--{else}--> <dl> <dt> $ext </dt> <dd> <ul> $tagdata </ul> </dd> <!--{/if}--> </div> <!--{/if}--> <!--{/block}--> <!--{eval return $return;}--> <!--{eval } function tpl_relatetagwrap($data) { }--> <!--{block return}--> <!--{if $data}--> <div class="taglinks"> $data </div> <!--{/if}--> <!--{/block}--> <!--{eval return $return;}--> <!--{eval } }-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/relatetag.htm
HTML
asf20
658