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'); ?>
<table cellspacing="0" cellpadding="0" summary="我的投票" class="datatable">
<thead class="colplural">
<tr>
<th> </th>
<td class="forum">版块</td>
<td class="nums">
<select onchange="window.location='my.php?item=polls&filter=' + this.value + '<?=$fidadd?>'">
<option value="">状态</option>
<option value="recyclebin"<? if($filter == 'recyclebin') { ?> selected="selected"<? } ?>>回收站</option>
<option value="aduit"<? if($filter == 'aduit') { ?> selected="selected"<? } ?>>待审核</option>
<option value="close"<? if($filter == 'close') { ?> selected="selected"<? } ?>>关闭</option>
<option value="common"<? if($filter == 'common') { ?> selected="selected"<? } ?>>正常</option>
</option>
</td>
<td class="lastpost"><cite><? if($type == 'poll') { ?>最后发表<? } else { ?>投票日期<? } ?></cite></td>
</tr>
</thead>
<? if($polllist) { ?>
<tbody><? if(is_array($polllist)) { foreach($polllist as $key => $poll) { ?><tr>
<th><a href="viewthread.php?tid=<?=$poll['tid']?>" target="_blank"><?=$poll['subject']?></a></th>
<td class="forum"><a href="forumdisplay.php?fid=<?=$poll['fid']?>" target="_blank"><?=$poll['forumname']?></a></td>
<td class="nums"><? if($poll['displayorder'] == '-1') { ?>回收站<? } elseif($poll['displayorder'] == '-2') { ?>待审核<? } elseif($poll['closed'] == '1') { ?>关闭<? } else { ?>正常<? } ?></td>
<td class="lastpost">
<? if($type == 'poll') { ?>
<cite><? if($poll['lastposter']) { ?><a href="space.php?username=<?=$poll['lastposterenc']?>" target="_blank"><?=$poll['lastposter']?></a><? } else { ?>匿名<? } ?></cite>
<em><a href="redirect.php?tid=<?=$poll['tid']?>&goto=lastpost#lastpost" target="_blank"><?=$poll['lastpost']?></a></em>
<? } else { ?>
<cite><?=$poll['dateline']?></cite>
<? } ?>
</td>
</tr><? } } ?></tbody>
<? } else { ?>
<tr><th colspan="4"><p class="nodata">暂无数据</p></th></tr>
<? } ?>
</table>
<? if(!empty($multipage)) { ?><div class="pages_btns"><?=$multipage?></div><? } ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_my_polls.tpl.php
|
PHP
|
asf20
| 2,067
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/viewpro_classic.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/header.htm', 1250676267, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/viewpro_classic.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/footer.htm', 1250676267, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/viewpro_classic.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/css_script.htm', 1250676267, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/viewpro_classic.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/jsmenu.htm', 1250676267, '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?>
<style type="text/css">
@import url(forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>);
<? if(CURSCRIPT == 'viewthread') { ?>
@import url(forumdata/cache/style_<?=STYLEID?>_viewthread.css?<?=VERHASH?>);
<? } if(CURSCRIPT == 'forumdisplay' && $forum['ismoderator']) { include template('css_topicadmin'); } elseif(CURSCRIPT == 'viewthread') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
#f_post td { padding-top: 15px; padding-bottom: 20px; vertical-align: top; }
#f_post p, .fastcheck { margin: 5px 0; }
#f_post .txtarea { margin: -1px 0 0; width: 596px; height: 120px; border-color: <?=INPUTBORDERDARKCOLOR?> <?=INPUTBORDER?> <?=INPUTBORDER?> <?=INPUTBORDERDARKCOLOR?>; border-top: none; overflow: auto; }
.defaultpost { height: auto !important; height:<?=$_DCACHE['custominfo']['postminheight']?>px; min-height:<?=$_DCACHE['custominfo']['postminheight']?>px !important; }
.signatures { max-height: <?=$maxsigrows?>px; }
* html .signatures { height: expression(signature(this)); }
.t_msgfontfix { min-height: 100px; }
* html .t_msgfontfix { height: 100px; overflow: visible; }
<? if($thread['special'] == 5 && $stand != '') { ?>
.stand_select .postauthor { background: #EBF2F8; }
.stand_select .itemtitle, .stand_select .solidline { margin: 15px 15px 10px; }
.stand_select h2 { float: left; }
<? } } elseif(CURSCRIPT == 'pm') { ?>
#pm_content h1 { float: left; font-size: 14px; }
.postpm { float: right; color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
.pm_header { padding: 6px; border: solid <?=COMMONBORDER?>; border-width: 1px 0; }
.pm_header #pm_search { float: right; }
.pm_list { }
.pm_list li { position: relative; *margin-top: -2px; padding: 10px 140px 10px 75px; min-height: 48px; _height: 48px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.pm_list li .avatar { position: absolute; left: 5px; top: 8px; }
.pm_list .self .avatar { left: auto; right: 75px; }
.pm_list p cite, .pm_list p .time { color: <?=MIDTEXT?>; }
.pm_list p cite { display: block; width: 260px; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm_list p cite.new { padding-left: 25px; background: url(<?=IMGDIR?>/notice_newpm.gif) no-repeat 0 3px; }
.pm_list p cite a { margin-right: 5px; }
.pm_list li .action { position: absolute; right: 10px; top: 50%; margin-top: -18px; display: block; width: 50px; height: 36px; }
.pm_list li .action a { display: block; text-decoration: underline; }
.pm_list li .action a.delete { color: <?=HIGHLIGHTLINK?>; }
.pm_list li .topact { top: 8px; margin-top: 0; }
.sticky { display: block !important; }
.pm_list li.pm_date { padding: 5px 0 5px 75px; min-height: 0; }
#pm_list ul.onerror { padding: 20px 0 0 95px; background-position: 75px 22px; }
#pmlist .summary a { color: <?=HIGHLIGHTLINK?>; }
.pmreply { margin: 1em 0; padding-left: 75px; }
.pmreply textarea { width: 510px; }
.pmback { width: 70px; padding-left: 15px; w\idth: 55px; background: url(<?=IMGDIR?>/arrow_left.gif) no-repeat 0 50%; }
#buddies li { float: left; width: 8em; height: 1.6em; overflow: hidden; white-space: nowrap; }
.newpm_notice { padding: 0 0 10px 75px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.newpm_notice a { color: <?=HIGHLIGHTLINK?>; }
.quote { margin: 10px 0; padding: 10px 10px 10px 65px; }
.quote { padding-bottom: 5px; background: #F9F9F9 url(<?=IMGDIR?>/icon_quote_s.gif) no-repeat 20px 6px; }
.quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url(<?=IMGDIR?>/icon_quote_e.gif) no-repeat 100% 100%; line-height: 1.6em; }
.blockall { margin-bottom: 10px; padding: 10px 0; background: <?=SPECIALBG?>; text-align: center; color: <?=LIGHTTEXT?>; }
.blockall a { color: <?=HIGHLIGHTLINK?>; font-size: 1.17em; }
.blacklist li a, .blacklist li strong { float: left; }
.blacklist .remove { margin: 4px 0 0 5px; width: 12px; height: 12px; background: url(<?=IMGDIR?>/close.gif) no-repeat 100% 50px; line-height: 100px; overflow: hidden; }
.blacklist .hover .remove { background-position: 100% 0; }
.blacklist .remove:hover { background-position: 100% -12px; }
.allblocked { padding-bottom: 10px; width: 100%!important; border-bottom: 1px solid <?=COMMONBORDER?>; }
.allblocked a { margin-left: 10px; color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'magic') { ?>
.magicprice { color: <?=NOTICETEXT?>; font-weight: 700; font-size: 16px; }
.magic_yes { color: #080; font-weight: 700; }
.magic_no { color: #F00; font-weight: 700; }
.magicmain { height: 180px; overflow-y: auto; }
.magicinfo { margin-bottom: 10px; width: 100%; }
.magicinfo td { padding: 3px 0; }
.magicinfo h5 { font-size: 14px; }
.mymagic { margin-bottom: 30px; }
.mymagic .inlinelist li { float: left; margin-top: 10px; width: 50%; }
.mymagic .magicimg { float:left; margin-right: 10px; width: 25%; }
.mymagic .magicdetail { float:left; width: 65%; }
.mymagic h5 a { text-decoration: underline; color: <?=HIGHLIGHTLINK?>; }
.mymagic p { margin: 3px 0; }
.mymagic .inlinelist .clear { float: none; clear: both; margin: 0; width: 100%; }
.magicnum { margin: 10px 0; }
.magicnum p { margin-top: 5px; }
.fixedbtn { position: absolute; bottom: 15px; }
<? } elseif(CURSCRIPT == 'medal') { ?>
.medallist { overflow: hidden; margin-bottom: 30px; }
.medallist li { margin-bottom: 15px; width: 24.9%; }
.medalimg { float: left; margin: 5px; width: 15%; }
.medalinfo { float: left; width: 75%; }
.medalinfo p { color: <?=MIDTEXT?>; }
.medalexp { margin-left: 8px; color: <?=LIGHTTEXT?>; font-weight: 400; }
.medallist .clear { overflow: hidden; float: none; clear: both; margin: 0; width: 100%; height: 1px; }
.medalp { margin-bottom: 10px; }
<? } elseif(CURSCRIPT == 'invite') { ?>
.invitecode { border: none !important; background-color: transparent; font-family: "Courier New", Courier, monospace, serif; }
input.marked { background: transparent url(<?=IMGDIR?>/check_right.gif) no-repeat 100% 50%; }
.expiration .invitecode { text-decoration: line-through; color: red; }
<? } elseif(CURSCRIPT == 'search') { ?>
.searchform { position: relative; margin: 0 5px 10px; padding: 30px 10px 20px 160px; border-top: 5px solid <?=WRAPBG?>; background: <?=SPECIALBG?>; }
.searchlabel { position: absolute; left: 0; _left: -160px; top: 30px; width: 150px; text-align: center; font-weight: 700; font-size: 26px; color: <?=HIGHLIGHTLINK?>; line-height: 30px; }
.searchlabel strong { display: block; font-size: 14px; color: <?=MIDTEXT?>; font-weight: 400; text-align: center; }
.searchform h3 { margin: 10px 2px; font-size: 14px; }
.searchkey { margin-bottom: 1em; zoom: 1; }
.searchkey #searchsubmit { margin: 0 16px 0 10px; }
* html #searchsubmit { height: 21px; line-height: 19px; }
*+html #searchsubmit { height: 21px; line-height: 19px; }
.searchkey a { background: url(images/common/editor.gif) 0 -181px no-repeat; padding:2px 0 2px 22px; color: <?=HIGHLIGHTLINK?>; }
.searchlist { margin: 5px 20px; }
.searchlist h1 { font-size: 14px; }
.searchlist h1 em { font-weight: 400; }
#srchfid optgroup, #moveto optgroup { font-style: normal; font-weight: 400; font-size: 12px; }
<? } elseif(CURSCRIPT == 'faq' || CURSCRIPT == 'announcement') { ?>
.faqmessage, .announcemsg { margin-bottom: 10px; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.faqmessage ul, .announcemsg ul { padding-left: 1.6em; }
.faq li { margin-left: 2em; }
.faq ul li { list-style-type: disc; }
.t_msgfont ul.o li, .faq ol li { list-style-type: decimal; }
.author { margin-bottom: 5px; font-size: 12px; color: <?=LIGHTTEXT?>; }
<? } elseif(CURSCRIPT == 'memcp' || CURSCRIPT == 'credits') { if(CURSCRIPT == 'memcp') { ?>
.avatararea { float: left; margin-right: 20px; width: 120px; }
.avatararea a { display:block; margin: 15px 0; width: 119px; height: 31px; line-height: 31px; text-align: center; background: url(<?=IMGDIR?>/bigbtn.gif) no-repeat; font-size: 14px; }
.avatararea a:hover { text-decoration: none; }
#avatarctrl { float: left; }
<? } ?>
.creditstable {}
.creditstable td { padding: 10px 5px !important; }
.cre_title { width: 50px; }
.cre_opt { width: 150px; }
.cre_arrow { width: 30px; }
.cre_btn { margin-top: 10px; }
<? } elseif(CURSCRIPT == 'my' && $item == 'buddylist') { ?>
.friendavatar { float: left; margin: 10px 10px 10px 0; }
.friendinfo { overflow: hidden; margin: 10px 10px 10px 0; }
* html .friendinfo { margin-left: 70px; }
.friendinfo p { color: <?=LIGHTTEXT?> }
.friendinfo a { text-decoration: none !important; }
.friendinfo a:hover { text-decoration: underline !important; }
.friendinfo h5 a { font-size: 14px; color: <?=HIGHLIGHTLINK?>; }
.friendctrl { margin-top :5px; }
.friendctrl a { color: <?=TABELTEXT?>; }
.buddyname { margin-bottom: 8px; line-height: 16px; }
.online_buddy { margin-left: 8px; vertical-align: middle; }
<? } elseif(CURSCRIPT == 'modcp') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
.notelist { margin-top: -1px; border-top: 1px solid <?=COMMONBORDER?>; border-bottom: 1px solid <?=COMMONBORDER?>; zoom: 1; }
.notelist .c_header, .notelistsubmit { margin: 10px; }
.notelistbg, .notelistbg .c_header h3, .notelistbg .closenode .c_header_ctrlbtn { background-color: <?=INTERLEAVECOLOR?>; }
.notelistmsg { overflow: hidden; margin: 0 10px 10px 33px; }
.notelistmsg .submit { margin-top: 10px; }
.notelistmsg h3 { margin: 30px 0 5px; color: <?=HIGHLIGHTLINK?>; }
.datalist .announcetable { width: 600px; }
.datalist .announcetable, .datalist .announcetable th, .datalist .announcetable td { padding: 3px 0; border: none; }
.datalist .announcetable th { font-weight: 700; }
.anno_subject .txt { width: 270px; *width: 220px; }
.anno_type select { width: 80px; }
.anno_time .txt { width: 80px; }
.anno_msg .txtarea, .anno_msg .txt { width: 590px; }
.anno_msg .txtarea { margin-top: -1px; border-top-color: <?=INPUTBORDER?>; }
.schresult .formtable th { padding: 5px 10px 5px 20px; width: 60px; }
.schresult .formtable td a{ color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
<? } elseif(CURSCRIPT == 'stats' || CURSCRIPT == 'member') { ?>
.hasscrolltable { overflow: hidden; zoom: 1; * padding-bottom: 9px; }
.datalist .scrollfixedtable { float: left; margin-top: 1px; margin-left: 1px; width: 20%; }
.scrolltable { float:left; width: 79%; overflow-x: scroll; }
.scrolltable table { table-layout: fixed; margin: 1px 0 0; width: 1600px; }
.datalist .fixedtable { margin-bottom: 10px; width: 99%; text-align: right; }
.datalist .fixedtable a { text-decoration: underline; }
.datalist table a { text-decoration: underline; }
.datalist table a:hover { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'profile') { ?>
#profile .itemtitle h1 { color: <?=HIGHLIGHTLINK?>; }
#profile p { margin: 5px 0; }
.profile_side .avatar { margin: 25px 0; text-align: center; }
.profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
.profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
.profile_side li.pm { background-image: url(<?=IMGDIR?>/pmto.gif); }
.profile_side li.buddy { background-image: url(<?=IMGDIR?>/addbuddy.gif); }
.profile_side li.space { background-image: url(<?=IMGDIR?>/home.gif); }
.profile_side li.searchpost { background-image: url(<?=IMGDIR?>/fastreply.gif); }
.profile_side li.magic { background-image: url(<?=IMGDIR?>/magic.gif);}
#profile_stats li { text-indent: 0; }
#profile_stats li img { float: left; margin-right: 6px; }
#uch_feed { float: right; width: 50%; }
#uch_feed li { width: 100%; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#uch_feed img { margin-bottom: -4px; }
#uch_feed a { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'post') { ?>
* html .content { height: auto !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 0; }
* html .nojs .sim_upfile .sitenote { bottom: 161px; }
* html .nojs .sim_upfile .upfile_special { bottom: 301px; }
* html .nojs .sim_upfile .upfile { bottom: 356px; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; left: 0; width: auto; }
#floatwinnojs { position: static; }
.nojs .floatboxswf { width: 600px !important; }
.nojs .floatboxswf div { margin: 0 0 10px 11px; }
.nojs .floatbox1 { width: 100%; height: auto; }
#custominfoarea { right: 10px; left: auto; }
.nojs .specialinfo, .nojs .upfilelist { overflow-y: visible; height: auto !important; }
.popupmenu_popup, #e_popup_smilies_menu { *margin-top: 22px; }
* html .popupmenu_popup li { clear: both; float: left; }
* html .fontstyle_menu { overflow: hidden; width: 35px; }
* html .fontstyle_menu ul { width: 70px; }
* html .fontname_menu li { float: none; }
<? } if(CURSCRIPT == 'register') { ?>
* html .content { overflow-y: visible !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 20%; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; right: -15px; left: auto; width: auto; }
* html .nojs .moreconf { position: absolute; left: 0; bottom: 55px; }
*+html .nojs .moreconf { position: absolute; left: 165px; }
#floatwinnojs { position: static; }
.nojs .loginform, .nojs .regform, .nojs .floatbox, .nojs .floatbox1 { height: auto; }
.nojs .gateform { padding-bottom: 50px; }
<? if($secqaacheck) { ?>
.regform #secanswer_menu { left: 260px; top: 176px; }
* html .regform #secanswer_menu { left: 113px; }
.regform #seccodeverify_menu { left: 340px; }
* html .regform #seccodeverify_menu { left: 193px;}
<? } else { ?>
.regform #seccodeverify_menu { left: 260px; }
* html .regform #seccodeverify_menu { left: 113px; }
<? } } ?>
</style><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', allowfloatwin = '<?=$allowfloatwin?>', 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="include/js/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>
<a href="my.php?item=threads<? if($forum) { ?>&srchfid=<?=$forum['fid']?><? } ?>">我的帖子</a>
<? 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 href="pm.php" id="pm_ntc"<? if($newpm && $_DCOOKIE['pmnum']) { ?> onmouseover="pmviewnew()" class="new" title="您有新短消息"<? } ?> target="_blank">短消息<? if($newpm && $_DCOOKIE['pmnum']) { ?><span>(<?=$_DCOOKIE['pmnum']?>)</span><? } ?></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&formhash=<?=FORMHASH?>">退出</a>
<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
<cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">激活</a>
<a href="logging.php?action=logout&formhash=<?=FORMHASH?>">退出</a>
<? } else { ?>
<a href="<?=$regname?>" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><?=$reglinkname?></a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">登录</a>
<? } ?>
</div>
<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !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>
<div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> » <? if($discuz_uid == $member['uid']) { ?>我的资料<? } else { ?><?=$member['username']?>的个人资料<? } ?></div>
<script type="text/javascript">var imagemaxwidth = parseInt(<?=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']?></h1>
<ul>
<li>(UID: <?=$member['uid']?>)</li>
</ul>
</div>
<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&Uin=<?=$member['qq']?>&Site=<?=$bbname?>&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&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&uid='+encodeURIComponent('<?=$member['taobaoas']?>')+'&s=2"><img src="http://amos1.taobao.com/online.ww?v=2&uid='+encodeURIComponent('<?=$member['taobaoas']?>')+'&s=1" alt="阿里旺旺" border="0" /></a> ');</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']]?>
<? } ?>
</td>
</tr><? } } ?></table>
</div>
<hr class="dashline" />
<h3 class="blocktitle lightlink">用户组: <?=$member['grouptitle']?> <? 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']) { ?> (有效期至 <?=$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']?>" /> <? } } ?><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 = ', '; } } ?></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>
<? } ?>
</div>
</div>
<div class="side">
<div class="profile_side">
<div class="avatar"><? echo discuz_uc_avatar($member['uid']); ?></div>
<ul id="profile_act">
<li class="pm"><a href="pm.php?action=new&uid=<?=$member['uid']?>" onclick="floatwin('open_sendpm', this.href, 600, 410);return false;">发短消息</a></li>
<li class="buddy"><a href="my.php?item=buddylist&newbuddyid=<?=$member['uid']?>&buddysubmit=yes" id="ajax_buddy" onclick="ajaxmenu(event, this.id, 3000, 0)">加为好友</a></li>
<? if($discuz_uid && $magicstatus) { ?><li class="magic"><a href="magic.php?action=index&username=<?=$member['usernameenc']?>" target="_blank">使用道具</a></li><? } ?>
<li class="searchpost"><a href="search.php?srchuid=<?=$member['uid']?>&srchfid=all&srchfrom=0&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($allowbanuser || $allowedituser || $member['adminid'] > 0 && $modworkstatus) { ?>
<ul>
<? if($allowbanuser) { ?><li><a href="<? if($adminid==1) { ?>admincp.php?action=members&operation=ban&username=<?=$member['usernameenc']?>&frames=yes<? } else { ?>modcp.php?action=members&op=ban&uid=<?=$member['uid']?><? } ?>" target="_blank"><span>禁止此人</span></a></li><? } if($allowedituser) { ?><li><a href="<? if($adminid == 1) { ?>admincp.php?action=members&username=<?=$member['usernameenc']?>&submit=yes&frames=yes<? } else { ?>modcp.php?action=members&op=edit&uid=<?=$member['uid']?><? } ?>" target="_blank"><span>编辑此人</span></a><li><? } if($member['adminid'] > 0 && $modworkstatus) { ?><li><a href="stats.php?type=modworks&uid=<?=$member['uid']?>"><span>工作统计</span></a></li><? } ?>
</ul>
<? } ?>
</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($admode && empty($insenz['hardadstatus']) && !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>
<? } ?>
<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><? } ?>
</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&host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p>
<p class="smalltext">© 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="include/js/iframe.js?<?=VERHASH?>" type="text/javascript"></script>
<? } output(); if($_DCACHE['settings']['uchomeurl'] && $discuz_uid) { ?>
<script src="<?=$uchomeurl?>/api/discuz.php?pagetype=<?=CURSCRIPT?>&status=<?=$_DCACHE['settings']['homeshow']?>&uid=<?=$discuz_uid?>&infosidestatus=<?=$infosidestatus['allow']?><? if(CURSCRIPT == 'viewthread') { ?>&feedpostnum=<?=$feedpostnum?><? if($page == '1') { ?>&updateuid=<?=$feeduid?>&pid=<?=$firstpid?><? } } elseif(CURSCRIPT == 'profile') { ?>&updateuid=<?=$profileuid?><? } ?>" type="text/javascript"></script>
<? } ?>
</body>
</html>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/1_viewpro_classic.tpl.php
|
PHP
|
asf20
| 33,340
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
<input type="hidden" name="trade" value="yes" />
<div class="specialpost s_clear">
<div class="specialinfo">
<dl>
<dt>商品图片:</dt>
<dd>
<div id="tradeattach_preview">
<? if($tradeattach['attachment']) { ?>
<a href="<?=$tradeattach['url']?>/<?=$tradeattach['attachment']?>" target="_blank">
<? if($tradeattach['thumb']) { ?>
<img class="goodsimg" src="<?=$tradeattach['url']?>/<?=$tradeattach['attachment']?>.thumb.jpg" alt="" />
<? } else { ?>
<img class="goodsimg" src="<?=$tradeattach['url']?>/<?=$tradeattach['attachment']?>" alt="" />
<? } ?>
</a>
<? } ?>
</div><? if($tradeattach['attachment']) { ?><input name="tradeaid" type="hidden" value="<?=$tradeattach['aid']?>"><? } ?>
<input type="file" name="tradeattach[]" onchange="attachpreview(this, 'tradeattach_preview', 80, 80)" tabindex="1" />
<div id="tradeattach_preview_hidden" style="position: absolute; top: -100000px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='image'); width: 80px; height: 80px"></div>
</dd>
<dt><label for="item_name">商品名称:</label></dt>
<dd class="s_clear">
<span class="float_typeid"><input type="text" id="item_name" name="item_name" value="<?=$trade['subject']?>" class="splonginput txt" tabindex="1" /></span>
<? if($tradetypes && !empty($forum['tradetypes'])) { ?>
<span class="float_typeid">
<select id="tradetypeid" name="tradetypeid" change="ajaxget('post.php?action=threadsorts&tradetype=yes&sortid='+$('tradetypeid').value, 'tradesorts', 'tradesortswait')">
<option value="0">商品分类</option><? if(is_array($tradetypes)) { foreach($tradetypes as $typeid => $name) { if($forum['tradetypes'] == -1 || @in_array($typeid, $forum['tradetypes'])) { ?>
<option value="<?=$typeid?>"<? if($typeid == $tradetypeid) { ?> selected="selected"<? } ?>><? echo strip_tags($name);; ?></option>
<? } } } ?></select>
<? } ?>
</span>
</dd>
<dt></dt>
<dd class="float_postinfo">
<span class="float_typeid short_select">
<select id="item_quality" name="item_quality" tabindex="1">
<option value="1" <? if($trade['quality'] == 1) { ?>selected="selected"<? } ?>>全新</option>
<option value="2" <? if($trade['quality'] == 2) { ?>selected="selected"<? } ?>>二手</option>
</select>
</span>
<span class="float_typeid short_select">
<select id="item_type" name="item_type" tabindex="1">
<option value="1" <? if($trade['itemtype'] == 1) { ?>selected<? } ?>>商品</option>
<option value="2" <? if($trade['itemtype'] == 2) { ?>selected<? } ?>>服务</option>
<option value="3" <? if($trade['itemtype'] == 3) { ?>selected<? } ?>>拍卖</option>
<option value="4" <? if($trade['itemtype'] == 4) { ?>selected<? } ?>>捐赠</option>
<option value="5" <? if($trade['itemtype'] == 5) { ?>selected<? } ?>>邮费</option>
<option value="6" <? if($trade['itemtype'] == 6) { ?>selected<? } ?>>奖金</option>
</select>
</span>
</dd>
<dt><label for="item_costprice">商品原价:</label></dt>
<dd>
<span class="float_typeid"><em><input id="item_costprice" name="item_costprice" type="text" class="spmediuminput txt" value="<?=$trade['costprice']?>" tabindex="1" /></em></span>
<strong class="left"><label for="initialprice">商品现价:</label></strong>
<input id="item_price" name="item_price" class="spmediuminput txt" type="text" value="<?=$trade['price']?>" tabindex="1" />
</dd>
<dt><label for="item_number">商品数量:</label></dt>
<dd>
<input id="item_number" name="item_number" type="text" class="spmediuminput txt" value="<?=$trade['amount']?>" tabindex="1" />
</dd>
<dt><label for="paymethod">交易方式:</label></dt>
<dd>
<span class="float_typeid">
<select id="paymethod" name="paymethod" class="spmediuminput" tabindex="1">
<option value="0" <? if(!$trade['account']) { ?>selected<? } ?>>线下交易</option>
<option value="1" <? if($trade['account']) { ?>selected<? } ?>>支付宝在线交易</option>
</select>
</span>
<strong class="left"><label for="seller">支付宝账户:</label></strong>
<input type="text" id="seller" name="seller" value="<?=$trade['account']?>" class="spmediuminput txt" tabindex="1" />
</dd>
</dl>
<div class="classifieds classifieds_narrow">
<table cellpadding="0" cellspacing="0" class="formtable">
<tbody id="tradesorts"><span id="tradesortswait"></span></tbody>
</table>
</div>
</div>
<div class="specialaddons">
<dl class="s_clear">
<dt><label for="item_locus">所在地点:</label></dt>
<dd><input id="item_locus" name="item_locus" type="text" value="<?=$trade['locus']?>" class="spmediuminput txt" tabindex="1" /></dd>
<dt><label for="transport">物流方式:</label></dt>
<dd>
<select id="transport" name="transport" onchange="$('logisticssetting').style.display = this.value == 'virtual' ? 'none' : ''" class="spmediuminput">
<option value="virtual" <? if($trade['transport'] == 3) { ?>selected<? } ?>>虚拟物品</option>
<option value="seller" <? if($trade['transport'] == 1) { ?>selected<? } ?>>卖家承担运费</option>
<option value="buyer" <? if($trade['transport'] == 2) { ?>selected<? } ?>>买家承担运费</option>
<option value="logistics" <? if($trade['transport'] == 4) { ?>selected<? } ?>>支付给物流公司</option>
</select>
</dd>
<dt></dt>
<dd id="logisticssetting" class="s_clear" style="display:<? if($trade['transport'] == 3) { ?>none<? } ?>">
<p><label for="postage_mail">平邮</label> <input id="postage_mail" name="postage_mail" type="text" class="spshortinput txt" value="<?=$trade['ordinaryfee']?>" tabindex="1" /></p>
<p><label for="postage_express">快递</label> <input id="postage_express" name="postage_express" type="text" class="spshortinput txt" value="<?=$trade['expressfee']?>" tabindex="1" /></p>
<p><label for="postage_ems">EMS</label> <input id="postage_ems" name="postage_ems" type="text" class="spshortinput txt" value="<?=$trade['emsfee']?>" tabindex="1" /></p>
</dd>
</dl>
<p><label for="item_expiration">有效期至:</label></p>
<p class="hasdropdownbtn">
<input type="text" onclick="InFloat=InFloat_Editor;showcalendar(event, this, false)" id="item_expiration" name="item_expiration" autocomplete="off" value="<?=$trade['expiration']?>" class="txt" tabindex="1" />
<a href="javascript:;" class="dropdownbtn" onclick="InFloat=InFloat_Editor;showselect(this, 'item_expiration', 1)">^</a>
</p>
</div>
</div>
<script type="text/javascript" reload="1">
loadselect('item_quality', 0, 'floatlayout_<?=$action?>');
loadselect('item_type', 0, 'floatlayout_<?=$action?>');
loadselect('paymethod', 0, 'floatlayout_<?=$action?>');
//note loadselect('transport', 0, 'floatlayout_<?=$action?>');
<? if($tradetypes && !empty($forum['tradetypes'])) { ?>
loadselect('tradetypeid', 0, 'floatlayout_<?=$action?>');
<? if($tradetypeid) { ?>
ajaxget('post.php?action=threadsorts&tradetype=yes&sortid=<?=$tradetypeid?>&pid=<?=$pid?>', 'tradesorts', 'tradesortswait');
<? } } ?>
</script>
</div>
</div>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_post_trade.tpl.php
|
PHP
|
asf20
| 6,964
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/post_forumselect.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/header_nofloat.htm', 1253437883, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/post_forumselect.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/footer_nofloat.htm', 1253437883, '2', './templates/uchome')
;?>
<? include template('header'); if(empty($infloat)) { ?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_float.css?<?=VERHASH?>" />
<style type="text/css">
.main { overflow: hidden; }
.content { margin: 5px; min-height: 400px; <?=FLOATBGCODE?>; }
* html .content { height: 400px; overflow: auto; }
.fixedbtn { position: static; }
</style>
<div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> <?=$navigation?></div>
<div id="wrap" class="wrap s_clear">
<div class="main"><div class="content"><div class="nojs">
<div id="floatwinnojs"><? } ?>
<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>
<div class="float" style="width: 600px;">
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<em>导航</em>
<span>
<? if(!empty($infloat)) { ?><a href="javascript:;" class="float_close" onclick="floatwin('close_nav')" title="关闭">关闭</a><? } ?>
</span>
</h3>
<div class="postbox">
<p class="s_clear">
<button class="right" id="postbtn" onclick="floatwin('close_nav');floatwin('open_newthread', 'post.php?action=newthread&fid=' + selectfid, 600, 410, '600,0');" 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>
</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 ? ' > ' + switchforum + (switchsubforum ? ' > ' + switchsubforum : '') : '';
}
function locationforums(block, fid) {
location.href = block == 1 ? '<?=$indexname?>?gid=' + fid : 'forumdisplay.php?fid=' + fid;
}
</script>
<? if(empty($infloat)) { ?></div>
</div></div></div>
</div><? } include template('footer'); ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_post_forumselect.tpl.php
|
PHP
|
asf20
| 5,063
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewpro_classic.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/header.htm', 1250740638, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewpro_classic.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/footer.htm', 1250740638, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewpro_classic.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/css_script.htm', 1250740638, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewpro_classic.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/jsmenu.htm', 1250740638, '2', './templates/uchome')
;?>
<!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?>
<style type="text/css">
@import url(forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>);
<? if(CURSCRIPT == 'viewthread') { ?>
@import url(forumdata/cache/style_<?=STYLEID?>_viewthread.css?<?=VERHASH?>);
<? } if(CURSCRIPT == 'forumdisplay' && $forum['ismoderator']) { include template('css_topicadmin'); } elseif(CURSCRIPT == 'viewthread') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
#f_post td { padding-top: 15px; padding-bottom: 20px; vertical-align: top; }
#f_post p, .fastcheck { margin: 5px 0; }
#f_post .txtarea { margin: -1px 0 0; width: 596px; height: 120px; border-color: <?=INPUTBORDERDARKCOLOR?> <?=INPUTBORDER?> <?=INPUTBORDER?> <?=INPUTBORDERDARKCOLOR?>; border-top: none; overflow: auto; }
.defaultpost { height: auto !important; height:<?=$_DCACHE['custominfo']['postminheight']?>px; min-height:<?=$_DCACHE['custominfo']['postminheight']?>px !important; }
.signatures { max-height: <?=$maxsigrows?>px; }
* html .signatures { height: expression(signature(this)); }
.t_msgfontfix { min-height: 100px; }
* html .t_msgfontfix { height: 100px; overflow: visible; }
<? if($thread['special'] == 5 && $stand != '') { ?>
.stand_select .postauthor { background: #EBF2F8; }
.stand_select .itemtitle, .stand_select .solidline { margin: 15px 15px 10px; }
.stand_select h2 { float: left; }
<? } } elseif(CURSCRIPT == 'pm') { ?>
#pm_content h1 { float: left; font-size: 14px; }
.postpm { float: right; color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
.pm_header { padding: 6px; border: solid <?=COMMONBORDER?>; border-width: 1px 0; }
.pm_header #pm_search { float: right; }
.pm_list { }
.pm_list li { position: relative; *margin-top: -2px; padding: 10px 140px 10px 75px; min-height: 48px; _height: 48px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.pm_list li .avatar { position: absolute; left: 5px; top: 8px; }
.pm_list .self .avatar { left: auto; right: 75px; }
.pm_list p cite, .pm_list p .time { color: <?=MIDTEXT?>; }
.pm_list p cite { display: block; width: 260px; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm_list p cite.new { padding-left: 25px; background: url(<?=IMGDIR?>/notice_newpm.gif) no-repeat 0 3px; }
.pm_list p cite a { margin-right: 5px; }
.pm_list li .action { position: absolute; right: 10px; top: 50%; margin-top: -18px; display: block; width: 50px; height: 36px; }
.pm_list li .action a { display: block; text-decoration: underline; }
.pm_list li .action a.delete { color: <?=HIGHLIGHTLINK?>; }
.pm_list li .topact { top: 8px; margin-top: 0; }
.sticky { display: block !important; }
.pm_list li.pm_date { padding: 5px 0 5px 75px; min-height: 0; }
#pm_list ul.onerror { padding: 20px 0 0 95px; background-position: 75px 22px; }
#pmlist .summary a { color: <?=HIGHLIGHTLINK?>; }
.pmreply { margin: 1em 0; padding-left: 75px; }
.pmreply textarea { width: 510px; }
.pmback { width: 70px; padding-left: 15px; w\idth: 55px; background: url(<?=IMGDIR?>/arrow_left.gif) no-repeat 0 50%; }
#buddies li { float: left; width: 8em; height: 1.6em; overflow: hidden; white-space: nowrap; }
.newpm_notice { padding: 0 0 10px 75px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.newpm_notice a { color: <?=HIGHLIGHTLINK?>; }
.quote { margin: 10px 0; padding: 10px 10px 10px 65px; }
.quote { padding-bottom: 5px; background: #F9F9F9 url(<?=IMGDIR?>/icon_quote_s.gif) no-repeat 20px 6px; }
.quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url(<?=IMGDIR?>/icon_quote_e.gif) no-repeat 100% 100%; line-height: 1.6em; }
.blockall { margin-bottom: 10px; padding: 10px 0; background: <?=SPECIALBG?>; text-align: center; color: <?=LIGHTTEXT?>; }
.blockall a { color: <?=HIGHLIGHTLINK?>; font-size: 1.17em; }
.blacklist li a, .blacklist li strong { float: left; }
.blacklist .remove { margin: 4px 0 0 5px; width: 12px; height: 12px; background: url(<?=IMGDIR?>/close.gif) no-repeat 100% 50px; line-height: 100px; overflow: hidden; }
.blacklist .hover .remove { background-position: 100% 0; }
.blacklist .remove:hover { background-position: 100% -12px; }
.allblocked { padding-bottom: 10px; width: 100%!important; border-bottom: 1px solid <?=COMMONBORDER?>; }
.allblocked a { margin-left: 10px; color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'magic') { ?>
.magicprice { color: <?=NOTICETEXT?>; font-weight: 700; font-size: 16px; }
.magic_yes { color: #080; font-weight: 700; }
.magic_no { color: #F00; font-weight: 700; }
.magicmain { height: 180px; overflow-y: auto; }
.magicinfo { margin-bottom: 10px; width: 100%; }
.magicinfo td { padding: 3px 0; }
.magicinfo h5 { font-size: 14px; }
.mymagic { margin-bottom: 30px; }
.mymagic .inlinelist li { float: left; margin-top: 10px; width: 50%; }
.mymagic .magicimg { float:left; margin-right: 10px; width: 25%; }
.mymagic .magicdetail { float:left; width: 65%; }
.mymagic h5 a { text-decoration: underline; color: <?=HIGHLIGHTLINK?>; }
.mymagic p { margin: 3px 0; }
.mymagic .inlinelist .clear { float: none; clear: both; margin: 0; width: 100%; }
.magicnum { margin: 10px 0; }
.magicnum p { margin-top: 5px; }
.fixedbtn { position: absolute; bottom: 15px; }
<? } elseif(CURSCRIPT == 'medal') { ?>
.medallist { overflow: hidden; margin-bottom: 30px; }
.medallist li { margin-bottom: 15px; width: 24.9%; }
.medalimg { float: left; margin: 5px; width: 15%; }
.medalinfo { float: left; width: 75%; }
.medalinfo p { color: <?=MIDTEXT?>; }
.medalexp { margin-left: 8px; color: <?=LIGHTTEXT?>; font-weight: 400; }
.medallist .clear { overflow: hidden; float: none; clear: both; margin: 0; width: 100%; height: 1px; }
.medalp { margin-bottom: 10px; }
<? } elseif(CURSCRIPT == 'invite') { ?>
.invitecode { border: none !important; background-color: transparent; font-family: "Courier New", Courier, monospace, serif; }
input.marked { background: transparent url(<?=IMGDIR?>/check_right.gif) no-repeat 100% 50%; }
.expiration .invitecode { text-decoration: line-through; color: red; }
<? } elseif(CURSCRIPT == 'search') { ?>
.searchform { position: relative; margin: 0 5px 10px; padding: 30px 10px 20px 160px; border-top: 5px solid <?=WRAPBG?>; background: <?=SPECIALBG?>; }
.searchlabel { position: absolute; left: 0; _left: -160px; top: 30px; width: 150px; text-align: center; font-weight: 700; font-size: 26px; color: <?=HIGHLIGHTLINK?>; line-height: 30px; }
.searchlabel strong { display: block; font-size: 14px; color: <?=MIDTEXT?>; font-weight: 400; text-align: center; }
.searchform h3 { margin: 10px 2px; font-size: 14px; }
.searchkey { margin-bottom: 1em; zoom: 1; }
.searchkey #searchsubmit { margin: 0 16px 0 10px; }
* html #searchsubmit { height: 21px; line-height: 19px; }
*+html #searchsubmit { height: 21px; line-height: 19px; }
.searchkey a { background: url(images/common/editor.gif) 0 -181px no-repeat; padding:2px 0 2px 22px; color: <?=HIGHLIGHTLINK?>; }
.searchlist { margin: 5px 20px; }
.searchlist h1 { font-size: 14px; }
.searchlist h1 em { font-weight: 400; }
#srchfid optgroup, #moveto optgroup { font-style: normal; font-weight: 400; font-size: 12px; }
<? } elseif(CURSCRIPT == 'faq' || CURSCRIPT == 'announcement') { ?>
.faqmessage, .announcemsg { margin-bottom: 10px; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.faqmessage ul, .announcemsg ul { padding-left: 1.6em; }
.faq li { margin-left: 2em; }
.faq ul li { list-style-type: disc; }
.t_msgfont ul.o li, .faq ol li { list-style-type: decimal; }
.author { margin-bottom: 5px; font-size: 12px; color: <?=LIGHTTEXT?>; }
<? } elseif(CURSCRIPT == 'memcp' || CURSCRIPT == 'credits') { if(CURSCRIPT == 'memcp') { ?>
.avatararea { float: left; margin-right: 20px; width: 120px; }
.avatararea a { display:block; margin: 15px 0; width: 119px; height: 31px; line-height: 31px; text-align: center; background: url(<?=IMGDIR?>/bigbtn.gif) no-repeat; font-size: 14px; }
.avatararea a:hover { text-decoration: none; }
#avatarctrl { float: left; }
<? } ?>
.creditstable {}
.creditstable td { padding: 10px 5px !important; }
.cre_title { width: 50px; }
.cre_opt { width: 150px; }
.cre_arrow { width: 30px; }
.cre_btn { margin-top: 10px; }
<? } elseif(CURSCRIPT == 'my' && $item == 'buddylist') { ?>
.friendavatar { float: left; margin: 10px 10px 10px 0; }
.friendinfo { overflow: hidden; margin: 10px 10px 10px 0; }
* html .friendinfo { margin-left: 70px; }
.friendinfo p { color: <?=LIGHTTEXT?> }
.friendinfo a { text-decoration: none !important; }
.friendinfo a:hover { text-decoration: underline !important; }
.friendinfo h5 a { font-size: 14px; color: <?=HIGHLIGHTLINK?>; }
.friendctrl { margin-top :5px; }
.friendctrl a { color: <?=TABELTEXT?>; }
.buddyname { margin-bottom: 8px; line-height: 16px; }
.online_buddy { margin-left: 8px; vertical-align: middle; }
<? } elseif(CURSCRIPT == 'modcp') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
.notelist { margin-top: -1px; border-top: 1px solid <?=COMMONBORDER?>; border-bottom: 1px solid <?=COMMONBORDER?>; zoom: 1; }
.notelist .c_header, .notelistsubmit { margin: 10px; }
.notelistbg, .notelistbg .c_header h3, .notelistbg .closenode .c_header_ctrlbtn { background-color: <?=INTERLEAVECOLOR?>; }
.notelistmsg { overflow: hidden; margin: 0 10px 10px 33px; }
.notelistmsg .submit { margin-top: 10px; }
.notelistmsg h3 { margin: 30px 0 5px; color: <?=HIGHLIGHTLINK?>; }
.datalist .announcetable { width: 600px; }
.datalist .announcetable, .datalist .announcetable th, .datalist .announcetable td { padding: 3px 0; border: none; }
.datalist .announcetable th { font-weight: 700; }
.anno_subject .txt { width: 270px; *width: 220px; }
.anno_type select { width: 80px; }
.anno_time .txt { width: 80px; }
.anno_msg .txtarea, .anno_msg .txt { width: 590px; }
.anno_msg .txtarea { margin-top: -1px; border-top-color: <?=INPUTBORDER?>; }
.schresult .formtable th { padding: 5px 10px 5px 20px; width: 60px; }
.schresult .formtable td a{ color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
<? } elseif(CURSCRIPT == 'stats' || CURSCRIPT == 'member') { ?>
.hasscrolltable { overflow: hidden; zoom: 1; * padding-bottom: 9px; }
.datalist .scrollfixedtable { float: left; margin-top: 1px; margin-left: 1px; width: 20%; }
.scrolltable { float:left; width: 79%; overflow-x: scroll; }
.scrolltable table { table-layout: fixed; margin: 1px 0 0; width: 1600px; }
.datalist .fixedtable { margin-bottom: 10px; width: 99%; text-align: right; }
.datalist .fixedtable a { text-decoration: underline; }
.datalist table a { text-decoration: underline; }
.datalist table a:hover { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'profile') { ?>
#profile .itemtitle h1 { color: <?=HIGHLIGHTLINK?>; }
#profile p { margin: 5px 0; }
.profile_side .avatar { margin: 25px 0; text-align: center; }
.profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
.profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
.profile_side li.pm { background-image: url(<?=IMGDIR?>/pmto.gif); }
.profile_side li.buddy { background-image: url(<?=IMGDIR?>/addbuddy.gif); }
.profile_side li.space { background-image: url(<?=IMGDIR?>/home.gif); }
.profile_side li.searchpost { background-image: url(<?=IMGDIR?>/fastreply.gif); }
.profile_side li.magic { background-image: url(<?=IMGDIR?>/magic.gif);}
#profile_stats li { text-indent: 0; }
#profile_stats li img { float: left; margin-right: 6px; }
#uch_feed { float: right; width: 50%; }
#uch_feed li { width: 100%; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#uch_feed img { margin-bottom: -4px; }
#uch_feed a { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'post') { ?>
* html .content { height: auto !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 0; }
* html .nojs .sim_upfile .sitenote { bottom: 161px; }
* html .nojs .sim_upfile .upfile_special { bottom: 301px; }
* html .nojs .sim_upfile .upfile { bottom: 356px; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; left: 0; width: auto; }
#floatwinnojs { position: static; }
.nojs .floatboxswf { width: 600px !important; }
.nojs .floatboxswf div { margin: 0 0 10px 11px; }
.nojs .floatbox1 { width: 100%; height: auto; }
#custominfoarea { right: 10px; left: auto; }
.nojs .specialinfo, .nojs .upfilelist { overflow-y: visible; height: auto !important; }
.popupmenu_popup, #e_popup_smilies_menu { *margin-top: 22px; }
* html .popupmenu_popup li { clear: both; float: left; }
* html .fontstyle_menu { overflow: hidden; width: 35px; }
* html .fontstyle_menu ul { width: 70px; }
* html .fontname_menu li { float: none; }
<? } if(CURSCRIPT == 'register') { ?>
* html .content { overflow-y: visible !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 20%; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; right: -15px; left: auto; width: auto; }
* html .nojs .moreconf { position: absolute; left: 0; bottom: 55px; }
*+html .nojs .moreconf { position: absolute; left: 165px; }
#floatwinnojs { position: static; }
.nojs .loginform, .nojs .regform, .nojs .floatbox, .nojs .floatbox1 { height: auto; }
.nojs .gateform { padding-bottom: 50px; }
<? if($secqaacheck) { ?>
.regform #secanswer_menu { left: 260px; top: 176px; }
* html .regform #secanswer_menu { left: 113px; }
.regform #seccodeverify_menu { left: 340px; }
* html .regform #seccodeverify_menu { left: 193px;}
<? } else { ?>
.regform #seccodeverify_menu { left: 260px; }
* html .regform #seccodeverify_menu { left: 113px; }
<? } } ?>
</style><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', allowfloatwin = '<?=$allowfloatwin?>', 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="include/js/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>
<a href="my.php?item=threads<? if($forum) { ?>&srchfid=<?=$forum['fid']?><? } ?>">我的帖子</a>
<? 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 href="pm.php" id="pm_ntc"<? if($newpm && $_DCOOKIE['pmnum']) { ?> onmouseover="pmviewnew()" class="new" title="您有新短消息"<? } ?> target="_blank">短消息<? if($newpm && $_DCOOKIE['pmnum']) { ?><span>(<?=$_DCOOKIE['pmnum']?>)</span><? } ?></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&formhash=<?=FORMHASH?>">退出</a>
<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
<cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">激活</a>
<a href="logging.php?action=logout&formhash=<?=FORMHASH?>">退出</a>
<? } else { ?>
<a href="<?=$regname?>" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><?=$reglinkname?></a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">登录</a>
<? } ?>
</div>
<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !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>
<div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> » <? if($discuz_uid == $member['uid']) { ?>我的资料<? } else { ?><?=$member['username']?>的个人资料<? } ?></div>
<script type="text/javascript">var imagemaxwidth = parseInt(<?=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']?></h1>
<ul>
<li>(UID: <?=$member['uid']?>)</li>
</ul>
</div>
<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&Uin=<?=$member['qq']?>&Site=<?=$bbname?>&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&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&uid='+encodeURIComponent('<?=$member['taobaoas']?>')+'&s=2"><img src="http://amos1.taobao.com/online.ww?v=2&uid='+encodeURIComponent('<?=$member['taobaoas']?>')+'&s=1" alt="阿里旺旺" border="0" /></a> ');</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']]?>
<? } ?>
</td>
</tr><? } } ?></table>
</div>
<hr class="dashline" />
<h3 class="blocktitle lightlink">用户组: <?=$member['grouptitle']?> <? 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']) { ?> (有效期至 <?=$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']?>" /> <? } } ?><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 = ', '; } } ?></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>
<? } ?>
</div>
</div>
<div class="side">
<div class="profile_side">
<div class="avatar"><? echo discuz_uc_avatar($member['uid']); ?></div>
<ul id="profile_act">
<li class="pm"><a href="pm.php?action=new&uid=<?=$member['uid']?>" onclick="floatwin('open_sendpm', this.href, 600, 410);return false;">发短消息</a></li>
<li class="buddy"><a href="my.php?item=buddylist&newbuddyid=<?=$member['uid']?>&buddysubmit=yes" id="ajax_buddy" onclick="ajaxmenu(event, this.id, 3000, 0)">加为好友</a></li>
<? if($discuz_uid && $magicstatus) { ?><li class="magic"><a href="magic.php?action=index&username=<?=$member['usernameenc']?>" target="_blank">使用道具</a></li><? } ?>
<li class="searchpost"><a href="search.php?srchuid=<?=$member['uid']?>&srchfid=all&srchfrom=0&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($allowbanuser || $allowedituser || $member['adminid'] > 0 && $modworkstatus) { ?>
<ul>
<? if($allowbanuser) { ?><li><a href="<? if($adminid==1) { ?>admincp.php?action=members&operation=ban&username=<?=$member['usernameenc']?>&frames=yes<? } else { ?>modcp.php?action=members&op=ban&uid=<?=$member['uid']?><? } ?>" target="_blank"><span>禁止此人</span></a></li><? } if($allowedituser) { ?><li><a href="<? if($adminid == 1) { ?>admincp.php?action=members&username=<?=$member['usernameenc']?>&submit=yes&frames=yes<? } else { ?>modcp.php?action=members&op=edit&uid=<?=$member['uid']?><? } ?>" target="_blank"><span>编辑此人</span></a><li><? } if($member['adminid'] > 0 && $modworkstatus) { ?><li><a href="stats.php?type=modworks&uid=<?=$member['uid']?>"><span>工作统计</span></a></li><? } ?>
</ul>
<? } ?>
</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($admode && empty($insenz['hardadstatus']) && !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>
<? } ?>
<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><? } ?>
</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&host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p>
<p class="smalltext">© 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="include/js/iframe.js?<?=VERHASH?>" type="text/javascript"></script>
<? } output(); if($_DCACHE['settings']['uchomeurl'] && $discuz_uid) { ?>
<script src="<?=$uchomeurl?>/api/discuz.php?pagetype=<?=CURSCRIPT?>&status=<?=$_DCACHE['settings']['homeshow']?>&uid=<?=$discuz_uid?>&infosidestatus=<?=$infosidestatus['allow']?><? if(CURSCRIPT == 'viewthread') { ?>&feedpostnum=<?=$feedpostnum?><? if($page == '1') { ?>&updateuid=<?=$feeduid?>&pid=<?=$firstpid?><? } } elseif(CURSCRIPT == 'profile') { ?>&updateuid=<?=$profileuid?><? } ?>" type="text/javascript"></script>
<? } ?>
</body>
</html>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_viewpro_classic.tpl.php
|
PHP
|
asf20
| 33,320
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/header.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/search_threads.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/search_sort.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/footer.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/css_script.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/header.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/footer.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/jsmenu.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/css_script.htm', 1250677496, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/search.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/jsmenu.htm', 1250677496, '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?>
<style type="text/css">
@import url(forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>);
<? if(CURSCRIPT == 'viewthread') { ?>
@import url(forumdata/cache/style_<?=STYLEID?>_viewthread.css?<?=VERHASH?>);
<? } if(CURSCRIPT == 'forumdisplay' && $forum['ismoderator']) { include template('css_topicadmin'); } elseif(CURSCRIPT == 'viewthread') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
#f_post td { padding-top: 15px; padding-bottom: 20px; vertical-align: top; }
#f_post p, .fastcheck { margin: 5px 0; }
#f_post .txtarea { margin: -1px 0 0; width: 596px; height: 120px; border-color: <?=INPUTBORDERDARKCOLOR?> <?=INPUTBORDER?> <?=INPUTBORDER?> <?=INPUTBORDERDARKCOLOR?>; border-top: none; overflow: auto; }
.defaultpost { height: auto !important; height:<?=$_DCACHE['custominfo']['postminheight']?>px; min-height:<?=$_DCACHE['custominfo']['postminheight']?>px !important; }
.signatures { max-height: <?=$maxsigrows?>px; }
* html .signatures { height: expression(signature(this)); }
.t_msgfontfix { min-height: 100px; }
* html .t_msgfontfix { height: 100px; overflow: visible; }
<? if($thread['special'] == 5 && $stand != '') { ?>
.stand_select .postauthor { background: #EBF2F8; }
.stand_select .itemtitle, .stand_select .solidline { margin: 15px 15px 10px; }
.stand_select h2 { float: left; }
<? } } elseif(CURSCRIPT == 'pm') { ?>
#pm_content h1 { float: left; font-size: 14px; }
.postpm { float: right; color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
.pm_header { padding: 6px; border: solid <?=COMMONBORDER?>; border-width: 1px 0; }
.pm_header #pm_search { float: right; }
.pm_list { }
.pm_list li { position: relative; *margin-top: -2px; padding: 10px 140px 10px 75px; min-height: 48px; _height: 48px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.pm_list li .avatar { position: absolute; left: 5px; top: 8px; }
.pm_list .self .avatar { left: auto; right: 75px; }
.pm_list p cite, .pm_list p .time { color: <?=MIDTEXT?>; }
.pm_list p cite { display: block; width: 260px; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm_list p cite.new { padding-left: 25px; background: url(<?=IMGDIR?>/notice_newpm.gif) no-repeat 0 3px; }
.pm_list p cite a { margin-right: 5px; }
.pm_list li .action { position: absolute; right: 10px; top: 50%; margin-top: -18px; display: block; width: 50px; height: 36px; }
.pm_list li .action a { display: block; text-decoration: underline; }
.pm_list li .action a.delete { color: <?=HIGHLIGHTLINK?>; }
.pm_list li .topact { top: 8px; margin-top: 0; }
.sticky { display: block !important; }
.pm_list li.pm_date { padding: 5px 0 5px 75px; min-height: 0; }
#pm_list ul.onerror { padding: 20px 0 0 95px; background-position: 75px 22px; }
#pmlist .summary a { color: <?=HIGHLIGHTLINK?>; }
.pmreply { margin: 1em 0; padding-left: 75px; }
.pmreply textarea { width: 510px; }
.pmback { width: 70px; padding-left: 15px; w\idth: 55px; background: url(<?=IMGDIR?>/arrow_left.gif) no-repeat 0 50%; }
#buddies li { float: left; width: 8em; height: 1.6em; overflow: hidden; white-space: nowrap; }
.newpm_notice { padding: 0 0 10px 75px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.newpm_notice a { color: <?=HIGHLIGHTLINK?>; }
.quote { margin: 10px 0; padding: 10px 10px 10px 65px; }
.quote { padding-bottom: 5px; background: #F9F9F9 url(<?=IMGDIR?>/icon_quote_s.gif) no-repeat 20px 6px; }
.quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url(<?=IMGDIR?>/icon_quote_e.gif) no-repeat 100% 100%; line-height: 1.6em; }
.blockall { margin-bottom: 10px; padding: 10px 0; background: <?=SPECIALBG?>; text-align: center; color: <?=LIGHTTEXT?>; }
.blockall a { color: <?=HIGHLIGHTLINK?>; font-size: 1.17em; }
.blacklist li a, .blacklist li strong { float: left; }
.blacklist .remove { margin: 4px 0 0 5px; width: 12px; height: 12px; background: url(<?=IMGDIR?>/close.gif) no-repeat 100% 50px; line-height: 100px; overflow: hidden; }
.blacklist .hover .remove { background-position: 100% 0; }
.blacklist .remove:hover { background-position: 100% -12px; }
.allblocked { padding-bottom: 10px; width: 100%!important; border-bottom: 1px solid <?=COMMONBORDER?>; }
.allblocked a { margin-left: 10px; color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'magic') { ?>
.magicprice { color: <?=NOTICETEXT?>; font-weight: 700; font-size: 16px; }
.magic_yes { color: #080; font-weight: 700; }
.magic_no { color: #F00; font-weight: 700; }
.magicmain { height: 180px; overflow-y: auto; }
.magicinfo { margin-bottom: 10px; width: 100%; }
.magicinfo td { padding: 3px 0; }
.magicinfo h5 { font-size: 14px; }
.mymagic { margin-bottom: 30px; }
.mymagic .inlinelist li { float: left; margin-top: 10px; width: 50%; }
.mymagic .magicimg { float:left; margin-right: 10px; width: 25%; }
.mymagic .magicdetail { float:left; width: 65%; }
.mymagic h5 a { text-decoration: underline; color: <?=HIGHLIGHTLINK?>; }
.mymagic p { margin: 3px 0; }
.mymagic .inlinelist .clear { float: none; clear: both; margin: 0; width: 100%; }
.magicnum { margin: 10px 0; }
.magicnum p { margin-top: 5px; }
.fixedbtn { position: absolute; bottom: 15px; }
<? } elseif(CURSCRIPT == 'medal') { ?>
.medallist { overflow: hidden; margin-bottom: 30px; }
.medallist li { margin-bottom: 15px; width: 24.9%; }
.medalimg { float: left; margin: 5px; width: 15%; }
.medalinfo { float: left; width: 75%; }
.medalinfo p { color: <?=MIDTEXT?>; }
.medalexp { margin-left: 8px; color: <?=LIGHTTEXT?>; font-weight: 400; }
.medallist .clear { overflow: hidden; float: none; clear: both; margin: 0; width: 100%; height: 1px; }
.medalp { margin-bottom: 10px; }
<? } elseif(CURSCRIPT == 'invite') { ?>
.invitecode { border: none !important; background-color: transparent; font-family: "Courier New", Courier, monospace, serif; }
input.marked { background: transparent url(<?=IMGDIR?>/check_right.gif) no-repeat 100% 50%; }
.expiration .invitecode { text-decoration: line-through; color: red; }
<? } elseif(CURSCRIPT == 'search') { ?>
.searchform { position: relative; margin: 0 5px 10px; padding: 30px 10px 20px 160px; border-top: 5px solid <?=WRAPBG?>; background: <?=SPECIALBG?>; }
.searchlabel { position: absolute; left: 0; _left: -160px; top: 30px; width: 150px; text-align: center; font-weight: 700; font-size: 26px; color: <?=HIGHLIGHTLINK?>; line-height: 30px; }
.searchlabel strong { display: block; font-size: 14px; color: <?=MIDTEXT?>; font-weight: 400; text-align: center; }
.searchform h3 { margin: 10px 2px; font-size: 14px; }
.searchkey { margin-bottom: 1em; zoom: 1; }
.searchkey #searchsubmit { margin: 0 16px 0 10px; }
* html #searchsubmit { height: 21px; line-height: 19px; }
*+html #searchsubmit { height: 21px; line-height: 19px; }
.searchkey a { background: url(images/common/editor.gif) 0 -181px no-repeat; padding:2px 0 2px 22px; color: <?=HIGHLIGHTLINK?>; }
.searchlist { margin: 5px 20px; }
.searchlist h1 { font-size: 14px; }
.searchlist h1 em { font-weight: 400; }
#srchfid optgroup, #moveto optgroup { font-style: normal; font-weight: 400; font-size: 12px; }
<? } elseif(CURSCRIPT == 'faq' || CURSCRIPT == 'announcement') { ?>
.faqmessage, .announcemsg { margin-bottom: 10px; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.faqmessage ul, .announcemsg ul { padding-left: 1.6em; }
.faq li { margin-left: 2em; }
.faq ul li { list-style-type: disc; }
.t_msgfont ul.o li, .faq ol li { list-style-type: decimal; }
.author { margin-bottom: 5px; font-size: 12px; color: <?=LIGHTTEXT?>; }
<? } elseif(CURSCRIPT == 'memcp' || CURSCRIPT == 'credits') { if(CURSCRIPT == 'memcp') { ?>
.avatararea { float: left; margin-right: 20px; width: 120px; }
.avatararea a { display:block; margin: 15px 0; width: 119px; height: 31px; line-height: 31px; text-align: center; background: url(<?=IMGDIR?>/bigbtn.gif) no-repeat; font-size: 14px; }
.avatararea a:hover { text-decoration: none; }
#avatarctrl { float: left; }
<? } ?>
.creditstable {}
.creditstable td { padding: 10px 5px !important; }
.cre_title { width: 50px; }
.cre_opt { width: 150px; }
.cre_arrow { width: 30px; }
.cre_btn { margin-top: 10px; }
<? } elseif(CURSCRIPT == 'my' && $item == 'buddylist') { ?>
.friendavatar { float: left; margin: 10px 10px 10px 0; }
.friendinfo { overflow: hidden; margin: 10px 10px 10px 0; }
* html .friendinfo { margin-left: 70px; }
.friendinfo p { color: <?=LIGHTTEXT?> }
.friendinfo a { text-decoration: none !important; }
.friendinfo a:hover { text-decoration: underline !important; }
.friendinfo h5 a { font-size: 14px; color: <?=HIGHLIGHTLINK?>; }
.friendctrl { margin-top :5px; }
.friendctrl a { color: <?=TABELTEXT?>; }
.buddyname { margin-bottom: 8px; line-height: 16px; }
.online_buddy { margin-left: 8px; vertical-align: middle; }
<? } elseif(CURSCRIPT == 'modcp') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
.notelist { margin-top: -1px; border-top: 1px solid <?=COMMONBORDER?>; border-bottom: 1px solid <?=COMMONBORDER?>; zoom: 1; }
.notelist .c_header, .notelistsubmit { margin: 10px; }
.notelistbg, .notelistbg .c_header h3, .notelistbg .closenode .c_header_ctrlbtn { background-color: <?=INTERLEAVECOLOR?>; }
.notelistmsg { overflow: hidden; margin: 0 10px 10px 33px; }
.notelistmsg .submit { margin-top: 10px; }
.notelistmsg h3 { margin: 30px 0 5px; color: <?=HIGHLIGHTLINK?>; }
.datalist .announcetable { width: 600px; }
.datalist .announcetable, .datalist .announcetable th, .datalist .announcetable td { padding: 3px 0; border: none; }
.datalist .announcetable th { font-weight: 700; }
.anno_subject .txt { width: 270px; *width: 220px; }
.anno_type select { width: 80px; }
.anno_time .txt { width: 80px; }
.anno_msg .txtarea, .anno_msg .txt { width: 590px; }
.anno_msg .txtarea { margin-top: -1px; border-top-color: <?=INPUTBORDER?>; }
.schresult .formtable th { padding: 5px 10px 5px 20px; width: 60px; }
.schresult .formtable td a{ color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
<? } elseif(CURSCRIPT == 'stats' || CURSCRIPT == 'member') { ?>
.hasscrolltable { overflow: hidden; zoom: 1; * padding-bottom: 9px; }
.datalist .scrollfixedtable { float: left; margin-top: 1px; margin-left: 1px; width: 20%; }
.scrolltable { float:left; width: 79%; overflow-x: scroll; }
.scrolltable table { table-layout: fixed; margin: 1px 0 0; width: 1600px; }
.datalist .fixedtable { margin-bottom: 10px; width: 99%; text-align: right; }
.datalist .fixedtable a { text-decoration: underline; }
.datalist table a { text-decoration: underline; }
.datalist table a:hover { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'profile') { ?>
#profile .itemtitle h1 { color: <?=HIGHLIGHTLINK?>; }
#profile p { margin: 5px 0; }
.profile_side .avatar { margin: 25px 0; text-align: center; }
.profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
.profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
.profile_side li.pm { background-image: url(<?=IMGDIR?>/pmto.gif); }
.profile_side li.buddy { background-image: url(<?=IMGDIR?>/addbuddy.gif); }
.profile_side li.space { background-image: url(<?=IMGDIR?>/home.gif); }
.profile_side li.searchpost { background-image: url(<?=IMGDIR?>/fastreply.gif); }
.profile_side li.magic { background-image: url(<?=IMGDIR?>/magic.gif);}
#profile_stats li { text-indent: 0; }
#profile_stats li img { float: left; margin-right: 6px; }
#uch_feed { float: right; width: 50%; }
#uch_feed li { width: 100%; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#uch_feed img { margin-bottom: -4px; }
#uch_feed a { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'post') { ?>
* html .content { height: auto !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 0; }
* html .nojs .sim_upfile .sitenote { bottom: 161px; }
* html .nojs .sim_upfile .upfile_special { bottom: 301px; }
* html .nojs .sim_upfile .upfile { bottom: 356px; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; left: 0; width: auto; }
#floatwinnojs { position: static; }
.nojs .floatboxswf { width: 600px !important; }
.nojs .floatboxswf div { margin: 0 0 10px 11px; }
.nojs .floatbox1 { width: 100%; height: auto; }
#custominfoarea { right: 10px; left: auto; }
.nojs .specialinfo, .nojs .upfilelist { overflow-y: visible; height: auto !important; }
.popupmenu_popup, #e_popup_smilies_menu { *margin-top: 22px; }
* html .popupmenu_popup li { clear: both; float: left; }
* html .fontstyle_menu { overflow: hidden; width: 35px; }
* html .fontstyle_menu ul { width: 70px; }
* html .fontname_menu li { float: none; }
<? } if(CURSCRIPT == 'register') { ?>
* html .content { overflow-y: visible !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 20%; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; right: -15px; left: auto; width: auto; }
* html .nojs .moreconf { position: absolute; left: 0; bottom: 55px; }
*+html .nojs .moreconf { position: absolute; left: 165px; }
#floatwinnojs { position: static; }
.nojs .loginform, .nojs .regform, .nojs .floatbox, .nojs .floatbox1 { height: auto; }
.nojs .gateform { padding-bottom: 50px; }
<? if($secqaacheck) { ?>
.regform #secanswer_menu { left: 260px; top: 176px; }
* html .regform #secanswer_menu { left: 113px; }
.regform #seccodeverify_menu { left: 340px; }
* html .regform #seccodeverify_menu { left: 193px;}
<? } else { ?>
.regform #seccodeverify_menu { left: 260px; }
* html .regform #seccodeverify_menu { left: 113px; }
<? } } ?>
</style><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', allowfloatwin = '<?=$allowfloatwin?>', 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="include/js/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>
<a href="my.php?item=threads<? if($forum) { ?>&srchfid=<?=$forum['fid']?><? } ?>">我的帖子</a>
<? 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 href="pm.php" id="pm_ntc"<? if($newpm && $_DCOOKIE['pmnum']) { ?> onmouseover="pmviewnew()" class="new" title="您有新短消息"<? } ?> target="_blank">短消息<? if($newpm && $_DCOOKIE['pmnum']) { ?><span>(<?=$_DCOOKIE['pmnum']?>)</span><? } ?></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&formhash=<?=FORMHASH?>">退出</a>
<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
<cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">激活</a>
<a href="logging.php?action=logout&formhash=<?=FORMHASH?>">退出</a>
<? } else { ?>
<a href="<?=$regname?>" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><?=$reglinkname?></a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">登录</a>
<? } ?>
</div>
<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !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>
<div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> » 搜索</div>
<div id="wrap" class="wrap">
<form class="searchform" method="post" action="search.php"<? if($qihoo['status']) { ?> target="_blank"<? } ?>>
<input type="hidden" name="formhash" value="<?=FORMHASH?>" />
<? if(!empty($srchtype)) { ?><input type="hidden" name="srchtype" value="<?=$srchtype?>" /><? } ?>
<label for="srchtxt" class="searchlabel">
搜索
<strong>
<? if($srchtype == 'threadsort') { ?>
分类信息
<? } elseif($srchtype == 'trade') { ?>
商品
<? } elseif($srchtype == 'qihoo') { ?>
奇虎全文
<? } else { ?>
帖子
<? } ?>
</strong>
</label>
<? if($srchtype != 'threadsort') { ?>
<p class="searchkey">
<input type="text" id="srchtxt" name="srchtxt" 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">标题</option>
<? if(!$disabled['fulltext']) { ?><option value="fulltext">全文</option><? } ?>
</select>
<? } ?>
<button type="submit" name="searchsubmit" id="searchsubmit" value="true">搜索</button>
<? if($checkarray['posts']) { ?>
<a href="javascript:;" onclick="display('search_option')">高级</a>
<? } ?>
</p>
<? } ?>
<p>
<input type="radio" name="st" onclick="window.location=('search.php')" <?=$checkarray['posts']?> id="srchtypeposts"/> <label for="srchtypeposts">帖子</label>
<input type="radio" name="st" onclick="window.location=('search.php?srchtype=trade')" <?=$checkarray['trade']?> id="srchtypetrade"/> <label for="srchtypetrade">商品</label>
<? if($qihoo['status']) { ?><input type="radio" name="st" onclick="window.location=('search.php?srchtype=qihoo')" <?=$checkarray['qihoo']?> id="srchtypeqihoo" /> <label for="srchtypeqihoo">奇虎全文</label><? } ?>
<input type="radio" name="st" onclick="window.location=('search.php?srchtype=threadsort')" <?=$checkarray['threadsort']?> id="srchtypesort"/> <label for="srchtypesort">分类信息</label>
</p><? $policymsgs = $p = ''; if(is_array($creditspolicy['search'])) { foreach($creditspolicy['search'] as $id => $policy) { ?><?
$policymsg = <<<EOF
EOF;
if($extcredits[$id]['img']) {
$policymsg .= <<<EOF
{$extcredits[$id]['img']}
EOF;
}
$policymsg .= <<<EOF
{$extcredits[$id]['title']} {$policy} {$extcredits[$id]['unit']}
EOF;
?><? $policymsgs .= $p.$policymsg;$p = ', '; } } if($policymsgs) { ?><p>每进行一次搜索将扣除 <?=$policymsgs?></p><? } if($srchtype != 'qihoo') { ?>
<div id="search_option" <? if($checkarray['posts']) { ?>style="display: none;"<? } ?>>
<hr class="shadowline"/>
<h3>搜索选项</h3>
<table summary="搜索" cellspacing="0" cellpadding="0" class="formtable">
<? if($srchtype == 'threadsort') { ?>
<tr>
<th><label for="typeid">分类信息</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">无</option><?=$threadsorts?>
</select>
<span id="threadsortswait"></span>
</td>
</tr>
<tbody id="threadsorts"></tbody>
<? } if($checkarray['posts'] || $srchtype == 'trade') { ?>
<tr>
<td>作者</th>
<td><input type="text" id="srchname" name="srchuname" size="45" maxlength="40" class="txt" /></td>
</tr>
<tr>
<td>主题范围</td>
<td>
<label><input type="radio" name="srchfilter" value="all" checked="checked" /> 全部主题</label>
<label><input type="radio" name="srchfilter" value="digest" /> 精华主题</label>
<label><input type="radio" name="srchfilter" value="top" /> 置顶主题</label>
</td>
</tr>
<? } if($checkarray['posts']) { ?>
<tr>
<td>特殊主题</td>
<td>
<label><input type="checkbox" name="special[]" value="1" /> 投票主题</label>
<label><input type="checkbox" name="special[]" value="2" /> 商品主题</label>
<label><input type="checkbox" name="special[]" value="3" /> 悬赏主题</label>
<label><input type="checkbox" name="special[]" value="4" /> 活动主题</label>
<label><input type="checkbox" name="special[]" value="5" /> 辩论主题</label>
<label><input type="checkbox" name="special[]" value="6" /> 视频主题</label>
</td>
</tr>
<? } if($srchtype == 'trade') { ?>
<tr>
<td>商品类别</td>
<td>
<select name="srchtypeid"><option value="">全部</option><? if(is_array($tradetypes)) { foreach($tradetypes as $typeid => $typename) { ?><option value="<?=$typeid?>"><?=$typename?></option><? } } ?></select>
</td>
</tr>
<? } if($checkarray['posts'] || $srchtype == 'trade') { ?>
<tr>
<th><label for="srchfrom">搜索时间</label></th>
<td>
<select id="srchfrom" name="srchfrom">
<option value="0">全部时间</option>
<option value="86400">1 天</option>
<option value="172800">2 天</option>
<option value="604800">1 周</option>
<option value="1296000">1 个月</option>
<option value="5184000">3 个月</option>
<option value="8640000">6 个月</option>
<option value="31536000">1 年</option>
</select>
<label><input type="radio" name="before" value="" checked="checked" /> 以内</label>
<label><input type="radio" name="before" value="1" /> 以前</label>
</td>
</tr>
<tr>
<td><label for="orderby">排序类型</label></td>
<td>
<select id="orderby1" name="orderby">
<option value="lastpost" selected="selected">回复时间</option>
<option value="dateline">发布时间</option>
<option value="replies">回复数量</option>
<option value="views">浏览次数</option>
</select>
<select id="orderby2" name="orderby" style="position: absolute; display: none" disabled>
<option value="dateline" selected="selected">发布时间</option>
<option value="price">商品现价</option>
<option value="expiration">剩余时间</option>
</select>
<label><input type="radio" name="ascdesc" value="asc" /> 按升序排列</label>
<label><input type="radio" name="ascdesc" value="desc" checked="checked" /> 按降序排列</label>
</td>
</tr>
<? } ?>
<tr>
<td valign="top"><label for="srchfid">搜索范围</label></td>
<td>
<select id="srchfid" name="srchfid[]" multiple="multiple" size="10" style="width: 26em;">
<option value="all"<? if(!$srchfid) { ?> selected="selected"<? } ?>>全部版块</option>
<?=$forumselect?>
</select>
</td>
</tr>
<? if($srchtype == 'threadsort') { ?>
<tr>
<th> </th>
<td><button class="submit" type="submit" name="searchsubmit" value="true">搜索</button></td>
</tr>
<? } ?>
</table>
</div>
<? } if(empty($srchtype) && empty($keyword)) { ?>
<hr class="shadowline"/>
<h3>便捷搜索</h3>
<table cellspacing="4" cellpadding="0" width="100%">
<tr>
<td><a href="search.php?srchfrom=3600&searchsubmit=yes">1 小时以内的新帖</a></td>
<td><a href="search.php?srchfrom=14400&searchsubmit=yes">4 小时以内的新帖</a></td>
<td><a href="search.php?srchfrom=28800&searchsubmit=yes">8 小时以内的新帖</a></td>
<td><a href="search.php?srchfrom=86400&searchsubmit=yes">24 小时以内的新帖</a></td>
</tr>
<tr>
<td><a href="search.php?srchfrom=604800&searchsubmit=yes">1 周内帖子</a></td>
<td><a href="search.php?srchfrom=2592000&searchsubmit=yes">1 月内帖子</a></td>
<td><a href="search.php?srchfrom=15552000&searchsubmit=yes">6 月内帖子</a></td>
<td><a href="search.php?srchfrom=31104000&searchsubmit=yes">1 年内帖子</a></td>
</tr>
</table>
<? } ?>
</form>
<? if(!empty($searchid) && submitcheck('searchsubmit', 1)) { if($checkarray['posts']) { ?><div class="searchlist threadlist datalist">
<div class="itemtitle s_clear">
<h1><? if($keyword) { ?>结果: <em>找到 “<span class="emfont"><?=$keyword?></span>” 相关主题 <?=$index['threads']?> 个</em><? } else { ?>结果: <em>找到相关主题 <?=$index['threads']?> 个</em><? } ?></h1>
<? if(!empty($multipage)) { ?><?=$multipage?><? } ?>
</div>
<table summary="搜索" cellspacing="0" cellpadding="0" width="100%" class="datatable">
<thead>
<tr class="colplural">
<td class="icon"> </td>
<th>标题</th>
<td class="forum">版块</td>
<td class="author">作者</td>
<td class="nums">回复/查看</td>
<td class="lastpost"><cite>最后发表</cite></td>
</tr>
</thead><? if(is_array($threadlist)) { foreach($threadlist as $thread) { ?><tbody>
<tr>
<td class="icon">
<? if($thread['special'] == 1) { ?>
<img src="<?=IMGDIR?>/pollsmall.gif" alt="投票" />
<? } elseif($thread['special'] == 2) { ?>
<img src="<?=IMGDIR?>/tradesmall.gif" alt="商品" />
<? } elseif($thread['special'] == 3) { ?>
<img src="<?=IMGDIR?>/rewardsmall.gif" alt="悬赏" />
<? } elseif($thread['special'] == 4) { ?>
<img src="<?=IMGDIR?>/activitysmall.gif" alt="活动" />
<? } elseif($thread['special'] == 5) { ?>
<img src="<?=IMGDIR?>/debatesmall.gif" alt="辩论" />
<? } elseif($thread['special'] == 6) { ?>
<img src="<?=IMGDIR?>/videosmall.gif" alt="视频" />
<? } else { ?>
<?=$thread['icon']?>
<? } ?>
</td>
<th class="subject">
<label>
<? if($thread['digest'] > 0) { ?>
<img src="<?=IMGDIR?>/digest_<?=$thread['digest']?>.gif" alt="精华 <?=$thread['digest']?>" />
<? } ?>
</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="图片附件" class="attach" />
<? } elseif($thread['attachment'] == 1) { ?>
<img src="images/attachicons/common.gif" alt="附件" class="attach" />
<? } if($thread['multipage']) { ?><span class="threadpages"><?=$thread['multipage']?></span><? } ?>
</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']?>">匿名</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="space.php?username=<?=$thread['lastposterenc']?>"><?=$thread['lastposter']?></a><? } else { ?>匿名<? } ?></cite>
<em><a href="redirect.php?tid=<?=$thread['tid']?>&goto=lastpost<?=$highlight?>#lastpost"><?=$thread['lastpost']?></a></em>
</td>
</tr>
</tbody><? } } if(empty($threadlist)) { ?>
<tbody><tr><th colspan="6">对不起,没有找到匹配结果。</th></tr></tbody>
<? } ?>
</table>
<? if(!empty($multipage)) { ?><div class="pages_btns s_clear"><?=$multipage?></div><? } ?>
</div>
<? } elseif($checkarray['threadsort']) { ?><!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?>
<style type="text/css">
@import url(forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>);
<? if(CURSCRIPT == 'viewthread') { ?>
@import url(forumdata/cache/style_<?=STYLEID?>_viewthread.css?<?=VERHASH?>);
<? } if(CURSCRIPT == 'forumdisplay' && $forum['ismoderator']) { include template('css_topicadmin'); } elseif(CURSCRIPT == 'viewthread') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
#f_post td { padding-top: 15px; padding-bottom: 20px; vertical-align: top; }
#f_post p, .fastcheck { margin: 5px 0; }
#f_post .txtarea { margin: -1px 0 0; width: 596px; height: 120px; border-color: <?=INPUTBORDERDARKCOLOR?> <?=INPUTBORDER?> <?=INPUTBORDER?> <?=INPUTBORDERDARKCOLOR?>; border-top: none; overflow: auto; }
.defaultpost { height: auto !important; height:<?=$_DCACHE['custominfo']['postminheight']?>px; min-height:<?=$_DCACHE['custominfo']['postminheight']?>px !important; }
.signatures { max-height: <?=$maxsigrows?>px; }
* html .signatures { height: expression(signature(this)); }
.t_msgfontfix { min-height: 100px; }
* html .t_msgfontfix { height: 100px; overflow: visible; }
<? if($thread['special'] == 5 && $stand != '') { ?>
.stand_select .postauthor { background: #EBF2F8; }
.stand_select .itemtitle, .stand_select .solidline { margin: 15px 15px 10px; }
.stand_select h2 { float: left; }
<? } } elseif(CURSCRIPT == 'pm') { ?>
#pm_content h1 { float: left; font-size: 14px; }
.postpm { float: right; color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
.pm_header { padding: 6px; border: solid <?=COMMONBORDER?>; border-width: 1px 0; }
.pm_header #pm_search { float: right; }
.pm_list { }
.pm_list li { position: relative; *margin-top: -2px; padding: 10px 140px 10px 75px; min-height: 48px; _height: 48px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.pm_list li .avatar { position: absolute; left: 5px; top: 8px; }
.pm_list .self .avatar { left: auto; right: 75px; }
.pm_list p cite, .pm_list p .time { color: <?=MIDTEXT?>; }
.pm_list p cite { display: block; width: 260px; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm_list p cite.new { padding-left: 25px; background: url(<?=IMGDIR?>/notice_newpm.gif) no-repeat 0 3px; }
.pm_list p cite a { margin-right: 5px; }
.pm_list li .action { position: absolute; right: 10px; top: 50%; margin-top: -18px; display: block; width: 50px; height: 36px; }
.pm_list li .action a { display: block; text-decoration: underline; }
.pm_list li .action a.delete { color: <?=HIGHLIGHTLINK?>; }
.pm_list li .topact { top: 8px; margin-top: 0; }
.sticky { display: block !important; }
.pm_list li.pm_date { padding: 5px 0 5px 75px; min-height: 0; }
#pm_list ul.onerror { padding: 20px 0 0 95px; background-position: 75px 22px; }
#pmlist .summary a { color: <?=HIGHLIGHTLINK?>; }
.pmreply { margin: 1em 0; padding-left: 75px; }
.pmreply textarea { width: 510px; }
.pmback { width: 70px; padding-left: 15px; w\idth: 55px; background: url(<?=IMGDIR?>/arrow_left.gif) no-repeat 0 50%; }
#buddies li { float: left; width: 8em; height: 1.6em; overflow: hidden; white-space: nowrap; }
.newpm_notice { padding: 0 0 10px 75px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.newpm_notice a { color: <?=HIGHLIGHTLINK?>; }
.quote { margin: 10px 0; padding: 10px 10px 10px 65px; }
.quote { padding-bottom: 5px; background: #F9F9F9 url(<?=IMGDIR?>/icon_quote_s.gif) no-repeat 20px 6px; }
.quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url(<?=IMGDIR?>/icon_quote_e.gif) no-repeat 100% 100%; line-height: 1.6em; }
.blockall { margin-bottom: 10px; padding: 10px 0; background: <?=SPECIALBG?>; text-align: center; color: <?=LIGHTTEXT?>; }
.blockall a { color: <?=HIGHLIGHTLINK?>; font-size: 1.17em; }
.blacklist li a, .blacklist li strong { float: left; }
.blacklist .remove { margin: 4px 0 0 5px; width: 12px; height: 12px; background: url(<?=IMGDIR?>/close.gif) no-repeat 100% 50px; line-height: 100px; overflow: hidden; }
.blacklist .hover .remove { background-position: 100% 0; }
.blacklist .remove:hover { background-position: 100% -12px; }
.allblocked { padding-bottom: 10px; width: 100%!important; border-bottom: 1px solid <?=COMMONBORDER?>; }
.allblocked a { margin-left: 10px; color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'magic') { ?>
.magicprice { color: <?=NOTICETEXT?>; font-weight: 700; font-size: 16px; }
.magic_yes { color: #080; font-weight: 700; }
.magic_no { color: #F00; font-weight: 700; }
.magicmain { height: 180px; overflow-y: auto; }
.magicinfo { margin-bottom: 10px; width: 100%; }
.magicinfo td { padding: 3px 0; }
.magicinfo h5 { font-size: 14px; }
.mymagic { margin-bottom: 30px; }
.mymagic .inlinelist li { float: left; margin-top: 10px; width: 50%; }
.mymagic .magicimg { float:left; margin-right: 10px; width: 25%; }
.mymagic .magicdetail { float:left; width: 65%; }
.mymagic h5 a { text-decoration: underline; color: <?=HIGHLIGHTLINK?>; }
.mymagic p { margin: 3px 0; }
.mymagic .inlinelist .clear { float: none; clear: both; margin: 0; width: 100%; }
.magicnum { margin: 10px 0; }
.magicnum p { margin-top: 5px; }
.fixedbtn { position: absolute; bottom: 15px; }
<? } elseif(CURSCRIPT == 'medal') { ?>
.medallist { overflow: hidden; margin-bottom: 30px; }
.medallist li { margin-bottom: 15px; width: 24.9%; }
.medalimg { float: left; margin: 5px; width: 15%; }
.medalinfo { float: left; width: 75%; }
.medalinfo p { color: <?=MIDTEXT?>; }
.medalexp { margin-left: 8px; color: <?=LIGHTTEXT?>; font-weight: 400; }
.medallist .clear { overflow: hidden; float: none; clear: both; margin: 0; width: 100%; height: 1px; }
.medalp { margin-bottom: 10px; }
<? } elseif(CURSCRIPT == 'invite') { ?>
.invitecode { border: none !important; background-color: transparent; font-family: "Courier New", Courier, monospace, serif; }
input.marked { background: transparent url(<?=IMGDIR?>/check_right.gif) no-repeat 100% 50%; }
.expiration .invitecode { text-decoration: line-through; color: red; }
<? } elseif(CURSCRIPT == 'search') { ?>
.searchform { position: relative; margin: 0 5px 10px; padding: 30px 10px 20px 160px; border-top: 5px solid <?=WRAPBG?>; background: <?=SPECIALBG?>; }
.searchlabel { position: absolute; left: 0; _left: -160px; top: 30px; width: 150px; text-align: center; font-weight: 700; font-size: 26px; color: <?=HIGHLIGHTLINK?>; line-height: 30px; }
.searchlabel strong { display: block; font-size: 14px; color: <?=MIDTEXT?>; font-weight: 400; text-align: center; }
.searchform h3 { margin: 10px 2px; font-size: 14px; }
.searchkey { margin-bottom: 1em; zoom: 1; }
.searchkey #searchsubmit { margin: 0 16px 0 10px; }
* html #searchsubmit { height: 21px; line-height: 19px; }
*+html #searchsubmit { height: 21px; line-height: 19px; }
.searchkey a { background: url(images/common/editor.gif) 0 -181px no-repeat; padding:2px 0 2px 22px; color: <?=HIGHLIGHTLINK?>; }
.searchlist { margin: 5px 20px; }
.searchlist h1 { font-size: 14px; }
.searchlist h1 em { font-weight: 400; }
#srchfid optgroup, #moveto optgroup { font-style: normal; font-weight: 400; font-size: 12px; }
<? } elseif(CURSCRIPT == 'faq' || CURSCRIPT == 'announcement') { ?>
.faqmessage, .announcemsg { margin-bottom: 10px; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.faqmessage ul, .announcemsg ul { padding-left: 1.6em; }
.faq li { margin-left: 2em; }
.faq ul li { list-style-type: disc; }
.t_msgfont ul.o li, .faq ol li { list-style-type: decimal; }
.author { margin-bottom: 5px; font-size: 12px; color: <?=LIGHTTEXT?>; }
<? } elseif(CURSCRIPT == 'memcp' || CURSCRIPT == 'credits') { if(CURSCRIPT == 'memcp') { ?>
.avatararea { float: left; margin-right: 20px; width: 120px; }
.avatararea a { display:block; margin: 15px 0; width: 119px; height: 31px; line-height: 31px; text-align: center; background: url(<?=IMGDIR?>/bigbtn.gif) no-repeat; font-size: 14px; }
.avatararea a:hover { text-decoration: none; }
#avatarctrl { float: left; }
<? } ?>
.creditstable {}
.creditstable td { padding: 10px 5px !important; }
.cre_title { width: 50px; }
.cre_opt { width: 150px; }
.cre_arrow { width: 30px; }
.cre_btn { margin-top: 10px; }
<? } elseif(CURSCRIPT == 'my' && $item == 'buddylist') { ?>
.friendavatar { float: left; margin: 10px 10px 10px 0; }
.friendinfo { overflow: hidden; margin: 10px 10px 10px 0; }
* html .friendinfo { margin-left: 70px; }
.friendinfo p { color: <?=LIGHTTEXT?> }
.friendinfo a { text-decoration: none !important; }
.friendinfo a:hover { text-decoration: underline !important; }
.friendinfo h5 a { font-size: 14px; color: <?=HIGHLIGHTLINK?>; }
.friendctrl { margin-top :5px; }
.friendctrl a { color: <?=TABELTEXT?>; }
.buddyname { margin-bottom: 8px; line-height: 16px; }
.online_buddy { margin-left: 8px; vertical-align: middle; }
<? } elseif(CURSCRIPT == 'modcp') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
.notelist { margin-top: -1px; border-top: 1px solid <?=COMMONBORDER?>; border-bottom: 1px solid <?=COMMONBORDER?>; zoom: 1; }
.notelist .c_header, .notelistsubmit { margin: 10px; }
.notelistbg, .notelistbg .c_header h3, .notelistbg .closenode .c_header_ctrlbtn { background-color: <?=INTERLEAVECOLOR?>; }
.notelistmsg { overflow: hidden; margin: 0 10px 10px 33px; }
.notelistmsg .submit { margin-top: 10px; }
.notelistmsg h3 { margin: 30px 0 5px; color: <?=HIGHLIGHTLINK?>; }
.datalist .announcetable { width: 600px; }
.datalist .announcetable, .datalist .announcetable th, .datalist .announcetable td { padding: 3px 0; border: none; }
.datalist .announcetable th { font-weight: 700; }
.anno_subject .txt { width: 270px; *width: 220px; }
.anno_type select { width: 80px; }
.anno_time .txt { width: 80px; }
.anno_msg .txtarea, .anno_msg .txt { width: 590px; }
.anno_msg .txtarea { margin-top: -1px; border-top-color: <?=INPUTBORDER?>; }
.schresult .formtable th { padding: 5px 10px 5px 20px; width: 60px; }
.schresult .formtable td a{ color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
<? } elseif(CURSCRIPT == 'stats' || CURSCRIPT == 'member') { ?>
.hasscrolltable { overflow: hidden; zoom: 1; * padding-bottom: 9px; }
.datalist .scrollfixedtable { float: left; margin-top: 1px; margin-left: 1px; width: 20%; }
.scrolltable { float:left; width: 79%; overflow-x: scroll; }
.scrolltable table { table-layout: fixed; margin: 1px 0 0; width: 1600px; }
.datalist .fixedtable { margin-bottom: 10px; width: 99%; text-align: right; }
.datalist .fixedtable a { text-decoration: underline; }
.datalist table a { text-decoration: underline; }
.datalist table a:hover { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'profile') { ?>
#profile .itemtitle h1 { color: <?=HIGHLIGHTLINK?>; }
#profile p { margin: 5px 0; }
.profile_side .avatar { margin: 25px 0; text-align: center; }
.profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
.profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
.profile_side li.pm { background-image: url(<?=IMGDIR?>/pmto.gif); }
.profile_side li.buddy { background-image: url(<?=IMGDIR?>/addbuddy.gif); }
.profile_side li.space { background-image: url(<?=IMGDIR?>/home.gif); }
.profile_side li.searchpost { background-image: url(<?=IMGDIR?>/fastreply.gif); }
.profile_side li.magic { background-image: url(<?=IMGDIR?>/magic.gif);}
#profile_stats li { text-indent: 0; }
#profile_stats li img { float: left; margin-right: 6px; }
#uch_feed { float: right; width: 50%; }
#uch_feed li { width: 100%; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#uch_feed img { margin-bottom: -4px; }
#uch_feed a { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'post') { ?>
* html .content { height: auto !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 0; }
* html .nojs .sim_upfile .sitenote { bottom: 161px; }
* html .nojs .sim_upfile .upfile_special { bottom: 301px; }
* html .nojs .sim_upfile .upfile { bottom: 356px; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; left: 0; width: auto; }
#floatwinnojs { position: static; }
.nojs .floatboxswf { width: 600px !important; }
.nojs .floatboxswf div { margin: 0 0 10px 11px; }
.nojs .floatbox1 { width: 100%; height: auto; }
#custominfoarea { right: 10px; left: auto; }
.nojs .specialinfo, .nojs .upfilelist { overflow-y: visible; height: auto !important; }
.popupmenu_popup, #e_popup_smilies_menu { *margin-top: 22px; }
* html .popupmenu_popup li { clear: both; float: left; }
* html .fontstyle_menu { overflow: hidden; width: 35px; }
* html .fontstyle_menu ul { width: 70px; }
* html .fontname_menu li { float: none; }
<? } if(CURSCRIPT == 'register') { ?>
* html .content { overflow-y: visible !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 20%; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; right: -15px; left: auto; width: auto; }
* html .nojs .moreconf { position: absolute; left: 0; bottom: 55px; }
*+html .nojs .moreconf { position: absolute; left: 165px; }
#floatwinnojs { position: static; }
.nojs .loginform, .nojs .regform, .nojs .floatbox, .nojs .floatbox1 { height: auto; }
.nojs .gateform { padding-bottom: 50px; }
<? if($secqaacheck) { ?>
.regform #secanswer_menu { left: 260px; top: 176px; }
* html .regform #secanswer_menu { left: 113px; }
.regform #seccodeverify_menu { left: 340px; }
* html .regform #seccodeverify_menu { left: 193px;}
<? } else { ?>
.regform #seccodeverify_menu { left: 260px; }
* html .regform #seccodeverify_menu { left: 113px; }
<? } } ?>
</style><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', allowfloatwin = '<?=$allowfloatwin?>', 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="include/js/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>
<a href="my.php?item=threads<? if($forum) { ?>&srchfid=<?=$forum['fid']?><? } ?>">我的帖子</a>
<? 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 href="pm.php" id="pm_ntc"<? if($newpm && $_DCOOKIE['pmnum']) { ?> onmouseover="pmviewnew()" class="new" title="您有新短消息"<? } ?> target="_blank">短消息<? if($newpm && $_DCOOKIE['pmnum']) { ?><span>(<?=$_DCOOKIE['pmnum']?>)</span><? } ?></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&formhash=<?=FORMHASH?>">退出</a>
<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
<cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">激活</a>
<a href="logging.php?action=logout&formhash=<?=FORMHASH?>">退出</a>
<? } else { ?>
<a href="<?=$regname?>" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><?=$reglinkname?></a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">登录</a>
<? } ?>
</div>
<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !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>
<div id="nav">
<a href="<?=$indexname?>"><?=$bbname?></a> » 分类信息
</div>
<div id="wrap" class="wrap s_clear">
<div class="main">
<div class="content">
<div class="searchlist threadlist datalist">
<div class="itemtitle s_clear">
<h1>结果: <em>找到相关主题 <?=$index['threads']?> 个</em></h1>
<? if(!empty($multipage)) { ?><?=$multipage?><? } ?>
</div>
<table summary="搜索" cellspacing="0" cellpadding="0" width="100%" class="datatable">
<thead>
<tr class="colplural">
<td class="icon"> </td>
<td>标题</td><? if(is_array($optionlist)) { foreach($optionlist as $var) { ?><td style="width: 10%"><?=$var?></td><? } } ?><td style="width: 15%">发布时间</td>
</tr>
</thead>
<? if($resultlist) { if(is_array($resultlist)) { foreach($resultlist as $tid => $value) { ?><tbody>
<tr>
<td class="icon"><?=$value['icon']?></td>
<th><a href="viewthread.php?tid=<?=$tid?>" target="_blank"><?=$value['subject']?></a></th><? if(is_array($value['option'])) { foreach($value['option'] as $var) { ?><td style="width: 10%"><? if($var) { ?><?=$var?><? } else { ?> <? } ?></td><? } } ?><td style="width: 15%"><?=$value['dateline']?></td>
</tr>
</tbody><? } } } else { ?>
<tr><td colspan="<?=$colspan?>">对不起,没有找到匹配结果。</td></tr>
<? } ?>
</table>
<? if(!empty($multipage)) { ?><div class="pages_btns s_clear"><?=$multipage?></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($admode && empty($insenz['hardadstatus']) && !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>
<? } ?>
<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><? } ?>
</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&host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p>
<p class="smalltext">© 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="include/js/iframe.js?<?=VERHASH?>" type="text/javascript"></script>
<? } output(); if($_DCACHE['settings']['uchomeurl'] && $discuz_uid) { ?>
<script src="<?=$uchomeurl?>/api/discuz.php?pagetype=<?=CURSCRIPT?>&status=<?=$_DCACHE['settings']['homeshow']?>&uid=<?=$discuz_uid?>&infosidestatus=<?=$infosidestatus['allow']?><? if(CURSCRIPT == 'viewthread') { ?>&feedpostnum=<?=$feedpostnum?><? if($page == '1') { ?>&updateuid=<?=$feeduid?>&pid=<?=$firstpid?><? } } elseif(CURSCRIPT == 'profile') { ?>&updateuid=<?=$profileuid?><? } ?>" type="text/javascript"></script>
<? } ?>
</body>
</html><? } } ?>
</div>
<script type="text/javascript">
<? if($sortid) { ?>
ajaxget('post.php?action=threadsorts&sortid=<?=$sortid?>&operate=1&inajax=1', 'threadsorts', 'threadsortswait');
<? } ?>
</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($admode && empty($insenz['hardadstatus']) && !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>
<? } ?>
<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><? } ?>
</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&host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p>
<p class="smalltext">© 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="include/js/iframe.js?<?=VERHASH?>" type="text/javascript"></script>
<? } output(); if($_DCACHE['settings']['uchomeurl'] && $discuz_uid) { ?>
<script src="<?=$uchomeurl?>/api/discuz.php?pagetype=<?=CURSCRIPT?>&status=<?=$_DCACHE['settings']['homeshow']?>&uid=<?=$discuz_uid?>&infosidestatus=<?=$infosidestatus['allow']?><? if(CURSCRIPT == 'viewthread') { ?>&feedpostnum=<?=$feedpostnum?><? if($page == '1') { ?>&updateuid=<?=$feeduid?>&pid=<?=$firstpid?><? } } elseif(CURSCRIPT == 'profile') { ?>&updateuid=<?=$profileuid?><? } ?>" type="text/javascript"></script>
<? } ?>
</body>
</html>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/1_search.tpl.php
|
PHP
|
asf20
| 61,563
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/post.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/header_nofloat.htm', 1250691956, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/post.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/seccheck.htm', 1250691956, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/post.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/footer_nofloat.htm', 1250691956, '2', './templates/uchome')
;?>
<? include template('header'); ?><?
$actiontitle = <<<EOF
EOF;
if($action == 'newthread') { if($special == 0) {
$actiontitle .= <<<EOF
发新话题
EOF;
} elseif($special == 1) {
$actiontitle .= <<<EOF
发布投票
EOF;
} elseif($special == 2) {
$actiontitle .= <<<EOF
发布商品
EOF;
} elseif($special == 3) {
$actiontitle .= <<<EOF
发布悬赏
EOF;
} elseif($special == 4) {
$actiontitle .= <<<EOF
发布活动
EOF;
} elseif($special == 5) {
$actiontitle .= <<<EOF
发布辩论
EOF;
} elseif($special == 6) {
$actiontitle .= <<<EOF
发布视频
EOF;
} } elseif($action == 'reply' && !empty($addtrade)) {
$actiontitle .= <<<EOF
添加商品
EOF;
} elseif($action == 'reply') {
$actiontitle .= <<<EOF
参与/回复主题
EOF;
} elseif($action == 'edit') {
$actiontitle .= <<<EOF
编辑帖子
EOF;
}
$actiontitle .= <<<EOF
EOF;
?>
<? if(empty($infloat)) { $navigation .= '» '.$actiontitle; ?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_float.css?<?=VERHASH?>" />
<style type="text/css">
.main { overflow: hidden; }
.content { margin: 5px; min-height: 400px; <?=FLOATBGCODE?>; }
* html .content { height: 400px; overflow: auto; }
.fixedbtn { position: static; }
</style>
<div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> <?=$navigation?></div>
<div id="wrap" class="wrap s_clear">
<div class="main"><div class="content"><div class="nojs">
<div id="floatwinnojs"><? } ?>
<script type="text/javascript" reload="1">
var infloat = <? if(!empty($infloat)) { ?>1<? } else { ?>0<? } ?>;
var InFloat_Editor = 'floatlayout_<?=$action?>';
var editoraction = '<?=$action?>';
</script><? $adveditor = $isfirstpost && $special || $special == 2 && ($action == 'newthread' || $action == 'reply' && !empty($addtrade) || $action == 'edit' && $thread['special'] == 2); $advmore = !$showthreadsorts && !$special || $action == 'reply' && empty($addtrade) || $action == 'edit' && !$isfirstpost && ($thread['special'] == 2 && !$special || $thread['special'] != 2); ?><div class="float" id="floatlayout_<?=$action?>" style="<? if(!empty($infloat)) { ?>width: 600px; height: 410px;<? } ?>">
<form method="post" id="postform"
<? if($action == 'newthread') { ?>action="post.php?<? if(!empty($infloat)) { ?>infloat=yes<? } ?>&action=<? if($special != 2) { ?>newthread<? } else { ?>newtrade<? } ?>&fid=<?=$fid?>&extra=<?=$extra?>&topicsubmit=yes"
<? } elseif($action == 'reply') { ?>action="post.php?<? if(!empty($infloat)) { ?>infloat=yes<? } ?>&action=reply&fid=<?=$fid?>&tid=<?=$tid?>&extra=<?=$extra?>&replysubmit=yes"
<? } elseif($action == 'edit') { ?>action="post.php?<? if(!empty($infloat)) { ?>infloat=yes<? } ?>&action=edit&extra=<?=$extra?>&editsubmit=yes&mod=<?=$mod?>"
<? } ?>
<?=$enctype?> onsubmit="return validate(this)">
<input type="hidden" name="formhash" id="formhash" value="<?=FORMHASH?>" />
<? if(!empty($modthreadkey)) { ?><input type="hidden" name="modthreadkey" id="modthreadkey" value="<?=$modthreadkey?>" /><? } if(!empty($infloat)) { ?><input type="hidden" name="handlekey" value="<?=$handlekey?>" /><? } ?>
<input type="hidden" name="wysiwyg" id="<?=$editorid?>_mode" value="<?=$editormode?>" />
<? if($action == 'edit') { ?>
<input type="hidden" name="fid" id="fid" value="<?=$fid?>" />
<input type="hidden" name="tid" value="<?=$tid?>" />
<input type="hidden" name="pid" value="<?=$pid?>" />
<? } if($special) { ?>
<input type="hidden" name="special" value="<?=$special?>" />
<? } if($isfirstpost) { ?>
<input type="hidden" name="iconid" id="iconid" value="<?=$thread['iconid']?>" />
<? } ?>
<input type="hidden" name="updateswfattach" value="0" />
<div style="clear:both;<? if(!empty($infloat)) { ?> width:2500px<? } ?>">
<? if(!empty($infloat)) { ?><div class="floatbox floatbox1" id="extcreditbox1"></div><? } ?>
<div class="floatbox floatbox1"<? if(!$showthreadsorts && !$adveditor) { ?> id="editorbox"<? } ?>>
<h3 class="float_ctrl">
<em id="returnmessage">
<?=$actiontitle?>
<? if($showthreadsorts) { ?> <?=$forum['threadsorts']['types'][$sortid]?><? } ?>
</em>
<? if($action == 'newthread' && $modnewthreads) { ?><em class="needverify">需审核</em><? } if($action == 'reply' && $modnewreplies) { ?><em class="needverify">需审核</em><? } ?>
<span>
<a href="javascript:;" id="creditlink" onclick="pagescrolls('credit1')" title="积分说明">积分说明</a>
<? if(!empty($infloat)) { ?>
<a href="javascript:;" class="float_newwindow" onclick="editorwindowopen('post.php?<?=$posturl?>')" title="新窗口">新窗口</a>
<? if(!$special && !$showthreadsorts) { ?>
<a href="javascript:;" class="float_max" onclick="resizeEditorwin()" title="最大化" id="resizeEditorwin">最大化</a>
<? } ?>
<a href="javascript:;" class="float_close" onclick="closeEditorwin()" title="关闭">关闭</a>
<? } ?>
</span>
</h3>
<div class="postbox" id="postbox">
<div class="float_postinfo s_clear"<? if($action == 'reply') { ?> style="overflow:hidden"<? } ?>>
<? if(!$special && $isfirstpost) { ?>
<em id="icon" class="dropmenu" onmouseover="InFloat='floatlayout_<?=$action?>';showMenu(this.id)"><img id="icon_img" src="images/icons/<? if($action == 'edit' && $thread['iconid']) { ?><?=$_DCACHE['icons'][$thread['iconid']]?><? } else { ?>icon1.gif<? } ?>" /></em>
<ul id="icon_menu" class="popupmenu_popup" style="display:none"><? if(is_array($_DCACHE['icons'])) { foreach($_DCACHE['icons'] as $id => $icon) { ?><li><a href="javascript:;"><img onclick="switchicon(<?=$id?>, this)" src="images/icons/<?=$icon?>" alt="" /></a></li><? } } ?></ul>
<? } if(!$isfirstpost && $thread['special'] == 5 && empty($firststand) && $action != 'edit') { ?>
<div class="float_typeid short_select">
<select id="stand" name="stand">
<option value="0">中立</option>
<option value="1">正方</option>
<option value="2">反方</option>
</select>
</div>
<? } if($action == 'reply' && !empty($addtrade) || $action == 'edit' && $thread['special'] == 2 && !$postinfo['first']) { ?>
<input name="subject" type="hidden" value="" />
<? } else { if($action != 'reply') { ?>
<span><input name="subject" id="subject" class="txt" value="<?=$postinfo['subject']?>" tabindex="1" /></span>
<? } else { ?>
<span id="subjecthide">RE: <?=$thread['subject']?> [<a href="javascript:;" onclick="display('subjecthide');display('subjectbox');$('subject').value='RE: <? echo htmlspecialchars(str_replace('\'', '\\\'', $thread['subject'])); ?>'">修改</a>]</span>
<span id="subjectbox" style="display:none"><input name="subject" id="subject" class="txt" value="" tabindex="1" /></span>
<? } } if($action == 'edit' && ($isfirstpost && $thread['replies'] < 1 || !$isfirstpost && ($isorigauthor || $forum['ismoderator']))) { ?>
<div class="right"><input type="checkbox" name="delete" id="delete" value="1" title="删除本帖<? if($thread['special'] == 3) { ?>,返还悬赏费用,不退还手续费。<? } ?>"><label for="delete">删?</label></div>
<? } ?>
<div class="left">
<? if(!$special && ($threadsorts = $forum['threadsorts']) && ($action == 'newthread' || $action == 'edit' && $isfirstpost && !$thread['sortid'])) { ?>
<div class="float_typeid">
<select name="sortid" id="sortid" change="switchsort()">
<? if(!$sortid) { ?><option value="0">分类信息</option><? } if(is_array($threadsorts['types'])) { foreach($threadsorts['types'] as $tsortid => $name) { if(!empty($modelid) && $threadsorts['modelid'][$tsortid] == $modelid || empty($modelid)) { ?>
<option value="<?=$tsortid?>"<? if($sortid == $tsortid) { ?> selected="selected"<? } ?>><? echo strip_tags($name);; ?></option>
<? } } } ?></select>
</div>
<? } if($action == 'edit' && $isfirstpost && $sortid) { ?>
<input type="hidden" name="sortid" value="<?=$sortid?>" />
<? } if($isfirstpost && $forum['threadtypes']['types']) { ?>
<div class="float_typeid">
<select name="typeid" id="typeid">
<option value="0">分类</option><? if(is_array($forum['threadtypes']['types'])) { foreach($forum['threadtypes']['types'] as $typeid => $name) { ?><option value="<?=$typeid?>"<? if($thread['typeid'] == $typeid) { ?> selected="selected"<? } ?>><? echo strip_tags($name);; ?></option><? } } ?></select>
</div>
<? } ?>
</div>
</div>
<? if($showthreadsorts) { ?>
<div class="classifieds"<? if(empty($infloat)) { ?> style="overflow-y:visible;height:auto;"<? } ?>>
<table cellpadding="0" cellspacing="0" class="formtable">
<tbody id="threadsorts"><span id="threadsortswait"></span></tbody>
</table>
</div>
</div></div></div>
<div style="clear:both;<? if(!empty($infloat)) { ?> width:2500px<? } ?>">
<? if(!empty($infloat)) { ?><div class="floatbox floatbox1" id="extcreditbox3"></div><? } ?>
<div class="floatbox floatbox1" id="editorbox">
<? if(!empty($infloat)) { ?>
<h3 class="float_ctrl">
<em><button id="creditlink" type="button" onclick="pagescrolls('return');return false">返回</button></em>
<span>
<a href="javascript:;" onclick="pagescrolls('credit3')" title="积分说明">积分说明</a>
<? if(!empty($infloat)) { ?>
<a href="javascript:;" class="float_max" onclick="editorwindowopen('post.php?<?=$posturl?>')" title="新窗口">新窗口</a>
<a href="javascript:;" class="float_max" onclick="resizeEditorwin()" title="最大化" id="resizeEditorwin">最大化</a>
<a href="javascript:;" class="float_close" onclick="closeEditorwin()" title="关闭">关闭</a>
<? } ?>
</span>
</h3>
<? } ?>
<div class="postbox">
<? } elseif($adveditor) { if($special == 1) { include template('post_poll'); } elseif($special == 2) { include template('post_trade'); } elseif($special == 3) { include template('post_reward'); } elseif($special == 4) { include template('post_activity'); } elseif($special == 5) { include template('post_debate'); } elseif($special == 6) { include template('post_video'); } ?>
</div>
<div style="clear:both;<? if(!empty($infloat)) { ?> width:2500px<? } ?>">
<? if(!empty($infloat)) { ?><div class="floatbox floatbox1" id="extcreditbox3"></div><? } ?>
<div class="floatbox floatbox1" id="editorbox">
<? if(!empty($infloat)) { ?>
<h3 class="float_ctrl">
<em><button id="creditlink" type="button" onclick="pagescrolls('return');return false">返回</button></em>
<span>
<a href="javascript:;" onclick="pagescrolls('credit3')" title="积分说明">积分说明</a>
<? if(!empty($infloat)) { ?>
<a href="javascript:;" class="float_max" onclick="editorwindowopen('post.php?<?=$posturl?>')" title="新窗口">新窗口</a>
<a href="javascript:;" class="float_max" onclick="resizeEditorwin()" title="最大化" id="resizeEditorwin">最大化</a>
<a href="javascript:;" class="float_close" onclick="closeEditorwin()" title="关闭">关闭</a>
<? } ?>
</span>
</h3>
<? } ?>
<div class="postbox">
<? } ?>
<div id="<?=$editorid?>_controls" class="editorrow">
<div class="editor">
<a id="<?=$editorid?>_switcher" class="plugeditor editormode"><input type="checkbox" name="checkbox" value="0" <? if(!$editormode) { ?>checked="checked"<? } ?> onclick="switchEditor(this.checked?0:1)" />源码</a>
<div class="editorbtn"><? if(is_array($_DCACHE['bbcodes_display'])) { foreach($_DCACHE['bbcodes_display'] as $tag => $bbcode) { if($bbcode['type'] == '1') { if($bbcode['icon'] == 'popup_simple') { ?>
<a id="<?=$editorid?>_cmd_bold" title="粗体"><?=$bbcode['tag']?></a>
<a id="<?=$editorid?>_popup_simple" title="<?=$bbcode['explanation']?>"><?=$bbcode['tag']?></a>
<? } elseif(!($tag == 'media' && !$forum['allowmediacode']) && !($tag == 'hide' && !$allowhidecode)) { ?>
<a id="<?=$editorid?>_<?=$bbcode['icon']?>" title="<?=$bbcode['explanation']?>"><?=$bbcode['tag']?></a>
<? } } elseif($bbcode['type'] == '0' && $forum['allowbbcode'] && $allowcusbbcode) { ?>
<a id="<?=$editorid?>_cmd_custom<?=$bbcode['params']?>_<?=$tag?>" class="customedit" title="<?=$bbcode['explanation']?>"><img src="images/common/<?=$bbcode['icon']?>" title="<?=$bbcode['explanation']?>" alt="<?=$tag?>" /></a>
<? } } } ?></div>
</div>
<div class="editortoolbar">
<div class="popupmenu_popup fontstyle_menu" id="<?=$editorid?>_popup_simple_menu" style="display: none">
<ul unselectable="on">
<li><a id="<?=$editorid?>_cmd_italic" title="斜体">斜体</a></li>
<li><a id="<?=$editorid?>_cmd_underline" title="下划线">下划线</a></li>
</ul>
</div><? $fontoptions = array("仿宋_GB2312", "黑体", "楷体_GB2312", "宋体", "新宋体", "微软雅黑", "Trebuchet MS", "Tahoma", "Arial", "Impact", "Verdana", "Times New Roman") ?><div class="popupmenu_popup fontname_menu" id="<?=$editorid?>_popup_fontname_menu" style="display: none">
<ul unselectable="on"><? if(is_array($fontoptions)) { foreach($fontoptions as $fontname) { ?><li onclick="discuzcode('fontname', '<?=$fontname?>')" style="font-family: <?=$fontname?>" unselectable="on"><?=$fontname?></li><? } } ?></ul>
</div><? $sizeoptions = array(1, 2, 3, 4, 5, 6, 7) ?><div class="popupmenu_popup fontsize_menu" id="<?=$editorid?>_popup_fontsize_menu" style="display: none">
<ul unselectable="on"><? if(is_array($sizeoptions)) { foreach($sizeoptions as $size) { ?><li onclick="discuzcode('fontsize', <?=$size?>)" unselectable="on"><font size="<?=$size?>" unselectable="on"><?=$size?></font></li><? } } ?></ul>
</div><? $coloroptions = array('Black', 'Sienna', 'DarkOliveGreen', 'DarkGreen', 'DarkSlateBlue', 'Navy', 'Indigo', 'DarkSlateGray', 'DarkRed', 'DarkOrange', 'Olive', 'Green', 'Teal', 'Blue', 'SlateGray', 'DimGray', 'Red', 'SandyBrown', 'YellowGreen','SeaGreen', 'MediumTurquoise','RoyalBlue', 'Purple', 'Gray', 'Magenta', 'Orange', 'Yellow', 'Lime', 'Cyan', 'DeepSkyBlue', 'DarkOrchid', 'Silver', 'Pink', 'Wheat', 'LemonChiffon', 'PaleGreen', 'PaleTurquoise', 'LightBlue', 'Plum', 'White') ?><div class="popupmenu_popup" id="<?=$editorid?>_popup_forecolor_menu" style="display: none">
<table cellpadding="0" cellspacing="0" border="0" unselectable="on" style="width: auto;"><tr><? if(is_array($coloroptions)) { foreach($coloroptions as $key => $colorname) { ?><td class="editor_colornormal" onclick="discuzcode('forecolor', '<?=$colorname?>')" unselectable="on"><div style="background-color: <?=$colorname?>" unselectable="on"></div></td><? if(($key + 1) % 8 == 0) { ?></tr><tr><? } } } ?></tr></table></div>
<div class="popupmenu_popup" id="<?=$editorid?>_popup_justify_menu" style="display: none">
<ul unselectable="on">
<li><a id="<?=$editorid?>_cmd_justifyleft" title="居左">居左</a></li>
<li><a id="<?=$editorid?>_cmd_justifycenter" title="居中">居中</a></li>
<li><a id="<?=$editorid?>_cmd_justifyright" title="居右">居右</a></li>
</ul>
</div>
<? if($_DCACHE['bbcodes_display']['smilies']) { ?>
<div class="smilies" id="<?=$editorid?>_popup_smilies_menu" style="display: none">
<div class="smilieslist">
<div id="smiliesdiv"></div>
<script type="text/javascript" reload="1">
smilies_show('smiliesdiv', <?=$smcols?>, 1);
function smilies_onload_smiliesdiv() {
loadselect('smiliesdiv_seltype', 0, 'floatlayout_<?=$action?>');
}
</script>
</div>
</div>
<? } ?>
<div class="popupmenu_popup" id="<?=$editorid?>_popup_dent_menu" style="display: none">
<ul unselectable="on">
<li><a id="<?=$editorid?>_cmd_indent" title="增加缩进">增加缩进</a></li>
<li><a id="<?=$editorid?>_cmd_outdent" title="减少缩进">减少缩进</a></li>
</ul>
</div>
<div class="popupmenu_popup" id="<?=$editorid?>_popup_float_menu" style="display: none">
<ul unselectable="on">
<li><a id="<?=$editorid?>_cmd_floatleft" title="左浮动">左浮动</a></li>
<li><a id="<?=$editorid?>_cmd_floatright" title="右浮动">右浮动</a></li>
</ul>
</div>
<div class="popupmenu_popup" id="<?=$editorid?>_popup_list_menu" style="display: none">
<ul unselectable="on">
<li><a id="<?=$editorid?>_cmd_insertorderedlist" title="排序的列表">排序的列表</a></li>
<li><a id="<?=$editorid?>_cmd_insertunorderedlist" title="未排序列表">未排序列表</a></li>
</ul>
</div>
<div class="popupmenu_popup" id="<?=$editorid?>_popup_hide_menu" style="display: none">
<ul unselectable="on">
<? if($allowhidecode) { ?><li><a id="<?=$editorid?>_popup_hide" title="插入隐藏内容">插入隐藏内容</a></li><? } ?>
<li><a id="<?=$editorid?>_cmd_table" title="插入表格">插入表格</a></li>
<li><a id="<?=$editorid?>_cmd_free" title="插入免费信息">插入免费信息</a></li>
</ul>
</div>
<div class="popupmenu_popup" id="<?=$editorid?>_popup_tools_menu" style="display: none">
<ul unselectable="on">
<a id="<?=$editorid?>_cmd_removeformat" title="清除文本格式">清除文本格式</a>
<a id="<?=$editorid?>_cmd_unlink" title="移除链接">移除链接</a>
<a id="<?=$editorid?>_cmd_undo" title="撤销">撤销</a>
<a id="<?=$editorid?>_cmd_redo" title="重做">重做</a>
<a id="<?=$editorid?>_cmd_checklength" title="字数检查">字数检查</a>
<a id="<?=$editorid?>_cmd_clearcontent" title="清空内容">清空内容</a>
<br />
<a id="<?=$editorid?>_cmd_autosave" title="自动保存">自动保存<em id="autsavet">(已停止)</em></a>
<a id="<?=$editorid?>_cmd_saveData" title="保存数据">保存数据</a>
<a id="<?=$editorid?>_cmd_loadData" title="恢复数据">恢复数据</a>
</ul>
</div>
</div>
</div>
<div class="newediter">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="table-layout:fixed">
<tr><td><textarea class="autosave<? if(($action != 'edit' || !$attachments) && (!$swfupload || !$swfattachs)) { ?> max<? } ?>" name="message" id="<?=$editorid?>_textarea" tabindex="1"<? if(empty($infloat)) { ?> class="txt" style="height:300px"<? } ?>><? if($action == 'edit') { ?><?=$postinfo['message']?><? } else { ?><?=$message?><? } ?></textarea></td></tr>
</table>
</div>
</div><div class="popupmenu_popup" id="imgpreview_menu" style="position:absolute;width:180px;height:150px;padding:0px;display: none;"></div>
<div class="post_tablelist postbox" id="attachlist"<? if(($action != 'edit' || !$attachments) && (!$swfupload || !$swfattachs)) { ?> style="display: none"<? } ?>>
<? if($allowpostattach) { ?>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="attachnum"></td>
<td class="attachctrl"></td>
<td class="attachname">文件名</td>
<? if($allowsetattachperm) { ?><td class="attachview">阅读权限</td><? } if($maxprice) { ?><td class="attachpr"><? if($extcredits[$creditstransextra['1']]['img']) { ?><?=$extcredits[$creditstransextra['1']]['img']?> <? } ?><?=$extcredits[$creditstransextra['1']]['title']?></td><? } ?>
<td class="attachdel"></td>
</tr>
</table>
<div id="uploadlist" class="upfilelist"<? if(empty($infloat)) { ?> style="height:auto"<? } ?>>
<? if($action == 'edit') { include template('post_attachlist'); } ?>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody id="attachbodyhidden" style="display:none"><tr>
<td class="attachnum"><span id="localno[]"><img src="images/attachicons/common_new.gif" /></span></td>
<td class="attachctrl"><span id="cpadd[]"></span></td>
<td class="attachname">
<span id="deschidden[]" style="display:none">
<a href="javascript:;" onclick='parentNode.innerHTML="<input type=\"text\" name=\"attachdesc[]\" size=\"25\" class=\"txt\" />"'>描述</a>
<span id="localfile[]"></span>
<input type="text" name="attachdesc[]" style="display:none" />
</span>
<input type="hidden" name="localid[]" />
</td>
<? if($allowsetattachperm) { ?><td class="attachview"><input type="text" name="attachperm[]" value="0"size="1" class="txt" /></td><? } if($maxprice) { ?><td class="attachpr"><input type="text" name="attachprice[]" value="0" size="1" class="txt" /></td><? } ?>
<td class="attachdel"><span id="cpdel[]"></span></td>
</tr></tbody>
</table>
<? if($swfupload) { ?>
<div id="swfattachlist">
<? if($swfattachs) { ?>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td class="attachnum"></td><td>您有 <?=$swfattachs?> 个已经上传的附件
<a href="javascript:;" onclick="swfattachlistupdate()">使用</a> <a href="javascript:;" onclick="display('swfattachlist')">忽略</a>
</td></tr>
</table>
<? } ?>
</div>
<? } ?>
<table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%"><tbody id="attachbody"></tbody></table>
</div>
<? } ?>
</div>
<div id="img_hidden" alt="1" style="position:absolute;top:-100000px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='image');width:<?=$thumbwidth?>px;height:<?=$thumbheight?>px"></div>
</div>
<? if($swfupload) { ?>
<div id="swfuploadbox" class="floatbox floatbox1 floatboxswf" style="display: none">
<h3 class="float_ctrl">
<em<? if(empty($infloat)) { ?> style="display:none"<? } ?>><button type="button" onclick="pagescrolls('swfreturn');return false">返回</button></em>
<? if(empty($infloat)) { ?><em>批量上传</em><? } ?>
<span id="swfclosebtn" style="display:none">
<a href="javascript:;" class="float_close" onclick="swfuploadwin()" title="关闭">关闭</a>
</span>
</h3>
<div id="swfbox" style="display: none">
<script type="text/javascript" reload="1">
$('swfbox').innerHTML = AC_FL_RunContent(
'width', '570', 'height', '318',
'src', 'images/common/upload.swf?site=<?=$boardurl?>misc.php',
'quality', 'high',
'id', 'swfupload',
'menu', 'false',
'allowScriptAccess', 'always'
);
</script>
</div>
</div>
<? } ?>
</div>
<div style="clear:both;<? if(!empty($infloat)) { ?> width:2500px<? } ?>">
<? if(!empty($infloat)) { ?><div class="floatbox floatbox1" id="extcreditbox2"></div><? } ?>
<div class="floatbox floatbox1">
<h3 class="float_ctrl"<? if(empty($infloat)) { ?> style="display:none"<? } ?>>
<em><button type="button" onclick="pagescrolls('editorreturn');return false">返回</button></em>
<span>
<a href="javascript:;" onclick="pagescrolls('credit2')" title="积分说明">积分说明</a>
<? if(!empty($infloat)) { ?>
<a href="javascript:;" class="float_close" onclick="closeEditorwin()" title="关闭">关闭</a>
<? } ?>
</span>
</h3>
<div class="postbox">
<? if($action == 'newthread' || $action == 'edit' && $isfirstpost) { if($tagstatus) { ?>
<div class="posttags">
<p><strong>标签(TAG):</strong> (用逗号或空格隔开多个标签,最多可填写 <strong>5</strong> 个)</p>
<p><input type="text" name="tags" id="tags" class="txt" value="<?=$threadtags?>" tabindex="1" /><button name="addtags" type="button" onclick="relatekw();return false">+可用标签</button> <span id="tagselect"></span></p>
</div>
<? } ?>
<div class="columntype">
<? if($allowsetreadperm) { ?>
<p><strong>阅读权限:</strong></p>
<p><input type="text" name="readperm" value="<?=$thread['readperm']?>" class="txt" tabindex="1" /> 0或空为不限制</p>
<? } if($maxprice && !$special) { ?>
<p><strong>售价</strong>(<?=$extcredits[$creditstransextra['1']]['title']?>):</p>
<p><input type="text" name="price" value="<?=$thread['pricedisplay']?>" class="txt" tabindex="1" /> <?=$extcredits[$creditstransextra['1']]['unit']?> 最高 <?=$maxprice?> <?=$extcredits[$creditstransextra['1']]['unit']?> <? if($maxincperthread) { ?>,单一主题作者最高收入 <?=$maxincperthread?> <?=$extcredits[$creditstransextra['1']]['unit']?><? } if($maxchargespan) { ?>,最高出售时限 <?=$maxchargespan?> 小时<? } ?>
您可以使用 <code><strong>[free]</strong>message<strong>[/free]</strong></code> 代码发表无需付费也能查看的免费信息</p>
<? } ?>
</div>
<? } ?>
<div class="columntype">
<h4>发帖选项:</h4>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="firstlist">
<? if(($forum['allowhtml'] || ($action == 'edit' && ($org['htmlon'] & 1))) && $allowhtml) { ?>
<p><input type="checkbox" name="htmlon" id="htmlon" value="1" <?=$htmloncheck?> /><label for="htmlon">Html 代码</label></p>
<? } else { ?>
<p><input type="checkbox" name="htmlon" id="htmlon" value="0" <?=$htmloncheck?> disabled="disabled" /><label for="htmlon">Html 代码</label></p>
<? } ?>
<p><input type="checkbox" id="allowimgcode" disabled<? if($forum['allowimgcode']) { ?> checked="checked"<? } ?> /><label for="allowimgcode">[img] 代码</label></p>
</td>
<td>
<p><input type="checkbox" name="parseurloff" id="parseurloff" value="1" <?=$urloffcheck?> tabindex="1" /><label for="parseurloff">禁用 URL 识别</label></p>
<p><input type="checkbox" name="smileyoff" id="smileyoff" value="1" <?=$smileyoffcheck?> tabindex="1" /><label for="smileyoff">禁用 <a href="faq.php?action=faq&id=5&messageid=32" target="_blank">表情</a></label></p>
<p><input type="checkbox" name="bbcodeoff" id="bbcodeoff" value="1" <?=$codeoffcheck?> tabindex="1" /><label for="bbcodeoff">禁用 <a href="faq.php?action=faq&id=5&messageid=18" target="_blank">Discuz!代码</a></label></p>
<? if($tagstatus && ($action == 'newthread' || $action == 'edit' && $isfirstpost)) { ?>
<p><input type="checkbox" name="tagoff" id="tagoff" <? if(!empty($tagoffcheck)) { ?>checked="checked"<? } ?> tabindex="1" /><label for="tagoff">禁用 标签解析</label></p>
<? } ?>
</td>
<td>
<p><input type="checkbox" name="usesig" id="usesig" value="1" <? if(!$maxsigsize) { ?>disabled <? } else { ?><?=$usesigcheck?> <? } ?>tabindex="1" /><label for="usesig">使用个人签名</label></p>
<? if($action != 'edit') { if($allowanonymous) { ?><p><input type="checkbox" name="isanonymous" id="isanonymous" value="1" tabindex="1" /><label for="isanonymous">使用匿名发帖</label></p><? } } else { if($allowanonymous || (!$allowanonymous && $orig['anonymous'])) { ?><p><input type="checkbox" name="isanonymous" value="1" <? if($orig['anonymous']) { ?>checked="checked"<? } ?> tabindex="1" /><label for="isanonymous">使用匿名发帖</label></p><? } } if($action != 'edit') { ?><p><input type="checkbox" name="emailnotify" id="emailnotify" <?=$notifycheck?> tabindex="1" /><label for="emailnotify">接收新回复邮件通知</label></p><? } ?>
</td>
<td>
<? if($action == 'newthread' && $forum['ismoderator'] && ($allowdirectpost || !$forum['modnewposts'])) { if($action == 'newthread' && $forum['ismoderator'] && ($allowdirectpost || !$forum['modnewposts'])) { ?>
<p><input type="checkbox" name="sticktopic" id="sticktopic" value="1" <?=$stickcheck?> tabindex="1" /><label for="sticktopic">主题置顶</label></p>
<p><input type="checkbox" name="addtodigest" id="addtodigest" value="1" <?=$digestcheck?> tabindex="1" /><label for="addtodigest">精华帖子</label></p>
<? } } elseif($action == 'edit' && $auditstatuson) { ?>
<p><input type="checkbox" name="audit" id="audit" value="1"><label for="audit">通过审核</label></p>
<? } if($uchome['addfeed'] && $ucappopen['UCHOME'] && $forum['allowfeed']) { ?>
<p><input type="checkbox" name="addfeed" id="addfeed" value="1" <?=$addfeedcheck?>><label for="addfeed"> 加入事件</label></p>
<? } ?>
</td>
</tr>
</table><br />
</div>
<div class="moreconf" id="moreconf">
<div class="custominfoarea" id="custominfoarea" style="<? if($special && $action != 'reply') { ?>display: none;<? } ?>">
<? if($action == 'newthread' && $sitemessage['newthread'] || $action == 'reply' && $sitemessage['reply']) { ?>
<a href="javascript:;" onclick="display('custominfo_post')" onblur="$('custominfo_post').style.display = 'none'"><img src="<?=IMGDIR?>/info.gif" alt="帮助" /></a>
<div id="custominfo_post" class="sitenote">
<div class="cornerlayger">
<? if($action == 'newthread') { echo $sitemessage['newthread'][array_rand($sitemessage['newthread'])]; } elseif($action == 'reply') { echo $sitemessage['reply'][array_rand($sitemessage['reply'])]; } ?>
</div>
<div class="minicorner"></div>
</div>
<? } ?>
</div>
<button type="submit" id="postsubmit" value="true" name="<? if($action == 'newthread') { ?>topicsubmit<? } elseif($action == 'reply') { ?>replysubmit<? } elseif($action == 'edit') { ?>editsubmit<? } ?>" tabindex="1">
<? if($action == 'newthread') { if($special == 0) { ?>发新话题
<? } elseif($special == 1) { ?>发布投票
<? } elseif($special == 2) { ?>发布商品
<? } elseif($special == 3) { ?>发布悬赏
<? } elseif($special == 4) { ?>发布活动
<? } elseif($special == 5) { ?>发布辩论
<? } elseif($special == 6) { ?>发布视频
<? } } elseif($action == 'reply' && !empty($addtrade)) { ?>添加商品
<? } elseif($action == 'reply') { ?>参与/回复主题
<? } elseif($action == 'edit') { ?>编辑帖子
<? } ?>
</button>
<span id="more_1"<? if($advmore) { ?> style="display: none"<? } ?>>
<? if(!empty($infloat) && ($showthreadsorts || $special)) { ?>
<a href="javascript:;" onclick="pagescrolls('editor')">添加详情<? if($special == 1) { ?>投票<? } elseif($special == 2) { ?>商品<? } elseif($special == 3) { ?>悬赏<? } elseif($special == 4) { ?>活动<? } elseif($special == 5) { ?>辩论<? } elseif($special == 6) { ?>视频<? } ?>描述</a>
<? } ?>
</span>
<span id="more_2"<? if(!$advmore && !empty($infloat)) { ?> style="display: none"<? } ?>>
<? if($allowpostattach) { ?>
<span class="sim_upfile" onmouseover="$('attachinfo').style.display='';" onmouseout="$('attachinfo').style.display='none';">
<span id="attachbtnhidden" style="display:none"><span><input type="file" name="attach[]" size="1" /></span></span>
<span id="attachbtn"></span>
<a href="javascript:;" onclick="return false;">添加附件</a>
<? if($swfupload) { ?>
<a href="javascript:;" onclick="swfuploadwin()">批量上传</a>
<? } ?>
<div id="attachinfo" class="sitenote<? if($action == 'newthread' || ($action == 'edit' && $isfirstpost)) { if($special) { ?> upfile_special<? } else { ?> upfile<? } } ?>" style="display:none;">
<div class="cornerlayger">
文件尺寸: <strong><? if($maxattachsize) { ?>小于 <?=$maxattachsize_mb?> <? } else { ?>大小不限制<? } ?></strong>
<? if($attachextensions) { ?>可用扩展名: <strong><?=$attachextensions?></strong> <? } if($maxprice) { ?>售价: <strong>最高 <?=$maxprice?> <?=$extcredits[$creditstransextra['1']]['unit']?><?=$extcredits[$creditstransextra['1']]['title']?><? if($maxincperthread) { ?>,单一主题作者最高收入 <?=$maxincperthread?> <?=$extcredits[$creditstransextra['1']]['unit']?><? } if($maxchargespan) { ?>,最高出售时限 <?=$maxchargespan?> 小时<? } } ?></strong>
</div>
<div class="minicorner"></div>
</div>
</span>
<a href="javascript:;" onclick="attachlist()">附件列表</a>
<? } if(!empty($infloat)) { ?><a href="javascript:;" id="morelink" onclick="pagescrolls('more')">更多设定</a><? } ?>
</span>
<? if($secqaacheck || $seccodecheck) { ?><span style="position:relative"><? $seccheckfloat = 'floatlayout_'.$action; ?><script type="text/javascript" reload="1">
function updateseccode<?=$secchecktype?>(op) {
if(isUndefined(op)) {
var x = new Ajax();
ajaxget('ajax.php?action=updateseccode&secchecktype=<?=$secchecktype?>', 'seccodeverify<?=$secchecktype?>_menu', 'seccodeverify<?=$secchecktype?>_menu');
} else {
window.document.seccodeplayer.SetVariable("isPlay", "1");
}
$('seccodeverify<?=$secchecktype?>').focus();
}
function updatesecqaa<?=$secchecktype?>() {
var x = new Ajax();
ajaxget('ajax.php?action=updatesecqaa', 'secanswer<?=$secchecktype?>_menu', 'secanswer<?=$secchecktype?>_menu');
}
var secclick<?=$secchecktype?> = new Array();
var seccodefocus = 0;
function opensecwin<?=$secchecktype?>(id, type) {
if(!secclick<?=$secchecktype?>[id]) {
$(id).value = '';
secclick<?=$secchecktype?>[id] = 1;
if(type) {
$(id + '_menu').style.top = (parseInt($(id + '_menu').style.top) - parseInt($(id + '_menu').style.height)) + 'px';
updateseccode<?=$secchecktype?>();
} else {
updatesecqaa<?=$secchecktype?>();
}
}
<? if(empty($secchecktype)) { if(!empty($infloat)) { ?>
InFloat='<?=$seccheckfloat?>';
<? } if($seccheckfloat) { ?>
$(id + '_menu').style.position = 'absolute';
$(id + '_menu').style.top = (-parseInt($(id + '_menu').style.height)) + 'px';
<? if($secqaacheck) { ?>
if(type) {
$(id + '_menu').style.left = $(id).offsetLeft + 'px';
} else {
$(id + '_menu').style.left = '0px';
}
<? } else { ?>
$(id + '_menu').style.left = '0px';
<? } } } elseif($secchecktype == 1) { if(!empty($infloat)) { ?>
InFloat='floatlayout_register';
<? } ?>
showMenu(id, 0, 2, 3);
<? } elseif($secchecktype == 3) { ?>
showMenu(id, 0, 2, 3);
<? } ?>
$(id + '_menu').style.display = '';
$(id).focus();
$(id).unselectable = 'off';
}
</script>
<? if($secqaacheck) { ?>
<input name="secanswer" id="secanswer<?=$secchecktype?>" type="text" autocomplete="off" style="width:50px" value="验证问答" class="txt" onfocus="opensecwin<?=$secchecktype?>(this.id, 0)" onclick="opensecwin<?=$secchecktype?>(this.id, 0)" onblur="display(this.id + '_menu');checksecanswer<?=$secchecktype?>();" tabindex="1">
<span id="checksecanswer<?=$secchecktype?>"><img src="images/common/none.gif" width="16" height="16"></span>
<div id="secanswer<?=$secchecktype?>_menu" class="seccodecontent" style="width:200px;height:80px;display:none"></div>
<? } if($seccodecheck) { ?>
<input name="seccodeverify" id="seccodeverify<?=$secchecktype?>" type="text" autocomplete="off" style="width:50px" value="验证码" class="txt" onfocus="opensecwin<?=$secchecktype?>(this.id, 1)" onclick="opensecwin<?=$secchecktype?>(this.id, 1)" onblur="if(!seccodefocus) {display(this.id + '_menu')}checkseccode<?=$secchecktype?>();" tabindex="1">
<a href="javascript:;" onclick="updateseccode<?=$secchecktype?>()">换一个</a>
<span id="checkseccodeverify<?=$secchecktype?>"><img src="images/common/none.gif" width="16" height="16"></span>
<div id="seccodeverify<?=$secchecktype?>_menu" class="seccodecontent" onmouseover="seccodefocus = 1" onmouseout="seccodefocus = 0" style="cursor: pointer;top: 256px;width:<?=$seccodedata['width']?>px;height:<?=$seccodedata['height']?>px;display:none"></div>
<? } ?>
<script type="text/javascript" reload="1">
var profile_seccode_invalid = '验证码输入错误,请重新填写。';
var profile_secanswer_invalid = '验证问答回答错误,请重新填写。';
var lastseccode = lastsecanswer = '';
function checkseccode<?=$secchecktype?>() {
var seccodeverify = $('seccodeverify<?=$secchecktype?>').value;
if(seccodeverify == lastseccode) {
return;
} else {
lastseccode = seccodeverify;
}
var cs = $('checkseccodeverify<?=$secchecktype?>');
<? if($seccodedata['type'] != 1) { ?>
if(!(/[0-9A-Za-z]{4}/.test(seccodeverify))) {
warning<?=$secchecktype?>(cs, profile_seccode_invalid);
return;
}
<? } else { ?>
if(seccodeverify.length != 2) {
warning<?=$secchecktype?>(cs, profile_seccode_invalid);
return;
}
<? } ?>
ajaxresponse<?=$secchecktype?>('checkseccodeverify<?=$secchecktype?>', 'action=checkseccode&seccodeverify=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(seccodeverify) : seccodeverify));
}
function checksecanswer<?=$secchecktype?>() {
var secanswer = $('secanswer<?=$secchecktype?>').value;
if(secanswer == lastsecanswer) {
return;
} else {
lastsecanswer = secanswer;
}
ajaxresponse<?=$secchecktype?>('checksecanswer<?=$secchecktype?>', 'action=checksecanswer&secanswer=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(secanswer) : secanswer));
}
function ajaxresponse<?=$secchecktype?>(objname, data) {
var x = new Ajax('XML', objname);
x.get('ajax.php?inajax=1&' + data, function(s){
var obj = $(objname);
if(s == '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></span><? } ?>
</div>
</div>
</div>
</form>
</div>
<? if(!empty($infloat)) { ?>
<div id="extcreditbox" style="display: none">
<h3 class="float_ctrl">
<em><button type="button" onclick="pagescrolls('creditreturn');return false">返回</button></em>
<span>
<a href="faq.php?action=credits&fid=<?=$fid?>" target="_blank">查看积分策略说明</a>
</span>
</h3>
<div class="postbox">
<div class="post_tablelist extcreditbox">
<table cellpadding="0" cellspacing="0" summary="post_attachbody" border="0" width="100%">
<thead>
<tr>
<td class="extname"></td><? if(is_array($extcredits)) { foreach($extcredits as $id => $credit) { ?><td class="extcredits"><?=$credit['title']?></td><? } } ?><td></td>
</tr>
</thead>
<tbody><? if(is_array($policyarray)) { foreach($policyarray as $operation => $policy) { ?><tr>
<td class="extname">
<? if($operation == 'post') { ?>
发新主题
<? } elseif($operation == 'reply') { ?>
发表回复
<? } elseif($operation == 'digest') { ?>
加入精华
<? } elseif($operation == 'postattach') { ?>
发表附件
<? } elseif($operation == 'getattach') { ?>
下载附件
<? } ?>
</td><? if(is_array($extcredits)) { foreach($extcredits as $id => $credit) { ?><td class="extcredits">
<? if($creditsarray[$operation][$id]) { ?>
<?=$creditsarray[$operation][$id]?>
<? } else { ?>
-
<? } ?>
</td><? } } ?><td></td>
</tr><? } } ?></tbody>
</table>
总积分计算公式: <?=$creditsformulaexp?>
</div>
</div>
</div>
<? } if($forum['allowmediacode']) { ?>
<div class="popupmenu_popup" id="<?=$editorid?>_popup_media_menu" style="width: 280px;display: none" unselectable="on">
<input type="hidden" id="<?=$editorid?>_mediatype" value="ra">
<table cellpadding="4" cellspacing="0" border="0">
<tr class="popupmenu_option">
<td nowrap>
请输入多媒体文件的地址:<br />
<input id="<?=$editorid?>_mediaurl" style="width: 98%" value="" onkeyup="setmediatype('<?=$editorid?>')" />
</td>
</tr>
<tr class="popupmenu_option">
<td nowrap>
<label style="float: left; width: 32%"><input type="radio" name="<?=$editorid?>_mediatyperadio" id="<?=$editorid?>_mediatyperadio_ra" onclick="$('<?=$editorid?>_mediatype').value = 'ra'" checked="checked">RA</label>
<label style="float: left; width: 32%"><input type="radio" name="<?=$editorid?>_mediatyperadio" id="<?=$editorid?>_mediatyperadio_wma" onclick="$('<?=$editorid?>_mediatype').value = 'wma'">WMA</label>
<label style="float: left; width: 32%"><input type="radio" name="<?=$editorid?>_mediatyperadio" id="<?=$editorid?>_mediatyperadio_mp3" onclick="$('<?=$editorid?>_mediatype').value = 'mp3'">MP3</label>
<label style="float: left; width: 32%"><input type="radio" name="<?=$editorid?>_mediatyperadio" id="<?=$editorid?>_mediatyperadio_rm" onclick="$('<?=$editorid?>_mediatype').value = 'rm'">RM/RMVB</label>
<label style="float: left; width: 32%"><input type="radio" name="<?=$editorid?>_mediatyperadio" id="<?=$editorid?>_mediatyperadio_wmv" onclick="$('<?=$editorid?>_mediatype').value = 'wmv'">WMV</label>
<label style="float: left; width: 32%"><input type="radio" name="<?=$editorid?>_mediatyperadio" id="<?=$editorid?>_mediatyperadio_mov" onclick="$('<?=$editorid?>_mediatype').value = 'mov'">MOV</label>
</td>
</tr>
<tr class="popupmenu_option">
<td nowrap>
<label style="float: left; width: 32%">宽: <input id="<?=$editorid?>_mediawidth" size="5" value="400" /></label>
<label style="float: left; width: 32%">高: <input id="<?=$editorid?>_mediaheight" size="5" value="300" /></label>
</td>
</tr>
<tr class="popupmenu_option">
<td align="center" colspan="2"><input type="button" value="提交" onclick="setmediacode('<?=$editorid?>')"> <input type="button" onclick="hideMenu()" value="取消" /></td>
</tr>
</table>
</div>
<? } if($_DCACHE['bbcodes_display']['img']) { ?>
<div class="popupmenu_popup" id="<?=$editorid?>_cmd_insertimage_menu" style="display: none" unselectable="on">
<ul class="imguptype">
<li><a href="javascript:;" hidefocus="true" class="current" id="insertimage_www"<? if($ucappopen['UCHOME']) { ?> onclick="switchImage('www');"<? } ?>>网络图片</a></li>
<? if($ucappopen['UCHOME']) { ?><li><a href="javascript:;" hidefocus="true" id="insertimage_album" onclick="switchImage('album');">我的相册</a></li><? } ?>
</ul>
<div class="popupmenu_option" unselectable="on" id="insertimage_www_div">
请输入图片地址:<br /><input id="<?=$editorid?>_cmd_insertimage_param_url" style="width: 300px;" value="" class="txt" type="text" onkeydown="editorMenuEvent_onkeydown(this);" />
<br /><center><input id="<?=$editorid?>_cmd_insertimage_submit" value="提交" type="button" onclick="insertimagesubmit()" /> <input onclick="hideMenu();" value="取消" type="button" /></center>
</div>
<? if($ucappopen['UCHOME']) { ?>
<div class="popupmenu_option" unselectable="on" id="insertimage_album_div" style="display: none;">
<div id="uch_photoes"></div><p id="uch_createalbum" style="display: none; padding-left: 4px; magin-top: -1em;">点击图片插入到帖子内容中</p>
</div>
<script type="text/javascript" reload="1">
var showalbum, prealbum;
function switchImage(img) {
if(img == 'www') {
$('insertimage_www_div').style.display='';
$('insertimage_www').className = 'current';
$('insertimage_album_div').style.display='none';
$('insertimage_album').className = '';
} else if(img == 'album') {
$('insertimage_www').className = '';
$('insertimage_album').className = 'current';
if($('insertimage_album_menu')) {
showAlbums();
} else {
var div = document.createElement('DIV');
div.id = 'insertimage_album_menu';
div.className = 'popupmenu_popup';
div.style.display = 'none';
$('append_parent').appendChild(div);
ajaxget('api/uchome.php?action=getalbums', 'insertimage_album_menu', 'uch_photoes', null, 'none');
showalbum = setInterval(showAlbum, 10);
}
}
}
function showAlbum() {
if($('insertimage_album_menu').innerHTML != '') {
showAlbums();
clearInterval(showalbum);
}
}
function showAlbums() {
if($('insertimage_album_menu').innerHTML == 'NOALBUM') {
$('insertimage_www_div').style.display='none';
$('insertimage_album_div').style.display = '';
$('uch_photoes').style.display = '';
$('uch_photoes').innerHTML = '您还没有相册,<a href="<?=$uchomeurl?>/cp.php?ac=upload" target="_blank">点击这里创建自己的相册</a>吧!';
} else {
showMenu('insertimage_album', true, 0, 2, 250, 1);
}
}
</script>
<? } ?>
</div>
<? } ?>
<script type="text/javascript" reload="1">
var pagescroll = new pagescroll_class('floatlayout_<?=$action?>', 600, 410);
<? if(empty($infloat)) { ?>
$('floatlayout_<?=$action?>').scrollLeft = 600;
<? } if($isfirstpost && $forum['threadtypes']['types']) { ?>
loadselect('typeid', 0, 'floatlayout_<?=$action?>');
<? } if(!$isfirstpost && $thread['special'] == 5 && empty($firststand) && $action != 'edit') { ?>
loadselect('stand', 0, 'floatlayout_<?=$action?>');
<? } if(!$special && $forum['threadsorts'] && ($action == 'newthread' || $action == 'edit' && $isfirstpost && !$thread['sortid'])) { ?>
loadselect('sortid', 0, 'floatlayout_<?=$action?>');
function switchsort() {
if($('sortid').value) {
data = wysiwyg ? editdoc.body.innerHTML : textobj.value;
saveData(wysiwyg ? editdoc.body.innerHTML : textobj.value);
<? if($isfirstpost && $sortid) { ?>
ajaxget('post.php?action=threadsorts&sortid=' + $('sortid').value + '&fid=<?=$fid?><? if(!empty($modelid)) { ?>&modelid=<?=$modelid?><? } ?>', 'threadsorts', 'threadsortswait')
<? } elseif(!empty($infloat)) { ?>
window.open('post.php?action=<?=$action?>&fid=<?=$fid?><? if(!empty($tid)) { ?>&tid=<?=$tid?><? } if(!empty($pid)) { ?>&pid=<?=$pid?><? } if(!empty($modelid)) { ?>&modelid=<?=$modelid?><? } ?>&extra=<?=$extra?>&sortid=' + $('sortid').value + (data != '' ? '&cedit=yes' : ''));
<? } else { ?>
location.href = 'post.php?action=<?=$action?>&fid=<?=$fid?><? if(!empty($tid)) { ?>&tid=<?=$tid?><? } if(!empty($pid)) { ?>&pid=<?=$pid?><? } if(!empty($modelid)) { ?>&modelid=<?=$modelid?><? } ?>&extra=<?=$extra?>&sortid=' + $('sortid').value + (data != '' ? '&cedit=yes' : '');
<? } ?>
Editorwin = 0;
}
}
<? } if($isfirstpost && $sortid) { ?>
ajaxget('post.php?action=threadsorts&sortid=<?=$sortid?>&fid=<?=$fid?><? if(!empty($tid)) { ?>&tid=<?=$tid?><? } ?>&inajax=1', 'threadsorts', 'threadsortswait', 'threadsortswait');
<? } if(($action == 'newthread' && $sitemessage['newthread'] || $action == 'reply' && $sitemessage['reply']) && $sitemessage['time']) { ?>
setTimeout('display_opacity(\'custominfo_post\',100)', <?=$sitemessage['time']?>);
<? } ?>
var postminchars = parseInt('<?=$minpostsize?>');
var postmaxchars = parseInt('<?=$maxpostsize?>');
var disablepostctrl = parseInt('<?=$disablepostctrl?>');
var seccodecheck = parseInt('<?=$seccodecheck?>');
var secqaacheck = parseInt('<?=$secqaacheck?>');
var typerequired = parseInt('<?=$forum['threadtypes']['required']?>');
var special = parseInt('<?=$special?>');
var isfirstpost = <? if($isfirstpost) { ?>1<? } else { ?>0<? } ?>;
var allowposttrade = parseInt('<?=$allowposttrade?>');
var allowpostreward = parseInt('<?=$allowpostreward?>');
var allowpostactivity = parseInt('<?=$allowpostactivity?>');
var sortid = '<?=$sortid?>';
var special = parseInt('<?=$special?>');
var editorid = '<?=$editorid?>';
var textobj = $(editorid + '_textarea');
var wysiwyg = (is_ie || is_moz || (is_opera >= 9)) && parseInt('<?=$editormode?>') == 1 ? 1 : 0;
var allowswitcheditor = parseInt('<?=$allowswitcheditor?>');
var allowhtml = parseInt('<?=$allowhtml?>');
var forumallowhtml = parseInt('<?=$forum['allowhtml']?>');
var allowsmilies = parseInt('<?=$forum['allowsmilies']?>');
var allowbbcode = parseInt('<?=$forum['allowbbcode']?>');
var allowimgcode = parseInt('<?=$forum['allowimgcode']?>');
var allowpostattach = parseInt('<?=$allowpostattach?>');
var editorcss = 'forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>';
var TABLEBG = '<?=WRAPBG?>';
var uid = parseInt('<?=$discuz_uid?>');
var swfhash = '<? echo md5($_DCACHE['settings']['authkey'].$discuz_uid);; ?>';
<? if($allowpostattach) { ?>
var thumbwidth = parseInt(<?=$thumbwidth?>);
var thumbheight = parseInt(<?=$thumbheight?>);
var extensions = '<?=$attachextensions?>';
<? } ?>
var fontoptions = new Array("仿宋_GB2312", "黑体", "楷体_GB2312", "宋体", "新宋体", "微软雅黑", "Trebuchet MS", "Tahoma", "Arial", "Impact", "Verdana", "Times New Roman");
var custombbcodes = new Array();
<? if($forum['allowbbcode'] && $allowcusbbcode) { if(is_array($_DCACHE['bbcodes_display'])) { foreach($_DCACHE['bbcodes_display'] as $tag => $bbcode) { if($bbcode['type'] == '0') { ?>custombbcodes["<?=$tag?>"] = {'prompt' : '<?=$bbcode['prompt']?>'};<? } } } } ?>
function messagehandle_<?=$action?>(key) {
if(!Editorwin) {
$('floatlayout_<?=$action?>').scrollTop = 0;
<? if(!$showthreadsorts && !($adveditor)) { ?>
$('more_1').style.display='none';pagescroll.up(1, '$(\'more_2\').style.display=\'\';$(\'custominfoarea\').style.display=\'\'');
<? } else { ?>
$('custominfoarea').style.display=$('more_2').style.display='none';pagescroll.up(1, '$(\'more_1\').style.display=\'\'');
<? } ?>
}
}
function messagehandle() {
messagehandle_<?=$action?>();
}
function submithandle_<?=$action?>(locationhref, message) {
<? if($action == 'edit' || $action == 'reply') { ?>
try {
var pid = locationhref.lastIndexOf('#pid');
if(pid != -1) {
pid = locationhref.substr(pid + 4);
<? if($action == 'edit') { ?>
if(pid) {
ajaxget('viewthread.php?tid=<?=$tid?>&viewpid=' + pid, 'post_' + pid, 'ajaxwaitid');
} else {
ajaxget('viewthread.php?tid=<?=$tid?>&viewpid=<?=$pid?>', 'post_<?=$pid?>', 'ajaxwaitid');
}
$('postform').editsubmit.disabled = false;
<? } elseif($action == 'reply' && !empty($addtrade)) { ?>
location.href = locationhref;
<? } elseif($action == 'reply') { ?>
ajaxget('viewthread.php?tid=<?=$tid?>&viewpid=' + pid, 'post_new', 'ajaxwaitid', '', null, 'appendreply()');
if(replyreload) {
var reloadpids = replyreload.split(',');
for(i = 1;i < reloadpids.length;i++) {
ajaxget('viewthread.php?tid=<?=$tid?>&viewpid=' + reloadpids[i], 'post_' + reloadpids[i]);
}
}
<? } ?>
} else {
location.href = locationhref;
}
} catch(e) {
location.href = locationhref;
}
<? } elseif($action == 'newthread') { ?>
var hastid = locationhref.lastIndexOf('tid=');
if(hastid == -1) {
dnotice(message, "location.href='" + locationhref + "'", 390, 130);
} else {
location.href = locationhref;
}
<? } ?>
floatwinreset = 1;
closeEditorwin();
}
<? if(!empty($cedit) && $cedit == 'yes') { ?>
function cedit() {
try {
loadData(1);
} catch(e) {
setTimeout('cedit()', 1000);
}
}
<? } ?>
function openEditor() {
try {
<? if($action == 'reply' && !$message) { ?>
if($('fastpostmessage') && $('fastpostmessage').value) {
textobj.value = $('fastpostmessage').value;
$('fastpostmessage').value = '';
}
<? } if($action == 'edit' || $action == 'reply' && $repquote) { ?>
if(wysiwyg) {
initialized = false;
newEditor(1, bbcode2html(textobj.value));
} else {
newEditor(0);
}
setCaretAtEnd();
<? } else { ?>
newEditor(wysiwyg);
if(editbox) {
<? if(($action != 'edit' || !$attachments) && (!$swfupload || !$swfattachs)) { ?>
editbox.className = 'autosave max';
<? } else { ?>
editbox.className = 'autosave';
<? } ?>
}
<? } ?>
} catch(e) {
setTimeout('openEditor()', 100);
return;
}
if(!$('floatlayout_<?=$action?>').scrollLeft) {
$('floatlayout_<?=$action?>').scrollLeft = 600;
}
<? if($_DCACHE['bbcodes_display']['tools']) { ?>
if(!getcookie('disableautosave')) {
clearInterval(autosaveDatai);
autosaveData(1);
}
if(is_ie >= 5 || is_moz >= 2) {
window.onbeforeunload = function () {
try {
saveData(wysiwyg ? editdoc.body.innerHTML : textobj.value);
} catch(e) {}
};
}
<? } if(!empty($cedit) && $cedit == 'yes') { ?>
cedit();
<? } ?>
}
</script>
<script src="include/js/post.js?<?=VERHASH?>" type="text/javascript" reload="1"></script>
<? if($special) { ?>
<script src="include/js/calendar.js?<?=VERHASH?>" type="text/javascript" reload="1"></script>
<? } ?>
<script src="include/js/bbcode.js?<?=VERHASH?>" type="text/javascript" reload="1"></script>
<? if(empty($infloat)) { ?></div>
</div></div></div>
</div><? } include template('footer'); ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_post.tpl.php
|
PHP
|
asf20
| 50,970
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
<div id="modlayer" style="display: none;position:position">
<input type="hidden" name="optgroup" />
<input type="hidden" name="operation" />
<a class="collapse" href="javascript:;" onclick="$('modlayer').className='collapsed'"><img src="<?=IMGDIR?>/collapsed_yes.gif" alt="缩小" title="缩小" /></a>
<label><input class="checkbox" type="checkbox" name="chkall" onclick="if(!($('modcount').innerHTML = modclickcount = checkall(this.form, 'moderate'))) {$('modlayer').style.display = 'none';}" /> 全选</label>
<span>选中</span><strong onmouseover="$('moremodoption').style.display='block'" onclick="$('modlayer').className=''" id="modcount"></strong><span>篇: </span>
<strong><a href="javascript:;" onclick="modthreads(3, 'delete');return false;">删除</a></strong>
<span class="pipe">|</span>
<strong><a href="javascript:;" onclick="modthreads(2, 'move');return false;">移动</a></strong>
<span class="pipe">|</span>
<strong><a href="javascript:;" onclick="modthreads(2, 'type');return false;">分类</a></strong>
<div id="moremodoption">
<hr class="solidline" />
<a href="javascript:;" onclick="modthreads(1, 'stick');return false;">置顶</a>
<a href="javascript:;" onclick="modthreads(1, 'highlight');return false;">高亮</a>
<a href="javascript:;" onclick="modthreads(1, 'digest');return false;">精华</a>
<? if($forum['modrecommend']['open'] && $forum['modrecommend']['sort'] != 1) { ?>
<a href="javascript:;" onclick="modthreads(1, 'recommend');return false;">推荐</a>
<? } ?>
<span class="pipe">|</span>
<a href="javascript:;" onclick="modthreads(3, 'bump');return false;">提升下沉</a>
<a href="javascript:;" onclick="modthreads(4);return false;">关闭打开</a>
</div>
</div>
<script type="text/javascript">
modclickcount = 0;
function modclick(obj) {
if(obj.checked) {
modclickcount++;
} else {
modclickcount--;
}
$('modcount').innerHTML = modclickcount;
if(modclickcount > 0) {
var top_offset = obj.offsetTop;
while((obj = obj.offsetParent).id != 'threadlist') {
top_offset += obj.offsetTop;
}
$('modlayer').style.top = top_offset - 7 + 'px';
$('modlayer').style.display = '';
} else {
$('modlayer').style.display = 'none';
}
}
function modthreads(optgroup, operation) {
var checked = 0;
var operation = !operation ? '' : operation;
for(var i = 0; i < $('moderate').elements.length; i++) {
if($('moderate').elements[i].name.match('moderate') && $('moderate').elements[i].checked) {
checked = 1;
break;
}
}
if(!checked) {
alert('请选择需要操作的帖子');
} else {
floatwinreset = 1;
floatwin('open_mods', '', 250, optgroup < 2 ? 365 : 215);
$('moderate').optgroup.value = optgroup;
$('moderate').operation.value = operation;
$('floatwin_mods').innerHTML = '';
ajaxpost('moderate', 'floatwin_mods', '');
}
}
</script>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_topicadmin_modlayer.tpl.php
|
PHP
|
asf20
| 2,816
|
<? 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, $sidauth) {
global $attachrefcheck, $extcredits, $creditstrans, $creditstransextra, $ftp, $thumbstatus, $authkey, $timestamp, $attachimgpost, $fid;
$k = md5($attach['aid'].md5($authkey).$timestamp);
$hideurl = $attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp'));
?><?
$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={$attach['aid']}&k={$k}&t={$timestamp}&fid={$fid}&nothumb=yes&sid={$sidauth}" onmouseover="showMenu(this.id,false,2)" 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> [<a href="misc.php?action=viewattachpayments&aid={$attach['aid']}" onclick="floatwin('open_attachpay', this.href, 600, 410);return false;" target="_blank">记录</a>]
EOF;
if(!$attach['payed']) {
$return .= <<<EOF
[<a href="misc.php?action=attachpay&aid={$attach['aid']}" onclick="floatwin('open_attachpay', this.href, 600, 250);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']) { if($attachrefcheck || $hideurl) {
$return .= <<<EOF
<a href="javascript:;"><img onclick="zoom(this, 'attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&fid={$fid}&noupdate=yes&nothumb=yes&sid={$sidauth}')" src="attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&sid={$sidauth}" alt="{$attach['filename']}" /></a>
EOF;
} else {
$return .= <<<EOF
<a href="javascript:;"><img onclick="zoom(this, '{$attach['url']}/{$attach['attachment']}')" src="{$attach['url']}/{$attach['attachment']}.thumb.jpg" alt="{$attach['filename']}" /></a>
EOF;
} } else { $GLOBALS['aimgs'][$attach['pid']][] = $attach['aid']; $widthcode = attachwidth($attach['width']); if($attachrefcheck || $hideurl) {
$return .= <<<EOF
<img src="images/common/none.gif" file="attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&fid={$fid}&noupdate=yes&sid={$sidauth}" {$widthcode} id="aimg_{$attach['aid']}" alt="{$attach['filename']}" />
EOF;
} else {
$return .= <<<EOF
<img src="images/common/none.gif" file="{$attach['url']}/{$attach['attachment']}" id="aimg_{$attach['aid']}" {$widthcode} 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;
} if($attachrefcheck || $hideurl) {
$return .= <<<EOF
<img src="attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&fid={$fid}&noupdate=yes&sid={$sidauth}" alt="{$attach['filename']}" />
EOF;
} else {
$return .= <<<EOF
<img src="{$attach['url']}/{$attach['attachment']}" alt="{$attach['filename']}" />
EOF;
} } } } else {
$return .= <<<EOF
<dl class="t_attachlist">
<dt>
{$attach['attachicon']}
</dt>
<dd>
<p class="attachname">
<a href="attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&fid={$fid}&sid={$sidauth}" onmouseover="showMenu(this.id,false,2)" id="aid{$attach['aid']}" target="_blank" title="">{$attach['filename']}</a> ({$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>
</div>
<div class="minicorner"></div>
</div>
</p>
<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> [<a href="misc.php?action=viewattachpayments&aid={$attach['aid']}" onclick="floatwin('open_attachpay', this.href, 600, 410);return false;" target="_blank">记录</a>]
EOF;
if(!$attach['payed']) {
$return .= <<<EOF
[<a href="misc.php?action=attachpay&aid={$attach['aid']}" onclick="floatwin('open_attachpay', this.href, 600, 250);return false;" target="_blank">购买</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, $sidauth) {
global $attachrefcheck, $extcredits, $creditstrans, $creditstransextra, $ftp, $thumbstatus, $authkey, $timestamp, $attachimgpost;
$k = md5($attach['aid'].md5($authkey).$timestamp);
$hideurl = $attach['remote'] && ($ftp['hideurl'] || ($attach['isimage'] && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp'));
?><?
$__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(this.id, 0, 1)"><img src="{$__IMGDIR}/attachimg.gif" border="0"></span>
EOF;
if($thumbstatus && $attach['thumb']) { if($attachrefcheck || $hideurl) {
$return .= <<<EOF
<a href="javascript:;"><img onclick="zoom(this, 'attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&noupdate=yes&nothumb=yes&sid={$sidauth}')" src="attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&sid={$sidauth}" border="0" id="aimg_{$attach['aid']}" onmouseover="showMenu(this.id, false, 2)" /></a>
EOF;
} else {
$return .= <<<EOF
<a href="javascript:;"><img onclick="zoom(this, '{$attach['url']}/{$attach['attachment']}')" src="{$attach['url']}/{$attach['attachment']}.thumb.jpg" border="0" id="aimg_{$attach['aid']}" onmouseover="showMenu(this.id, false, 2)" /></a>
EOF;
} } else { $GLOBALS['aimgs'][$attach['pid']][] = $attach['aid']; $widthcode = attachwidth($attach['width']); if($attachrefcheck || $hideurl) {
$return .= <<<EOF
<img src="images/common/none.gif" file="attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&noupdate=yes&sid={$sidauth}" {$widthcode} id="aimg_{$attach['aid']}" onmouseover="showMenu(this.id, false, 2)" alt="{$attach['filename']}" />
EOF;
} else {
$return .= <<<EOF
<img src="images/common/none.gif" file="{$attach['url']}/{$attach['attachment']}" {$widthcode} id="aimg_{$attach['aid']}" onmouseover="showMenu(this.id, false, 2)" 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={$attach['aid']}&k={$k}&t={$timestamp}&nothumb=yes&sid={$sidauth}" 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;
} if($attachrefcheck || $hideurl) {
$return .= <<<EOF
<img src="attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&noupdate=yes&sid={$sidauth}" alt="{$attach['filename']}" />
EOF;
} else {
$return .= <<<EOF
<img src="{$attach['url']}/{$attach['attachment']}" 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(this.id, false, 2)"><a href="attachment.php?aid={$attach['aid']}&k={$k}&t={$timestamp}&sid={$sidauth}" target="_blank"><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']} <a href="misc.php?action=viewattachpayments&aid={$attach['aid']}" onclick="floatwin('open_attachpay', this.href, 600, 410);return false;" target="_blank">[记录]</a>
EOF;
if(!$attach['payed']) {
$return .= <<<EOF
<a href="misc.php?action=attachpay&aid={$attach['aid']}" onclick="floatwin('open_attachpay', this.href, 600, 250);return false;" target="_blank">[购买]</a>
EOF;
} }
$return .= <<<EOF
<div class="t_smallfont">{$attach['dateline']}</div></div>
EOF;
} else {
$return .= <<<EOF
{$attach['attachicon']} <strong>收费附件: {$attach['filename']}</strong>
EOF;
}
$return .= <<<EOF
EOF;
?><? return $return; }
?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_discuzcode.tpl.php
|
PHP
|
asf20
| 11,476
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); 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/51shangcheng.cn/htdocs/forumdata/templates/TEMPLATEID_header_ajax.tpl.php
|
PHP
|
asf20
| 355
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/login.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/header_nofloat.htm', 1250740510, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/login.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/seccheck.htm', 1250740510, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/login.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/footer_nofloat.htm', 1250740510, '2', './templates/uchome')
;?>
<? include template('header'); if(!empty($message)) { ?>
<?=$ucsynlogin?>
<script type="text/javascript" reload="1">
<? if($message == 2) { ?>
floatwin('close_login');
floatwin('open_register', '<?=$location?>', 600, 400, '600,0');
<? } elseif($message == 1) { ?>
display('loginfield_selectinput');
display('loginform');
pagescroll.right(2);
<? if($groupid == 8) { ?>
$('messageleft').innerHTML = '<h1>欢迎您回来 <?=$usergroups?> <?=$discuz_user?></h1>您的帐号处于非激活状态';
$('messageright').innerHTML = '<h1><a href="memcp.php">个人中心</a></h1>';
setTimeout("window.location.href='memcp.php'", <?=$mrefreshtime?>);
<? } else { ?>
$('messageleft').innerHTML = '<h1>欢迎您回来 <?=$usergroups?> <?=$discuz_user?></h1>';
<? if(!empty($floatlogin)) { ?>
$('messageright').innerHTML = '<h1><a href="javascript:;" onclick="location.reload()">如果该页面长时间没有响应,请点这里刷新</a></h1>';
setTimeout('location.reload()', <?=$mrefreshtime?>);
<? } else { ?>
$('messageright').innerHTML = '<h1><a href="<? echo dreferer(); ?>">现在将转入登录前页面</a></h1>';
setTimeout("window.location.href='<? echo dreferer(); ?>'", <?=$mrefreshtime?>);
<? } } if($_DCACHE['settings']['frameon'] && $_DCOOKIE['frameon'] == 'yes') { ?>
if(top != self) {
parent.leftmenu.location.reload();
}
<? } } ?>
floatwinreset = 1;
</script>
<? } else { if(empty($infloat)) { ?><link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_float.css?<?=VERHASH?>" />
<style type="text/css">
.main { overflow: hidden; }
.content { margin: 5px; min-height: 400px; <?=FLOATBGCODE?>; }
* html .content { height: 400px; overflow: auto; }
.fixedbtn { position: static; }
</style>
<div id="nav"><a href="<?=$indexname?>"><?=$bbname?></a> <?=$navigation?></div>
<div id="wrap" class="wrap s_clear">
<div class="main"><div class="content"><div class="nojs">
<div id="floatwinnojs"><? } ?>
<div class="float" id="floatlayout_login" style="width: 600px; height: 400px;">
<div style="width: 1800px">
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<span>
<? if(!empty($infloat)) { ?><a href="javascript:;" class="float_close" onclick="floatwin('close_login')" title="关闭">关闭</a><? } ?>
</span>
</h3>
<form method="post" name="login" id="loginform" class="gateform" onsubmit="<? if($pwdsafety) { ?>pwmd5('password3');<? } ?>pwdclear = 1;ajaxpost('loginform', 'returnmessage', 'returnmessage', 'onerror');return false;" action="logging.php?action=login&loginsubmit=yes<? if(!empty($infloat)) { ?>&floatlogin=yes<? } ?>">
<h3 id="returnmessage">用户登录</h3>
<input type="hidden" name="formhash" value="<?=FORMHASH?>" />
<div class="loginform nolabelform">
<div class="selectinput">
<select name="loginfield" style="float:left;width:50px;" id="loginfield">
<option value="username">用户名</option>
<option value="uid">UID</option>
</select>
<input type="text" name="username" autocomplete="off" size="36" class="txt" tabindex="1" value="<?=$username?>" />
</div>
<p class="selectinput loginpsw">
<label for="password3">密 码 :</label>
<input type="password" id="password3" name="password" onfocus="clearpwd()" onkeypress="detectcapslock(event, this)" size="36" class="txt" tabindex="1" />
</p>
<? if($secqaacheck || $seccodecheck) { $seccheckfloat = 'floatlayout_login'; ?><div id="seccodelayer" style="position:relative"><script type="text/javascript" reload="1">
function updateseccode<?=$secchecktype?>(op) {
if(isUndefined(op)) {
var x = new Ajax();
ajaxget('ajax.php?action=updateseccode&secchecktype=<?=$secchecktype?>', 'seccodeverify<?=$secchecktype?>_menu', 'seccodeverify<?=$secchecktype?>_menu');
} else {
window.document.seccodeplayer.SetVariable("isPlay", "1");
}
$('seccodeverify<?=$secchecktype?>').focus();
}
function updatesecqaa<?=$secchecktype?>() {
var x = new Ajax();
ajaxget('ajax.php?action=updatesecqaa', 'secanswer<?=$secchecktype?>_menu', 'secanswer<?=$secchecktype?>_menu');
}
var secclick<?=$secchecktype?> = new Array();
var seccodefocus = 0;
function opensecwin<?=$secchecktype?>(id, type) {
if(!secclick<?=$secchecktype?>[id]) {
$(id).value = '';
secclick<?=$secchecktype?>[id] = 1;
if(type) {
$(id + '_menu').style.top = (parseInt($(id + '_menu').style.top) - parseInt($(id + '_menu').style.height)) + 'px';
updateseccode<?=$secchecktype?>();
} else {
updatesecqaa<?=$secchecktype?>();
}
}
<? if(empty($secchecktype)) { if(!empty($infloat)) { ?>
InFloat='<?=$seccheckfloat?>';
<? } if($seccheckfloat) { ?>
$(id + '_menu').style.position = 'absolute';
$(id + '_menu').style.top = (-parseInt($(id + '_menu').style.height)) + 'px';
<? if($secqaacheck) { ?>
if(type) {
$(id + '_menu').style.left = $(id).offsetLeft + 'px';
} else {
$(id + '_menu').style.left = '0px';
}
<? } else { ?>
$(id + '_menu').style.left = '0px';
<? } } } elseif($secchecktype == 1) { if(!empty($infloat)) { ?>
InFloat='floatlayout_register';
<? } ?>
showMenu(id, 0, 2, 3);
<? } elseif($secchecktype == 3) { ?>
showMenu(id, 0, 2, 3);
<? } ?>
$(id + '_menu').style.display = '';
$(id).focus();
$(id).unselectable = 'off';
}
</script>
<? if($secqaacheck) { ?>
<input name="secanswer" id="secanswer<?=$secchecktype?>" type="text" autocomplete="off" style="width:50px" value="验证问答" class="txt" onfocus="opensecwin<?=$secchecktype?>(this.id, 0)" onclick="opensecwin<?=$secchecktype?>(this.id, 0)" onblur="display(this.id + '_menu');checksecanswer<?=$secchecktype?>();" tabindex="1">
<span id="checksecanswer<?=$secchecktype?>"><img src="images/common/none.gif" width="16" height="16"></span>
<div id="secanswer<?=$secchecktype?>_menu" class="seccodecontent" style="width:200px;height:80px;display:none"></div>
<? } if($seccodecheck) { ?>
<input name="seccodeverify" id="seccodeverify<?=$secchecktype?>" type="text" autocomplete="off" style="width:50px" value="验证码" class="txt" onfocus="opensecwin<?=$secchecktype?>(this.id, 1)" onclick="opensecwin<?=$secchecktype?>(this.id, 1)" onblur="if(!seccodefocus) {display(this.id + '_menu')}checkseccode<?=$secchecktype?>();" tabindex="1">
<a href="javascript:;" onclick="updateseccode<?=$secchecktype?>()">换一个</a>
<span id="checkseccodeverify<?=$secchecktype?>"><img src="images/common/none.gif" width="16" height="16"></span>
<div id="seccodeverify<?=$secchecktype?>_menu" class="seccodecontent" onmouseover="seccodefocus = 1" onmouseout="seccodefocus = 0" style="cursor: pointer;top: 256px;width:<?=$seccodedata['width']?>px;height:<?=$seccodedata['height']?>px;display:none"></div>
<? } ?>
<script type="text/javascript" reload="1">
var profile_seccode_invalid = '验证码输入错误,请重新填写。';
var profile_secanswer_invalid = '验证问答回答错误,请重新填写。';
var lastseccode = lastsecanswer = '';
function checkseccode<?=$secchecktype?>() {
var seccodeverify = $('seccodeverify<?=$secchecktype?>').value;
if(seccodeverify == lastseccode) {
return;
} else {
lastseccode = seccodeverify;
}
var cs = $('checkseccodeverify<?=$secchecktype?>');
<? if($seccodedata['type'] != 1) { ?>
if(!(/[0-9A-Za-z]{4}/.test(seccodeverify))) {
warning<?=$secchecktype?>(cs, profile_seccode_invalid);
return;
}
<? } else { ?>
if(seccodeverify.length != 2) {
warning<?=$secchecktype?>(cs, profile_seccode_invalid);
return;
}
<? } ?>
ajaxresponse<?=$secchecktype?>('checkseccodeverify<?=$secchecktype?>', 'action=checkseccode&seccodeverify=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(seccodeverify) : seccodeverify));
}
function checksecanswer<?=$secchecktype?>() {
var secanswer = $('secanswer<?=$secchecktype?>').value;
if(secanswer == lastsecanswer) {
return;
} else {
lastsecanswer = secanswer;
}
ajaxresponse<?=$secchecktype?>('checksecanswer<?=$secchecktype?>', 'action=checksecanswer&secanswer=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(secanswer) : secanswer));
}
function ajaxresponse<?=$secchecktype?>(objname, data) {
var x = new Ajax('XML', objname);
x.get('ajax.php?inajax=1&' + data, function(s){
var obj = $(objname);
if(s == '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></div>
<? } ?>
<div class="selecttype">
<select id="questionid" name="questionid" change="if($('questionid').value > 0) {$('answer').style.display='';} else {$('answer').style.display='none';}">
<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>
</div>
<p><input type="text" name="answer" id="answer" style="display:none" autocomplete="off" size="36" class="txt" tabindex="1" /></p>
</div>
<div class="logininfo multinfo">
<? if($discuz_uid) { ?>
<h4><?=$discuz_userss?>, <a href="javascript:;" onclick="ajaxget('float_register.php?action=logout&formhash=<?=FORMHASH?>', 'returnmessage', 'returnmessage');doane(event);">退出</a></h4>
<p><? echo discuz_uc_avatar($discuz_uid, 'small');; ?></p>
<? } else { ?>
<h4>没有帐号?<a href="<?=$regname?>" onclick="floatwin('close_login');floatwin('open_register', this.href, 600, 400, '600,0');return false;" title="注册帐号"><?=$reglinkname?></a></h4>
<p>忘记密码, <a href="javascript:;" onclick="display('loginform');display('loginfield_selectinput');<? if($secqaacheck || $seccodecheck) { ?>display('seccodelayer');<? } ?>pagescroll.right()" title="找回密码">找回密码</a></p>
<? } ?>
<p>无法登录,<a href="javascript:;" onclick="ajaxget('float_register.php?action=clearcookies&formhash=<?=FORMHASH?>', 'returnmessage2', 'returnmessage2');doane(event);" title="清除登录状态">清除登录状态</a></p>
</div>
<p class="fsubmit">
<button class="submit" type="submit" name="loginsubmit" value="true" tabindex="1">登录</button>
<input type="checkbox" class="checkbox" name="cookietime" id="cookietime" tabindex="1" value="2592000" <?=$cookietimecheck?> /> <label for="cookietime">记住我的登录状态</label>
</p>
</form>
</div>
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<span>
<? if(!empty($infloat)) { ?><a href="javascript:;" class="float_close" onclick="floatwin('close_login')" title="关闭">关闭</a><? } ?>
</span>
</h3>
<div class="gateform">
<h3 id="returnmessage3">找回密码</h3>
<div class="loginform">
<form method="post" id="lostpwform" onsubmit="ajaxpost('lostpwform', 'returnmessage3', 'returnmessage3', 'onerror');return false;" action="member.php?action=lostpasswd&lostpwsubmit=yes&infloat=yes">
<input type="hidden" name="formhash" value="<?=FORMHASH?>" />
<input type="hidden" name="handlekey" value="lostpwform" />
<label><em>用户名:</em><input type="text" name="username" size="25" value="" tabindex="1" class="txt" /></label>
<label><em>Email:</em><input type="text" name="email" size="25" value="" tabindex="1" class="txt" /></label>
<p class="fsubmit">
<em></em>
<button class="submit" type="submit" name="lostpwsubmit" value="true" tabindex="100">提交</button>
</p>
</form>
</div>
<div class="logininfo multinfo">
<h4>没有帐号?<a href="<?=$regname?>" onclick="floatwin('close_login');floatwin('open_register', this.href, 600, 400, '600,0');return false;" title="注册帐号"><?=$reglinkname?></a></h4>
<p><a href="javascript:;" onclick="pagescroll.left(1, 'display(\'loginfield_selectinput\');<? if($secqaacheck || $seccodecheck) { ?>display(\'seccodelayer\');<? } ?>display(\'loginform\');');">返回登录</a></p>
</div>
</div>
<? if($sitemessage['login']) { ?>
<div class="moreconf sitemsg">
<div class="custominfoarea">
<a href="javascript:;" onclick="display('custominfo_login')" onblur="$('custominfo_login').style.display = 'none'"><img src="<?=IMGDIR?>/info.gif" alt="帮助" /></a>
<div id="custominfo_login" class="sitenote">
<div class="cornerlayger"><? echo $sitemessage['login'][array_rand($sitemessage['login'])]; ?></div>
<div class="minicorner"></div>
</div>
</div>
</div>
<? } ?>
</div>
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<span>
<? if(!empty($infloat)) { ?><a href="javascript:;" class="float_close" onclick="floatwin('close_login')" title="关闭">关闭</a><? } ?>
</span>
</h3>
<div class="validateinfo">
<div id="messageleft"></div>
<div id="messageright"></div>
</div>
</div>
</div>
<script src="include/js/md5.js?<?=VERHASH?>" type="text/javascript" reload="1"></script>
<script type="text/javascript" reload="1">
var pwdclear = 0;
var pagescroll = new pagescroll_class('floatlayout_login', 600, 400);
loadselect('loginfield', 0, 'floatlayout_login', 1);
loadselect('questionid', 0, 'floatlayout_login', 1);
document.body.focus();
$('loginform').username.focus();
<? if($sitemessage['login'] && $sitemessage['time']) { ?>
setTimeout('display_opacity(\'custominfo_login\',100)', <?=$sitemessage['time']?>);
<? } if($pwdsafety) { ?>
var pwmd5log = new Array();
function pwmd5() {
numargs = pwmd5.arguments.length;
for(var i = 0; i < numargs; i++) {
if(!pwmd5log[pwmd5.arguments[i]] || $(pwmd5.arguments[i]).value.length != 32) {
pwmd5log[pwmd5.arguments[i]] = $(pwmd5.arguments[i]).value = hex_md5($(pwmd5.arguments[i]).value);
}
}
}
<? } ?>
function clearpwd() {
if(pwdclear) {
$('password3').value = '';
}
pwdclear = 0;
}
function messagehandle_lostpwform(key) {
if(key == 141) {
pagescroll.right();
$('messageleft').innerHTML = '<h1>取回密码的方法发送到您的信箱中,请在 3 天之内到论坛修改您的密码。</h1>';
$('messageright').innerHTML = '<h1><a href="javascript:;" onclick="floatwin(\'close_login\')">关闭</a></h1>';
}
}
</script>
<? } updatesession(); if(empty($infloat)) { ?></div>
</div></div></div>
</div><? } include template('footer'); ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_login.tpl.php
|
PHP
|
asf20
| 15,224
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/header.htm', 1250692031, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread_node.htm', 1250692031, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread_fastpost.htm', 1250692031, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/footer.htm', 1250692031, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/css_script.htm', 1250692031, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread_pay.htm', 1250692031, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/seditor.htm', 1250692031, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/viewthread.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/jsmenu.htm', 1250692031, '2', './templates/uchome')
;?>
<!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?>
<style type="text/css">
@import url(forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>);
<? if(CURSCRIPT == 'viewthread') { ?>
@import url(forumdata/cache/style_<?=STYLEID?>_viewthread.css?<?=VERHASH?>);
<? } if(CURSCRIPT == 'forumdisplay' && $forum['ismoderator']) { include template('css_topicadmin'); } elseif(CURSCRIPT == 'viewthread') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
#f_post td { padding-top: 15px; padding-bottom: 20px; vertical-align: top; }
#f_post p, .fastcheck { margin: 5px 0; }
#f_post .txtarea { margin: -1px 0 0; width: 596px; height: 120px; border-color: <?=INPUTBORDERDARKCOLOR?> <?=INPUTBORDER?> <?=INPUTBORDER?> <?=INPUTBORDERDARKCOLOR?>; border-top: none; overflow: auto; }
.defaultpost { height: auto !important; height:<?=$_DCACHE['custominfo']['postminheight']?>px; min-height:<?=$_DCACHE['custominfo']['postminheight']?>px !important; }
.signatures { max-height: <?=$maxsigrows?>px; }
* html .signatures { height: expression(signature(this)); }
.t_msgfontfix { min-height: 100px; }
* html .t_msgfontfix { height: 100px; overflow: visible; }
<? if($thread['special'] == 5 && $stand != '') { ?>
.stand_select .postauthor { background: #EBF2F8; }
.stand_select .itemtitle, .stand_select .solidline { margin: 15px 15px 10px; }
.stand_select h2 { float: left; }
<? } } elseif(CURSCRIPT == 'pm') { ?>
#pm_content h1 { float: left; font-size: 14px; }
.postpm { float: right; color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
.pm_header { padding: 6px; border: solid <?=COMMONBORDER?>; border-width: 1px 0; }
.pm_header #pm_search { float: right; }
.pm_list { }
.pm_list li { position: relative; *margin-top: -2px; padding: 10px 140px 10px 75px; min-height: 48px; _height: 48px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.pm_list li .avatar { position: absolute; left: 5px; top: 8px; }
.pm_list .self .avatar { left: auto; right: 75px; }
.pm_list p cite, .pm_list p .time { color: <?=MIDTEXT?>; }
.pm_list p cite { display: block; width: 260px; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm_list p cite.new { padding-left: 25px; background: url(<?=IMGDIR?>/notice_newpm.gif) no-repeat 0 3px; }
.pm_list p cite a { margin-right: 5px; }
.pm_list li .action { position: absolute; right: 10px; top: 50%; margin-top: -18px; display: block; width: 50px; height: 36px; }
.pm_list li .action a { display: block; text-decoration: underline; }
.pm_list li .action a.delete { color: <?=HIGHLIGHTLINK?>; }
.pm_list li .topact { top: 8px; margin-top: 0; }
.sticky { display: block !important; }
.pm_list li.pm_date { padding: 5px 0 5px 75px; min-height: 0; }
#pm_list ul.onerror { padding: 20px 0 0 95px; background-position: 75px 22px; }
#pmlist .summary a { color: <?=HIGHLIGHTLINK?>; }
.pmreply { margin: 1em 0; padding-left: 75px; }
.pmreply textarea { width: 510px; }
.pmback { width: 70px; padding-left: 15px; w\idth: 55px; background: url(<?=IMGDIR?>/arrow_left.gif) no-repeat 0 50%; }
#buddies li { float: left; width: 8em; height: 1.6em; overflow: hidden; white-space: nowrap; }
.newpm_notice { padding: 0 0 10px 75px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.newpm_notice a { color: <?=HIGHLIGHTLINK?>; }
.quote { margin: 10px 0; padding: 10px 10px 10px 65px; }
.quote { padding-bottom: 5px; background: #F9F9F9 url(<?=IMGDIR?>/icon_quote_s.gif) no-repeat 20px 6px; }
.quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url(<?=IMGDIR?>/icon_quote_e.gif) no-repeat 100% 100%; line-height: 1.6em; }
.blockall { margin-bottom: 10px; padding: 10px 0; background: <?=SPECIALBG?>; text-align: center; color: <?=LIGHTTEXT?>; }
.blockall a { color: <?=HIGHLIGHTLINK?>; font-size: 1.17em; }
.blacklist li a, .blacklist li strong { float: left; }
.blacklist .remove { margin: 4px 0 0 5px; width: 12px; height: 12px; background: url(<?=IMGDIR?>/close.gif) no-repeat 100% 50px; line-height: 100px; overflow: hidden; }
.blacklist .hover .remove { background-position: 100% 0; }
.blacklist .remove:hover { background-position: 100% -12px; }
.allblocked { padding-bottom: 10px; width: 100%!important; border-bottom: 1px solid <?=COMMONBORDER?>; }
.allblocked a { margin-left: 10px; color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'magic') { ?>
.magicprice { color: <?=NOTICETEXT?>; font-weight: 700; font-size: 16px; }
.magic_yes { color: #080; font-weight: 700; }
.magic_no { color: #F00; font-weight: 700; }
.magicmain { height: 180px; overflow-y: auto; }
.magicinfo { margin-bottom: 10px; width: 100%; }
.magicinfo td { padding: 3px 0; }
.magicinfo h5 { font-size: 14px; }
.mymagic { margin-bottom: 30px; }
.mymagic .inlinelist li { float: left; margin-top: 10px; width: 50%; }
.mymagic .magicimg { float:left; margin-right: 10px; width: 25%; }
.mymagic .magicdetail { float:left; width: 65%; }
.mymagic h5 a { text-decoration: underline; color: <?=HIGHLIGHTLINK?>; }
.mymagic p { margin: 3px 0; }
.mymagic .inlinelist .clear { float: none; clear: both; margin: 0; width: 100%; }
.magicnum { margin: 10px 0; }
.magicnum p { margin-top: 5px; }
.fixedbtn { position: absolute; bottom: 15px; }
<? } elseif(CURSCRIPT == 'medal') { ?>
.medallist { overflow: hidden; margin-bottom: 30px; }
.medallist li { margin-bottom: 15px; width: 24.9%; }
.medalimg { float: left; margin: 5px; width: 15%; }
.medalinfo { float: left; width: 75%; }
.medalinfo p { color: <?=MIDTEXT?>; }
.medalexp { margin-left: 8px; color: <?=LIGHTTEXT?>; font-weight: 400; }
.medallist .clear { overflow: hidden; float: none; clear: both; margin: 0; width: 100%; height: 1px; }
.medalp { margin-bottom: 10px; }
<? } elseif(CURSCRIPT == 'invite') { ?>
.invitecode { border: none !important; background-color: transparent; font-family: "Courier New", Courier, monospace, serif; }
input.marked { background: transparent url(<?=IMGDIR?>/check_right.gif) no-repeat 100% 50%; }
.expiration .invitecode { text-decoration: line-through; color: red; }
<? } elseif(CURSCRIPT == 'search') { ?>
.searchform { position: relative; margin: 0 5px 10px; padding: 30px 10px 20px 160px; border-top: 5px solid <?=WRAPBG?>; background: <?=SPECIALBG?>; }
.searchlabel { position: absolute; left: 0; _left: -160px; top: 30px; width: 150px; text-align: center; font-weight: 700; font-size: 26px; color: <?=HIGHLIGHTLINK?>; line-height: 30px; }
.searchlabel strong { display: block; font-size: 14px; color: <?=MIDTEXT?>; font-weight: 400; text-align: center; }
.searchform h3 { margin: 10px 2px; font-size: 14px; }
.searchkey { margin-bottom: 1em; zoom: 1; }
.searchkey #searchsubmit { margin: 0 16px 0 10px; }
* html #searchsubmit { height: 21px; line-height: 19px; }
*+html #searchsubmit { height: 21px; line-height: 19px; }
.searchkey a { background: url(images/common/editor.gif) 0 -181px no-repeat; padding:2px 0 2px 22px; color: <?=HIGHLIGHTLINK?>; }
.searchlist { margin: 5px 20px; }
.searchlist h1 { font-size: 14px; }
.searchlist h1 em { font-weight: 400; }
#srchfid optgroup, #moveto optgroup { font-style: normal; font-weight: 400; font-size: 12px; }
<? } elseif(CURSCRIPT == 'faq' || CURSCRIPT == 'announcement') { ?>
.faqmessage, .announcemsg { margin-bottom: 10px; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.faqmessage ul, .announcemsg ul { padding-left: 1.6em; }
.faq li { margin-left: 2em; }
.faq ul li { list-style-type: disc; }
.t_msgfont ul.o li, .faq ol li { list-style-type: decimal; }
.author { margin-bottom: 5px; font-size: 12px; color: <?=LIGHTTEXT?>; }
<? } elseif(CURSCRIPT == 'memcp' || CURSCRIPT == 'credits') { if(CURSCRIPT == 'memcp') { ?>
.avatararea { float: left; margin-right: 20px; width: 120px; }
.avatararea a { display:block; margin: 15px 0; width: 119px; height: 31px; line-height: 31px; text-align: center; background: url(<?=IMGDIR?>/bigbtn.gif) no-repeat; font-size: 14px; }
.avatararea a:hover { text-decoration: none; }
#avatarctrl { float: left; }
<? } ?>
.creditstable {}
.creditstable td { padding: 10px 5px !important; }
.cre_title { width: 50px; }
.cre_opt { width: 150px; }
.cre_arrow { width: 30px; }
.cre_btn { margin-top: 10px; }
<? } elseif(CURSCRIPT == 'my' && $item == 'buddylist') { ?>
.friendavatar { float: left; margin: 10px 10px 10px 0; }
.friendinfo { overflow: hidden; margin: 10px 10px 10px 0; }
* html .friendinfo { margin-left: 70px; }
.friendinfo p { color: <?=LIGHTTEXT?> }
.friendinfo a { text-decoration: none !important; }
.friendinfo a:hover { text-decoration: underline !important; }
.friendinfo h5 a { font-size: 14px; color: <?=HIGHLIGHTLINK?>; }
.friendctrl { margin-top :5px; }
.friendctrl a { color: <?=TABELTEXT?>; }
.buddyname { margin-bottom: 8px; line-height: 16px; }
.online_buddy { margin-left: 8px; vertical-align: middle; }
<? } elseif(CURSCRIPT == 'modcp') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
.notelist { margin-top: -1px; border-top: 1px solid <?=COMMONBORDER?>; border-bottom: 1px solid <?=COMMONBORDER?>; zoom: 1; }
.notelist .c_header, .notelistsubmit { margin: 10px; }
.notelistbg, .notelistbg .c_header h3, .notelistbg .closenode .c_header_ctrlbtn { background-color: <?=INTERLEAVECOLOR?>; }
.notelistmsg { overflow: hidden; margin: 0 10px 10px 33px; }
.notelistmsg .submit { margin-top: 10px; }
.notelistmsg h3 { margin: 30px 0 5px; color: <?=HIGHLIGHTLINK?>; }
.datalist .announcetable { width: 600px; }
.datalist .announcetable, .datalist .announcetable th, .datalist .announcetable td { padding: 3px 0; border: none; }
.datalist .announcetable th { font-weight: 700; }
.anno_subject .txt { width: 270px; *width: 220px; }
.anno_type select { width: 80px; }
.anno_time .txt { width: 80px; }
.anno_msg .txtarea, .anno_msg .txt { width: 590px; }
.anno_msg .txtarea { margin-top: -1px; border-top-color: <?=INPUTBORDER?>; }
.schresult .formtable th { padding: 5px 10px 5px 20px; width: 60px; }
.schresult .formtable td a{ color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
<? } elseif(CURSCRIPT == 'stats' || CURSCRIPT == 'member') { ?>
.hasscrolltable { overflow: hidden; zoom: 1; * padding-bottom: 9px; }
.datalist .scrollfixedtable { float: left; margin-top: 1px; margin-left: 1px; width: 20%; }
.scrolltable { float:left; width: 79%; overflow-x: scroll; }
.scrolltable table { table-layout: fixed; margin: 1px 0 0; width: 1600px; }
.datalist .fixedtable { margin-bottom: 10px; width: 99%; text-align: right; }
.datalist .fixedtable a { text-decoration: underline; }
.datalist table a { text-decoration: underline; }
.datalist table a:hover { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'profile') { ?>
#profile .itemtitle h1 { color: <?=HIGHLIGHTLINK?>; }
#profile p { margin: 5px 0; }
.profile_side .avatar { margin: 25px 0; text-align: center; }
.profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
.profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
.profile_side li.pm { background-image: url(<?=IMGDIR?>/pmto.gif); }
.profile_side li.buddy { background-image: url(<?=IMGDIR?>/addbuddy.gif); }
.profile_side li.space { background-image: url(<?=IMGDIR?>/home.gif); }
.profile_side li.searchpost { background-image: url(<?=IMGDIR?>/fastreply.gif); }
.profile_side li.magic { background-image: url(<?=IMGDIR?>/magic.gif);}
#profile_stats li { text-indent: 0; }
#profile_stats li img { float: left; margin-right: 6px; }
#uch_feed { float: right; width: 50%; }
#uch_feed li { width: 100%; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#uch_feed img { margin-bottom: -4px; }
#uch_feed a { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'post') { ?>
* html .content { height: auto !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 0; }
* html .nojs .sim_upfile .sitenote { bottom: 161px; }
* html .nojs .sim_upfile .upfile_special { bottom: 301px; }
* html .nojs .sim_upfile .upfile { bottom: 356px; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; left: 0; width: auto; }
#floatwinnojs { position: static; }
.nojs .floatboxswf { width: 600px !important; }
.nojs .floatboxswf div { margin: 0 0 10px 11px; }
.nojs .floatbox1 { width: 100%; height: auto; }
#custominfoarea { right: 10px; left: auto; }
.nojs .specialinfo, .nojs .upfilelist { overflow-y: visible; height: auto !important; }
.popupmenu_popup, #e_popup_smilies_menu { *margin-top: 22px; }
* html .popupmenu_popup li { clear: both; float: left; }
* html .fontstyle_menu { overflow: hidden; width: 35px; }
* html .fontstyle_menu ul { width: 70px; }
* html .fontname_menu li { float: none; }
<? } if(CURSCRIPT == 'register') { ?>
* html .content { overflow-y: visible !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 20%; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; right: -15px; left: auto; width: auto; }
* html .nojs .moreconf { position: absolute; left: 0; bottom: 55px; }
*+html .nojs .moreconf { position: absolute; left: 165px; }
#floatwinnojs { position: static; }
.nojs .loginform, .nojs .regform, .nojs .floatbox, .nojs .floatbox1 { height: auto; }
.nojs .gateform { padding-bottom: 50px; }
<? if($secqaacheck) { ?>
.regform #secanswer_menu { left: 260px; top: 176px; }
* html .regform #secanswer_menu { left: 113px; }
.regform #seccodeverify_menu { left: 340px; }
* html .regform #seccodeverify_menu { left: 193px;}
<? } else { ?>
.regform #seccodeverify_menu { left: 260px; }
* html .regform #seccodeverify_menu { left: 113px; }
<? } } ?>
</style><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', allowfloatwin = '<?=$allowfloatwin?>', 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="include/js/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>
<a href="my.php?item=threads<? if($forum) { ?>&srchfid=<?=$forum['fid']?><? } ?>">我的帖子</a>
<? 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 href="pm.php" id="pm_ntc"<? if($newpm && $_DCOOKIE['pmnum']) { ?> onmouseover="pmviewnew()" class="new" title="您有新短消息"<? } ?> target="_blank">短消息<? if($newpm && $_DCOOKIE['pmnum']) { ?><span>(<?=$_DCOOKIE['pmnum']?>)</span><? } ?></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&formhash=<?=FORMHASH?>">退出</a>
<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
<cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">激活</a>
<a href="logging.php?action=logout&formhash=<?=FORMHASH?>">退出</a>
<? } else { ?>
<a href="<?=$regname?>" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><?=$reglinkname?></a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">登录</a>
<? } ?>
</div>
<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !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>
<script src="include/js/viewthread.js?<?=VERHASH?>" type="text/javascript"></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(this.id)" class="dropmenu"><?=$bbname?></a><? } else { ?><a href="<?=$indexname?>"><?=$bbname?></a><? } ?><?=$navigation?>
</div>
<? if($admode && empty($insenz['hardadstatus']) && !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" class="wrap s_clear threadfix">
<div class="forumcontrol">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="modaction">
<? if($forum['ismoderator']) { ?>
<script type="text/javascript">
function modaction(action, pid, extra) {
if(!action) {
return;
}
var extra = !extra ? '' : '&' + extra;
if(!pid && in_array(action, ['delpost', 'banpost'])) {
var checked = 0;
var pid = '';
for(var i = 0; i < $('modactions').elements.length; i++) {
if($('modactions').elements[i].name.match('topiclist')) {
checked = 1;
break;
}
}
} else {
var checked = 1;
}
if(!checked) {
alert('请选择需要操作的帖子');
} else {
floatwinreset = 1;
$('modactions').action = 'topicadmin.php?action='+ action +'&fid=<?=$fid?>&tid=<?=$tid?>&infloat=yes&nopost=yes' + (!pid ? '' : '&topiclist[]=' + pid) + extra;
floatwin('open_mods', '', 250, action != 'split' ? 215 : 365);
$('floatwin_mods').innerHTML = '';
ajaxpost('modactions', 'floatwin_mods', '');
if(is_ie) {
doane(event);
}
hideMenu();
}
}
function modthreads(optgroup, operation) {
var operation = !operation ? '' : operation;
floatwinreset = 1;
$('modactions').action = 'topicadmin.php?action=moderate&fid=<?=$fid?>&moderate[]=<?=$tid?>&infloat=yes&nopost=yes' + (optgroup != 3 && optgroup != 2 ? '&from=<?=$tid?>' : '');
floatwin('open_mods', '', 250, optgroup < 2 ? 365 : 215);
$('modactions').optgroup.value = optgroup;
$('modactions').operation.value = operation;
$('floatwin_mods').innerHTML = '';
ajaxpost('modactions', 'floatwin_mods', '');
if(is_ie) {
doane(event);
}
}
function pidchecked(obj) {
if(obj.checked) {
if(is_ie && !is_opera) {
var inp = document.createElement('<input name="topiclist[]" />');
} else {
var inp = document.createElement('input');
inp.name = 'topiclist[]';
}
inp.id = 'topiclist_' + obj.value;
inp.value = obj.value;
inp.style.display = 'none';
$('modactions').appendChild(inp);
} else {
$('modactions').removeChild($('topiclist_' + obj.value));
}
}
var modclickcount = 0;
function modclick(obj, pid) {
if(obj.checked) {
modclickcount++;
} else {
modclickcount--;
}
$('modcount').innerHTML = modclickcount;
if(modclickcount > 0) {
var offset = fetchOffset(obj);
$('modlayer').style.top = offset['top'] - 65 + 'px';
$('modlayer').style.left = offset['left'] - 215 + 'px';
$('modlayer').style.display = '';
} else {
$('modlayer').style.display = 'none';
}
}
</script>
<span id="modopt" onclick="$('modopt').id = 'modopttmp';this.id = 'modopt';showMenu(this.id)" class="dropmenu">主题管理</span>
<? } ?>
</td>
<td>
<?=$multipage?>
<span class="pageback"<? if($visitedforums) { ?> id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu(this.id)"<? } ?>><a href="<?=$upnavlink?>">返回列表</a></span>
<span class="replybtn"><a href="post.php?action=reply&fid=<?=$fid?>&tid=<?=$tid?>" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">回复</a></span>
<span class="postbtn" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">发帖</a></span>
</td>
</tr>
</table>
</div>
<? if($forum['ismoderator']) { ?>
<ul class="popupmenu_popup headermenu_popup inlinelist" id="modopt_menu" style="width: 180px; display: none">
<? if($thread['digest'] >= 0) { if($allowdelpost) { ?><li class="wide"><a href="javascript:;" onclick="modthreads(3, 'delete')">删除主题</a></li><? } ?>
<li class="wide"><a href="javascript:;" onclick="modthreads(3, 'down')">提升下沉</a></li>
<? if($allowstickthread) { ?>
<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'stick')">主题置顶</a></li>
<? } ?>
<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'highlight')">高亮显示</a></li>
<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'digest')">设置精华</a></li>
<? if($forum['modrecommend']['open'] && $forum['modrecommend']['sort'] != 1) { ?>
<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'recommend')">推荐主题</a></li>
<? } ?>
<li class="wide"><a href="javascript:;" onclick="modthreads(4)">关闭打开</a></li>
<li class="wide"><a href="javascript:;" onclick="modthreads(2, 'move')">移动主题</a></li>
<li class="wide"><a href="javascript:;" onclick="modthreads(2, 'type')">主题分类</a></li>
<? if(!$thread['special']) { ?>
<li class="wide"><a href="javascript:;" onclick="modaction('copy')">复制主题</a></li>
<li class="wide"><a href="javascript:;" onclick="modaction('merge')">合并主题</a></li>
<? if($thread['price'] > 0 && $allowrefund) { ?>
<li class="wide"><a href="javascript:;" onclick="modaction('refund')">强制退款</a></li>
<? } } ?>
<li class="wide"><a href="javascript:;" onclick="modaction('split')">分割主题</a></li>
<li class="wide"><a href="javascript:;" onclick="modaction('repair')">修复主题</a></li>
<? } if($thread['special'] == 3) { ?>
<li class="wide"><a href="javascript:;" onclick="modaction('removereward')">取消悬赏</a></li>
<? } ?>
</ul>
<? if($allowbanpost || $allowdelpost) { ?>
<div id="modlayer" style="display:none;position:position;width:165px;">
<span>选中</span><strong id="modcount"></strong><span>篇: </span>
<? if($allowbanpost) { ?>
<a href="javascript:;" onclick="modaction('warn')">警告</a>
<a href="javascript:;" onclick="modaction('banpost')">屏蔽</a>
<? } if($allowdelpost) { ?>
<a href="javascript:;" onclick="modaction('delpost')">删除</a>
<? } ?>
</div>
<? } } if($allowposttrade || $allowpostpoll || $allowpostreward || $allowpostactivity || $allowpostdebate || $allowpostvideo || $forum['threadsorts'] || $forum['threadtypes'] || !$discuz_uid) { ?>
<ul class="popupmenu_popup postmenu" id="newspecial_menu" style="display: none">
<? if(!$forum['allowspecialonly']) { ?><li><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');doane(event)">发新话题</a></li><? } if($allowpostpoll || !$discuz_uid) { ?><li class="poll"><a href="post.php?action=newthread&fid=<?=$fid?>&special=1">发布投票</a></li><? } if($allowpostreward || !$discuz_uid) { ?><li class="reward"><a href="post.php?action=newthread&fid=<?=$fid?>&special=3">发布悬赏</a></li><? } if($allowpostdebate || !$discuz_uid) { ?><li class="debate"><a href="post.php?action=newthread&fid=<?=$fid?>&special=5">发布辩论</a></li><? } if($allowpostactivity || !$discuz_uid) { ?><li class="activity"><a href="post.php?action=newthread&fid=<?=$fid?>&special=4">发布活动</a></li><? } if($allowpostvideo || !$discuz_uid) { ?><li class="video"><a href="post.php?action=newthread&fid=<?=$fid?>&special=6">发布视频</a></li><? } if($allowposttrade || !$discuz_uid) { ?><li class="trade"><a href="post.php?action=newthread&fid=<?=$fid?>&special=2">发布商品</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&fid=<?=$fid?>&extra=<?=$extra?>&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&fid=<?=$fid?>&extra=<?=$extra?>&modelid=<?=$id?>"><?=$model['name']?></a></li><? } } } ?>
</ul>
<? } ?>
<div id="postlist" class="mainbox viewthread"><? $postcount = 0; if(is_array($postlist)) { foreach($postlist as $post) { ?><div id="post_<?=$post['pid']?>">
<table id="pid<?=$post['pid']?>" summary="pid<?=$post['pid']?>" cellspacing="0" cellpadding="0">
<tr>
<td class="postauthor">
<? 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>
<? } ?>
<div class="popupmenu_popup userinfopanel" id="userinfo<?=$post['pid']?>" style="display: none; position: absolute;<? if($authoronleft) { ?>margin-top: -11px;<? } ?>">
<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="floatwin('open_sendpm', this.href, 600, 410);return false;" title="发短消息">发短消息</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="MSN 聊天"><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" />MSN 聊天</a></li>
<? } ?>
<li class="buddy"><a href="my.php?item=buddylist&newbuddyid=<?=$post['authorid']?>&buddysubmit=yes" target="_blank" id="ajax_buddy_<?=$post['count']?>" title="加为好友" onclick="ajaxmenu(event, this.id, 3000, 0)">加为好友</a></li>
</ul>
</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($vtonlinestatus && $post['authorid']) { if(($vtonlinestatus == 2 && $onlineauthors[$post['authorid']]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])) { ?>
<em>当前在线
<? } else { ?>
<em>当前离线
<? } ?>
</em>
<? } ?>
</p>
<? if($post['customstatus']) { ?><p class="customstatus"><?=$post['customstatus']?></p><? } ?>
<dl class="s_clear"><? @eval('echo "'.$customauthorinfo['2'].'";'); ?></dl>
<div class="imicons">
<? if($post['qq']) { ?><a href="http://wpa.qq.com/msgrd?V=1&Uin=<?=$post['qq']?>&Site=<?=$bbname?>&Menu=yes" target="_blank" title="QQ"><img src="<?=IMGDIR?>/qq.gif" alt="QQ" /></a><? } 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($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($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="阿里旺旺" /></a><? } if($ucappopen['UCHOME']) { ?>
<a href="<?=$uchomeurl?>/space.php?uid=<?=$post['authorid']?>" target="_blank" title="个人空间"><img src="<?=IMGDIR?>/home.gif" alt="个人空间" /></a>
<? } elseif($ucappopen['XSPACE']) { ?>
<a href="<?=$xspaceurl?>/?uid-<?=$post['authorid']?>" target="_blank" title="个人空间"><img src="<?=IMGDIR?>/home.gif" alt="个人空间" /></a>
<? } if($post['site']) { ?><a href="<?=$post['site']?>" target="_blank" title="查看个人网站"><img src="<?=IMGDIR?>/forumlink.gif" alt="查看个人网站" /></a><? } ?>
<a href="space.php?uid=<?=$post['authorid']?>" target="_blank" title="查看详细资料"><img src="<?=IMGDIR?>/userinfo.gif" alt="查看详细资料" /></a>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<? } ?>
<?=$post['newpostanchor']?> <?=$post['lastpostanchor']?>
<? if($post['authorid'] && $post['username'] && !$post['anonymous']) { ?>
<div id="userinfo<?=$post['pid']?>_a">
<? if($bannedmessages & 2 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))) { ?>
<div class="avatar">头像被屏蔽</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>
<? } ?>
<p><em><?=$post['authortitle']?></em></p>
</div>
<p><? showstars($post['stars']); ?></p>
<? if($customauthorinfo['1']) { ?><dl class="profile s_clear"><? @eval('echo "'.$customauthorinfo['1'].'";'); ?></dl><? } if($post['medals']) { ?><p><? if(is_array($post['medals'])) { foreach($post['medals'] as $medal) { ?><img src="images/common/<?=$medal['image']?>" alt="<?=$medal['name']?>" title="<?=$medal['name']?>" /><? } } ?></p>
<? } } else { ?>
<div class="avatar">
<? if(!$post['authorid']) { ?>
<a href="javascript:;">游客 <em><?=$post['useip']?></em></a>
<? } elseif($post['authorid'] && $post['username'] && $post['anonymous']) { if($forum['ismoderator']) { ?><a href="space.php?uid=<?=$post['authorid']?>" target="_blank">匿名</a><? } else { ?>匿名<? } } else { ?>
<?=$post['author']?> <em>该用户已被删除</em>
<? } ?>
</div>
<? } if($allowedituser || $allowbanuser || ($forum['ismoderator'] && $allowviewip && ($thread['digest'] >= 0 || !$post['first']))) { ?>
<hr class="shadowline" />
<p>
<? if($forum['ismoderator'] && $allowviewip && ($thread['digest'] >= 0 || !$post['first'])) { ?>
<a href="javascript:;" onclick="ajaxget('topicadmin.php?action=getip&fid=<?=$fid?>&tid=<?=$tid?>&pid=<?=$post['pid']?>', 'ajax_getip_<?=$post['count']?>');doane(event)" title="查看 IP" class="lightlink">IP</a>
<? } 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']?><? } ?>" target="_blank" class="lightlink">编辑此人</a>
<? } if($allowbanuser) { if($adminid == 1) { ?><a href="admincp.php?action=members&operation=ban&username=<?=$post['usernameenc']?>&frames=yes" target="_blank" class="lightlink">禁止此人</a>
<? } else { ?><a href="modcp.php?action=members&op=ban&uid=<?=$post['authorid']?>" target="_blank" class="lightlink">禁止此人</a>
<? } } ?>
</p>
<p id="ajax_getip_<?=$post['count']?>"></p>
<? } ?>
</td>
<td class="postcontent">
<div class="postinfo">
<strong><a title="复制本帖链接" id="postnum<?=$post['pid']?>" href="javascript:;" onclick="setcopy('<?=$boardurl?>viewthread.php?tid=<?=$tid?>&page=<?=$page?><?=$fromuid?>#pid<?=$post['pid']?>', '帖子地址已经复制到剪贴板')"><? if(!empty($postno[$post['number']])) { ?><?=$postno[$post['number']]?><? } else { ?><em><?=$post['number']?></em><?=$postno['0']?><? } ?></a></strong>
<div class="posterinfo">
<div class="pagecontrol">
<? if($post['first']) { ?>
<a href="viewthread.php?action=printable&tid=<?=$tid?>" target="_blank" class="print left">打印</a>
<? if(MSGBIGSIZE) { ?>
<div class="msgfsize right">
<label>字体大小: </label><small onclick="$('postlist').className='mainbox viewthread'" title="正常">t</small><big onclick="$('postlist').className='mainbox viewthread t_bigfont'" title="放大">T</big>
</div>
<? } } 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="只看正方">正方</a>
<? } elseif($post['stand'] == 2) { ?><a href="viewthread.php?tid=<?=$tid?>&extra=<?=$extra?>&stand=2" title="只看反方">反方</a>
<? } else { ?><a href="viewthread.php?tid=<?=$tid?>&extra=<?=$extra?>&stand=0" title="只看中立">中立</a><? } ?>
</label>
<? if($post['stand']) { ?>
<span><a href="misc.php?action=debatevote&tid=<?=$tid?>&pid=<?=$post['pid']?>" id="voterdebate_<?=$post['pid']?>" onclick="ajaxmenu(event, this.id)">支持我</a><?=$post['voters']?></span>
<? } ?>
</span>
<? } ?>
</div>
<div class="authorinfo">
<? if($_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($post['authorid'] && !$post['anonymous']) { if(!$authoronleft) { ?><a href="space.php?uid=<?=$post['authorid']?>" class="posterlink" target="_blank"><?=$post['author']?></a><? } ?><em id="authorposton<?=$post['pid']?>">发表于 <?=$post['dateline']?></em>
<? if(!$authorid) { ?>
| <a href="viewthread.php?tid=<?=$post['tid']?>&page=<?=$page?>&authorid=<?=$post['authorid']?>" rel="nofollow">只看该作者</a>
<? } else { ?>
| <a href="viewthread.php?tid=<?=$post['tid']?>&page=<?=$page?>" rel="nofollow">显示全部帖子</a>
<? } } elseif($post['authorid'] && $post['username'] && $post['anonymous']) { ?>
匿名 <em id="authorposton<?=$post['pid']?>">发表于 <?=$post['dateline']?></em>
<? } elseif(!$post['authorid'] && !$post['username']) { ?>
游客 <em id="authorposton<?=$post['pid']?>">发表于 <?=$post['dateline']?></em>
<? } ?>
</div>
</div>
</div>
<div class="defaultpost">
<? if($admode && empty($insenz['hardadstatus']) && !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($admode && empty($insenz['hardadstatus']) && !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><? } ?><div id="ad_thread4_<?=$post['count']?>"></div>
<div class="postmessage <? if($post['first']) { ?>firstpost<? } ?>">
<? if($post['warned']) { ?>
<span class="postratings"><a href="misc.php?action=viewwarning&tid=<?=$tid?>&uid=<?=$post['authorid']?>" title="受到警告" onclick="floatwin('open_viewwarning', this.href, 600, 410);return false;"><img src="<?=IMGDIR?>/warning.gif" border="0" /></a></span>
<? } if($thread['special'] == 3 && $post['first']) { if($thread['price'] > 0) { ?>
<cite class="re_unsolved">未解决</cite>
<? } elseif($thread['price'] < 0) { ?>
<cite class="re_solved">已解决</cite>
<? } if($activityclose) { ?><cite class="re_solved">活动已结束</cite><? } } if($post['first']) { ?>
<div id="threadtitle">
<? if($thread['readperm']) { ?><em>所需阅读权限 <?=$thread['readperm']?></em><? } ?>
<h1><?=$thread['subject']?></h1>
<? if($thread['tags'] || $relatedkeywords) { ?>
<div class="threadtags">
<? if($thread['tags']) { ?><?=$thread['tags']?><? } if($relatedkeywords) { ?><span class="postkeywords"><?=$relatedkeywords?></span><? } ?>
</div>
<? } ?>
</div>
<? if($thread['special'] == 2 && !$post['message'] && $post['authorid'] == $discuz_uid) { ?>
<p>
<a href="post.php?action=edit&fid=<?=$fid?>&tid=<?=$tid?>&pid=<?=$post['pid']?>" onclick="floatwin('open_edit', this.href, 600, 410, '600,0');return false;">添加柜台介绍</a>
</p>
<? } } elseif($post['subject']) { ?>
<h2><?=$post['subject']?></h2>
<? } if($adminid != 1 && $bannedmessages & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))) { ?>
<div class="locked">提示: <em>作者被禁止或删除 内容自动屏蔽</em></div>
<? } elseif($adminid != 1 && $post['status'] & 1) { ?>
<div class="locked">提示: <em>该帖被管理员或版主屏蔽</em></div>
<? } elseif($post['first'] && $threadpay) { if($thread['freemessage']) { ?>
<div id="postmessage_<?=$pid?>" class="t_msgfont"><?=$thread['freemessage']?></div>
<? } ?>
<div class="locked">
<a href="javascript:;" class="right viewpay" title="购买主题" onclick="floatwin('open_pay', 'misc.php?action=pay&tid=<?=$tid?>&pid=<?=$post['pid']?>', 600, 410)">购买主题</a>
<em class="right">
已购买人数:<?=$thread['payers']?> <a href="misc.php?action=viewpayments&tid=<?=$tid?>" onclick="floatwin('open_pay', this.href, 600, 410);return false;">记录</a>
</em>
<? if($thread['price'] > 0) { ?>本主题需向作者支付 <strong><?=$thread['price']?> <?=$extcredits[$creditstransextra['1']]['title']?> </strong> 才能浏览<? } if($thread['endtime']) { ?>本主题购买截止日期为 <?=$thread['endtime']?>,到期后将免费<? } ?>
</div>
</div><? } else { if($bannedmessages & 1 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5))) { ?>
<div class="locked">提示: <em>作者被禁止或删除 内容自动屏蔽,只有管理员可见</em></div>
<? } elseif($post['status'] & 1) { ?>
<div class="locked">提示: <em>该帖被管理员或版主屏蔽,只有管理员可见</em></div>
<? } 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="floatwin('open_pay', this.href, 600, 410);return false;">记录</a></em>付费主题, 价格:<strong><?=$extcredits[$creditstransextra['1']]['title']?> <?=$thread['price']?> <?=$extcredits[$creditstransextra['1']]['unit']?> </strong></div>
<? } if($typetemplate) { ?>
<?=$typetemplate?>
<? } elseif($optionlist && !($post['status'] & 1) && !$threadpay) { ?>
<div class="typeoption">
<h4><?=$forum['threadsorts']['types'][$thread['sortid']]?></h4>
<table summary="分类信息" cellpadding="0" cellspacing="0" class="formtable datatable"><? if(is_array($optionlist)) { foreach($optionlist as $option) { ?><tr class="<? echo swapclass('colplural'); ?>">
<th><?=$option['title']?></th>
<td><? if($option['value']) { ?><?=$option['value']?><? } else { ?>-<? } ?></td>
</tr><? } } ?></table>
</div>
<? } if($thread['special'] == 1) { include template('viewthread_poll'); } elseif($thread['special'] == 3) { include template('viewthread_reward_price'); } elseif($thread['special'] == 4) { include template('viewthread_activity_info'); } elseif($thread['special'] == 5) { include template('viewthread_debate_umpire'); } elseif($thread['special'] == 6) { include template('viewthread_video'); } } ?>
<div class="<? if(!$thread['special']) { ?>t_msgfontfix<? } else { ?>specialmsg<? } ?>">
<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) { include template('viewthread_trade'); } elseif($thread['special'] == 3) { if($bapid) { $bestpost = $postlist[$bapid];unset($postlist[$bapid]); } include template('viewthread_reward'); } elseif($thread['special'] == 4) { include template('viewthread_activity'); } elseif($thread['special'] == 5) { include template('viewthread_debate'); } } if($post['attachment']) { ?>
<div class="locked">附件: <em>您所在的用户组无法下载或查看附件</em></div>
<? } elseif($hideattach[$post['pid']] && $post['attachments']) { ?>
<div class="locked">附件: <em>本帖附件需要回复才可下载或查看</em></div>
<? } elseif($post['imagelist'] || $post['attachlist']) { ?>
<div class="postattachlist">
<? if($post['imagelist']) { ?>
<?=$post['imagelist']?>
<? } if($post['attachlist']) { ?>
<?=$post['attachlist']?>
<? } ?>
</div>
<? } if($relatedthreadlist && !$qihoo['relate']['position'] && $post['first']) { ?>
<div class="tagrelated">
<h3><em><a href="http://search.qihoo.com/sint/qusearch.html?kw=<?=$searchkeywords?>&sort=rdate&ics=<?=$charset?>&domain=<?=$site?>&tshow=1" target="_blank">更多相关主题</a></em>相关主题</h3>
<ul><? if(is_array($relatedthreadlist)) { foreach($relatedthreadlist as $key => $threads) { if($threads['tid'] != $tid) { ?>
<li>
<? if(!$threads['insite']) { ?>
[站外] <a href="topic.php?url=<? echo urlencode($threads['tid']); ?>&md5=<? echo md5($threads['tid']); ?>&statsdata=<?=$fid?>||<?=$tid?>" target="_blank"><?=$threads['title']?></a>
[ <a href="post.php?action=newthread&fid=<?=$fid?>&extra=<?=$extra?>&url=<? echo urlencode($threads['tid']); ?>&md5=<? echo md5($threads['tid']); ?>&from=direct" style="color: #090" target="_blank">转帖</a> ]
<? } else { ?>
<a href="viewthread.php?tid=<?=$threads['tid']?>&statsdata=<?=$fid?>||<?=$tid?>" target="_blank"><?=$threads['title']?></a>
<? } ?>
</li>
<? } } } ?></ul>
</div>
<? } if($post['first'] && $relatedtagstatus) { ?>
<div id="relatedtags"></div>
<script src="tag.php?action=relatetag&rtid=<?=$tid?>" type="text/javascript" reload="1"></script>
<? } ?>
</div>
<? if(!empty($post['ratelog'])) { ?>
<dl class="newrate">
<dt>
<? if(!empty($postlist[$post['pid']]['totalrate'])) { ?>
<strong><a href="misc.php?action=viewratings&tid=<?=$tid?>&pid=<?=$post['pid']?>" onclick="floatwin('open_viewratings', this.href, 600, 410);return false;" title="本帖最近评分记录"><? echo count($postlist[$post['pid']]['totalrate']);; ?></a></strong>
<p>评分次数</p>
<? } ?>
</dt>
<dd>
<ul class="s_clear">
<div id="post_rate_<?=$post['pid']?>"></div><? if(is_array($post['ratelog'])) { foreach($post['ratelog'] as $uid => $ratelog) { ?><li>
<div id="rate_<?=$post['pid']?>_<?=$uid?>_menu" class="attach_popup" style="display: none;">
<p class="cornerlayger"><?=$ratelog['reason']?> <? if(is_array($ratelog['score'])) { foreach($ratelog['score'] as $id => $score) { if($score > 0) { ?>
<em><?=$extcredits[$id]['title']?> + <?=$score?> <?=$extcredits[$id]['unit']?></em>
<? } else { ?>
<?=$extcredits[$id]['title']?> <?=$score?> <?=$extcredits[$id]['unit']?>
<? } } } ?></p>
<p class="minicorner"></p>
</div>
<p id="rate_<?=$post['pid']?>_<?=$uid?>" onmouseover="showMenu(this.id,false,2)" 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><? } } ?></ul>
</dd>
</dl>
<? } else { ?>
<div id="post_rate_div_<?=$post['pid']?>"></div>
<? } } if($post['first']) { if($lastmod['modaction']) { ?><div class="modact"><a href="misc.php?action=viewthreadmod&tid=<?=$tid?>" title="主题操作记录" onclick="floatwin('open_viewthreadmod', this.href, 600, 410);return false;">本主题由 <?=$lastmod['modusername']?> 于 <?=$lastmod['moddateline']?> <?=$lastmod['modaction']?></a></div><? } if($lastmod['magicname']) { ?><div class="modact"><a href="misc.php?action=viewthreadmod&tid=<?=$tid?>" title="主题操作记录" onclick="floatwin('open_viewthreadmod', this.href, 600, 410);return false;">本主题由 <?=$lastmod['modusername']?> 于 <?=$lastmod['moddateline']?> 使用 <?=$lastmod['magicname']?> 道具</a></div><? } ?>
<div class="useraction">
<a id="ajax_favorite" <? if($discuz_uid) { ?>href="my.php?item=favorites&tid=<?=$tid?>" onclick="ajaxmenu(event, this.id, 3000, 0)"<? } else { ?>href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;"<? } ?>>收藏</a>
<a id="emailfriend" href="misc.php?action=emailfriend&tid=<?=$tid?>" onclick="floatwin('open_emailfriend', this.href, 250, <? if($discuz_uid) { ?>380<? } else { ?>200<? } ?>);return false;">分享</a>
<a id="ratelink" <? if($discuz_uid) { ?>href="misc.php?action=rate&tid=<?=$tid?>&pid=<?=$post['pid']?>" onclick="floatwin('open_rate', this.href, 250, 270);return false;"<? } else { ?>href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;"<? } ?>>评分</a>
</div>
<? } ?>
</div>
</div>
<? if($post['signature'] && ($bannedmessages & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))) { ?>
<div class="signatures">
<table cellspacing="0" cellpadding="0">
<tr>
<td>签名被屏蔽</td>
</tr>
</table>
</div>
<? } elseif($post['signature'] && !$post['anonymous'] && $showsignatures) { ?>
<div class="signatures" style="maxHeightIE: <?=$maxsigrows?>px;">
<table cellspacing="0" cellpadding="0">
<tr>
<td>
<?=$post['signature']?>
</td>
</tr>
</table>
</div>
<? } if($admode && empty($insenz['hardadstatus']) && !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><? } ?>
</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" <? } ?>onclick="pidchecked(this);modclick(this, <?=$post['pid']?>)" value="<?=$post['pid']?>" />
<? } ?>
管理
</label>
</span>
<? } ?>
<div class="postact s_clear">
<em>
<a class="fastreply" href="post.php?action=reply&fid=<?=$fid?>&tid=<?=$tid?>&reppost=<?=$post['pid']?>&extra=<?=$extra?>&page=<?=$page?>" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">回复</a>
<a class="repquote" href="post.php?action=reply&fid=<?=$fid?>&tid=<?=$tid?>&repquote=<?=$post['pid']?>&extra=<?=$extra?>&page=<?=$page?>" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">引用</a>
<? 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&fid=<?=$fid?>&tid=<?=$tid?>&pid=<?=$post['pid']?>"<? if(!$post['first'] || !$threadsort && !$thread['special']) { ?> onclick="floatwin('open_edit', this.href, 600, 410, '600,0');return false;"<? } ?>>编辑</a>
<? } ?>
</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']?>)">最佳答案</a>
<? } if($post['first']) { ?>
<a href="my.php?item=subscriptions&subadd=<?=$tid?>" id="ajax_subscription" onclick="ajaxmenu(event, this.id, 3000, null, 0)">订阅</a>
<? } elseif($raterange && $post['authorid']) { ?>
<a href="misc.php?action=rate&tid=<?=$tid?>&pid=<?=$post['pid']?>" onclick="floatwin('open_rate', this.href, 250, 270);return false;">评分</a>
<? } if($post['rate'] && $forum['ismoderator']) { ?>
<a href="misc.php?action=removerate&tid=<?=$tid?>&pid=<?=$post['pid']?>&page=<?=$page?>" onclick="floatwin('open_rate', this.href, 600, 410);return false;">撤销评分</a>
<? } if(!$forum['ismoderator'] && $discuz_uid && $reportpost && $discuz_uid != $post['authorid']) { ?>
<a href="misc.php?action=report&fid=<?=$fid?>&tid=<?=$tid?>&pid=<?=$post['pid']?>" onclick="floatwin('open_report', this.href, 250, 215);doane(event);">报告</a>
<? } if($discuz_uid && $magicstatus) { ?>
<a href="magic.php?action=usemagic&type=1&pid=<?=$post['pid']?>" onclick="floatwin('open_magics', this.href, 250, 215);doane(event);">道具</a>
<? } ?>
<a href="javascript:;" onclick="scrollTo(0,0);">TOP</a>
</p>
</div>
</div>
</td>
</tr>
<tr class="threadad">
<td class="postauthor"></td>
<td class="adcontent">
<? if($post['first'] && $thread['replies']) { if($admode && empty($insenz['hardadstatus']) && !empty($advlist['interthread'])) { ?><div class="ad_column" id="ad_interthread"><?=$advlist['interthread']?><? } else { ?><div id="ad_interthread"><? } ?></div><? } ?>
</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>按立场筛选: </h2>
<ul>
<li><a href="viewthread.php?tid=<?=$tid?>&extra=<?=$extra?>" hidefocus="true"><span>全部</span></a></li>
<li <? if($stand == 1) { ?>class="current"<? } ?>><a href="viewthread.php?tid=<?=$tid?>&extra=<?=$extra?>&stand=1" hidefocus="true"><span>正方</span></a></li>
<li <? if($stand == 2) { ?>class="current"<? } ?>><a href="viewthread.php?tid=<?=$tid?>&extra=<?=$extra?>&stand=2" hidefocus="true"><span>反方</span></a></li>
<li <? if($stand == 0) { ?>class="current"<? } ?>><a href="viewthread.php?tid=<?=$tid?>&extra=<?=$extra?>&stand=0" hidefocus="true"><span>中立</span></a></li>
</ul>
</div>
<hr class="solidline" />
</td>
</tr>
<? } ?>
</table>
<? if($aimgs[$post['pid']]) { ?>
<script type="text/javascript" reload="1">aimgcount[<?=$post['pid']?>] = [<? echo implode(',', $aimgs[$post['pid']]);; ?>];attachimgshow(<?=$post['pid']?>);</script>
<? } ?>
</div><? } } ?></div>
<div id="postlistreply" class="mainbox viewthread"><div id="post_new" 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"<? } ?>>
<tr>
<td class="modaction">
<? if($forum['ismoderator']) { ?>
<span id="modopttmp" onclick="$('modopt').id = 'modopttmp';this.id = 'modopt';showMenu(this.id)" class="dropmenu">主题管理</span>
<? } ?>
</td>
<td>
<?=$multipage?>
<span class="pageback"<? if($visitedforums) { ?> id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu(this.id)"<? } ?>><a href="<?=$upnavlink?>">返回列表</a></span>
<? if(!$fastpost) { ?>
<span class="replybtn"><a href="post.php?action=reply&fid=<?=$fid?>&tid=<?=$tid?>" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">回复</a></span>
<span class="postbtn" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">发帖</a></span>
<? } ?>
</td>
</tr>
</table>
</div>
<? if($fastpost && $allowpostreply) { ?><script type="text/javascript">
var postminchars = parseInt('<?=$minpostsize?>');
var postmaxchars = parseInt('<?=$maxpostsize?>');
var disablepostctrl = parseInt('<?=$disablepostctrl?>');
</script>
<div id="f_post" class="mainbox viewthread">
<form method="post" id="fastpostform" action="post.php?action=reply&fid=<?=$fid?>&tid=<?=$tid?>&extra=<?=$extra?>&replysubmit=yes&infloat=yes&handlekey=fastpost" onSubmit="return fastpostvalidate(this)">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="postauthor">
<? if($discuz_uid) { ?><div class="avatar"><? echo discuz_uc_avatar($discuz_uid); ?></div><? } ?>
</td>
<td class="postcontent">
<input type="hidden" name="formhash" value="<?=FORMHASH?>" />
<input type="hidden" name="subject" value="" />
<input type="hidden" name="usesig" value="<?=$usesigcheck?>" />
<? if($uchome['addfeed'] && $ucappopen['UCHOME'] && $forum['allowfeed']) { ?>
<input type="hidden" name="addfeed" value="1" />
<? } ?>
<span id="fastpostreturn"></span>
<? if($thread['special'] == 5 && empty($firststand)) { ?>
<div class="s_clear">
<label class="left">选择观点: </label>
<div class="float_typeid short_select">
<select id="stand" name="stand">
<option value="0">中立</option>
<option value="1">正方</option>
<option value="2">反方</option>
</select>
</div>
<script type="text/javascript">
loadselect('stand', 0, '', 0, 1);
</script>
</div>
<? } ?>
<div class="editor_tb">
<span class="right">
<a href="post.php?action=reply&fid=<?=$fid?>&tid=<?=$tid?>" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">高级回复</a>
<span class="pipe">|</span>
<span id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">发新话题</a></span>
</span><? $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'smilies')); ?><link href="forumdata/cache/style_<?=STYLEID?>_seditor.css?<?=VERHASH?>" rel="stylesheet" type="text/css" />
<div>
<? if(in_array('bold', $seditor['1'])) { ?>
<a href="javascript:;" title="粗体" class="tb_bold" onclick="seditor_insertunit('<?=$seditor['0']?>', '[b]', '[/b]')">B</a>
<? } if(in_array('color', $seditor['1'])) { ?>
<a href="javascript:;" title="颜色" class="tb_color" id="<?=$seditor['0']?>forecolor" onclick="showMenu(this.id, true, 0, 2)">Color</a><? $coloroptions = array('Black', 'Sienna', 'DarkOliveGreen', 'DarkGreen', 'DarkSlateBlue', 'Navy', 'Indigo', 'DarkSlateGray', 'DarkRed', 'DarkOrange', 'Olive', 'Green', 'Teal', 'Blue', 'SlateGray', 'DimGray', 'Red', 'SandyBrown', 'YellowGreen','SeaGreen', 'MediumTurquoise','RoyalBlue', 'Purple', 'Gray', 'Magenta', 'Orange', 'Yellow', 'Lime', 'Cyan', 'DeepSkyBlue', 'DarkOrchid', 'Silver', 'Pink', 'Wheat', 'LemonChiffon', 'PaleGreen', 'PaleTurquoise', 'LightBlue', 'Plum', 'White') ?><div class="popupmenu_popup tb_color" id="<?=$seditor['0']?>forecolor_menu" style="display: none"><? if(is_array($coloroptions)) { foreach($coloroptions as $key => $colorname) { ?><input type="button" style="background-color: <?=$colorname?>" onclick="seditor_insertunit('<?=$seditor['0']?>', '[color=<?=$colorname?>]', '[/color]')" /><? if(($key + 1) % 8 == 0) { ?><br /><? } } } ?></div>
<? } if(in_array('img', $seditor['1'])) { ?>
<a href="javascript:;" title="插入图片" class="tb_img" onclick="seditor_insertunit('<?=$seditor['0']?>', '[img]', '[/img]')">Image</a>
<? } if(in_array('link', $seditor['1'])) { ?>
<a href="javascript:;" title="插入链接" class="tb_link" onclick="seditor_insertunit('<?=$seditor['0']?>', '[url]', '[/url]')">Link</a>
<? } if(in_array('quote', $seditor['1'])) { ?>
<a href="javascript:;" title="插入引用" class="tb_quote" onclick="seditor_insertunit('<?=$seditor['0']?>', '[quote]', '[/quote]')">Quote</a>
<? } if(in_array('code', $seditor['1'])) { ?>
<a href="javascript:;" title="插入代码" class="tb_code" onclick="seditor_insertunit('<?=$seditor['0']?>', '[code]', '[/code]')">Code</a>
<? } if(in_array('smilies', $seditor['1'])) { ?>
<a href="javascript:;" class="tb_smilies" id="<?=$seditor['0']?>smilies" onclick="showMenu(this.id, true, 0, 2)">Smilies</a>
<script type="text/javascript">smilies_show('<?=$seditor['0']?>smiliesdiv', <?=$smcols?>, 0, '<?=$seditor['0']?>');</script>
<? } ?>
</div></div>
<textarea rows="5" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, 'fastpostvalidate($(\'fastpostform\'))');" tabindex="2" class="txtarea"></textarea>
<? if($secqaacheck || $seccodecheck) { ?><div class="fastcheck"><? $secchecktype = 3; include template('seccheck'); ?>
</div><? } ?>
<p><button type="submit" name="replysubmit" id="fastpostsubmit" value="replysubmit" tabindex="3">发表回复</button></p>
</td>
</tr>
</table>
</form>
</div><? } if($relatedthreadlist && $qihoo['relate']['position']) { include template('viewthread_relatedthread'); } 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>
<? } ?>
<script type="text/javascript">
var maxpage = <? if($maxpage) { ?><?=$maxpage?><? } else { ?>1<? } ?>;
if(maxpage > 1) {
document.onkeyup = function(e){
e = e ? e : window.event;
var tagname = is_ie ? e.srcElement.tagName : e.target.tagName;
if(tagname == 'INPUT' || tagname == 'TEXTAREA') return;
actualCode = e.keyCode ? e.keyCode : e.charCode;
<? if($page < $maxpage) { ?>
if(actualCode == 39) {
window.location = 'viewthread.php?tid=<?=$tid?>&page=<? echo $page+1; ?>';
}
<? } if($page > 1) { ?>
if(actualCode == 37) {
window.location = 'viewthread.php?tid=<?=$tid?>&page=<? echo $page-1; ?>';
}
<? } ?>
}
}
</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($admode && empty($insenz['hardadstatus']) && !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>
<? } ?>
<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><? } ?>
</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&host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p>
<p class="smalltext">© 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="include/js/iframe.js?<?=VERHASH?>" type="text/javascript"></script>
<? } output(); if($_DCACHE['settings']['uchomeurl'] && $discuz_uid) { ?>
<script src="<?=$uchomeurl?>/api/discuz.php?pagetype=<?=CURSCRIPT?>&status=<?=$_DCACHE['settings']['homeshow']?>&uid=<?=$discuz_uid?>&infosidestatus=<?=$infosidestatus['allow']?><? if(CURSCRIPT == 'viewthread') { ?>&feedpostnum=<?=$feedpostnum?><? if($page == '1') { ?>&updateuid=<?=$feeduid?>&pid=<?=$firstpid?><? } } elseif(CURSCRIPT == 'profile') { ?>&updateuid=<?=$profileuid?><? } ?>" type="text/javascript"></script>
<? } ?>
</body>
</html><? if($relatedthreadupdate) { ?>
<script src="relatethread.php?tid=<?=$tid?>&subjectenc=<?=$thread['subjectenc']?>&tagsenc=<?=$thread['tagsenc']?>&verifykey=<?=$verifykey?>&up=<?=$qihoo_up?>" type="text/javascript"></script>
<? } if($tagupdate) { ?>
<script src="relatekw.php?tid=<?=$tid?>" type="text/javascript"></script>
<? } 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="" />
<? } ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_viewthread.tpl.php
|
PHP
|
asf20
| 68,081
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/forumdisplay.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/header.htm', 1250691952, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/forumdisplay.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/footer.htm', 1250691952, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/forumdisplay.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/css_script.htm', 1250691952, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/forumdisplay.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/jsmenu.htm', 1250691952, '2', './templates/uchome')
;?>
<!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?>
<style type="text/css">
@import url(forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>);
<? if(CURSCRIPT == 'viewthread') { ?>
@import url(forumdata/cache/style_<?=STYLEID?>_viewthread.css?<?=VERHASH?>);
<? } if(CURSCRIPT == 'forumdisplay' && $forum['ismoderator']) { include template('css_topicadmin'); } elseif(CURSCRIPT == 'viewthread') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
#f_post td { padding-top: 15px; padding-bottom: 20px; vertical-align: top; }
#f_post p, .fastcheck { margin: 5px 0; }
#f_post .txtarea { margin: -1px 0 0; width: 596px; height: 120px; border-color: <?=INPUTBORDERDARKCOLOR?> <?=INPUTBORDER?> <?=INPUTBORDER?> <?=INPUTBORDERDARKCOLOR?>; border-top: none; overflow: auto; }
.defaultpost { height: auto !important; height:<?=$_DCACHE['custominfo']['postminheight']?>px; min-height:<?=$_DCACHE['custominfo']['postminheight']?>px !important; }
.signatures { max-height: <?=$maxsigrows?>px; }
* html .signatures { height: expression(signature(this)); }
.t_msgfontfix { min-height: 100px; }
* html .t_msgfontfix { height: 100px; overflow: visible; }
<? if($thread['special'] == 5 && $stand != '') { ?>
.stand_select .postauthor { background: #EBF2F8; }
.stand_select .itemtitle, .stand_select .solidline { margin: 15px 15px 10px; }
.stand_select h2 { float: left; }
<? } } elseif(CURSCRIPT == 'pm') { ?>
#pm_content h1 { float: left; font-size: 14px; }
.postpm { float: right; color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
.pm_header { padding: 6px; border: solid <?=COMMONBORDER?>; border-width: 1px 0; }
.pm_header #pm_search { float: right; }
.pm_list { }
.pm_list li { position: relative; *margin-top: -2px; padding: 10px 140px 10px 75px; min-height: 48px; _height: 48px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.pm_list li .avatar { position: absolute; left: 5px; top: 8px; }
.pm_list .self .avatar { left: auto; right: 75px; }
.pm_list p cite, .pm_list p .time { color: <?=MIDTEXT?>; }
.pm_list p cite { display: block; width: 260px; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm_list p cite.new { padding-left: 25px; background: url(<?=IMGDIR?>/notice_newpm.gif) no-repeat 0 3px; }
.pm_list p cite a { margin-right: 5px; }
.pm_list li .action { position: absolute; right: 10px; top: 50%; margin-top: -18px; display: block; width: 50px; height: 36px; }
.pm_list li .action a { display: block; text-decoration: underline; }
.pm_list li .action a.delete { color: <?=HIGHLIGHTLINK?>; }
.pm_list li .topact { top: 8px; margin-top: 0; }
.sticky { display: block !important; }
.pm_list li.pm_date { padding: 5px 0 5px 75px; min-height: 0; }
#pm_list ul.onerror { padding: 20px 0 0 95px; background-position: 75px 22px; }
#pmlist .summary a { color: <?=HIGHLIGHTLINK?>; }
.pmreply { margin: 1em 0; padding-left: 75px; }
.pmreply textarea { width: 510px; }
.pmback { width: 70px; padding-left: 15px; w\idth: 55px; background: url(<?=IMGDIR?>/arrow_left.gif) no-repeat 0 50%; }
#buddies li { float: left; width: 8em; height: 1.6em; overflow: hidden; white-space: nowrap; }
.newpm_notice { padding: 0 0 10px 75px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.newpm_notice a { color: <?=HIGHLIGHTLINK?>; }
.quote { margin: 10px 0; padding: 10px 10px 10px 65px; }
.quote { padding-bottom: 5px; background: #F9F9F9 url(<?=IMGDIR?>/icon_quote_s.gif) no-repeat 20px 6px; }
.quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url(<?=IMGDIR?>/icon_quote_e.gif) no-repeat 100% 100%; line-height: 1.6em; }
.blockall { margin-bottom: 10px; padding: 10px 0; background: <?=SPECIALBG?>; text-align: center; color: <?=LIGHTTEXT?>; }
.blockall a { color: <?=HIGHLIGHTLINK?>; font-size: 1.17em; }
.blacklist li a, .blacklist li strong { float: left; }
.blacklist .remove { margin: 4px 0 0 5px; width: 12px; height: 12px; background: url(<?=IMGDIR?>/close.gif) no-repeat 100% 50px; line-height: 100px; overflow: hidden; }
.blacklist .hover .remove { background-position: 100% 0; }
.blacklist .remove:hover { background-position: 100% -12px; }
.allblocked { padding-bottom: 10px; width: 100%!important; border-bottom: 1px solid <?=COMMONBORDER?>; }
.allblocked a { margin-left: 10px; color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'magic') { ?>
.magicprice { color: <?=NOTICETEXT?>; font-weight: 700; font-size: 16px; }
.magic_yes { color: #080; font-weight: 700; }
.magic_no { color: #F00; font-weight: 700; }
.magicmain { height: 180px; overflow-y: auto; }
.magicinfo { margin-bottom: 10px; width: 100%; }
.magicinfo td { padding: 3px 0; }
.magicinfo h5 { font-size: 14px; }
.mymagic { margin-bottom: 30px; }
.mymagic .inlinelist li { float: left; margin-top: 10px; width: 50%; }
.mymagic .magicimg { float:left; margin-right: 10px; width: 25%; }
.mymagic .magicdetail { float:left; width: 65%; }
.mymagic h5 a { text-decoration: underline; color: <?=HIGHLIGHTLINK?>; }
.mymagic p { margin: 3px 0; }
.mymagic .inlinelist .clear { float: none; clear: both; margin: 0; width: 100%; }
.magicnum { margin: 10px 0; }
.magicnum p { margin-top: 5px; }
.fixedbtn { position: absolute; bottom: 15px; }
<? } elseif(CURSCRIPT == 'medal') { ?>
.medallist { overflow: hidden; margin-bottom: 30px; }
.medallist li { margin-bottom: 15px; width: 24.9%; }
.medalimg { float: left; margin: 5px; width: 15%; }
.medalinfo { float: left; width: 75%; }
.medalinfo p { color: <?=MIDTEXT?>; }
.medalexp { margin-left: 8px; color: <?=LIGHTTEXT?>; font-weight: 400; }
.medallist .clear { overflow: hidden; float: none; clear: both; margin: 0; width: 100%; height: 1px; }
.medalp { margin-bottom: 10px; }
<? } elseif(CURSCRIPT == 'invite') { ?>
.invitecode { border: none !important; background-color: transparent; font-family: "Courier New", Courier, monospace, serif; }
input.marked { background: transparent url(<?=IMGDIR?>/check_right.gif) no-repeat 100% 50%; }
.expiration .invitecode { text-decoration: line-through; color: red; }
<? } elseif(CURSCRIPT == 'search') { ?>
.searchform { position: relative; margin: 0 5px 10px; padding: 30px 10px 20px 160px; border-top: 5px solid <?=WRAPBG?>; background: <?=SPECIALBG?>; }
.searchlabel { position: absolute; left: 0; _left: -160px; top: 30px; width: 150px; text-align: center; font-weight: 700; font-size: 26px; color: <?=HIGHLIGHTLINK?>; line-height: 30px; }
.searchlabel strong { display: block; font-size: 14px; color: <?=MIDTEXT?>; font-weight: 400; text-align: center; }
.searchform h3 { margin: 10px 2px; font-size: 14px; }
.searchkey { margin-bottom: 1em; zoom: 1; }
.searchkey #searchsubmit { margin: 0 16px 0 10px; }
* html #searchsubmit { height: 21px; line-height: 19px; }
*+html #searchsubmit { height: 21px; line-height: 19px; }
.searchkey a { background: url(images/common/editor.gif) 0 -181px no-repeat; padding:2px 0 2px 22px; color: <?=HIGHLIGHTLINK?>; }
.searchlist { margin: 5px 20px; }
.searchlist h1 { font-size: 14px; }
.searchlist h1 em { font-weight: 400; }
#srchfid optgroup, #moveto optgroup { font-style: normal; font-weight: 400; font-size: 12px; }
<? } elseif(CURSCRIPT == 'faq' || CURSCRIPT == 'announcement') { ?>
.faqmessage, .announcemsg { margin-bottom: 10px; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.faqmessage ul, .announcemsg ul { padding-left: 1.6em; }
.faq li { margin-left: 2em; }
.faq ul li { list-style-type: disc; }
.t_msgfont ul.o li, .faq ol li { list-style-type: decimal; }
.author { margin-bottom: 5px; font-size: 12px; color: <?=LIGHTTEXT?>; }
<? } elseif(CURSCRIPT == 'memcp' || CURSCRIPT == 'credits') { if(CURSCRIPT == 'memcp') { ?>
.avatararea { float: left; margin-right: 20px; width: 120px; }
.avatararea a { display:block; margin: 15px 0; width: 119px; height: 31px; line-height: 31px; text-align: center; background: url(<?=IMGDIR?>/bigbtn.gif) no-repeat; font-size: 14px; }
.avatararea a:hover { text-decoration: none; }
#avatarctrl { float: left; }
<? } ?>
.creditstable {}
.creditstable td { padding: 10px 5px !important; }
.cre_title { width: 50px; }
.cre_opt { width: 150px; }
.cre_arrow { width: 30px; }
.cre_btn { margin-top: 10px; }
<? } elseif(CURSCRIPT == 'my' && $item == 'buddylist') { ?>
.friendavatar { float: left; margin: 10px 10px 10px 0; }
.friendinfo { overflow: hidden; margin: 10px 10px 10px 0; }
* html .friendinfo { margin-left: 70px; }
.friendinfo p { color: <?=LIGHTTEXT?> }
.friendinfo a { text-decoration: none !important; }
.friendinfo a:hover { text-decoration: underline !important; }
.friendinfo h5 a { font-size: 14px; color: <?=HIGHLIGHTLINK?>; }
.friendctrl { margin-top :5px; }
.friendctrl a { color: <?=TABELTEXT?>; }
.buddyname { margin-bottom: 8px; line-height: 16px; }
.online_buddy { margin-left: 8px; vertical-align: middle; }
<? } elseif(CURSCRIPT == 'modcp') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
.notelist { margin-top: -1px; border-top: 1px solid <?=COMMONBORDER?>; border-bottom: 1px solid <?=COMMONBORDER?>; zoom: 1; }
.notelist .c_header, .notelistsubmit { margin: 10px; }
.notelistbg, .notelistbg .c_header h3, .notelistbg .closenode .c_header_ctrlbtn { background-color: <?=INTERLEAVECOLOR?>; }
.notelistmsg { overflow: hidden; margin: 0 10px 10px 33px; }
.notelistmsg .submit { margin-top: 10px; }
.notelistmsg h3 { margin: 30px 0 5px; color: <?=HIGHLIGHTLINK?>; }
.datalist .announcetable { width: 600px; }
.datalist .announcetable, .datalist .announcetable th, .datalist .announcetable td { padding: 3px 0; border: none; }
.datalist .announcetable th { font-weight: 700; }
.anno_subject .txt { width: 270px; *width: 220px; }
.anno_type select { width: 80px; }
.anno_time .txt { width: 80px; }
.anno_msg .txtarea, .anno_msg .txt { width: 590px; }
.anno_msg .txtarea { margin-top: -1px; border-top-color: <?=INPUTBORDER?>; }
.schresult .formtable th { padding: 5px 10px 5px 20px; width: 60px; }
.schresult .formtable td a{ color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
<? } elseif(CURSCRIPT == 'stats' || CURSCRIPT == 'member') { ?>
.hasscrolltable { overflow: hidden; zoom: 1; * padding-bottom: 9px; }
.datalist .scrollfixedtable { float: left; margin-top: 1px; margin-left: 1px; width: 20%; }
.scrolltable { float:left; width: 79%; overflow-x: scroll; }
.scrolltable table { table-layout: fixed; margin: 1px 0 0; width: 1600px; }
.datalist .fixedtable { margin-bottom: 10px; width: 99%; text-align: right; }
.datalist .fixedtable a { text-decoration: underline; }
.datalist table a { text-decoration: underline; }
.datalist table a:hover { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'profile') { ?>
#profile .itemtitle h1 { color: <?=HIGHLIGHTLINK?>; }
#profile p { margin: 5px 0; }
.profile_side .avatar { margin: 25px 0; text-align: center; }
.profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
.profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
.profile_side li.pm { background-image: url(<?=IMGDIR?>/pmto.gif); }
.profile_side li.buddy { background-image: url(<?=IMGDIR?>/addbuddy.gif); }
.profile_side li.space { background-image: url(<?=IMGDIR?>/home.gif); }
.profile_side li.searchpost { background-image: url(<?=IMGDIR?>/fastreply.gif); }
.profile_side li.magic { background-image: url(<?=IMGDIR?>/magic.gif);}
#profile_stats li { text-indent: 0; }
#profile_stats li img { float: left; margin-right: 6px; }
#uch_feed { float: right; width: 50%; }
#uch_feed li { width: 100%; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#uch_feed img { margin-bottom: -4px; }
#uch_feed a { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'post') { ?>
* html .content { height: auto !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 0; }
* html .nojs .sim_upfile .sitenote { bottom: 161px; }
* html .nojs .sim_upfile .upfile_special { bottom: 301px; }
* html .nojs .sim_upfile .upfile { bottom: 356px; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; left: 0; width: auto; }
#floatwinnojs { position: static; }
.nojs .floatboxswf { width: 600px !important; }
.nojs .floatboxswf div { margin: 0 0 10px 11px; }
.nojs .floatbox1 { width: 100%; height: auto; }
#custominfoarea { right: 10px; left: auto; }
.nojs .specialinfo, .nojs .upfilelist { overflow-y: visible; height: auto !important; }
.popupmenu_popup, #e_popup_smilies_menu { *margin-top: 22px; }
* html .popupmenu_popup li { clear: both; float: left; }
* html .fontstyle_menu { overflow: hidden; width: 35px; }
* html .fontstyle_menu ul { width: 70px; }
* html .fontname_menu li { float: none; }
<? } if(CURSCRIPT == 'register') { ?>
* html .content { overflow-y: visible !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 20%; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; right: -15px; left: auto; width: auto; }
* html .nojs .moreconf { position: absolute; left: 0; bottom: 55px; }
*+html .nojs .moreconf { position: absolute; left: 165px; }
#floatwinnojs { position: static; }
.nojs .loginform, .nojs .regform, .nojs .floatbox, .nojs .floatbox1 { height: auto; }
.nojs .gateform { padding-bottom: 50px; }
<? if($secqaacheck) { ?>
.regform #secanswer_menu { left: 260px; top: 176px; }
* html .regform #secanswer_menu { left: 113px; }
.regform #seccodeverify_menu { left: 340px; }
* html .regform #seccodeverify_menu { left: 193px;}
<? } else { ?>
.regform #seccodeverify_menu { left: 260px; }
* html .regform #seccodeverify_menu { left: 113px; }
<? } } ?>
</style><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', allowfloatwin = '<?=$allowfloatwin?>', 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="include/js/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>
<a href="my.php?item=threads<? if($forum) { ?>&srchfid=<?=$forum['fid']?><? } ?>">我的帖子</a>
<? 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 href="pm.php" id="pm_ntc"<? if($newpm && $_DCOOKIE['pmnum']) { ?> onmouseover="pmviewnew()" class="new" title="您有新短消息"<? } ?> target="_blank">短消息<? if($newpm && $_DCOOKIE['pmnum']) { ?><span>(<?=$_DCOOKIE['pmnum']?>)</span><? } ?></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&formhash=<?=FORMHASH?>">退出</a>
<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
<cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">激活</a>
<a href="logging.php?action=logout&formhash=<?=FORMHASH?>">退出</a>
<? } else { ?>
<a href="<?=$regname?>" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><?=$reglinkname?></a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">登录</a>
<? } ?>
</div>
<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !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>
<div id="nav"><a id="fjump" href="<?=$indexname?>"<? if($forumjump == 1) { ?> class="dropmenu" onmouseover="showMenu(this.id)"<? } ?>><?=$bbname?></a> <?=$navigation?></div>
<? if($admode && empty($insenz['hardadstatus']) && !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">
<div id="forumheader" class="s_clear">
<h1><?=$forum['name']?></h1>
<p class="forumstats">[ <strong><?=$forum['threads']?></strong> 主题 / <? echo $forum['posts']-$forum['threads']; ?> 回复 ]</p>
<div class="forumaction">
<a href="my.php?item=favorites&fid=<?=$fid?>" id="ajax_favorite" class="addfav" onclick="ajaxmenu(event, this.id)">收藏</a>
<? if($rssstatus) { ?><a href="rss.php?fid=<?=$fid?>&auth=<?=$rssauth?>" target="_blank" class="feed">RSS</a><? } ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=digest" target="_blank" class="digest">精华</a>
<? if($adminid == 1 && $forum['recyclebin']) { ?>
<a href="admincp.php?action=recyclebin&frames=yes" target="_blank" class="recyclebin">回收站</a>
<? } elseif($forum['ismoderator'] && $forum['recyclebin']) { ?>
<a href="modcp.php?action=recyclebins&&fid=<?=$fid?>" target="_blank" class="recyclebin">回收站</a>
<? } ?>
</div>
<? if($forum['description']) { ?><p class="channelinfo">版块介绍: <?=$forum['description']?></p><? } ?>
<p id="modedby">
版主: <? if($moderatedby) { ?><?=$moderatedby?><? } else { ?>*空缺中*<? } if($forum['ismoderator']) { ?>
<? if($forum['modworks']) { ?>
<strong>[<a href="modcp.php?fid=<?=$fid?>" target="_blank">当前版块有需要处理的管理事项</a>]</strong>
<? } else { ?>
<strong>[<a href="modcp.php?fid=<?=$fid?>" target="_blank">版主管理</a>]</strong>
<? } } ?>
</p>
</div>
<? if($forum['recommendlist'] || $forum['rules']) { ?>
<div id="modarea">
<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(2, 1)"<? } ?>>推荐主题</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(2, 2)"<? } ?>>本版规则</a><? } ?>
</h3>
</div>
<div id="modarea_c" style="<?=$collapse['modarea_c']?>">
<? if($forum['recommendlist']) { ?>
<div id="tabc_1" class="inlinelist titlelist s_clear">
<ul><? if(is_array($forum['recommendlist'])) { foreach($forum['recommendlist'] as $tid => $thread) { ?><li class="wide"><a href="viewthread.php?tid=<?=$tid?>" <?=$thread['subjectstyles']?> target="_blank"><?=$thread['subject']?></a><cite>-<a href="space.php?uid=<?=$thread['authorid']?>" target="_blank"><?=$thread['author']?></a></cite></li><? } } ?></ul>
</div>
<? } if($forum['rules']) { ?>
<div id="tabc_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'); ?>
</div>
<? } ?>
<div class="pages_btns s_clear">
<?=$multipage?>
<span <? if($visitedforums) { ?>id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu(this.id)"<? } ?> class="pageback"><a href="<?=$indexname?>">返回首页</a></span>
<span class="postbtn" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">发帖</a></span>
</div>
<? if($forum['threadtypes'] && $forum['threadtypes']['listable'] || $forum['threadsorts'] && $forum['threadsorts']['listable']) { ?>
<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?>&filter=type&typeid=<?=$id?><?=$sortadd?>"><?=$name?></a><? } else { ?><strong><?=$name?></strong><? } ?> <? } } if($forum['threadtypes']['selectbox']) { ?>
<span id="threadtypesmenu" class="dropmenu" onmouseover="showMenu(this.id)">更多分类</span>
<div class="popupmenu_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?>&filter=type&typeid=<?=$id?><?=$sortadd?>"><?=$name?></a>
<? } else { ?>
<strong><?=$name?></strong>
<? } ?>
</li><? } } ?></ul>
</div>
<? } ?>
</p>
<? } if($forum['threadsorts'] && $forum['threadsorts']['listable']) { ?>
<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?>&filter=sort&sortid=<?=$id?><?=$typeadd?>"><?=$name?></a><? } else { ?><strong><?=$name?></strong><? } ?> <? } } if($forum['threadsorts']['selectbox']) { ?>
<span id="threadsortsmenu" class="dropmenu" onmouseover="showMenu(this.id)">更多分类</span>
<div class="popupmenu_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?>&filter=sort&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&fid=<?=$fid?>&infloat=yes&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 class="folder"> </td>
<td class="icon"> </td>
<? if($forum['ismoderator']) { ?><td class="icon"> </td><? } ?>
<th>标题</th>
<td class="author">作者</td>
<td class="nums">回复/查看</td>
<td class="lastpost"><cite>最后发表</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"> </td>
<? if($forum['ismoderator']) { ?><td class="icon"> </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"> </td>
<td class="lastpost"> </td>
</tr>
</tbody>
<? } if($threadcount) { if(is_array($threadlist)) { foreach($threadlist as $key => $thread) { if($separatepos == $key + 1) { ?>
<tbody>
<tr>
<td class="folder"></td><td> </td>
<? if($forum['ismoderator']) { ?><td> </td><? } ?>
<th class="subject">版块主题</th><td> </td><td> </td><td> </td>
</tr>
</tbody>
<? } ?>
<tbody id="<?=$thread['id']?>" <? if(in_array($thread['displayorder'], array(4, 5))) { ?>style="display: none"<? } ?>>
<tr>
<td class="folder">
<a href="viewthread.php?tid=<?=$thread['tid']?>&extra=<?=$extra?>" title="新窗口打开" target="_blank">
<? if($thread['folder'] == 'lock') { ?>
<img src="<?=IMGDIR?>/folder_lock.gif" alt="Lock" />
<? } elseif(in_array($thread['displayorder'], array(1, 2, 3))) { ?>
<img src="<?=IMGDIR?>/pin_<?=$thread['displayorder']?>.gif" alt="<?=$threadsticky[3-$thread['displayorder']]?>" />
<? } else { ?>
<img src="<?=IMGDIR?>/folder_<?=$thread['folder']?>.gif" alt="<?=$thread['folder']?>" />
<? } ?>
</a>
</td>
<td class="icon">
<? if($thread['special'] == 1) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=poll"><img src="<?=IMGDIR?>/pollsmall.gif" alt="投票" /></a>
<? } elseif($thread['special'] == 2) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=trade"><img src="<?=IMGDIR?>/tradesmall.gif" alt="商品" /></a>
<? } elseif($thread['special'] == 3) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&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?>&filter=activity"><img src="<?=IMGDIR?>/activitysmall.gif" alt="活动" /></a>
<? } elseif($thread['special'] == 5) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=debate"><img src="<?=IMGDIR?>/debatesmall.gif" alt="辩论" /></a>
<? } elseif($thread['special'] == 6) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=video"><img src="<?=IMGDIR?>/videosmall.gif" alt="视频" /></a>
<? } else { ?>
<?=$thread['icon']?>
<? } ?>
</td>
<? if($forum['ismoderator']) { ?>
<td class="icon">
<? if($thread['fid'] == $fid && $thread['digest'] >= 0) { ?>
<input onclick="modclick(this)" class="checkbox" type="checkbox" name="moderate[]" value="<?=$thread['tid']?>" />
<? } else { ?>
<input class="checkbox" type="checkbox" disabled="disabled" />
<? } ?>
</td>
<? } ?>
<th class="subject <?=$thread['folder']?>">
<label>
<? if($thread['rate'] > 0) { ?>
<img src="<?=IMGDIR?>/agree.gif" alt="帖子被加分" title="帖子被加分" />
<? } elseif($thread['rate'] < 0) { ?>
<img src="<?=IMGDIR?>/disagree.gif" alt="帖子被减分" title="帖子被减分" />
<? } if($thread['digest'] > 0) { ?>
<img src="<?=IMGDIR?>/digest_<?=$thread['digest']?>.gif" alt="精华 <?=$thread['digest']?>" title="精华 <?=$thread['digest']?>" />
<? } ?>
</label>
<? if($thread['moved']) { if($forum['ismoderator']) { ?>
<a href="topicadmin.php?action=moderate&optgroup=3&operation=delete&tid=<?=$thread['moved']?>" onclick="floatwinreset = 1;floatwin('open_mods', this.href, 250, 215);return false">移动:</a>
<? } else { ?>
移动:
<? } } ?>
<?=$thread['sortid']?> <?=$thread['typeid']?>
<span id="thread_<?=$thread['tid']?>"><a href="viewthread.php?tid=<?=$thread['tid']?>&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['multipage']) { ?>
<span class="threadpages"><?=$thread['multipage']?></span>
<? } if($thread['new']) { ?>
<a href="redirect.php?tid=<?=$thread['tid']?>&goto=newpost<?=$highlight?>#newpost" class="new">New</a>
<? } ?>
</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']?>&page=<? echo max(1, $thread['pages']);; } ?>"><?=$thread['lastposter']?></a><? } else { ?>匿名<? } ?></cite>
<em><a href="<? if($thread['digest'] != -2) { ?>redirect.php?tid=<?=$thread['tid']?>&goto=lastpost<?=$highlight?>#lastpost<? } else { ?>viewthread.php?tid=<?=$thread['tid']?>&page=<? echo max(1, $thread['pages']);; } ?>"><?=$thread['lastpost']?></a></em>
</td>
</tr>
</tbody><? } } ?><tfoot class="colplural">
<tr>
<td class="folder"> </td>
<td class="icon"> </td>
<? if($forum['ismoderator']) { ?><td class="icon"> </td><? } ?>
<th>
<a href="javascript:;" id="filtertype" class="dropmenu" onclick="showMenu(this.id);">类型</a>
<a href="javascript:;" id="filterorder" class="dropmenu" onclick="showMenu(this.id);">排序方式</a>
</th>
<td class="author">
<a href="javascript:;" id="filtertime" class="dropmenu" onclick="showMenu(this.id);">时间范围</a>
</td>
<td class="nums"> </td>
<td class="lastpost"> </td>
</tr>
</tfoot>
<? } else { ?>
<tbody><tr><th colspan="6"><p class="nodata">本版块或指定的范围内尚无主题。</p></th></tr></tbody>
<? } ?>
</table>
<? if($forum['ismoderator'] && $threadcount) { include template('topicadmin_modlayer'); } ?>
</form>
</div>
<div class="pages_btns s_clear">
<?=$multipage?>
<span <? if($visitedforums) { ?>id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu(this.id)"<? } ?> class="pageback"><a href="<?=$indexname?>">返回首页</a></span>
<span class="postbtn" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">发帖</a></span>
</div>
<? if($whosonlinestatus) { ?>
<dl id="onlinelist">
<? if($detailstatus) { ?>
<dd>
<span class="headactions"><a href="forumdisplay.php?fid=<?=$fid?>&page=<?=$page?>&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?>&page=<?=$page?>&showoldetails=yes#online" class="nobdr"><img src="<?=IMGDIR?>/collapsed_yes.gif" alt="" /></a></span>
<h3>正在浏览此版块的会员</h3>
</dt>
<? } ?>
</dl>
<? } ?>
</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?>" />
<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>
<? } ?>
<ul class="popupmenu_popup postmenu" id="newspecial_menu" style="display: none">
<? if(!$forum['allowspecialonly']) { ?><li><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');doane(event)">发新话题</a></li><? } if($allowpostpoll || !$discuz_uid) { ?><li class="poll"><a href="post.php?action=newthread&fid=<?=$fid?>&special=1">发布投票</a></li><? } if($allowpostreward || !$discuz_uid) { ?><li class="reward"><a href="post.php?action=newthread&fid=<?=$fid?>&special=3">发布悬赏</a></li><? } if($allowpostdebate || !$discuz_uid) { ?><li class="debate"><a href="post.php?action=newthread&fid=<?=$fid?>&special=5">发布辩论</a></li><? } if($allowpostactivity || !$discuz_uid) { ?><li class="activity"><a href="post.php?action=newthread&fid=<?=$fid?>&special=4">发布活动</a></li><? } if($allowpostvideo || !$discuz_uid) { ?><li class="video"><a href="post.php?action=newthread&fid=<?=$fid?>&special=6">发布视频</a></li><? } if($allowposttrade || !$discuz_uid) { ?><li class="trade"><a href="post.php?action=newthread&fid=<?=$fid?>&special=2">发布商品</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&fid=<?=$fid?>&extra=<?=$extra?>&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&fid=<?=$fid?>&extra=<?=$extra?>&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?>&filter=poll">投票</a></li><? } if($showtrade) { ?><li <? if($filter == 'trade') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=trade">商品</a></li><? } if($showreward) { ?><li <? if($filter == 'reward') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=reward">悬赏</a></li><? } if($showactivity) { ?><li <? if($filter == 'poll') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=activity">活动</a></li><? } if($showdebate) { ?><li <? if($filter == 'activity') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=debate">辩论</a></li><? } if($showvideo) { ?><li <? if($filter == 'video') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=video">视频</a></li><? } ?>
</ul>
<ul class="popupmenu_popup headermenu_popup filter_popup" id="filterorder_menu" style="display: none;">
<li <? if($orderby == 'lastpost') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=<?=$filter?>&orderby=lastpost<?=$typeadd?><?=$sortadd?>">回复时间</a></li>
<li <? if($orderby == 'dateline') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=<?=$filter?>&orderby=dateline<?=$typeadd?><?=$sortadd?>">发布时间</a></li>
<li <? if($orderby == 'replies') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=<?=$filter?>&orderby=replies<?=$typeadd?><?=$sortadd?>">回复数量</a></li>
<li <? if($orderby == 'views') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=<?=$filter?>&orderby=views<?=$typeadd?><?=$sortadd?>">浏览次数</a></li>
</ul>
<ul class="popupmenu_popup headermenu_popup filter_popup" id="filtertime_menu" style="display: none;">
<li <? if($filter == 0) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=0<?=$typeadd?>" <?=$check['0']?>>全部</a></li>
<li <? if($filter == 86400) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=86400<?=$typeadd?><?=$sortadd?>" <?=$check['86400']?>>1 天</a></li>
<li <? if($filter == 172800) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=172800<?=$typeadd?><?=$sortadd?>" <?=$check['172800']?>>2 天</a></li>
<li <? if($filter == 604800) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=604800<?=$typeadd?><?=$sortadd?>" <?=$check['604800']?>>1 周</a></li>
<li <? if($filter == 2592000) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=2592000<?=$typeadd?><?=$sortadd?>" <?=$check['2592000']?>>1 个月</a></li>
<li <? if($filter == 7948800) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=7948800<?=$typeadd?><?=$sortadd?>" <?=$check['7948800']?>>3 个月</a></li>
<li <? if($filter == 15897600) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=15897600<?=$typeadd?><?=$sortadd?>" <?=$check['15897600']?>>6 个月</a></li>
<li <? if($filter == 31536000) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=31536000<?=$typeadd?><?=$sortadd?>" <?=$check['31536000']?>>1 年</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>
<? } ?>
<script type="text/javascript">
var maxpage = <? if($maxpage) { ?><?=$maxpage?><? } else { ?>1<? } ?>;
if(maxpage > 1) {
document.onkeyup = function(e){
e = e ? e : window.event;
var tagname = is_ie ? e.srcElement.tagName : e.target.tagName;
if(tagname == 'INPUT' || tagname == 'TEXTAREA') return;
actualCode = e.keyCode ? e.keyCode : e.charCode;
<? if($page < $maxpage) { ?>
if(actualCode == 39) {
window.location = 'forumdisplay.php?fid=<?=$fid?><?=$forumdisplayadd?>&page=<? echo $page+1;; ?>';
}
<? } if($page > 1) { ?>
if(actualCode == 37) {
window.location = 'forumdisplay.php?fid=<?=$fid?><?=$forumdisplayadd?>&page=<? echo $page-1;; ?>';
}
<? } ?>
}
}
function switchtab(total, current) {
for(i = 1; i <= total;i++) {
$('tab_' + i).className = '';
$('tabc_' + i).style.display = 'none';
}
$('tab_' + current).className = 'current';
$('tabc_' + current).style.display = '';
}
//loadselect('filtertype');
//loadselect('filterorder');
//loadselect('filtertime');
</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($admode && empty($insenz['hardadstatus']) && !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>
<? } ?>
<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><? } ?>
</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&host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p>
<p class="smalltext">© 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="include/js/iframe.js?<?=VERHASH?>" type="text/javascript"></script>
<? } output(); if($_DCACHE['settings']['uchomeurl'] && $discuz_uid) { ?>
<script src="<?=$uchomeurl?>/api/discuz.php?pagetype=<?=CURSCRIPT?>&status=<?=$_DCACHE['settings']['homeshow']?>&uid=<?=$discuz_uid?>&infosidestatus=<?=$infosidestatus['allow']?><? if(CURSCRIPT == 'viewthread') { ?>&feedpostnum=<?=$feedpostnum?><? if($page == '1') { ?>&updateuid=<?=$feeduid?>&pid=<?=$firstpid?><? } } elseif(CURSCRIPT == 'profile') { ?>&updateuid=<?=$profileuid?><? } ?>" type="text/javascript"></script>
<? } ?>
</body>
</html>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_forumdisplay.tpl.php
|
PHP
|
asf20
| 48,580
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/forumdisplay.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/header.htm', 1250675097, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/forumdisplay.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/footer.htm', 1250675097, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/forumdisplay.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/css_script.htm', 1250675097, '1', './templates/default')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\././templates/default/forumdisplay.htm', 'D:\Website\51shangcheng.cn\htdocs\././templates/default/jsmenu.htm', 1250675097, '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?>
<style type="text/css">
@import url(forumdata/cache/style_<?=STYLEID?>_common.css?<?=VERHASH?>);
<? if(CURSCRIPT == 'viewthread') { ?>
@import url(forumdata/cache/style_<?=STYLEID?>_viewthread.css?<?=VERHASH?>);
<? } if(CURSCRIPT == 'forumdisplay' && $forum['ismoderator']) { include template('css_topicadmin'); } elseif(CURSCRIPT == 'viewthread') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
#f_post td { padding-top: 15px; padding-bottom: 20px; vertical-align: top; }
#f_post p, .fastcheck { margin: 5px 0; }
#f_post .txtarea { margin: -1px 0 0; width: 596px; height: 120px; border-color: <?=INPUTBORDERDARKCOLOR?> <?=INPUTBORDER?> <?=INPUTBORDER?> <?=INPUTBORDERDARKCOLOR?>; border-top: none; overflow: auto; }
.defaultpost { height: auto !important; height:<?=$_DCACHE['custominfo']['postminheight']?>px; min-height:<?=$_DCACHE['custominfo']['postminheight']?>px !important; }
.signatures { max-height: <?=$maxsigrows?>px; }
* html .signatures { height: expression(signature(this)); }
.t_msgfontfix { min-height: 100px; }
* html .t_msgfontfix { height: 100px; overflow: visible; }
<? if($thread['special'] == 5 && $stand != '') { ?>
.stand_select .postauthor { background: #EBF2F8; }
.stand_select .itemtitle, .stand_select .solidline { margin: 15px 15px 10px; }
.stand_select h2 { float: left; }
<? } } elseif(CURSCRIPT == 'pm') { ?>
#pm_content h1 { float: left; font-size: 14px; }
.postpm { float: right; color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
.pm_header { padding: 6px; border: solid <?=COMMONBORDER?>; border-width: 1px 0; }
.pm_header #pm_search { float: right; }
.pm_list { }
.pm_list li { position: relative; *margin-top: -2px; padding: 10px 140px 10px 75px; min-height: 48px; _height: 48px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.pm_list li .avatar { position: absolute; left: 5px; top: 8px; }
.pm_list .self .avatar { left: auto; right: 75px; }
.pm_list p cite, .pm_list p .time { color: <?=MIDTEXT?>; }
.pm_list p cite { display: block; width: 260px; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm_list p cite.new { padding-left: 25px; background: url(<?=IMGDIR?>/notice_newpm.gif) no-repeat 0 3px; }
.pm_list p cite a { margin-right: 5px; }
.pm_list li .action { position: absolute; right: 10px; top: 50%; margin-top: -18px; display: block; width: 50px; height: 36px; }
.pm_list li .action a { display: block; text-decoration: underline; }
.pm_list li .action a.delete { color: <?=HIGHLIGHTLINK?>; }
.pm_list li .topact { top: 8px; margin-top: 0; }
.sticky { display: block !important; }
.pm_list li.pm_date { padding: 5px 0 5px 75px; min-height: 0; }
#pm_list ul.onerror { padding: 20px 0 0 95px; background-position: 75px 22px; }
#pmlist .summary a { color: <?=HIGHLIGHTLINK?>; }
.pmreply { margin: 1em 0; padding-left: 75px; }
.pmreply textarea { width: 510px; }
.pmback { width: 70px; padding-left: 15px; w\idth: 55px; background: url(<?=IMGDIR?>/arrow_left.gif) no-repeat 0 50%; }
#buddies li { float: left; width: 8em; height: 1.6em; overflow: hidden; white-space: nowrap; }
.newpm_notice { padding: 0 0 10px 75px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.newpm_notice a { color: <?=HIGHLIGHTLINK?>; }
.quote { margin: 10px 0; padding: 10px 10px 10px 65px; }
.quote { padding-bottom: 5px; background: #F9F9F9 url(<?=IMGDIR?>/icon_quote_s.gif) no-repeat 20px 6px; }
.quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url(<?=IMGDIR?>/icon_quote_e.gif) no-repeat 100% 100%; line-height: 1.6em; }
.blockall { margin-bottom: 10px; padding: 10px 0; background: <?=SPECIALBG?>; text-align: center; color: <?=LIGHTTEXT?>; }
.blockall a { color: <?=HIGHLIGHTLINK?>; font-size: 1.17em; }
.blacklist li a, .blacklist li strong { float: left; }
.blacklist .remove { margin: 4px 0 0 5px; width: 12px; height: 12px; background: url(<?=IMGDIR?>/close.gif) no-repeat 100% 50px; line-height: 100px; overflow: hidden; }
.blacklist .hover .remove { background-position: 100% 0; }
.blacklist .remove:hover { background-position: 100% -12px; }
.allblocked { padding-bottom: 10px; width: 100%!important; border-bottom: 1px solid <?=COMMONBORDER?>; }
.allblocked a { margin-left: 10px; color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'magic') { ?>
.magicprice { color: <?=NOTICETEXT?>; font-weight: 700; font-size: 16px; }
.magic_yes { color: #080; font-weight: 700; }
.magic_no { color: #F00; font-weight: 700; }
.magicmain { height: 180px; overflow-y: auto; }
.magicinfo { margin-bottom: 10px; width: 100%; }
.magicinfo td { padding: 3px 0; }
.magicinfo h5 { font-size: 14px; }
.mymagic { margin-bottom: 30px; }
.mymagic .inlinelist li { float: left; margin-top: 10px; width: 50%; }
.mymagic .magicimg { float:left; margin-right: 10px; width: 25%; }
.mymagic .magicdetail { float:left; width: 65%; }
.mymagic h5 a { text-decoration: underline; color: <?=HIGHLIGHTLINK?>; }
.mymagic p { margin: 3px 0; }
.mymagic .inlinelist .clear { float: none; clear: both; margin: 0; width: 100%; }
.magicnum { margin: 10px 0; }
.magicnum p { margin-top: 5px; }
.fixedbtn { position: absolute; bottom: 15px; }
<? } elseif(CURSCRIPT == 'medal') { ?>
.medallist { overflow: hidden; margin-bottom: 30px; }
.medallist li { margin-bottom: 15px; width: 24.9%; }
.medalimg { float: left; margin: 5px; width: 15%; }
.medalinfo { float: left; width: 75%; }
.medalinfo p { color: <?=MIDTEXT?>; }
.medalexp { margin-left: 8px; color: <?=LIGHTTEXT?>; font-weight: 400; }
.medallist .clear { overflow: hidden; float: none; clear: both; margin: 0; width: 100%; height: 1px; }
.medalp { margin-bottom: 10px; }
<? } elseif(CURSCRIPT == 'invite') { ?>
.invitecode { border: none !important; background-color: transparent; font-family: "Courier New", Courier, monospace, serif; }
input.marked { background: transparent url(<?=IMGDIR?>/check_right.gif) no-repeat 100% 50%; }
.expiration .invitecode { text-decoration: line-through; color: red; }
<? } elseif(CURSCRIPT == 'search') { ?>
.searchform { position: relative; margin: 0 5px 10px; padding: 30px 10px 20px 160px; border-top: 5px solid <?=WRAPBG?>; background: <?=SPECIALBG?>; }
.searchlabel { position: absolute; left: 0; _left: -160px; top: 30px; width: 150px; text-align: center; font-weight: 700; font-size: 26px; color: <?=HIGHLIGHTLINK?>; line-height: 30px; }
.searchlabel strong { display: block; font-size: 14px; color: <?=MIDTEXT?>; font-weight: 400; text-align: center; }
.searchform h3 { margin: 10px 2px; font-size: 14px; }
.searchkey { margin-bottom: 1em; zoom: 1; }
.searchkey #searchsubmit { margin: 0 16px 0 10px; }
* html #searchsubmit { height: 21px; line-height: 19px; }
*+html #searchsubmit { height: 21px; line-height: 19px; }
.searchkey a { background: url(images/common/editor.gif) 0 -181px no-repeat; padding:2px 0 2px 22px; color: <?=HIGHLIGHTLINK?>; }
.searchlist { margin: 5px 20px; }
.searchlist h1 { font-size: 14px; }
.searchlist h1 em { font-weight: 400; }
#srchfid optgroup, #moveto optgroup { font-style: normal; font-weight: 400; font-size: 12px; }
<? } elseif(CURSCRIPT == 'faq' || CURSCRIPT == 'announcement') { ?>
.faqmessage, .announcemsg { margin-bottom: 10px; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid <?=COMMONBORDER?>; }
.faqmessage ul, .announcemsg ul { padding-left: 1.6em; }
.faq li { margin-left: 2em; }
.faq ul li { list-style-type: disc; }
.t_msgfont ul.o li, .faq ol li { list-style-type: decimal; }
.author { margin-bottom: 5px; font-size: 12px; color: <?=LIGHTTEXT?>; }
<? } elseif(CURSCRIPT == 'memcp' || CURSCRIPT == 'credits') { if(CURSCRIPT == 'memcp') { ?>
.avatararea { float: left; margin-right: 20px; width: 120px; }
.avatararea a { display:block; margin: 15px 0; width: 119px; height: 31px; line-height: 31px; text-align: center; background: url(<?=IMGDIR?>/bigbtn.gif) no-repeat; font-size: 14px; }
.avatararea a:hover { text-decoration: none; }
#avatarctrl { float: left; }
<? } ?>
.creditstable {}
.creditstable td { padding: 10px 5px !important; }
.cre_title { width: 50px; }
.cre_opt { width: 150px; }
.cre_arrow { width: 30px; }
.cre_btn { margin-top: 10px; }
<? } elseif(CURSCRIPT == 'my' && $item == 'buddylist') { ?>
.friendavatar { float: left; margin: 10px 10px 10px 0; }
.friendinfo { overflow: hidden; margin: 10px 10px 10px 0; }
* html .friendinfo { margin-left: 70px; }
.friendinfo p { color: <?=LIGHTTEXT?> }
.friendinfo a { text-decoration: none !important; }
.friendinfo a:hover { text-decoration: underline !important; }
.friendinfo h5 a { font-size: 14px; color: <?=HIGHLIGHTLINK?>; }
.friendctrl { margin-top :5px; }
.friendctrl a { color: <?=TABELTEXT?>; }
.buddyname { margin-bottom: 8px; line-height: 16px; }
.online_buddy { margin-left: 8px; vertical-align: middle; }
<? } elseif(CURSCRIPT == 'modcp') { if($forum['ismoderator']) { include template('css_topicadmin'); } ?>
.notelist { margin-top: -1px; border-top: 1px solid <?=COMMONBORDER?>; border-bottom: 1px solid <?=COMMONBORDER?>; zoom: 1; }
.notelist .c_header, .notelistsubmit { margin: 10px; }
.notelistbg, .notelistbg .c_header h3, .notelistbg .closenode .c_header_ctrlbtn { background-color: <?=INTERLEAVECOLOR?>; }
.notelistmsg { overflow: hidden; margin: 0 10px 10px 33px; }
.notelistmsg .submit { margin-top: 10px; }
.notelistmsg h3 { margin: 30px 0 5px; color: <?=HIGHLIGHTLINK?>; }
.datalist .announcetable { width: 600px; }
.datalist .announcetable, .datalist .announcetable th, .datalist .announcetable td { padding: 3px 0; border: none; }
.datalist .announcetable th { font-weight: 700; }
.anno_subject .txt { width: 270px; *width: 220px; }
.anno_type select { width: 80px; }
.anno_time .txt { width: 80px; }
.anno_msg .txtarea, .anno_msg .txt { width: 590px; }
.anno_msg .txtarea { margin-top: -1px; border-top-color: <?=INPUTBORDER?>; }
.schresult .formtable th { padding: 5px 10px 5px 20px; width: 60px; }
.schresult .formtable td a{ color: <?=HIGHLIGHTLINK?>; font-weight: 700; }
<? } elseif(CURSCRIPT == 'stats' || CURSCRIPT == 'member') { ?>
.hasscrolltable { overflow: hidden; zoom: 1; * padding-bottom: 9px; }
.datalist .scrollfixedtable { float: left; margin-top: 1px; margin-left: 1px; width: 20%; }
.scrolltable { float:left; width: 79%; overflow-x: scroll; }
.scrolltable table { table-layout: fixed; margin: 1px 0 0; width: 1600px; }
.datalist .fixedtable { margin-bottom: 10px; width: 99%; text-align: right; }
.datalist .fixedtable a { text-decoration: underline; }
.datalist table a { text-decoration: underline; }
.datalist table a:hover { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'profile') { ?>
#profile .itemtitle h1 { color: <?=HIGHLIGHTLINK?>; }
#profile p { margin: 5px 0; }
.profile_side .avatar { margin: 25px 0; text-align: center; }
.profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
.profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
.profile_side li.pm { background-image: url(<?=IMGDIR?>/pmto.gif); }
.profile_side li.buddy { background-image: url(<?=IMGDIR?>/addbuddy.gif); }
.profile_side li.space { background-image: url(<?=IMGDIR?>/home.gif); }
.profile_side li.searchpost { background-image: url(<?=IMGDIR?>/fastreply.gif); }
.profile_side li.magic { background-image: url(<?=IMGDIR?>/magic.gif);}
#profile_stats li { text-indent: 0; }
#profile_stats li img { float: left; margin-right: 6px; }
#uch_feed { float: right; width: 50%; }
#uch_feed li { width: 100%; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#uch_feed img { margin-bottom: -4px; }
#uch_feed a { color: <?=HIGHLIGHTLINK?>; }
<? } elseif(CURSCRIPT == 'post') { ?>
* html .content { height: auto !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 0; }
* html .nojs .sim_upfile .sitenote { bottom: 161px; }
* html .nojs .sim_upfile .upfile_special { bottom: 301px; }
* html .nojs .sim_upfile .upfile { bottom: 356px; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; left: 0; width: auto; }
#floatwinnojs { position: static; }
.nojs .floatboxswf { width: 600px !important; }
.nojs .floatboxswf div { margin: 0 0 10px 11px; }
.nojs .floatbox1 { width: 100%; height: auto; }
#custominfoarea { right: 10px; left: auto; }
.nojs .specialinfo, .nojs .upfilelist { overflow-y: visible; height: auto !important; }
.popupmenu_popup, #e_popup_smilies_menu { *margin-top: 22px; }
* html .popupmenu_popup li { clear: both; float: left; }
* html .fontstyle_menu { overflow: hidden; width: 35px; }
* html .fontstyle_menu ul { width: 70px; }
* html .fontname_menu li { float: none; }
<? } if(CURSCRIPT == 'register') { ?>
* html .content { overflow-y: visible !important; }
.nojs { position: relative; left: auto; }
* html .nojs { left: 20%; }
.nojs .float { margin: 0 auto; zoom: 1; }
.nojs .moreconf { position: relative; right: -15px; left: auto; width: auto; }
* html .nojs .moreconf { position: absolute; left: 0; bottom: 55px; }
*+html .nojs .moreconf { position: absolute; left: 165px; }
#floatwinnojs { position: static; }
.nojs .loginform, .nojs .regform, .nojs .floatbox, .nojs .floatbox1 { height: auto; }
.nojs .gateform { padding-bottom: 50px; }
<? if($secqaacheck) { ?>
.regform #secanswer_menu { left: 260px; top: 176px; }
* html .regform #secanswer_menu { left: 113px; }
.regform #seccodeverify_menu { left: 340px; }
* html .regform #seccodeverify_menu { left: 193px;}
<? } else { ?>
.regform #seccodeverify_menu { left: 260px; }
* html .regform #seccodeverify_menu { left: 113px; }
<? } } ?>
</style><script type="text/javascript">var STYLEID = '<?=STYLEID?>', IMGDIR = '<?=IMGDIR?>', VERHASH = '<?=VERHASH?>', charset = '<?=$charset?>', discuz_uid = <?=$discuz_uid?>, cookiedomain = '<?=$cookiedomain?>', cookiepath = '<?=$cookiepath?>', attackevasive = '<?=$attackevasive?>', allowfloatwin = '<?=$allowfloatwin?>', 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="include/js/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>
<a href="my.php?item=threads<? if($forum) { ?>&srchfid=<?=$forum['fid']?><? } ?>">我的帖子</a>
<? 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 href="pm.php" id="pm_ntc"<? if($newpm && $_DCOOKIE['pmnum']) { ?> onmouseover="pmviewnew()" class="new" title="您有新短消息"<? } ?> target="_blank">短消息<? if($newpm && $_DCOOKIE['pmnum']) { ?><span>(<?=$_DCOOKIE['pmnum']?>)</span><? } ?></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&formhash=<?=FORMHASH?>">退出</a>
<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
<cite><a id="loginuser" class="noborder"><?=$_DCOOKIE['loginuser']?></a></cite>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">激活</a>
<a href="logging.php?action=logout&formhash=<?=FORMHASH?>">退出</a>
<? } else { ?>
<a href="<?=$regname?>" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><?=$reglinkname?></a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">登录</a>
<? } ?>
</div>
<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !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>
<div id="nav"><a id="fjump" href="<?=$indexname?>"<? if($forumjump == 1) { ?> class="dropmenu" onmouseover="showMenu(this.id)"<? } ?>><?=$bbname?></a> <?=$navigation?></div>
<? if($admode && empty($insenz['hardadstatus']) && !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">
<div id="forumheader" class="s_clear">
<h1><?=$forum['name']?></h1>
<p class="forumstats">[ <strong><?=$forum['threads']?></strong> 主题 / <? echo $forum['posts']-$forum['threads']; ?> 回复 ]</p>
<div class="forumaction">
<a href="my.php?item=favorites&fid=<?=$fid?>" id="ajax_favorite" class="addfav" onclick="ajaxmenu(event, this.id)">收藏</a>
<? if($rssstatus) { ?><a href="rss.php?fid=<?=$fid?>&auth=<?=$rssauth?>" target="_blank" class="feed">RSS</a><? } ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=digest" target="_blank" class="digest">精华</a>
<? if($adminid == 1 && $forum['recyclebin']) { ?>
<a href="admincp.php?action=recyclebin&frames=yes" target="_blank" class="recyclebin">回收站</a>
<? } elseif($forum['ismoderator'] && $forum['recyclebin']) { ?>
<a href="modcp.php?action=recyclebins&&fid=<?=$fid?>" target="_blank" class="recyclebin">回收站</a>
<? } ?>
</div>
<? if($forum['description']) { ?><p class="channelinfo">版块介绍: <?=$forum['description']?></p><? } ?>
<p id="modedby">
版主: <? if($moderatedby) { ?><?=$moderatedby?><? } else { ?>*空缺中*<? } if($forum['ismoderator']) { ?>
<? if($forum['modworks']) { ?>
<strong>[<a href="modcp.php?fid=<?=$fid?>" target="_blank">当前版块有需要处理的管理事项</a>]</strong>
<? } else { ?>
<strong>[<a href="modcp.php?fid=<?=$fid?>" target="_blank">版主管理</a>]</strong>
<? } } ?>
</p>
</div>
<? if($forum['recommendlist'] || $forum['rules']) { ?>
<div id="modarea">
<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(2, 1)"<? } ?>>推荐主题</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(2, 2)"<? } ?>>本版规则</a><? } ?>
</h3>
</div>
<div id="modarea_c" style="<?=$collapse['modarea_c']?>">
<? if($forum['recommendlist']) { ?>
<div id="tabc_1" class="inlinelist titlelist s_clear">
<ul><? if(is_array($forum['recommendlist'])) { foreach($forum['recommendlist'] as $tid => $thread) { ?><li class="wide"><a href="viewthread.php?tid=<?=$tid?>" <?=$thread['subjectstyles']?> target="_blank"><?=$thread['subject']?></a><cite>-<a href="space.php?uid=<?=$thread['authorid']?>" target="_blank"><?=$thread['author']?></a></cite></li><? } } ?></ul>
</div>
<? } if($forum['rules']) { ?>
<div id="tabc_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'); ?>
</div>
<? } ?>
<div class="pages_btns s_clear">
<?=$multipage?>
<span <? if($visitedforums) { ?>id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu(this.id)"<? } ?> class="pageback"><a href="<?=$indexname?>">返回首页</a></span>
<span class="postbtn" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">发帖</a></span>
</div>
<? if($forum['threadtypes'] && $forum['threadtypes']['listable'] || $forum['threadsorts'] && $forum['threadsorts']['listable']) { ?>
<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?>&filter=type&typeid=<?=$id?><?=$sortadd?>"><?=$name?></a><? } else { ?><strong><?=$name?></strong><? } ?> <? } } if($forum['threadtypes']['selectbox']) { ?>
<span id="threadtypesmenu" class="dropmenu" onmouseover="showMenu(this.id)">更多分类</span>
<div class="popupmenu_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?>&filter=type&typeid=<?=$id?><?=$sortadd?>"><?=$name?></a>
<? } else { ?>
<strong><?=$name?></strong>
<? } ?>
</li><? } } ?></ul>
</div>
<? } ?>
</p>
<? } if($forum['threadsorts'] && $forum['threadsorts']['listable']) { ?>
<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?>&filter=sort&sortid=<?=$id?><?=$typeadd?>"><?=$name?></a><? } else { ?><strong><?=$name?></strong><? } ?> <? } } if($forum['threadsorts']['selectbox']) { ?>
<span id="threadsortsmenu" class="dropmenu" onmouseover="showMenu(this.id)">更多分类</span>
<div class="popupmenu_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?>&filter=sort&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&fid=<?=$fid?>&infloat=yes&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 class="folder"> </td>
<td class="icon"> </td>
<? if($forum['ismoderator']) { ?><td class="icon"> </td><? } ?>
<th>标题</th>
<td class="author">作者</td>
<td class="nums">回复/查看</td>
<td class="lastpost"><cite>最后发表</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"> </td>
<? if($forum['ismoderator']) { ?><td class="icon"> </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"> </td>
<td class="lastpost"> </td>
</tr>
</tbody>
<? } if($threadcount) { if(is_array($threadlist)) { foreach($threadlist as $key => $thread) { if($separatepos == $key + 1) { ?>
<tbody>
<tr>
<td class="folder"></td><td> </td>
<? if($forum['ismoderator']) { ?><td> </td><? } ?>
<th class="subject">版块主题</th><td> </td><td> </td><td> </td>
</tr>
</tbody>
<? } ?>
<tbody id="<?=$thread['id']?>" <? if(in_array($thread['displayorder'], array(4, 5))) { ?>style="display: none"<? } ?>>
<tr>
<td class="folder">
<a href="viewthread.php?tid=<?=$thread['tid']?>&extra=<?=$extra?>" title="新窗口打开" target="_blank">
<? if($thread['folder'] == 'lock') { ?>
<img src="<?=IMGDIR?>/folder_lock.gif" alt="Lock" />
<? } elseif(in_array($thread['displayorder'], array(1, 2, 3))) { ?>
<img src="<?=IMGDIR?>/pin_<?=$thread['displayorder']?>.gif" alt="<?=$threadsticky[3-$thread['displayorder']]?>" />
<? } else { ?>
<img src="<?=IMGDIR?>/folder_<?=$thread['folder']?>.gif" alt="<?=$thread['folder']?>" />
<? } ?>
</a>
</td>
<td class="icon">
<? if($thread['special'] == 1) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=poll"><img src="<?=IMGDIR?>/pollsmall.gif" alt="投票" /></a>
<? } elseif($thread['special'] == 2) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=trade"><img src="<?=IMGDIR?>/tradesmall.gif" alt="商品" /></a>
<? } elseif($thread['special'] == 3) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&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?>&filter=activity"><img src="<?=IMGDIR?>/activitysmall.gif" alt="活动" /></a>
<? } elseif($thread['special'] == 5) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=debate"><img src="<?=IMGDIR?>/debatesmall.gif" alt="辩论" /></a>
<? } elseif($thread['special'] == 6) { ?>
<a href="forumdisplay.php?fid=<?=$fid?>&filter=video"><img src="<?=IMGDIR?>/videosmall.gif" alt="视频" /></a>
<? } else { ?>
<?=$thread['icon']?>
<? } ?>
</td>
<? if($forum['ismoderator']) { ?>
<td class="icon">
<? if($thread['fid'] == $fid && $thread['digest'] >= 0) { ?>
<input onclick="modclick(this)" class="checkbox" type="checkbox" name="moderate[]" value="<?=$thread['tid']?>" />
<? } else { ?>
<input class="checkbox" type="checkbox" disabled="disabled" />
<? } ?>
</td>
<? } ?>
<th class="subject <?=$thread['folder']?>">
<label>
<? if($thread['rate'] > 0) { ?>
<img src="<?=IMGDIR?>/agree.gif" alt="帖子被加分" title="帖子被加分" />
<? } elseif($thread['rate'] < 0) { ?>
<img src="<?=IMGDIR?>/disagree.gif" alt="帖子被减分" title="帖子被减分" />
<? } if($thread['digest'] > 0) { ?>
<img src="<?=IMGDIR?>/digest_<?=$thread['digest']?>.gif" alt="精华 <?=$thread['digest']?>" title="精华 <?=$thread['digest']?>" />
<? } ?>
</label>
<? if($thread['moved']) { if($forum['ismoderator']) { ?>
<a href="topicadmin.php?action=moderate&optgroup=3&operation=delete&tid=<?=$thread['moved']?>" onclick="floatwinreset = 1;floatwin('open_mods', this.href, 250, 215);return false">移动:</a>
<? } else { ?>
移动:
<? } } ?>
<?=$thread['sortid']?> <?=$thread['typeid']?>
<span id="thread_<?=$thread['tid']?>"><a href="viewthread.php?tid=<?=$thread['tid']?>&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['multipage']) { ?>
<span class="threadpages"><?=$thread['multipage']?></span>
<? } if($thread['new']) { ?>
<a href="redirect.php?tid=<?=$thread['tid']?>&goto=newpost<?=$highlight?>#newpost" class="new">New</a>
<? } ?>
</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']?>&page=<? echo max(1, $thread['pages']);; } ?>"><?=$thread['lastposter']?></a><? } else { ?>匿名<? } ?></cite>
<em><a href="<? if($thread['digest'] != -2) { ?>redirect.php?tid=<?=$thread['tid']?>&goto=lastpost<?=$highlight?>#lastpost<? } else { ?>viewthread.php?tid=<?=$thread['tid']?>&page=<? echo max(1, $thread['pages']);; } ?>"><?=$thread['lastpost']?></a></em>
</td>
</tr>
</tbody><? } } ?><tfoot class="colplural">
<tr>
<td class="folder"> </td>
<td class="icon"> </td>
<? if($forum['ismoderator']) { ?><td class="icon"> </td><? } ?>
<th>
<a href="javascript:;" id="filtertype" class="dropmenu" onclick="showMenu(this.id);">类型</a>
<a href="javascript:;" id="filterorder" class="dropmenu" onclick="showMenu(this.id);">排序方式</a>
</th>
<td class="author">
<a href="javascript:;" id="filtertime" class="dropmenu" onclick="showMenu(this.id);">时间范围</a>
</td>
<td class="nums"> </td>
<td class="lastpost"> </td>
</tr>
</tfoot>
<? } else { ?>
<tbody><tr><th colspan="6"><p class="nodata">本版块或指定的范围内尚无主题。</p></th></tr></tbody>
<? } ?>
</table>
<? if($forum['ismoderator'] && $threadcount) { include template('topicadmin_modlayer'); } ?>
</form>
</div>
<div class="pages_btns s_clear">
<?=$multipage?>
<span <? if($visitedforums) { ?>id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu(this.id)"<? } ?> class="pageback"><a href="<?=$indexname?>">返回首页</a></span>
<span class="postbtn" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">发帖</a></span>
</div>
<? if($whosonlinestatus) { ?>
<dl id="onlinelist">
<? if($detailstatus) { ?>
<dd>
<span class="headactions"><a href="forumdisplay.php?fid=<?=$fid?>&page=<?=$page?>&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?>&page=<?=$page?>&showoldetails=yes#online" class="nobdr"><img src="<?=IMGDIR?>/collapsed_yes.gif" alt="" /></a></span>
<h3>正在浏览此版块的会员</h3>
</dt>
<? } ?>
</dl>
<? } ?>
</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?>" />
<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>
<? } ?>
<ul class="popupmenu_popup postmenu" id="newspecial_menu" style="display: none">
<? if(!$forum['allowspecialonly']) { ?><li><a href="post.php?action=newthread&fid=<?=$fid?>" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');doane(event)">发新话题</a></li><? } if($allowpostpoll || !$discuz_uid) { ?><li class="poll"><a href="post.php?action=newthread&fid=<?=$fid?>&special=1">发布投票</a></li><? } if($allowpostreward || !$discuz_uid) { ?><li class="reward"><a href="post.php?action=newthread&fid=<?=$fid?>&special=3">发布悬赏</a></li><? } if($allowpostdebate || !$discuz_uid) { ?><li class="debate"><a href="post.php?action=newthread&fid=<?=$fid?>&special=5">发布辩论</a></li><? } if($allowpostactivity || !$discuz_uid) { ?><li class="activity"><a href="post.php?action=newthread&fid=<?=$fid?>&special=4">发布活动</a></li><? } if($allowpostvideo || !$discuz_uid) { ?><li class="video"><a href="post.php?action=newthread&fid=<?=$fid?>&special=6">发布视频</a></li><? } if($allowposttrade || !$discuz_uid) { ?><li class="trade"><a href="post.php?action=newthread&fid=<?=$fid?>&special=2">发布商品</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&fid=<?=$fid?>&extra=<?=$extra?>&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&fid=<?=$fid?>&extra=<?=$extra?>&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?>&filter=poll">投票</a></li><? } if($showtrade) { ?><li <? if($filter == 'trade') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=trade">商品</a></li><? } if($showreward) { ?><li <? if($filter == 'reward') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=reward">悬赏</a></li><? } if($showactivity) { ?><li <? if($filter == 'poll') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=activity">活动</a></li><? } if($showdebate) { ?><li <? if($filter == 'activity') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=debate">辩论</a></li><? } if($showvideo) { ?><li <? if($filter == 'video') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=video">视频</a></li><? } ?>
</ul>
<ul class="popupmenu_popup headermenu_popup filter_popup" id="filterorder_menu" style="display: none;">
<li <? if($orderby == 'lastpost') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=<?=$filter?>&orderby=lastpost<?=$typeadd?><?=$sortadd?>">回复时间</a></li>
<li <? if($orderby == 'dateline') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=<?=$filter?>&orderby=dateline<?=$typeadd?><?=$sortadd?>">发布时间</a></li>
<li <? if($orderby == 'replies') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=<?=$filter?>&orderby=replies<?=$typeadd?><?=$sortadd?>">回复数量</a></li>
<li <? if($orderby == 'views') { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&filter=<?=$filter?>&orderby=views<?=$typeadd?><?=$sortadd?>">浏览次数</a></li>
</ul>
<ul class="popupmenu_popup headermenu_popup filter_popup" id="filtertime_menu" style="display: none;">
<li <? if($filter == 0) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=0<?=$typeadd?>" <?=$check['0']?>>全部</a></li>
<li <? if($filter == 86400) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=86400<?=$typeadd?><?=$sortadd?>" <?=$check['86400']?>>1 天</a></li>
<li <? if($filter == 172800) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=172800<?=$typeadd?><?=$sortadd?>" <?=$check['172800']?>>2 天</a></li>
<li <? if($filter == 604800) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=604800<?=$typeadd?><?=$sortadd?>" <?=$check['604800']?>>1 周</a></li>
<li <? if($filter == 2592000) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=2592000<?=$typeadd?><?=$sortadd?>" <?=$check['2592000']?>>1 个月</a></li>
<li <? if($filter == 7948800) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=7948800<?=$typeadd?><?=$sortadd?>" <?=$check['7948800']?>>3 个月</a></li>
<li <? if($filter == 15897600) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=15897600<?=$typeadd?><?=$sortadd?>" <?=$check['15897600']?>>6 个月</a></li>
<li <? if($filter == 31536000) { ?>class="active"<? } ?>><a href="forumdisplay.php?fid=<?=$fid?>&orderby=<?=$orderby?>&filter=31536000<?=$typeadd?><?=$sortadd?>" <?=$check['31536000']?>>1 年</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>
<? } ?>
<script type="text/javascript">
var maxpage = <? if($maxpage) { ?><?=$maxpage?><? } else { ?>1<? } ?>;
if(maxpage > 1) {
document.onkeyup = function(e){
e = e ? e : window.event;
var tagname = is_ie ? e.srcElement.tagName : e.target.tagName;
if(tagname == 'INPUT' || tagname == 'TEXTAREA') return;
actualCode = e.keyCode ? e.keyCode : e.charCode;
<? if($page < $maxpage) { ?>
if(actualCode == 39) {
window.location = 'forumdisplay.php?fid=<?=$fid?><?=$forumdisplayadd?>&page=<? echo $page+1;; ?>';
}
<? } if($page > 1) { ?>
if(actualCode == 37) {
window.location = 'forumdisplay.php?fid=<?=$fid?><?=$forumdisplayadd?>&page=<? echo $page-1;; ?>';
}
<? } ?>
}
}
function switchtab(total, current) {
for(i = 1; i <= total;i++) {
$('tab_' + i).className = '';
$('tabc_' + i).style.display = 'none';
}
$('tab_' + current).className = 'current';
$('tabc_' + current).style.display = '';
}
//loadselect('filtertype');
//loadselect('filterorder');
//loadselect('filtertime');
</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($admode && empty($insenz['hardadstatus']) && !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>
<? } ?>
<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><? } ?>
</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&host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?></p>
<p class="smalltext">© 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="include/js/iframe.js?<?=VERHASH?>" type="text/javascript"></script>
<? } output(); if($_DCACHE['settings']['uchomeurl'] && $discuz_uid) { ?>
<script src="<?=$uchomeurl?>/api/discuz.php?pagetype=<?=CURSCRIPT?>&status=<?=$_DCACHE['settings']['homeshow']?>&uid=<?=$discuz_uid?>&infosidestatus=<?=$infosidestatus['allow']?><? if(CURSCRIPT == 'viewthread') { ?>&feedpostnum=<?=$feedpostnum?><? if($page == '1') { ?>&updateuid=<?=$feeduid?>&pid=<?=$firstpid?><? } } elseif(CURSCRIPT == 'profile') { ?>&updateuid=<?=$profileuid?><? } ?>" type="text/javascript"></script>
<? } ?>
</body>
</html>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/1_forumdisplay.tpl.php
|
PHP
|
asf20
| 48,600
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied');
0
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/pm_viewnew.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/header_ajax.htm', 1250740645, '2', './templates/uchome')
|| checktplrefresh('D:\Website\51shangcheng.cn\htdocs\./templates/default/pm_viewnew.htm', 'D:\Website\51shangcheng.cn\htdocs\./templates/default/footer_ajax.htm', 1250740645, '2', './templates/uchome')
;?><? 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[<ul><? if(is_array($pmlist)) { foreach($pmlist as $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>系统消息</em><?=$pm['subject']?></a>
<? } ?>
</li><? } } if($morenum) { ?>
<li><a href="pm.php">以及另外 <?=$morenum?> 条新消息...</a></li>
<? } ?>
</ul><? $s = ob_get_contents(); ob_end_clean(); $s = preg_replace("/([\x01-\x08\x0b-\x0c\x0e-\x1f])+/", ' ', $s); $s = str_replace(array(chr(0), ']]>'), array(' ', ']]>'), $s); ?><?=$s?>
]]></root><? exit; ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_pm_viewnew.tpl.php
|
PHP
|
asf20
| 1,510
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); ?>
<table cellspacing="0" cellpadding="0" summary="我的主题" class="datatable">
<thead class="colplural">
<tr>
<th> </th>
<td class="forum">版块</td>
<td class="nums">
<select onchange="window.location='my.php?item=threads&filter=' + this.value + '<?=$fidadd?>'">
<option value="">状态</option>
<option value="recyclebin"<? if($filter == 'recyclebin') { ?> selected="selected"<? } ?>>回收站</option>
<option value="aduit"<? if($filter == 'aduit') { ?> selected="selected"<? } ?>>待审核</option>
<option value="close"<? if($filter == 'close') { ?> selected="selected"<? } ?>>关闭</option>
<option value="common"<? if($filter == 'common') { ?> selected="selected"<? } ?>>正常</option>
</option>
</td>
<td class="lastpost"><cite>最后发表</cite></td>
</tr>
</thead>
<? if($threadlist) { ?>
<tbody><? if(is_array($threadlist)) { foreach($threadlist as $thread) { ?><tr>
<th><? if($thread['displayorder'] >= 0) { ?><a href="viewthread.php?tid=<?=$thread['tid']?>" target="_blank"><?=$thread['subject']?></a><? } else { ?><?=$thread['subject']?><? } ?></th>
<td class="forum"><a href="forumdisplay.php?fid=<?=$thread['fid']?>" target="_blank"><?=$thread['forumname']?></a></td>
<td class="nums"><? if($thread['displayorder'] == '-1') { ?>回收站<? } elseif($thread['displayorder'] == '-2') { ?>待审核<? } elseif($thread['closed'] == '1') { ?>关闭<? } else { ?>正常<? } ?></td>
<td class="lastpost">
<cite><? if($thread['lastposter']) { ?><a href="space.php?username=<?=$thread['lastposterenc']?>" target="_blank"><?=$thread['lastposter']?></a><? } else { ?>匿名<? } ?></cite>
<em><a href="redirect.php?tid=<?=$thread['tid']?>&goto=lastpost#lastpost"><?=$thread['lastpost']?></a></em>
</td>
</tr><? } } ?></tbody>
<? } else { ?>
<tr><th colspan="4"><p class="nodata">暂无数据</p></th></tr>
<? } ?>
</table>
<? if(!empty($multipage)) { ?><div class="pages_btns"><?=$multipage?></div><? } ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_my_threads.tpl.php
|
PHP
|
asf20
| 2,010
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); $s = ob_get_contents(); ob_end_clean(); $s = preg_replace("/([\x01-\x08\x0b-\x0c\x0e-\x1f])+/", ' ', $s); $s = str_replace(array(chr(0), ']]>'), array(' ', ']]>'), $s); ?><?=$s?>
]]></root><? exit; ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/2_footer_ajax.tpl.php
|
PHP
|
asf20
| 256
|
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); include template('header'); ?>
<div class="itemtitle s_clear">
<h1>信用评价</h1>
<ul>
<? if(in_array($filter, array('thisweek', 'thismonth', 'halfyear', 'before')) && in_array($from, array('buyer', 'seller'))) { ?>
<li class="current"><a href="javascript:;" hidefocus="true"><span>
<? if($filter == 'thisweek') { ?>最近1周<? } elseif($filter == 'thismonth') { ?>最近1个月<? } elseif($filter == 'halfyear') { ?>最近6个月<? } else { ?>6个月前<? } ?> 来自<? if($from == 'buyer') { ?>买家<? } else { ?>卖家<? } ?>的<? if($level == 'good') { ?>好评<? } elseif($level == 'soso') { ?>中评<? } elseif($level == 'bad') { ?>差评<? } else { ?>评价<? } ?>
</span></a></li>
<? } if(!$from) { ?>
<li class="current"><a href="javascript:;" hidefocus="true"><span>收到的所有评价</span></a></li>
<? } else { ?>
<li><a href="eccredit.php?action=list&uid=<?=$uid?>" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);"><span>收到的所有评价</span></a></li>
<? } if($from == 'buyer' && !$filter) { ?>
<li class="current"><a href="javascript:;" hidefocus="true"><span>来自买家的评价</span></a></li>
<? } else { ?>
<li><a href="eccredit.php?action=list&uid=<?=$uid?>&from=buyer" hidefocus="true" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);"><span>来自买家的评价</span></a></li>
<? } if($from == 'seller' && !$filter) { ?>
<li class="current"><a href="javascript:;" hidefocus="true"><span>来自卖家的评价</span></a></li>
<? } else { ?>
<li><a href="eccredit.php?action=list&uid=<?=$uid?>&from=seller" hidefocus="true" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);"><span>来自卖家的评价</span></a></li>
<? } if($from == 'myself') { ?>
<li class="current"><a href="javascript:;" hidefocus="true"><span>给他人的评价</span></a></li>
<? } else { ?>
<li><a href="eccredit.php?action=list&uid=<?=$uid?>&from=myself" hidefocus="true" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);"><span>给他人的评价</span></a></li>
<? } ?>
</ul>
</div>
<div class="datalist">
<table cellspacing="0" cellpadding="5" class="datatable">
<thead class="colplural">
<tr>
<td> </td>
<td>评价内容</td>
<td>宝贝名称/评价人</td>
<td>成交价(元)</td>
</tr>
</thead>
<tbody>
<? if($comments) { if(is_array($comments)) { foreach($comments as $comment) { ?><tr>
<td>
<? if($comment['score'] == 1) { ?>
<img src="images/rank/good.gif" width="14" height="16" /> <span style="color:red">好评</span>
<? } elseif($comment['score'] == 0) { ?>
<img src="images/rank/soso.gif" width="14" height="16" /> <span style="color:green">中评</span>
<? } else { ?>
<img src="images/rank/bad.gif" width="14" height="16" /> 差评
<? } ?>
</td>
<td>
<?=$comment['dateline']?><br /><?=$comment['message']?><br />
<? if($comment['explanation']) { ?>
解释: <?=$comment['explanation']?>
<? } elseif($discuz_uid && $discuz_uid == $comment['rateeid'] && $comment['dbdateline'] >= $timestamp - 30 * 86400) { ?>
<span id="ecce_<?=$comment['id']?>"><a href="eccredit.php?action=explain&id=<?=$comment['id']?>" id="ajax_<?=$comment['id']?>_explain" onclick="ajaxmenu(event, this.id, 0, '', 0)">[ 我要解释 ]</a> 您可以在 <?=$comment['expiration']?> 之前作出解释。</span>
<? } ?>
</td>
<td>
<a href="redirect.php?goto=findpost&special=trade&pid=<?=$comment['pid']?>" target="_blank"><?=$comment['subject']?></a><br />
<? if($from == 'myself') { if($comment['type']) { ?>买家:<? } else { ?>卖家:<? } ?><a href="space.php?uid=<?=$comment['rateeid']?>" target="_blank"><?=$comment['ratee']?></a>
<? } else { if($comment['type']) { ?>卖家:<? } else { ?>买家:<? } ?><a href="space.php?uid=<?=$comment['raterid']?>" target="_blank"><?=$comment['rater']?></a>
<? } ?>
</td>
<td><?=$comment['baseprice']?></td>
</tr><? } } } else { ?>
<tr><td colspan="4">没有找到相关评价!</td></tr>
<? } ?>
</tbody>
</table>
<div class="pages_btns"><?=$multipage?></div>
</div>
<? include template('footer'); ?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/templates/1_ec_list.tpl.php
|
PHP
|
asf20
| 4,195
|
<?PHP exit;?> 1250671463 yux 1 221.218.216.80 runwizard
<?PHP exit;?> 1250671472 yux 1 221.218.216.80 runwizard GET={step=2; }; POST={anchor=; size=2; safe=0; func=0; step1submit=下一步; };
<?PHP exit;?> 1250671493 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250671501 yux 1 221.218.216.80 home
<?PHP exit;?> 1250671503 yux 1 221.218.216.80 adv
<?PHP exit;?> 1250671504 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250671507 yux 1 221.218.216.80 moderate GET={operation=threads; };
<?PHP exit;?> 1250671507 yux 1 221.218.216.80 tasks
<?PHP exit;?> 1250671509 yux 1 221.218.216.80 members
<?PHP exit;?> 1250671511 yux 1 221.218.216.80 moderate GET={operation=threads; };
<?PHP exit;?> 1250671512 yux 1 221.218.216.80 forums
<?PHP exit;?> 1250671513 yux 1 221.218.216.80 settings GET={operation=styles; };
<?PHP exit;?> 1250671514 yux 1 221.218.216.80 settings GET={operation=basic; };
<?PHP exit;?> 1250671515 yux 1 221.218.216.80 settings GET={operation=styles; };
<?PHP exit;?> 1250671517 yux 1 221.218.216.80 settings GET={operation=basic; };
<?PHP exit;?> 1250671520 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250671521 yux 1 221.218.216.80 adv
<?PHP exit;?> 1250671523 yux 1 221.218.216.80 tasks
<?PHP exit;?> 1250671524 yux 1 221.218.216.80 moderate GET={operation=threads; };
<?PHP exit;?> 1250671526 yux 1 221.218.216.80 members
<?PHP exit;?> 1250671527 yux 1 221.218.216.80 forums
<?PHP exit;?> 1250671528 yux 1 221.218.216.80 settings GET={operation=styles; };
<?PHP exit;?> 1250671529 yux 1 221.218.216.80 settings GET={operation=basic; };
<?PHP exit;?> 1250671532 yux 1 221.218.216.80 home
<?PHP exit;?> 1250671534 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250671535 yux 1 221.218.216.80 adv
<?PHP exit;?> 1250671536 yux 1 221.218.216.80 tasks
<?PHP exit;?> 1250671544 yux 1 221.218.216.80 settings GET={operation=msn; };
<?PHP exit;?> 1250671551 yux 1 221.218.216.80 moderate GET={operation=threads; };
<?PHP exit;?> 1250671552 yux 1 221.218.216.80 members
<?PHP exit;?> 1250671555 yux 1 221.218.216.80 forums
<?PHP exit;?> 1250671557 yux 1 221.218.216.80 settings GET={operation=styles; };
<?PHP exit;?> 1250671559 yux 1 221.218.216.80 forums
<?PHP exit;?> 1250671561 yux 1 221.218.216.80 settings GET={operation=styles; };
<?PHP exit;?> 1250671562 yux 1 221.218.216.80 settings GET={operation=basic; };
<?PHP exit;?> 1250671566 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250671568 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250671571 yux 1 221.218.216.80 adv
<?PHP exit;?> 1250671573 yux 1 221.218.216.80 misc GET={operation=link; };
<?PHP exit;?> 1250671576 yux 1 221.218.216.80 misc GET={operation=link; }; POST={anchor=; delete={}; displayorder={1=0; }; name={1=Discuz! 官方论坛; }; url={1=http://www.discuz.net; }; description={1=提供最新 Discuz! 产品新闻、软件下载与技术交流; }; logo={1=images/logo.gif; }; chkall=on; linksubmit=提交; };
<?PHP exit;?> 1250671577 yux 1 221.218.216.80 adv
<?PHP exit;?> 1250671578 yux 1 221.218.216.80 tasks
<?PHP exit;?> 1250671579 yux 1 221.218.216.80 moderate GET={operation=threads; };
<?PHP exit;?> 1250672421 yux 1 221.218.216.80 home
<?PHP exit;?> 1250672424 yux 1 221.218.216.80 home
<?PHP exit;?> 1250672425 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250672426 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250672427 yux 1 221.218.216.80 tools GET={operation=updatecache; step=2; }; POST={type={1=tpl; }; confirmed=确定; };
<?PHP exit;?> 1250672429 yux 1 221.218.216.80 tools GET={operation=updatecache; step=3; type=data_tpl; };
<?PHP exit;?> 1250672494 yux 1 221.218.216.80 home
<?PHP exit;?> 1250672509 yux 1 221.218.216.80 home
<?PHP exit;?> 1250672520 yux 1 221.218.216.80 home
<?PHP exit;?> 1250672533 yux 1 221.218.216.80 settings GET={operation=basic; };
<?PHP exit;?> 1250672696 yux 1 221.218.216.41 settings GET={frames=yes; edit=yes; };
<?PHP exit;?> 1250672696 yux 1 221.218.216.41 settings GET={edit=yes; };
<?PHP exit;?> 1250672702 yux 1 221.218.216.41 home
<?PHP exit;?> 1250672704 yux 1 221.218.216.41 settings GET={operation=basic; };
<?PHP exit;?> 1250672746 yux 1 221.218.216.41 settings GET={edit=yes; }; POST={anchor=; operation=basic; settingsnew={bbname=尚城LOFT业主论坛:我爱尚城,我的家园; sitename=尚城LOFT业主论坛; siteurl=http://www.51shancheng.cn/; indexname=index.php; icp=; boardlicensed=0; bbclosed=0; closedreason=; statcode=; }; settingsubmit=提交; };
<?PHP exit;?> 1250672748 yux 1 221.218.216.41 settings GET={operation=basic; };
<?PHP exit;?> 1250672804 yux 1 221.218.216.41 forums
<?PHP exit;?> 1250672820 yux 1 221.218.216.41 forums POST={anchor=; order={1=0; 2=0; }; name={1=野猪乐园; 2=默认版块; }; editsubmit=提交; };
<?PHP exit;?> 1250672822 yux 1 221.218.216.41 forums
<?PHP exit;?> 1250672882 yux 1 221.218.216.41 forums POST={anchor=; order={1=0; 2=0; }; name={1=野猪乐园; 2=我爱尚城; }; editsubmit=提交; };
<?PHP exit;?> 1250672885 yux 1 221.218.216.41 forums
<?PHP exit;?> 1250672962 yux 1 221.218.216.41 forums POST={anchor=; order={1=0; 2=0; }; name={1=野猪乐园; 2=我爱尚城; }; neworder={1={1=0; }; }; newforum={1={1=新版块名称; }; }; projectid={1={1=0; }; }; newcatorder={1=0; }; newcat={1=新分区名称; }; editsubmit=提交; };
<?PHP exit;?> 1250672964 yux 1 221.218.216.41 forums
<?PHP exit;?> 1250672984 yux 1 221.218.216.41 forums POST={anchor=; order={1=0; 2=0; 5=0; 6=0; 3=0; 4=0; }; name={1=野猪乐园; 2=我爱尚城; 5=最新进展; 6=新版块名称; 3=论坛管理; 4=新分区名称; }; neworder={3={}; }; newforum={3={}; }; projectid={3={}; }; editsubmit=提交; };
<?PHP exit;?> 1250672986 yux 1 221.218.216.41 forums
<?PHP exit;?> 1250673000 yux 1 221.218.216.41 forums GET={operation=delete; fid=6; };
<?PHP exit;?> 1250673003 yux 1 221.218.216.41 forums GET={operation=delete; fid=6; }; POST={confirmed=确定; };
<?PHP exit;?> 1250673003 yux 1 221.218.216.41 forums GET={operation=delete; fid=6; confirmed=1; ajax=1; pp=2000; total=0; currow=0; };
<?PHP exit;?> 1250673003 yux 1 221.218.216.41 forums GET={operation=delete; finished=1; };
<?PHP exit;?> 1250673005 yux 1 221.218.216.41 forums
<?PHP exit;?> 1250673110 yux 1 221.218.216.41 members
<?PHP exit;?> 1250673114 yux 1 221.218.216.41 members GET={operation=; }; POST={anchor=; username=; uid=; srchemail=; higher={credits=; extcredits1=; extcredits2=; }; lower={credits=; extcredits1=; extcredits2=; }; postshigher=; postslower=; regip=; lastip=; regdateafter=; regdatebefore=; lastvisitafter=; lastvisitbefore=; lastpostafter=; lastpostbefore=; birthyear=; birthmonth=; birthday=; };
<?PHP exit;?> 1250673118 yux 1 221.218.216.41 members GET={operation=group; uid=2; };
<?PHP exit;?> 1250673129 yux 1 221.218.216.41 members GET={operation=group; uid=2; }; POST={anchor=; groupidnew=1; adminidnew={}; expirydatenew=; expgroupidnew=0; expadminidnew=0; extgroupexpirynew={1=; 2=; 3=; }; reason=; editsubmit=提交; };
<?PHP exit;?> 1250673131 yux 1 221.218.216.41 members GET={operation=group; uid=2; };
<?PHP exit;?> 1250673141 yux 1 221.218.216.41 settings GET={operation=styles; };
<?PHP exit;?> 1250673202 yux 1 221.218.216.41 home
<?PHP exit;?> 1250673250 yux 1 221.218.216.41 settings GET={operation=basic; };
<?PHP exit;?> 1250674715 yux 1 221.218.216.80 home
<?PHP exit;?> 1250674717 yux 1 221.218.216.80 tasks
<?PHP exit;?> 1250674719 yux 1 221.218.216.80 plugins GET={operation=config; };
<?PHP exit;?> 1250674720 yux 1 221.218.216.80 plugins
<?PHP exit;?> 1250674725 yux 1 221.218.216.80 plugins POST={anchor=; newname={}; newidentifier={}; };
<?PHP exit;?> 1250674726 yux 1 221.218.216.80 plugins
<?PHP exit;?> 1250674729 yux 1 221.218.216.80 plugins GET={operation=edit; pluginid=1; };
<?PHP exit;?> 1250674729 yux 1 221.218.216.80 plugins GET={frames=yes; operation=edit; pluginid=1; };
<?PHP exit;?> 1250674729 yux 1 221.218.216.80 plugins GET={operation=edit; pluginid=1; };
<?PHP exit;?> 1250675074 yux 1 221.218.216.80 plugins POST={anchor=; delete={}; availablenew={1=1; }; chkall=on; };
<?PHP exit;?> 1250675076 yux 1 221.218.216.80 plugins
<?PHP exit;?> 1250675078 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250675079 yux 1 221.218.216.80 tools GET={operation=updatecache; };
<?PHP exit;?> 1250675080 yux 1 221.218.216.80 tools GET={operation=updatecache; step=2; }; POST={type={1=tpl; }; confirmed=确定; };
<?PHP exit;?> 1250675082 yux 1 221.218.216.80 tools GET={operation=updatecache; step=3; type=data_tpl; };
<?PHP exit;?> 1250677139 尚城6#206 1 123.119.235.73 home
<?PHP exit;?> 1250677139 尚城6#206 1 123.119.235.73 home
<?PHP exit;?> 1250677150 尚城6#206 1 123.119.235.73 home
<?PHP exit;?> 1250677152 尚城6#206 1 123.119.235.73 settings GET={operation=basic; };
<?PHP exit;?> 1250677158 尚城6#206 1 123.119.235.73 settings GET={operation=styles; };
<?PHP exit;?> 1250677161 尚城6#206 1 123.119.235.73 forums
<?PHP exit;?> 1250677165 尚城6#206 1 123.119.235.73 members
<?PHP exit;?> 1250677178 尚城6#206 1 123.119.235.73 moderate GET={operation=threads; };
<?PHP exit;?> 1250677179 尚城6#206 1 123.119.235.73 tasks
<?PHP exit;?> 1250677181 尚城6#206 1 123.119.235.73 adv
<?PHP exit;?> 1250677184 尚城6#206 1 123.119.235.73 moderate GET={operation=threads; };
<?PHP exit;?> 1250677185 尚城6#206 1 123.119.235.73 members
<?PHP exit;?> 1250677194 尚城6#206 1 123.119.235.73 settings GET={operation=styles; };
<?PHP exit;?> 1250677195 尚城6#206 1 123.119.235.73 settings GET={operation=basic; };
<?PHP exit;?> 1250677196 尚城6#206 1 123.119.235.73 home
<?PHP exit;?> 1250677197 尚城6#206 1 123.119.235.73 home
<?PHP exit;?> 1250677198 尚城6#206 1 123.119.235.73 home
<?PHP exit;?> 1250677199 尚城6#206 1 123.119.235.73 members
<?PHP exit;?> 1250677202 尚城6#206 1 123.119.235.73 moderate GET={operation=threads; };
<?PHP exit;?> 1250677203 尚城6#206 1 123.119.235.73 tasks
<?PHP exit;?> 1250677204 尚城6#206 1 123.119.235.73 misc GET={operation=custommenu; do=clean; };
<?PHP exit;?> 1250677206 尚城6#206 1 123.119.235.73 misc GET={operation=custommenu; do=clean; };
<?PHP exit;?> 1250677207 尚城6#206 1 123.119.235.73 home
<?PHP exit;?> 1250677226 尚城6#206 1 123.119.235.73 settings GET={operation=basic; };
<?PHP exit;?> 1250677227 尚城6#206 1 123.119.235.73 members
<?PHP exit;?> 1250677228 尚城6#206 1 123.119.235.73 moderate GET={operation=threads; };
<?PHP exit;?> 1250677229 尚城6#206 1 123.119.235.73 tasks
<?PHP exit;?> 1250677230 尚城6#206 1 123.119.235.73 misc GET={operation=custommenu; do=clean; };
<?PHP exit;?> 1250677232 尚城6#206 1 123.119.235.73 settings GET={operation=basic; };
<?PHP exit;?> 1250677240 尚城6#206 1 123.119.235.73 settings GET={operation=attach; };
<?PHP exit;?> 1250677302 尚城6#206 1 123.119.235.73 checktools GET={operation=imagepreview; previewthumb=yes; frame=no; }; POST={anchor=image; operation=attach; settingsnew={attachdir=./attachments; attachurl=attachments; attachimgpost=1; attachsave=3; swfupload=1; imagelib=0; imageimpath=; thumbstatus=1; thumbquality=100; thumbwidth=400; thumbheight=300; watermarkstatus=0; watermarkminwidth=0; watermarkminheight=0; watermarktype=0; watermarktrans=65; watermarkquality=80; watermarktext={text=; fontpath=FetteSteinschrift.ttf; size=; angle=; color=; shadowx=; shadowy=; shadowcolor=; translatex=; translatey=; skewx=; skewy=; }; attachexpire=; attachrefcheck=0; ftp={hideurl=0; }; }; };
<?PHP exit;?> 1250677318 尚城6#206 1 123.119.235.73 settings GET={edit=yes; }; POST={anchor=image; operation=attach; settingsnew={attachdir=./attachments; attachurl=attachments; attachimgpost=1; attachsave=3; swfupload=1; imagelib=0; imageimpath=; thumbstatus=1; thumbquality=100; thumbwidth=400; thumbheight=300; watermarkstatus=0; watermarkminwidth=0; watermarkminheight=0; watermarktype=0; watermarktrans=65; watermarkquality=80; watermarktext={text=; fontpath=FetteSteinschrift.ttf; size=; angle=; color=; shadowx=; shadowy=; shadowcolor=; translatex=; translatey=; skewx=; skewy=; }; attachexpire=; attachrefcheck=0; ftp={hideurl=0; }; }; settingsubmit=提交; };
<?PHP exit;?> 1250677321 尚城6#206 1 123.119.235.73 settings GET={operation=attach; anchor=image; };
<?PHP exit;?> 1250688920 yux 1 222.130.188.210 home
<?PHP exit;?> 1250689079 yux 1 222.130.188.210 forums
<?PHP exit;?> 1250689245 yux 1 222.130.188.210 forums POST={anchor=; order={1=0; 2=0; 5=0; 3=0; 7=0; 4=2; }; name={1=野猪乐园; 2=我爱尚城; 5=最新进展; 3=论坛管理; 7=网站公告; 4=社区生活; }; editsubmit=提交; };
<?PHP exit;?> 1250689248 yux 1 222.130.188.210 forums
<?PHP exit;?> 1250689256 yux 1 222.130.188.210 forums POST={anchor=; order={1=0; 2=0; 5=0; 3=3; 7=0; 4=2; }; name={1=野猪乐园; 2=我爱尚城; 5=最新进展; 3=论坛管理; 7=网站公告; 4=社区生活; }; editsubmit=提交; };
<?PHP exit;?> 1250689258 yux 1 222.130.188.210 forums
<?PHP exit;?> 1250689343 yux 1 222.130.188.210 forums POST={anchor=; order={1=0; 2=0; 5=0; 4=2; 3=3; 7=0; }; name={1=野猪乐园; 2=我爱尚城; 5=最新进展; 4=社区生活; 3=论坛管理; 7=网站公告; }; neworder={4={1=0; 2=0; }; }; newforum={4={1=美食旅游; 2=尚城宝宝; }; }; projectid={4={1=0; 2=0; }; }; editsubmit=提交; };
<?PHP exit;?> 1250689345 yux 1 222.130.188.210 forums
<?PHP exit;?> 1250689404 yux 1 222.130.188.210 forums POST={anchor=; order={1=0; 2=0; 5=0; 4=2; 8=0; 9=0; 10=0; 3=3; 7=0; }; name={1=我的家园; 2=我爱尚城; 5=最新进展; 4=生活娱乐; 8=运动健身; 9=美食旅游; 10=尚城宝宝; 3=论坛管理; 7=网站公告; }; editsubmit=提交; };
<?PHP exit;?> 1250689406 yux 1 222.130.188.210 forums
<?PHP exit;?> 1250689450 yux 1 222.130.188.210 forums GET={operation=edit; fid=2; };
<?PHP exit;?> 1250689475 yux 1 222.130.188.210 members
<?PHP exit;?> 1250689480 yux 1 222.130.188.210 members GET={operation=; }; POST={anchor=; username=; uid=; srchemail=; higher={credits=; extcredits1=; extcredits2=; }; lower={credits=; extcredits1=; extcredits2=; }; postshigher=; postslower=; regip=; lastip=; regdateafter=; regdatebefore=; lastvisitafter=; lastvisitbefore=; lastpostafter=; lastpostbefore=; birthyear=; birthmonth=; birthday=; };
<?PHP exit;?> 1250689497 yux 1 222.130.188.210 ranks
<?PHP exit;?> 1250689500 yux 1 222.130.188.210 moderate GET={operation=threads; };
<?PHP exit;?> 1250689502 yux 1 222.130.188.210 tasks
<?PHP exit;?> 1250689503 yux 1 222.130.188.210 moderate GET={operation=threads; };
<?PHP exit;?> 1250689505 yux 1 222.130.188.210 threads
<?PHP exit;?> 1250689506 yux 1 222.130.188.210 attach
<?PHP exit;?> 1250689514 yux 1 222.130.188.210 misc GET={operation=attachtype; };
<?PHP exit;?> 1250689534 yux 1 222.130.188.210 tasks
<?PHP exit;?> 1250689539 yux 1 222.130.188.210 adv
<?PHP exit;?> 1250689542 yux 1 222.130.188.210 tools GET={operation=updatecache; };
<?PHP exit;?> 1250689549 yux 1 222.130.188.210 logout
<?PHP exit;?> 1250689642 yux 1 222.130.188.210 home
<?PHP exit;?> 1250689647 yux 1 222.130.188.210 members
<?PHP exit;?> 1250689650 yux 1 222.130.188.210 members GET={operation=; }; POST={anchor=; username=; uid=; srchemail=; higher={credits=; extcredits1=; extcredits2=; }; lower={credits=; extcredits1=; extcredits2=; }; postshigher=; postslower=; regip=; lastip=; regdateafter=; regdatebefore=; lastvisitafter=; lastvisitbefore=; lastpostafter=; lastpostbefore=; birthyear=; birthmonth=; birthday=; };
<?PHP exit;?> 1250689656 yux 1 222.130.188.210 members GET={operation=group; uid=4; };
<?PHP exit;?> 1250689667 yux 1 222.130.188.210 members GET={operation=group; uid=4; }; POST={anchor=; groupidnew=1; adminidnew={}; expirydatenew=; expgroupidnew=0; expadminidnew=0; extgroupexpirynew={1=; 2=; 3=; }; reason=; editsubmit=提交; };
<?PHP exit;?> 1250689670 yux 1 222.130.188.210 members GET={operation=group; uid=4; };
<?PHP exit;?> 1250689673 yux 1 222.130.188.210 members
<?PHP exit;?> 1250689674 yux 1 222.130.188.210 members
<?PHP exit;?> 1250689677 yux 1 222.130.188.210 members
<?PHP exit;?> 1250689679 yux 1 222.130.188.210 members GET={operation=; }; POST={anchor=; username=; uid=; srchemail=; higher={credits=; extcredits1=; extcredits2=; }; lower={credits=; extcredits1=; extcredits2=; }; postshigher=; postslower=; regip=; lastip=; regdateafter=; regdatebefore=; lastvisitafter=; lastvisitbefore=; lastpostafter=; lastpostbefore=; birthyear=; birthmonth=; birthday=; };
<?PHP exit;?> 1250689698 yux 1 222.130.188.210 members
<?PHP exit;?> 1250689703 yux 1 222.130.188.210 members GET={operation=ban; };
<?PHP exit;?> 1250689704 yux 1 222.130.188.210 members GET={operation=reward; };
<?PHP exit;?> 1250689705 yux 1 222.130.188.210 moderate GET={operation=members; };
<?PHP exit;?> 1250689707 yux 1 222.130.188.210 profilefields
<?PHP exit;?> 1250689709 yux 1 222.130.188.210 admingroups
<?PHP exit;?> 1250689712 yux 1 222.130.188.210 ranks
<?PHP exit;?> 1250689717 yux 1 222.130.188.210 logout
<?PHP exit;?> 1250690403 鱼头 1 222.130.188.210 home
<?PHP exit;?> 1250690410 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250690446 鱼头 1 222.130.188.210 forums POST={anchor=; order={1=0; 2=0; 5=0; 4=2; 8=0; 9=0; 10=0; 3=3; 7=0; }; name={1=我的家园; 2=我爱尚城; 5=最新进展; 4=生活娱乐; 8=运动旅游; 9=美食购物; 10=尚城宝宝; 3=论坛管理; 7=网站公告; }; editsubmit=提交; };
<?PHP exit;?> 1250690448 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250690677 鱼头 1 222.130.188.210 home
<?PHP exit;?> 1250690689 鱼头 1 222.130.188.210 tasks
<?PHP exit;?> 1250690694 鱼头 1 222.130.188.210 medals
<?PHP exit;?> 1250690733 鱼头 1 222.130.188.210 members
<?PHP exit;?> 1250690736 鱼头 1 222.130.188.210 tasks
<?PHP exit;?> 1250690738 鱼头 1 222.130.188.210 adv
<?PHP exit;?> 1250690741 鱼头 1 222.130.188.210 tools GET={operation=updatecache; };
<?PHP exit;?> 1250690743 鱼头 1 222.130.188.210 adv
<?PHP exit;?> 1250690746 鱼头 1 222.130.188.210 home
<?PHP exit;?> 1250690750 鱼头 1 222.130.188.210 settings GET={operation=basic; };
<?PHP exit;?> 1250690754 鱼头 1 222.130.188.210 home
<?PHP exit;?> 1250690755 鱼头 1 222.130.188.210 settings GET={operation=basic; };
<?PHP exit;?> 1250690807 鱼头 1 222.130.188.210 home
<?PHP exit;?> 1250690821 鱼头 1 222.130.188.210 home
<?PHP exit;?> 1250690854 鱼头 1 222.130.188.210 adv
<?PHP exit;?> 1250690866 鱼头 1 222.130.188.210 adv GET={operation=config; };
<?PHP exit;?> 1250690890 鱼头 1 222.130.188.210 home
<?PHP exit;?> 1250690946 鱼头 1 222.130.188.210 settings GET={operation=basic; };
<?PHP exit;?> 1250690955 鱼头 1 222.130.188.210 tools GET={operation=updatecache; };
<?PHP exit;?> 1250690958 鱼头 1 222.130.188.210 tasks
<?PHP exit;?> 1250690959 鱼头 1 222.130.188.210 members
<?PHP exit;?> 1250690961 鱼头 1 222.130.188.210 medals
<?PHP exit;?> 1250690963 鱼头 1 222.130.188.210 settings GET={operation=basic; };
<?PHP exit;?> 1250690969 鱼头 1 222.130.188.210 settings GET={operation=styles; };
<?PHP exit;?> 1250690974 鱼头 1 222.130.188.210 misc GET={operation=icon; };
<?PHP exit;?> 1250690979 鱼头 1 222.130.188.210 settings GET={operation=styles; };
<?PHP exit;?> 1250690995 鱼头 1 222.130.188.210 styles
<?PHP exit;?> 1250691070 鱼头 1 222.130.188.210 styles GET={operation=import; dir=uchome; };
<?PHP exit;?> 1250691073 鱼头 1 222.130.188.210 styles
<?PHP exit;?> 1250691103 鱼头 1 222.130.188.210 styles POST={anchor=; updatecsscache=0; namenew={1=默认风格; 2=uchome; }; availablenew={1=1; 2=1; }; defaultnew=2; newname=; stylesubmit=提交; };
<?PHP exit;?> 1250691106 鱼头 1 222.130.188.210 styles
<?PHP exit;?> 1250691124 鱼头 1 222.130.188.210 styles GET={operation=edit; id=2; };
<?PHP exit;?> 1250691171 鱼头 1 222.130.188.210 styles GET={operation=edit; id=2; adv=1; };
<?PHP exit;?> 1250691212 鱼头 1 222.130.188.210 misc GET={operation=icon; };
<?PHP exit;?> 1250691214 鱼头 1 222.130.188.210 smilies
<?PHP exit;?> 1250691222 鱼头 1 222.130.188.210 misc GET={operation=icon; };
<?PHP exit;?> 1250691230 鱼头 1 222.130.188.210 smilies
<?PHP exit;?> 1250691232 鱼头 1 222.130.188.210 smilies GET={operation=import; };
<?PHP exit;?> 1250691234 鱼头 1 222.130.188.210 smilies
<?PHP exit;?> 1250691239 鱼头 1 222.130.188.210 settings GET={operation=editor; };
<?PHP exit;?> 1250691241 鱼头 1 222.130.188.210 misc GET={operation=onlinelist; };
<?PHP exit;?> 1250691256 鱼头 1 222.130.188.210 adv
<?PHP exit;?> 1250691258 鱼头 1 222.130.188.210 insenz GET={operation=campaignlist; c_status=2; };
<?PHP exit;?> 1250691275 鱼头 1 222.130.188.210 tools GET={operation=updatecache; };
<?PHP exit;?> 1250691279 鱼头 1 222.130.188.210 tools GET={operation=updatecache; };
<?PHP exit;?> 1250691285 鱼头 1 222.130.188.210 counter
<?PHP exit;?> 1250691297 鱼头 1 222.130.188.210 jswizard
<?PHP exit;?> 1250691301 鱼头 1 222.130.188.210 creditwizard
<?PHP exit;?> 1250691310 鱼头 1 222.130.188.210 project
<?PHP exit;?> 1250691326 鱼头 1 222.130.188.210 misc GET={operation=custommenu; };
<?PHP exit;?> 1250691328 鱼头 1 222.130.188.210 misc GET={operation=cron; };
<?PHP exit;?> 1250691331 鱼头 1 222.130.188.210 tools GET={operation=fileperms; };
<?PHP exit;?> 1250691333 鱼头 1 222.130.188.210 misc GET={operation=cron; };
<?PHP exit;?> 1250691335 鱼头 1 222.130.188.210 adv
<?PHP exit;?> 1250691339 鱼头 1 222.130.188.210 tasks
<?PHP exit;?> 1250691345 鱼头 1 222.130.188.210 magics GET={operation=config; };
<?PHP exit;?> 1250691350 鱼头 1 222.130.188.210 tools GET={operation=updatecache; };
<?PHP exit;?> 1250691353 鱼头 1 222.130.188.210 moderate GET={operation=threads; };
<?PHP exit;?> 1250691355 鱼头 1 222.130.188.210 members
<?PHP exit;?> 1250691357 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691361 鱼头 1 222.130.188.210 threadtypes
<?PHP exit;?> 1250691363 鱼头 1 222.130.188.210 threadtypes GET={special=1; };
<?PHP exit;?> 1250691366 鱼头 1 222.130.188.210 threadtypes GET={operation=typemodel; };
<?PHP exit;?> 1250691372 鱼头 1 222.130.188.210 threadtypes GET={operation=typeoption; };
<?PHP exit;?> 1250691375 鱼头 1 222.130.188.210 threadtypes GET={operation=typemodel; };
<?PHP exit;?> 1250691381 鱼头 1 222.130.188.210 settings GET={operation=styles; };
<?PHP exit;?> 1250691382 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691424 鱼头 1 222.130.188.210 forums POST={anchor=; order={1=0; 2=0; 5=0; 4=2; 8=0; 9=0; 10=0; 3=3; 7=0; }; name={1=我的家园; 2=我爱尚城; 5=最新进展; 4=生活娱乐; 8=运动旅游; 9=美食购物; 10=尚城宝宝; 3=论坛管理; 7=网站公告; }; neworder={4={}; }; newforum={4={}; }; projectid={4={}; }; editsubmit=提交; };
<?PHP exit;?> 1250691426 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691431 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=5; };
<?PHP exit;?> 1250691478 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=5; }; POST={anchor=basic; type=forum; namenew=最新进展; projectid=0; statusnew=1; fupnew=1; redirectnew=; iconnew=; descriptionnew=让我们关注尚城的每一天,期盼那个美好时刻的到来。。。; rulesnew=; keywordsnew=; styleidnew=0; forumcolumnsnew=0; subforumsindexnew=-1; simplenew=0; allowglobalsticknew=1; defaultorderfieldnew=0; defaultordernew=0; threadcachesnew=0; alloweditrulesnew=0; modrecommendnew={open=0; num=; maxlength=; cachelife=; dateline=; }; modnewpostsnew=0; alloweditpostnew=1; recyclebinnew=0; allowhtmlnew=0; allowbbcodenew=1; allowimgcodenew=1; allowmediacodenew=0; allowsmiliesnew=1; jammernew=0; allowanonymousnew=0; disablewatermarknew=0; allowtagnew=1; allowpostspecialnew={1=1; 2=1; 3=1; 4=1; 5=1; 6=1; }; allowspecialonlynew=0; autoclosenew=0; autoclosetimenew=; attachextensionsnew=; postcreditsnew={1=; 2=; }; replycreditsnew={1=; 2=; }; digestcreditsnew={1=; 2=; }; postattachcreditsnew={1=; 2=; }; getattachcreditsnew={1=; 2=; }; threadtypesnew={status=0; required=0; listable=0; prefix=0; }; threadsortsnew={status=0; required=0; listable=0; prefix=0; }; passwordnew=; formulapermnew=; detailsubmit=提交; };
<?PHP exit;?> 1250691480 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=5; anchor=basic; };
<?PHP exit;?> 1250691484 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691511 鱼头 1 222.130.188.210 forums POST={anchor=; order={1=0; 5=2; 2=1; 4=2; 10=0; 9=0; 8=0; 11=0; 3=3; 7=0; }; name={1=我的家园; 5=最新进展; 2=我爱尚城; 4=生活娱乐; 10=尚城宝宝; 9=美食购物; 8=运动旅游; 11=跳蚤市场; 3=论坛管理; 7=网站公告; }; editsubmit=提交; };
<?PHP exit;?> 1250691513 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691518 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=2; };
<?PHP exit;?> 1250691549 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=2; }; POST={anchor=basic; type=forum; namenew=我爱尚城; projectid=0; statusnew=1; fupnew=1; redirectnew=; iconnew=; descriptionnew=尚城是我们的家,让我们畅所欲言吧。。。; rulesnew=; keywordsnew=; styleidnew=0; forumcolumnsnew=0; subforumsindexnew=-1; simplenew=0; allowglobalsticknew=1; defaultorderfieldnew=0; defaultordernew=0; threadcachesnew=0; alloweditrulesnew=0; modrecommendnew={open=0; num=; maxlength=; cachelife=; dateline=; }; modnewpostsnew=0; alloweditpostnew=1; recyclebinnew=0; allowhtmlnew=0; allowbbcodenew=1; allowimgcodenew=1; allowmediacodenew=1; allowsmiliesnew=1; jammernew=0; allowanonymousnew=0; disablewatermarknew=0; allowtagnew=1; allowpostspecialnew={1=1; 2=1; 3=1; 4=1; 5=1; 6=1; }; allowspecialonlynew=0; autoclosenew=0; autoclosetimenew=; attachextensionsnew=; postcreditsnew={1=; 2=; }; replycreditsnew={1=; 2=; }; digestcreditsnew={1=; 2=; }; postattachcreditsnew={1=; 2=; }; getattachcreditsnew={1=; 2=; }; threadtypesnew={status=0; required=0; listable=0; prefix=0; }; threadsortsnew={status=0; required=0; listable=0; prefix=0; }; passwordnew=; formulapermnew=; detailsubmit=提交; };
<?PHP exit;?> 1250691552 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=2; anchor=basic; };
<?PHP exit;?> 1250691560 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691564 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=10; };
<?PHP exit;?> 1250691620 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=10; }; POST={anchor=basic; type=forum; namenew=尚城宝宝; projectid=0; statusnew=1; fupnew=4; redirectnew=; iconnew=; descriptionnew=怀孕、育儿,是尚城妈妈的永久话题,爸爸们呢?; rulesnew=; keywordsnew=; styleidnew=0; forumcolumnsnew=0; subforumsindexnew=-1; simplenew=0; allowglobalsticknew=1; defaultorderfieldnew=0; defaultordernew=0; threadcachesnew=0; alloweditrulesnew=0; modrecommendnew={open=0; num=; maxlength=; cachelife=; dateline=; }; modnewpostsnew=0; alloweditpostnew=1; recyclebinnew=0; allowhtmlnew=0; allowbbcodenew=1; allowimgcodenew=1; allowmediacodenew=0; allowsmiliesnew=1; jammernew=0; allowanonymousnew=0; disablewatermarknew=0; allowtagnew=1; allowpostspecialnew={1=1; 2=1; 3=1; 4=1; 5=1; 6=1; }; allowspecialonlynew=0; autoclosenew=0; autoclosetimenew=; attachextensionsnew=; postcreditsnew={1=; 2=; }; replycreditsnew={1=; 2=; }; digestcreditsnew={1=; 2=; }; postattachcreditsnew={1=; 2=; }; getattachcreditsnew={1=; 2=; }; threadtypesnew={status=0; required=0; listable=0; prefix=0; }; threadsortsnew={status=0; required=0; listable=0; prefix=0; }; passwordnew=; formulapermnew=; detailsubmit=提交; };
<?PHP exit;?> 1250691622 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=10; anchor=basic; };
<?PHP exit;?> 1250691623 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691653 鱼头 1 222.130.188.210 forums POST={anchor=; order={1=0; 2=1; 5=2; 4=2; 10=3; 9=2; 8=1; 11=4; 3=3; 7=0; }; name={1=我的家园; 2=我爱尚城; 5=最新进展; 4=生活娱乐; 10=尚城宝宝; 9=美食购物; 8=运动旅游; 11=跳蚤市场; 3=论坛管理; 7=网站公告; }; editsubmit=提交; };
<?PHP exit;?> 1250691655 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691655 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691659 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=8; };
<?PHP exit;?> 1250691719 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=8; }; POST={anchor=basic; type=forum; namenew=运动旅游; projectid=0; statusnew=1; fupnew=4; redirectnew=; iconnew=; descriptionnew=运动健身、旅游出行,让接受大自然、接受健康。。。; rulesnew=; keywordsnew=; styleidnew=0; forumcolumnsnew=0; subforumsindexnew=-1; simplenew=0; allowglobalsticknew=1; defaultorderfieldnew=0; defaultordernew=0; threadcachesnew=0; alloweditrulesnew=0; modrecommendnew={open=0; num=; maxlength=; cachelife=; dateline=; }; modnewpostsnew=0; alloweditpostnew=1; recyclebinnew=0; allowhtmlnew=0; allowbbcodenew=1; allowimgcodenew=1; allowmediacodenew=0; allowsmiliesnew=1; jammernew=0; allowanonymousnew=0; disablewatermarknew=0; allowtagnew=1; allowpostspecialnew={1=1; 2=1; 3=1; 4=1; 5=1; 6=1; }; allowspecialonlynew=0; autoclosenew=0; autoclosetimenew=; attachextensionsnew=; postcreditsnew={1=; 2=; }; replycreditsnew={1=; 2=; }; digestcreditsnew={1=; 2=; }; postattachcreditsnew={1=; 2=; }; getattachcreditsnew={1=; 2=; }; threadtypesnew={status=0; required=0; listable=0; prefix=0; }; threadsortsnew={status=0; required=0; listable=0; prefix=0; }; passwordnew=; formulapermnew=; detailsubmit=提交; };
<?PHP exit;?> 1250691722 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=8; anchor=basic; };
<?PHP exit;?> 1250691724 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691726 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691751 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=9; };
<?PHP exit;?> 1250691783 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=9; }; POST={anchor=basic; type=forum; namenew=美食购物; projectid=0; statusnew=1; fupnew=4; redirectnew=; iconnew=; descriptionnew=美食和购物,永远是我们生活中的重要组成部分。。。; rulesnew=; keywordsnew=; styleidnew=0; forumcolumnsnew=0; subforumsindexnew=-1; simplenew=0; allowglobalsticknew=1; defaultorderfieldnew=0; defaultordernew=0; threadcachesnew=0; alloweditrulesnew=0; modrecommendnew={open=0; num=; maxlength=; cachelife=; dateline=; }; modnewpostsnew=0; alloweditpostnew=1; recyclebinnew=0; allowhtmlnew=0; allowbbcodenew=1; allowimgcodenew=1; allowmediacodenew=0; allowsmiliesnew=1; jammernew=0; allowanonymousnew=0; disablewatermarknew=0; allowtagnew=1; allowpostspecialnew={1=1; 2=1; 3=1; 4=1; 5=1; 6=1; }; allowspecialonlynew=0; autoclosenew=0; autoclosetimenew=; attachextensionsnew=; postcreditsnew={1=; 2=; }; replycreditsnew={1=; 2=; }; digestcreditsnew={1=; 2=; }; postattachcreditsnew={1=; 2=; }; getattachcreditsnew={1=; 2=; }; threadtypesnew={status=0; required=0; listable=0; prefix=0; }; threadsortsnew={status=0; required=0; listable=0; prefix=0; }; passwordnew=; formulapermnew=; detailsubmit=提交; };
<?PHP exit;?> 1250691788 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=9; anchor=basic; };
<?PHP exit;?> 1250691796 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691817 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691823 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=11; };
<?PHP exit;?> 1250691865 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=11; }; POST={anchor=basic; type=forum; namenew=跳蚤市场; projectid=0; statusnew=1; fupnew=4; redirectnew=; iconnew=; descriptionnew=生活信息共享、发布。。。; rulesnew=; keywordsnew=; styleidnew=0; forumcolumnsnew=0; subforumsindexnew=-1; simplenew=0; allowglobalsticknew=1; defaultorderfieldnew=0; defaultordernew=0; threadcachesnew=0; alloweditrulesnew=0; modrecommendnew={open=0; num=; maxlength=; cachelife=; dateline=; }; modnewpostsnew=1; alloweditpostnew=0; recyclebinnew=1; allowhtmlnew=0; allowbbcodenew=1; allowimgcodenew=1; allowmediacodenew=0; allowsmiliesnew=1; jammernew=1; allowanonymousnew=0; disablewatermarknew=0; allowtagnew=1; allowpostspecialnew={1=1; }; allowspecialonlynew=0; autoclosenew=0; autoclosetimenew=; attachextensionsnew=; postcreditsnew={1=; 2=; }; replycreditsnew={1=; 2=; }; digestcreditsnew={1=; 2=; }; postattachcreditsnew={1=; 2=; }; getattachcreditsnew={1=; 2=; }; threadtypesnew={status=0; required=0; listable=0; prefix=0; }; threadsortsnew={status=0; required=0; listable=0; prefix=0; }; passwordnew=; postperm={1=2; 2=3; }; formulapermnew=; detailsubmit=提交; };
<?PHP exit;?> 1250691870 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=11; anchor=basic; };
<?PHP exit;?> 1250691873 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691878 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=7; };
<?PHP exit;?> 1250691914 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=7; }; POST={anchor=basic; type=forum; namenew=网站公告; projectid=0; statusnew=1; fupnew=3; redirectnew=; iconnew=; descriptionnew=论坛发展建言献策,社区公告发布区。。。; rulesnew=; keywordsnew=; styleidnew=0; forumcolumnsnew=0; subforumsindexnew=-1; simplenew=0; allowglobalsticknew=1; defaultorderfieldnew=0; defaultordernew=0; threadcachesnew=0; alloweditrulesnew=0; modrecommendnew={open=0; num=; maxlength=; cachelife=; dateline=; }; modnewpostsnew=0; alloweditpostnew=1; recyclebinnew=0; allowhtmlnew=0; allowbbcodenew=1; allowimgcodenew=1; allowmediacodenew=0; allowsmiliesnew=1; jammernew=0; allowanonymousnew=0; disablewatermarknew=0; allowtagnew=1; allowpostspecialnew={1=1; 2=1; 3=1; 4=1; 5=1; 6=1; }; allowspecialonlynew=0; autoclosenew=0; autoclosetimenew=; attachextensionsnew=; postcreditsnew={1=; 2=; }; replycreditsnew={1=; 2=; }; digestcreditsnew={1=; 2=; }; postattachcreditsnew={1=; 2=; }; getattachcreditsnew={1=; 2=; }; threadtypesnew={status=0; required=0; listable=0; prefix=0; }; threadsortsnew={status=0; required=0; listable=0; prefix=0; }; passwordnew=; formulapermnew=; detailsubmit=提交; };
<?PHP exit;?> 1250691922 鱼头 1 222.130.188.210 forums GET={operation=edit; fid=7; anchor=basic; };
<?PHP exit;?> 1250691925 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250691926 鱼头 1 222.130.188.210 forums
<?PHP exit;?> 1250692044 鱼头 1 222.130.188.210 threadtypes
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/logs/200908_cplog.php
|
PHP
|
asf20
| 34,423
|
<?PHP exit;?> 1250671370 MySQL 221.218.216.80|221.218.216.80 index.php : Access denied for user 'username'@'localhost' (using password: NO) -
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/logs/200908_errorlog.php
|
PHP
|
asf20
| 142
|
<?PHP exit;?> 1250689053 yux 88***8 222.130.188.210
<?PHP exit;?> 1250689619 yux char***621 222.130.188.210
<?PHP exit;?> 1250767508 tongqiang823 as2***as 123.116.142.135
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/logs/200908_illegallog.php
|
PHP
|
asf20
| 174
|
<?php exit;?>a:1:{s:5:"step1";a:3:{s:4:"size";s:1:"2";s:4:"safe";s:1:"0";s:4:"func";s:1:"0";}}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/logs/runwizardlog.php
|
PHP
|
asf20
| 94
|
<?PHP exit;?> 1250673561 yux 1 221.218.216.80 2 我爱尚城 2 属于咱们尚城业主自己的论坛开通了,希望大家多多发贴啊 EST
<?PHP exit;?> 1250674629 yux 1 221.218.216.80 5 最新进展 5 发点图片,不然左边出不来,而且报错。 DIG
<?PHP exit;?> 1250675114 yux 1 221.218.216.80 5 最新进展 5 发点图片,不然左边出不来,而且报错。 UHL
<?PHP exit;?> 1250690030 鱼头 1 222.130.188.210 2 我爱尚城 6 8月14号上尚考查户外照片 MOV 发错论坛
<?PHP exit;?> 1250690030 鱼头 1 222.130.188.210 2 我爱尚城 4 明天我去尚城拍点照片回来 MOV 发错论坛
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/logs/200908_modslog.php
|
PHP
|
asf20
| 632
|
<?PHP exit;?> 1261141580 myil3127 085***79 60.253.142.12
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/forumdata/logs/200912_illegallog.php
|
PHP
|
asf20
| 58
|
<?php
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: stats.php 17502 2009-01-05 01:36:26Z monkey $
*/
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>0");
$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>0 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> </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>0 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>0 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> </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\"> </div></div> <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> </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>0 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&before=$i&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['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"> </div></div> <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/51shangcheng.cn/htdocs/stats.php
|
PHP
|
asf20
| 38,472
|
<?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/51shangcheng.cn/htdocs/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 17457 2008-12-23 11:44:10Z monkey $
*/
define('CURSCRIPT', 'pm');
define('NOROBOT', TRUE);
require_once './include/common.inc.php';
if(!$discuz_uid) {
showmessage('not_loggedin', NULL, 'HALTED');
}
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, 1);
if($newpm != $ucnewpm['newpm']) {
$db->query("UPDATE {$tablepre}members SET prompt=prompt|1 WHERE uid='$discuz_uid'", 'UNBUFFERED');
}
dsetcookie('checkpm', 1, 30, 0);
dsetcookie('pmnum', $ucnewpm['newpm'], 30);
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);
$systemnewpm = $pmstatus['newpm'] - $pmstatus['newprivatepm'];
$filter = !empty($filter) && in_array($filter, array('newpm', 'privatepm', 'systempm', '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;
}
} elseif($action == 'viewnew') {
$newpmnum = uc_pm_checknew($discuz_uid);
$pmlist = array();
if($newpmnum) {
$num = min(5, $newpmnum);
$morenum = max(0, $newpmnum - 5);
$ucdata = uc_pm_list($discuz_uid, 1, $num, 'inbox', 'newpm', 0);
$today = $timestamp - ($timestamp + $timeoffset * 3600) % 86400;
foreach($ucdata['data'] as $pm) {
$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;
}
$pmlist[] = $pm;
}
$db->query("UPDATE {$tablepre}members SET prompt=prompt^1 WHERE uid='$discuz_uid' AND prompt=prompt|1", 'UNBUFFERED');
}
include template('pm_viewnew');
exit;
} 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", '', $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) {
$subject = htmlspecialchars($language['post_trade_pm_subject'].$trade['subject']);
$message = '[url='.$boardurl.'viewthread.php?do=tradeinfo&tid='.$trade['tid'].'&pid='.$tradepid.']'.$trade['subject']."[/url]\n";
$message .= $trade['costprice'] ? $language['post_trade_costprice'].': '.$trade['costprice']."\n" : '';
$message .= $language['post_trade_price'].': '.$trade['price']."\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 == 'emailfriend') {
include_once language('misc');
$thread = $db->fetch_first("SELECT * FROM {$tablepre}threads WHERE tid='$tid' AND displayorder>='0'");
$fromuid = $creditspolicy['promotion_visit'] ? '&fromuid='.$discuz_uid : '';
$threadurl = "{$boardurl}viewthread.php?tid=$tid$fromuid";
eval("\$message = \"".$language['emailfriend_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 {
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/51shangcheng.cn/htdocs/pm.php
|
PHP
|
asf20
| 12,575
|
<?php
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: relatethread.php 16688 2008-11-14 06:41:07Z cnteacher $
*/
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';
$relatedadstatus = $_DCACHE['settings']['insenz']['topicrelatedad'] || $_DCACHE['settings']['insenz']['traderelatedad'];
$qihoo = $_DCACHE['settings']['qihoo'];
if(!$qihoo['relate']['bbsnum'] && !$relatedadstatus) {
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&srchtxt='.rawurlencode($keyword).'&searchsubmit=yes" target="_blank"><strong><font color="red">'.$keyword.'</font></strong></a> ';
}
}
}
$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($relatedadstatus && $keywords['trade']) {
$db->query("REPLACE INTO {$tablepre}relatedthreads (tid, type, expiration, keywords, relatedthreads)
VALUES ('$tid', 'trade', '$expiration', '$keywords[trade]', '$relatedthreads')", 'UNBUFFERED');
}
}
?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/relatethread.php
|
PHP
|
asf20
| 5,691
|
<?php
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: member.php 16790 2008-11-20 06:45:21Z zhaoxiongfei $
*/
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);
}
}
dheader("Location: {$boardurl}".$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)."&order=$order&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/51shangcheng.cn/htdocs/member.php
|
PHP
|
asf20
| 12,949
|
<?php
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: magic.php 16688 2008-11-14 06:41:07Z cnteacher $
*/
define('CURSCRIPT', 'magic');
require_once './include/common.inc.php';
if(!$discuz_uid) {
showmessage('not_loggedin', NULL, 'HALTED');
} elseif(!$creditstransextra[3]) {
showmessage('credits_transaction_disabled');
} elseif(!$magicstatus && $adminid != 1) {
showmessage('magics_close');
} elseif(!$allowmagics) {
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 : '';
$totalweight = getmagicweight($discuz_uid, $magicarray);
$magicid = intval($magicid);
if(!empty($typeid)) {
$typeadd = '&typeid='.intval($typeid);
$filteradd = "AND type='".intval($typeid)."'";
}
if($action == 'index') {
$discuz_action = 170;
if(empty($operation)) {
include language('magics');
$operation = $magicendrows = $mymagicendrows = '';
$magiccount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}magics WHERE available='1' $filteradd");
$multipage = multi($magiccount, $tpp, $page, "magic.php?action=index$typeadd");
$query = $db->query("SELECT magicid, name, identifier, description, price, num, salevolume, weight, type FROM {$tablepre}magics WHERE available='1' $filteradd ORDER BY displayorder LIMIT $start_limit,$tpp");
while($magic = $db->fetch_array($query)) {
$magic['price'] = $magicsdiscount ? intval($magic['price'] * ($magicsdiscount / 10)) : intval($magic['price']);
$magic['pic'] = strtolower($magic['identifier']).'.gif';
$magic['type'] = $lang['magics_type_'.$magic['type']];
$magiclist[] = $magic;
}
$magicnum = count($magiclist);
if($colspan = $magicnum % 2) {
while(($colspan - 2) < 0) {
$magicendrows .= '<td class="altbg2"></td>';
$colspan ++;
}
$magicendrows .= '</tr>';
}
$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=index&pid=$pid$typeadd");
$query = $db->query("SELECT mm.num, m.magicid, m.name, m.identifier, m.description, m.weight
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']);
$mymagiclist[] = $mymagic;
}
$mymagicnum = count($mymagiclist);
if($colspan = $mymagicnum % 2) {
while(($colspan - 2) < 0) {
$mymagicendrows .= '<td class="altbg2"></td>';
$colspan ++;
}
$mymagicendrows .= '</tr>';
}
include template('magic_index');
} elseif($operation == 'buy') {
$magic = $db->fetch_first("SELECT * FROM {$tablepre}magics WHERE magicid='$magicid'");
if(!$magic) {
showmessage('magics_nonexistence');
}
if(!$magic['available']) {
showmessage('magics_nonexistence');
}
$magic['price'] = $magicsdiscount ? intval($magic['price'] * ($magicsdiscount / 10)) : intval($magic['price']);
if(!submitcheck('operatesubmit')) {
$magic['pic'] = strtolower($magic['identifier']).'.gif';
$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 = ' ';
}
}
}
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 = ' ';
}
}
}
include template('magic_opreation');
} else {
$magicnum = intval($magicnum);
$magic['weight'] = $magic['weight'] * $magicnum;
$totalprice = $magic['price'] * $magicnum;
$toname = dhtmlspecialchars(trim($tousername));
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');
}
if(!empty($toname) && $allowmagics > 1 && $checkgive) {
givemagic($toname, $magic['magicid'], $magicnum, $magic['num'], $totalprice);
} else {
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=index');
}
} 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','magic.php?action=index');
} elseif(!$magic['num']) {
$db->query("DELETE FROM {$tablepre}membermagics WHERE uid='$discuz_uid' AND magicid='$magic[magicid]'");
showmessage('magics_nonexistence','magic.php?action=index');
}
$magicperm = unserialize($magic['magicperm']);
if(!submitcheck('operatesubmit')) {
$magic['pic'] = strtolower($magic['identifier']).".gif";
$useperm = (strstr($magicperm['usergroups'], "\t$groupid\t") || empty($magicperm['usergroups'])) ? '1' : '0';
$magic['discountprice'] = intval($magic['price'] * ($magicdiscount / 100));
if($magic['num'] <= 0) {
$db->query("DELETE FROM {$tablepre}membermagics WHERE uid='$discuz_uid' AND magicid='$magic[magicid]'");
showmessage('magics_nopermission','magic.php?action=index');
}
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 = ' ';
}
}
}
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 = ' ';
}
}
}
$magic['weight'] = intval($magicarray[$magic['magicid']]['weight'] * $magic['num']);
if($operation == 'use') {
include language('magics');
$username = dhtmlspecialchars($username);
if(!submitcheck('usesubmit')) {
$magicselect = array($magicid => 'selected="selected"');
$magiclist = magicselect($discuz_uid, $typeid, array('magic' => array('magicid', 'name', 'description')));
}
if(!@include_once DISCUZ_ROOT.($magicfile = "./include/magic/$magic[filename]")) {
showmessage('magics_filename_nonexistence');
}
}
include template('magic_opreation');
} else {
$magicnum = intval($magicnum);
$price = intval($price);
if(!$magicnum || $magicnum < 0) {
showmessage('magics_num_invalid');
} elseif($magicnum > $magic['num']) {
showmessage('magics_amount_no_enough');
}
$magic['weight'] = intval($magic['weight'] * $magicnum);
if($operation == 'sell') {
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') {
usemagic($magic['magicid'], $magic['num'], $magicnum);
updatemagiclog($magic['magicid'], '2', $magicnum, $price);
showmessage('magics_succeed', '', 1);
} elseif($operation == 'give') {
if($allowmagics < 2) {
showmessage('magics_nopermission');
}
$toname = dhtmlspecialchars(trim($tousername));
$magicnum = intval($magicnum);
if(empty($tousername)) {
showmessage('magics_username_nonexistence');
}
givemagic($toname, $magic['magicid'], $magicnum, $magic['num'], '0');
}
}
}
} 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) ? '&magicid='.$magicid : '';
$magicadd .= !empty($orderby) ? '&orderby='.$orderby : '';
$magicadd .= !empty($ascdesc) ? '&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>';
}
}
include template('magic_market');
} 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'");
sendpm($magic['uid'], 'magics_sell_subject', 'magics_sell_message', 0);
updatemagiclog($magic['magicid'], '5', $magicnum, $magic['price'], '0', $discuz_uid);
marketmagicnum($magic['mid'], $magic['num'], $magicnum);
showmessage('magics_succeed', 'magic.php?action=index');
}
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', '', 1);
}
include template('magic_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&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&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&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&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&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;
}
}
include template('magic_log');
} elseif($action == 'usemagic') {
$magiclist = $magicselect = array();
$typeid = intval($type);
$magicid = intval($magicid);
$magiclist = magicselect($discuz_uid, $typeid, array('magic' => array('magicid', 'name', 'description')));
if($magicid) {
$magicselect = array($magicid => 'selected="selected"');
$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'] <= 0) {
$db->query("DELETE FROM {$tablepre}membermagics WHERE uid='$discuz_uid' AND magicid='$magic[magicid]'");
showmessage('magics_nonexistence');
}
$magicperm = unserialize($magic['magicperm']);
if(!submitcheck('usesubmit')) {
include language('magics');
$username = dhtmlspecialchars($username);
$useperm = (strstr($magicperm['usergroups'], "\t$groupid\t") || empty($magicperm['usergroups'])) ? '1' : '0';
if(!$useperm) {
showmessage('magics_use_nopermission');
}
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_use');
} else {
showmessage('undefined_action', NULL, 'HALTED');
}
?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/magic.php
|
PHP
|
asf20
| 20,614
|
#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); }
#ad_headerbanner { margin: 25px 0 30px; }
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/fervor/css_append.htm
|
HTML
|
asf20
| 1,302
|
#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); }
.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/51shangcheng.cn/htdocs/templates/uchome/css_append.htm
|
HTML
|
asf20
| 2,006
|
{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/51shangcheng.cn/htdocs/templates/default/pm_viewnew.htm
|
HTML
|
asf20
| 534
|
<table cellspacing="0" cellpadding="0" class="datatable">
<thead class="colplural">
<tr>
<th> </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>
<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['expiration']}-->{lang my_activities_stop_stauts_no}<!--{else}-->{lang my_activities_stop_stauts_yes}<!--{/if}--></td>
</tr>
<!--{/loop}-->
<!--{else}-->
<!--{loop $activity $value}-->
<tr>
<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><th colspan="5"><p class="nodata">{lang data_nonexistence}</p></th></tr>
<!--{/if}-->
</table>
<!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}-->
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/my_activities.htm
|
HTML
|
asf20
| 2,695
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> $navigation</div>
<form method="post" action="forumdisplay.php?fid=$fid&action=pwverify">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<div id="wrap" class="wrap s_clear">
<div class="msgfix">
<div class="showmessage">
<h1>{lang forum_password_require}</h1>
<p style="text-align: center; margin: 3em 0;">
<input type="password" name="pw" size="25">
<button class="submit" type="submit" name="loginsubmit" value="true">{lang submit}</button>
</p>
</div>
</div>
</div>
</form>
{subtemplate footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/forumdisplay_passwd.htm
|
HTML
|
asf20
| 619
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » {lang trade_confirm_buy}</div>
<div id="wrap" class="wrap s_clear">
<div class="content">
<script type="text/javascript" src="include/js/viewthread.js?{VERHASH}"></script>
<script type="text/javascript">
zoomstatus = parseInt($zoomstatus);
var feevalue = 0;
var price = $trade[price];
</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></th>
<td>
<div style="float:left">
<a href="viewthread.php?do=tradeinfo&tid=$tid&pid=$pid">
<!--{if $trade['aid']}-->
<img src="attachment.php?aid=$trade[aid]&k={echo md5($trade[aid].md5($authkey).$timestamp);}&t=$timestamp&sid=$sid" onload="thumbImg(this, 1)" _width="80" _height="80" alt="$trade[subject]" /></a>
<!--{else}-->
<img src="{IMGDIR}/trade_nophotosmall.gif" alt="$trade[subject]" />
<!--{/if}-->
</a>
</div>
<div style="float:left;">
<p>{lang trade_price}: <strong>$trade[price]</strong> {lang payment_unit}</p>
<!--{if $trade[locus]}--><p>{lang post_trade_locus}: $trade[locus]</p><!--{/if}-->
<p>{lang trade_seller}: <a href="space.php?uid=$trade[sellerid]" target="_blank">$trade[seller]</a></p>
</div>
</td>
</tr>
<tr>
<th>{lang trade_credits_total}</th>
<td><strong id="caculate"></strong> {lang trade_units}</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>
<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>
<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> </th>
<td>
<button class="submit" type="submit" 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() {
$('caculate').innerHTML = (price * $('tradepost').number.value + feevalue);
}
calcsum();
</script>
</div>
</div>
{subtemplate footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/trade.htm
|
HTML
|
asf20
| 6,681
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » <a href="stats.php">{lang stats}</a> » {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>
<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>
<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>
<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>
</div>
<div class="notice">{lang stats_update}</div>
</div>
</div>
<div class="side">
{subtemplate stats_navbar}
</div>
</div>
{subtemplate footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/stats_trade.htm
|
HTML
|
asf20
| 2,580
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » {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" 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">{lang search}</button>
<!--{if $checkarray[posts]}-->
<a href="javascript:;" onclick="display('search_option')">{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]}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}</th>
<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>
<label><input type="checkbox" name="special[]" value="6" /> {lang special_video}</label>
</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="1296000">{lang 30_days_ago}</option>
<option value="5184000">{lang 90_days_ago}</option>
<option value="8640000">{lang 180_days_ago}</option>
<option value="31536000">{lang 356_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> </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=31104000&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/51shangcheng.cn/htdocs/templates/default/search.htm
|
HTML
|
asf20
| 9,105
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » {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> </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/51shangcheng.cn/htdocs/templates/default/memcp_validating.htm
|
HTML
|
asf20
| 2,184
|
{template header}
<div class="float" id="floatlayout_topicadmin">
<div class="floatboxnarrow">
<h3 class="float_ctrl">
<em id="return_modaction"><!--{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="floatwin('close_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_modaction', 'return_modaction', '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}
floatwinreset = 1;
floatwin('close_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}
floatwinreset = 1;
floatwin('close_mods');
}
</script>
<!--{elseif $action == 'merge'}-->
<table cellspacing="0" cellpadding="0">
<tr>
<td><label for="othertid">{lang admin_merge} →</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>
<!--{/if}-->
</div>
<div class="topicadminlog">
<h4>
<span class="hasdropdownbtn right"><a onclick="InFloat='floatlayout_mods';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>
</div>
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/topicadmin_action.htm
|
HTML
|
asf20
| 4,549
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » {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>
<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">
<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++;}
<option value="$id" outi="$i">$data[title]</option>
<!--{/loop}-->
</select>
<p class="cre_btn"><button class="submit" type="submit" name="exchangesubmit" id="exchangesubmit" value="true" onclick="floatwin('open_credit', '', 350, 155);ajaxpost('exchangeform', 'floatwin_credit', '');" 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">
<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" /> {$extcredits[$creditstrans][title]}
<p class="cre_btn"><button class="submit" type="submit" name="transfersubmit" id="transfersubmit" value="true" onclick="floatwin('open_credit', '', 350, 155);ajaxpost('transferform', 'floatwin_credit', '');" 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}-->
<tbody>
<form id="addfundsform" name="addfundsform" method="post" action="memcp.php?action=credits&infloat=yes">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="operation" value="addfunds" />
<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) * 10)) / 10 : 0;
}
</script>
<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" /> {$extcredits[$creditstrans][title]} <br />
<p class="cre_btn"><button class="submit" type="submit" name="addfundssubmit" id="addfundssubmit" onclick="floatwin('open_credit', '', 350, 155);ajaxpost('addfundsform', 'floatwin_credit', '');" value="true" tabindex="3">{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>
<!--{/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" />
<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=$discuz_user" size="50" />
<button type="submit" class="submit" onclick="setcopy('$boardurl?fromuser=$discuz_user', '{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/51shangcheng.cn/htdocs/templates/default/memcp_credits.htm
|
HTML
|
asf20
| 11,997
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<!--{if $action == 'rate'}-->
<div class="float" id="floatlayout_topicadmin">
<div class="floatboxnarrow">
<h3 class="float_ctrl">
<em id="return_rate">{lang rate}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_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">
<div class="rateopt">
<!--{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="InFloat='floatlayout_rate';showselect(this, 'score$id', 'scoreoption$id')">^</a>
<ul id="scoreoption$id" style="display:none">$options</ul>
</div>
<!--{/loop}-->
</div>
<div class="topicadminlog">
<h4>
<span class="hasdropdownbtn right"><a onclick="InFloat='floatlayout_rate';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>
</div>
<!--{elseif $action == 'removerate'}-->
<div class="float">
<div class="floatbox" style="height: 410px">
<h3 class="float_ctrl">
<em id="return_rate">{lang thread_removerate}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_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> </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>
{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>
<button class="submit" type="submit" value="true" name="ratesubmit">{lang submit}</button>
</div>
</form>
</div>
</div>
<!--{/if}-->
<script type="text/javascript" reload="1">
function submithandle_rate(locationhref) {
ajaxget('viewthread.php?tid=$tid&viewpid=$pid', 'post_$pid', 'post_$pid');
floatwinreset = 1;
floatwin('close_rate');
}
</script>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/rate.htm
|
HTML
|
asf20
| 4,750
|
<!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
{subtemplate css_script}
<script type="text/javascript">var STYLEID = '{STYLEID}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '$charset', discuz_uid = $discuz_uid, cookiedomain = '$cookiedomain', cookiepath = '$cookiepath', attackevasive = '$attackevasive', allowfloatwin = '$allowfloatwin', 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="include/js/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>
<a href="my.php?item=threads{if $forum}&srchfid=$forum[fid]{/if}">{lang my_posts}</a>
<!--{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 href="pm.php" id="pm_ntc"<!--{if $newpm && $_DCOOKIE['pmnum']}--> onmouseover="pmviewnew()" class="new" title="{lang pm_new}"<!--{/if}--> target="_blank">{lang pm}<!--{if $newpm && $_DCOOKIE['pmnum']}--><span>($_DCOOKIE[pmnum])</span><!--{/if}--></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="floatwin('open_login', this.href, 600, 400);return false;">{lang activation}</a>
<a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
<!--{else}-->
<a href="$regname" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder">$reglinkname</a>
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang login}</a>
<!--{/if}-->
</div>
<div id="ad_headerbanner"><!--{if $admode && empty($insenz['hardadstatus']) && !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>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/header.htm
|
HTML
|
asf20
| 7,271
|
/*
Editor Official Style for Discuz!(R)
URL: http://www.discuz.net
(C) 2001-2009 Comsenz Inc.
*/
.floatboxswf { margin-left:5px; }
.floatboxswf div { margin-left: 10px; width:570px; height: 318px; border: 1px solid #CCC; }
.float_postinfo { height: 22px; line-height: 22px; }
.float_postinfo em { float: left; margin-right: 5px; padding-left: 3px; height: 20px; border: 1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; background-color: {INPUTBG}; cursor: pointer; }
.float_postinfo em img { margin-top: 2px; }
.float_postinfo input { float: left; margin-right: 5px; }
.float_postinfo #subject { width: 255px; }
.specialpost { overflow: hidden; margin: 15px 0 5px; }
.specialinfo { float: left; overflow-x: hidden; overflow-y: auto; padding-right: 14px; width: 370px; height: 285px; border-right: 1px dashed #CCC; }
.specialpost p { padding: 2px 0; height: 30px; line-height: 30px; }
.specialinfo textarea { width: 360px; height: 80px; }
.optionnum, .optioninfo { float:left; width: 16px; margin-right: 6px; }
.optioninfo { width: 300px; }
.specialinfo dl, .specialaddons dl { margin: 5px 0; }
.specialinfo dl dt, .specialaddons dl dt { float: left; width: 62px; font-weight: 700; clear: left; }
.specialaddons dl dt{ font-weight: 400; }
.specialinfo dl dd, .specialaddons dl dd { margin: 5px 0 15px 65px; display: inherit; }
.specialinfo dl dd strong { padding: 0 8px; }
.specialaddons { float: left; margin-left: 10px; width: 170px; overflow: hidden; }
.spaoptlist p { height: 20px; line-height: 20px; }
.spaoptlist input[type=radio] { margin: 0 3px 0 0; }
.spslonginput { width: 280px; }
.splonginput { width: 150px; }
.spmediuminput { width: 90px; }
.specialaddons select.spmediuminput { width: 96px; }
.spshortinput{ width: 30px; }
/* poll */
.sppoll { height: 247px; overflow: auto; }
.sppoll p{ clear: both; *padding: 1px 0 2px; height: auto; line-height: auto !important; }
/* trade */
.goodsimg { margin: 0 10px 0 0; width: 120px; height: 120px; border: 1px solid #AAA; }
/* classifieds */
.classifieds { margin: 10px 0; height: 275px; overflow-x: hidden; overflow-y: auto; }
.classifieds .formtable th { vertical-align: top; width: 70px; }
.classifieds .txt { width: 600px; }
.classifieds .txtarea { width: 600px; height: 58px; }
.classifieds .inlinelist { float: left; width: 610px; }
.classifieds .inlinelist li { float: left; margin-bottom: 5px; width: 33%; }
.classifieds_narrow { margin: 0; height: auto; }
.classifieds_narrow .formtable th { width: 60px; }
.classifieds_narrow .txt, .classifieds_narrow .txtarea { width: 150px; }
.classifieds_narrow .inlinelist { width: 160px; }
.classifieds_narrow .inlinelist li { float: left; width: 50%; }
.post_tablelist {}
.post_tablelist table { *table-layout: fixed; }
.post_tablelist table td { height: 28px; line-height: 28px; border-bottom: 1px solid #CCC; }
.attachnum { width: 16px; }
.attachctrl { width: 40px; }
.attachname {}
.attachname input { margin-top: 2px; }
* html .attachname p { margin-top: 6px; }
* html .attachname p input { margin-top: -4px; }
.attachname .txt, .attachname_swf .txt { width: 300px; }
.attachname p img, .attachname_swf p img { vertical-align: middle; height: 16px; }
.attachview, .attachpr { width: 60px; text-align: center; }
.attachview .txt, .attachpr .txt { width: 40px; }
.attachdel { width: 40px; }
.upfilelist { height: 140px; overflow: auto; overflow-x: hidden; }
.sim_upfile{ overflow: hidden; margin-left: 10px; *margin-left: 15px; }
.sim_upfile input { position: absolute; margin-left: -19px; *margin: 3px 0 0 -24px; width: 70px; height: 20px; filter: alpha(opacity=0); opacity: 0; cursor: pointer; }
.sim_upfile .sitenote { z-index: 15; bottom: 29px !important; bottom: 21px; left: 1px; }
.sim_upfile .sitenote .minicorner { background-position: 70px 0; }
.extcreditbox { height: 350px; width: 100%; overflow: auto; }
.extname { width: 100px; }
.extcredits { width: 80px; }
.columntype { margin-top: 15px; }
.posttags strong, .columntype strong { font-weight: 700; }
.posttags p, .columntype p { margin-bottom: 5px; }
.posttags .txt { margin-right: 8px; width: 280px; }
.columntype .txt { vertical-align: baseline; width: 40px; }
.columntype table { margin: 5px 0 0 -12px; width: 85%; }
.columntype td { padding: 0 10px; vertical-align: top; border-left: 1px dashed #CCC; }
.firstlist { border: none !important; }
/*PostForm & Editor*/
.editor_cell { vertical-align: top; }
#editor { border: solid; border-color: {SPECIALBORDER}; border-width: 1px 1px 0; background: {COMMONBG}; }
#editor td { border: none; padding: 2px; }
.editortoolbar table { width: auto; }
.editortoolbar a, .editortoolbar .a { display: block; cursor: pointer; }
.editortoolbar a.hover, .editortoolbar a:hover, .editortoolbar .a1 { background-color: {ALTBG2}; text-decoration: none; }
.editor_switcher_bar { position: relative; }
.editor_switcher_bar a { float: right; padding: 0 3px; margin-right: 5px; }
.editor_switcher_bar button { border: 1px solid; border-color: {SPECIALBORDER} {SPECIALBORDER} {WRAPBG} {SPECIALBORDER}; font-weight: bold; height: 30px; he\ight: 28px; line-height: 28px; background: {WRAPBG}; margin: 0 2px; position: relative; cursor: pointer; }
*+html .editor_switcher_bar button { top: 1px; }
* html .editor_switcher_bar button { top: 1px; }
.editor_switcher_bar .editor_switcher { border-bottom-color: {SPECIALBORDER}; font-weight: normal; }
.editor_text { border: 1px solid; border-color: {SPECIALBORDER} {SPECIALBORDER} {SPECIALBORDER} {SPECIALBORDER}; }
.editor_text textarea { border: none; width: 99%; font: {MSGFONTSIZE}/1.6em {FONT}; }
.editor_button { background: {COMMONBG}; border: solid {SPECIALBORDER}; border-width: 0 1px 0; margin-bottom: {BOXSPACE}; }
.editor_button button { background: transparent; border-width: 0 0 0 1px; color: {HIGHLIGHTLINK}; }
.editor_attach { border: 1px solid {SPECIALBORDER}; }
#wysiwyg { background: {INPUTBG} !important; font: {MSGFONTSIZE}/1.6em {FONT} !important; }
#wysiwyg * { line-height: normal; }
#wysiwyg a { text-decoration:underline; color: {HIGHLIGHTLINK} !important; color: {HIGHLIGHTLINK}; }
#wysiwyg li { margin-left: 2em; }
#wysiwyg ul li { list-style-type: disc; }
#wysiwyg ul.litype_1 li { list-style-type: decimal; }
#wysiwyg ul.litype_2 li { list-style-type: lower-alpha; }
#wysiwyg ul.litype_3 li { list-style-type: upper-alpha; }
#wysiwyg strong, #wysiwyg b { font-weight: bold; }
#wysiwyg em, #wysiwyg i { font-style: italic; }
#wysiwyg p { margin: 0 !important; }
#wysiwyg table td { padding: 4px; border: 1px solid {BORDERCOLOR}; }
.fontname_menu { width: 97px; }
.fontsize_menu { width: 27px; line-height: normal; }
.fontsize_menu ul li{ line-height: normal; }
#e_popup_table_menu { width: 220px; }
.fontname_menu li, .fontsize_menu li { cursor: pointer; }
.editor_colornormal, .editor_colorhover { border: none !important; padding: 2px !important; }
.editor_colornormal div { width: 10px; height: 10px; overflow: hidden; cursor: pointer; border: 1px solid {WRAPBG}; }
.editor_colorhover div { width: 10px; height: 10px; overflow: hidden; cursor: pointer; border: 1px solid {TABLETEXT}; }
.swfwin { border: 3px solid #7FCAE2; }
#e_iframe { width: 100%; border: none; margin: 0; padding: 0; }
#e_textarea { width: 100%; padding: 0; }
.editorrow { margin-top:5px; padding: 3px; height:21px; overflow: hidden; line-height:18px; border:1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; clear:both; background: {COMMONBG}; }
.editor { text-align: left; }
.editorbtn { margin-right: 50px; }
.editor em { margin: 0 5px; float: left; display: block; height: 20px; width: 3px; background:url(../../images/common/editor.gif) no-repeat 0 -701px; border: 1px solid {COMMONBG}; }
.editor a { margin: 1px 0; float: left; text-align: left; text-decoration: none; display: block; height: 21px; width: 20px; background:url(../../images/common/editor.gif) no-repeat 0 30px; text-indent: -9999px; overflow: hidden; border: 1px solid {COMMONBG}; }
a.oneditor, .editor a:hover { background: {DROPMENUBGCOLOR} url(../../images/common/editor.gif) no-repeat 0 21px; border: 1px solid {DROPMENUBORDER}; }
#e_cmd_bold { background-position: 0 0; }
#e_popup_simple { background: url({IMGDIR}/newarow.gif) -7px -2px; width: 8px; }
#e_popup_fontname { background-position: 0 -21px;}
#e_popup_fontsize { background-position: 0 -41px;}
#e_popup_forecolor { background-position: 0 -81px;}
#e_popup_justify { background-position: 0 -61px;}
#e_cmd_createlink { background-position: 0 -121px;}
#e_cmd_email { background-position: 0 -141px;}
#e_cmd_insertimage { background-position: 0 -161px;}
#e_popup_media { background-position: 0 -541px;}
#e_cmd_quote { background-position: 0 -441px;}
#e_cmd_code { background-position: 0 -461px;}
#e_popup_list { background-position: 0 -261px;}
#e_popup_dent { background-position: 0 -301px;}
#e_popup_float { background-position: 0 -341px;}
#e_cmd_table { background-position: 0 -381px;}
#e_cmd_free { background-position: 0 -401px;}
#e_cmd_hide { background-position: 0 -421px;}
#e_popup_smilies { background-position: 0 -101px;}
#e_popup_tools { background-position: 0 -181px;}
a.editormode { float: right; right: 20px; width: 50px; background: {COMMONBG}; text-align: right; text-decoration: none !important; }
*html a.editormode {right: 50px; }
a.plugeditor { text-indent: 0; background-position: 0 40px; }
a.editormode:hover { background: {DROPMENUBGCOLOR}; border-color: {DROPMENUBORDER}; }
a.upmedia { width: 68px; }
#e_cmd_bold { font-weight: 700; text-decoration: none; }
#e_cmd_italic { font-style: italic; text-decoration: none; }
#e_cmd_underline { text-decoration: underline; }
.newediter { border-style: solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; border-width: 0px 1px 1px; padding: 0px 0px 0px 4px; background: {INPUTBG}; }
.newediter .autosave{ padding: 0 2px; width: 562px; height: 87px; border-width: 1px; border: none; background: {INPUTBG}; }
.newediter .max { height: 257px; }
a.customedit { text-indent: 0 !important; }
.popupfix { min-width: 330px; white-space: nowrap; }
*+html .popupfix { min-width: 280px; }
#e_cmd_table_menu { width: 220px !important; min-width: 220px !important; }
#e_cmd_insertimage_menu { *width: 380px; }
#e_cmd_insertimage_menu li { clear: none; }
#uch_photoes { margin: 5px;}
#uch_photoes table { border-collapse: separate; }
#uch_photoes table td { padding: 2px; width: 82px; height: 82px; border: 1px solid {CONTENTSEPARATE}; vertical-align: middle; text-align: center; }
#uch_photoes table td img { padding: 3px; max-width: 80px; max-height: 80px; }
* html #uch_photoes table td img { width: expression(this.width > 80 && this.height < this.width ? 80 : true); height: expression(this.height > 80 ? 80 : true); }
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/css_editor.htm
|
HTML
|
asf20
| 11,071
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float">
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<em id="return_$handlekey">{lang debate_umpirecomment}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_$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" onsubmit="ajaxpost('postform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;">
<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> </th>
<td><button type="submit" name="umpiresubmit" value="true" class="submit">{lang submit}</button></td>
</tr>
</table>
</form>
</div>
</div>
<!--{if !empty($infloat)}-->
<script type="text/javascript" reload="1">
function submithandle_$handlekey(locationhref) {
ajaxget('viewthread.php?tid=$tid&viewpid=$pid', 'post_$pid');
floatwinreset = 1;
floatwin('close_$handlekey');
}
</script>
<!--{/if}-->
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/debate_umpire.htm
|
HTML
|
asf20
| 3,060
|
<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="include/js/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"> </td>
<td class="icon"> </td>
<td > </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}" />
<!--{elseif $thread['special'] == 6}-->
<img src="{IMGDIR}/videosmall.gif" alt="{lang thread_video}" />
<!--{else}-->
$thread['icon']
<!--{/if}-->
</td>
<td><input onclick="modclick(this)" class="checkbox" type="checkbox" name="moderate[]" value="$thread[tid]" /></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}-->
</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]&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>
<!--{else}-->
<p>{lang modcp_forum_select_msg}</p>
<!--{/if}-->
<br />
<br />
<br />
<br />
<br />
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/modcp_threads.htm
|
HTML
|
asf20
| 9,049
|
<!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="include/js/common.js?{VERHASH}"></script>
<script type="text/javascript" src="include/js/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/51shangcheng.cn/htdocs/templates/default/frame.htm
|
HTML
|
asf20
| 2,709
|
<!--{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="floatwin('open_debate', 'misc.php?action=debateumpire&tid=$tid&pid=$post[pid]', 600, 410)">{lang debate_umpire_end}</button></p>
<!--{elseif $timestamp - $debate['dbendtime'] < 3600}-->
<p><button type="button" onclick="floatwin('open_debate', 'misc.php?action=debateumpire&tid=$tid&pid=$post[pid]', 600, 410)">{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/51shangcheng.cn/htdocs/templates/default/viewthread_debate_umpire.htm
|
HTML
|
asf20
| 1,717
|
<!--{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>
<th> </th>
<td class="forum">{lang my_reward_forum}</td>
<td class="forum"><!--{if $type == 'question'}-->{lang my_reward_answerer}<!--{elseif $type == 'answer'}-->{lang my_reward_questioner}<!--{/if}--></td>
<td class="forum">{lang my_reward_allprice}</td>
<!--{if $type == 'question'}-->
<td class="forum">{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>
<th><a href="viewthread.php?tid=$rewardlog[tid]">$rewardlog[subject]</a></th>
<td class="forum"><a href="forumdisplay.php?fid=$rewardlog[fid]">$rewardlog[name]</a></td>
<td class="forum"><!--{if $rewardlog[uid]}--><a href="space.php?uid=$rewardlog[uid]">$rewardlog[username]</a><!--{else}--> <!--{/if}--></td>
<td class="forum">{$extcredits[$creditstransextra[2]][title]} $rewardlog[price]<!--{if $extcredits[$creditstransextra[2]]['unit'] != ''}--> $extcredits[$creditstransextra[2]][unit]<!--{/if}--></td>
<td class="forum">{$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>
<th><a href="viewthread.php?tid=$rewardlog[tid]">$rewardlog[subject]</a></th>
<td class="forum"><a href="forumdisplay.php?fid=$rewardlog[fid]">$rewardlog[name]</a></td>
<td class="forum"><!--{if $rewardlog[uid]}--><a href="space.php?uid=$rewardlog[uid]">$rewardlog[username]</a><!--{else}--> <!--{/if}--></td>
<td class="forum">{$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'}-->7<!--{elseif $type == 'answer'}-->6<!--{elseif $type == 'stats'}-->2<!--{/if}-->"><p class="nodata">{lang data_nonexistence}</p></th></tr>
<!--{/if}-->
</tbody>
<!--{else}-->
<tr><th colspan="<!--{if $type == 'question'}-->7<!--{elseif $type == 'answer'}-->6<!--{elseif $type == 'stats'}-->2<!--{/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/51shangcheng.cn/htdocs/templates/default/my_rewards.htm
|
HTML
|
asf20
| 5,734
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » <!--{if empty($action)}-->{lang medals_list}<!--{elseif $action == 'log'}-->{lang medals_log}<!--{/if}--></div>
<div id="wrap" class="wrap with_side s_clear">
<div class="main">
<div class="content">
<!--{if empty($action)}-->
<h1>{lang medals_list}</h1>
<form method="post" action="medal.php?action=apply&medalsubmit=yes">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="medalid" value="" />
<!--{if $medallogs}-->
<div class="datalist">
<div id="list_medal_log_c" class="c_header">
<h3 onclick="toggle_collapse('list_medal_log', 1, 1);">{lang medals_oneself}</h3>
<div class="c_header_action">
<p class="c_header_ctrlbtn" onclick="toggle_collapse('list_medal_log', 1, 1);">[ {lang open} ]</p>
</div>
</div>
<div id="list_medal_log">
<p class="medalp">{lang medals_oneself_num} <a href="medal.php?action=log" class="lightlink">{lang medals_loglist}</a></p>
<ul class="inlinelist medallist s_clear">
<!--{eval $i=1;}-->
<!--{loop $medallogs $medallog}-->
<!--{if $i%4==1}--><li class="clear"></li><!--{/if}--><li>
<!--{eval $i++;}-->
<div class="medalimg"><img src="images/common/$medallog[image]" alt="$medallog[name]" /></div>
<h4 class="medalinfo">$medallog[name]</h4>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<div class="datalist">
<div id="list_medal_c" class="c_header">
<h3 onclick="toggle_collapse('list_medal', 1, 1);">{lang medals_all}</h3>
<div class="c_header_action">
<div class="c_header_ext">({lang total} {echo count($medallist);} )</div>
<p class="c_header_ctrlbtn" onclick="toggle_collapse('list_medal', 1, 1);">[ {lang open} ]</p>
</div>
</div>
<table id="list_medal" cellspacing="0" cellpadding="0" class="datatable">
<!--{if $medallist}-->
<!--{loop $medallist $key $medal}-->
<tr>
<td width="5%"><img src="images/common/$medal[image]" alt="$medal[name]" /></td>
<td width="50%">
<h4>$medal[name]<!--{if $medal[expiration]}--><span class="medalexp">({lang expire} $medal[expiration] {lang days})</span><!--{/if}--></h4>
<p>$medal[description]</p>
</td>
<td>
<!--{if $medal[permission]}-->
<p>{lang medals_draw_condition}</p>
<p class="emfont">$medal[permission]</p>
<!--{/if}-->
</td>
<td width="8%"><!--{if $medal[type]}--><button class="submit" onclick="this.form.medalid.value = '$medal[medalid]';this.form.submit();return false;">{lang medals_draw}</button><!--{/if}--></td>
</tr>
<!--{/loop}-->
<!--{else}-->
<tr>
<td><p class="nodata">{lang medals_nonexistence}</p></td>
</tr>
<!--{/if}-->
</table>
</div>
</form>
<!--{elseif $action == 'log'}-->
<div class="itemtitle s_clear">
<h1>{lang medals_log}</h1>
<button onclick="window.location='medal.php'" class="submit right">{lang return}</button>
</div>
<!--{if $medallogs}-->
<div class="datalist">
<ul id="list_medal_log" class="inlinelist medallist s_clear">
<!--{eval $i=1;}-->
<!--{loop $medallogs $medallog}-->
<!--{if $i%4==1}--><li class="clear"></li><!--{/if}--><li>
<!--{eval $i++;}-->
<div class="medalimg"><img src="images/common/$medallog[image]" alt="$medallog[name]" /></div>
<div class="medalinfo">
<h4>$medallog[name]</h4>
<!--{if $medallog['type'] == 2}-->
<p>{lang medals_draw_dateline}:<br />$medallog[dateline]</p>
<p>{lang medals_operation_2}</p>
<!--{else}-->
<p>{lang medals_get_dateline}:<br />$medallog[dateline]</p>
<p>
<!--{if $medallog['type'] != 2 && $medallog['type'] != 3}-->
<!--{if $medallog[expiration]}-->{lang expire}:<br />$medallog[expiration]<!--{else}-->{lang medals_noexpire}<!--{/if}-->
<!--{/if}-->
</p>
<!--{/if}-->
</div>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
$multipage
<!--{/if}-->
</div>
</div>
<div class="side">
{template personal_navbar}
</div>
</div>
{subtemplate footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/medal.htm
|
HTML
|
asf20
| 4,515
|
<div id="post_$post[pid]">
<table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
<tr>
<td class="postauthor">
<!--{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="floatwin('open_sendpm', this.href, 600, 410);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(event, this.id, 3000, 0)">{lang add_to_buddylist}</a></li>
</ul>
</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&Uin=$post[qq]&Site=$bbname&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>
</div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<!--{/if}-->
$post[newpostanchor] $post[lastpostanchor]
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
<div id="userinfo$post[pid]_a">
<!--{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>$post[authortitle]</em></p>
</div>
<p>{eval showstars($post['stars']);}</p>
<!--{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}-->
<!--{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>
<!--{if $forum['ismoderator'] && $allowviewip && ($thread['digest'] >= 0 || !$post['first'])}-->
<a href="javascript:;" onclick="ajaxget('topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]', 'ajax_getip_$post[count]');doane(event)" title="{lang admin_getip}" class="lightlink">IP</a>
<!--{/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_member}</a>
<!--{/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>
{else}<a href="modcp.php?action=members&op=ban&uid=$post[authorid]" target="_blank" class="lightlink">{lang ban_member}</a>
{/if}
<!--{/if}-->
</p>
<p id="ajax_getip_$post[count]"></p>
<!--{/if}-->
</td>
<td class="postcontent">
<div class="postinfo">
<strong><a title="{lang emailfriend_url_copy}" id="postnum$post[pid]" href="javascript:;" onclick="setcopy('{$boardurl}viewthread.php?tid=$tid&page=$page$fromuid#pid$post[pid]', '{lang post_copied}')"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a></strong>
<div class="posterinfo">
<div class="pagecontrol">
<!--{if $post['first']}-->
<a href="viewthread.php?action=printable&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(event, this.id)">{lang debate_support}</a>$post[voters]</span>
<!--{/if}-->
</span>
<!--{/if}-->
</div>
<div class="authorinfo">
<!--{if $_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}--><em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
<!--{if !$authorid}-->
| <a href="viewthread.php?tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
<!--{else}-->
| <a href="viewthread.php?tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
<!--{/if}-->
<!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
{lang anonymous} <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
<!--{elseif !$post['authorid'] && !$post['username']}-->
{lang guest} <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
<!--{/if}-->
</div>
</div>
</div>
<div class="defaultpost">
<!--{if $admode && empty($insenz['hardadstatus']) && !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($insenz['hardadstatus']) && !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&tid=$tid&uid=$post[authorid]" title="{lang warn_get}" onclick="floatwin('open_viewwarning', this.href, 600, 410);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>
<!--{if $thread['special'] == 2 && !$post[message] && $post['authorid'] == $discuz_uid}-->
<p>
<a href="post.php?action=edit&fid=$fid&tid=$tid&pid=$post[pid]" onclick="floatwin('open_edit', this.href, 600, 410, '600,0');return false;">{lang post_add_aboutcounter}</a>
</p>
<!--{/if}-->
<!--{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 $post['first'] && $threadpay}-->
{subtemplate viewthread_pay}
<!--{else}-->
<!--{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="floatwin('open_pay', this.href, 600, 410);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]<!--{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 $thread[special] == 6}-->
{template viewthread_video}
<!--{/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>{lang attach_nopermission}</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&sort=rdate&ics=$charset&domain=$site&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])}&md5={echo md5($threads[tid])}&statsdata=$fid||$tid" target="_blank">$threads[title]</a>
[ <a href="post.php?action=newthread&fid=$fid&extra=$extra&url={echo urlencode($threads[tid])}&md5={echo md5($threads[tid])}&from=direct" style="color: #090" target="_blank">{lang reprint}</a> ]
<!--{else}-->
<a href="viewthread.php?tid=$threads[tid]&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>
<!--{if !empty($post['ratelog'])}-->
<dl class="newrate">
<dt>
<!--{if !empty($postlist[$post[pid]]['totalrate'])}-->
<strong><a href="misc.php?action=viewratings&tid=$tid&pid=$post[pid]" onclick="floatwin('open_viewratings', this.href, 600, 410);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>
<!--{loop $post['ratelog'] $uid $ratelog}-->
<li>
<div id="rate_{$post[pid]}_{$uid}_menu" class="attach_popup" style="display: none;">
<p class="cornerlayger">$ratelog[reason]
<!--{loop $ratelog['score'] $id $score}-->
<!--{if $score > 0}-->
<em>{$extcredits[$id][title]} + $score $extcredits[$id][unit]</em>
<!--{else}-->
{$extcredits[$id][title]} $score $extcredits[$id][unit]
<!--{/if}-->
<!--{/loop}-->
</p>
<p class="minicorner"></p>
</div>
<p id="rate_{$post[pid]}_{$uid}" onmouseover="showMenu(this.id,false,2)" 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}-->
</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&tid=$tid" title="{lang thread_mod}" onclick="floatwin('open_viewthreadmod', this.href, 600, 410);return false;">{lang thread_mod_by}</a></div><!--{/if}-->
<!--{if $lastmod['magicname']}--><div class="modact"><a href="misc.php?action=viewthreadmod&tid=$tid" title="{lang thread_mod}" onclick="floatwin('open_viewthreadmod', this.href, 600, 410);return false;">{lang magics_logs}</a></div><!--{/if}-->
<div class="useraction">
<a id="ajax_favorite" {if $discuz_uid}href="my.php?item=favorites&tid=$tid" onclick="ajaxmenu(event, this.id, 3000, 0)"{else}href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;"{/if}>{lang thread_favorite}</a>
<a id="emailfriend" href="misc.php?action=emailfriend&tid=$tid" onclick="floatwin('open_emailfriend', this.href, 250, {if $discuz_uid}380{else}200{/if});return false;">{lang thread_email_friend}</a>
<a id="ratelink" {if $discuz_uid}href="misc.php?action=rate&tid=$tid&pid=$post[pid]" onclick="floatwin('open_rate', this.href, 250, 270);return false;"{else}href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;"{/if}>{lang rate}</a>
</div>
<!--{/if}-->
</div>
</div>
<!--{if $post['signature'] && ($bannedmessages & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
<div class="signatures">
<table cellspacing="0" cellpadding="0">
<tr>
<td>{lang member_signature_banned}</td>
</tr>
</table>
</div>
<!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
<div class="signatures" style="maxHeightIE: {$maxsigrows}px;">
<table cellspacing="0" cellpadding="0">
<tr>
<td>
$post[signature]
</td>
</tr>
</table>
</div>
<!--{/if}-->
<!--{if $admode && empty($insenz['hardadstatus']) && !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>
<a class="fastreply" href="post.php?action=reply&fid=$fid&tid=$tid&reppost=$post[pid]&extra=$extra&page=$page" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">{lang reply}</a>
<a class="repquote" href="post.php?action=reply&fid=$fid&tid=$tid&repquote=$post[pid]&extra=$extra&page=$page" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">{lang reply_quote}</a>
<!--{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&fid=$fid&tid=$tid&pid=$post[pid]"{if !$post['first'] || !$threadsort && !$thread['special']} onclick="floatwin('open_edit', this.href, 600, 410, '600,0');return false;"{/if}>{lang edit}</a>
<!--{/if}-->
</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 $post['first']}-->
<a href="my.php?item=subscriptions&subadd=$tid" id="ajax_subscription" onclick="ajaxmenu(event, this.id, 3000, null, 0)">{lang thread_subscribe}</a>
<!--{elseif $raterange && $post['authorid']}-->
<a href="misc.php?action=rate&tid=$tid&pid=$post[pid]" onclick="floatwin('open_rate', this.href, 250, 270);return false;">{lang rate}</a>
<!--{/if}-->
<!--{if $post['rate'] && $forum['ismoderator']}-->
<a href="misc.php?action=removerate&tid=$tid&pid=$post[pid]&page=$page" onclick="floatwin('open_rate', this.href, 600, 410);return false;">{lang removerate}</a>
<!--{/if}-->
<!--{if !$forum['ismoderator'] && $discuz_uid && $reportpost && $discuz_uid != $post['authorid']}-->
<a href="misc.php?action=report&fid=$fid&tid=$tid&pid=$post[pid]" onclick="floatwin('open_report', this.href, 250, 215);doane(event);">{lang reportpost}</a>
<!--{/if}-->
<!--{if $discuz_uid && $magicstatus}-->
<a href="magic.php?action=usemagic&type=1&pid=$post[pid]" onclick="floatwin('open_magics', this.href, 250, 215);doane(event);">{lang magics_title}</a>
<!--{/if}-->
<a href="javascript:;" onclick="scrollTo(0,0);">TOP</a>
</p>
</div>
</div>
</td>
</tr>
<tr class="threadad">
<td class="postauthor"></td>
<td class="adcontent">
<!--{if $post['first'] && $thread['replies']}--><!--{if $admode && empty($insenz['hardadstatus']) && !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}-->
</div>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/viewthread_node.htm
|
HTML
|
asf20
| 26,295
|
<?php
// Email Pack for Discuz! Version 3.1.0
// Translated by Crossday
// ATTENTION: Please add slashes(\) before single & double quotes( ' & " )
$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' => '',
'feed_thread_video_title' => '{actor} 在 {app} 上传了一个新视频',
'feed_thread_video_message' => '{subject}<br />时长 {vlength}<br />{message}<br />{play}',
);
?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/feed.lang.php
|
PHP
|
asf20
| 2,028
|
{template header}
<div id="nav"><a href="$indexname">$bbname</a> » {lang pm}</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="floatwin('open_sendpm', this.href, 600, 410);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 == 'systempm'}class="current"{/if}><a href="pm.php?filter=systempm" hidefocus="true"><span>{lang pm_system}<!--{if $systemnewpm}-->($systemnewpm)<!--{/if}--></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>
<span class="time right"><!--{if $range[$pm[daterange]]}-->$range[$pm[daterange]] $pm[time]<!--{else}-->$pm[date] $pm[time]<!--{/if}--></span>
<cite <!--{if $pm[new] && $filter != 'announcepm'}-->class="new"<!--{/if}-->>
<!--{if $pm[msgfrom]}--><a{if $pm[msgfromurl]} href="$pm[msgfromurl]"{/if} target="_blank">$pm[msgfrom]</a><!--{/if}-->
<!--{if $filter != 'privatepm'}-->$pm[subject]<!--{/if}-->
</cite>
</p>
<div class="summary">
{eval $pm['message'] = $pm['message'] ? $pm['message'] : '{lang pm_nomsg}';}
<!--{if $filter != 'announcepm'}-->
<!--{if $pm[touid]}-->
<a href="pm.php?uid=$pm[touid]&filter=$filter{if !empty($search)}#pm_$pm[pmid]{else}&daterange=$pm[daterange]#new{/if}">$pm[message]</a></div>
<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">{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">{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 = 1;$('pmform').submit()" class="lightlink">{lang mark_read}</a>
<span class="pipe">|</span><a href="javascript:;" onclick="doane(event);$('pmform').readopt.value = 2;$('pmform').submit()" class="lightlink">{lang mark_unread}</a>
<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\\\'\');';
dconfirm('{lang pm_delete_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>
<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}--> {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 = '';
creditnoticewin();
}
</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="" />
<input name="black" type="radio" value="0" onclick="this.form.action.value = 'delblack'"{if !$blackall} checked="checked"{/if} /> {lang pm_all_blacklist_receive}
<input name="black" type="radio" value="1" onclick="this.form.action.value = 'addblack'"{if $blackall} checked="checked"{/if} /> {lang pm_all_blacklist_black}
<input type="submit" name="submit" value="{lang submit}" />
</form>
<br />
<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>
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/pm.htm
|
HTML
|
asf20
| 11,085
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float">
<div class="floatbox" style="height: 410px">
<h3 class="float_ctrl">
<em id="return_$handlekey"><!--{if $thread['authorid'] == $discuz_uid}-->{lang activity_applylist_manage}<!--{else}-->{lang activity_applylist}<!--{/if}--></em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_$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" onsubmit="ajaxpost('applylistform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="operation" value="" />
<!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}-->
<div class="floatwrap">
<!--{if !empty($uid) && $thread['authorid'] == $discuz_uid}-->
{eval $apply = $applylist[0];}
<input type="hidden" name="applyidarray[]" value="$apply[applyid]" />
<table class="list" cellspacing="0" cellpadding="0">
<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">
<th> </th>
<!--{if $operation == 'delete'}-->
<td><button type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='delete';">{lang delete}</button></td>
<!--{else}-->
<td><button class="submit" type="submit" value="true" name="applylistsubmit">{lang confirm}</button></td>
<!--{/if}-->
</tr>
</table>
</div>
<!--{else}-->
<table class="list" cellspacing="0" cellpadding="5">
<thead>
<tr>
<!--{if $thread['authorid'] == $discuz_uid}--><td> </td><!--{/if}-->
<td>{lang activity_join_members}</td>
<!--{if $thread['authorid'] == $discuz_uid}--><td>{lang activity_linkman}</td><!--{/if}-->
<td>{lang leaveword}</td>
<td>{lang activity_payment}</td>
<td>{lang activity_jointime}</td>
<!--{if $thread['authorid'] == $discuz_uid}--><td>{lang status}</td><!--{/if}-->
</tr>
</thead>
<!--{loop $applylist $apply}-->
<tr>
<!--{if $thread['authorid'] == $discuz_uid}-->
<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 $thread['authorid'] == $discuz_uid}-->
<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 $thread['authorid'] == $discuz_uid}-->
<td><!--{if $apply[verified]}-->{lang activity_allow_join}<!--{else}-->{lang activity_cant_audit}<!--{/if}--></td>
<!--{/if}-->
</tr>
<!--{/loop}-->
</table>
</div>
<!--{if $thread['authorid'] == $discuz_uid}-->
<div class="postbox">
<label><input class="checkbox header" type="checkbox" name="chkall" onclick="checkall(this.form, 'applyid')" /> {lang checkall}</label>
<button type="submit" value="true" name="applylistsubmit" onclick="$('applylistform').operation.value='delete';">{lang delete}</button>
<button class="submit" type="submit" value="true" name="applylistsubmit">{lang confirm}</button>
</div>
<!--{/if}-->
<!--{/if}-->
</form>
</div>
</div>
<!--{if !empty($infloat)}-->
<script type="text/javascript" reload="1">
function submithandle_$handlekey(locationhref) {
ajaxget('viewthread.php?tid=$tid&viewpid=$pid', 'post_$pid');
floatwinreset = 1;
floatwin('close_$handlekey');
}
</script>
<!--{/if}-->
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/activity_applylist.htm
|
HTML
|
asf20
| 4,696
|
<!--{if $fid && $forum['ismoderator']}-->
<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}-->
<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="include/js/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" />
<table cellspacing="0" cellpadding="0" class="datatable">
<thead class="colplural">
<tr>
<td width="8%"></td>
<th width="8%">{lang displayorder}</th>
<th width="36%">{lang subject}</th>
<th width="15%">{lang author}</th>
<th width="15%">{lang moderator}</th>
<td width="18%">{lang mod_forum_recommend_expiration}</td>
</tr>
</thead>
<!--{loop $threadlist $thread}-->
<tr class="{echo swapclass('colplural')}">
<td><input type="checkbox" name="delete[]" value="$thread[tid]" class="checkbox" /></td>
<td><input type="text" size="3" name="ordernew[{$thread[tid]}]" value="$thread[displayorder]" class="txt" /></td>
<td><a href="viewthread.php?tid=$thread[tid]" target="_blank">$thread[subject]</a></td>
<td>$thread[author]</td>
<td>$thread[moderator]</td>
<td>$thread[expiration]</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}-->
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/modcp_forums.htm
|
HTML
|
asf20
| 6,251
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float">
<div class="floatbox">
<h3 class="float_ctrl">
<em id="return_$handlekey">{lang thread_moderations}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_$handlekey')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<div style="height: 350px; overflow: auto; overflow-x: hidden;">
<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>
</div>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/viewthread_mod.htm
|
HTML
|
asf20
| 1,590
|
<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" />
</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>
<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>
<input type="checkbox" value="-1" name="new_post" id="new_post" class="checkbox" /> <label for="new_post">{lang mod_access_ban_postthread}</label>
<input type="checkbox" value="-1" name="new_reply" id="new_reply" class="checkbox" /> <label for="new_reply">{lang mod_access_ban_postreply}</label>
<input type="checkbox" value="-1" name="new_postattach" id="new_postattach" class="checkbox" /> <label for="new_postattach">{lang mod_access_ban_upload}</label>
<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" />
<select name="fid">
<option>{lang all}{lang forum}</option>
$forumlistall
</select>
<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/51shangcheng.cn/htdocs/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' => '**** 该帖被屏蔽 ****',
'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_costprice' => '商品原价',
'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' => '可输入发货公司、发货单号等信息',
'credit_payment' => '积分充值',
'credit_forum_payment' => '论坛积分充值',
'credit_forum_royalty' => '交易手续费',
'formulaperm_digestposts' => '精华帖数',
'formulaperm_posts' => '发帖数',
'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' => '登录',
'pm_from' => '发件人',
'pm_to' => '收件人',
'pm_date' => '日期',
'emailfriend_message' => '你好!我在 $bbname 看到了这篇帖子,认为很有价值,特推荐给你。\\n\\n$thread[subject]\\n地址 $threadurl\\n\\n希望你能喜欢。',
'week_0' => '星期日',
'week_1' => '星期一',
'week_2' => '星期二',
'week_3' => '星期三',
'week_4' => '星期四',
'week_5' => '星期五',
'week_6' => '星期六',
);
?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/misc.lang.php
|
PHP
|
asf20
| 5,874
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float" id="floatlayout_topicadmin" style="height: 380px;">
<div class="floatboxnarrow">
<h3 class="float_ctrl">
<em id="return_$handlekey">{lang emailfriend}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_$handlekey')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<div class="postbox">
<table cellspacing="0" cellpadding="2">
<tr>
<td><h5>{lang emailfriend_im}</h5></td>
</tr>
<tr>
<td>
<!--{if !$discuz_uid}-->
<textarea class="txtarea" name="message" onclick="this.select();setcopy(this.value, '{lang post_copylink}');" style="margin-bottom: 5px; width: 202px; height: 70px;">{lang emailfriend_msg}</textarea>
<br />
<!--{/if}-->
<input onclick="setcopy('{lang emailfriend_msg}', '{lang post_copylink}')" type="button" value="{lang emailfriend_url_copy}" />
</td>
</tr>
</table>
<!--{if $discuz_uid}-->
<hr class="shadowline" />
<form id="emailfriendform" name="emailfriendform" method="post" action="misc.php?action=emailfriend&sendsubmit=yes&infloat=yes" onsubmit="ajaxpost('emailfriendform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="tid" value="$tid" />
<!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}-->
<table cellspacing="0" cellpadding="2">
<tr>
<td><h5>{lang emailfriend_email}</h5></td>
</tr>
<tr>
<td>
{lang emailfriend_receiver_email}<br />
<input type="text" name="sendtoemail" size="25" class="txt" /><br />
{lang content}<br />
<textarea class="txtarea" name="message" style="margin-bottom: 5px; width: 202px; height: 70px;">{lang emailfriend_message}</textarea>
<br />
<input name="sendsubmit" type="submit" value="{lang send}" />
</td>
</tr>
</table>
</form>
<hr class="shadowline" />
<h5><a href="javascript:;" onclick="submithandle_$handlekey();floatwin('open_sendpm', 'pm.php?action=new&operation=emailfriend&tid=$tid', 600, 410);">{lang emailfriend_pm}</a></h5>
<!--{/if}-->
</div>
</div>
</div>
<script type="text/javascript" reload="1">
function submithandle_$handlekey(locationhref) {
floatwinreset = 1;
floatwin('close_$handlekey');
}
var lastsel = $('itemcp_im');
function switchitemcp(id) {
if(lastsel) {
lastsel.className = '';
}
$(id).className = 'currentopt';
lastsel = $(id);
}
</script>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/emailfriend.htm
|
HTML
|
asf20
| 2,880
|
<!--{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/51shangcheng.cn/htdocs/templates/default/request_birthday.htm
|
HTML
|
asf20
| 408
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » <!--{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'}-->
<!--{loop $faqlist $faq}-->
<div class="datalist">
<div class="c_header searchfaq"><h3>$faq[title]</h3></div>
<div class="faqmessage">$faq[message]</div>
</div>
<!--{/loop}-->
<!--{/if}-->
</div>
</div>
</div>
{subtemplate footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/faq.htm
|
HTML
|
asf20
| 1,739
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » {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/51shangcheng.cn/htdocs/templates/default/groupexpiry.htm
|
HTML
|
asf20
| 1,003
|
<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}--> [<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" /> <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=$trade[aid]&k={echo md5($trade[aid].md5($authkey).$timestamp);}&t=$timestamp&noupdate=yes&sid=$sid" _width="80" _height="80" onload="thumbImg(this, 1)" />
<!--{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>$trade[tradesum]</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}--> <!--{/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/51shangcheng.cn/htdocs/templates/default/my_tradethreads.htm
|
HTML
|
asf20
| 3,084
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float" style="height: 410px">
<div class="floatbox">
<h3 class="float_ctrl">
<em id="return_$handlekey">{lang pay_view}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_$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>
</div>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/pay_view.htm
|
HTML
|
asf20
| 1,150
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float">
<div class="floatboxnarrow">
<h3 class="float_ctrl">
<em>{lang magics_use}</em>
<span><a title="{lang close}" onclick="floatwin('close_magics')" class="float_close" href="javascript:;">{lang close}</a></span>
</h3>
<div class="postbox"><em id="return_magics"></em></div>
<form id="magicform" method="post" action="magic.php?action=index&infloat=yes" onsubmit="ajaxpost('magicform', 'return_magics', 'return_magics', 'onerror');return false;">
<div class="postbox">
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="handlekey" value="magics" />
<!--{if $magiclist}-->
<select name="magicid" onchange="floatwin('open_magics', 'magic.php?action=usemagic&infloat=yes&type=$typeid&pid=$pid&magicid='+this.options[this.selectedIndex].value, 250, 215)" class="chosemagic">
<option value="0">{lang magics_select}</option>
<!--{loop $magiclist $magic}-->
<option value="$magic[magicid]" $magicselect[$magic[magicid]]>$magic[name] - $magic[description]</option>
<!--{/loop}-->
</select>
<!--{if $magicid}-->
{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>
<!--{/if}-->
<!--{else}-->
{lang magics_item_nonexistence}
<!--{/if}-->
</div>
</form>
</div>
</div>
<script type="text/javascript" reload="1">
function messagehandle_magics(key) {
$('magicform').style.display = 'none';
$('return_magics').className = 'onright';
}
</script>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/magic_use.htm
|
HTML
|
asf20
| 1,998
|
<?php
$dlang = array
(
'nextpage' => '下一页',
'date' => '前,天,昨天,前天,小时,半,分钟,秒,刚才'
);
?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/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="icon"> </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="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}" />
<!--{elseif $thread['special'] == 6}-->
<img src="{IMGDIR}/videosmall.gif" alt="{lang thread_video}" />
<!--{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}-->
</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]&goto=lastpost$highlight#lastpost">$thread[lastpost]</a></em>
</td>
</tr>
</tbody>
<!--{/loop}-->
<!--{if empty($threadlist)}-->
<tbody><tr><th colspan="6">{lang search_nomatch}</th></tr></tbody>
<!--{/if}-->
</table>
<!--{if !empty($multipage)}--><div class="pages_btns s_clear">$multipage</div><!--{/if}-->
</div>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/search_threads.htm
|
HTML
|
asf20
| 3,403
|
{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(' ', ']]>'), $s);}
$s
]]></root>{eval exit;}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/footer_ajax.htm
|
HTML
|
asf20
| 230
|
.floatwinmask { {FLOATMASKBGCODE}; }
.floatwin { {FLOATBGCODE}; }
.float { display:block; overflow: hidden; color: {TABLETEXT}; text-align: left; }
.float_ctrl { margin: 15px; height: 20px; line-height: 20px; }
.float_ctrl em { float: left; font-size: 14px; font-weight: 700; color: {HIGHLIGHTLINK}; }
.float_ctrl em.needverify { margin-left: 8px; padding-left: 13px; width: 45px; height: 21px; line-height: 21px; background: url({IMGDIR}/re_unsolved.gif) no-repeat 0 0; font-size: 12px; color: {MIDTEXT}; font-weight: 400; }
.float_ctrl em a { text-decoration: none; }
.float_ctrl span { float: right; color: {LIGHTTEXT}; }
.float_ctrl span a, .float_ctrl strong { float: left; text-decoration: none; margin-left: 8px; font-weight: 400; color: {TABLETEXT}; }
.float_ctrl span a:hover { color: {LIGHTTEXT}; }
.float_ctrl span a.float_close, .float_ctrl span a.float_max, .float_ctrl span a.float_min, .float_ctrl span a.float_newwindow { float: left; width: 20px; height: 20px; overflow: hidden; text-indent: -9999px; background: url({IMGDIR}/newclose.gif) no-repeat 0 0; }
.float_ctrl span a.float_close:hover { background-position: 0 -20px; }
.float_ctrl span a.float_max { background-position: 0 -40px; }
.float_ctrl span a.float_max:hover { background-position: 0 -60px; }
.float_ctrl span a.float_min { background-position: 0 -80px; }
.float_ctrl span a.float_min:hover { background-position: 0 -100px; }
.float_ctrl span a.float_newwindow { background-position: 0 -120px; }
.float_ctrl span a.float_newwindow:hover { background-position: 0 -140px; }
.floatbox { float: left; height: 300px; width: 600px; text-align: left; }
.floatbox1 { height: 410px; }
.floatboxnarrow { overflow-x: hidden; width: 250px; }
.floatwrap { overflow: auto; overflow-x: hidden; height: 310px; }
.floatbox li, .floatboxnarrow li { list-style: none; }
.floatbox a, .floatboxnarrow a { color: {HIGHLIGHTLINK}; text-decoration: underline; }
.floatbox table.list { margin:0 auto; width: 570px; border-top: 3px solid {COMMONBORDER}; border-bottom: 3px solid {COMMONBORDER}; }
.floatbox table.list th, .floatbox table.list td { padding: 3px; height: auto; border-bottom: 1px dashed {COMMONBORDER}; }
.floatbox table.list tr.btns th, .floatbox table.list tr.btns td { border-bottom: none; }
.floatbox table.list th { width: 150px; background: none; }
.float_message { text-align: center; padding: 10px; }
.gateform { padding-left: 50px; }
.gateform h3 { margin-bottom: 20px; color: {HIGHLIGHTLINK}; font-size: 14px; font-weight: 700; }
.loginform { float: left; overflow: auto; margin-bottom: 10px; *margin-bottom: -10px; padding-top: 20px; width: 285px; height: 210px; border-right: 1px solid {CONTENTSEPARATE}; }
.regform { padding-top: 0; height: 230px; }
.regsec { margin-bottom: 10px; }
* html .regsec { height: 22px; }
.norights .loginform { border: none; }
.gateform h3.onerror, .multinfo h3.onerror, .float_ctrl em.onerror, .gateform h3.onright, .multinfo h3.onright, .float_ctrl em.onright { white-space: nowrap; height: auto; line-height: 140%; color: {TABLETEXT}; font-size: 12px; font-weight: 400; }
.channelinfo .onerror, .channelinfo .onright { background-position: 2px 0; }
.loginform label { clear: both; overflow: hidden; display:block; margin: 0 0 10px; line-height: 22px; }
.loginform .txt { width: 170px; }
.loginform select { width: 175px; }
.fsubmit { clear: both; margin-top: 8px; }
.fsubmit .submit { margin-right: 8px; }
.loginform label em, .fsubmit em { float: left; width: 60px; }
.fsubmit .regpre { *margin-top: 4px; }
.nolabelform .txt{ width:220px; }
.clause { overflow: auto; margin-bottom: 10px; width: 510px; height: 230px; }
.selectinput { margin-bottom: 10px; width: 224px; height: 20px; background-color: {INPUTBG}; border: 1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR};; }
.selectinput a { float: left; text-indent: 4px; width: 65px; text-decoration: none; color: {TABLETEXT}; background:{INPUTBG} url({IMGDIR}/newarow.gif) no-repeat 100% 0; }
.selectinput a:hover{ text-decoration: none; background-position: 100% -20px; }
.selectinput .txt { float: left; width: 155px; border: none; }
.selectinput ul { position: absolute; margin: -1px 0 0 -1px; *margin: -1px 0 0 -225px; width: 64px; border: 1px solid {HIGHLIGHTLINK}; background:{INPUTBG} url({IMGDIR}/newarow.gif) no-repeat 100% -20px; }
.selectinput ul li { line-height: 20px; *line-height: 17px; text-indent: 3px; color: {TABLETEXT}; cursor: pointer; }
.selectinput ul li:hover { color: {HIGHLIGHTLINK}; }
.selecttype { margin-top: 10px; height: 32px; clear: both; }
.selecttype a { display: block; text-indent: 4px; margin: 1px 0 0 1px; width: 224px; height: 20px; line-height: 20px; text-decoration: none; color: {LIGHTTEXT}; background: url({IMGDIR}/newarow.gif) no-repeat 100% 0; }
.selecttype a:hover{ text-decoration: none; background-position: 100% -20px; }
.selecttype ul { position: absolute; margin: -21px 0 0; width: 224px; border: 1px solid {HIGHLIGHTLINK}; background: {INPUTBG} url({IMGDIR}/newarow.gif) no-repeat 100% -20px; }
.selecttype ul li { margin: 2px 4px; line-height: 16px; *line-height: 15px; color: {TABLETEXT}; cursor: pointer; }
.selecttype ul li:hover { color: {HIGHLIGHTLINK}; }
.loginpsw label { float: left; display: inline; margin: 0 0 0 4px; width: 61px; height: auto; line-height: 150%; }
.capslock { background: url({IMGDIR}/capslock.gif) no-repeat 98% 50%; }
.logininfo { float: left; overflow: hidden; margin-left: 60px; width: 195px; height: 210px; }
.norights .logininfo { border-right: 1px dashed {COMMONBORDER}; }
.logininfo h4 { margin-bottom: 20px; font-weight: 400; font-size: 14px; }
.singleinfo { margin-top: 100px; height: 100px; }
.multinfo h4 { margin-top: 60px; }
.validateinfo { margin: 10px 50px; padding-left: 40px; background: url({IMGDIR}/newright.gif) no-repeat 0 3px; }
.validateinfo h1 { line-height: 40px; color: {HIGHLIGHTLINK}; font-size: 14px; }
.postbox { margin: 0 16px 10px; clear: both; }
.moreconf { position: absolute; bottom: 10px; left: 15px; }
.moreconf button, .moreconf a { margin-right: 3px; }
.custominfoarea { position: absolute; top: 3px; left: 548px; }
.sitenote { position: absolute; bottom: 33px; right: 0; width: 240px; text-align: left; }
* html .sitenote { bottom: 18px; right: 3px; }
*+html .sitenote { bottom: 26px; right: 4px; }
.sitenote .minicorner { background-position: 164px 0; }
.sitemsg .custominfoarea { top: -58px; }
.sitemsg .sitenote { bottom: 25px; right: -4px; }
* html .sitemsg .sitenote { bottom: 18px; right: 0; }
*+html .sitemsg .sitenote { bottom: 26px; }
.sitemsg a { margin-right: 0; }
.switchnav { float: left; white-space: nowrap; overflow: hidden; width: 450px; }
.postboardlist { overflow: hidden; margin: 9px 0; width: 567px; border-width: 1px 0 1px 1px; border-style: solid; border-color: {DROPMENUBORDER}; background: #FFF; }
.postboardlist li { float: left; overflow-x: hidden; overflow-y: auto; padding: 5px; width: 178px; height: 300px; border-right: 1px solid {DROPMENUBORDER}; }
.postboardlist p { height: 25px; line-height: 25px; }
.postboardlist a { display: block; white-space: nowrap; overflow: hidden; padding: 0 4px; text-decoration: none; color: {TABLETEXT}; }
.postboardlist a:hover { text-decoration: none; background-color: {INTERLEAVECOLOR}; }
.postboardlist .highlightlink { color: {HIGHLIGHTLINK}; }
.hassubboard { background: url({IMGDIR}/arrow_right.gif) right center no-repeat; }
.pbl_selected a, .pbl_selected a:hover { background-color: {HIGHLIGHTLINK}; color: #FFF !important; font-weight: 700; }
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/css_float.htm
|
HTML
|
asf20
| 7,828
|
{template header}
<!--{if empty($inajax)}-->
<style type="text/css">
.main { overflow: hidden; }
.content { margin: 5px; min-height: 400px; }
* html .content { height: 400px; overflow: auto; }
.regform #secanswer_menu { left: -190px; top: 113px; }
.regform #seccodeverify_menu { left: -109px; top: 133px; }
</style>
<script type="text/javascript" src="include/js/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">
<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>$trade[subject]</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}-->
<!--{if $trade['itemtype'] == 1}-->{lang trade_type_buy}
<!--{elseif $trade['itemtype'] == 2}-->{lang trade_type_service}
<!--{elseif $trade['itemtype'] == 3}-->{lang trade_type_auction}
<!--{elseif $trade['itemtype'] == 4}-->{lang trade_type_donate}
<!--{elseif $trade['itemtype'] == 5}-->{lang trade_type_compensate}
<!--{elseif $trade['itemtype'] == 6}-->{lang trade_type_bonus}<!--{/if}-->
</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}-->
<!--{/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['costprice'] > 0}--><dt>{lang trade_costprice}:</dt><dd><del>$trade[costprice] {lang payment_unit}</del></dd><!--{/if}-->
<dt>{lang trade_price}:</dt>
<dd><strong class="price">$trade[price]</strong> {lang payment_unit}</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> <!--{/if}-->
<!--{if $discuz_uid}--><button onclick="floatwin('open_sendpm', 'pm.php?action=new&uid=$post[authorid]&operation=trade&pid=$post[pid]', 600, 410)">{lang trade_bargain}</button><!--{/if}-->
<!--{/if}-->
<!--{if $trade['account']}-->
<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['attachlist']}-->
<div class="box postattachlist">
<h4>{lang attachment}</h4>
$post[attachlist]
</div>
<!--{/if}-->
</div>
</td></tr>
</td></tr></table></div>
<!--{if empty($inajax)}-->
</div></div></div>
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/trade_info.htm
|
HTML
|
asf20
| 5,353
|
<!--{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 />
<span title="{lang onlinetime_total} $GLOBALS[oltime] {lang hour}"><!--{if !empty($GLOBALS[invisible])}-->{lang index_invisibles}<!--{else}-->{lang login_normal_mode}<!--{/if}--></span>
<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(this.id, 0, 0, 2, 250, 0, 'mycredits')">{lang credits}: $GLOBALS[_DSESSION]['credits']</span><br />
{lang posts}: $GLOBALS[_DSESSION][posts]<br />
{lang digestposts}: $GLOBALS[_DSESSION][digestposts]<br />
</div>
<div style="float:left; text-align:left; width:40%;">
<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><br />
<a href="my.php?item=subscriptions$fidadd" target="_blank">{lang my_subscriptions}</a><br />
</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="floatwin('open_register', this.href, 600, 400, '600,0');return false;">$GLOBALS[reglinkname]</a><br />
<a href="logging.php?action=login" onclick="floatwin('open_login', this.href, 600, 400);return false;">{lang login}</a>
<!--{/if}-->
</div>
<!--{/block}-->
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/request_assistant.htm
|
HTML
|
asf20
| 1,817
|
<?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/51shangcheng.cn/htdocs/templates/default/tasks.lang.php
|
PHP
|
asf20
| 1,473
|
<!--{block writedata}-->
<script type="text/javascript">
var IMGDIR = '{IMGDIR}';
</script>
<script type="text/javascript" src="include/js/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/51shangcheng.cn/htdocs/templates/default/request_forumtree.htm
|
HTML
|
asf20
| 1,067
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » {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/51shangcheng.cn/htdocs/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="t{$idbase}_$i" onclick="combineswitch('$idbase', $combinecount, $i)">$combinetitle</a>{eval $sp = ' | ';}<!--{/loop}-->
</span>
$settings[title]
</h3>
<!--{else}-->
<!--{loop $combinetitles $i $combinetitle}-->
<h4 id="t{$idbase}_$i" onclick="combineswitch('$idbase', $combinecount, $i)">$combinetitle</h4>
<!--{/loop}-->
<!--{/if}-->
</div>
$combinedata
<script type="text/javascript">
function combineswitch(idbase, count, current) {
for(i = 0;i < count;i++) {
$(idbase + '_' + i).style.display = 'none';
$('t' + idbase + '_' + i).className = '';
}
$(idbase + '_' + current).style.display = '';
$('t' + idbase + '_' + current).className = 'ontype';
}
combineswitch('$idbase', $combinecount, 0);
</script>
<!--{/block}-->
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/request_rowcombine.htm
|
HTML
|
asf20
| 973
|
{template header}
<!--{if !empty($message)}-->
<script type="text/javascript" onload="1">
InFloat = 'floatlayout_register';
pagescroll.right();
{eval $bbname = str_replace('\'', '\\\'', $bbname);}
{if $regverify == 1}
$('messageleft1').innerHTML = '<h1>{lang register_succeed} $bbname</h1>{lang profile_email_verify}';
$('messageright1').innerHTML = '<h1><a href="memcp.php">{lang user_center}</a></h1><p>{lang profile_email_verify_comment}</p>';
setTimeout("window.location.href='memcp.php'", $mrefreshtime);
{elseif $regverify == 2}
$('messageleft1').innerHTML = '<h1>{lang register_succeed} $bbname</h1>{lang register_manual_verify}';
$('messageright1').innerHTML = '<h1><a href="memcp.php">{lang user_center}</a></h1>';
setTimeout("window.location.href='memcp.php'", $mrefreshtime);
{else}
{if $newbietask}
$('messageleft1').innerHTML = '<h1>{lang register_succeed} $bbname</h1>{lang register_newbietask}';
$('messageright1').innerHTML = '<h1><a href="javascript:;" onclick="location.href=\'task.php?action=view&id=$task[taskid]\'">{lang login_refresh}</a></h1>';
setTimeout('location.href=\'task.php?action=view&id=$task[taskid]\'', $mrefreshtime);
{else}
$('messageleft1').innerHTML = '<h1>{lang register_succeed} $bbname</h1>';
$('messageright1').innerHTML = '<h1><a href="javascript:;" onclick="location.reload()">{lang login_refresh}</a></h1>';
setTimeout('location.reload()', $mrefreshtime);
{/if}
{/if}
{if $_DCACHE['settings']['frameon'] && $_DCOOKIE['frameon'] == 'yes'}
if(top != self) {
parent.leftmenu.location.reload();
}
{/if}
floatwinreset = 1;
</script>
<!--{else}-->
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float" id="floatlayout_register" style="width: 600px;{if !empty($infloat)} height: 400px;{/if}">
<div style="width: 1800px">
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_register')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<div id="bbrule" class="gateform">
<h3>$bbname {lang rulemessage}</h3>
<div class="clause">$bbrulestxt</div>
<button onclick="$('agreebbrule').checked = true;$('bbrule').style.display='none';pagescroll.right()">{lang agree}</button> <button onclick="floatwin('close_register')">{lang disagree}</button>
</div>
</div>
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_register')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<form method="post" name="register" id="registerform" class="gateform" onsubmit="ajaxpost('registerform', 'returnmessage4', 'returnmessage4', 'onerror');return false;" action="$regname?regsubmit=yes">
<h3 id="returnmessage4"><!--{if $action != 'activation'}-->$reglinkname<!--{else}-->{lang index_activation}<!--{/if}--></h3>
<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 regform">
<div id="reginfo_a" class="regform" style="overflow:hidden">
<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> </em><a href="https://domains.live.com/members/signup.aspx?domain=$msn[domain]" target="_blank" style="float: left; overflow: hidden; width: 223px; white-space: nowrap;"><!--{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}-->
<!--{if !empty($infloat)}-->{eval $secchecktype = 1;}<!--{else}-->{eval $seccheckreg = 2;}<!--{/if}-->
<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 singleinfo">
<h4>{lang login_now}</h4>
<!--{if $action == 'activation'}-->
<p>{lang login_inactive}</p>
<!--{/if}-->
</div>
<p class="fsubmit">
<span id="reginfo_a_btn">
<em> </em>
<!--{if ($field && !empty($infloat)) || $regverify == 2}-->
<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">{lang submit}</button>
<!--{if $bbrules}-->
<input type="checkbox" class="checkbox" name="agreebbrule" value="$bbrulehash" id="agreebbrule" /> <label for="agreebbrule">{lang agree}<a href="javascript:;" onclick="pagescroll.left()">{lang rulemessage}</a></label>
<!--{/if}-->
</span>
</p>
</form>
<!--{if $sitemessage[register]}-->
<div class="moreconf sitemsg">
<div class="custominfoarea">
<a href="javascript:;" onclick="display('custominfo_register')" onblur="$('custominfo_register').style.display = 'none'"><img src="{IMGDIR}/info.gif" alt="{lang faq}" /></a>
<div id="custominfo_register" class="sitenote">
<div class="cornerlayger">{echo $sitemessage[register][array_rand($sitemessage[register])]}</div>
<div class="minicorner"></div>
</div>
</div>
</div>
<!--{/if}-->
</div>
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_register')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<div class="validateinfo">
<div id="messageleft1"></div>
<div id="messageright1"></div>
</div>
</div>
</div>
<script type="text/javascript" reload="1">
var pagescroll = new pagescroll_class('floatlayout_register', 600, 400);
{if empty($infloat)}
$('floatlayout_register').scrollLeft = 600;
{/if}
{if $action != 'activation'}
document.body.focus();
$('username').focus();
{/if}
{if $sitemessage[register] && $sitemessage[time]}
setTimeout('display_opacity(\'custominfo_register\',100)', $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=' + (is_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)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/register.htm
|
HTML
|
asf20
| 11,387
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » <!--{if $discuz_uid == $member['uid']}-->{lang space_profile}<!--{else}-->$member[username]{lang space_sprofile}<!--{/if}--></div>
<script type="text/javascript">var imagemaxwidth = parseInt({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]</h1>
<ul>
<li>({lang uid}: $member[uid])</li>
</ul>
</div>
<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]&Site=$bbname&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> ');</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}-->
</td>
</tr>
<!--{/loop}-->
</table>
</div>
<hr class="dashline" />
<h3 class="blocktitle lightlink">{lang usergroup}: $member[grouptitle] {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']}--> ({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]" />
<!--{/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 = ', ';}
<!--{/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}-->
</div>
</div>
<div class="side">
<div class="profile_side">
<div class="avatar">
{echo discuz_uc_avatar($member[uid])}
</div>
<ul id="profile_act">
<li class="pm"><a href="pm.php?action=new&uid=$member[uid]" onclick="floatwin('open_sendpm', this.href, 600, 410);return false;">{lang send_pm}</a></li>
<li class="buddy"><a href="my.php?item=buddylist&newbuddyid=$member[uid]&buddysubmit=yes" id="ajax_buddy" onclick="ajaxmenu(event, this.id, 3000, 0)">{lang add_to_buddylist}</a></li>
<!--{if $discuz_uid && $magicstatus}--><li class="magic"><a href="magic.php?action=index&username=$member[usernameenc]" target="_blank">{lang magics_use}</a></li><!--{/if}-->
<li class="searchpost"><a href="search.php?srchuid=$member[uid]&srchfid=all&srchfrom=0&searchsubmit=yes">{lang search_posts}</a></li>
<!--{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 $allowbanuser || $allowedituser || $member['adminid'] > 0 && $modworkstatus}-->
<ul>
<!--{if $allowbanuser}--><li><a href="{if $adminid==1}admincp.php?action=members&operation=ban&username=$member[usernameenc]&frames=yes{else}modcp.php?action=members&op=ban&uid=$member[uid]{/if}" target="_blank"><span>{lang ban_member}</span></a></li><!--{/if}-->
<!--{if $allowedituser}--><li><a href="{if $adminid == 1}admincp.php?action=members&username=$member[usernameenc]&submit=yes&frames=yes{else}modcp.php?action=members&op=edit&uid=$member[uid]{/if}" target="_blank"><span>{lang edit_member}</span></a><li><!--{/if}-->
<!--{if $member['adminid'] > 0 && $modworkstatus}--><li><a href="stats.php?type=modworks&uid=$member[uid]"><span>{lang moderations}</span></a></li><!--{/if}-->
</ul>
<!--{/if}-->
</div>
</div>
{subtemplate footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/viewpro_classic.htm
|
HTML
|
asf20
| 9,634
|
<script type="text/javascript" reload="1">
function updateseccode{$secchecktype}(op) {
if(isUndefined(op)) {
var x = new Ajax();
ajaxget('ajax.php?action=updateseccode&secchecktype=$secchecktype', 'seccodeverify{$secchecktype}_menu', 'seccodeverify{$secchecktype}_menu');
} else {
window.document.seccodeplayer.SetVariable("isPlay", "1");
}
$('seccodeverify{$secchecktype}').focus();
}
function updatesecqaa{$secchecktype}() {
var x = new Ajax();
ajaxget('ajax.php?action=updatesecqaa', 'secanswer{$secchecktype}_menu', 'secanswer{$secchecktype}_menu');
}
var secclick{$secchecktype} = new Array();
var seccodefocus = 0;
function opensecwin{$secchecktype}(id, type) {
if(!secclick{$secchecktype}[id]) {
$(id).value = '';
secclick{$secchecktype}[id] = 1;
if(type) {
$(id + '_menu').style.top = (parseInt($(id + '_menu').style.top) - parseInt($(id + '_menu').style.height)) + 'px';
updateseccode{$secchecktype}();
} else {
updatesecqaa{$secchecktype}();
}
}
{if empty($secchecktype)}
{if !empty($infloat)}
InFloat='$seccheckfloat';
{/if}
{if $seccheckfloat}
$(id + '_menu').style.position = 'absolute';
$(id + '_menu').style.top = (-parseInt($(id + '_menu').style.height)) + 'px';
{if $secqaacheck}
if(type) {
$(id + '_menu').style.left = $(id).offsetLeft + 'px';
} else {
$(id + '_menu').style.left = '0px';
}
{else}
$(id + '_menu').style.left = '0px';
{/if}
{/if}
{elseif $secchecktype == 1}
{if !empty($infloat)}
InFloat='floatlayout_register';
{/if}
showMenu(id, 0, 2, 3);
{elseif $secchecktype == 3}
showMenu(id, 0, 2, 3);
{/if}
$(id + '_menu').style.display = '';
$(id).focus();
$(id).unselectable = 'off';
}
</script>
<!--{if $secqaacheck}-->
<input name="secanswer" id="secanswer{$secchecktype}" type="text" autocomplete="off" style="width:50px" value="{lang secqaa}" class="txt" onfocus="opensecwin{$secchecktype}(this.id, 0)" onclick="opensecwin{$secchecktype}(this.id, 0)" onblur="display(this.id + '_menu');checksecanswer{$secchecktype}();" tabindex="1">
<span id="checksecanswer{$secchecktype}"><img src="images/common/none.gif" width="16" height="16"></span>
<div id="secanswer{$secchecktype}_menu" class="seccodecontent" style="width:200px;height:80px;display:none"></div>
<!--{/if}-->
<!--{if $seccodecheck}-->
<input name="seccodeverify" id="seccodeverify{$secchecktype}" type="text" autocomplete="off" style="width:50px" value="{lang seccode}" class="txt" onfocus="opensecwin{$secchecktype}(this.id, 1)" onclick="opensecwin{$secchecktype}(this.id, 1)" onblur="if(!seccodefocus) {display(this.id + '_menu')}checkseccode{$secchecktype}();" tabindex="1">
<a href="javascript:;" onclick="updateseccode{$secchecktype}()">{lang seccode_change}</a>
<span id="checkseccodeverify{$secchecktype}"><img src="images/common/none.gif" width="16" height="16"></span>
<div id="seccodeverify{$secchecktype}_menu" class="seccodecontent" onmouseover="seccodefocus = 1" onmouseout="seccodefocus = 0" style="cursor: pointer;top: 256px;width:{$seccodedata[width]}px;height:{$seccodedata[height]}px;display:none"></div>
<!--{/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 = '';
function checkseccode{$secchecktype}() {
var seccodeverify = $('seccodeverify{$secchecktype}').value;
if(seccodeverify == lastseccode) {
return;
} else {
lastseccode = seccodeverify;
}
var cs = $('checkseccodeverify{$secchecktype}');
{if $seccodedata['type'] != 1}
if(!(/[0-9A-Za-z]{4}/.test(seccodeverify))) {
warning{$secchecktype}(cs, profile_seccode_invalid);
return;
}
{else}
if(seccodeverify.length != 2) {
warning{$secchecktype}(cs, profile_seccode_invalid);
return;
}
{/if}
ajaxresponse{$secchecktype}('checkseccodeverify{$secchecktype}', 'action=checkseccode&seccodeverify=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(seccodeverify) : seccodeverify));
}
function checksecanswer{$secchecktype}() {
var secanswer = $('secanswer{$secchecktype}').value;
if(secanswer == lastsecanswer) {
return;
} else {
lastsecanswer = secanswer;
}
ajaxresponse{$secchecktype}('checksecanswer{$secchecktype}', 'action=checksecanswer&secanswer=' + (is_ie && document.charset == 'utf-8' ? encodeURIComponent(secanswer) : secanswer));
}
function ajaxresponse{$secchecktype}(objname, data) {
var x = new Ajax('XML', objname);
x.get('ajax.php?inajax=1&' + data, function(s){
var obj = $(objname);
if(s == '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/51shangcheng.cn/htdocs/templates/default/seccheck.htm
|
HTML
|
asf20
| 5,249
|
<!--{if $thread['price'] > 0}-->
<p class="reward_button"><button name="answer" value="ture" onclick="floatwin('open_reply', 'post.php?action=reply&fid=$fid&tid=$tid', 600, 410, '600,0');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/51shangcheng.cn/htdocs/templates/default/viewthread_reward.htm
|
HTML
|
asf20
| 1,617
|
<!--{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="floatwin('open_pay', 'misc.php?action=pay&tid=$tid&pid=$post[pid]', 600, 410)">{lang pay}</a>
<em class="right">
{lang pay_buyers}:$thread[payers] <a href="misc.php?action=viewpayments&tid=$tid" onclick="floatwin('open_pay', this.href, 600, 410);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/51shangcheng.cn/htdocs/templates/default/viewthread_pay.htm
|
HTML
|
asf20
| 652
|
{subtemplate header}
<script type="text/javascript" src="include/js/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(this.id)" class="dropmenu">$bbname</a><!--{else}--><a href="$indexname">$bbname</a><!--{/if}-->$navigation
</div>
<!--{if $admode && empty($insenz['hardadstatus']) && !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}-->
<div id="wrap" class="wrap s_clear threadfix">
<div class="forumcontrol">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="modaction">
<!--{if $forum['ismoderator']}-->
<script type="text/javascript">
function modaction(action, pid, extra) {
if(!action) {
return;
}
var extra = !extra ? '' : '&' + extra;
if(!pid && in_array(action, ['delpost', 'banpost'])) {
var checked = 0;
var pid = '';
for(var i = 0; i < $('modactions').elements.length; i++) {
if($('modactions').elements[i].name.match('topiclist')) {
checked = 1;
break;
}
}
} else {
var checked = 1;
}
if(!checked) {
alert('{lang admin_select_required}');
} else {
floatwinreset = 1;
$('modactions').action = 'topicadmin.php?action='+ action +'&fid=$fid&tid=$tid&infloat=yes&nopost=yes' + (!pid ? '' : '&topiclist[]=' + pid) + extra;
floatwin('open_mods', '', 250, action != 'split' ? 215 : 365);
$('floatwin_mods').innerHTML = '';
ajaxpost('modactions', 'floatwin_mods', '');
if(is_ie) {
doane(event);
}
hideMenu();
}
}
function modthreads(optgroup, operation) {
var operation = !operation ? '' : operation;
floatwinreset = 1;
$('modactions').action = 'topicadmin.php?action=moderate&fid=$fid&moderate[]=$tid&infloat=yes&nopost=yes' + (optgroup != 3 && optgroup != 2 ? '&from=$tid' : '');
floatwin('open_mods', '', 250, optgroup < 2 ? 365 : 215);
$('modactions').optgroup.value = optgroup;
$('modactions').operation.value = operation;
$('floatwin_mods').innerHTML = '';
ajaxpost('modactions', 'floatwin_mods', '');
if(is_ie) {
doane(event);
}
}
function pidchecked(obj) {
if(obj.checked) {
if(is_ie && !is_opera) {
var inp = document.createElement('<input name="topiclist[]" />');
} else {
var inp = document.createElement('input');
inp.name = 'topiclist[]';
}
inp.id = 'topiclist_' + obj.value;
inp.value = obj.value;
inp.style.display = 'none';
$('modactions').appendChild(inp);
} else {
$('modactions').removeChild($('topiclist_' + obj.value));
}
}
var modclickcount = 0;
function modclick(obj, pid) {
if(obj.checked) {
modclickcount++;
} else {
modclickcount--;
}
$('modcount').innerHTML = modclickcount;
if(modclickcount > 0) {
var offset = fetchOffset(obj);
$('modlayer').style.top = offset['top'] - 65 + 'px';
$('modlayer').style.left = offset['left'] - 215 + 'px';
$('modlayer').style.display = '';
} else {
$('modlayer').style.display = 'none';
}
}
</script>
<span id="modopt" onclick="$('modopt').id = 'modopttmp';this.id = 'modopt';showMenu(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(this.id)"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span>
<span class="replybtn"><a href="post.php?action=reply&fid=$fid&tid=$tid" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">{lang reply}</a></span>
<span class="postbtn" id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=$fid" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">{lang send_posts}</a></span>
</td>
</tr>
</table>
</div>
<!--{if $forum['ismoderator']}-->
<ul class="popupmenu_popup headermenu_popup inlinelist" id="modopt_menu" style="width: 180px; display: none">
<!--{if $thread['digest'] >= 0}-->
<!--{if $allowdelpost}--><li class="wide"><a href="javascript:;" onclick="modthreads(3, 'delete')">{lang admin_delthread}</a></li><!--{/if}-->
<li class="wide"><a href="javascript:;" onclick="modthreads(3, 'down')">{lang admin_bump_down}</a></li>
<!--{if $allowstickthread}-->
<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'stick')">{lang admin_stick}</a></li>
<!--{/if}-->
<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'highlight')">{lang admin_highlight}</a></li>
<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'digest')">{lang admin_digest}</a></li>
<!--{if $forum['modrecommend']['open'] && $forum['modrecommend']['sort'] != 1}-->
<li class="wide"><a href="javascript:;" onclick="modthreads(1, 'recommend')">{lang admin_recommend}</a></li>
<!--{/if}-->
<li class="wide"><a href="javascript:;" onclick="modthreads(4)">{lang admin_openclose}</a></li>
<li class="wide"><a href="javascript:;" onclick="modthreads(2, 'move')">{lang admin_move}</a></li>
<li class="wide"><a href="javascript:;" onclick="modthreads(2, 'type')">{lang admin_type}</a></li>
<!--{if !$thread['special']}-->
<li class="wide"><a href="javascript:;" onclick="modaction('copy')">{lang admin_copy}</a></li>
<li class="wide"><a href="javascript:;" onclick="modaction('merge')">{lang admin_merges}</a></li>
<!--{if $thread['price'] > 0 && $allowrefund}-->
<li class="wide"><a href="javascript:;" onclick="modaction('refund')">{lang admin_refund}</a></li>
<!--{/if}-->
<!--{/if}-->
<li class="wide"><a href="javascript:;" onclick="modaction('split')">{lang admin_split}</a></li>
<li class="wide"><a href="javascript:;" onclick="modaction('repair')">{lang admin_repair}</a></li>
<!--{/if}-->
<!--{if $thread['special'] == 3}-->
<li class="wide"><a href="javascript:;" onclick="modaction('removereward')">{lang admin_remove_reward}</a></li>
<!--{/if}-->
</ul>
<!--{if $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 $allowbanpost}-->
<a href="javascript:;" onclick="modaction('warn')">{lang warn}</a>
<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}-->
<!--{if $allowposttrade || $allowpostpoll || $allowpostreward || $allowpostactivity || $allowpostdebate || $allowpostvideo || $forum['threadsorts'] || $forum['threadtypes'] || !$discuz_uid}-->
<ul class="popupmenu_popup postmenu" id="newspecial_menu" style="display: none">
<!--{if !$forum['allowspecialonly']}--><li><a href="post.php?action=newthread&fid=$fid" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');doane(event)">{lang post_newthread}</a></li><!--{/if}-->
<!--{if $allowpostpoll || !$discuz_uid}--><li class="poll"><a href="post.php?action=newthread&fid=$fid&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
<!--{if $allowpostreward || !$discuz_uid}--><li class="reward"><a href="post.php?action=newthread&fid=$fid&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
<!--{if $allowpostdebate || !$discuz_uid}--><li class="debate"><a href="post.php?action=newthread&fid=$fid&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
<!--{if $allowpostactivity || !$discuz_uid}--><li class="activity"><a href="post.php?action=newthread&fid=$fid&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
<!--{if $allowpostvideo || !$discuz_uid}--><li class="video"><a href="post.php?action=newthread&fid=$fid&special=6">{lang post_newthreadvideo}</a></li><!--{/if}-->
<!--{if $allowposttrade || !$discuz_uid}--><li class="trade"><a href="post.php?action=newthread&fid=$fid&special=2">{lang post_newthreadtrade}</a></li><!--{/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&fid=$fid&extra=$extra&sortid=$id">$threadsorts</a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{loop $forum['typemodels'] $id $model}-->
<li class="popupmenu_option"><a href="post.php?action=newthread&fid=$fid&extra=$extra&modelid=$id">$model[name]</a></li>
<!--{/loop}-->
<!--{/if}-->
</ul>
<!--{/if}-->
<div id="postlist" class="mainbox viewthread">
{eval $postcount = 0;}
<!--{loop $postlist $post}-->
{subtemplate viewthread_node}
<!--{/loop}-->
</div>
<div id="postlistreply" class="mainbox viewthread"><div id="post_new" 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']}-->
<span id="modopttmp" onclick="$('modopt').id = 'modopttmp';this.id = 'modopt';showMenu(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(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="floatwin('open_reply', this.href, 600, 410, '600,0');return false;">{lang reply}</a></span>
<span class="postbtn" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu(this.id)"><a href="post.php?action=newthread&fid=$fid" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');return false;">{lang send_posts}</a></span>
<!--{/if}-->
</td>
</tr>
</table>
</div>
<!--{if $fastpost && $allowpostreply}-->
{subtemplate viewthread_fastpost}
<!--{/if}-->
<!--{if $relatedthreadlist && $qihoo['relate']['position']}-->
{template viewthread_relatedthread}
<!--{/if}-->
<!--{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}-->
<script type="text/javascript">
var maxpage = {if $maxpage}$maxpage{else}1{/if};
if(maxpage > 1) {
document.onkeyup = function(e){
e = e ? e : window.event;
var tagname = is_ie ? e.srcElement.tagName : e.target.tagName;
if(tagname == 'INPUT' || tagname == 'TEXTAREA') return;
actualCode = e.keyCode ? e.keyCode : e.charCode;
{if $page < $maxpage}
if(actualCode == 39) {
window.location = 'viewthread.php?tid=$tid&page={echo $page+1}';
}
{/if}
{if $page > 1}
if(actualCode == 37) {
window.location = 'viewthread.php?tid=$tid&page={echo $page-1}';
}
{/if}
}
}
</script>
{subtemplate footer}
<!--{if $relatedthreadupdate}-->
<script type="text/javascript" src="relatethread.php?tid=$tid&subjectenc=$thread[subjectenc]&tagsenc=$thread[tagsenc]&verifykey=$verifykey&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/51shangcheng.cn/htdocs/templates/default/viewthread.htm
|
HTML
|
asf20
| 13,124
|
<table cellspacing="0" cellpadding="0" summary="{lang my_replys}" class="datatable">
<thead class="colplural">
<tr>
<th> </th>
<td class="forum">{lang forum}</td>
<td class="nums">
<select onchange="window.location='my.php?item=posts&filter=' + this.value + '$fidadd';this.option.value">
<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>
<td class="lastpost"><cite>{lang lastpost}</cite></td>
</tr>
</thead>
<!--{if $postlist}-->
<tbody>
<!--{loop $postlist $key $post}-->
<tr>
<th><a href="redirect.php?goto=findpost&pid=$post[pid]&ptid=$post[tid]" target="_blank">$post[tsubject]</a></th>
<td class="forum"><a href="forumdisplay.php?fid=$post[fid]" target="_blank">$post[forumname]</a></td>
<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>
<td class="lastpost">
<cite><!--{if $post['lastposter']}--><a href="space.php?username=$post[lastposterenc]" target="_blank">$post[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
<em><a href="redirect.php?tid=$post[tid]&goto=lastpost#lastpost">$post[lastpost]</a></em>
</td>
</tr>
<!--{/loop}-->
</tbody>
<!--{else}-->
<tr><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/51shangcheng.cn/htdocs/templates/default/my_posts.htm
|
HTML
|
asf20
| 2,103
|
<?php
// P.M. Pack for Discuz! Version 1.0
// Translated by Crossday
// ATTENTION: Please add slashes(\) before (') and (")
$language = array
(
'reason_moderate_subject' => '您发表的主题被执行管理操作',
'reason_moderate_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表的主题被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 执行 {$modaction} 操作。[/b]
[b]主题:[/b] [url={$boardurl}viewthread.php?tid={$thread[tid]}]{$thread[subject]}[/url]
[b]发表时间:[/b] {$thread[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'reason_merge_subject' => '您发表的主题被执行合并操作',
'reason_merge_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表的主题被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 执行 {$modaction} 操作。[/b]
[b]主题:[/b] {$thread[subject]}
[b]发表时间:[/b] {$thread[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]合并后的主题:[/b] [url={$boardurl}viewthread.php?tid={$thread[tid]}]{$other[subject]}[/url]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'reason_delete_post_subject' => '您发表的回复被执行管理操作',
'reason_delete_post_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表的回复被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 执行 {$modaction} 操作。[/b]
[quote]{$post[message]}[/quote]
[b]发表时间:[/b] {$post[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'reason_ban_post_subject' => '您发表的回复被执行管理操作',
'reason_ban_post_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表的帖子被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 执行 {$modaction} 操作。[/b]
[quote]{$post[message]}[/quote]
[b]发表时间:[/b] {$post[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'reason_warn_post_subject' => '您发表的帖子被执行管理操作',
'reason_warn_post_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表的帖子被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 执行 {$modaction} 操作。[/b]
[quote]{$post[message]}[/quote]
连续 $warningexpiration 天内累计 $warninglimit 次警告,您将被自动禁止发帖 $warningexpiration 天。
截至目前,您已被警告 $authorwarnings 次,请注意!
[b]发表时间:[/b] {$post[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'reason_move_subject' => '您发表的主题被执行管理操作',
'reason_move_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表的主题被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 执行 移动 操作。[/b]
[b]主题:[/b] [url={$boardurl}viewthread.php?tid={$thread[tid]}]{$thread[subject]}[/url]
[b]发表时间:[/b] {$thread[dateline]}
[b]原论坛:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]目标论坛:[/b] [url={$boardurl}forumdisplay.php?fid={$toforum[fid]}]{$toforum[name]}[/url]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'rate_reason_subject' => '您发表的帖子被评分',
'rate_reason_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表的帖子被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 评分。[/b]
[quote]{$post[message]}[/quote]
[b]发表时间:[/b] {$post[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]所在主题:[/b] [url={$boardurl}viewthread.php?tid={$tid}&page={$page}#pid{$pid}]{$thread[subject]}[/url]
[b]评分分数:[/b] {$ratescore}
[b]操作理由:[/b] {$reason}',
'rate_removereason_subject' => '您发表的帖子的评分被撤销',
'rate_removereason_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表帖子的评分被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 撤销。[/b]
[quote]{$post[message]}[/quote]
[b]发表时间:[/b] {$post[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]所在主题:[/b] [url={$boardurl}viewthread.php?tid={$tid}&page={$page}#pid{$pid}]{$thread[subject]}[/url]
[b]评分分数:[/b] {$ratescore}
[b]操作理由:[/b] {$reason}',
'transfer_subject' => '您收到一笔积分转账',
'transfer_message' => '这是由论坛系统自动发送的通知短消息。
[b]您收到一笔来自他人的积分转账。[/b]
[b]来自:[/b] [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url]
[b]时间:[/b] {$transfertime}
[b]积分:[/b] {$extcredits[$creditstrans][title]} {$amount} {$extcredits[$creditstrans][unit]}
[b]净收入:[/b] {$extcredits[$creditstrans][title]} {$netamount} {$extcredits[$creditstrans][unit]}
[b]附言:[/b] {$transfermessage}
详情请[url={$boardurl}memcp.php?action=creditslog]点击这里[/url]访问您的积分转账与兑换记录。',
'reportpost_subject' => '$discuz_userss 向您报告一篇帖子',
'reportpost_message' => '[i]{$discuz_userss}[/i] 向您报告以下的帖子,详细内容请访问:
[url]{$posturl}[/url]
他/她的报告理由是: {$reason}',
'addfunds_subject' => '积分充值成功完成',
'addfunds_message' => '这是由论坛系统自动发送的通知短消息。
[b]您提交的积分充值请求已成功完成,相应数额的积分已经存入您的积分账户。[/b]
[b]订单号:[/b] {$order[orderid]}
[b]提交时间:[/b] {$submitdate}
[b]确认时间:[/b] {$confirmdate}
[b]支出:[/b] 人民币 {$order[price]} 元
[b]收入:[/b] {$extcredits[$creditstrans][title]} {$order[amount]} {$extcredits[$creditstrans][unit]}
详情请[url={$boardurl}memcp.php?action=creditslog]点击这里[/url]访问您的积分转账与兑换记录。',
'trade_seller_send_subject' => '有买家购买您的商品',
'trade_seller_send_message' => '这是由论坛系统自动发送的通知短消息。
买家 {$user} 购买您的商品 {$itemsubject}
买家已付款,等待您发货,请[url={$boardurl}trade.php?orderid={$orderid}]点击这里[/url]查看详情。',
'trade_buyer_confirm_subject' => '您购买的商品已经发货',
'trade_buyer_confirm_message' => '这是由论坛系统自动发送的通知短消息。
您购买的商品 {$itemsubject}
卖家 {$user} 已发货,等待您的确认,请[url={$boardurl}trade.php?orderid={$orderid}]点击这里[/url]查看详情。',
'trade_fefund_success_subject' => '您购买的商品已成功退款',
'trade_fefund_success_message' => '这是由论坛系统自动发送的通知短消息。
商品 {$itemsubject} 已退款成功,请[url={$boardurl}trade.php?orderid={$orderid}]点击这里[/url]给对方评分。',
'trade_success_subject' => '商品交易已成功完成',
'trade_success_message' => '这是由论坛系统自动发送的通知短消息。
商品 {$itemsubject} 已交易成功,请[url={$boardurl}trade.php?orderid={$orderid}]点击这里[/url]给对方评分。',
'activity_apply_subject' => '活动的申请已通过批准',
'activity_apply_message' => '这是由论坛系统自动发送的通知短消息。
活动 [b]{$activity_subject}[/b] 的发起者已批准您参加此活动,请[url={$boardurl}viewthread.php?tid={$tid}]点击这里[/url]查看详情。',
'activity_delete_subject' => '您申请的活动被发起者拒绝',
'activity_delete_message' => '这是由论坛系统自动发送的通知短消息。
您申请的活动 [b]{$activity_subject}[/b] 已被发起者拒绝,请[url={$boardurl}viewthread.php?tid={$tid}]点击这里[/url]查看详情。',
'reward_question_subject' => '您发表的悬赏被设置了最佳答案',
'reward_question_message' => '这是由论坛系统自动发送的通知短消息。
[b]您发表的悬赏被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 设置了 最佳答案。[/b]
[b]悬赏:[/b] [url={$boardurl}viewthread.php?tid={$thread[tid]}]{$thread[subject]}[/url]
[b]发表时间:[/b] {$thread[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forum[name]}[/url]
如果您对本操作有异议,请与作者取得联系。',
'reward_bestanswer_subject' => '您发表的回复被选为最佳答案',
'reward_bestanswer_message' => '这是由论坛系统自动发送的通知短消息。
[b]您的回复被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 选为悬赏最佳答案。[/b]
[b]悬赏:[/b] [url={$boardurl}viewthread.php?tid={$thread[tid]}]{$thread[subject]}[/url]
[b]发表时间:[/b] {$thread[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forum[name]}[/url]
如果您对本操作有异议,请与作者取得联系。',
'modthreads_delete_subject' => '您发表的主题审核失败',
'modthreads_delete_message' => '这是由论坛系统自动发送的通知短消息。
[b]审核失败:[/b] 您发表的主题 [b][u] {$threadsubject} [/u][/b] 没有通过审核,现已被删除!
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'modthreads_validate_subject' => '您发表的主题已审核通过',
'modthreads_validate_message' => '这是由论坛系统自动发送的通知短消息。
[b]审核通过:[/b] 您发表的主题 [url={$boardurl}viewthread.php?tid={$tid}]{$threadsubject}[/url] 已经审核通过!
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'modreplies_delete_subject' => '您发表的回复审核失败',
'modreplies_delete_message' => '这是由论坛系统自动发送的通知短消息。
[b]审核失败:[/b] 您发表回复没有通过审核,现已被删除!
[b]所在主题:[/b] [url={$boardurl}viewthread.php?tid={$tid}]点此查看[/url]
[b]回复内容:[/b]
[quote]
$post
[/quote]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'modreplies_validate_subject' => '您发表的回复已审核通过',
'modreplies_validate_message' => '这是由论坛系统自动发送的通知短消息。
[b]审核通过:[/b] 您发表的回复已经审核通过。
[b]所在主题:[/b] [url={$boardurl}viewthread.php?tid={$tid}]点此查看[/url]
[b]回复内容:[/b]
[quote]
$post
[/quote]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'magics_sell_subject' => '您的道具成功出售',
'magics_sell_message' => '您的 {$magic[name]} 道具被 {$discuz_userss} 购买,获得收益 {$totalcredit}',
'magics_receive_subject' => '您收到好友送来的道具',
'magics_receive_message' => '你收到 {$discuz_userss} 送给你 {$magicarray[$magicid][name]} 道具,请到[url={$boardurl}magic.php]我的道具箱[/url]查收',
'reason_copy_subject' => '您发表的主题被执行复制操作',
'reason_copy_message' => '这是由论坛系统自动发送的通知短消息。
[b]以下您所发表的主题被 [url={$boardurl}space.php?uid={$discuz_uid}][i]{$discuz_userss}[/i][/url] 执行 {$modaction} 操作。[/b]
[b]主题:[/b] {$thread[subject]}
[b]发表时间:[/b] {$thread[dateline]}
[b]所在版块:[/b] [url={$boardurl}forumdisplay.php?fid={$fid}]{$forumname}[/url]
[b]复制后的主题:[/b] [url={$boardurl}viewthread.php?tid=$threadid]{$thread[subject]}[/url]
[b]操作理由:[/b] {$reason}
如果您对本管理操作有异议,请与我取得联系。',
'eccredit_subject' => '商品交易的对方已经评价,请回评',
'eccredit_message' => '这是由论坛系统自动发送的通知短消息。
[url={$boardurl}trade.php?orderid=$orderid]查看交易单[/url]
与您交易的 $discuz_userss 已经给您作了评价,请尽快评价对方。',
'buddy_new_subject' => '{$discuz_userss} 添加您为好友',
'buddy_new_message' => '这是由系统自动发送的通知短消息。
{$discuz_userss} 添加您为好友。
您可以[url={$boardurl}space.php?uid=$discuz_uid]点击这里[/url]查看他(她)的个人资料,或者[url={$boardurl}my.php?item=buddylist&newbuddyid={$discuz_uid}&buddysubmit=yes]把他(她)加为您的好友[/url]。',
'buddy_new_uch_message' => '这是由系统自动发送的通知短消息。
{$discuz_userss} 添加您为好友。
您可以[url={$boardurl}space.php?uid=$discuz_uid]点击这里[/url]查看他(她)的个人资料,或者[url={$boardurl}my.php?item=buddylist&newbuddyid={$discuz_uid}&buddysubmit=yes]把他(她)加为您的好友[/url]。
也可以[url={$uchomeurl}/space.php?uid={$discuz_uid}]点击这里[/url]查看他(她)的个人空间。',
'task_reward_subject' => '完成任务奖励通知',
'task_reward_credit_message' => '这是由论坛系统自动发送的通知短消息。
{$discuz_userss} 恭喜您完成任务 [url={$boardurl}task.php?action=view&id={$task[taskid]}]{$task[name]}[/url]
您已得到的积分奖励如下:
{$extcredits[$task[prize]][title]} {$task[bonus]} {$extcredits[$task[prize]][unit]}
[url={$boardurl}memcp.php?action=credits]点这里查看我的积分[/url] [url={$boardurl}memcp.php?action=creditslog&operation=creditslog]点这里查看积分收益记录[/url]
希望您再接再厉!',
'task_reward_magic_message' => '这是由论坛系统自动发送的通知短消息。
{$discuz_userss} 恭喜您完成任务 [url={$boardurl}task.php?action=view&id={$task[taskid]}]{$task[name]}[/url]
您已得到的道具奖励如下:
[url={$boardurl}magic.php]{$magicname}[/url] {$task[bonus]} 枚
希望您再接再厉!',
'task_reward_medal_message' => '这是由论坛系统自动发送的通知短消息。
{$discuz_userss} 恭喜您完成任务 [url={$boardurl}task.php?action=view&id={$task[taskid]}]{$task[name]}[/url]
您已得到的勋章奖励如下:
[url={$boardurl}medal.php]{$medalname}[/url] 有效期 {$task[bonus]} 天
希望您再接再厉!',
'task_reward_invite_message' => '这是由论坛系统自动发送的通知短消息。
{$discuz_userss} 恭喜您完成任务 [url={$boardurl}task.php?action=view&id={$task[taskid]}]{$task[name]}[/url]
您已得到的邀请码奖励如下:
共 [url={$boardurl}invite.php]{$task[prize]}[/url] 个 有效期 {$task[bonus]} 天
{$rewards}
希望您再接再厉!',
'task_reward_group_message' => '这是由论坛系统自动发送的通知短消息。
{$discuz_userss} 恭喜您完成任务 [url={$boardurl}task.php?action=view&id={$task[taskid]}]{$task[name]}[/url]
您已得到的特殊用户组奖励如下:
用户组 {$grouptitle} 有效期 {$task[bonus]} 天 [url={$boardurl}memcp.php?action=usergroups]点这里查看当前用户组[/url]
希望您再接再厉!',
);
?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/pms.lang.php
|
PHP
|
asf20
| 15,936
|
<h1>{lang mod_option_subject_report}</h1>
<div class="datalist">
<!--{if $modforums['fids']}-->
<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>
{lang reportpost_forums}
</div>
</form>
<!--{else}-->
<p>{lang mod_message_moderate_nopermission}</p>
<!--{/if}-->
<!--{if !empty($reportlist)}-->
<!--{if $reportlist[data]}-->
<form 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" />
<table cellspacing="0" cellpadding="0" class="datatable">
<thead class="colplural">
<tr>
<td width="8%"></td>
<th width="9%">{lang reportpost_type}</th>
<td width="13%">{lang reporter}</td>
<th width="20%">{lang reason}</th>
<th width="32%">{lang content}</th>
<td width="18%">{lang time}</td>
</tr>
</thead>
<!--{loop $reportlist[data] $report}-->
<tr class="{if $report['status']}new_report{/if} {echo swapclass('colplural')}">
<td><input type="checkbox" name="ids[]" value="$report[id]" class="checkbox" /></td>
<td>[<!--{if $report[type]}-->{lang reportpost_recommend}<!--{else}-->{lang reportpost_delate}<!--{/if}-->]</td>
<td>$report[username]</td>
<td>$report[reason]</td>
<td>
{lang author}: $report['author']<br />
{lang content}: <a href="redirect.php?goto=findpost&pid=$report[pid]&ptid=$report[tid]" target="_blank" title="$report[message]">$report[subject]</a> ...
</td>
<td>$report[dateline]</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="deletesubmit" value="yes" class="button" onclick="$('operation').value='delete'">{lang reportpost_delete}</button></td>
</tr>
</table>
</form>
<!--{else}-->
<p>{lang search_nomatch}</p>
<!--{/if}-->
<!--{if !empty($reportlist[pagelink])}--><div class="pages_btns">$reportlist[pagelink]</div><!--{/if}-->
<!--{/if}-->
</div>
<!--{if !empty($logids)}-->
<div class="notice">{lang mod_message_report_del}</div>
<!--{/if}-->
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/modcp_report.htm
|
HTML
|
asf20
| 2,825
|
<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/51shangcheng.cn/htdocs/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/51shangcheng.cn/htdocs/templates/default/my_tradestats.htm
|
HTML
|
asf20
| 4,047
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float" id="floatlayout_topicadmin">
<div class="floatboxnarrow">
<h3 class="float_ctrl">
<em id="return_report">{lang reportpost}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_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>
</div>
<script type="text/javascript" reload="1">
function submithandle_report(locationhref) {
floatwinreset = 1;
floatwin('close_report');
}
</script>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/reportpost.htm
|
HTML
|
asf20
| 1,725
|
<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>
</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/51shangcheng.cn/htdocs/templates/default/post_poll.htm
|
HTML
|
asf20
| 3,025
|
{subtemplate header}
<div id="nav">
<a href="$indexname">$bbname</a> » <a href="stats.php">{lang stats}</a> »
<!--{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}--> {$link} <!--{/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> <!--{/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] </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}--> {$link} <!--{/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> <!--{/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/51shangcheng.cn/htdocs/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 => '收发短消息',
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 => '使用版主权限',
211 => '修改系统设置',
254 => '无效的越权访问',
255 => '提示信息/页面跳转'
);
$language = array
(
'guest' => '游客'
);
?>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/actions.lang.php
|
PHP
|
asf20
| 1,597
|
<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/51shangcheng.cn/htdocs/templates/default/stats_navbar.htm
|
HTML
|
asf20
| 1,184
|
<!--{if $operation == 'buy' || $operation == 'down'}-->
{template header}
<div class="floatwin" id="floatwin_magics">
<div id="floatlayout_topicadmin" class="float">
<div class="floatboxnarrow">
<h3 class="float_ctrl">
<em><!--{if $operation == 'buy'}-->{lang magics_operation_buy}<!--{elseif $operation == 'down'}-->{lang magics_operation_down}<!--{/if}--></em>
<span><a title="{lang close}" onclick="floatwin('close_magics')" class="float_close" href="javascript:;">{lang close}</a></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="magicmain">
<table cellspacing="0" cellpadding="0" class="magicinfo">
<tr>
<td rowspan="6" valign="top" width="45%"><img src="images/magics/$magic[pic]" alt="$magic[name]"></td>
<td width="55%"><h5>$magic[name]</h5></td>
</tr>
<tr><td>$magic[description]</td></tr>
<tr><td>{lang magics_shop_num}: $magic[num] {lang magics_weight}: $magic[weight]</td></tr>
<tr><td>{lang magics_price}: <span class="magicprice">$magic[price]</span> $extcredits[$creditstransextra[3]][title]</td></tr>
</table>
</div>
<!--{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 fixedbtn" 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 fixedbtn" type="submit" name="downsubmit" value="true">{lang magics_operation_down}</button>
<!--{/if}-->
</div>
</form>
</div>
</div>
</div>
{template footer}
<!--{else}-->
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » <a href="magic.php">{lang magics_title}</a> » {lang magics_market}</div>
<div id="wrap" class="wrap with_side s_clear">
<div class="main">
<div class="content">
<div class="itemtitle s_clear">
<h1>{lang magics_market}</h1>
<ul>
<li<!--{if !$operation}--> class="current"<!--{/if}-->><a href="magic.php?action=market"><span>{lang all}</span></a></li>
<li<!--{if $operation == 'my'}--> class="current"<!--{/if}-->><a href="magic.php?action=market&operation=my"><span>{lang magics_market_my}</span></a></li>
</ul>
<button onclick="window.location='magic.php'" class="submit right">{lang return}</button>
</div>
<!--{if !$magicstatus && $adminid == 1}-->
<div class="channelinfo">{lang magics_tips}</div>
<!--{/if}-->
<!--{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>
<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&operation=buy&mid=$magic[mid]" onclick="floatwin('open_magics', this.href, 250, 365);return false;">{lang magics_operation_buy}</a>
<!--{else}-->
<a href="magic.php?action=market&operation=down&mid=$magic[mid]" onclick="floatwin('open_magics', this.href, 250, 365);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}-->
</div>
</div>
<div class="side">
{subtemplate personal_navbar}
</div>
</div>
{subtemplate footer}
<!--{/if}-->
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/magic_market.htm
|
HTML
|
asf20
| 5,811
|
<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="InFloat=InFloat_Editor;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="InFloat=InFloat_Editor;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 = is_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>
</div></div>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/post_debate.htm
|
HTML
|
asf20
| 1,587
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_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="float">
<div class="floatbox floatbox1">
<h3 class="float_ctrl">
<em id="return_$handlekey">{lang trade_displayorder}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_$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" onsubmit="ajaxpost('tradeform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;">
<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_costprice}</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['costprice'] > 0}-->
<del>$trade[costprice]</del> {lang payment_unit}
<!--{/if}-->
</td>
<td>$trade[price] {lang payment_unit}</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&fid=$thread[fid]&tid=$tid&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>
{lang trade_update_stickmax} $tradestick
</div>
</form>
</div>
</div>
<script type="text/javascript" reload="1">
function submithandle_$handlekey(locationhref) {
ajaxget('viewthread.php?tid=$attach[tid]&viewpid=$attach[pid]', 'post_$attach[pid]');
floatwinreset = 1;
floatwin('close_$handlekey');
}
</script>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/trade_displayorder.htm
|
HTML
|
asf20
| 3,461
|
{subtemplate header}
<div id="nav"><a href="$indexname">$bbname</a> » {lang memcp_profile}</div>
<div id="wrap" class="wrap with_side s_clear">
<div class="main">
<div class="content">
<script type="text/javascript" src="include/js/calendar.js?{VERHASH}"></script>
<script type="text/javascript" src="include/js/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() {
$('avatar').src='{echo discuz_uc_avatar($discuz_uid, 'middle', TRUE)}?random=1'+Math.random();
$('avatarctrl').style.display = 'none';
}
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>{eval $secchecktype = 3;}{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">
<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>
<p><a href="javascript:;" onclick="$('avatarctrl').style.display = '';">{lang memcp_profile_avatar_modify}</a></p>
</div>
<div id="avatarctrl" style="display: none"><script type="text/javascript">updateavatar();document.write(AC_FL_RunContent('{echo implode("','", $uc_avatarflash);}'));</script></div>
</td>
</tr>
<!--{if $secqaacheck || $seccodecheck}-->
<tr>
<th><label for="oldpassword">{lang memcp_profile_security_check}</label></th>
<td>{eval $secchecktype = 3;}{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" /></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']}--> $field[description]<!--{/if}-->
<!--{if $field['unchangeable']}--> {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']}--> $field[description]<!--{/if}-->
<!--{if $field['unchangeable']}--> {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" /></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}
<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>
<a href="{$boardurl}misc.php?action=imme_cancelbinding" target="_blank" class="emfont">{lang msn_imme_cancel}</a>
<!--{else}-->
{lang msn_imme_nobinding}
<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>
<a href="http://im.live.cn" target="_blank">{lang msn_download}</a>
<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>
<!--{if $typeid == 2}-->
<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>
<!--{/if}-->
<!--{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>{eval $secchecktype = 3;}{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>
{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 & Canada), Tijuana</option>
<option value="-7" $toselect[-7]>(GMT -07:00) Mountain Time (US & Canada), Arizona</option>
<option value="-6" $toselect[-6]>(GMT -06:00) Central Time (US & Canada), Mexico City</option>
<option value="-5" $toselect[-5]>(GMT -05:00) Eastern Time (US & 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 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}-->
<!--{if $typeid != 6}-->
<tr>
<th> </th>
<td><button type="submit" class="submit" name="editsubmit" id="editsubmit" value="true">{lang submit}</button></td>
</tr>
<!--{/if}-->
</table>
</form>
</div>
</div>
<div class="side">
{subtemplate personal_navbar}
</div>
</div>
{subtemplate footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/memcp_profile.htm
|
HTML
|
asf20
| 28,262
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div class="float">
<div class="floatbox">
<h3 class="float_ctrl">
<em id="return_$handlekey">{lang qihoo_custom_topics}</em>
<span>
<!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="floatwin('close_$handlekey')" title="{lang close}">{lang close}</a><!--{/if}-->
</span>
</h3>
<form id="customtopicsform" method="post" action="misc.php?action=customtopics&keywordsubmit=yes&infloat=yes" onsubmit="ajaxpost('customtopicsform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;">
<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> <button type="submit" name="close" value="true" onClick="window.close()">{lang close}</button></td>
</table>
</form>
</div>
</div>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/customtopics.htm
|
HTML
|
asf20
| 1,712
|
{template header}
<!--{if empty($infloat)}-->
{subtemplate header_nofloat}
<!--{/if}-->
<div id="floatlayout_magics" class="float">
<div class="floatboxnarrow" <!--{if $operation == 'use'}-->style="height:215px"<!--{elseif in_array($operation, array('give', 'drop', 'sell'))}-->style="height:165px"<!--{/if}-->>
<h3 class="float_ctrl">
<em>
<!--{if $operation == 'buy'}-->
{lang magics_operation_buy}
<!--{elseif $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="floatwin('close_magics')" class="float_close" href="javascript:;">{lang close}</a><!--{/if}--></span>
</h3>
<div class="postbox"><em id="return_magics"></em></div>
<form id="magicform" method="post" action="magic.php?action=index&infloat=yes" onsubmit="ajaxpost('magicform', 'return_magics', 'return_magics', 'onerror');return false;">
<div class="postbox">
<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 == 'buy'}-->
<div class="magicmain">
<table cellspacing="0" cellpadding="0" class="magicinfo">
<tr>
<td width="55%"><h5>$magic[name]</h5></td>
</tr>
<tr><td>{lang magics_weight}: $magic[weight] {lang magics_price}: <span class="magicprice">$magic[price]</span> $extcredits[$creditstransextra[3]][title]</td></tr>
<tr><td><!--{if $useperm}--><span class="magic_yes">{lang magics_permission_yes}</span><!--{else}--><span class="magic_no">{lang magics_permission_no}</span><!--{/if}-->{lang magics_item}</td></tr>
</table>
<!--{if $magic[type] == 1}-->
<p>{lang magics_permission_forum}: </p>
<p><!--{if $forumperm}-->$forumperm<!--{else}--> {lang magics_permission_allforum} <!--{/if}--></p>
<!--{/if}-->
<!--{if $magic[type] == 2}-->
<p>{lang magics_permission_group}: </p>
<p><!--{if $targetgroupperm}-->$targetgroupperm<!--{else}--> {lang magics_permission_allgroup} <!--{/if}--></p>
<!--{/if}-->
</div>
<div class="magicnum">
{lang magics_amount_buy}: <input name="magicnum" type="text" size="2" value="1" class="txt" />
<!--{if $allowmagics > 1 }-->
<input type="checkbox" name="checkgive" id="checkgive" value="0" onclick="$('showgive').style.display = $('showgive').style.display == 'none' ? '' : 'none'; this.value = this.value == 0 ? 1 : 0; this.checked = this.value == 0 ? false : true" /> <label for="checkgive">{lang magics_shop_present}</label>
<p id="showgive" style="display:none">
{lang magics_target_present}: <input name="tousername" type="text" size="12" class="txt" />
</p>
<!--{/if}-->
</div>
<input type="hidden" name="operatesubmit" value="yes" />
<button class="submit fixedbtn" type="submit" name="operatesubmit" id="operatesubmit" value="true" tabindex="101">{lang magics_operation_buy}</button>
<!--{elseif $operation == 'give'}-->
<div class="magicnum">
<p>{lang magics_num}: <input name="magicnum" type="text" size="12" value="1" class="txt" /></p>
<!--{if $allowmagics > 1 }-->
<p>{lang magics_target_present}: <input name="tousername" type="text" size="12" class="txt" /></p>
<!--{/if}-->
</div>
<input type="hidden" name="operatesubmit" value="yes" />
<button class="submit fixedbtn" type="submit" name="operatesubmit" id="operatesubmit" value="true" onclick="return confirm('{lang magics_confirm}');">{lang magics_operation_present}</button>
<!--{elseif $operation == 'use'}-->
<select name="magicid" onchange="floatwin('open_magics', 'magic.php?action=index&operation=use&infloat=yes&magicid='+this.options[this.selectedIndex].value, 250, 215)" class="chosemagic">
<option value="0">{lang magics_select}</option>
<!--{loop $magiclist $magic}-->
<option value="$magic[magicid]" $magicselect[$magic[magicid]] $magicselect[$magic[magicid]]>$magic[name] - $magic[description]</option>
<!--{/loop}-->
</select>
<!--{if $magicid}-->
{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>
<!--{/if}-->
<!--{elseif $operation == 'sell'}-->
<h5 class="magicnum">$magic[name]</h5>
<p>{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 confirm('{lang magics_confirm}');">{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 confirm('{lang magics_confirm}');">{lang magics_operation_drop}</button>
<!--{/if}-->
</div>
</form>
</div>
</div>
<script type="text/javascript" reload="1">
function messagehandle_magics(key) {
if(key != 0) {
$('magicform').style.display = 'none';
$('return_magics').className = 'onright';
}
}
</script>
<!--{if empty($infloat)}-->
{subtemplate footer_nofloat}
<!--{/if}-->
{template footer}
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/magic_opreation.htm
|
HTML
|
asf20
| 6,264
|
<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">
<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" />
<!--{eval $i=1; $j=0;}-->
<!--{loop $notelist $note}-->
<div class="notelist<!--{if $j%2==0}--> notelistbg<!--{/if}-->">
<!--{eval $j++;}-->
<div id="list_note_{$i}_c" class="c_header">
<h3 onclick="toggle_collapse('list_note_$i', 1, 1);">
$note[checkbox]<span> $note[admin] $note[dateline] ({lang expire}: $note[expiration] {lang days})</span>
</h3>
<div class="c_header_action">
<p class="c_header_ctrlbtn" onclick="toggle_collapse('list_note_$i', 1, 1);">[ {lang open} ]</p>
</div>
</div>
<div id="list_note_$i" class="notelistmsg">$note[message]</div>
<!--{eval $i++;}-->
</div>
<!--{/loop}-->
<!--{if $notelist}-->
<div class="notelistsubmit">
<input class="checkbox" type="checkbox" onclick="checkall($('notelist'), 'delete', 'ncheck')" name="ncheck">
<button type="submit" class="submit" name="submit" value="true">{lang modcp_home_adminnote_delete}</button>
</div>
<!--{else}-->
<div class="notelist notelistbg">
<div style="padding: 20px">{lang modcp_home_adminnote_nonexistence}</div>
</div>
<!--{/if}-->
</form>
</div>
|
zyyhong
|
trunk/jiaju001/51shangcheng.cn/htdocs/templates/default/modcp_home.htm
|
HTML
|
asf20
| 2,929
|
<?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/51shangcheng.cn/htdocs/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&fid=$fid&extra=$extra&url={echo urlencode($url)}&md5=$md5&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="include/js/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> » {lang qihoo_topics} » $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/51shangcheng.cn/htdocs/templates/default/topic.htm
|
HTML
|
asf20
| 3,712
|