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 !empty($plugins['jsmenu'])}--> <ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"> <!--{loop $plugins['jsmenu'] $module}--> <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--> <li>$module[url]</li> <!--{/if}--> <!--{/loop}--> </ul> <!--{/if}--> <!--{loop $subnavs $subnav}--> $subnav <!--{/loop}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/jsmenu.htm
HTML
asf20
429
<!--{if $pm[daterange]}--><li class="pm_date"><strong>$pm[daterange]</strong></li><!--{/if}--> <li id="pm_$pm[pmid]" class="s_clear {if $pm[msgfromid] == $discuz_uid}self{/if}"> <a name="pm_$pm[pmid]"></a> {if !$new && $pm[new]}<a name="new"></a>{eval $new = 1;}{/if} <a{if $msgfromurl && $pm[msgfromid] != $discuz_uid} href="$msgfromurl"{/if} class="avatar">{echo discuz_uc_avatar($pm[msgfromid], 'small');}</a> <p class="cite"> <cite><!--{if $pm[msgfromid] != $discuz_uid}-->$pm[msgfrom]<!--{else}-->$discuz_userss<!--{/if}--></cite> $pm[dateline] <!--{if $pm[new]}-->&nbsp;&nbsp;<img src="{IMGDIR}/notice_newpm.gif" alt="NEW" /><!--{/if}--> </p> <div class="summary">$pm[message]</div> <span class="action"> <a href="pm.php?action=new&pmid=$pm[pmid]" onclick="showWindow('sendpm', this.href);return false;">{lang forward}</a> </span> </li> <!--{if $inajax}--><script type="text/javascript" reload="1">appendpmnode();</script><!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/pm_node.htm
HTML
asf20
971
<!--{if $op == 'edit'}--> <div class="itemtitle s_clear"> <h1>{lang mod_announce_edit}</h1> <button class="right" onclick="history.go(-1);">{lang return}</button> </div> <!--{else}--> <h1>{lang announcement}</h1> <div class="c_header"> <h3 class="noarrow">{lang mod_announce_add}</h3> </div> <!--{/if}--> <div class="datalist"> <script type="text/javascript" src="{$jspath}calendar.js?{VERHASH}"></script> <form method="post" action="{$cpscript}?action=announcements&op=$op"> <input type="hidden" name="formhash" value="{FORMHASH}"> <input type="hidden" name="id" value="$announce[id]"> <input type="hidden" name="displayorder" value="$announce[displayorder]"> <table cellspacing="0" cellpadding="0" class="announcetable"> <thead> <tr> <th>{lang title}</th> <th>{lang mod_announce_type}</th> <th>{lang starttime}</th> <th>{lang endtime}</th> </tr> </thead> <tbody> <tr> <td class="anno_subject"><input type="text" name="subject" value="$announce[subject]" size="60" class="txt" /></td> <td class="anno_type"> <select name="type" onchange="changeinput(this.value)"> <option value="0" $announce[checked][0]>{lang mod_announce_type_text}</option> <option value="1" $announce[checked][1]>{lang mod_announce_type_url}</option> </select> <script type="text/javascript"> function changeinput(v){ if(v == 0) { $('annomessage').style.display = $('annomessage_editor').style.display = ''; $('anno_type_url').style.display = 'none'; } else { $('annomessage').style.display = $('annomessage_editor').style.display = 'none'; $('anno_type_url').style.display = ''; } } </script> </td> <td class="anno_time"> <p class="hasdropdownbtn"> <input type="text" onclick="showcalendar(event, this, false)" id="starttime" name="starttime" autocomplete="off" value="$announce[starttime]" class="txt" tabindex="1" /> <a href="javascript:;" class="dropdownbtn" onclick="showselect(this, 'starttime', 1)">^</a> </p> </td> <td class="anno_time"> <p class="hasdropdownbtn"> <input type="text" onclick="showcalendar(event, this, false)" id="endtime" name="endtime" autocomplete="off" value="$announce[endtime]" class="txt" tabindex="1" /> <a href="javascript:;" class="dropdownbtn" onclick="showselect(this, 'endtime', 1)">^</a> </p> </td> </tr> <tr> <td colspan="4" class="anno_msg"> <div class="editor_tb" id="annomessage_editor" style="width: 594px"{if $announce[checked][1]} style="display:none"{/if}> {eval $seditor = array('anno', array('bold', 'color', 'img', 'link'));} {subtemplate seditor} </div> <textarea name="message[0]" id="annomessage" rows="5" cols="80" class="txtarea"{if $announce[checked][1]} style="display:none"{/if} />$announce[message]</textarea> <input name="message[1]" id="anno_type_url" value="$announce[message]" class="txt"{if $announce[checked][0]} style="display:none"{/if} /> </td> </tr> <tr> <td colspan="4"><button type="submit" class="submit" name="submit" id="submit" value="true">{lang submit}</button></td> </tr> <!--{if $edit_successed}--> <tr><td colspan="4"><div class="notice">{lang mod_message_announce_edit}<script type="text/JavaScript">setTimeout("window.location.replace('{$cpscript}?action=announcements')", 2000);</script></div></td></tr> <!--{elseif $add_successed}--> <tr><td colspan="4"><div class="notice">{lang mod_message_announce_add}</div></td></tr> <!--{/if}--> </tbody> </table> </form> <!--{if $op != 'edit'}--> <div id="list_announce_c" class="c_header"> <h3 onclick="toggle_collapse('list_announce', 1, 1);">{lang mod_announce_list}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_announce', 1, 1);">[ {lang open} ]</p> </div> </div> <form method="post" action="{$cpscript}?action=announcements&op=manage"> <input type="hidden" name="formhash" value="{FORMHASH}"> <table id="list_announce" cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <th width="8%"></th> <th width="5%">{lang displayorder}</th> <th width="12%">{lang author}</th> <th>{lang title}</th> <th width="10%">{lang mod_announce_type}</th> <th width="12%">{lang starttime}</th> <th width="12%">{lang endtime}</th> <th width="6%">{lang action}</th> </tr> </thead> <!--{loop $annlist $ann}--> <tr $ann['disabled']> <td><input type="checkbox" name="delete[]" value="$ann[id]" $ann['disabled'] class="checkbox" /></td> <td><input type="text" name="order[{$ann[id]}]" value="$ann[displayorder]" size="3" $ann['disabled'] class="txt"></td> <td>$ann[author]</td> <td>$ann[subject]</td> <td>{if $ann[type] == 1}{lang link}{else}{lang text}{/if}</td> <td>$ann[starttime]</td> <td>$ann[endtime]</td> <td><a href="$cpscript?action=announcements&op=edit&id=$ann[id]">{lang edit}</a></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="7"><button type="submit" class="submit" name="submit" id="submit" value="true">{lang submit}</button></td> </tr> </table> </form> <!--{/if}--> </div> <!--{if !empty($delids)}--> <div class="notice">{lang mod_message_announce_del}</div> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/modcp_announcements.htm
HTML
asf20
5,750
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent"> <!--{if $type == 'extended'}--> <h3 class="float_ctrl"> <em id="return_$handlekey"><!--{if $join}-->{lang memcp_usergroups_joinbuy}<!--{else}-->{lang memcp_usergroups_exit}<!--{/if}--></em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form id="usergroupsform" class="postbox" method="post" action="memcp.php?action=usergroups&type=extended&edit=$edit&groupsubmit=yes{if !empty($infloat)}&infloat=yes{/if}"{if !empty($infloat)} onsubmit="ajaxpost('usergroupsform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;"{/if}> <input type="hidden" name="formhash" value="{FORMHASH}" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <table summary="{lang memcp_usergroups}" cellspacing="0" cellpadding="0" class="list"> <tr> <th>{lang memcp_usergroups_title}:</th> <td><strong>$group[grouptitle]</strong></td> </tr> <!--{if $join}--> <!--{if $group['dailyprice']}--> <tr> <th>{lang memcp_usergroups_dailyprice}:</th> <td>{$extcredits[$creditstrans][title]} $group[dailyprice] {$extcredits[$creditstrans][unit]}</td> </tr> <tr> <th>{lang memcp_usergroups_credit}:</th> <td>$usermaxdays {lang days}</td> </tr> <tr> <th>{lang memcp_usergroups_span}:</th> <td><input type="text" size="5" name="days" value="$group[minspan]" class="txt" style="width: 50px;" /> {lang days}</td> </tr> <tr> <th>{lang memcp_usergroups_explain}:</th> <td> <!--{if $join}--> {lang memcp_usergroups_join_comment} <!--{else}--> {lang memcp_usergroups_exit_comment} <!--{/if}--> </td> </tr> <!--{else}--> <tr> <th>{lang memcp_usergroups_explain}:</th> <td>{lang memcp_usergroups_free_comment}</td> </tr> <!--{/if}--> <!--{else}--> <tr> <th>{lang memcp_usergroups_explain}:</th> <td> <!--{if $group[type] != 'special' || $group[system]=='private'}--> {lang memcp_usergroups_admin_exit_comment} <!--{elseif $group['dailyprice']}--> {lang memcp_usergroups_exit_comment} <!--{else}--> {lang memcp_usergroups_open_exit_comment} <!--{/if}--> </td> </tr> <!--{/if}--> <tr> <th></th> <td><button type="submit" class="submit" name="groupsubmit" id="groupsubmit" value="true" tabindex="2">{lang submit}</button></td> </tr> </table> </form> <!--{/if}--> <!--{if $type=='main'}--> <h3 class="float_ctrl"> <em id="return_$handlekey">{lang memcp_usergroups_set_main}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form method="post" action="memcp.php?action=usergroups&type=main&edit=$edit&groupsubmit=yes&infloat=yes"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <input type="hidden" name="edit" value="$edit" /> <table summary="{lang memcp_usergroups}" cellspacing="0" cellpadding="0" class="list"> <tr> <td>{lang memcp_usergroups_main_old}</td> <td>$grouptitle</td> </tr> <tr> <td>{lang memcp_usergroups_main_new}</td> <td>$group[grouptitle]</td> </tr> <tr> <td>{lang memcp_usergroups_explain}:</td> <td>{lang memcp_usergroups_main_comment}</td> </tr> <!--{if !$group[allowmultigroups]}--> <tr> <th>{lang memcp_usergroups_alert}</th> <td>{lang memcp_usergroups_main_alert}</td> </tr> <!--{/if}--> <tr> <th></th> <td><button type="submit" class="submit" name="groupsubmit" id="groupsubmit" value="true" tabindex="2">{lang submit}</button></td> </tr> </table> </form> <!--{/if}--> </div> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/memcp_usergroups_misc.htm
HTML
asf20
4,530
{subtemplate header} <!--{if $forum['ismoderator']}--> <script type="text/javascript" src="{$jspath}moderate.js?{VERHASH}"></script> <!--{/if}--> <div id="nav"><a id="fjump" href="$indexname"{if $forumjump == 1} class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})"{/if}>$bbname</a> $navigation</div> <!--{if $admode && !empty($advlist['text'])}--> <div id="ad_text" class="ad_text" > <table summary="Text Ad" cellpadding="0" cellspacing="0">$advlist[text]</table> </div> <!--{else}--> <div id="ad_text"></div> <!--{/if}--> <div id="wrap"{if $infosidestatus['allow'] < 2} class="wrap s_clear"{else} class="wrap with_side s_clear"{/if}> <!--{if $infosidestatus[allow] == 2}--> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['{lang sidebar_collapsed_yes}', '{lang sidebar_collapsed_no}']);" class="$collapseimg[sidebar]"><!--{if $collapseimg[sidebar] == 'collapsed_yes'}-->{lang sidebar_collapsed_yes}<!--{else}-->{lang sidebar_collapsed_no}<!--{/if}--></a> <!--{elseif $infosidestatus[allow] == 1}--> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['', '{lang sidebar_collapsed_no}']);" class="collapsed_yes">{lang sidebar_collapsed_yes}</a> <!--{/if}--> <div class="main"> <div class="content"> $pluginhooks[forumdisplay_header] <div id="forumheader" class="s_clear"> <h1 style="{if $forum[extra][namecolor]}color: {$forum[extra][namecolor]};{/if}">$forum[name]</h1> <p class="forumstats">[ <strong>$forum[threads]</strong> {lang thread} / {echo $forum[posts]-$forum[threads]} {lang reply} ]</p> <div class="forumaction"> <div class="right"> $pluginhooks[forumdisplay_forumaction] <!--{if $discuz_uid}--> <a href="my.php?item=attention&type=forum&action=add&fid=$fid" id="ajax_attention" class="attention" onclick="ajaxmenu(this);doane(event);">{lang attention_forum}</a> <a href="my.php?item=favorites&amp;fid=$fid" id="ajax_favorite" onclick="ajaxmenu(this);doane(event);">{lang thread_favorite}</a> <!--{/if}--> <!--{if $rssstatus}--><a href="rss.php?fid=$fid&amp;auth=$rssauth" target="_blank" class="feed">RSS</a><!--{/if}--> </div> <!--{if $forum['recyclebin'] && $forum['ismoderator']}--> <a href="{if $adminid == 1}admincp.php?action=recyclebin&amp;frames=yes{elseif $forum['ismoderator']}modcp.php?action=recyclebins&amp;fid=$fid{/if}" class="recyclebin" target="_blank">{lang forum_recyclebin}</a> <!--{/if}--> </div> <!--{if $forum[description]}--><p class="channelinfo">{lang forum_description}: $forum[description]</p><!--{/if}--> <p id="modedby"> <!--{if $forum['ismoderator']}--> <div class="modlink"> $pluginhooks[forumdisplay_modlink] <!--{if $forum['modworks']}--> <!--{if $reportnum}--><a href="modcp.php?action=report&fid=$fid" target="_blank">{lang mod_works_report_existence}</a> |<!--{/if}--> <!--{if $modnum}--><a href="modcp.php?action=moderate&op=threads&fid=$fid" target="_blank">{lang mod_works_modpost_existence}</a> |<!--{/if}--> <!--{if $modusernum}--><a href="modcp.php?action=moderate&op=members&fid=$fid" target="_blank">{lang mod_works_moduser_existence}</a> |<!--{/if}--> <!--{/if}--> <a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a> </div> <!--{/if}--> {lang forum_modedby}: <!--{if $moderatedby}-->$moderatedby<!--{else}-->{lang forum_opening}<!--{/if}--> </p> </div> $pluginhooks[forumdisplay_top] <!--{if $forum['recommendlist'] || $forum['rules']}--> <div id="modarea" class="s_clear"> <div class="list"> <span class="headactions"><img onclick="toggle_collapse('modarea_c');" alt="{lang spread}" title="{lang spread}" src="{IMGDIR}/$collapseimg[modarea_c].gif" id="modarea_c_img" class="toggle" /></span> <h3> <!--{if $forum['recommendlist']}--> <a href="javascript:;" id="tab_1" class="current" {if $forum['rules']} onclick="switchTab('tab', 1, 2)"{/if}>{lang forum_recommend}</a><!--{if $forum['ismoderator'] && $allowrecommendthread}--><a href="modcp.php?action=forums&op=recommend&show=all&fid=$fid" target="_blank">[{lang edit}]</a><!--{/if}--> <!--{/if}--> <!--{if $forum['recommendlist'] && $forum['rules']}--><span class="pipe">|</span><!--{/if}--><!--{if $forum['rules']}--><a href="javascript:;" id="tab_2"{if !$forum['recommendlist']} class="current"{/if} {if $forum['recommendlist']} onclick="switchTab('tab', 2, 2)"{/if}>{lang forum_rules}</a><!--{/if}--> </h3> </div> <div id="modarea_c" style="$collapse[modarea_c]"> <!--{if $forum['recommendlist']}--> <div id="tab_c_1"> {subtemplate recommend} </div> <!--{/if}--> <!--{if $forum['rules']}--> <div id="tab_c_2"{if $forum['recommendlist']} style="display:none"{/if} class="rule">$forum[rules]</div> <!--{/if}--> </div> </div> <!--{/if}--> <!--{if $subexists}--> <div id="subforum" class="mainbox list">{template forumdisplay_subforum}</div> <!--{/if}--> $pluginhooks[forumdisplay_middle] <div class="pages_btns s_clear"> $multipage <span <!--{if $visitedforums}-->id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"<!--{/if}--> class="pageback"><a href="$indexname">{lang return_index}</a></span> <span class="postbtn" id="newspecial" prompt="post_newthread" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&fid=$fid"{if !$forum['allowspecialonly']} onclick="showWindow('newthread', this.href);return false;"{/if}>{lang send_posts}</a></span> </div> <div class="threadtype"> <!--{if $forum['threadsorts']}--> <p> <!--{loop $forum['threadsorts']['flat'] $id $name}--><!--{if $sortid != $id}--><a href="forumdisplay.php?fid=$fid&amp;filter=sort&amp;sortid=$id$typeadd">$name</a><!--{else}--><strong>$name</strong><!--{/if}--> <!--{/loop}--> <!--{if $forum['threadsorts']['selectbox']}--> <span id="threadsortsmenu" class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})">{lang admin_type_more}</span> <div class="popupmenu_popup headermenu_popup" id="threadsortsmenu_menu" style="display: none"> <ul> <!--{loop $forum['threadsorts']['selectbox'] $id $name}--> <li> <!--{if $sortid != $id}--> <a href="forumdisplay.php?fid=$fid&filter=sort&sortid=$id$typeadd">$name</a> <!--{else}--> <strong>$name</strong> <!--{/if}--> </li> <!--{/loop}--> </ul> </div> <!--{/if}--> </p> <!--{/if}--> </div> <div class="dtypebox"> <!--{if $quicksearchlist['search']}--> <form method="post" name="searhsort" id="searhsort" action="forumdisplay.php?fid=$fid&filter=sort&sortid=$sortid"> <ul class="dtypeoption"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <!--{loop $_DTYPE $optionid $option}--> <!--{if $option['search']}--> <li> <strong>$option[title]:</strong> <!--{if in_array($option['type'], array('radio', 'checkbox', 'select'))}--> <!--{if $option[type] == 'select'}--> <select name="searchoption[$optionid][value]"> <option value="0">{lang unlimited}</option> <!--{loop $option['choices'] $id $value}--> <option value="$id" {if $searchoption[$optionid][value] == $id}selected="selected"{/if}>$value</option> <!--{/loop}--> </select> <input type="hidden" name="searchoption[$optionid][type]" value="select"> <!--{elseif $option['type'] == 'radio'}--> <input type="radio" class="radio" name="searchoption[$optionid][value]" value="0" checked="checked"]> {lang unlimited} &nbsp; <!--{loop $option['choices'] $id $value}--> <input type="radio" class="radio" name="searchoption[$optionid][value]" value="$id" {if $searchoption[$optionid][value] == $id}checked="checked"{/if}> $value &nbsp; <!--{/loop}--> <input type="hidden" name="searchoption[$optionid][type]" value="radio"> <!--{elseif $option['type'] == 'checkbox'}--> <!--{loop $option['choices'] $id $value}--> <input type="checkbox" class="checkbox" name="searchoption[$optionid][value][$id]" value="$id" {if $searchoption[$optionid][value][$id]}checked="checked"{/if}> $value <!--{/loop}--> <input type="hidden" name="searchoption[$optionid][type]" value="checkbox"> <!--{/if}--> <!--{elseif in_array($option['type'], array('number', 'text', 'email', 'calendar', 'image', 'url', 'textarea'))}--> <!--{if $option['type'] == 'calendar'}--> <script type="text/javascript" src="{$jspath}calendar.js?{VERHASH}"></script> <input type="text" name="searchoption[$optionid][value]" size="15" value="$searchoption[$optionid][value]" onclick="showcalendar(event, this, false)" /> <!--{elseif $option['type'] == 'number'}--> <select name="searchoption[$optionid][condition]"> <option value="0" {if $searchoption[$optionid][condition] == 0}selected="selected"{/if}>{lang equal_to}</option> <option value="1" {if $searchoption[$optionid][condition] == 1}selected="selected"{/if}>{lang more_than}</option> <option value="2" {if $searchoption[$optionid][condition] == 2}selected="selected"{/if}>{lang lower_than}</option> </select>&nbsp;&nbsp; <input type="text" name="searchoption[$optionid][value]" size="15" value="$searchoption[$optionid][value]" /> <input type="hidden" name="searchoption[$optionid][type]" value="number"> <!--{else}--> <input type="text" name="searchoption[$optionid][value]" size="15" value="$searchoption[$optionid][value]" /> <!--{/if}--> <!--{/if}--> $option[unit] </li> <!--{/if}--> <!--{/loop}--> <li><input type="submit" name="searchsortsubmit" value="{lang search}"></li> </ul> </form> <!--{/if}--> <!--{if $quicksearchlist['option']}--> <div class="dtypeqsearch"> <h5>{lang quicksearch}: </h5> <!--{loop $quicksearchlist['option'] $selectoptionid $option}--> <ul class="itemfilter s_clear"> <li>$option[title]:</li> <li{if $$option[identifier] == 'all'} class="current"{/if}><a href="forumdisplay.php?fid=$fid$filterurladd&$sorturladd[$option[identifier]]&$option[identifier]=all$forumdisplayadd"><span>{lang forum_viewall}</span></a></li> <!--{loop $option['choices'] $id $value}--> <li{if $$option[identifier] && $id == $$option[identifier]} class="current"{/if}><a href="forumdisplay.php?fid=$fid$filterurladd&$option[identifier]=$id$sorturladd[$option[identifier]]$forumdisplayadd"><span>$value</span></a></li> <!--{/loop}--> </ul> <!--{/loop}--> </div> <!--{/if}--> </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"{/if} cellspacing="0" cellpadding="0" class="datatable fixtable"> <thead class="colplural"> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <!--{if $forum['ismoderator']}--><td class="icon">&nbsp;</td><!--{/if}--> <th> <ul class="itemfilter s_clear"> <li>{lang thread}:</li> <li{if !$filter && !$sortid} class="current"{/if}><a href="forumdisplay.php?fid=$fid&sortid=all"><span>{lang all}</span></a></li> <li class="pipe">|</li> <li>{lang dateline_range}:</li> <li{if $filter == 86400} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=86400$typeadd$sortadd$optionadd"><span>{lang last_1_days}</span></a></li> <li{if $filter == 172800} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=172800$typeadd$sortadd$optionadd"><span>{lang last_2_days}</span></a></li> <li{if $filter == 604800} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=604800$typeadd$sortadd$optionadd"><span>{lang last_7_days}</span></a></li> <li{if $filter == 2592000} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=2592000$typeadd$sortadd$optionadd"><span>{lang last_30_days}</span></a></li> <li{if $filter == 7948800} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=7948800$typeadd$sortadd$optionadd"><span>{lang last_90_days}</span></a></li> </ul> </th> <td class="author"><a href="forumdisplay.php?fid={$fid}&filter=$filter&orderby=dateline$typeadd$sortadd$optionadd" class="order {if $orderby == 'dateline'}order_active{/if}">{lang author}/{lang time}</a></td> </tr> </thead> <!--{if $page == 1 && !empty($announcement)}--> <tbody> <tr> <td class="folder"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td> <td class="icon">&nbsp;</td> <!--{if $forum['ismoderator']}--><td class="icon">&nbsp;</td><!--{/if}--> <th class="subject"><strong>{lang announcement}: <!--{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><!--{/if}--></strong></th> <td class="author"> <cite><a href="space.php?uid=$announcement[authorid]">$announcement[author]</a></cite> <em>$announcement[starttime]</em> </td> </tr> </tbody> <!--{/if}--> <!--{if $threadcount}--> <!--{loop $threadlist $key $thread}--> <!--{if $forumseparator == 1 && $separatepos == $key + 1}--> <tbody> <tr> <td class="folder"></td><td>&nbsp;</td> <!--{if $forum['ismoderator']}--><td>&nbsp;</td><!--{/if}--> <th class="subject">{lang forum_thread}</th><td>&nbsp;</td> </tr> </tbody> <!--{/if}--> <tbody id="$thread[id]"> <tr> <td class="folder"> <a href="viewthread.php?tid=$thread[tid]&amp;extra=$extra" title="{lang target_blank}" target="_blank"> <!--{if $thread[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}--> <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$threadsticky[3-$thread[displayorder]]" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$thread[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <!--{if $thread['special'] == 1}--> <a href="forumdisplay.php?fid=$fid&amp;filter=poll"><img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" /></a> <!--{elseif $thread['special'] == 2}--> <a href="forumdisplay.php?fid=$fid&amp;filter=trade"><img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" /></a> <!--{elseif $thread['special'] == 3}--> <a href="forumdisplay.php?fid=$fid&amp;filter=reward"><img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" <!--{if $thread['price'] < 0}-->class="solved"<!--{/if}--> /></a> <!--{elseif $thread['special'] == 4}--> <a href="forumdisplay.php?fid=$fid&amp;filter=activity"><img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" /></a> <!--{elseif $thread['special'] == 5}--> <a href="forumdisplay.php?fid=$fid&amp;filter=debate"><img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" /></a> <!--{else}--> $thread['icon'] <!--{/if}--> </td> <!--{if $forum['ismoderator']}--> <td class="icon"> <!--{if $thread['fid'] == $fid && $thread['digest'] >= 0}--> <!--{if $thread['displayorder'] <= 3 || $adminid == 1}--> <input onclick="tmodclick(this)" class="checkbox" type="checkbox" name="moderate[]" value="$thread[tid]" /> <!--{else}--> <input class="checkbox" type="checkbox" disabled="disabled" /> <!--{/if}--> <!--{else}--> <input class="checkbox" type="checkbox" disabled="disabled" /> <!--{/if}--> </td> <!--{/if}--> <th class="subject $thread[folder]"> <label>{$pluginhooks[forumdisplay_thread][$key]}&nbsp;</label> <!--{if $thread['moved']}--> <!--{if $forum['ismoderator']}--> <a href="topicadmin.php?action=moderate&optgroup=3&operation=delete&tid=$thread[moved]" onclick="showWindow('mods', this.href);return false">{lang thread_moved}:</a> <!--{else}--> {lang thread_moved}: <!--{/if}--> <!--{/if}--> <span id="thread_$thread[tid]"> <a href="viewthread.php?tid=$thread[tid]&amp;extra=$extra"$thread[highlight]> $thread[subject]&nbsp; <!--{if $stemplate}--> $stemplate[$thread[tid]] <!--{elseif $sortthreadlist}--> <!--{loop $sortthreadlist[$thread[tid]] $title $value}--> {$title}: {$value}&nbsp; <!--{/loop}--> <!--{/if}--> </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['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['displayorder'] == 0}--> <!--{if $thread[recommendicon]}--> <img src="{IMGDIR}/recommend_$thread[recommendicon].gif" class="attach" alt="{lang thread_recommend}" title="{lang thread_recommend}" /> <!--{/if}--> <!--{if $thread[heatlevel]}--> <img src="{IMGDIR}/hot_$thread[heatlevel].gif" class="attach" alt="$thread[heatlevel] {lang heats}" title="$thread[heatlevel] {lang heats}" /> <!--{/if}--> <!--{if $thread['digest'] > 0}--> <img src="{IMGDIR}/digest_$thread[digest].gif" class="attach" alt="{lang thread_digest} $thread[digest]" title="{lang thread_digest} $thread[digest]" /> <!--{/if}--> <!--{if $thread['rate'] > 0}--> <img src="{IMGDIR}/agree.gif" class="attach" alt="{lang rate_credit_add}" title="{lang rate_credit_add}" /> <!--{/if}--> <!--{/if}--> <!--{if $thread[multipage]}--> <span class="threadpages">$thread[multipage]</span> <!--{/if}--> </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]">{lang anonymous}</a> <!--{else}--> {lang anonymous} <!--{/if}--> <!--{/if}--> </cite> <em>$thread[dateline]</em> </td> </tr> </tbody> <!--{/loop}--> <!--{else}--> <tbody><tr><th colspan="{if $adminid == 1}5{else}4{/if}"><p class="nodata">{lang forum_nothreads}</p></th></tr></tbody> <!--{/if}--> </table> <!--{if $forum['ismoderator'] && $threadcount}--> {template topicadmin_modlayer} <!--{/if}--> </form> </div> <div class="pages_btns s_clear"> $multipage <span <!--{if $visitedforums}-->id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"<!--{/if}--> class="pageback"><a href="$indexname">{lang return_index}</a></span> <span class="postbtn" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&fid=$fid"{if !$forum['allowspecialonly']} onclick="showWindow('newthread', this.href);return false;"{/if}>{lang send_posts}</a></span> </div> <!--{if $whosonlinestatus}--> <dl id="onlinelist"> <!--{if $detailstatus}--> <dd> <span class="headactions"><a href="forumdisplay.php?fid=$fid&filter=sort&amp;sortid=$sortid&amp;page=$page&amp;showoldetails=no#online"><img src="{IMGDIR}/collapsed_no.gif" alt="" /></a></span> <h3>{lang forum_activeusers}</h3> </dd> <dd> <ul class="s_clear"> <!--{loop $whosonline $key $online}--> <li title="{lang time}: $online[lastactivity]{LF} {lang action}: $online[action]{LF} {lang forum}: $forumname"> <img src="images/common/$online[icon]" alt="" /> <!--{if $online['uid']}--> <a href="space.php?uid=$online[uid]">$online[username]</a> <!--{else}--> $online[username] <!--{/if}--> </li> <!--{/loop}--> </ul> </dd> <!--{else}--> <dt> <span class="headactions"><a href="forumdisplay.php?fid=$fid&filter=sort&amp;sortid=$sortid&amp;page=$page&amp;showoldetails=yes#online" class="nobdr"><img src="{IMGDIR}/collapsed_yes.gif" alt="" /></a></span> <h3>{lang forum_activeusers}</h3> </dt> <!--{/if}--> </dl> <!--{/if}--> $pluginhooks[forumdisplay_bottom] </div> </div> <!--{if $infosidestatus[allow] == 2}--> <div id="sidebar" class="side" style="$collapse[sidebar]"> <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 2)}--> <div id="qihoosearch" class="sidebox"> <form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';"> <input type="hidden" name="searchsubmit" value="yes" /> <input type="text" class="txt" name="srchtxt" size="20" value="$qihoo_searchboxtxt" /> &nbsp;<button type="submit">{lang search}</button> </form> </div> <!--{/if}--> <!--{if $infosidestatus[0]}--> <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 2)}--> <hr class="shadowline"/> <!--{/if}--> <div id="infoside"> {eval request($infosidestatus, 1, 0);} </div> <!--{/if}--> </div> <!--{/if}--> <!--{if $allowpost && ($allowposttrade || $allowpostpoll || $allowpostreward || $allowpostactivity || $allowpostdebate || $threadplugins || $forum['threadsorts'])}--> <ul class="popupmenu_popup postmenu" id="newspecial_menu" style="display: none"> <!--{if !$forum['allowspecialonly']}--><li><a href="post.php?action=newthread&fid=$fid" onclick="showWindow('newthread', this.href);doane(event)">{lang post_newthread}</a></li><!--{/if}--> <!--{if $allowpostpoll}--><li class="poll"><a href="post.php?action=newthread&fid=$fid&special=1">{lang post_newthreadpoll}</a></li><!--{/if}--> <!--{if $allowpostreward}--><li class="reward"><a href="post.php?action=newthread&fid=$fid&special=3">{lang post_newthreadreward}</a></li><!--{/if}--> <!--{if $allowpostdebate}--><li class="debate"><a href="post.php?action=newthread&fid=$fid&special=5">{lang post_newthreaddebate}</a></li><!--{/if}--> <!--{if $allowpostactivity}--><li class="activity"><a href="post.php?action=newthread&fid=$fid&special=4">{lang post_newthreadactivity}</a></li><!--{/if}--> <!--{if $allowposttrade}--><li class="trade"><a href="post.php?action=newthread&fid=$fid&special=2">{lang post_newthreadtrade}</a></li><!--{/if}--> <!--{if $threadplugins}--> <!--{loop $forum['threadplugin'] $tpid}--> <!--{if array_key_exists($tpid, $threadplugins) && @in_array($tpid, $allowthreadplugin)}--> <li class="popupmenu_option"{if $threadplugins[$tpid][icon]} style="background-image:url($threadplugins[$tpid][icon])"{/if}><a href="post.php?action=newthread&fid=$fid&specialextra=$tpid">{$threadplugins[$tpid][name]}</a></li> <!--{/if}--> <!--{/loop}--> <!--{/if}--> <!--{if $forum['threadsorts'] && !$forum['allowspecialonly']}--> <!--{loop $forum['threadsorts']['types'] $id $threadsorts}--> <!--{if $forum['threadsorts']['show'][$id]}--> <li class="popupmenu_option"><a href="post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;sortid=$id">$threadsorts</a></li> <!--{/if}--> <!--{/loop}--> <!--{loop $forum['typemodels'] $id $model}--> <li class="popupmenu_option"><a href="post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;modelid=$id">$model[name]</a></li> <!--{/loop}--> <!--{/if}--> </ul> <!--{/if}--> <ul class="popupmenu_popup headermenu_popup filter_popup" id="filtertype_menu" style="display: none;"> <li><a href="forumdisplay.php?fid=$fid">{lang forum_viewall}</a></li> <!--{if $showpoll}--><li {if $filter == 'poll'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=poll">{lang thread_poll}</a></li><!--{/if}--> <!--{if $showtrade}--><li {if $filter == 'trade'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=trade">{lang thread_trade}</a></li><!--{/if}--> <!--{if $showreward}--><li {if $filter == 'reward'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=reward">{lang thread_reward}</a></li><!--{/if}--> <!--{if $showactivity}--><li {if $filter == 'activity'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=activity">{lang thread_activity}</a></li><!--{/if}--> <!--{if $showdebate}--><li {if $filter == 'debate'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=debate">{lang thread_debate}</a></li><!--{/if}--> <!--{if $threadplugins}--> <!--{loop $forum['threadplugin'] $tpid}--> <!--{if array_key_exists($tpid, $threadplugins) && @in_array($tpid, $allowthreadplugin)}--> <li {if $filter == 'special' && $extraid == $tpid}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=special&extraid=$tpid">{$threadplugins[$tpid][name]}</a></li> <!--{/if}--> <!--{/loop}--> <!--{/if}--> </ul> <!--{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}--> <!--{if $maxpage > 1}--> <script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, {if $page > 1}1{else}0{/if}, {if $page < $maxpage}1{else}0{/if}, 'forumdisplay.php?fid=$fid$forumdisplayadd', $page);}</script> <!--{/if}--> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/forumdisplay_sort.htm
HTML
asf20
26,921
{template header} <div style="width: 400px" class="popupmenu_option" id="ajax_explain_menu"> <p style="overflow:hidden"><a href="javascript:;" onclick="hideMenu()" class="deloption" style="float:right"><img align="right" src="{IMGDIR}/close.gif" /></a></p> <form method="post" id="explainform_$id" action="eccredit.php?action=explain&explainsubmit=yes"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="id" value="$id" /> <textarea name="explanation" rows="5" cols="50" class="txtarea" style="width:98%" /></textarea><br /><br /> <button class="submit" type="button" name="explainsubmit" value="true" onclick="ajaxpost('explainform_$id', '$ajaxmenuid')">{lang submit}</button> </form> </div> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/ec_explain.htm
HTML
asf20
768
{template header} <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_mods"> <!--{if $mod == 'delete'}-->{lang delete}<!--{elseif $mod == 'ignore'}-->{lang ignore}<!--{elseif $mod=='invalidate'}-->{lang invalidate}<!--{else}-->{lang validate}<!--{/if}--> <!--{if $op == 'members'}-->{lang mod_moderate_member}<!--{elseif $op == 'threads'}-->{lang mod_moderate_thread}<!--{elseif $op == 'replies'}-->{lang mod_moderate_reply}<!--{/if}--> ({echo count($list)})</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('mods')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <div class="postbox"> <!--{if $list}--> <form id="moderateform" method="post" action="{$cpscript}?action=$action&op=$op&modsubmit=yes&infloat=yes" onsubmit="ajaxpost('moderateform', 'return_mods', 'return_mods', 'onerror');return false;"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="filter" value="$filter" /> <input type="hidden" name="mod" value="$mod" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <!--{loop $list $id}--> <input type="hidden" name="moderate[]" value="$id" /> <!--{/loop}--> <p>{lang mod_moderate_reason}: </p> <p><textarea class="txtarea" style="margin:5px 0;" cols="60" rows="3" name="reason"></textarea></p> <p> <button type="submit" class="submit" name="modsubmit" id="modsubmit" value="true" tabindex="2">{lang submit}</button> <!--{if $op=='members'}--> <input type="checkbox" name="sendemail" id="sendemail" value="1" /> <label for="sendemail">{lang mod_moderate_member_sendemail}</label><!--{/if}--> </p> </form> <!--{else}--> {lang mod_moderate_nonexistence} <!--{/if}--> </div> </div> <script type="text/javascript" reload="1"> function submithandle_$handlekey(locationhref) { <!--{loop $list $id}--> $('pidcheck_$id').parentNode.removeChild($('pidcheck_$id')); $('pid_$id').style.display = 'none'; <!--{/loop}--> recountobj(); hideWindow('mods'); } </script> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/modcp_moderate_float.htm
HTML
asf20
2,184
$activity[class]: $thread[subject] {echo "\n";} {lang activity_starttime}: {if $activity['starttimeto']}{lang activity_start_between}{else}$activity[starttimefrom]{/if} {echo "\n";} {lang activity_space}: $activity[place] {echo "\n";} {lang activity_payment}: $activity[cost] {lang payment_unit} {echo "\n";} {lang gender}: {if $activity['gender'] == 1}{lang male}{elseif $activity['gender'] == 2}{lang female}{else}{lang unlimited}{/if} {echo "\n";} {if $activity['expiration']}{lang activity_totime}: $activity[expiration]{/if} {echo "\n";} {lang activity_already}: $applynumbers {lang activity_member_unit} {echo "\n\n";} $activity[message] {echo "\n\n";} {lang activity_join_members},{lang activity_linkman},{lang leaveword},{lang activity_payment},{lang activity_jointime},{lang status} {echo "\n";} <!--{loop $applylist $apply}--> $apply[username],$apply[contact],$apply[message],{if $apply[payment] >= 0}$apply[payment] {lang payment_unit}{else}{lang activity_self}{/if},$apply[dateline],{if $apply[verified]}{lang activity_allow_join}{else}{lang activity_cant_audit}{/if} {echo "\n";} <!--{/loop}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/activity_export.htm
HTML
asf20
1,130
<style type="text/css"> .uappmain { background: #FFF url(manyou/images/uappbg.gif) repeat-y scroll -50px 0} .content { background:; padding: 20px 5px; } .uapplist { float: left; width: 120px; } .uapplist ul { margin: auto; width: 110px; } .uapplist li { margin: 0 0 12px; width: 110px; height: 20px; line-height: 21px; overflow: hidden; position: relative; } .uapplist li a { color: {HIGHLIGHTLINK}; } .uapplist li img { margin: 0 5px 0 0; vertical-align: middle; } .uappframe { margin-left: 130px; } .uappfeed li{ padding: 10px 0px 10px 20px; border-bottom: 1px solid {COMMONBORDER}; overflow: hidden; } .uappfeed li a { color: {HIGHLIGHTLINK}; } .apptype { margin: 1px 0 0 -20px !important; position: absolute; } .uappfeed li em { float: right; color: {MIDTEXT}; } .feed_content { padding: 6px 0 0 0; color: {LIGHTTEXT}; } .uappfeed .quote { color: {MIDTEXT}; } .topic_list { margin-bottom: 8px; *width: 99%; } .topic_list td { border-bottom: 1px solid {COMMONBORDER}; padding-top: 4px; } .topic_list td br { height: 8px; line-height: 8px; font-size: 1px; } .topic_list td a { color: {HIGHLIGHTLINK}; } .buttons .submit { background: none; border: none; color: {HIGHLIGHTLINK}; cursor: pointer; } .avatar48 img{ margin: 5px 20px; width: 48px; height: 48px; } </style> <!--{if $script == 'user'}--> <script type="text/javascript"> function my_sync_tip(msg, close_time) {; $('appsetting_msg').innerHTML = msg; if(close_time) { setTimeout("$('appsetting_msg').innerHTML=''", close_time); } } function my_sync_friend() { $('appsetting_msg').innerHTML = '{lang manyou:syncing_friend}'; var my_scri = document.createElement("script"); my_scri.charset = "UTF-8"; document.getElementsByTagName("head")[0].appendChild(my_scri); my_scri.src = 'http://uchome.manyou.com/user/syncFriends?sId=$my_siteid&uUchId=$discuz_uid&ts=$timestamp&key={echo md5($my_siteid.$my_sitekey.$discuz_uid.$timestamp)}'; } </script> <div id="appsetting_menu" class="popupmenu_popup" style="display:none;width:300px"> <form method="post" id="appsetting_form" action="userapp.php?script=cp&action=appsetting&appid=$my_appId&settingsubmit=yes" onsubmit="return false"> <input name="allowfeednew" type="checkbox" class="checkbox" value="1"{if $userapp[allowfeed]} checked="checked"{/if}> {lang manyou:allowfeed}<br /> <input name="allowprofilelinknew" type="checkbox" class="checkbox" value="1"{if $userapp[allowprofilelink]} checked="checked"{/if}> {lang manyou:allowprofilelink}<br /> <button class="submit" value="true" name="settingsubmit" type="submit" onclick="ajaxpost('appsetting_form', 'appsetting_msg', 'appsetting_msg')">{lang manyou:submit}</button> &nbsp;<button type="button" onclick="my_sync_friend()">{lang manyou:sync_friend}</button> </form> </div> <!--{/if}--> <div class="s_clear uapplist"> <ul> <!--{loop $myapps $value}--> <!--{if $discuz_uid}--> <li><a href="userapp.php?script=user&id=$value[appid]&from=leftmenu"><span><img src="http://appicon.manyou.com/icons/$value[appid]"> $value[appname]</span></a></li> <!--{else}--> <li><a href="$regname" onclick="showWindow('register', this.href);"><span><img src="http://appicon.manyou.com/icons/$value[appid]"> $value[appname]</span></a></li> <!--{/if}--> <!--{/loop}--> </ul> </div> <div class="uappframe"> <!--{if $script == 'feed' && $discuz_uid}--> <div class="itemtitle s_clear" style="clear:none; float: right;"> <ul> <li{if $view == 'friend'} class="current"{/if}><a href="userapp.php?view=friend"><span>{lang manyou:friend}</span></a></li> <li{if $view == 'all'} class="current"{/if}><a href="userapp.php?view=all"><span>{lang manyou:all}</span></a></li> <li{if $view == 'me'} class="current"{/if}><a href="userapp.php?view=me"><span>{lang manyou:self}</span></a></li> </ul> </div> <!--{/if}--> <div class="itemtitle s_clear" style="clear: none"> <ul> <li{if $script == 'feed'} class="current"{/if}><a href="userapp.php?script=feed"><span>{lang manyou:feed}</span></a></li> <!--{if $noticenum}--><li{if $script == 'notice' && $action == ''} class="current"{/if}><a href="userapp.php?script=notice"><span>{lang manyou:notice} ($noticenum)</span></a></li><!--{/if}--> <!--{if $invitenum}--><li{if $script == 'notice' && $action == 'invite'} class="current"{/if}><a href="userapp.php?script=notice&action=invite"><span>{lang manyou:invite} ($invitenum)</span></a></li><!--{/if}--> <!--{if $isfounder}--><li class="pipe">|</li><li><a href="userapp.php?script=admincp"><span>{lang manyou:admincp}</span></a></li><!--{/if}--> <!--{if $script == 'user'}--><li class="pipe">|</li><li><a id="appsetting" href="javascript:;" onclick="showMenu({'ctrlid':this.id,'evt':'click','pos':'11'})" class="dropmenu"><span>{lang manyou:setting}</span></a></li><li id="appsetting_msg"></li><!--{/if}--> </ul> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/manyou_appnav.htm
HTML
asf20
4,926
<div class="special_reward"> <p class="reward_price"> {lang reward_thethread}: <strong>$rewardprice {$extcredits[$creditstransextra[2]][unit]}{$extcredits[$creditstransextra[2]][title]} </strong> </p>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/viewthread_reward_price.htm
HTML
asf20
204
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang search}</div> <div class="mainbox threadlist"> <h1>{lang search}</h1> <table summary="{lang search}" cellspacing="0" cellpadding="0"> <thead> <tr> <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">{lang lastpost}</td> </tr> </thead> <tbody> <tr> <td colspan="5" height="600"> <iframe frameborder="0" scrolling="yes" name="main" src="$url" style="height: 100%; visibility: inherit; width: 100%; z-index: 1;overflow: auto;"></iframe> </td> </tr> </tbody> </table> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/search_qihoo.htm
HTML
asf20
772
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; <a href="stats.php">{lang stats}</a> &raquo; {lang stats_main}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <h1>{lang stats_main}</h1> <div class="datalist"> <div id="list_stats_member_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_member', 1, 1);">{lang stats_main_member}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_member', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_member" summary="{lang stats_main_member}" cellspacing="0" cellpadding="0"> <tr class="colplural"> <th width="16%">{lang stats_main_members}</th><td width="34%">$members</td> <th width="16%">{lang stats_main_posters}</th><td width="34%">$mempost</td> </tr> <tr> <th>{lang stats_main_admins}</th><td>$admins</td> <th>{lang stats_main_nonposters}</th><td>$memnonpost</td> </tr> <tr class="colplural"> <th>{lang stats_main_new}</th><td>$lastmember</td> <th>{lang stats_main_posters_percent}</th><td>$mempostpercent%</td> </tr> <tr> <th>{lang stats_main_topposter}</th><td>$bestmem <em title="{lang stats_main_total_posted}">($bestmemposts)</em></td> <th>{lang stats_main_posts_avg}</th><td>$mempostavg</td> </tr> </table> </div> <div class="datalist"> <div id="list_stats_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats', 1, 1);">{lang stats}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats" summary="{lang stats}" cellspacing="0" cellpadding="0"> <tr class="colplural"> <th width="150">{lang stats_main_forums_count}</th><td width="60">$forums</td> <th width="150">{lang stats_main_nppd}</th><td width="60">$postsaddavg</td> <th width="150">{lang stats_main_hot_forum}</th><td><a href="forumdisplay.php?fid=$hotforum[fid]" target="_blank">$hotforum[name]</a></td> </tr> <tr> <th>{lang stats_main_threads_count}</th><td>$threads</td> <th>{lang stats_main_nmpd}</th><td>$membersaddavg</td> <th>{lang stats_main_threads_count}</th><td>$hotforum[threads]</td> </tr> <tr class="colplural"> <th>{lang stats_main_posts_count}</th><td>$posts</td> <th>{lang stats_main_todays_newposts}</th><td>$postsaddtoday</td> <th>{lang stats_main_posts_count}</th><td>$hotforum[posts]</td> </tr> <tr> <th>{lang stats_main_rpt}</th><td>$threadreplyavg</td> <th>{lang stats_main_members_count}</th><td>$membersaddtoday</td> <th>{lang stats_main_board_activity}</th><td>$activeindex</td> </tr> </table> </div> <!--{if $statstatus}--> <div class="datalist"> <div id="list_stats_pageview_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_pageview', 1, 1);">{lang stats_main_pageview}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_pageview', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_pageview" summary="{lang stats_main_pageview}" cellspacing="0" cellpadding="0"> <tr class="colplural"> <th width="16%">{lang stats_main_total_pageview}</th><td width="34%">$stats_total[hits]</td> <th width="16%">{lang stats_main_maxpv_month}</th><td width="34%">$maxmonth_year {lang year} $maxmonth_month {lang month}</td> </tr> <tr> <th>{lang stats_main_total_visitors}</th><td>$stats_total[visitors] {lang stats_main_person_time}</td> <th>{lang stats_main_total_pageview_month}</th><td>$maxmonth</td> </tr> <tr class="colplural"> <th>{lang member}</th><td>$stats_total[members]</td> <th>{lang stats_main_period_of_time}</th><td>$maxhourfrom - $maxhourto</td> </tr> <tr> <th>{lang guest}</th><td>$stats_total[guests]</td> <th>{lang stats_main_total_pageview_time}</th><td>$maxhour</td> </tr> <tr class="colplural"> <th>{lang stats_main_pv_avg}</th><td colspan="3">$pageviewavg</td> </tr> </table> </div> <!--{/if}--> <div class="datalist"> <div id="list_stats_month_c" class="c_header"> <h3 onclick="toggle_collapse('list_stats_month', 1, 1);">{lang stats_main_month}</h3> <div class="c_header_action"> <p class="c_header_ctrlbtn" onclick="toggle_collapse('list_stats_month', 1, 1);">[ {lang open} ]</p> </div> </div> <table id="list_stats_month" summary="{lang stats_main_month}" cellpadding="0" cellspacing="0"> <!--{if $statstatus}--> $statsbar_month <!--{else}--> <thead class="colplural"> <td colspan="2">{lang stats_month_posts}</td> </thead> $statsbar_monthposts <thead class="colplural"> <td colspan="2">{lang stats_day_posts}</td> </thead> $statsbar_dayposts <!--{/if}--> </table> </div> <div class="notice">{lang stats_update}</div> </div> </div> <div class="side"> {subtemplate stats_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/stats_main.htm
HTML
asf20
5,408
<div class="specialpost s_clear"> <div class="specialinfo"> <dl> <dt><label for="starttime">{lang activity_starttime}:</label></dt> <dd> <div id="certainstarttime" class="hasdropdownbtn s_clear" {if $activity['starttimeto']}style="display: none"{/if}> <span><input onclick="showcalendar(event, this, true)" type="text" autocomplete="off" name="starttimefrom[0]" id="starttimefrom_0" class="spmediuminput txt" value="$activity[starttimefrom]" tabindex="1" /></span> </div> <div id="uncertainstarttime" class="hasdropdownbtn s_clear" {if !$activity['starttimeto']}style="display: none"{/if}> <span><input onclick="showcalendar(event, this, true)" type="text" autocomplete="off" name="starttimefrom[1]" id="starttimefrom_1" class="left spmediuminput txt" value="$activity[starttimefrom]" tabindex="1" /></span> <strong class="left">~</strong> <input onclick="showcalendar(event, this, true)" type="text" autocomplete="off" id="starttimeto" name="starttimeto" class="spmediuminput txt" value="{if $activity['starttimeto']}$activity[starttimeto]{/if}" tabindex="1" /> </div> </dd> <dt></dt> <dd> <input type="checkbox" id="activitytime" name="activitytime" onclick="if(this.checked) {$('certainstarttime').style.display='none';$('uncertainstarttime').style.display='';} else {$('certainstarttime').style.display='';$('uncertainstarttime').style.display='none';}" value="1" {if $activity['starttimeto']}checked{/if} tabindex="1" /><label for="activitytime">{lang activity_starttime_endtime}</label> </dd> <dt><label for="activityplace">{lang activity_space}:</label></dt> <dd> <input id="activityplace" class="spslonginput txt" type="text" name="activityplace" value="$activity[place]" tabindex="1" /> </dd> <dt>{lang activiy_sort}:</dt> <dd> <!--{if $activitytypelist}--> <ul id="activitytypelist" style="display: none"> <!--{loop $activitytypelist $type}--> <li>$type</li> <!--{/loop}--> </ul> <!--{/if}--> <p class="hasdropdownbtn"> <span><input type="text" id="activityclass" class="spmediuminput txt" name="activityclass" value="$activity[class]" tabindex="1" /></span> <!--{if $activitytypelist}--> <a href="javascript:;" class="dropdownbtn" onclick="showselect(this, 'activityclass', 'activitytypelist')">^</a> <!--{/if}--> </p> </dd> <dt><label for="cost">{lang activity_payment}:</label></dt> <dd> <input onkeyup="checkvalue(this.value, 'costmessage')" type="text" id="cost" class="spmediuminput txt" name="cost" value="$activity[cost]" tabindex="1" /> {lang payment_unit} <span id="costmessage"></span> </dd> </dl> </div> <div class="specialaddons"> <dl> <!--{if $action == 'newthread'}--> <dt><label for="activitycity">{lang activity_city}:</label></dt> <dd><input name="activitycity" id="activitycity" class="spmediuminput txt" type="text" tabindex="1" /></dd> <!--{/if}--> <dt><label for="activitynumber">{lang activity_need_member}:</label></dt> <dd><input onkeyup="checkvalue(this.value, 'activitynumbermessage')" name="activitynumber" id="activitynumber" class="spmediuminput txt" type="text" value="$activity[number]" tabindex="1" /> <span id="activitynumbermessage"></span></dd> <dt></dt> <dd class="spaoptlist s_clear"> <p><input name="gender" type="radio" value="0" id="nolimit" {if !$activity['gender']}checked{/if} tabindex="1" /><label for="nolimit">{lang unlimited}</label></p> <p><input name="gender" type="radio" value="1" id="male" {if $activity['gender'] == 1}checked{/if} tabindex="1" /><label for="male">{lang male}</label></p> <p><input name="gender" type="radio" value="2" id="female" {if $activity['gender'] == 2}checked{/if} tabindex="1" /><label for="female">{lang female}</label></p> </dd> </dl> <p><label for="activityexpiration">{lang activity_totime}:</label></p> <p class="hasdropdownbtn"> <input onclick="showcalendar(event, this, true)" type="text" autocomplete="off" id="activityexpiration" name="activityexpiration" class="txt" value="$activity[expiration]" tabindex="1" /> <a href="javascript:;" class="dropdownbtn" onclick="showselect(this, 'activityexpiration')">^</a> </p> </div> </div> <script type="text/javascript" reload="1"> function checkvalue(value, message){ if(!value.search(/^\d+$/)) { $(message).innerHTML = ''; } else { $(message).innerHTML = '<b>{lang input_invalid}</b>'; } } </script>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/post_activity.htm
HTML
asf20
4,552
<?php // Message Pack for Discuz! Version 1.0.0 // Created by Crossday $language = array ( 'discuz_lang' => 'templates', 'click_here' => '点击这里', 'ban_member' => '禁止', 'input_invalid' => '填写无效', 'title_none' => '无标题', 'title' => '标题', 'leaveword' => '留言', 'status' => '状态', 'confirm' => '批准', 'confirms' => '确定', 'never' => '从未', 'onlines' => '人在线', 'on' => '于', 'update' => '更新', 'total' => '共', 'top' => '顶部', 'admin' => '论坛管理员', 'supermod' => '超级版主', 'moderator' => '版主', 'recommend_moderator' => '推荐人', 'moderatorforums' => '管理以下版块', 'member' => '会员', 'heats' => '级热门', 'onlinemember' => '在线会员', 'guest' => '游客', 'anonymous' => '匿名', 'forum' => '版块', 'refresh' => '刷 新', 'show' => '查看', 'sort' => '排序', 'orderby' => '排序方式', 'dateline_range' => '时间', 'type' => '类型', 'types' => '分类', 'recommends' => '主题评价指数', 'recommends_users' => '的人数', 'recommend' => '推荐', 'bump' => '提升', 'submit' => '提交', 'cancel' => '取消', 'close' => '关闭', 'open' => '展开', 'target_blank' => '新窗口打开', 'disable' => '禁用', 'enable' => '启用', 'disabled' => '禁用', 'enabled' => '可用', 'select' => '选择', 'browse' => '浏览', 'reply' => '回复', 'save' => '保存', 'download' => '下载', 'upload' => '上传', 'forward' => '转发', 'delete' => '删除', 'ban' => '屏蔽', 'delete_wait' => '待删除', 'audit_wait' => '待审核', 'reason' => '理由', 'advertisement' => '广告', 'keyword' => '关键字', 'content' => '内容', 'plugin' => '插件', 'time' => '时间', 'time_now' => 'GMT$timenow[offset], $timenow[time]', 'visited_forums' => '最近访问的版块', 'announcement' => '公告', 'manage' => '管理', 'width' => '宽', 'height' => '高', 'piece' => '篇', 'edit' => '编辑', 'space' => '个人空间', 'space_short' => '空间', 'notice' => '提醒', 'trade' => '商品', 'hot_blog' => '热门BLOG', 'payment_unit' => '元', 'yes' => '是', 'no' => '否', 'big' => '大', 'middle' => '中', 'small' => '小', 'my_threads_common' => '正常', 'common' => '正常', 'zoom_in' => '放大', 'zoom_out' => '缩小', 'font_zoom' => '字体大小', 'expiration' => '已结束', 'noexpiration' => '未结束', 'online' => '当前在线', 'offline' => '当前离线', 'action' => '操作', 'options' => '选项', 'seccode' => '验证码', 'seccode_change' => '换一个', 'secqaa' => '验证问答', 'seccode_comment' => '请在空白处输入图片中的数字', 'secqaa_comment' => '您必须正确回答下面的问题才能通过注册:', 'uid' => 'UID', 'username' => '用户名', 'nickname' => '昵称', 'email' => 'Email', 'old_password' => '原密码', 'old_password_comment' => '您必须填写原密码才能修改下面的资料', 'password' => '密码', 'password_confirm' => '确认密码', 'new_password' => '新密码', 'new_password_confirm' => '确认新密码', 'gender' => '性别', 'alipay' => '支付宝账号', 'homepage' => '个人网站', 'location' => '来自', 'taobao' => '阿里旺旺', 'regip' => '注册 IP', 'lastip' => '上次访问 IP', 'lastupdate' => '上次更新', 'regdate' => '注册日期', 'lastvisit' => '上次访问', 'credits' => '积分', 'credits_tax' => '积分交易税', 'credits_detail' => '详细积分', 'posts' => '帖子', 'threads' => '主题', 'forums' => '版块', 'digestposts' => '精华', 'avatar' => '头像', 'enter' => '进入', 'male' => '男', 'female' => '女', 'secret' => '保密', 'birthday' => '生日', 'admin_status' => '管理头衔', 'medals' => '勋章', 'usergroup' => '用户组', 'extgroups' => '扩展用户组', 'rank' => '发帖数级别', 'pm' => '短消息', 'user_center' => '个人中心', 'user_space' => '个人空间', 'user_threads' => '查看主题', 'user_posts' => '查看回复', 'register' => '注册', 'activation' => '激活', 'register_activation' => '帐号激活', 'register_check_username' => '检查用户名', 'register_email_comment' => '请确保信箱有效,我们将发送激活说明到这个地址', 'register_email_censor' => '请不要使用以 $censoremail 结尾的信箱', 'register_message' => '注册原因', 'register_from' => '推荐人', 'register_now' => '立即注册', 'register_pre' => '上一步', 'register_next' => '下一步', 'attachcredits' => '下载消耗', 'memberlist' => '会员', 'login' => '登录', 'logout' => '退出', 'search' => '搜索', 'quicksearch' => '快速搜索', 'statistics' => '统计', 'memcp' => '控制面板', 'modcp' => '管理面板', 'admincp' => '管理中心', 'faq' => '帮助', 'style' => '界面风格', 'tpp' => '每页主题数', 'ppp' => '每页帖数', 'timeformat' => '时间格式', 'dateformat' => '日期格式', 'timeoffset' => '时差设定', 'pmsound' => '短消息提示音', 'custom_status' => '自定义头衔', 'bio' => '自我介绍', 'biotrade' => '店铺介绍', 'signature' => '个人签名', 'bytes_limited' => '字节以内', 'lower_than' => '小于', 'more_than' => '大于', 'equal_to' => '等于', 'size_no_limit' => '大小不限制', 'eg' => '例如', 'sample' => '样例', 'etc' => '等', 'return' => '返回', 'return_search' => '",请返回", ",请。"', 'return_replace' => '",请", "。"', 'goback_home' => '返回', 'timenow' => '现在时间是', 'welcometo' => '欢迎光临', 'your_lastvisit' => '您上次访问是在', 'use_default' => '使用默认', 'please_select' => '- 请选择 -', 'default' => '默认', 'customize' => '自定义', 'or' => '或', 'to' => '发送到', 'from' => '来自', 'year' => '年', 'month' => '月', 'day' => '日', 'hour' => '小时', 'minute' => '分钟', 'hours' => '小时', 'level' => '级别', 'none' => '无', 'all' => '全部', 'checkall' => '全选', 'icon' => '图标', 'author' => '作者', 'subject' => '标题', 'description' => '描述', 'replies' => '回复', 'views' => '查看', 'downloads' => '下载次数', 'dateline' => '发布时间', 'lastpost' => '最后发表', 'message' => '内容', 'message_banned' => '提示: <em>作者被禁止或删除 内容自动屏蔽</em>', 'message_single_banned' => '提示: <em>该帖被管理员或版主屏蔽</em>', 'admin_message_banned' => '提示: <em>作者被禁止或删除 内容自动屏蔽,只有管理员可见</em>', 'admin_message_single_banned' => '提示: <em>该帖被管理员或版主屏蔽,只有管理员可见</em>', 'poston' => '发表于', 'attachment' => '附件', 'attachments' => '附件', 'no_attach' => '本帖还没有附件', 'no_attachimg' => '本帖还没有图片附件', 'attachment_viewthread' => '本帖附件', 'attachment_size' => '文件尺寸', 'attachment_new' => '上传', 'attachment_date' => '更新日期', 'attachment_allow_exts' => '可用扩展名', 'attachment_reply_show' => '本帖附件需要回复才可下载或查看', 'attachment_buy' => '购买', 'attachment_buy_not' => '目前没有用户购买此附件。', 'attachment_list' => '附件列表', 'attachment_uploaded' => '以下是您上次上传但没有使用的附件:', 'attachment_attachcredits_confirm' => '下载需要消耗{$GLOBALS[attachcredits]},您是否要下载?', 'attachment_limit' => '上传限制', 'attachment_unit' => '个文件', 'spread' => '收起/展开', 'ajax_post' => '正在提交数据...', 'reprint' => '转帖', 'copy' => '复制', 'addfeed' => '加入事件', 'general_thread' => '普通主题', 'special_thread' => '特殊主题', 'join_thread' => '参与/回复主题', 'edit_thread' => '编辑帖子', 'displayorder' => '顺序', 'link' => '链接', 'text' => '文字', 'pass' => '通过', 'ignore' => '忽略', 'days' => '天', 'expiry' => '期限', 'changeto' => '变更为', 'expiration_unlimit' => '永 久', 'home' => '首页', 'home_lastvisit' => '你上次访问时间是在', 'home_welcome' => '欢迎回来', 'home_welcome_guest' => '<p>你可以<a href="{$regname}" onclick="showWindow(\'register\', this.href);return false;" class="lightlink">注册</a>一个帐号,并以此<a href="logging.php?action=login" onclick="showWindow(\'login\', this.href);return false;" class="lightlink">登录</a>,以浏览更多精彩内容,并随时发布观点,与大家交流。</p>', 'sidebar_collapsed_yes' => '打开边栏', 'sidebar_collapsed_no' => '关闭边栏', 'data_nonexistence' => '暂无数据', 'avatar_del' => '删除头像', 'send_posts' => '发帖', 'has_post' => '发表了', 'new_window' => '新窗口', 'maximize' => '最大化', 'approve' => '需审核', 'modify' => '修改', 'code' => '源码', 'filename' => '文件名', 'batch_upload' => '批量上传', 'normal_upload' => '普通上传', 'common_upload' => '普通上传', 'uploading' => '上传中,请稍候,您可以<a href="javascript:;" onclick="hideMenu()">暂时关闭这个小窗口</a>,上传完成后您会收到通知。', 'use' => '使用', 'expire' => '有效期', 'unit' => '个', 'buy' => '买', 'sell' => '卖', 'he' => '他', 'she' => '她', 'send' => '发送', 'bytes' => '字节', 'optional' => '可选', 'clear_cookies' => '清除 Cookies', 'contactus' => '联系我们', 'board_message' => '提示信息', 'agree' => '同意', 'disagree' => '不同意', 'go_back' => '返回上一页', 'delete_check' => '删?', 'add_new' => '新增:', 'required_info' => '基本信息 ( * 为必填项)', 'required' => '必填', 'maxnum' => '最大值', 'minnum' => '最小值', 'maxlength' => '最大长度', 'unchangeable' => '不可修改', 'optional_info' => '扩展信息', 'board_options' => '论坛个性化设置', 'other_options' => '其他选项', 'online_invisible' => '在线列表中隐身', 'show_email_addr' => 'Email 地址可见', 'allow_newsletter' => '同意接收论坛通知 (Email 或短消息)', 'announcements' => '公告', 'starttime' => '起始时间', 'endtime' => '结束时间', 'unlimited' => '不限', 'discount' => '折', 'url_link' => '链接到外部地址', 'thread' => '主题', 'reply' => '回复', 'return_index' => '返回首页', 'return_forumdisplay' => '返回列表', 'return_login' => '返回登录', 'total' => '总计', 'validate' => '通过', 'invalidate' => '否决', 'nav' => '导航', 'nav_forum' => '进入', 'nav_forum_frequently' => '常用版块', 'rss_subscribe_all' => 'RSS 订阅全部版块', 'rss_subscribe_this' => 'RSS 订阅当前版块', 'rulemessage' => '网站服务条款', 'share' => '分享', 'share_im' => '通过 QQ、MSN 分享给朋友', 'share_pm' => '通过站内短消息分享给朋友', 'share_msg' => '{$subject} {$threadurl}', 'emailinvite' => '发送邀请码给朋友', 'emailfriend_your_name' => '您的名字', 'emailfriend_your_email' => '您的 Email', 'emailfriend_receiver_name' => '接收者名字', 'emailfriend_receiver_email' => '接收者 Email', 'emailfriend_url_copy' => '复制本帖链接', 'emailfriend_message' => '你好!我在 $bbname 看到了这篇帖子,认为很有价值,特推荐给你。{LF}{LF}$thread[subject]{LF}地址 $threadurl{LF}{LF}希望你能喜欢。', 'emailinvite_message' => '你好!我发现一个很好的论坛 $bbname 特推荐给你。{LF}{LF}地址{LF}$threadurl{LF}{LF}通过这个链接注册,您将获得一定数量的积分。{LF}{LF}希望你能喜欢。', 'share_url_copy' => '复制本帖链接', 'forum_modedby' => '版主', 'forum_category_modedby' => '分区版主', 'forum_opening' => '*空缺中*', 'forum_viewall' => '全部', 'forum_viewdigest' => '查看精华主题', 'forum_viewrecommend' => '查看好评主题', 'forum_moderate' => '审核', 'forum_moderate_threads' => '新主题', 'forum_moderate_replies' => '新回复', 'forum_recyclebin' => '回收站', 'forum_rules' => '本版规则', 'forum_description' => '版块介绍', 'forum_activeusers' => '正在浏览此版块的会员', 'forum_normal_threads' => '版块主题', 'forum_nothreads' => '本版块或指定的范围内尚无主题。', 'forum_jump' => '版块跳转', 'forum_password_require' => '本版块需要密码,您必须在下面输入正确的密码才能浏览这个版块。', 'forum_recommend' => '推荐主题', 'forum_recommend_admin' => '管理', 'forum_recommend_position' => '位置', 'forum_recommend_position_all' => '显示全部', 'forum_recommend_position_forumdisplay' => '主题列表页', 'forum_recommend_position_viewthread' => '主题内容页', 'forum_recommend_position_both' => '不限制', 'forum_recommend_reducetitle' => '标题', 'forum_recommend_image' => '图片', 'forum_recommend_noimage' => '不显示', 'forum_thread' => '版块主题', 'digest' => '精华区', 'digest_posts' => '精华', 'digest_forum' => '以下版块精华区', 'threads_all' => '全部主题', 'last_1_days' => '一天', 'last_2_days' => '两天', 'last_7_days' => '周', 'last_30_days' => '月', 'last_90_days' => '季', 'last_365_days' => '年', 'order_lastpost' => '回复时间', 'order_starttime' => '发布时间', 'order_replies' => '回复数量', 'order_views' => '浏览次数', 'order_heats' => '热门', 'order_recommends' => '推荐', 'order_desc' => '按降序排列', 'order_asc' => '按升序排列', 'thread_moved' => '移动', 'thread_digest' => '精华', 'thread_poll' => '投票', 'thread_trade' => '商品', 'thread_activity' => '活动', 'thread_debate' => '辩论', 'thread_recommend' => '评价指数 {$thread[recommends]}', 'thread_favorite_thread' => '收藏此主题', 'debate_starttime' => '开始时间', 'debate_backgroup' => '背景资料', 'debate_endtime' => '结束时间', 'debate_umpire' => '裁判', 'debate_subject' => '辩论主题', 'thread_reward' => '悬赏', 'thread_rewardend' => '悬赏已解决', 'thread_keywords' => '搜索更多相关主题的帖子:', 'thread_more_related_threads' => '更多相关主题', 'thread_newposts' => '有新回复', 'thread_nonewpost' => '无新回复', 'thread_more_replies' => '热门主题', 'thread_closed' => '关闭主题', 'thread_mod' => '主题操作记录', 'thread_mod_by' => '本主题由 $lastmod[modusername] 于 $lastmod[moddateline] $lastmod[modaction]', 'thread_blog' => '本主题被作者加入到个人文集中', 'thread_rate' => '参与评分', 'thread_rate_count' => '评分人数', 'thread_rate_log_lately' => '本帖最近评分记录', 'thread_printable' => '打印', 'thread_share' => '分享', 'thread_favorite' => '收藏', 'thread_favorite_success' => '收藏成功', 'thread_attention' => '关注', 'thread_stick' => '置顶', 'thread_highlight' => '高亮', 'thread_removerate' => '撤销评分', 'forum_favorite' => '收藏本版', 'thread_print' => '打印本页', 'thread_moderations' => '主题操作记录', 'thread_moderations_username' => '操作者', 'thread_moderations_cron' => '任务系统', 'thread_moderations_action' => '操作', 'thread_moderations_expiration_comment' => '本操作的有效期限,格式为 yyyy-mm-dd,范围 <u>$expirationmin</u> 至 <u>$expirationmax</u>,留空为不限制', 'thread_moderations_expiration_unlimit' => '永久有效', 'thread_show_author' => '只看该作者', 'thread_show_all' => '显示全部帖子', 'thread_redirect_notice' => '以下是新回复', 'thread_redirect_postno' => '跳转到', 'thread_redirect_postno_tips' => '跳转到指定楼层', 'one_day' => '1天', 'three_days' => '3天', 'five_days' => '5天', 'seven_days' => '7天', 'fourteen_days' => '14天', 'one_month' => '1个月', 'three_months' => '3个月', 'half_year' => '半年', 'one_year' => '1年', 'trade_expiration_forever' => '不填表示永久有效', 'readperm' => '阅读权限', 'readperm_thread' => '所需阅读权限', 'price' => '售价', 'price_thread' => '浏览需支付', 'post_option' => '发帖选项', 'post_option_more' => '更多设定', 'post_add_detail' => '添加详情', 'post_fastreply_gotolast' => '回帖后跳转到最后一页', 'post_fastreply' => '快速回复主题', 'post_fastreply_author' => '回复 # 的帖子', 'post_zero_is_nopermission' => '0或空为不限制', 'post_price_refunded' => '本主题被强制退款', 'post_price_free' => '本主题自发表起已超过最长出售时限', 'post_price_comment' => '最高 $maxprice {$extcredits[$creditstransextra[1]][unit]}', 'post_price_income_comment' => '主题出售最高收入上限为 $maxincperthread {$extcredits[$creditstransextra[1]][unit]}&nbsp;&nbsp;&nbsp;&nbsp;', 'post_price_charge_comment' => '主题最多能销售 $maxchargespan 个小时', 'post_price_free_chargehours' => ',本主题还能销售 $freechargehours 个小时', 'post_price_attachincome_comment' => '附件出售最高收入上限为 $maxincperthread {$extcredits[$creditstransextra[1]][unit]}&nbsp;&nbsp;&nbsp;&nbsp;', 'post_price_free_comment' => '您可以使用 [free]message[/free] 代码发表无需付费也能查看的免费信息', 'post_parseurl' => 'URL 识别', 'post_html' => 'Html 代码', 'post_copylink' => '帖子地址已经复制到剪贴板<br />您可以用快捷键 Ctrl + V 粘贴到 QQ、MSN 里。', 'post_anonymous' => '使用匿名发帖', 'post_smilies' => '表情', 'post_autosave_restore' => '恢复数据', 'post_autosave' => '自动保存', 'post_autosave_stop' => '已停止', 'post_savedata' => '保存数据', 'post_credits_newthread' => '发帖后您的', 'post_credits_newreply' => '回帖后您的', 'post_credits_postattach' => '每上传一个附件您的', 'post_descview' => '倒序看帖', 'post_ascview' => '正序看帖', 'e_removeformat' => '清除文本格式', 'e_paste' => '粘贴', 'e_undo' => '撤销', 'e_redo' => '重做', 'e_bold' => '粗体', 'e_italic' => '斜体', 'e_underline' => '下划线', 'e_hr' => '分隔线', 'e_strike' => '删除线', 'e_fontname' => '字体', 'e_fontoptions' => '"仿宋_GB2312", "黑体", "楷体_GB2312", "宋体", "新宋体", "微软雅黑", "Trebuchet MS", "Tahoma", "Arial", "Impact", "Verdana", "Times New Roman"', 'e_fontsize' => '大小', 'e_forecolor' => '颜色', 'e_paragraph' => '段落', 'e_center' => '居中', 'e_left' => '居左', 'e_right' => '居右', 'e_autotypeset' => '自动排版', 'e_floatleft' => '左浮动', 'e_floatright' => '右浮动', 'e_list' => '插入列表', 'e_orderedlist' => '排序的列表', 'e_unorderedlist' => '未排序列表', 'e_contract' => '收缩编辑框', 'e_expand' => '扩展编辑框', 'e_url' => '插入链接', 'e_unlink' => '移除链接', 'e_email' => '插入邮箱链接', 'e_image' => '图片', 'e_attach' => '附件', 'e_quote' => '引用', 'e_code' => '代码', 'e_table' => '插入表格', 'e_free' => '插入免费信息', 'e_hide' => '插入隐藏内容', 'e_audio' => '音乐', 'e_video' => '视频', 'e_flash' => 'Flash', 'e_img_www' => '网络图片', 'e_img_width' => '宽(可选)', 'e_img_height' => '高(可选)', 'e_img_local' => '上传图片', 'e_img_album' => '我的相册', 'e_img_attach' => '图片列表', 'e_img_inserturl' => '请输入图片地址', 'e_img_insertphoto' => '点击图片插入到帖子内容中', 'e_imme' => '插入我的 MSN 在线通', 'e_attach_insert' => '点击文件名插入到帖子内容中', 'e_attach_del'=> '删除', 'e_attach_url' => '插入附件地址', 'e_attach_mediacode' => '插入附件媒体播放代码', 'uch_selectfromalbum' => '从我的相册中选择图片', 'post_attachment_comment' => '<strong>技巧提示:</strong> 您可以在帖子中使用 [attach]aid[/attach] 标签将附件显示于帖子内容的指定位置,而不按照默认方式排列在内容的尾部。点击 aid 数字可以在当前光标位置自动插入此代码。', 'post_imgcode' => '[img] 代码', 'post_show_sig' => '使用个人签名', 'post_topicsubmit' => '发表帖子', 'post_topicreset' => '清空内容', 'post_thread_review' => '主题回顾', 'post_replies_toolong' => '本主题回复较多,请 <a href="viewthread.php?fid=$fid&tid=$tid">点击这里</a> 查看。', 'post_submit_hotkey' => '[完成后可按 Ctrl+Enter 发布]', 'post_newthread' => '发新话题', 'post_newthreadpoll' => '发布投票', 'post_newthreadtrade' => '发布商品', 'post_newthreadreward' => '发布悬赏', 'post_newthreadactivity' => '发布活动', 'post_newthreaddebate' => '发布辩论', 'post_newreply' => '发表回复', 'post_advancemode' => '高级模式', 'post_editpost' => '编辑帖子', 'post_editpost_poll' => '编辑投票主题', 'post_editpost_reward' => '编辑悬赏主题', 'post_editpost_activity' => '编辑活动主题', 'post_editpost_trade' => '编辑商品主题', 'post_editpost_tradegoods' => '编辑商品', 'post_editpost_debate' => '编辑辩论主题', 'post_newthread_poll' => '发新投票', 'post_newthread_reward' => '发起悬赏', 'post_newthread_activity' => '创建活动', 'post_newthread_trade' => '发布商品主题', 'post_newthread_debate' => '发表辩论', 'post_poll_options' => '选项', 'post_poll_comment' => '每行填写 1 个选项 最多可填写 $maxpolloptions 个选项', 'post_poll_allowmultiple' => '多选投票', 'post_poll_expiration' => '记票天数', 'post_poll_add' => '增加一项', 'post_poll_overt' => '公开投票参与人', 'post_trade_paymethod' => '交易方式', 'post_trade_paymethod_online' => '支付宝在线交易', 'post_trade_paymethod_offline' => '论坛担保交易', 'post_trade_seller' => '支付宝账户', 'post_trade_supportalipay' => '此商品支持支付宝,您可以先验货后付款', 'post_trade_name' => '商品名称', 'post_trade_type' => '商品分类', 'post_trade_price' => '商品价格', 'post_trade_rmb' => '人民币交易(元)', 'post_trade_credit' => '积分交易', 'post_trade_nowprice' => '现价', 'post_trade_costprice' => '原价', 'post_trade_picture' => '商品图片', 'post_trade_number' => '商品数量', 'post_trade_locus' => '所在地点', 'post_trade_transport' => '物流方式', 'post_trade_transport_fee' => '运费', 'post_trade_buynumber' => '累计售出', 'post_trade_transport_none' => '无运费', 'post_trade_transport_seller' => '卖家承担运费', 'post_trade_transport_buyer' => '买家承担运费', 'post_trade_transport_comment' => '通过运费承担方选择注明该交易是由买卖哪方承担运费。<br />如果是买家承担运费,请选择可以提供的物流方式以及相应费用。', 'post_trade_transport_mail' => '平邮', 'post_trade_transport_mail_unit' => '不填表示不提供平邮', 'post_trade_transport_express' => '快递', 'post_trade_transport_express_unit' => '不填表示不提供快递', 'post_trade_transport_virtual' => '虚拟物品', 'post_trade_description' => '商品描述', 'post_trade_transport_physical' => '买家收到货物后直接支付给物流公司', 'post_trade_sticklist' => '推荐商品', 'post_trade_alllist' => '柜台商品', 'post_trade_totalnumber' => '商品数', 'post_trade_counterinfo' => '柜台信息', 'post_trade_counterdesc' => '柜台商品介绍', 'post_trade_aboutcounter' => '柜台介绍', 'post_add_aboutcounter' => '添加柜台介绍', 'trade_type_transport_physical' => '支付给物流公司', 'post_trade_transport_ems_unit' => '不填表示不提供 EMS', 'trade_start' => '启动交易', 'post_check_length' => '字数检查', 'post_delpost' => '删除本帖', 'post_stick_thread' => '主题置顶', 'post_digest_thread' => '精华帖子', 'post_blog_thread' => '加入文集', 'post_tradeinfo' => '交易信息', 'post_goodsinfo' => '商品信息', 'post_otherinfo' => '其他信息', 'post_tag' => '标签(TAG)', 'trade_credits_total' => '支付总额', 'trade_units' => '元', 'trade_buy' => '购买', 'trade_bargain' => '砍价', 'trade_confirm_buy' => '确认购买信息', 'trade_seller' => '卖家', 'trade_buyer' => '买家', 'trade_new' => '全新', 'trade_old' => '二手', 'trade_type' => '商品类型', 'trade_buy_crediterror' => '<font color="red">您的积分不足</font>', 'trade_type_buy' => '商品', 'trade_type_service' => '服务', 'trade_type_auction' => '拍卖', 'trade_type_donate' => '捐赠', 'trade_type_compensate' => '邮费', 'trade_type_bonus' => '奖金', 'trade_favourable' => '优惠价格', 'trade_nums' => '购买数量', 'trade_message' => '留言', 'trade_seller_contact' => '买家联系方式', 'trade_seller_contact_comment' => '请填写邮件地址、QQ、电话号码等资料方便卖家与您联系。', 'trade_buy_confirm' => '确认购买', 'trade_seller_remark' => '备注信息', 'trade_seller_remark_comment' => '200 字以内', 'trade_guest_alarm' => '您目前为游客,购买后您无法在本版块查看交易状态,请到支付网站查询。', 'trade_discount' => '支付{$extcredits[$creditstrans][title]} <span id="discountcredit">$discountcredit</span> {$extcredits[$creditstrans][unit]}享受优惠', 'trade_price' => '商品价格 $mintradeprice - $maxtradeprice', 'trade_buy' => '立即购买!', 'trade_show_log' => '商品交易单', 'trade_order' => '交易单', 'trade_order_no' => '交易单号', 'trade_status' => '交易状态', 'trade_payment' => '交易金额', 'trade_payment_comment' => '(点击下方的“更新交易单”按钮重新计算交易金额)', 'trade_baseprice' => '商品基价', 'trade_last_update' => '最后交易变更时间', 'trade_order_status' => '查看并确认支付宝交易单状态', 'trade_alipay_tradeurl' => '支付宝交易单', 'trade_submit_order' => '更新交易单', 'trade_online_pay' => '使用支付宝在线支付', 'trade_buyername' => '收货人姓名', 'trade_buyercontact' => '收货地址', 'trade_buyerzip' => '收货人邮编', 'trade_buyerphone' => '收货人电话', 'trade_buyermobile' => '收货人手机', 'trade_transportfee' => '运费', 'trade_paymethod' => '交易方式', 'trade_pay_alipay' => '支付宝在线交易', 'trade_pay_offline' => '论坛担保交易', 'trade_displayorder' => '柜台商品管理', 'trade_show_order' => '显示顺序', 'trade_update_order' => '更新商品摆放顺序', 'trade_add_post' => '添加商品', 'trade_steptoadd_post' => '下一步: 添加商品', 'trade_remain' => '剩余', 'trade_remaindays' => '剩余时间', 'trade_hour' => '小时', 'trade_timeout' => '成交结束', 'trade_update_stick' => '推荐', 'trade_update_stickmax' => '您最多可推荐的商品数:', 'trade_viewthread' => '商品主题', 'trade_viewtrade' => '查看商品', 'trade_viewreply' => '查看回复', 'trade_threadinfo' => '主题介绍', 'trade_password' => '论坛登录密码', 'trade_rate' => '信用评价', 'trade_buyer_rate' => '买家信用评价', 'trade_seller_rate' => '卖家信用评价', 'trade_view_all' => '查看当前柜台', 'trade_view_space' => '查看店铺', 'trade_nogoods' => '*** 本商品主题尚未开放 ***', 'trade_allcounters' => '店铺柜台列表', 'seccode_click' => '点击输入框显示验证码', 'seccode_refresh' => '如果您无法识别验证码,请点图片更换', 'seccode_animator_refresh' => '请确认您的浏览器支持动画的显示,如果您无法识别验证码,请点图片更换', 'seccode_animator_flashrefresh' => '请确认您的浏览器支持 Flash 的显示,如果您无法识别证码,请点<a href="###" onclick="updateseccode()">这里</a>更换', 'seccode_wavrefresh' => '请确认您的浏览器支持 Flash 的显示并且能够听到声音', 'my' => '我的', 'my_credits' => '我的积分', 'my_admin' => '个人管理', 'my_favorites' => '我的收藏', 'my_blogs' => '我的文集', 'my_polls' => '我的投票', 'my_trades' => '我的商品', 'my_permissions' => '我的权限', 'my_activities' => '我的活动', 'my_trade_notice' => '交易提醒', 'my_trade_stat' => '交易记录', 'my_trade_buys' => '我是买家', 'my_trade_selles' => '我是卖家', 'my_trade_threads' => '商品主题', 'my_trade_show' => '查看交易', 'my_trade_sale_quantity' => '售出数', 'my_trade_stock_quantity' => '库存数', 'my_trade_amount_all' => '销售额', 'my_trade_last' => '最后交易', 'my_trade_goods_name' => '商品名称', 'my_trade_thread' => '相关主题', 'my_trade_buyer' => '买家', 'my_trade_seller' => '卖家', 'my_trade_amount' => '交易金额', 'my_trade_status' => '交易状态', 'my_trade_orderall' => '查看所有订单', 'my_trade_nonexistence' => '目前没有交易记录。', 'my_trade_all' => '全部交易', 'my_trade_attention' => '关注的', 'my_trade_eccredit' => '评价过的', 'my_trade_trading' => '进行中的', 'my_trade_success' => '成功的', 'my_trade_closed' => '失败的', 'my_trade_refund' => '退款的', 'my_trade_unstart' => '未生效的', 'my_trade_view_sell' => '交易中的商品', 'my_trade_view_buy' => '我买入的商品', 'my_trade_view_all' => '查看所有交易单', 'my_trade_view_allthread' => '查看所有商品', 'my_trade_view_thread' => '出售中的商品', 'my_trade_success_count' => '销售总数', 'my_trade_success_amount' => '销售总额', 'my_trade_noexist_buy' => '目前没有成功买入的交易。', 'my_trade_noexist_sell' => '目前没有成功卖出的交易。', 'my_trade_need_attend_buy' => '您有 $buyerattend 个交易需要关注', 'my_trade_need_attend_sell' => '您有 $sellerattend 个交易需要关注', 'my_trade_buyer_info' => '买家提醒区', 'my_trade_seller_info' => '卖家提醒区', 'my_trade_buyer_trading' => '您有 $goodsbuyer 个正在进行中的交易', 'my_trade_seller_trading' => '您有 $goodsseller 个正在出售中的商品', 'my_trade_include' => '包括如下内容', 'my_trade_include_1' => '个交易,等待您付款', 'my_trade_include_5' => '个交易,卖家已发货,等待您确认收货', 'my_trade_include_11' => '个交易,卖家拒绝您的条件,等待您确认意见', 'my_trade_include_12' => '个交易,卖家同意退款,等待您退货', 'my_trade_include_2' => '个交易,等待您确认', 'my_trade_include_4' => '个交易,买家已付款,等待您发货', 'my_trade_include_10' => '个交易申请退款', 'my_trade_include_13' => '个交易,等待您接收退货', 'my_trade_need_buyer_eccredit' => '您有 $eccreditbuyer 个需要评价的交易', 'my_trade_need_seller_eccredit' => '您有 $eccreditseller 个需要评价的交易', 'my_trade_buyer_total' => '买入商品总数', 'my_trade_buyer_sum' => '买入成交总额', 'my_trade_seller_total' => '售出商品总数', 'my_trade_seller_sum' => '销售成交总额', 'my_trade_seller_log' => '卖家交易记录', 'my_trade_buyer_log' => '买家交易记录', 'my_trade_seller_list' => '卖家商品列表', 'my_trade_more' => '更多', 'my_favorite' => '我的收藏', 'my_posts' => '我的帖子', 'my_threads' => '我的主题', 'my_threads_last_five' => '最近的五条主题', 'my_replys' => '我的回复', 'my_replys_last_five' => '最近的五条回复', 'my_rewards' => '我的悬赏', 'my_reward_questions' => '我的问题', 'my_reward_answers' => '我的回答', 'my_reward_stat' => '悬赏统计', 'my_reward_nonexistence' => '目前没有悬赏记录。', 'my_favorite_forums' => '收藏的版块', 'my_favorite_threads' => '收藏的主题', 'my_activity_orig' => '发起的活动', 'my_activity_apply' => '申请的活动', 'my_activity_nonexistence' => '目前没有活动记录。', 'my_debate' => '我的辩论', 'my_debate_orig' => '我发起的辩论', 'my_debate_apply' => '我参与的辩论', 'my_poll' => '我的投票', 'my_poll_orig' => '我发起的投票', 'my_poll_apply' => '我参与的投票', 'my_forum' => '版块范围', 'my_forum_all' => '显示全部', 'forums_navigation' => '论坛导航', 'getpassword' => '找回密码', 'getpassword_msg' => '取回密码的方法发送到您的信箱中,请在 3 天之内到论坛修改您的密码。', 'lostpassword' => '忘记密码', 'index_status' => '头衔', 'index_threads' => '主题', 'index_posts' => '帖子', 'index_today' => '今日', 'index_yesterday' => '昨日', 'index_maxday' => '最高日', 'index_activeusers' => '在线用户', 'index_members' => '会员', 'index_invisibles' => '隐身', 'index_guests' => '位游客', 'index_mostonlines' => '最高记录是', 'index_users' => '人', 'index_upgrade' => '升级', 'index_upgrade_tips' => '离升级到下一级用户组还需要的积分', 'show_newthreads' => '查看新帖', 'show_mytopics' => '我的话题', 'mark_read' => '标记已读', 'mark_unread' => '标记未读', 'welcome_newmember' => '欢迎新会员', 'index_announcements' => '公告', 'index_noannouncement' => '到目前为止没有论坛公告', 'index_activation' => '您的帐号需要激活', 'forum_name' => '版块', 'forum_threads' => '主题', 'forum_posts' => '帖数', 'forum_todayposts' => '今日', 'forum_lastpost' => '最后发表', 'forum_lastpost_in' => '标题', 'forum_lastpost_by' => 'by', 'forum_moderators' => '版主', 'forum_newposts' => '有新帖的版块', 'forum_nonewpost' => '无新帖的版块', 'forum_subforums' => '子版块', 'board_links' => '友情链接', 'todays_birthdays' => '生日快乐', 'todays_birthdays_none' => '今天没有过生日的用户', 'todays_birthdays_members' => '今日生日会员列表', 'private_forum' => '私密版块', 'member_login' => '会员登录', 'member_logout' => '退出登录', 'credits_manage' => '积分管理', 'credits_policy' => '积分说明', 'credits_policy_view' => '查看积分策略说明', 'credits_policy_post' => '发新主题', 'credits_policy_forum_post' => '本版发新主题', 'credits_policy_reply' => '发表回复', 'credits_policy_forum_reply' => '本版发表回复', 'credits_policy_digest' => '加入精华', 'credits_policy_forum_digest' => '本版加入精华', 'credits_policy_postattach' => '发表附件', 'credits_policy_forum_postattach' => '本版发表附件', 'credits_policy_getattach' => '下载附件', 'credits_policy_forum_getattach' => '本版下载附件', 'credits_policy_pm' => '发短消息', 'credits_policy_search' => '搜索', 'credits_policy_promotion_visit' => '访问推广', 'credits_policy_promotion_register' => '注册推广', 'credits_policy_global' => '全局策略', 'credits_policy_lowerlimit' => '积分下限', 'credits_policy_lowerlimit_comment' => '当您该项积分低于此下限设置的数值时,将无法执行积分策略中涉及扣减此项积分的操作', 'credits_policy_formula' => '总积分计算公式', 'credits_policy_trade' => '成功交易', 'credits_policy_poll' => '参与投票', 'credits_now' => '当前积分', 'credits_exchange' => '换', 'credits_need' => '所需', 'credits_pre_account' => '预算', 'credits_taxed' => '税后可得', 'credits_give' => '给', 'credits_perm_viewperm' => '浏览版块', 'credits_perm_postperm' => '发新话题', 'credits_perm_replyperm' => '发表回复', 'credits_perm_getattachperm' => '下载/查看附件', 'credits_perm_postattachperm' => '上传附件', 'login_member' => '用户登录', 'login_now' => '已有帐号?<a href="logging.php?action=login" onclick="hideWindow(\'register\');showWindow(\'login\', this.href);return false;">现在登录</a>', 'login_password' => '密 码 :', 'login_permanent' => '记住我的登录状态', 'login_normal_mode' => '在线', 'login_switch_invisible_mode' => '我要隐身', 'login_switch_normal_mode' => '我要上线', 'login_invisible_mode' => '隐身', 'login_cookie_time' => '登录有效期', 'login_secques' => '请选择您设置的安全提问,并回答正确后才能登录。', 'login_secques_comment' => '如果您设置了安全提问,请回答正确的答案', 'login_timeoffset' => '注意:\n\n您本地计算机的时间设定与论坛时间相差超过 24 个小时,\n这可能会影响您的正常登录,请调整本地计算机设置。\n\n当前论坛时间是: $thetimenow\n如果您认为论坛时间不准确,请与论坛管理员联系。', 'login_succeed' => '欢迎您回来', 'login_location' => '现在将转入登录前页面', 'login_succeed_inactive_member' => '您的帐号处于非激活状态', 'login_guest' => '没有帐号?<a href="$regname" onclick="hideWindow(\'login\');showWindow(\'register\', this.href);return false;" title="注册帐号">$reglinkname</a>', 'login_clearcookies' => '清除痕迹', 'login_inactive' => '放弃激活,<a href="javascript:;" onclick="$(\'registerform\').activationauth.value=\'\';$(\'activation_hidden\').style.display=\'\';$(\'activation_user\').style.display=\'none\'">现在{$reglinkname}</a>', 'login_refresh' => '如果页面没有响应,请点这里刷新', 'profile_email_verify' => '您的帐号处于非激活状态,请收取邮件激活您的帐号', 'profile_email_verify_comment' => '如果您没有收到我们发送的系统邮件,请进入个人中心点击“重新验证 Email”或在“密码和安全问题”中更换另外一个 Email 地址。注意:在完成激活之前,根据管理员设置,您将只能以待验证会员的身份访问论坛,您可能不能进行发帖等操作。激活成功后,上述限制将自动取消。', 'register_manual_verify' => '请等待管理员审核您的帐号', 'register_succeed' => '感谢您注册', 'register_newbietask' => '我们诚邀您参与新手任务 $task[name],现在将转入任务详情页面。', 'member_rename' => '用户名更名', 'member_rename_usernameold' => '老用户名', 'member_rename_usernamenew' => '新用户名', 'security_question' => '安全提问', 'security_answer' => '回答', 'security_question_0' => '无安全提问', 'security_question_1' => '母亲的名字', 'security_question_2' => '爷爷的名字', 'security_question_3' => '父亲出生的城市', 'security_question_4' => '您其中一位老师的名字', 'security_question_5' => '您个人计算机的型号', 'security_question_6' => '您最喜欢的餐馆名称', 'security_question_7' => '驾驶执照的最后四位数字', 'member_list' => '会员列表', 'group_expiry' => '用户组有效期', 'group_expiry_time' => '到期时间', 'group_expiry_type' => '类型', 'group_expiry_type_main' => '主用户组', 'group_expiry_type_ext' => '扩展用户组', 'group_expiry_comment' => '<ul><li>此处仅列出具有有效期限制的用户组列表,详细的用户组归属关系请到个人中心的“用户组&amp;权限”中设定和查看。<li>如果用户组名称被删除线覆盖,说明此用户组已经过期,即日起您将不拥有该组的任何权限。', 'memcp_welcome' => '您好 $discuz_userss ,欢迎进入控制面板,这里提供相关的资料设定与论坛快捷功能等。', 'memcp_home' => '控制面板首页', 'memcp_info' => '帐号信息', 'memcp_email_reverify' => '重新验证 Email', 'memcp_validating' => '账户审核', 'memcp_validating_info' => '管理员设置了新注册用户需要人工验证,您的帐号已提交过 <strong>$validating[submittimes]</strong> 次验证请求,目前尚未通过验证。', 'memcp_validating_status' => '当前状态', 'memcp_validating_status_0' => '等待管理人员进行审核', 'memcp_validating_status_1' => '审核被拒绝,您可以修改注册原因后再次提交', 'memcp_validating_admin' => '审核管理员', 'memcp_validating_time' => '审核时间', 'memcp_validating_remark' => '管理员给您的留言', 'memcp_nopm' => '目前收件箱中没有消息。', 'memcp_last_10_creditslog' => '最近的十条转账与兑换记录', 'memcp_nofavs' => '目前没有被收藏的主题或版块。', 'memcp_avatar_list' => '论坛头像列表', 'memcp_profile' => '个人资料', 'memcp_profile_avatar_modify' => '修改头像', 'memcp_profile_preview' => '预览', 'memcp_nocustomizebbcode' => '不支持自定义 Discuz! 代码', 'memcp_profile_type_1' => '论坛登录', 'memcp_profile_type_2' => '基本资料', 'memcp_profile_type_3' => '扩展资料', 'memcp_profile_type_4' => '个性化资料', 'memcp_profile_type_5' => '论坛选项', 'memcp_profile_type_6' => '上传头像', 'memcp_profile_security' => '密码和安全问题', 'memcp_profile_security_check' => '验证', 'memcp_profile_old_passwd_comment' => '如不需要更改密码或 Email 或安全提问,此处请留空', 'memcp_profile_passwd_comment' => '如不需要更改密码,此处请留空', 'memcp_profile_email_comment' => '!如更改地址,系统将修改您的密码并重新验证其有效性,请慎用', 'memcp_profile_security_keep' => '保持原有的安全提问和答案', 'memcp_profile_security_comment' => '如果您启用安全提问,登录时需填入相应的项目才能登录', 'memcp_profile_security_answer_comment' => '如您设置新的安全提问,请在此输入答案', 'memcp_profile_unchangeable_comment' => '请认真填写本项目,一旦确定将不可修改', 'memcp_profile_sig_toolong' => '您的签名长度超过 $maxsigsize 字符的限制,请返回修改。', 'memcp_profile_bio_toolong' => '您的自我介绍长度超过 $maxbiosize 字符的限制,请返回修改。', 'memcp_profile_biotrade_toolong' => '您的店铺介绍长度超过 $maxbiotradesize 字符的限制,请返回修改。', 'memcp_profile_person' => '论坛个性化设定', 'memcp_profile_feed' => '加入事件设置', 'memcp_profile_dateconvert_conf' => '人性化时间格式', 'memcp_profile_dateconvert' => '启用', 'memcp_profile_nodateconvert' => '不启用', 'memcp_profile_creditnotice' => '积分变动提示', 'memcp_profile_signature_conf' => '签名显示设置', 'memcp_profile_signature' => '显示签名', 'memcp_profile_nosignature' => '不显示签名', 'memcp_profile_avatar_conf' => '头像显示设置', 'memcp_profile_avatar' => '显示头像', 'memcp_profile_noavatar' => '不显示头像', 'memcp_profile_image_conf' => '图片显示设置', 'memcp_profile_image_conf_comment' => '包括上传的附件图片和 [img] 代码图片', 'memcp_profile_image' => '显示图片', 'memcp_profile_noimage' => '不显示图片', 'memcp_profile_editor_mode' => '编辑器模式', 'memcp_profile_editor_mode_discuzcode' => 'Discuz! 代码模式', 'memcp_profile_editor_mode_wysiwyg' => '所见即所得模式', 'memcp_credits' => '积分交易', 'memcp_credits_currently' => '当前积分', 'memcp_credits_income' => '接收者收入', 'memcp_credits_confirm' => '积分操作不能恢复,您确认吗?', 'memcp_credits_transfer' => '转账', 'memcp_credits_transfer_user' => '您要转账', 'memcp_credits_transfer_message' => '转账留言', 'memcp_credits_transfer_caculate' => '接收者的所得为', 'memcp_credits_transfer_send' => '积分转出', 'memcp_credits_transfer_receive' => '积分转入', 'memcp_credits_transfer_bank' => '银行现金转入', 'memcp_credits_transfer_task' => '完成任务奖励', 'memcp_credits_transfer_min_balance' => '转账最低余额', 'memcp_credits_transfer_msg_user_incorrect' => '您没有输入需要转账的接收人或者接收人不存在', 'memcp_credits_transfer_msg_num_incorrect' => '您没有输入需要转账的数量', 'memcp_credits_exchange' => '兑换', 'memcp_credits_exchange_password' => '请输入您的登录密码确认', 'memcp_credits_exchange_user' => '您要将$extcredits[$fromcredits][title] $netamount $extcredits[$fromcredits][unit]兑换成', 'memcp_credits_exchange_you_pay' => '需要付出<strong> $extcredits[$fromcredits][title] $netamount $extcredits[$fromcredits][unit]</strong>', 'memcp_credits_exchange_you_need' => '您要兑换 ', 'memcp_credits_exchange_amount' => '积分数量', 'memcp_credits_exchange_source' => '原积分', 'memcp_credits_exchange_target' => '目标积分', 'memcp_credits_exchange_caculate' => '兑换后所得目标积分为', 'memcp_credits_exchange_min_balance' => '兑换最低余额', 'memcp_credits_exchange_out_refuse' => '禁止兑换', 'memcp_credits_exchange_msg_num_invalid' => '您要兑换的积分相同,无法兑换', 'memcp_credits_exchange_msg_balance_insufficient' => '您没有输入需要兑换的数量', 'memcp_credits_addfunds' => '充值', 'memcp_credits_addfunds_rules' => '充值规则', 'memcp_credits_addfunds_rules_ratio' => '人民币现金 <strong>1</strong> 元', 'memcp_credits_addfunds_rules_min' => '单次最低充值', 'memcp_credits_addfunds_rules_max' => '单次最高充值', 'memcp_credits_addfunds_rules_month' => '最近 30 天最高充值', 'memcp_credits_addfunds_amount' => '账户充值数额', 'memcp_credits_addfunds_caculate' => '您需要在线支付的金额为', 'memcp_credits_addfunds_msg' => '您将要充值$extcredits[$creditstrans][title] $addfundamount $extcredits[$fromcredits][unit],所需人民币 $price 元<br />请选择支付方式:', 'memcp_credits_addfunds_msg_incorrect' => '您没有输入需要充值的数量', 'memcp_credits_addfunds_caculate_radio' => '人民币 <span id="desamount">0</span> 元', 'memcp_credits_addfunds_success' => '积分充值成功。', 'memcp_credits_addfunds_fail' => '积分充值失败。', 'memcp_credits_log' => '积分记录', 'memcp_credits_log_exchange' => '兑换记录', 'memcp_credits_log_transfer' => '转账记录', 'memcp_credits_log_addfunds' => '充值记录', 'memcp_credits_log_transaction' => '转账与兑换', 'memcp_credits_log_transaction_fromto' => '来自/到', 'memcp_credits_log_transaction_outgo' => '支出', 'memcp_credits_log_transaction_income' => '收入', 'memcp_credits_log_payment' => '主题付费', 'memcp_credits_log_payment_dateline' => '付费时间', 'memcp_credits_log_payment_refunded' => '已退款', 'memcp_credits_log_income' => '主题收益', 'memcp_credits_log_income_buyer' => '购买者', 'memcp_credits_attach_log_payment' => '附件付费', 'memcp_credits_attach_log_income' => '附件收益', 'memcp_credits_attach_log_post' => '所在主题', 'memcp_credits_log_none' => '目前没有积分交易记录。', 'memcp_credits_info' => '积分概况', 'memcp_credits_password' => '请输入登录密码', 'memcp_reward_log_payment' => '悬赏付费', 'memcp_reward_log_payment_answerer' => '回答者', 'memcp_reward_log_income' => '悬赏收益', 'memcp_reward_log_income_author' => '提问者', 'memcp_reward_log_none' => '目前没有悬赏交易记录。', 'memcp_reward_total' => '悬赏总额', 'memcp_reward_fact' => '实际付费', 'memcp_usergroups' => '公众用户组', 'memcp_usergroups_info' => '论坛用户组介绍', 'memcp_usergroups_explain' => '说明', 'memcp_usergroups_alert' => '重要提醒', 'memcp_usergroups_charged' => '公众用户组收费', 'memcp_usergroups_title' => '用户组头衔', 'memcp_usergroups_dailyprice' => '日价格', 'memcp_usergroups_minspan' => '最短购买', 'memcp_usergroups_expiry' => '到期时间', 'memcp_usergroups_open' => '开放用户组', 'memcp_usergroups_credit' => '您目前可以购买', 'memcp_usergroups_buy' => '购买', 'memcp_usergroups_buy_days' => '购买', 'memcp_usergroups_join' => '加入', 'memcp_usergroups_exit' => '退出扩展用户组', 'memcp_usergroups_exit_comment' => '退出某扩展组以后,您将会失去相应的权限。因此除非必要,我们不建议您退出它', 'memcp_usergroups_open_exit_comment' => '该组是开放的用户组,您退出后,可以随时加入进来', 'memcp_usergroups_admin_exit_comment' => '注意: 该组不是开放用户组,一旦您退出,只有管理员才能将您重新加入进来', 'memcp_usergroups_free_comment' => '加入该组是免费的,且没有时间限制,您可以随时加入或者退出', 'memcp_usergroups_joinbuy' => '加入或者购买用户组', 'memcp_usergroups_join_ext' => '您的扩展用户组', 'memcp_usergroups_join_main' => '您的主用户组', 'memcp_usergroups_set_main' => '设置主用户组', 'memcp_usergroups_main_old' => '原主用户组', 'memcp_usergroups_main_new' => '新主用户组', 'memcp_usergroups_main_comment' => '主用组变更以后,您的权限将会按照新的主用户组设置', 'memcp_usergroups_main_alert' => '您选择的用户组《 $group[grouptitle] 》有使用限制。<br /><strong>一旦将它设为主用户组,您将失去购买其他扩展组的权利。</strong>', 'memcp_usergroups_join_comment' => '本组是收费用户组,您可以根据日价格按天购买,但是不能少于 $group[minspan] 天。请注意,购买后不能退款。', 'memcp_usergroups_exit' => '退出', 'memcp_usergroups_exit_comment' => '本操作不可恢复,您退出收费用户组后,如需再次加入,将重新支付相应的费用,因此请在提交前仔细确定是否退出本组。', 'memcp_usergroups_comment' => '<ul><li><strong><i>粗斜体显示的用户组</i></strong>为您已经加入,但并非公众类型的用户组,如果退出,将无法再加入该组,而只能由管理员通过管理中心修改。<li><u>下划线显示的用户组</u>不具有切换用户组的权限,因此您一旦设置其为主用户组,将失去加入或离开公众用户组的权限,请务必慎用!<li>日价格为 0 的用户组为免费公众用户组,您可以自由加入或退出;日价格高于 0 的用户组为收费公众用户组,您需要支付相应的交易积分才能加入。<li>加入收费公众用户组的最低花费为: 日价格*最短购买时间。如果您希望将收费公众用户组设置为主用户组,请先将该收费用户组加为扩展用户组,之后再设置成为主用户组。', 'memcp_usergroups_span' => '购买时间', 'memcp_usergroups_main_comment' => '主用户组决定了您在本论坛拥有哪些权限,您可以通过查看权限详细了解它', 'memcp_usergroups_ext_comment' => '扩展用户组是由管理员为您设置或者您付费购买的用户组,它可以让您访问更高级别的栏目', 'memcp_usergroups_open_comment' => '开放的用户组可以让您自由加入或者退出,某些用户组是收费的,您可以使用论坛货币购买', 'memcp_usergroups_open_forbidden' => '您目前的级别<strong> 不允许 </strong>购买任何用户组。', 'memcp_usergroups_open_own' => '已拥有', 'memcp_usergroups_join_other' => '可加入其他组', 'memcp_usergroups_set_main' => '设为主组', 'memcp_nogroups' => '目前没有可加入的公众用户组。', 'memcp_favorites' => '收藏夹', 'memcp_rate_log' => '评分记录', 'reporter' => '报告人', 'reportpost' => '报告', 'reportpost_to' => '报告给', 'reportpost_suggestion' => '我的意见', 'reportpost_type' => '报告类型', 'reportpost_recommend' => '推荐', 'reportpost_delate' => '举报', 'reportpost_reason' => '我对这个帖子有异议,特向您报告', 'reportpost_delete' => '删除报告', 'reportpost_forums' => '此处仅列出含有用户报告的版块', 'reportpost_sendpm' => '答复', 'search_keywords' => '关键字', 'search_keywords_comment' => '关键字中可使用通配符 "<strong>*</strong>"<br />匹配多个关键字全部,可用<strong>空格</strong>或 "<strong>AND</strong>" 连接。如 win32 <strong>AND</strong> unix<br />匹配多个关键字其中部分,可用 "<strong>|</strong>" 或 "<strong>OR</strong>" 连接。如 win32 <strong>OR</strong> unix', 'search_username_comment' => '用户名中可使用通配符 "<strong>*</strong>",如 <strong>*user*</strong>', 'search_range' => '搜索范围', 'search_orderby' => '排序类型', 'search_all_forums' => '搜索所有开放的版块', 'search_qihoo' => '奇虎全文', 'search_title' => '帖子', 'search_fulltext' => '全文', 'search_trade' => '商品', 'search_tradetype' => '商品类别', 'search_any_date' => '全部时间', 'search_option' => '搜索选项', 'search_mode' => '搜索方式', 'search_thread_range' => '主题范围', 'search_thread_range_all' => '全部主题', 'search_thread_range_digest' => '精华主题', 'search_thread_range_top' => '置顶主题', 'search_time' => '搜索时间', 'search_threadtype' => '搜索更多{$forum[threadtypes][types][$typeid]}分类信息', 'search_info' => '分类信息', 'search_info_more' => '搜索更多分类信息', 'search_adv' => '高级', 'search_allforum' => '全部版块', 'search_quick' => '便捷搜索', 'search_quick_hour_1' => '1 小时以内的新帖', 'search_quick_hour_4' => '4 小时以内的新帖', 'search_quick_hour_8' => '8 小时以内的新帖', 'search_quick_hour_24' => '24 小时以内的新帖', 'search_quick_day_7' => '1 周内帖子', 'search_quick_day_30' => '1 月内帖子', 'search_quick_day_180' => '6 月内帖子', 'search_quick_day_365' => '1 年内帖子', 'search_credit_msg' => '每进行一次搜索将扣除 $policymsgs', 'search_result' => '结果: <em>找到相关主题 $index[threads] 个</em>', 'search_result_keyword' => '结果: <em>找到 “<span class="emfont">$keyword</span>” 相关主题 $index[threads] 个</em>', '1_days_ago' => '1 天', '2_days_ago' => '2 天', '7_days_ago' => '1 周', '30_days_ago' => '1 个月', '90_days_ago' => '3 个月', '180_days_ago' => '6 个月', '365_days_ago' => '1 年', 'search_newer' => '以内', 'search_older' => '以前', 'search_nomatch' => '对不起,没有找到匹配结果。', 'qihoo_hot_searches' => '热门搜索', 'qihoo_topics' => '论坛专题', 'qihoo_custom_topics' => '用户专题', 'qihoo_keyword' => '输入关键词,快速搜索本论坛', 'qihoo_search_filltext' => '全文', 'qihoo_search_title' => '标题', 'qihoo_search_author' => '作者', 'qihoo_relatedthreads' => '相关主题', 'qihoo_topic_powered_by' => '本功能由奇虎提供', 'qihoo_topic_nothreads' => '目前没有与专题相关的帖子。', 'qihoo_search' => '奇虎', 'qihoo_afford' => '本功能由奇虎问答实现', 'qihoo_webthread' => '站外', 'qihoo_relateword' => '点击阅读更多关于<span class="posttags">{$relatedkeywords}</span>的相关帖子', 'message_forward' => '如果您的浏览器没有自动跳转,请点击此链接', 'attach_forward' => '如果 {$refreshtime} 秒后下载仍未开始,请点击此链接', 'message_go_back' => '[ 点击这里返回上一页 ]', 'stats' => '论坛统计', 'stats_options' => '统计选项', 'stats_rank' => '排行榜', 'stats_main' => '基本概况', 'stats_views' => '流量统计', 'stats_week' => '星期流量', 'stats_hour' => '时段流量', 'stats_agent' => '客户软件', 'stats_posthist' => '发帖量记录', 'stats_forums_rank' => '版块排行', 'stats_threads_rank' => '主题排行', 'stats_posts_rank' => '发帖排行', 'stats_credits_rank' => '积分排行', 'stats_trade_rank' => '交易排行', 'stats_onlinetime' => '在线时间', 'stats_team' => '管理团队', 'stats_modworks' => '管理统计', 'stats_main_member' => '会员统计', 'stats_main_members' => '注册会员', 'stats_main_admins' => '管理成员', 'stats_main_new' => '新会员', 'stats_main_topposter' => '今日论坛之星', 'stats_main_total_posted' => '发帖数', 'stats_main_posters' => '发帖会员', 'stats_main_nonposters' => '未发帖会员', 'stats_main_posters_percent' => '发帖会员占总数', 'stats_main_posts_avg' => '平均每人发帖数', 'stats_main_members_count' => '最近 24 小时新增会员数', 'stats_main_forums_count' => '版块数', 'stats_main_threads_count' => '主题数', 'stats_main_posts_count' => '帖子数', 'stats_main_rpt' => '平均每个主题被回复次数', 'stats_main_nppd' => '平均每日新增帖子数', 'stats_main_nmpd' => '平均每日注册会员数', 'stats_main_todays_newposts' => '最近 24 小时新增帖子数', 'stats_main_hot_forum' => '最热门的版块', 'stats_main_board_activity' => '论坛活跃指数', 'stats_main_pageview' => '流量概况', 'stats_main_total_pageview' => '总页面流量', 'stats_main_total_pageview_month' => '月份总页面流量', 'stats_main_total_pageview_time' => '时段总页面流量', 'stats_main_person_time' => '人次', 'stats_main_total_visitors' => '共计来访', 'stats_main_pv_avg' => '平均每人浏览', 'stats_main_maxpv_month' => '访问量最多的月份', 'stats_main_period_of_time' => '时段', 'stats_main_month' => '月份流量', 'stats_topics' => '主题', 'stats_posts' => '发帖', 'stats_digest_posts' => '精华帖', 'stats_posts_thismonth' => '最近 30 天发帖', 'stats_posts_today' => '最近 24 小时发帖', 'stats_os' => '操作系统', 'stats_browser' => '浏览器', 'stats_month_posts' => '每月新增帖子记录', 'stats_day_posts' => '每日新增帖子记录', 'stats_threads_most_views' => '被浏览最多的主题', 'stats_threads_most_replies' => '被回复最多的主题', 'stats_onlinetime_total' => '总在线时间排行(小时)', 'stats_onlinetime_thismonth' => '本月在线时间排行(小时)', 'stats_team_admins' => '管理员和超级版主', 'stats_team_offdays' => '离开天数', 'stats_modworks_month' => '月份', 'stats_modworks_thismonth' => '本月管理', 'stats_modworks_all' => '全体管理人员', 'stats_modworks_details' => '查看详细管理统计', 'stats_update' => '统计数据已被缓存,上次于 $lastupdate 被更新,下次将于 $nextupdate 进行更新', 'admin_modoptions' => '主题管理', 'admin_moderate' => '批量管理选项', 'admin_reason' => '操作原因', 'admin_reason_required' => '您必须输入理由才能进行操作', 'admin_reason_custom' => '请在这里输入您的理由', 'admin_select_required' => '请选择需要操作的帖子', 'admin_operation_explain' => '操作说明', 'admin_pm' => '通知作者', 'admin_next' => '后续操作', 'in_thread' => '所在主题', 'admin_target' => '目标版块', 'admin_bump' => '提升主题', 'admin_down' => '下沉主题', 'admin_bump_down' => '提升下沉', 'admin_stick' => '主题置顶', 'admin_unstick' => '解除置顶', 'admin_stick_unstick' => '置顶/解除置顶', 'admin_split' => '分割主题', 'admin_split_newsubject' => '新标题', 'admin_split_comment' => '分割 &rarr;填写楼号 (用 "," 间隔)', 'admin_open' => '打开主题', 'admin_close' => '关闭主题', 'admin_banpost' => '屏蔽', 'admin_unbanpost' => '解除', 'admin_un_banpost' => '屏蔽主题', 'admin_repair' => '修复主题', 'admin_stamp' => '主题鉴定', 'admin_stamp_select' => '选择图章', 'admin_stamp_none' => '撤销图章', 'admin_openclose' => '关闭打开', 'admin_move' => '移动主题', 'admin_move_hold' => '保留转向', 'admin_copy' => '复制主题', 'admin_type' => '主题分类', 'admin_type_msg' => '当前版块无分类设置,请联系管理员到后台设置主题分类', 'admin_supe_push' => '推送/解除', 'admin_supe_push_addremove' => '推送/解除推送', 'admin_type_more' => '更多分类', 'admin_highlight' => '高亮显示', 'admin_move_target' => '目标版块/分类', 'admin_move_type' => '移动方式', 'admin_move_redirect' => '移动主题并在原来的版块中保留转向', 'admin_merge' => '合并', 'admin_merges' => '合并主题', 'admin_merge_tid' => '填写目标主题 ID (tid)', 'admin_getip' => '查看 IP', 'admin_getip_this' => '此用户的 IP 地址是', 'admin_ban_this_ip' => '禁止此 IP', 'admin_highlight_style' => '字体样式', 'admin_highlight_color' => '字体颜色', 'admin_highlight_bold' => '粗体', 'admin_highlight_italic' => '斜体', 'admin_highlight_underline' => '下划线', 'admin_digest' => '设置精华', 'admin_digest_add' => '精华', 'admin_digest_remove' => '解除', 'admin_digest_addremove' => '加入/解除精华', 'admin_delposts' => '删除选定帖子', 'admin_delthread' => '删除主题', 'admin_delthread_confirm' => '您确认要 <strong>删除</strong> 选择的主题么?', 'admin_delthread_nopermission' => '您没有删除此主题权限', 'admin_delete_keep_author_credits' => '不减主题作者积分', 'admin_delete_keep_replier_credits' => '不减回复者积分', 'admin_delpost' => '删除回帖', 'admin_refund' => '强制退款', 'admin_remove_reward' => '取消悬赏', 'admin_recommend' => '推荐主题', 'admin_unrecommend' => '解除', 'admin_recommend_day' => '一天', 'admin_recommend_day_three' => '三天', 'admin_recommend_day_five' => '五天', 'admin_recommend_week' => '一周', 'admin_recommend_month' => '一月', 'admin_recommend_month_three' => '三月', 'admin_recommend_month_six' => '六月', 'admin_recommend_year' => '一年', 'admin_select' => '选中', 'admin_select_piece' => '选择了 $modpostsnum 篇帖子', 'admin_select_one_piece' => '选择了 1 篇主题', 'whosonline' => '在线用户', 'online_only_guests' => '当前只有游客或隐身会员在线', 'online_action' => '当前动作', 'online_in_forum' => '所在版块', 'online_in_thread' => '所在主题', 'online_ip' => 'IP 地址', 'post_percent' => '占全部帖子的', 'posts_per_day' => '平均每日发帖', 'personal_info' => '个人信息', 'somebodys_profile' => '$member[username] 的个人资料', 'add_to_buddylist' => '加为好友', 'search_posts' => '搜索帖子', 'admin_member' => '管理此人', 'moderations' => '工作统计', 'valid_before' => '有效期至', 'pageviews' => '页面访问量', 'onlinetime' => '在线时间', 'onlinetime_upgrade' => '升级剩余时间 <span class="bold">$member[olupgrade]</span> 小时', 'onlinetime_total' => '总计在线', 'onlinetime_thismonth' => '本月在线', 'last_thread' => '上一主题', 'next_thread' => '下一主题', 'disable_highlight' => '取消高亮', 'unregistered' => '未注册', 'member_deleted' => '该用户已被删除', 'member_anonymous' => '该用户匿名发帖', 'member_avatar_banned' => '头像被屏蔽', 'member_signature_banned' => '签名被屏蔽', 'member_viewpro' => '查看详细资料', 'member_threads' => '的主题', 'member_replys' => '的回复', 'member_homepage' => '查看个人网站', 'regtime' => '注册', 'online_status' => '状态', 'payto_author' => '用支付宝求购', 'payto_creditinfo' => '支付宝账户信用信息', 'attach_nopermission' => '您所在的用户组无法下载或查看附件', 'attach_nopermission_login' => '您需要<a href="logging.php?action=login" onclick="showWindow(\'login\', this.href);return false;" class="lightlink">登录</a>才可以下载或查看附件。没有帐号?<a href="$regname" onclick="hideWindow(\'login\');showWindow(\'register\', this.href);return false;" title="注册帐号" class="lightlink">$reglinkname</a>', 'attach_download_count' => '下载次数', 'attach_img' => '图片附件', 'attach_pay' => '收费附件', 'image_thumb' => '点击在新窗口查看全图', 'view_profile' => '资料', 'visit_home' => '主页', 'send_pm' => '发短消息', 'edit_post' => '编辑帖子', 'reply_quote' => '引用', 'report_to_moderator' => '向版主反映这个帖子', 'rate' => '评分', 'removerate' => '撤销评分', 'rate_quota_today' => '今日还能评分 $maxratetoday[$id] {$extcredits[$id][unit]}', 'rate_this_post' => '给本帖评分', 'rate_view' => '查看评分记录', 'rate_view_post' => '原帖内容', 'rate_credit_add' => '帖子被加分', 'rate_credit_reduce' => '帖子被减分', 'pay' => '购买主题', 'pay_attachment' => '购买附件', 'pay_comment' => '本主题需向作者支付 <strong>{$thread[price]} {$extcredits[$creditstransextra[1]][title]} </strong> 才能浏览', 'pay_buyers' => '已购买人数', 'pay_author_income' => '作者所得', 'pay_balance' => '购买后余额', 'pay_max_income' => '作者最高收入', 'pay_free_time' => '本主题购买截止日期为 $thread[endtime],到期后将免费', 'pay_free_message' => '免费信息', 'pay_replies' => '最新若干回复', 'pay_view' => '记录', 'pay_nobuyers' => '目前没有用户购买此主题。', 'pay_noreplies' => '目前尚无回复。', 'pay_threads' => '付费主题, 价格', 'week_sun' => '日', 'week_mon' => '一', 'week_tues' => '二', 'week_wed' => '三', 'week_thurs' => '四', 'week_fri' => '五', 'week_sat' => '六', 'pm_center' => '短消息', 'pm_new_youhave' => '您有', 'pm_receiver' => '收件人', 'pm_close' => '关闭', 'pm_new' => '您有新短消息', 'pm_announce' => '公共消息', 'pm_private' => '私人消息', 'pm_system' => '系统消息', 'pm_setting' => '消息设置', 'pm_view' => '查看消息', 'pm_today' => '今天', 'pm_yesterday' => '昨天', 'pm_before_yesterday' => '前天', 'pm_three_day' => '最近三天', 'pm_week' => '本周', 'pm_all_day' => '全部', 'pm_three_day_nonexistence' => '最近三天没有新短消息,查看<a href="pm.php?uid=$uid&daterange=4">更早时间</a>的短消息历史?', 'pm_week_nonexistence' => '本周没有新短消息,查看<a href="pm.php?uid=$uid&daterange=5">更早时间</a>的短消息历史?', 'pm_all_day_nonexistence' => '没有新短消息。', 'pm_num_total' => '共 $ucdata[count] 组消息', 'pm_reply' => '回复', 'pm_first_page' => '第一页', 'pm_search_continue' => '继续搜索', 'pm_clean' => '清空', 'pm_clean_confirm' => '确认要清空所有短消息记录?', 'pm_blacklist' => '黑名单', 'pm_add_blacklist' => '加入黑名单', 'pm_all_blacklist_black' => '屏蔽所有会员消息', 'pm_all_blacklist_receive' => '接受所有会员消息', 'pm_restore_blacklist' => '恢复', 'pm_remove_blacklist' => '移除', 'pm_blacklist_alert' => '点击此链接后,将不会收到任何会员的短消息', 'pm_blacklist_msg' => '您已经屏蔽所有会员', 'pm_between_user' => '与 <strong>$user</strong> 的短消息记录:', 'pm_unread' => '未读消息', 'pm_folders' => '文件夹', 'pm_shortcut' => '快捷方式', 'pm_send' => '发送短消息', 'pm_send_save_outbox' => '不发送,只保存到草稿箱中', 'pm_search' => '搜索短消息', 'pm_search_username' => '发信人或收信人', 'pm_search_username_comment' => '发信人或收信人用户名中可使用通配符 "*",如 *user*', 'pm_search_read' => '已读短消息', 'pm_search_unread' => '未读短消息', 'pm_search_orderby_dateline' => '按收发时间', 'pm_search_orderby_from' => '按收发信人名', 'pm_systemmessage' => '系统消息', 'pm_message_num' => '以及另外 $morenum 条新消息...', 'pm_track' => '已发送', 'pm_data_usage' => '空间使用', 'pm_total' => '共有短消息', 'pm_storage' => '短消息上限', 'pm_orig_message' => '原始短消息', 'pm_to_buddy' => '好友群发', 'pm_archive' => '导出', 'pm_archive_delete' => '导出后删除短消息', 'pm_archive_folder' => '文件夹', 'pm_archive_from' => '时间范围', 'pm_archive_from_1_days' => '1 天', 'pm_archive_from_2_days' => '2 天', 'pm_archive_from_7_days' => '1 周', 'pm_archive_from_30_days' => '1 个月', 'pm_archive_from_90_days' => '3 个月', 'pm_archive_from_180_days' => '6 个月', 'pm_archive_from_365_days' => '1 年', 'pm_archive_from_newer' => '以来', 'pm_archive_from_older' => '以前', 'pm_archive_amount' => '导出短消息数量', 'pm_ignore' => '忽略列表', 'pm_ignore_comment' => '添加到该列表中的用户给您发送短消息时将不予接收<br />添加多个忽略人员名单时用逗号 "<strong>,</strong>" 隔开(如:张三<strong>,</strong>李四<strong>,</strong>王五)<br />如需禁止所有用户发来的短消息,请设置为 "<strong>{{ALL}}</strong>"', 'pm_mark_unread' => '标记未读', 'pm_announce' => '公共消息', 'pm_credit_msg' => '每发送一条短消息将扣除 $policymsgs', 'pm_delete_confirm' => '确定删除指定的消息吗?', 'pm_nomsg' => '点击这里查看此消息', 'nopermission' => '您无权进行当前操作,原因如下:', 'nopermission_no_loggedin' => '您还没有登录,请<a href="logging.php?action=login" onclick="showWindow(\'login\', this.href);return false;">登录</a>。', 'nopermission_loggedin' => '<a href="faq.php?action=grouppermission" target="_blank">查看您当前用户组的权限</a>', 'faq_search' => '搜索帮助', 'faq_search_title_and_content' => '搜索帮助标题和内容', 'faq_search_title' => '搜索帮助标题', 'faq_search_content' => '搜索帮助内容', 'faq_search_nomatch' => '对不起,没有找到匹配结果', 'faq_related' => '相关帮助', 'reward_thethread' => '悬赏金额', 'reward_solved' => '已解决', 'reward_unsolved' => '未解决', 'reward_bestanswer' => '最佳答案', 'reward_set_bestanswer' => '最佳答案', 'reward_solved_time' => '解决时间', 'reward_message' => '补充资料', 'reward_solver' => '回答者', 'reward_answer' => '我来回答', 'trade_goods_info' => '商品信息', 'editor_mode_all' => '全部功能', 'editor_mode_simple' => '简单功能', 'editor_mode' => '编辑器模式', 'editor_mode_wysiwyg' => '所见即所得模式', 'editor_mode_discuzcode' => 'Discuz! 代码模式', 'permission_menu_usergroup' => '用户组', 'permission_group' => '用户组权限', 'permission_group_credit' => '积分起点', 'permission_group_detail' => '查看权限', 'permission_group_search' => '用户组权限', 'permission_group_upgrade' => '您的当前积分为 {$credits} 还需 $upgrade 才能升级到 <a href="faq.php?action=grouppermission&searchgroupid=$nextgid" class="lightlink">{$groups[$nextgid][grouptitle]}</a>,<a href="faq.php?action=credits" class="lightlink">查看积分说明</a>', 'permission_mypermission' => '我的权限', 'permission_member_group' => '会员用户组', 'permission_system_group' => '系统用户组', 'permission_special_group' => '特殊用户组', 'permission_specialadmin_group' => '特殊管理组', 'permission_member_level' => '用户级别', 'permission_menu_modoptions' => '管理权限', 'permission_menu_normaloptions' => '普通权限', 'permission_menu_forumoptions' => '版块权限', 'permission_change_perm' => '权限的变更', 'permission_all_perm' => '所有权限', 'permission_modoptions_name' => '管理权限', 'permission_modoptions_allfourm' => '全论坛管理', 'permission_modoptions_partforum' => '部分版块管理', 'permission_modoptions_edit_post' => '编辑帖子', 'permission_modoptions_edit_poll' => '编辑投票', 'permission_modoptions_edit_stick' => '置顶帖子', 'permission_modoptions_audit_post' => '审核帖子', 'permission_modoptions_delete_post' => '删除帖子', 'permission_modoptions_delete_postlist' => '批量删帖', 'permission_modoptions_filter' => '过滤词语', 'permission_modoptions_show_ip' => '查看 IP', 'permission_modoptions_ban_ip' => '禁止 IP', 'permission_modoptions_edit_member' => '编辑用户', 'permission_modoptions_ban_member' => '禁止用户', 'permission_modoptions_audit_member' => '审核用户', 'permission_modoptions_add_announcements' => '发布公告', 'permission_modoptions_check_log' => '查看记录', 'permission_modoptions_post_nopermission' => '发帖不受限制', 'permission_modoptions_pushthread' => '收录主题', 'permission_menu_basic' => '基本权限', 'permission_basic_fourm' => '访问论坛', 'permission_basic_read' => '阅读权限', 'permission_basic_memberinfo' => '查看用户资料', 'permission_basic_invisible' => '隐身', 'permission_basic_search' => '使用搜索', 'permission_basic_disable_sarch' => '禁用搜索', 'permission_basic_search_title' => '只允许搜索标题', 'permission_basic_search_content' => '允许搜索帖子内容', 'permission_basic_face' => '允许使用头像', 'permission_basic_disable_face' => '禁用头像', 'permission_basic_forum_face' => '允许使用论坛头像', 'permission_basic_custom_face' => '允许自定义头像', 'permission_basic_blog' => '允许使用文集', 'permission_basic_nickname' => '使用昵称', 'permission_basic_status' => '自定义头衔', 'permission_basic_pm_storage' => '短信收件箱容量', 'permission_menu_post' => '帖子相关', 'permission_post_new' => '发新话题', 'permission_post_replay' => '发表回复', 'permission_post_poll' => '发起投票', 'permission_post_poll_join' => '参与投票', 'permission_post_reward' => '发表悬赏', 'permission_post_activity' => '发表活动', 'permission_post_debate' => '发表辩论', 'permission_post_trade' => '发表交易', 'permission_post_discuzcode' => '签名中使用 Discuz! 代码', 'permission_post_img' => '签名中使用 [img] 代码', 'permission_post_max_signature' => '最大签名长度', 'permission_post_discuzcode_bio' => '自我介绍中使用 Discuz! 代码', 'permission_post_img_bio' => '自我介绍中使用 [img] 代码', 'permission_post_max_bio' => '自我介绍最大长度', 'permission_post_recommend' => '主题评价影响值', 'permission_menu_attachment' => '附件相关', 'permission_attachment_down_show' => '下载/查看附件', 'permission_attachment_add' => '发布附件', 'permission_attachment_set' => '设置附件权限', 'permission_attachment_maxlen' => '单个最大附件尺寸', 'permission_attachment_maxsize' => '每天最大附件总尺寸', 'permission_attachment_nopermission' => '没有限制', 'permission_attachment_type' => '附件类型', 'permission_prev_group' => '(上一级别)', 'permission_current_group' => '(当前级别)', 'permission_next_group' => '(下一级别)', 'more_settings' => '更多设置', 'my_mypost' => '我发起的', 'my_join' => '我参与的', 'my_activities_all' => '全部活动', 'my_activities_noexpiration' => '未结束的活动', 'my_activities_expiration' => '已结束的活动', 'my_activities_mypost' => '我发起的活动', 'my_activities_stop_stauts' => '征集截止', 'my_activities_stop_stauts_yes' => '已截止', 'my_activities_stop_stauts_no' => '未截止', 'my_activities_join' => '我参与的活动', 'my_threads_close' => '关闭', 'my_reward_all_question' => '全部问题', 'my_reward_question_solved' => '已解决的问题', 'my_reward_question_unsolved' => '未解决的问题', 'my_reward_answer_adopted' => '被采纳的回答', 'my_reward_answer_unadopted' => '未采纳的回答', 'my_reward_answer' => '未采纳的回答', 'my_reward_question_number' => '提问总数', 'my_reward_unit' => '次', 'my_reward_question_solved_number' => '问题被解决', 'my_reward_question_solved_per' => '问题被解决率', 'my_reward_all_answer' => '全部回答', 'my_reward_question_price' => '问题付出', 'my_reward_answer_number' => '回答总数', 'my_reward_answer_adopted_number' => '回答被采纳', 'my_reward_answer_adopted_per' => '回答被采纳率', 'my_reward_anser_price' => '回答得分', 'my_reward_name' => '悬赏名称', 'my_reward_forum' => '所属版块', 'my_reward_answerer' => '回答者', 'my_reward_allprice' => '悬赏总额', 'my_reward_real_payment' => '实际支付', 'my_reward_solved' => '已解决', 'my_reward_unsolved' => '未解决', 'my_reward_questioner' => '提问者', 'my_reward_status' => '悬赏状态', 'my_reward_dateline' => '悬赏日期', 'my_reward_adopted' => '已采纳', 'my_reward_unadopted' => '未采纳', 'my_reward_nofind' => '不存在悬赏记录', 'my_threads_aduit' => '待审核', 'my_promotion_url' => '如果您的朋友通过下面任意一个链接访问论坛,您将获得 <span class="emfont">$promotion_visit</span>', 'my_promotion_reg' => '如果您的朋友不但访问并且注册成为会员,您将再获得 <span class="emfont">$promotion_register</span>', 'my_promotion' => '如果您的朋友通过下面任意一个链接访问论坛并注册新会员,您将获得 <span class="emfont">$promotion_register</span>', 'my_buddylist' => '我的好友', 'my_buddylist_note' => '备注', 'my_buddylist_status' => '状态', 'my_buddylist_status_1' => '关注', 'my_buddylist_status_3' => '好友', 'my_buddylist_none' => '您当前没有好友', 'my_buddylist_invite' => '邀请好友', 'my_buddylist_space' => '好友空间', 'my_buddylist_comment_edit' => '编辑备注', 'my_buddylist_comment_add' => '添加备注', 'my_buddylist_post' => '的帖子', 'special_author' => '发起人', 'post_my_advisit' => '访问推广', 'post_promotion_url1' => '推广连接1:', 'post_promotion_url2' => '推广连接2:', 'post_copied' => '帖子地址已经复制到剪贴板', 'promotion_url_copied' => '推广链接已经复制到剪贴板', 'auditstatuson' => '通过审核', 'poll_closed' => '已关闭', 'poll_finish' => '已结束', 'poll_submit_after' => '提交投票后结果才可见', 'poll_close' => '关闭投票', 'poll_max_options' => '最多可选项数', 'poll_show_order' => '显示顺序', 'poll_option_add' => '增加投票项', 'poll_show_voter' => '查看该项投票人', 'poll_subject' => '投票标题', 'poll_multiple' => '多选', 'poll_single' => '单选', 'poll_view_voters' => '查看投票参与人', 'poll_voters' => '参与投票的会员', 'poll_end' => '投票已经结束', 'poll_message' => '背景资料', 'poll_yourchoice' => '投票项目', 'poll_after_result' => '投票后结果可见', 'poll_nopermission' => '对不起,您无权投票。', 'poll_more_than' => '最多可选 $maxchoices 项', 'poll_days_valid' => '有效记票天数', 'poll_voterscount' => '共有 $voterscount 人参与投票', 'poll_count_down' => '距结束还有', 'poll_hour' => '小时', 'poll_minute' => '分钟', 'poll_msg_overt' => '此为公开投票,其他人可看到你的投票项目', 'poll_msg_allwvoteusergroup' => '您所在的用户组没有投票权限', 'poll_msg_allowvotepolled' => '您已经投过票,谢谢您的参与', 'poll_msg_allowvotethread' => '该投票已经关闭或者过期,不能投票', 'tarde_price_bound' => '价格范围', 'trade_min_price' => '最小价格', 'trade_procedure_price' => '交易手续费', 'trade_price_exceed' => '超出价格范围', 'trade_goods_number' => '商品数目', 'trade_price_sort' => '交易额排行', 'trade_totalprice' => '总金额', 'trace_number_sort' => '交易数排行', 'trace_sell_number' => '售出数量', 'trade_sellerinfo' => '卖家信息', 'trade_fullinfo' => '查看商品详情', 'trade_price' => '现价', 'trade_costprice' => '原价', 'trade_number' => '数量', 'trade_transport' => '运费', 'trade_locus' => '地点', 'trade_type_viewthread' => '商品类型', 'trade_goodsinfo' => '商品详情', 'special_tab_poll' => '相关回复', 'special_tab_reward' => '主题回复', 'special_tab_activity' => '主题回复', 'eccredit' => '信用评价', 'eccredit1' => '评价', 'eccredit_members' => '的信用评价', 'eccredit_buyerinfo' => '买家信用', 'eccredit_sellerinfo' => '卖家信用', 'eccredit_buyerpercent' => '买家好评率', 'eccredit_sellerpercent' => '卖家好评率', 'eccredit_offline' => '本交易不计入信用评价', 'eccredit_1week' => '最近1周', 'eccredit_1month' => '最近1个月', 'eccredit_6month' => '最近6个月', 'eccredit_6monthbefore' => '6个月前', 'eccredit_total' => '总计', 'eccredit_good' => '好评', 'eccredit_good_comment' => '(加1分)', 'eccredit_soso' => '中评', 'eccredit_soso_comment' => '(不加分)', 'eccredit_bad' => '差评', 'eccredit_bad_comment' => '(扣1分)', 'eccredit_explanation' => '解释', 'eccredit_s' => '的', 'eccredit_list_all' => '收到的所有评价', 'eccredit_list_buyer' => '来自买家的评价', 'eccredit_list_seller' => '来自卖家的评价', 'eccredit_list_other' => '给他人的评价', 'eccredit_content' => '评价内容', 'eccredit_goodsname_seller' => '宝贝名称/评价人', 'eccredit_tradeprice' => '成交价', 'eccredit_nofound' => '没有找到相关评价!', 'eccredit_needexplanation' => '我要解释', 'eccredit_explanationexpiration' => '您可以在 $comment[expiration] 之前作出解释。', 'eccredit_post' => '发表评价', 'eccredit_retee' => '被评价人', 'eccredit_tradegoods' => '相关商品', 'eccredit_post_between' => '双方已评', 'eccredit_post_waiting' => '等待对方评价', 'eccredit_post_already' => '对方已评', 'eccredit_list' => '查看详细的信用记录', 'activity_sort_null' => '对不起,请输入活动所属类别。', 'activity_fromtime_null' => '对不起,请输入活动开始时间。', 'activity_addr_null' => '对不起,请输入活动地点。', 'activity_city' => '所在城市', 'activity_specific_time' => '在一个确定的时间开始', 'activity_bound_time' => '在一个时间范围内商定', 'activity_description' => '活动说明', 'activity_join_list' => '已报名会员', 'activity_name' => '活动名称', 'activiy_sort' => '活动类别', 'activiy_linkman_input' => '请输入您的联系方式。', 'activiy_linkman_more' => '您的联系方式超过 200 个字符的限制。', 'activiy_guest_more' => '您的留言超过 200 个字符的限制。', 'activiy_linkman' => '联系方式:', 'activity_starttime' => '开始时间', 'activity_starttime_endtime' => '时间范围', 'activity_start_between' => '$activity[starttimefrom] 至 $activity[starttimeto] 商定', 'activity_space' => '活动地点', 'activity_payment' => '活动花销', 'activity_confirm_status' => '批准状态', 'activity_confirm_status_yes' => '已批准', 'activity_confirm_status_no' => '未批准', 'activity_about_member' => '剩余名额', 'activity_already' => '已报名人数', 'activity_member_unit' => '人', 'activity_totime' => '征集截止日期', 'activity_wait' => '您的加入申请已发出,请等待发起者的审批', 'activity_paytype' => '支付方式', 'activity_pay_myself' => '承担自己应付的花销', 'activity_would_payment' => '支付', 'activity_my_join' => '申请参加此活动', 'activity_already_join' => '您已经参加过此活动', 'activity_join_audit' => '您已经参加了此活动', 'activity_join_members' => '申请者', 'activity_linkman' => '联系方式', 'activity_payment' => '每人花销', 'activity_jointime' => '申请时间', 'activity_self' => '自付', 'activity_allow_join' => '允许参加', 'activity_cant_audit' => '尚未审核', 'activity_message' => '活动资料', 'activity_info' => '活动信息', 'activity_info_ext' => '活动补充信息', 'activity_new_signup' => '最新报名会员', 'activity_new_join' => '最新参加会员', 'activity_need_member' => '需要人数', 'activity_close' => '活动已结束', 'activity_join' => '我参加', 'activity_applylist' => '活动报名者', 'activity_applylist_manage' => '活动报名者管理', 'activity_apply_confirm' => '审核报名者', 'reward_price_back' => ',返还悬赏费用,不退还手续费。', 'reward_credits_null' => '对不起,请输入悬赏积分。', 'reward_price' => '悬赏价格', 'reward_tax_after' => '税后支付', 'reward_tax_add' => '税后追加', 'reward_low' => '最低', 'reward_price_overflow' => '售价不能高于 32767', 'reward_price_bound' => '售价超出范围', 'reward_cant_fall' => '不能降低悬赏积分', 'register_advanced_options' => '高级选项', 'register_advanced_options_comment' => '显示高级用户设置选项', 'register_profile_seccode_invalid' => '验证码输入错误,请重新填写。', 'register_profile_secqaa_invalid' => '验证问答回答错误,请重新填写。', 'register_profile_username_toolong' => '用户名超过 15 个字符', 'register_profile_profile_username_tooshort' => '用户名小于3个字符', 'register_profile_username_illegal' => '用户名包含敏感字符或被系统屏蔽,请重新填写。', 'register_profile_passwd_illegal' => '密码空或包含非法字符,请重新填写。', 'register_profile_passwd_notmatch' => '两次输入的密码不一致,请检查后重试。', 'register_profile_email_invalid' => '您只能使用以 $accessemail 结尾的信箱,请重新填写。', 'topicadmin_warn_add' => '警告', 'topicadmin_warn_delete' => '解除', 'topicadmin_warn_prompt' => '$warningexpiration 天内累计被警告 $warninglimit 次,将被自动禁止发帖 $warningexpiration 天', 'topicadmin_warn_nums' => '用户 $warningauthor 已被警告 $authorwarnings 次', 'space_layout_nocenter' => '中间栏至少要有一个模块', 'space_base_settings' => '基本设置', 'space_style_settings' => '风格选择', 'space_cp' => '面板', 'space_module_settings' => '模块选择', 'space_layout_settings' => '布局选择', 'space_preview' => '预览', 'space_save' => '保存', 'space_welcome' => '欢迎您', 'space_returnboard' => '返回论坛', 'space_copylink' => '复制链接', 'space_addfav' => '加入收藏', 'space_index' => '空间首页', 'space_profile' => '我的资料', 'space_sprofile' => '的个人资料', 'space_settings' => '个人空间管理', 'space_leftside' => '左侧边栏', 'space_rightside' => '右侧边栏', 'space_bothside' => '双侧边栏', 'space_my' => '我的空间', 'space_sign' => '开通个人空间', 'space_upgrade_space' => '升级个人空间', 'space_more' => '更多', 'space_name' => '空间名称', 'space_desc' => '空间描述', 'space_userspace' => '的个人空间', 'space_textsample' => '文本演示', 'space_linksample' => '链接演示', 'space_userdetails' => '详细信息', 'space_memcp' => '您现在处于编辑状态,所有的操作只有在<u>保存</u>后有效', 'space_adv' => '高级', 'space_full_version' => '查看完整版本', 'space_trade_home' => '店铺首页', 'space_trade_all' => '所有商品', 'space_trade_stick' => '推荐商品', 'space_trade_nonetype' => '无类别商品', 'magics' => '道具中心', 'magics_hot' => '热销道具', 'magics_recommend' => '推荐道具', 'magics_tips' => '道具系统已关闭,仅管理员可以正常使用', 'magics_title' => '道具', 'magics_index' => '道具中心', 'magics_shop' => '道具商店', 'magics_market' => '二手市场', 'magics_user' => '我的道具箱', 'magics_user_totalnum' => '总重量', 'magics_information' => '其他信息', 'magics_discount' => '折扣', 'magics_capacity' => '道具负载量', 'magics_name' => '名称', 'magics_function' => '功能', 'magics_price' => '售价', 'magics_discountprice' => '折扣价', 'magics_num' => '数量', 'magics_weight' => '重量', 'magics_single_weight' => '单个重量', 'magics_seller' => '出售者', 'magics_market_my' => '我出售的', 'magics_market_nonexistence' => '没有道具出售', 'magics_market_order' => '没有道具出售', 'magics_market_price' => '市场价格', 'magics_shop_num' => '库存', 'magics_shop_salevolume' => '销量', 'magics_shop_nonexistence' => '没有此类道具', 'magics_shop_present' => '赠送其他用户', 'magics_to_user' => '对{$post[author]}使用{$magic[name]}', 'magics_log' => '道具记录', 'magics_log_use' => '使用记录', 'magics_log_buy' => '购买记录', 'magics_present_message' => '赠送留言', 'magics_present_message_text' => '送你一个{$magic[name]},{$magic[description]},希望你能喜欢。', 'magics_log_present' => '赠送记录', 'magics_log_receive' => '获赠记录', 'magics_log_market' => '市场记录', 'magics_dateline_use' => '使用时间', 'magics_dateline_buy' => '购买时间', 'magics_dateline_present' => '赠送时间', 'magics_dateline_receive' => '获赠时间', 'magics_dateline_operation' => '操作时间', 'magics_amount_buy' => '购买数量', 'magics_amount_down' => '撤下数量', 'magics_amount_present' => '赠送数量', 'magics_amount_receive' => '获赠数量', 'magics_amount_operation' => '操作数量', 'magics_price_buy' => '购买价格', 'magics_price_operation' => '操作价格', 'magics_target' => '查看对象', 'magics_target_use' => '使用对象', 'magics_target_present' => '赠送给', 'magics_target_receive' => '赠送人', 'magics_operation' => '操作', 'magics_operation_buy' => '购买', 'magics_operation_sell' => '出售', 'magics_operation_down' => '撤下', 'magics_operation_user' => '购买', 'magics_operation_drop' => '丢弃', 'magics_operation_use' => '使用', 'magics_operation_present' => '赠送', 'magics_operation_sell' => '出售', 'magics_log_nonexistence' => '没有相关记录', 'magics_type_1' => '帖子类', 'magics_type_2' => '会员类', 'magics_type_3' => '其他类', 'magics_permission' => '是否允许使用', 'magics_permission_allforum' => '所有版块', 'magics_permission_allgroup' => '所有用户组', 'magics_permission_yes' => '允许使用', 'magics_permission_no' => '不允许使用', 'magics_permission_forum' => '允许使用版块', 'magics_permission_group' => '允许使用的用户组', 'magics_confirm' => '确认该操作', 'magics_use' => '使用道具', 'magics_select' => '选择道具', 'magics_item' => '该道具', 'magics_logs' => '本主题由 $lastmod[modusername] 于 $lastmod[moddateline] 使用 $lastmod[magicname] 道具', 'magics_discount_tips' => '如果不添加价格,则按照原价的 {$magicdiscount}% 出售给系统', 'magics_item_nonexistence' => '您没有道具,请到<a href="magic.php" target="_blank">道具商店</a>购买', 'magics_view_logs' => '查看道具记录', 'task' => '论坛任务', 'task_new' => '新任务', 'task_doing' => '进行中的任务', 'task_done' => '已完成的任务', 'task_failed' => '失败的任务', 'task_reward' => '奖励', 'task_complete_on' => '完成于', 'task_lose_on' => '失败于', 'task_applies' => '人气', 'task_reapply' => '后可以重新申请', 'task_reapply_now' => '现在可以重新申请', 'task_applyagain_now' => '现在可以再次申请', 'task_applyagain' => '后可以再次申请', 'task_group_nopermission' => '您所在的用户组无法申请此任务', 'task_applies_full' => '人数已满', 'task_detail' => '任务详情', 'task_endtime' => '当前任务下线时间为 $task[endtime],过期后您将不能申请此任务', 'task_period' => '每隔 $task[period] 小时允许申请一次', 'task_apply_condition' => '申请此任务所需条件', 'task_general_users' => '普通会员', 'task_admins' => '管理人员', 'task_relatedtask' => '必须完成指定任务', 'task_numlimit' => '人次上限', 'task_complete_condition' => '完成此任务所需条件', 'task_applicants' => '已有 $task[applicants] 位会员参与此任务', 'task_complete' => '已完成', 'task_complete_time_start' => '从申请任务开始计时,', 'task_complete_time_limit' => '$taskvars[complete][time][value] 小时内,', 'task_complete_act_buddy' => '添加 $taskvars[complete][num][value] 个好友。', 'task_complete_act_favorite' => '收藏 $taskvars[complete][num][value] 个主题。', 'task_complete_act_magic' => '使用 $taskvars[complete][num][value] 次道具。', 'task_complete_forumid' => '在版块 <a href="forumdisplay.php?fid=$taskvars[complete][forumid][value]" target="_blank">$_DCACHE[forums][$taskvars[complete][forumid][value]][name]</a> ', 'task_complete_act_newthread' => '发新主题 $taskvars[complete][num][value] 次。', 'task_complete_act_newpost' => '发新主题/回复 $taskvars[complete][num][value] 次。', 'task_complete_act_newreply_thread' => '回复主题“<a href="viewthread.php?tid=$taskvars[complete][threadid][value]" target="_blank">$subject</a>” $taskvars[complete][num][value] 次。', 'task_complete_act_newreply_author' => '回复作者“<a href="space.php?uid=$taskvars[complete][authorid][value]" target="_blank">$author</a>”的主题 $taskvars[complete][num][value] 次。', 'task_nonew' => '暂无新任务,周期性任务完成后可以再次申请,敬请关注!', 'task_nodoing' => '暂无进行中的任务,请到新任务中申请!', 'frameon_flat' => '平板模式', 'frameon_column' => '分栏模式', 'allow_post_reward' => '允许发表悬赏', 'allow_post_activity' => '允许发表活动', 'allow_post_trade' => '允许发表交易', 'allow_post_debate' => '允许发表辩论', 'special_thread' => '特殊主题', 'special_poll' => '投票主题', 'special_trade' => '商品主题', 'special_reward' => '悬赏主题', 'special_activity' => '活动主题', 'special_debate' => '辩论主题', 'special_starttime' => '开始时间', 'msn_email_reglink_default' => '注册超大 Hotmail 邮箱', 'msn_email_reglink' => '注册 @$msn[domain] 超大 Hotmail 邮箱', 'msn_email_id' => '注册 MSN ID', 'msn_download' => '下载 MSN', 'msn_chat' => 'MSN 聊天', 'msn_imme' => 'MSN 在线通', 'msn_imme_nobinding' => '您还没有绑定 MSN', 'msn_imme_enable' => '启用 MSN 在线通', 'msn_imme_info' => '什么是 MSN 在线通', 'msn_imme_binded' => '您已经成功绑定了 MSN', 'msn_imme_change' => '更换绑定的 MSN 帐号', 'msn_imme_cancel' => '取消 MSN 绑定', 'leftmenu_index' => '论坛首页', 'tag' => '标签', 'hottags' => '热门标签', 'searchtags' => '可用标签', 'randtags' => '随机标签', 'tag_comment' => '(用逗号或空格隔开多个标签,最多可填写 <strong>5</strong> 个)', 'tag_nofound' => '标签信息不存在', 'tag_more' => '查看更多', 'tag_close' => '关闭', 'tag_select' => '可选标签', 'tag_parse' => '标签解析', 'invite' => '邀请注册', 'invite_buy' => '购买邀请码', 'invite_get' => '获得邀请码', 'invite_send' => '发送邀请码', 'invite_code' => '邀请码', 'invite_mycode' => '我的邀请码', 'invite_code_price' => '邀请码单个价格', 'invite_regsiter' => '注册人', 'invite_available' => '有效邀请码', 'invite_invalid' => '过期邀请码记录', 'invite_used' => '已用邀请码记录', 'invite_sent' => '已发送邀请码记录', 'invite_logs' => '邀请记录', 'invite_buy_num' => '购买数量', 'invite_buy_credit' => '所需金额', 'invite_buy_dateline' => '购买日期', 'invite_expiration' => '有效日期', 'invite_log_nonexistence' => '没有相关记录', 'invite_copy' => '复制所选邀请码', 'invite_copy_code_success' => '已复制到剪贴板', 'invite_copy_code_all_success' => '所选邀请码已全部复制到剪贴板', 'invite_code_expirate' => '已过期', 'invite_mark' => '标记为已发送', 'invite_unmark' => '取消标记', 'invite_send' => '发送', 'invite_get_code' => '点击获得邀请码', 'invite_num_tips' => '<li>您所在的用户组 24 小时内可以购买 <strong>{$maxinvitenum}</strong> 个邀请码,已经购买了 <strong>{$myinvitenum}</strong> 个</li>', 'invite_expiration_tips' => '<li>邀请码的有效期为 <strong>{$maxinviteday}</strong> 天</li>', 'invite_friends' => '最近邀请的好友', 'poll_dateline' => '投票日期', 'debate_dateline' => '辩论日期', 'debate_square' => '正方', 'debate_opponent' => '反方', 'debate_neutral' => '中立', 'debate_square_point' => '正方观点', 'debate_opponent_point' => '反方观点', 'debate_neutra_point' => '中立观点', 'debate_support_square' => '支持正方', 'debate_support_opponent' => '支持反方', 'debate_all_point' => '全部观点', 'debate_position' => '立场', 'debate_background' => '背景资料', 'debate_winner' => '获胜', 'debate_draw' => '平局', 'debate_debaters' => '个辩手', 'debate_bestdebater' => '最佳辩手', 'debate_recommend_list' => '推荐名单', 'debate_umpirepoint' => '裁判观点', 'debate_umpirecomment' => '裁判点评', 'debate_umpirepoint_edit' => '编辑裁判观点', 'debate_umpire_end' => '结束此次辩论', 'debate_comment_dateline' => '评判时间', 'debate_poll' => '票', 'debate_poll_num' => '得票数', 'debate_poll_my' => '投我一票', 'debate_end' => '辩论已经结束', 'debate_count_down' => '距结束还有', 'debate_list_nonexistence' => '如果不在列表中,请自行填写', 'debate_bestdebater_nonexistence' => '请填写最佳辩手。', 'debate_winner_nonexistence' => '请填写获胜方。', 'debate_umpirepoint_nonexistence' => '请填写您的观点。', 'debate_hour' => '小时', 'debate_minute' => '分钟', 'debate_situation' => '最新战况', 'debate_view_square' => '只看正方', 'debate_view_opponent' => '只看反方', 'debate_view_neutral' => '只看中立', 'debate_support' => '支持我', 'debate_filter' => '按立场筛选', 'debate_viewpoint' => '选择观点', 'debater' => '辩手', 'debater_square' => '我要做正方辩手', 'debater_opponent' => '我要做反方辩手', 'threadtype_option' => '分类信息', 'threadtype_expiration' => '信息有效期', 'threadtype_description' => '发帖说明', 'post_hide_credits' => '以下内容需要积分高于 $creditsrequire 才可浏览', 'post_hide_credits_hidden' => '本帖隐藏的内容需要积分高于 $creditsrequire 才可浏览', 'post_hide_reply' => '以下内容需要回复才能看到', 'post_hide_reply_hidden' => '本帖隐藏的内容需要回复才可以浏览', 'discuzcode_copyclipboard' => '复制代码', 'authorinfoitems_uid' => 'UID', 'authorinfoitems_posts' => '帖子', 'authorinfoitems_threads' => '主题', 'authorinfoitems_digest' => '精华', 'authorinfoitems_credits' => '积分', 'authorinfoitems_regtime' => '注册时间', 'authorinfoitems_lastdate' => '最后登录', 'authorinfoitems_oltime' => '在线时间', 'authorinfoitems_readperm' => '阅读权限', 'authorinfoitems_gender' => '性别', 'authorinfoitems_gender_male' => '男', 'authorinfoitems_gender_female' => '女', 'authorinfoitems_location' => '来自', 'threadtype_required_invalid' => '必填项目没有填写。', 'threadtype_format_num_invalid' => '数字填写不正确', 'threadtype_format_email_invalid' => '邮件地址不正确', 'threadtype_toolong_invalid' => '填写项目长度过长', 'threadtype_maxnum_invalid' => '大于设置最大值', 'threadtype_minnum_invalid' => '小于设置最小值', 'threadtype_expiration_invalid' => '此主题必须指定有效期,请返回修改。', 'mod_works_modpost_existence' => '待审核帖($modnum)', 'mod_works_moduser_existence' => '待审核用户($modusernum)', 'mod_works_report_existence' => '用户报告($reportnum)', 'mod_option_member' => '用户管理', 'mod_option_member_edit' => '编辑用户', 'mod_option_member_ban' => '禁止用户', 'mod_option_member_access' => '用户权限', 'mod_option_member_ipban' => '禁止 IP', 'mod_option_forum' => '版块管理', 'mod_option_forum_edit' => '版块编辑', 'mod_option_forum_recommend' => '推荐主题', 'mod_option_subject' => '主题管理', 'mod_option_subject_forum' => '版块主题', 'mod_option_subject_report' => '用户报告', 'mod_option_subject_mod' => '审核', 'mod_option_subject_modthreads' => '主题', 'mod_option_subject_modreplies' => '回复', 'mod_option_subject_delete' => '帖子管理', 'mod_option_moduser' => '用户', 'mod_option_subject_recyclebin' => '主题回收站', 'mod_option_permission' => '管理权限', 'mod_option_other' => '其他', 'mod_option_logout' => '退出管理', 'mod_option_return' => '返回论坛', 'mod_option_error' => '系统错误', 'mod_option_selectforum' => '版块选择', 'mod_error_invalid' => '对不起,您无此权限。', 'mod_select_invalid' => '请先选择操作对象!', 'mod_login' => '管理登录', 'mod_login_username' => '用户名', 'mod_login_password' => '密码', 'mod_notice_title' => '内部留言', 'mod_announce_add' => '添加公告', 'mod_announce_edit' => '编辑公告', 'mod_announce_type' => '公告类型', 'mod_announce_type_text' => '文字类型', 'mod_announce_type_url' => '网址链接', 'mod_announce_type' => '公告类型', 'mod_announce_list' => '公告列表', 'mod_access_specialuser' => '特殊用户', 'mod_access_viewthread' => '浏览主题', 'mod_access_postthread' => '发表主题', 'mod_access_postreply' => '回复主题', 'mod_access_upload' => '上传附件', 'mod_access_download' => '下载附件', 'mod_access_optime' => '操作时间', 'mod_access_change' => '权限变更', 'mod_access_recover' => '恢复默认', 'mod_access_ban_viewthread' => '禁止查看主题', 'mod_access_ban_postthread' => '禁止发表主题', 'mod_access_ban_postreply' => '禁止发表回复', 'mod_access_ban_upload' => '禁止上传附件', 'mod_access_ban_download' => '禁止下载附件', 'mod_forum_edit' => '版块编辑', 'mod_forum_recommend_expiration' => '时间期限', 'mod_forum_recommend_list' => '更新列表', 'mod_moderate_nonexistence' => '您没有选择任何内容,请返回', 'mod_moderate_reason' => '操作理由[可选]', 'mod_moderate_thread' => '审核主题', 'mod_moderate_reply' => '审核回复', 'mod_moderate_range' => '审核范围选择', 'mod_moderate_selectforum' => '版块选择', 'mod_moderate_thread_range' => '帖子范围', 'mod_moderate_submit' => '提交审核', 'mod_moderate_thread_num' => '未审核主题', 'mod_moderate_reply_num' => '未审核回复', 'mod_moderate_ignorethread_num' => '已忽略主题', 'mod_moderate_ignorereply_num' => '已忽略回复', 'mod_moderate_select' => '当前已选定 <span id="modlayercount">0</span> 个', 'mod_moderate_member' => '审核用户', 'mod_moderate_member_range' => '用户范围', 'mod_moderate_member_never' => '待审核的用户', 'mod_moderate_member_already' => '已否决的用户', 'mod_moderate_member_profile' => '个人资料', 'mod_moderate_member_register_reason' => '注册原因', 'mod_moderate_member_register_dateline' => '注册时间', 'mod_moderate_member_register_ip' => '注册 IP', 'mod_moderate_member_info' => '审核信息', 'mod_moderate_member_submit_times' => '提交次数', 'mod_moderate_member_submit_dateline' => '上次提交', 'mod_moderate_member_mod_admin' => '上次审核者', 'mod_moderate_member_mod_dateline' => '上次审核时间', 'mod_moderate_member_sendemail' => '发 Email 通知被审核用户', 'mod_report_mark' => '标记为已处理', 'mod_report_selectforum' => '版块选择', 'mod_member_edit' => '编辑用户', 'mod_member_ban' => '禁止用户', 'mod_member_access_edit' => '编辑用户权限', 'mod_message_announce_del' => '选定公告删除完毕,请继续操作', 'mod_message_announce_edit' => '公告设置更新完毕,请继续操作', 'mod_message_announce_add' => '公告添加完毕,请继续操作', 'mod_message_access_nonexistence' => '当前没有特殊权限用户', 'mod_message_access_user_nonexistence' => '此用户不存在', 'mod_message_access_user_invalid' => '对不起,您无权操作管理人员或特殊用户!', 'mod_message_access_admin_invalid' => '管理员设置此用户某些权限为强制允许,您不能变更管理员的这些设置', 'mod_message_access_updatepermission' => '用户权限更新成功, 请继续操作', 'mod_message_forum_nopermission' => '对不起,您无此权限!', 'mod_message_forum_update' => '版块简介和版规更新成功,请继续操作', 'mod_message_forum_updaterecommend' => '推荐主题更新成功,请继续操作', 'mod_message_member_search' => '请首先输入用户名或者 UID 搜索用户,然后进行下一步。搜索 UID 比搜索用户名速度更快且准确', 'mod_message_member_nonexistence' => '该用户不存在,请重新输入', 'mod_message_member_nopermission' => '管理面板无权操作该用户', 'mod_message_goto_admincp' => '<u>请点击这里进入管理后台继续操作</u>', 'mod_message_report_del' => '指定的报告成功删除,请继续操作', 'mod_message_report_mark' => '指定的报告标记完毕,请继续操作', 'mod_message_moderate_nopermission' => '您没有管理任何版块的权限,无法执行此操作', 'mod_notice' => '论坛管理员在“管理面版”中权限和超级版主基本相同,如果需要更多功能,请进入 <a href="admincp.php" target="_blank"><u>管理中心</u></a> ', 'mod_notice_login' => '当您首次进入管理面板或者长时间没有管理动作时,您需要输入密码才能进入。如果密码输入错误超过 3 次,管理面板将会锁定。30 分钟或者更长时间后,管理面板才能解除锁定。', 'mod_notice_access' => '通常情况下,用户在版块的权限是根据他的用户组决定的,此处您可以限制某个用户在某版块的权限。<br />注意: 看帖是基本权限,一旦禁止, 其他权限会同时进行禁止。<br />图例说明: <img src="images/common/access_normal.gif"> &nbsp; 默认权限&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/common/access_disallow.gif"> &nbsp;强制禁止&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/common/access_allow.gif"> &nbsp;强制允许', 'mod_notice_moderate' => '审核结果: $modpost[\'validate\'] 篇帖子审核通过,$modpost[\'delete\'] 篇帖子删除,$modpost[\'ignore\'] 篇帖子进入忽略列表等待审核', 'medals_list' => '勋章', 'medals_log' => '勋章记录', 'medals_loglist' => '查看勋章历史记录', 'medals_apply' => '申请', 'medals_draw' => '领取', 'medals_apply_dateline' => '申请时间', 'medals_apply_list' => '申请勋章', 'medals_draw_condition' => '获取条件', 'medals_get_dateline' => '授予时间', 'medals_type' => '获得方式', 'medals_nonexistence' => '你已经获得所有勋章了,恭喜你!', 'medals_operation_0' => '人工授予', 'medals_operation_1' => '审核通过', 'medals_operation_2' => '等待审核', 'medals_operation_3' => '未通过审核', 'medals_operation_4' => '人工审核', 'medals_noexpire' => '永久有效', 'medals_all' => '其他勋章', 'medals_oneself' => '属于自己', 'medals_oneself_num' => '拥有勋章 $medalcount 枚', 'warn' => '警告', 'warn_view_log' => '$warnuser 警告记录', 'warn_get' => '受到警告', 'warn_view_prompt' => '$warnuser 已被累计警告 $warnnum 次,$warningexpiration 天内累计被警告 $warninglimit 次,将被自动禁止发帖 $warningexpiration 天', 'modcp_home_event' => '待办事宜', 'modcp_home_event_forums' => '管理版块', 'modcp_home_event_report' => '待审报告', 'modcp_home_event_posts' => '待审帖子', 'modcp_home_event_threads' => '待审主题', 'modcp_home_adminnote' => '管理留言', 'modcp_home_adminnote_add' => '添加留言', 'modcp_home_adminnote_to' => '留言给', 'modcp_home_adminnote_days' => '有效天数', 'modcp_home_adminnote_delete' => '删除选定留言', 'modcp_home_adminnote_nonexistence' => '当前没有人留言', 'modcp_members_status' => '当前状态', 'modcp_members_status_normal' => '正常状态', 'modcp_members_status_banpost' => '禁止发言', 'modcp_members_status_banvisit' => '禁止访问', 'ip_location' => '地理位置', 'modcp_members_ip_addadmin' => '操作者', 'modcp_members_ip_error_1' => '请输入标准 IP 地址', 'modcp_members_ip_error_2' => '新增 IP 地址失败,该 IP 地址范围包含您目前的 IP ', 'modcp_members_ip_error_3' => '新增 IP 地址失败,该 IP 地址已经在禁止范围内', 'modcp_members_ip_succed' => 'IP 地址更新成功,请继续操作', 'modcp_members_ip_error_4' => '您只能编辑和删改自己添加的 IP 地址', 'modcp_members_ban_days_comment' => '期限设置仅对禁止发言和禁止访问的操作有效', 'modcp_posts_type' => '帖子类型', 'modcp_posts_threadfirst' => '主题首帖', 'modcp_posts_threadreply' => '主题回复帖', 'modcp_posts_author' => '帖子作者', 'modcp_posts_dateline_range' => '时间范围', 'modcp_posts_to' => '至', 'modcp_posts_keyword' => '内容关键字', 'modcp_posts_ip' => '发帖 IP', 'modcp_posts_week_1' => '您只能操作最近 1 周的帖子', 'modcp_posts_week_2' => '您只能操作最近 2 周的帖子', 'modcp_posts_error_1' => '搜索条件不足!您至少应当在 关键字,帖子作者或者发帖 IP 当中设置一个搜索的条件', 'modcp_posts_error_2' => '时间范围错误!版主只能删除近 1 周的帖子,超级版主可以删除 2 周内的帖子,请重新选择开始时间', 'modcp_posts_error_3' => '您输入的关键字不合法!每个关键字至少由 2 个汉字或者 4 个英文字符组成', 'modcp_posts_error_4' => '您无权使用批量删帖功能', 'modcp_posts_search' => '共搜索出结果 <strong>$total</strong> 条', 'modcp_posts_thread' => '主题', 'modcp_posts_select_delete' => '删除选中的帖子', 'modcp_posts_member_credits' => '不更新用户积分', 'modcp_dateline_range' => '发表时间范围', 'modcp_views_range' => '点击次数范围', 'modcp_reply_range' => '回复次数范围', 'modcp_no_reply_range' => '多少天内无回复', 'modcp_forum' => '当前版块', 'modcp_threadstick_1' => '置顶I', 'modcp_threadstick_2' => '置顶II', 'modcp_threadstick_3' => '置顶III', 'modcp_forum_select_msg' => '请选择板块进行管理', 'modcp_thread_msg' => '没有找到相关主题', 'modcp_thread_search_msg' => '共搜索出结果 <strong>$total</strong> 条, 请选择需要操作的主题进行管理', 'modcp_recyclebins_delete_posts' => '删除主题', 'modcp_recyclebins_restore_posts' => '恢复主题', 'modcp_subject_keyword' => '标题关键字', 'modcp_logs_group_name' => '管理组', 'modcp_logs_action' => '操作', 'modcp_logs_operation' => '请求', 'modcp_logs_other' => '其他', 'modcp_logs_list' => '管理日志列表', 'modcp_logs_request' => '详情', 'modcp_logs_search' => '管理日志搜索', 'modcp_logs_perpage' => '每页显示条数', 'modcp_logs' => '管理日志', 'task_act_buddy' => '添加好友', 'task_act_favorite' => '收藏主题', 'task_act_magic' => '使用道具', 'task_act_newthread' => '发新主题', 'task_act_newreply' => '发新回复', 'task_act_newpost' => '发新主题/回复', 'task_unfinish' => '您有未完成的任务', 'task_newbie' => '新手任务', 'task_newbie_register_only' => '这是一个新手任务,新注册用户将自动申请该任务。', 'task_newbie_all_members' => '这是一个新功能任务,所有会员将自动申请该任务。', 'task_newbie_apply' => '立即申请', 'task_newbie_start' => '立即开始', 'task_newbie_dependence_dialog' => '请先完成任务 <a href=task.php?action=view&id=$newbietaskid>$taskrequired</a> 然后才能开始此任务', 'task_newbie_dependence' => '请先完成任务 $taskrequired 然后才能开始此任务', 'task_newbie_unfinish_sum' => '新手任务(还有 <cite class="emfont">$doings</cite> 项未完成 / 共 $num 项)', 'task_newbie_next' => '继续下一个', 'task_newbie_finished' => '该任务已完成于$task[dateline]', 'task_newbie_finished_all' => '<span>恭喜您已完成所有新手任务! <a href="notice.php?filter=systempm" target="_blank">点这里查看获得的奖励</a></span>', 'task_newbie_magics_reward' => '$magicname $task[bonus] 枚', 'upload_msg' => '$attach[filenametitle] {LF}上传日期: $attach[dateline] {LF}文件大小: $attach[attachsize]', 'my_attention' => '我的关注', 'my_allforums' => '全部版块', 'my_attention_threads' => '关注的主题', 'my_attention_threads_choose' => '是否关注此主题?', 'my_attention_threads_choose_comment' => '选择关注后,当有新回复时,会收到短消息提醒', 'my_attention_forums' => '关注的版块', 'attention_add' => '关注此主题的新回复', 'attention_remove' => '取消对此主题新回复的关注', 'my_attention_threads_new' => '有新回复的主题', 'my_attention_threads_all' => '全部主题', 'my_attention_forums_new' => '有新帖的版块', 'my_attention_forums_all' => '全部版块', 'attention_openforum' => '进入', 'attention_forum' => '关注', 'my_attention_forums_detail' => '版块新发布主题', 'my_attention_forums_nodetail' => '本版块暂无新主题', 'attention_showall' => '显示全部', 'attention' => '关注', 'attention_no' => '不关注', 'attention_cancel' => '取消关注', 'apitype_alipay' => '支付宝', 'apitype_tenpay' => '财付通', 'feeds_discuz' => '论坛动态', 'feeds_apps' => '应用动态', 'feeds_forum' => '论坛版块', 'feeds_show_all' => '查看所有', 'hottopics' => '站长推荐', 'hotthreads_forum' => '论坛热点', 'readmore' => '查看全文', 'removeindexheats_confirm' => '您确认要把此主题从热点主题中移除么?', 'hiddenreplies' => '回帖仅作者可见', 'rushreply' => '抢楼帖', 'message_ishidden_hiddenreplies' => '此帖仅作者可见', ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/templates.lang.php
PHP
asf20
115,743
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent" id="pmsendfloat"> <h3 class="float_ctrl"> <em id="return_$handlekey">{lang pm_send}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <div id="sendpmmsg" class="postbox"> <form id="sendpmform" method="post" action="pm.php?action=send&pmsubmit=yes&infloat=yes&sendnew=yes" onsubmit="$('pmsendmessage').value = parseurl($('pmsendmessage').value);{if !empty($infloat)}ajaxpost('sendpmform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;{/if}"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <div class="floatwrap"> <table class="formtable" cellspacing="0" cellpadding="0"> <tr> <td width="60">{lang pm_receiver}: </td> <td> <input name="msgto" value="$username" class="txt" tabindex="1" /> <!--{if $buddyarray}--><a href="javascript:display('buddies');" class="dropmenu">{lang pm_to_buddy}</a><!--{/if}--> </td> </tr> <!--{if $buddyarray}--> <tbody id="buddies" style="display: none;"> <tr> <td width="60"></td> <td> <ul class="s_clear"> <!--{loop $buddyarray $buddy}--> <li><label for="msgto_$buddy[uid]"><input id="msgto_$buddy[uid]" name="msgtos[]" type="checkbox" value="$buddy[uid]"> $buddy[username]</label></li> <!--{/loop}--> </ul> </td> </tr> </tbody> <!--{/if}--> <tr> <td valign="top">{lang content}: </td> <td> <div class="editor_tb" style="width: 454px;"> {eval $seditor = array('pmsend', array('bold', 'img', 'link', 'quote', 'code', 'smilies'));} {subtemplate seditor} </div> <textarea id="pmsendmessage" name="message" cols="60" rows="10" class="txtarea" tabindex="1" onKeyDown="seditor_ctlent(event, '$(\'sendpmform\').pmsubmit.click()');" style="width: 450px; height: 160px;" prompt="sendpm_message">$message</textarea></td> </tr> <tr> <td></td> <td><button type="submit" name="pmsubmit" value="true" id="sendpm_submit" prompt="sendpm_submit">{lang send}</button> {eval $policymsgs = $p = '';} <!--{loop $creditspolicy['sendpm'] $id $policy}--> <!--{block policymsg}--><!--{if $extcredits[$id][img]}-->$extcredits[$id][img] <!--{/if}-->$extcredits[$id][title] $policy $extcredits[$id][unit]<!--{/block}--> {eval $policymsgs .= $p.$policymsg;$p = ', ';} <!--{/loop}--> <!--{if $policymsgs}-->&nbsp;{lang pm_credit_msg}<!--{/if}--> </td> </tr> </table> </div> </form> </div> </div> <script type="text/javascript" reload="1"> function messagehandle_$handlekey(key, msg) { if(key == 1) { hideWindow('$handlekey'); showDialog(msg, 'info'); setTimeout(function () { hideMenu('fwin_dialog', 'dialog'); }, 3000); showCreditPrompt(); $('return_$handlekey').innerHTML = '{lang pm_send}'; $('return_$handlekey').className = ''; } } </script> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/pm_send.htm
HTML
asf20
3,504
<?php // Message Pack for Discuz! Version 1.0.0 // Created by Crossday $language = array ( 'undefined_action' => '未定义操作,请返回。', 'group_nopermission' => '您所在的用户组($grouptitle)无法进行此操作。', 'viewperm_none_nopermission' => '对不起,您无权访问该版块,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权访问的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'viewperm_upgrade_nopermission' => '对不起,您需要升级您所在的用户组后才能访问该版块,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权访问的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'viewperm_login_nopermission' => '对不起,您还未登录,无权访问该版块。', 'postperm_none_nopermission' => '对不起,您无权在该版块发帖,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权发帖的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'postperm_upgrade_nopermission' => '对不起,您需要升级您所在的用户组后才能发帖,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权发帖的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'postperm_login_nopermission' => '对不起,您还未登录,无权在该版块发帖。', 'replyperm_none_nopermission' => '对不起,您无权在该版块回帖,详细请见<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权回帖的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'replyperm_upgrade_nopermission' => '对不起,您需要升级您所在的用户组后才能回帖,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权回帖的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'replyperm_login_nopermission' => '对不起,您还未登录,无权在该版块回帖。', 'getattachperm_none_nopermission' => '对不起,您无权下载本附件,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权下载附件的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'getattachperm_upgrade_nopermission' => '对不起,您需要升级您所在的用户组后才能下载本附件,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权下载附件的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'getattachperm_login_nopermission' => '对不起,您还未登录,无权下载本附件。', 'postattachperm_none_nopermission' => '对不起,您无权上传附件,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权上传附件的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'postattachperm_upgrade_nopermission' => '对不起,您需要升级您所在的用户组后才能上传附件,详细请<a href=\"faq.php?action=credits&fid=$fid\" target=\"_blank\">点击这里查看</a></p></div><div><p><b>有权上传附件的用户组为:</b><br />&nbsp;&nbsp;&nbsp;$permgroups', 'postattachperm_login_nopermission' => '对不起,您还未登录,无权上传附件。', 'group_expiry_disabled' => '您目前没有即将到期的用户组,请返回。', 'period_nopermission' => '对不起,管理员设置了每日 $banperiods 不能进行此操作或访问此页面,请其他时间再试。', 'submit_seccode_invalid' => '您输入的验证码不正确,无法提交,请返回修改。', 'submit_secqaa_invalid' => '验证问答回答错误,无法提交,请返回修改。', 'submit_invalid' => '您的请求来路不正确,无法提交。', 'not_loggedin' => '对不起,您还未登录,无法进行此操作。', 'action_closed' => '论坛尚未开启此功能,或者此功能已经被管理员禁止,请返回。', 'board_closed' => '对不起,本论坛暂时关闭,详情请<a href=\"mailto:$adminemail\">联系管理员</a>。', 'max_pages' => '管理员设置了本内容可以被翻阅到的最大页数为 $pages 页,如需查看相关内容,请返回并指定查询条件后再试。', 'login_invalid' => '登录失败,您还可以尝试 $loginperm 次 $seccodescript ', 'login_clearcookie' => '登录痕迹已经清除', 'login_question_empty' => '请填写安全提问以及正确的答案', 'login_question_invalid' => '安全提问选择错误,请重新填写', 'login_strike' => '密码错误次数过多,请 15 分钟后重新登录', 'login_succeed' => '欢迎您回来,{$discuz_userss}。现在将转入登录前页面。 $ucsynlogin ', 'login_succeed_inactive_member' => '欢迎您回来,{$discuz_userss}。您的帐号处于非激活状态,现在将转入控制面板。 $ucsynlogin ', 'logout_succeed' => '您已退出论坛,现在将以游客身份转入退出前页面。 <br /><a href=\"member.php?action=clearcookies&formhash='.FORMHASH.'\">[ 清除痕迹 ]</a> $ucsynlogout ', 'login_activation' => '您的帐号未在本论坛激活,现在将转入帐号激活页面。', 'user_banned' => '对不起,您的 IP 地址不在被允许的范围内,或您的账号被禁用,无法访问本论坛。', 'word_banned' => '对不起,您填写的内容(如签名、帖子、短消息等)包含不良内容而无法提交,请返回修改。', 'forum_nonexistence' => '指定的版块不存在,请返回。', 'forum_passwd' => '本版块需要密码', 'forum_passwd_correct' => '密码验证成功,现在将转入主题列表。', 'forum_passwd_incorrect' => '您输入的密码不正确,不能访问这个版块。', 'forum_nopermission' => '本版块只有特定用户组可以访问。', 'forum_permforum_nopermission' => '您需要满足以下条件才可访问这个版块</p></div><div><p><b>访问条件: </b><br />&nbsp;&nbsp;&nbsp;$formulamessage<br /><b>您的信息: </b>$usermsg ', 'forum_permforum_nopermission_custommsg' => '</p></div><div><p>$formulamessage ', 'forum_permforum_nomedal' => '您需要拥有以下勋章才可访问这个版块</p></div><div><p>$formulamessage ', 'forum_permforum_disallow' => '本版块只有特定用户可以访问。', 'forum_disablepost' => '本版块禁止发帖。', 'forum_access_disallow' => '对不起,您在本版无权进行此操作,请返回', 'forum_access_view_disallow' => '对不起,您在本版无权进行此操作,请返回', 'forum_access_post_disallow' => '对不起,版主已经禁止您在本版发布新主题,请返回', 'forum_access_reply_disallow' => '对不起,版主已经禁止您回复本版的帖子,请返回', 'forum_access_postattach_disallow' => '对不起,版主已经禁止您上传附件,请返回', 'forum_access_getattach_disallow' => '对不起,版主已经禁止您下载附件,请返回', 'thread_nonexistence' => '指定的主题不存在或已被删除或正在被审核,请返回。', 'thread_nopermission' => '对不起,本帖要求阅读权限高于 $thread[readperm] 才可浏览,请返回。', 'thread_poll_closed' => '本主题已关闭,无法继续投票,请返回。', 'thread_poll_voted' => '您已参与过这个投票,请返回。', 'thread_poll_invalid' => '您没有选择投票选项,请返回修改。', 'thread_poll_succeed' => '您的投票成功提交,现在将转入主题页。', 'thread_rate_moderator_invalid' => '对不起,作为版主您只能在自己的管辖范围内评分,请返回。', 'ajax_thread_rate_moderator_invalid' => '对不起,作为版主您只能在自己的管辖范围内评分。', 'thread_rate_range_invalid' => '您未输入分值或超过每次评分范围限制,请返回修改。', 'ajax_thread_rate_range_invalid' => '分值超过限制。', 'thread_rate_timelimit' => '对不起,您不能对发表于 $karmaratelimit 小时前的帖子进行评分,请返回。', 'ajax_thread_rate_timelimit' => '对不起,您不能对发表于 $karmaratelimit 小时前的帖子进行评分。', 'thread_rate_member_invalid' => '对不起,您不能给自己发表的帖子评分,请返回。', 'ajax_thread_rate_member_invalid' => '对不起,您不能给自己发表的帖子评分。', 'thread_rate_ctrl' => '24 小时评分数超过限制,请返回修改。', 'thread_rate_duplicate' => '对不起,您不能对同一个帖子重复评分,请返回。', 'ajax_thread_rate_duplicate' => '对不起,您不能对同一个帖子重复评分。', 'thread_rate_succeed' => '感谢您的参与,现在将转入评分前页面。', 'ajax_thread_rate_succeed' => '感谢您的参与。', 'thread_rate_removesucceed' => '评分已成功撤销,现在将转入评分前页面。', 'thread_rate_anonymous' => '对不起,您不能对匿名帖评分,请返回。', 'ajax_thread_rate_anonymous' => '对不起,您不能对匿名帖评分。', 'thread_rate_banned' => '对不起,您不能对屏蔽帖评分,请返回。', 'ajax_thread_rate_banned' => '对不起,您不能对屏蔽帖评分。', 'thread_rate_log_nonexistence' => '对不起,指定帖子在近一年内没有评分记录,请返回。', 'thread_pay_succeed' => '您已成功购买本主题,现在将转入主题页面。', 'thread_report_disabled' => '对不起,管理员关闭了报告帖子功能,请返回。', 'thread_report_existence' => '对不起,您已经报告过这篇帖子,请返回。', 'ajax_thread_report_disabled' => '对不起,管理员关闭了报告帖子功能。', 'thread_report_flood_ctrl' => '对不起,您两次报告间隔不得少于 $floodctrl 秒,请返回。', 'ajax_thread_report_flood_ctrl' => '对不起,您两次报告间隔不得少于 $floodctrl 秒。', 'thread_maxpostsperhour_invalid' => '对不起,本站规定会员每小时最多只能发表 $maxpostsperhour 个帖子。', 'thread_report_invalid' => '您没有选择对谁报告本帖,请返回修改。', 'thread_report_succeed' => '您的意见已经报告给版主和管理员,现在将转入主题页面。', 'ajax_thread_report_succeed' => '您的意见已经报告给版主和管理员。', 'thread_warning_nonexistence' => '指定帖子没有警告记录,请返回。', 'thread_warning_existence' => '对不起,本帖已经被警告过,请返回。', 'digest_nonexistence' => '对不起,指定范围内没有精华帖,请返回。', 'customtopics_updated' => '用户专题更新完毕。', 'view_log_invalid' => '浏览量记录文件($logfile)无法写入,请设置其属性 777 或删除后重新建立。', 'attachment_referer_invalid' => '对不起,请不要从外部链接下载本论坛的附件。', 'attachment_nopermission' => '对不起,本附件要求阅读权限高于 $attach[readperm] 才可下载,请返回。', 'attachment_forum_nopermission' => '对不起,只有特定用户可以下载本论坛的附件,请返回。', 'attachment_nonexistence' => '附件文件不存在或无法读入,请与管理员联系。', 'attachment_payto' => '附件所在主题需要付费,请您付费后下载。', 'attachement_payto_attach' => '附件需要付费,请您付费后下载。', 'attachment_yetpay' => '您已经购买过此附件,无需重复购买,现在将开始附件下载。', 'attachment_buy' => '您已成功购买本附件,现在将开始下载“{$attach[filename]}”。', 'attachment_expired' => '对不起,原附件链接已失效。<br /><a href=\"attachment.php?aid=$aidencode\">[ 重新下载请点击这里 ]</a><br /><a href=\"redirect.php?goto=findpost&pid=$attach[pid]&ptid=$attach[tid]\">[ 查看原帖请点击这里 ]</a>', 'attachment_credit' => '已扣除{$policymsg},现在将开始下载“{$attach[filename]}”。', 'post_hide_nopermission' => '对不起,您没有权限使用 [hide] 代码,请返回修改。', 'post_url_nopermission' => '对不起,您没有权限发表 URL 连接,请返回修改。', 'post_newbie_span' => '对不起,您只在注册时间起 $newbiespan 小时后才有发帖权限,请返回。', 'post_allowspecialonly' => '对不起,本论坛只允许发布特殊类型主题,请返回。', 'post_forum_newthread_nopermission' => '对不起,本版块只有特定用户组可以发新话题,请返回。', 'post_forum_newreply_nopermission' => '对不起,本版块只有特定用户组可以回复,请返回。', 'post_thread_closed' => '对不起,本主题已关闭,不再接受新回复,请返回。', 'post_thread_closed_by_dateline' => '对不起,管理员设置了本版块发表于 $forum[autoclose] 天以前的主题自动关闭,不再接受新回复,请返回。', 'post_thread_closed_by_lastpost' => '对不起,管理员设置了本版块最后回复于 $forum[autoclose] 天以前的主题自动关闭,不再接受新回复,请返回。', 'post_subject_toolong' => '对不起,您的标题超过 80 个字符,请返回修改标题长度。', 'post_message_tooshort' => '对不起,您的帖子小于 $minpostsize 个字符的限制,请返回修改。', 'post_message_toolong' => '对不起,您的帖子超过 $maxpostsize 个字符的限制,请返回修改。', 'post_sm_isnull' => '您没有输入标题或内容,请返回填写。', 'post_type_isnull' => '您没有选择主题的类别,请返回修改。', 'post_sort_isnull' => '您没有选择主题的分类,请返回修改。', 'post_flood_ctrl' => '对不起,您两次发表间隔少于 $floodctrl 秒,请不要灌水!', 'post_net_price_iszero' => '您的主题售价扣除积分交易税后为 0,请返回修改。', 'post_poll_option_toomany' => '对不起,您的投票选项超过 $maxpolloptions 个,请返回修改。', 'post_edit_reward_nopermission' => '对不起,悬赏已经结束,无法退还积分,请返回。', 'post_edit_reward_already_reply' => '对不起,您不能删除已经有回复的悬赏,请返回。', 'post_edit_thread_already_reply' => '对不起,您不能删除已经有回复的主题,请返回。', 'post_edit_nopermission' => '对不起,您无权编辑他人发表的帖子,请返回。', 'post_edit_timelimit' => '对不起,您的帖子从发表到现在已超过 $edittimelimit 分钟,不能再进行编辑,请返回。', 'post_edit_moderate' => '对不起,管理员设置了需要对发帖进行审核,您无权编辑已通过审核的帖子,请返回。', 'post_edit_delete_rushreply_nopermission' => '对不起,抢楼贴是不能删除的,请返回', 'post_edit_delete_succeed' => '主题删除成功,现在将转入主题列表。', 'post_attachment_toobig' => '对不起,您的附件大小超过论坛限制,请返回修改。', 'post_attachment_type_toobig' => '对不起,您的附件超过 \".$extension\" 类型 $typemaxsize 的限制,请返回修改。', 'post_attachment_ext_notallowed' => '对不起,不支持上传此类扩展名的附件,请返回修改。', 'post_attachment_size_invalid' => '对不起,您上传的附件尺寸为 0,系统不允许上传此类附件,请返回修改。', 'post_attachment_quota_exceed' => '对不起,您最近 24 小时上传的附件已超过 $maxsizeperday 的限制,无法继续上传,请返回或稍后再试。', 'post_attachment_save_error' => '附件文件无法保存到服务器,可能是目录属性设置问题,请与管理员联系。', 'post_attachment_remote_save_error' => '附件文件无法保存到远程服务器,请与管理员联系。', 'post_attachment_image_checkerror' => '图片附件不合法(类型 $type, 宽 $width, 高 $height),请返回修改。', 'post_edit_succeed' => '您的帖子编辑成功,现在将转入主题页。<br /><a href=\"forumdisplay.php?fid=$fid\">[ 需要转入主题列表请点击这里 ]</a>', 'post_reply_succeed' => '非常感谢,您的回复已经发布,现在将转入主题页。<br /><a href=\"forumdisplay.php?fid=$fid\">[ 需要转入主题列表请点击这里 ]</a>', 'post_check' => '指定的帖子不存在或已被删除或正在被审核。<br /><a href=\"viewthread.php?tid=$ptid\">[ 尝试转入主题请点击这里 ]</a>', 'post_reply_mod_succeed' => '非常感谢,管理员设置了需要对新回复进行审核,您的帖子通过审核后将被显示出来,现在将转入主题列表。', 'post_newthread_succeed' => '非常感谢,您的主题已经发布,现在将转入主题页。<br /><a href=\"forumdisplay.php?fid=$fid\">[ 需要转入主题列表请点击这里 ]</a>', 'edit_reply_mod_succeed' => '非常感谢,管理员设置了需要对编辑后的回复进行审核,您的帖子通过审核后将被显示出来,现在将转入主题列表。', 'edit_newthread_mod_succeed' => '管理员设置了对编辑后的主题进行审核,您的帖子通过审核后才会显示。', 'post_newthread_blog_succeed' => '非常感谢,您的文章已经发布,现在将转入文集。', 'post_newthread_blog_invalid' => '对不起,您没有权限或管理员设置了禁止在本版发表文章,请返回。', 'post_newthread_mod_succeed' => '管理员设置了对新主题进行审核,您的帖子通过审核后才会显示。', 'post_upload_error' => '文件上传错误,请重新选择。', 'register_disable' => '对不起,目前论坛禁止新用户注册,请返回。', 'register_rules_agree' => '您必须同意服务条款后才能注册', 'register_disable_activation' => '对不起,目前论坛禁止激活,请返回。', 'register_ctrl' => 'IP 地址在 $regctrl 小时内无法注册', 'register_flood_ctrl' => 'IP 地址在 24 小时内只能注册 $regfloodctrl 次', 'register_check_found' => '用户名已经被他人使用', 'register_invite_notfound' => '没有填写邀请码不能注册', 'register_invite_error' => '邀请码不正确', 'register_invite_iperror' => '注册用户 IP 和邀请码拥有者 IP 相同', 'register_invite_expiration' => '邀请码已过期', 'register_check_notfound' => '恭喜您,您输入的用户名 \"$username\" 没有人使用,可以继续注册。', 'register_manual_verify' => '非常感谢您的注册,管理员设置了人工验证新注册用户,请等待审核通过,现在将转入控制面板首页。', 'register_succeed' => '感谢您注册 $bbname,现在将以会员身份登录论坛。', 'register_succeed_newbietask' => '感谢您的注册,我们诚邀您参与新手任务 $task[name],现在将转入任务详情页面。', 'register_activation' => '用户名已经存在', 'register_activation_message' => '对不起,您输入的用户名 \"$username\" 已经存在,请登录论坛激活此帐号。', 'register_activation_invalid' => '激活失败,请重新登录验证需要激活的用户。', 'profile_username_toolong' => '对不起,您的用户名超过 15 个字符,请返回输入一个较短的用户名。', 'profile_username_tooshort' => '对不起,您输入的用户名小于 3 个字符, 请返回输入一个较长的用户名。', 'profile_passwd_notmatch' => '两次输入的密码不一致', 'profile_passwd_wrong' => '原密码不正确,您不能修改密码或 Email 或安全提问,请返回。', 'profile_passwd_empty_wrong' => '您没有填写新密码,请返回。', 'profile_admin_security_invalid' => '作为管理者之一,您需要填写安全提问和答案以保障论坛的安全,请返回。', 'profile_username_duplicate' => '该用户名已经被注册', 'profile_uid_duplicate' => '用户 ID $uid 已经被占用', 'profile_email_duplicate' => '该 Email 地址已经被注册', 'profile_username_illegal' => '用户名包含敏感字符', 'profile_username_protect' => '用户名包含被系统屏蔽的字符', 'profile_nickname_cstatus_illegal' => '昵称或自定义头衔包含敏感字符或被系统屏蔽,请返回重新填写。', 'profile_passwd_illegal' => '密码空或包含非法字符', 'profile_email_illegal' => 'Email 地址无效', 'profile_email_domain_illegal' => 'Email 包含不可使用的邮箱域名', 'profile_alipay_illegal' => '支付宝账号无效,请返回重新填写。', 'profile_alipay_msn' => 'MSN 账号无效,请返回重新填写。', 'profile_required_info_invalid' => '您没有填写必填项目,请返回修改。', 'profile_sig_toolong' => '您的签名长度超过 $maxsigsize 字符的限制,请返回修改。', 'profile_avatar_invalid' => '您设置的头像类型无效,请返回修改。', 'profile_avatar_toobig' => '您设置的头像超过 $maxavatarsize 字节大小,请返回修改。', 'profile_avatar_size_invalid' => '读取远程头像尺寸失败,如确认头像地址无误,请返回输入头像的宽、高代替原有的“*”。', 'profile_avatardir_nonexistence' => '头像目录 ./images/avatars 不存在,请联系管理员。', 'profile_avatar_succeed' => '您头像设置已成功更新,现在将转入个人资料页。', 'profile_email_verify' => '确认 Email 已经发送,请用邮件中提供的方法激活您的帐号。如果您没有收到我们发送的系统邮件,请点击控制面板首页中的“重新验证 Email 有效性”,或尝试更换另外一个地址。注意:在完成激活之前,根据管理员设置,您将只能以待验证会员的身份访问论坛,您可能不能进行发帖等操作。激活成功后,上述限制将自动取消。', 'profile_succeed' => '个人资料已成功保存。', 'credits_disabled' => '对不起,管理员没有启用论坛积分。', 'credits_transaction_disabled' => '对不起,交易积分没有被启用,无法使用此功能,请返回或与管理员联系。', 'credits_transaction_amount_invalid' => '您要转账或兑换的积分数量输入有误,请返回修改。', 'credits_password_invalid' => '您没有输入密码或密码错误,请返回。', 'credits_policy_lowerlimit' => '对不起,您的{$extcredits[$id][title]}不足(小于 {$extcredits[$id][lowerlimit]} {$extcredits[$id][unit]})。', 'credits_balance_insufficient' => '对不起,您的账户余额不足(少于 $minbalance),请返回。', 'credits_buy_thread' => '对不起,您已经购买过此主题,请勿重复付费。', 'credits_net_amount_iszero' => '本交易扣除积分交易税后的净值为 0,请返回修改。', 'credits_transfer_send_nonexistence' => '您没有输入接收人或接收人不存在,请返回修改。', 'credits_transfer_self' => '对不起,您不能对自己转账', 'credits_exchange_invalid' => '您选择原积分和目标积分相同,不能进行兑换,请返回修改。', 'credits_transaction_succeed' => '积分操作成功。', 'credits_addfunds_amount_invalid' => '您单次购买的积分数量超出最大值 $ec_maxcredits 或最小值 $ec_mincredits 的限制。', 'credits_addfunds_ctrl' => '您两次提交订单间隔过小。', 'credits_addfunds_toomuch' => '您超出本月允许购买 $ec_maxcreditspermonth 的限额。', 'credits_addfunds_order_invalid' => '当前订单号无效,请在上一页重新提交,给您带来不便敬请谅解。', 'credits_addfunds_succeed' => '订单成功提交', 'usergroups_toomany' => '您设置的扩展用户组超过系统存储容量,请返回修改。', 'usergroups_span_invalid' => '对不起,您至少需要支付 $group[minspan] 天的积分价格,请返回。', 'usergroups_join_succeed' => '成功加入用户组,现在将转入公众用户组设置。', 'usergroups_exit_succeed' => '成功退出用户组,现在将转入公众用户组设置。', 'usergroups_update_succeed' => '公众用户组成功更新,现在将转入公众用户组设置。', 'usergroups_nonexistence' => '对不起,没有这个用户组,请返回。', 'username_nonexistence' => '指定用户不存在,请返回修改。', 'buddy_add_invalid' => '用户已存在于您的好友列表中。', 'buddy_add_toomany' => '您已经设定了超过 20 位好友。', 'buddy_update_succeed' => '成功添加为好友。', 'buddy_add_ignore' => '用户拒绝加您为好友。', 'redirect_nextnewset_nonexistence' => '没有比当前更新的主题,请返回。', 'redirect_nextoldset_nonexistence' => '没有比当前更早的主题,请返回。', 'favorite_thread_exists' => '您曾经收藏过这个主题<br /><a href=\"my.php?item=favorites&action=remove&tid={$tid}\" class=\"lightlink\" onclick=\"ajaxget(this.href, \'favorite_msg\');doane(event);\">[不再收藏此主题]</a>&nbsp;<a href=\"my.php?item=favorites&type=thread\" class=\"lightlink\" target=\"_blank\">[查看我收藏的主题]</a>', 'favorite_forum_exists' => '您曾经收藏过这个版块<br /><a href=\"my.php?item=favorites&type=forum\" class=\"lightlink\" target=\"_blank\">[查看我收藏的版块]</a>', 'favorite_add_thread_succeed' => '此主题已成功添加到收藏夹中<br /><a href=\"my.php?item=favorites&type=thread\" class=\"lightlink\" target=\"_blank\">[查看我收藏的主题]</a>', 'favorite_add_forum_succeed' => '此版块已成功添加到收藏夹中<br /><a href=\"my.php?item=favorites&type=forum\" class=\"lightlink\" target=\"_blank\">[查看我收藏的版块]</a>', 'favorite_remove_thread_succeed' => '此主题已成功从您的收藏夹中移除。', 'favorite_remove_forum_succeed' => '此版块已成功从您的收藏夹中移除。', 'favorite_update_succeed' => '收藏夹已成功更新,现在将转入更新后的收藏夹。', 'search_ctrl' => '对不起,您在 $searchctrl 秒内只能进行一次搜索,请返回。', 'search_toomany' => '对不起,管理员设置了每分钟系统最多响应搜索请求 $maxspm 次,请返回并稍后再试。', 'search_invalid' => '您没有指定要搜索的关键字或用户名,请返回重新填写。', 'search_threadtype_invalid' => '您没有输入要搜索的分类信息项目,请返回重新填写。', 'search_forum_invalid' => '您没有指定搜索论坛的范围,请返回重新填写。', 'search_id_invalid' => '您指定的搜索不存在或已过期。', 'search_redirect' => '搜索成功完成,现在将转入结果页面。', 'member_nonexistence' => '指定的用户不存在或已被删除,请返回。', 'member_list_disable' => '对不起,管理员禁止了会员列表功能。', 'email_friend_invalid' => '相关项目没有填写完整,请返回修改。', 'ajax_email_friend_invalid' => '相关项目没有填写完整。', 'email_friend_succeed' => '您的推荐已经通过 Email 发给朋友,现在将转入原帖。', 'ajax_email_friend_succeed' => '您的推荐已经通过 Email 发给朋友。', 'email_invite_succeed' => '您的邀请码已经通过 Email 发给朋友。', 'announcement_nonexistence' => '目前没有公告供查看,请返回。', 'mark_read_succeed' => '所有版块已被标记已读。', 'register_verify_invalid' => '管理员设置了人工验证新注册用户,请返回等待审核通过。', 'email_verify_invalid' => '您在 24 小时内只能提交一次验证 Email 请求,请返回。', 'email_verify_succeed' => '确认 Email 已经发送,请用邮件中提供的方法激活您的帐号。', 'submit_verify_succeed' => '审核请求提交成功,现在将返回控制面板首页。', 'activate_succeed' => '您好,$member[username],您的帐号已被成功激活,现在将转入论坛首页。', 'activate_illegal' => '您所用的 ID 不存在或您不是等待验证会员。', 'poll_overdue' => '投票已经过期,请返回。', 'poll_choose_most' => '此投票最多只能选择 {$pollarray[maxchoices]} 项,请返回修改。', 'poll_maxchoices_expiration_invalid' => '对不起,最多可选项数与有效记票天数只接受数字,请返回修改。', 'poll_end' => '投票已经结束,不能再投票。', 'trade_closed' => '本交易已关闭', 'trade_invalid' => '无效的交易请求', 'trade_credit_invalid' => '管理员已关闭积分交易功能,请返回。', 'trade_credits_no_enough' => '您的 {$extcredits[$creditstrans][title]} 不足,无法用 {$extcredits[$creditstrans][title]} 换取商品的优惠,请返回修改。', 'trade_by_myself' => '您无法购买自己的商品,请返回修改。', 'trade_input_no' => '请输入正确的商品数,请返回修改。', 'trade_lack' => '商品剩余数量不足,请返回修改。', 'trade_credit_lack' => '您的积分不足无法购买,请返回。', 'trade_alipay_please' => '对不起,支付宝账户不能为空,请返回修改。', 'trade_please_name' => '对不起,商品名称不能为空,请返回修改。', 'trade_price_between' => '对不起,商品人民币价格必须在 {$mintradeprice} 元至 {$maxtradeprice} 元之间,请返回修改。', 'trade_price_more_than' => '对不起,商品人民币价格必须大于 {$mintradeprice} 元,请返回修改。', 'trade_credit_between' => '对不起,商品积分价格必须在 {$mintradeprice} 至 {$maxtradeprice} 之间,请返回修改。', 'trade_credit_more_than' => '对不起,商品积分价格必须大于 {$mintradeprice} ,请返回修改。', 'trade_pricecredit_need' => '对不起,商品价格不能为空,请返回修改。', 'trade_pricecredit_error' => '对不起,商品基价输入错误,请返回修改。', 'trade_please_locus' => '对不起,商品所在地不能为空,请返回修改。', 'tread_please_number' => '对不起,商品数量不能为空,请返回修改。', 'trade_orderstatus_updated' => '交易单状态已更新。', 'trade_displayorder_updated' => '柜台商品摆放顺序已更新。', 'trade_order_created' => '交易单已创建,现在将转入交易单页面。', 'trade_password_error' => '您输入的密码不正确,不能修改订单状态,请返回修改。', 'trade_thread_succeed' => '非常感谢,您的商品主题已经发布,现在将转入添加商品页。', 'trade_add_succeed' => '非常感谢,您的商品已经发布,现在将转入商品主题页。<br /><a href=\"post.php?action=reply&fid=$fid&tid=$tid&addtrade=yes\">[ 继续添加商品请点击这里 ]</a><br /><a href=\"forumdisplay.php?fid=$fid\">[ 需要转入主题列表请点击这里 ]</a>', 'trade_newreply_nopermission' => '对不起,只有已开放的商品主题可以回复,请返回。', 'trade_directtopay' => '订单提交成功,现在将跳转到支付页面。', 'reward_cant_operate' => '对不起,您不能设置最佳答案, 请返回。', 'reward_cant_self' => '对不起,您不能把自己的回复设置成最佳答案, 请返回。', 'reward_repeat_selection' => '不能重复选定最佳答案, 请返回。', 'reward_completion' => '最佳答案设置成功,请返回。', 'reward_credits_invalid' => '对不起,悬赏积分设置不合理,请返回修改。', 'reward_credits_please' => '对不起,悬赏积分不能为空,请返回修改。', 'reward_credits_fall' => '对不起,悬赏积分不能降低, 请返回修改。', 'reward_credits_overflow' => '对不起,悬赏积分不能高于 32767,请返回修改。', 'reward_credits_between' => '对不起,悬赏积分必须在 $minrewardprice 与 $maxrewardprice 之间, 请返回修改。', 'reward_credits_lower' => '对不起,悬赏积分必须大于 $minrewardprice, 请返回修改。', 'reward_credits_shortage' => '对不起,积分余额不足,请返回修改。', 'reward_end' => '对不起,请确认是否是悬赏帖或者悬赏已经结束。', 'reward_remove_succeed' => '悬赏已取消。', 'activity_stop' => '对不起,活动已停止申请,请返回。', 'activity_repeat_apply' => '对不起,活动不能重复申请。', 'activity_completion' => '活动申请成功,请等待发起人审核。', 'activity_choice_applicant' => '请选择活动的申请者。', 'activity_auditing_completion' => '活动人员审核完毕。', 'activity_delete_completion' => '活动列表清理完毕。', 'activity_fromtime_please' => '对不起,活动开始时间不能为空,请返回修改。', 'activity_fromtime_error' => '对不起,活动开始时间格式不正确,请返回修改。', 'activity_sort_please' => '对不起,活动所属类别不能为空,请返回修改。', 'activity_address_please' => '对不起,活动地点不能为空,请返回修改。', 'activity_totime_error' => '对不起,活动征集截止日期格式不正确,请返回修改。', 'activity_smaller_current' => '对不起,活动开始时间不能小于当前时间', 'post_poll_inputmore' => '对不起,您至少应当填写 2 个投票选项,请返回修改。', 'getpasswd_account_notmatch' => '用户名,Email 地址或安全提问不匹配,请返回修改。', 'getpasswd_account_invalid' => '管理员和超级版主不能使用取回密码功能,请返回。', 'getpasswd_illegal' => '您所用的 ID 不存在或已经过期,无法取回密码。', 'getpasswd_send_succeed' => '取回密码的方法发送到您的信箱中。', 'getpasswd_succeed' => '您的密码已重新设置,请使用新密码登录。', 'blog_nonexistence' => '指定的用户不存在,或其文集中没有文章。', 'blog_topic_nonexistence' => '指定的文章不存在或已被删除,请返回。', 'blog_category_isnull' => '当前作者在指定栏目内没有文集,请返回。', 'blog_add_illegal' => '对不起,您不是本主题的作者,无法进行此操作。', 'blog_add_succeed' => '操作成功。', 'threadmod_nonexistence' => '主题管理记录不存在,或管理记录已经过期并删除,请返回。', 'pm_newbie_span' => '对不起,您只在注册时间起 $newbiespan 小时后才有发短消息权限,请返回。', 'pm_send_disable' => '对不起,您没有发短消息的权限。', 'pm_nonexistence' => '对不起,消息不存在或已被删除。', 'pm_send_nonexistence' => '收件人不存在或存在重复,请返回修改。', 'pm_send_self_ignore' => '您不能给自己发消息,请返回修改。', 'pm_send_invalid' => '短消息发送失败,收件人拒收您发的消息,请返回。', 'pm_send_limit1day_error' => '对不起,超出了您24小时最大发送短消息数,请返回。', 'pm_send_floodctrl_error' => '对不起,您两次发送短消息间隔太短,请返回。', 'pm_send_batnotfriend_error' => '对不起,您不能给非好友批量发送短消息,请返回。', 'pm_send_pmsendregdays_error' => '对不起,您目前还不能发送短消息,请返回。', 'pm_send_succeed' => '短消息发送成功。', 'pm_send_empty' => '您没有填写短消息内容,请返回。', 'pm_delete_succeed' => '指定消息成功删除。', 'pm_mark_read_succeed' => '指定消息已标记为已读状态。', 'pm_mark_unread_succeed' => '指定消息已标记为未读状态。', 'pm_ignore_succeed' => '忽略列表已成功更新,现在将转入消息列表。', 'pm_addblack_succeed' => '指定用户的消息已被屏蔽', 'pm_addblackall_succeed' => '您已屏蔽所有人消息', 'pm_delblack_succeed' => '屏蔽设置已移除', 'plugin_nopermission' => '对不起,您没有权限使用此插件模块。', 'plugin_module_nonexistence' => '指定的插件模块文件($modfile)不存在或存在语法错误,请检查是否已将插件完整上传。', 'admin_nopermission' => '您没有权限使用管理功能。', 'admin_nonexistence' => '您没有选择操作项目。', 'admin_expiration_invalid' => '有效期无效。', 'admin_reason_invalid' => '请输入原因。', 'admin_moderate_invalid' => '您没有选择主题。', 'admin_getip_nopermission' => '对不起,您没有权限查看比您高级的管理员 IP,请返回。', 'admin_delpost_invalid' => '您没有选择要删除的帖子。', 'admin_banpost_invalid' => '您没有选择要屏蔽的帖子。', 'admin_move_illegal' => '目标版块与原版块相同。', 'admin_split_invalid' => '主题没有回复,无法分割。', 'admin_split_subject_invalid' => '您没有输入标题。', 'admin_split_new_invalid' => '您没有选择要分割入新主题的帖子,请返回修改。', 'admin_merge_nonexistence' => '主题 ID (tid) 不存在。', 'admin_merge_invalid' => '请选择其他主题进行合并。', 'admin_succeed' => '管理操作成功,现在将返回论坛。', 'admin_succeed_next' => '管理操作成功,现在将转入后续操作。', 'admin_move_invalid' => '目标版块不存在。', 'admin_move_have_mod' => '目标版块需要内容审核。', 'admin_move_nopermission' => '目标版块无发帖权。', 'admin_type_invalid' => '目标分类无效。', 'admin_repair_succeed' => '主题修复完成。', 'admin_warn_invalid' => '您没有选择要警告的作者的帖子。', 'admin_warn_nopermission' => '您无权警告该作者。', 'special_noaction' => '无法操作特殊主题。', 'special_refundment_invalid' => '特殊主题不能执行强制退款!', 'auditstatuson_succeed' => '审核成功,点击查看该帖。', 'audit_edit_succeed' => '<a href=\"javascript:if(opener)opener.location.reload();window.close();\">编辑成功, 点击关闭本页。</a>', 'todays_birthdays_banned' => '对不起,管理员禁止了显示生日会员功能。', 'switch_status_now' => '正在切换您的状态。', 'magics_close' => '道具中心关闭,请返回。', 'magics_market_close' => '道具市场关闭,请返回。', 'magics_market_operation_error' => '道具市场关闭,请返回。', 'magics_perm' => '您所在的用户组不允许使用道具系统,请返回。', 'magics_nonexistence' => '您选择的道具不存在,请到<a href=\"magic.php?action=shop\" target=\"_blank\">道具商店</a>购买。', 'magics_buy_nonexistence' => '您选择的道具不存在,请返回', 'magics_filename_nonexistence' => '道具文件所需文件 {$magicfile} 不存在。', 'magics_info_nonexistence' => '相关资料填写不全,请返回。', 'magics_nopermission' => '你所在的用户组不允许进行该操作,请返回。', 'magics_credits_no_enough' => '{$extcredits[$creditstransextra[3]][title]} 不足,请修改购买道具数量。', 'magics_num_no_enough' => '库存不足,请修改购买道具数量。', 'magics_amount_no_enough' => '没有足够的道具可以操作,请修改。', 'magics_num_invalid' => '操作数量不合法,请返回修改。', 'magics_succeed' => '道具操作成功。', 'magics_post_anonymous' => '匿名帖不允许使用此道具,请返回。', 'magics_price_iszero' => '您的道具售价扣除积分交易税后为 0,请修改。', 'magics_price_invalid' => '道具设置价格不正确,请返回修改。', 'magics_price_high' => '道具设置价格过高,请返回修改。', 'magics_username_nonexistence' => '您没有输入要赠送的用户名,请返回。', 'magics_target_nopermission' => '对不起,不允许对目标对象使用该道具,请返回。', 'magics_target_nonexistence' => '对不起,您所指定的目标不存在,请返回。', 'magics_weight_range_invalid' => '超过最大负载量{$maxmagicsweight},当前负重量{$totalweight},请返回。', 'magics_give_myself' => '对不起,不能赠送给自己,请返回修改。', 'magics_give_succeed' => '赠送成功。', 'magics_mod_forbidden' => '对不起,此帖已被版主操作,禁止使用道具,请返回。', 'magics_operation_succeed' => '道具使用成功。', 'magics_operation_nopermission' => '对不起,此道具只能操作自己发的主题和帖子,请返回。', 'magics_use_nopermission' => '无权使用该道具,请返回。', 'magics_forum_nopermission' => '该板块不允许使用本道具,请返回。', 'magics_MOK_message' => '恭喜您,获得 {$getmoney} {$extcredits[$creditstransextra[3]][title]}', 'magics_SEK_message' => '此人的IP为: {$post[useip]}', 'magics_RTK_on_message' => '你查询的会员不在线。', 'magics_RTK_off_message' => '你查询的会员在线,所在位置 {$actioncode[$msession[action]]}', 'magics_SOFA_message' => '已经被人抢了沙发,下次要快点啊!', 'task_close' => '论坛任务关闭,请返回。', 'task_nonexistence' => '该任务不存在或已被删除!请返回。', 'task_up_to_limit' => '对不起,该任务仅限 $task[tasklimits] 人领取奖励,按照先到先得的原则,您无法领取奖励,请下次再来吧!', 'task_completed' => '恭喜您,任务已成功完成,您将收到奖励通知短消息,请注意查收!', 'task_failed' => '对不起,您没能在指定时间内完成任务!', 'task_doing' => '您已完成该任务的 {$result[csc]}%,加油啊!', 'task_doing_rt' => '您已完成该任务的 {$result[csc]}%,还有{$result[t]}时间,加油啊!', 'task_waiting' => '您还没有开始执行任务,赶快哦!', 'task_waiting_rt' => '您还没有开始执行任务,还有{$result[t]}时间,赶快哦!', 'task_giveup' => '您已放弃此任务。', 'task_offline' => '该任务未上线或已下线!', 'task_full' => '该任务申请人数已满!', 'task_relatedtask' => '申请此任务需先完成一个任务,现在将转入这个任务页面。', 'task_grouplimit' => '您所在的用户组不允许申请此任务!', 'task_duplicate' => '您已经申请过此任务,请不要重复申请!', 'task_nextperiod' => '本期您已经申请过此任务,请下期再来申请吧!', 'task_applied' => '任务申请成功!', 'task_reward_credit' => '恭喜您完成任务,您已得到的积分奖励如下:{$extcredits[$task[prize]][title]} {$task[bonus]} {$extcredits[$task[prize]][unit]},详情请查阅短消息。', 'task_reward_magic' => '恭喜您完成任务,您已得到的道具奖励如下:{$magicname} {$task[bonus]} 枚,详情请查阅短消息。', 'task_reward_medal' => '恭喜您完成任务,您已得到的勋章奖励如下:{$medalname} 有效期 {$task[bonus]} 天,详情请查阅短消息。', 'task_reward_invite' => '恭喜您完成任务,您已得到的邀请码奖励如下:共 {$task[prize]} 个 有效期 {$task[bonus]} 天,详情请查阅短消息。', 'task_reward_group' => '恭喜您完成任务,您已得到的特殊用户组奖励如下:用户组 {$grouptitle} 有效期 {$task[bonus]} 天,详情请查阅短消息。', 'faq_content_empty' => '指定的帮助项目不存在,请返回。', 'faq_search_help' => '搜索帮助', 'faq_keywords_empty' => '您没有指定要搜索的关键字,请返回重新填写。', 'frame_off' => '对不起,没有开启左右分栏功能,请返回。', 'extcredits_disallowexchangeout' => '{$extcredits[$fromcredits][title]} 不允许兑出', 'extcredits_disallowexchangein' => '{$extcredits[$tocredits][title]} 不允许兑入', 'extcredits_dataerror' => '兑换失败,请与管理员联系。', 'tag_closed' => '对不起,管理员锁定了此 TAG。', 'eccredit_order_notfound' => '指定的订单不存在或已被删除。', 'eccredit_rate_repeat' => '不能重复评价。', 'eccredit_succeed' => '您的评价已经成功。', 'eccredit_nofound'=> '指定的评价不存在或已被删除。', 'eccredit_reexplanation_repeat' => '请勿重复解释。', 'eccredit_reexplanation_closed' => '对不起,允许解释的有效期已过!', 'invite_send' => '{$inviteuser}邀请您注册{$bbname}', 'invite_invalid' => '您填写的邀请码无效。', 'invite_close' => '邀请注册功能已关闭,请返回。', 'invite_nopermission' => '您所在的用户组不允许使用邀请注册。', 'invite_num_invalid' => '<span class=\"onerror\">购买数量非法</span>', 'invite_buy_succeed' => '<span class=\"onright\">购买成功<script type=\"text/JavaScript\">setTimeout(\"window.location.reload()\", 1000);</script></span>', 'invite_mark_succeed' => '标记操作成功。', 'invite_num_buy_range_invalid' => '<span class=\"onerror\">超过您所在用户组允许拥有的邀请码数量的最大值,请修改购买数量。</span>', 'invite_num_range_invalid' => '<span class=\"onerror\">您所拥有的邀请码数量已经到达最大值,请返回。</span>', 'invite_credits_no_enough' => '<span class=\"onerror\">您的 {$extcredits[$creditstransextra[4]][title]} 不足。</span>', 'debate_end' => '辩论已经结束,请返回。', 'debate_position_nofound' => '对不起,发表辩论主题需要输入正方和反方观点,请返回修改。', 'debate_endtime_invalid' => '对不起,您设置辩论的结束时间小于当前时间,请返回修改。', 'debate_nofound' => '对不起,该辩论主题不存在。', 'debate_poll_nopermission' => '对不起,请您先登录,然后再进行投票。', 'debate_poll_voted' => '您已经投过票。', 'debate_poll_end' => '投票已经结束,不能再投票。', 'debate_poll_succeed' => '投票成功。', 'debate_poll_myself' => '对不起,您不能给自己投票。', 'debate_umpire_invalid' => '对不起,你指定的裁判 (<b>{$umpire}</b>) 不存在或者被删除,请返回修改。', 'debate_umpire_edit_invalid' => '您发表的评论已经超出了一个小时,您不能再进行编辑。', 'debate_umpire_nopermission' => '您不是裁判,不能对此辩论进行评判,请返回。', 'debate_umpire_nofound_bestdebater' => '您没有填写最佳辩手,请返回。', 'debate_umpire_nofound_winner' => '您没有填写获胜方,请返回。', 'debate_umpire_nofound_point' => '您没填写您的观点,请返回。', 'debate_umpire_bestdebater_invalid' => '您指定的最佳辩手不存在或者不合法,请返回修改。', 'debate_umpire_comment_succeed' => '评判成功。', 'debate_umpire_comment_invalid' => '裁判已经进行了评判,您不能再进行编辑,请返回。', 'debate_stand_invalid' => '您没有选择立场,请返回。', 'debate_stand_incorrect' => '您选择的立场与上一次不一致,请返回确认。', 'threadtype_required_invalid' => '资料填写不全,请返回检查{$checkoption[$var][title]}选项。', 'threadtype_format_invalid' => '资料格式不正确,请返回检查{$checkoption[$var][title]}选项。', 'threadtype_toolong_invalid' => '资料长度过长,请返回检查{$checkoption[$var][title]}选项。', 'threadtype_num_invalid' => '资料数值不正确,请返回检查{$checkoption[$var][title]}选项。', 'threadtype_unchangeable_invalid' => '资料不得修改,请返回检查{$checkoption[$var][title]}选项。', 'threadtype_expiration_invalid' => '此主题必须指定有效期,请返回修改。', 'reprint_invalid' => '转帖数据不存在,请返回。', 'rate_view' => '查看评分记录', 'seccode_player' => '', 'ajax_seccode_player' => '<div style=\"width:90px;padding:2px\">{$flashcode}<img border=\"0\" style=\"vertical-align:middle\" src=\"images/common/seccodeplayer.gif\" /> <a href=\"javascript:;\" onclick=\"updateseccode{$secchecktype}(1)\">播放验证码</a></div>', 'medal_permforum_nopermission' => '您没有达到领取该勋章的条件</p></div><div><p><b>所需条件: </b><br />&nbsp;&nbsp;&nbsp;$formulamessage<br /><b>您的信息: </b>$usermsg ', 'medal_apply_invalid' => '对不起此勋章不可申请,请返回。', 'medal_apply_existence' => '您已经申请过或领取过勋章,请不要重复申请或领取。', 'medal_apply_succeed' => '申请勋章成功,正在等待管理员审核。', 'medal_get_succeed' => '恭喜你获得{$medal[name]}', 'modcp_moduser_invalid' => '审核失败, 没有找到相应的用户, 请返回', 'modcp_moduser_succeed' => '审核处理完毕', 'modcp_ann_empty' => '您必须输入公告标题和内容,请返回修改。', 'modcp_ann_urlerror' => '网址链接无效,请返回修改。', 'modcp_ann_nofound' => '该公告已经删除或您无权编辑它,请返回', 'modcp_logout_succeed' => '成功退出管理面板,返回论坛', 'modcp_mod_succeed' => '审核处理完毕', 'modcp_noaction' => '您没有选择执行任何操作', 'members_edit_succeed' => '用户信息成功更新,请继续操作', 'modcp_member_ban_succeed' => '用户资料成功更新', 'admin_cpanel_noaccess' => '您无权访问管理面板,请重新登录论坛,然后重试', 'admin_cpanel_locked' => '对不起,由于您多次输入错误密码,所以管理面板暂时锁定,您现在无法进入管理面板。<br />30 分钟以后,锁定会自动解除', 'admin_cpanel_noaccess_ip' => '对不起,管理员设定了只有特定 IP 地址范围才能访问系统设置,您的地址不在被允许的范围内', 'msn_binding_succeed' => '您已成功绑定/更换 MSN 账号!', 'payonline_succeed' => '您已成功支付。', 'favoritethreads_update_succeed' => '主题关注列表成功更新,现在将转入更新后的关注列表。', 'favoriteforums_update_succeed' => '版块关注列表成功更新,现在将转入更新后的关注列表。', 'favoritethreads_add_succeed' => '指定主题已成功加入到关注列表中<br /><a href=\"my.php?item=attention&type=thread\" class=\"lightlink\" target=\"_blank\">[查看我关注的主题]</a>', 'favoritethreads_exists' => '您正在关注这个主题<br /><a href=\"my.php?item=attention&action=remove&tid={$tid}\" class=\"lightlink\" onclick=\"ajaxget(this.href, \'favorite_msg\');doane(event);\">[不再关注此主题]</a>&nbsp;<a href=\"my.php?item=attention&type=thread\" class=\"lightlink\" target=\"_blank\">[查看我关注的主题]</a>', 'favoritethreads_remove_succeed' => '已取消对此主题的关注。', 'favoriteforums_add_succeed' => '该版块已成功加入到关注列表中<br /><a href=\"my.php?item=attention&type=forum\" class=\"lightlink\" target=\"_blank\">[查看我关注的版块]</a>', 'favoriteforums_exists' => '您正在关注这个版块<br /><a href=\"my.php?item=attention&type=forum\" class=\"lightlink\" target=\"_blank\">[查看我关注的版块]</a>', 'favoriteforums_remove_succeed' => '已取消对此版块的关注。', 'recommend_duplicate' => '您已经评价过本主题了', 'recommend_outoftimes' => '您今天的评价机会已经用完,请明天再来', 'recommend_self_disallow' => '您不能评价自己的帖子', 'recommend_daycount_succed' => '本主题评价指数 <strong style=\"color:'.NOTICETEXT.'\">$allowrecommend</strong>,您今天还能评价 $daycount 次', 'recommend_succed' => '本主题评价指数 <strong style=\"color:'.NOTICETEXT.'\">$allowrecommend</strong>', 'recommend_expiration_invalid' => '时间期限格式无效,正确格式为“yyyy-mm-dd hh:mm”,请返回。', ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/messages.lang.php
PHP
asf20
51,869
<!--{if $inajax}--> {template header} <div class="tagthread"> <a class="close deloption" href="javascript:;" onclick="hideMenu()" title="{lang close}"><img src="{IMGDIR}/close.gif" alt="{lang close}" /></a> <h4>{lang tag}: $name</h4> <span id="tagpage_0"> <ul> <!--{if $threadlist}--> <!--{loop $threadlist $thread}--> <li><a href="viewthread.php?tid=$thread[tid]" target="_blank">$thread[subject]</a></li> <!--{/loop}--> <!--{/if}--> <li class="more"><a href="tag.php?name=$tagnameenc" target="_blank">{lang tag_more}</a></li> </ul> </span> </div> {template footer} <!--{else}--> {subtemplate header} <div id="nav"> <a href="$indexname">$bbname</a> &raquo; <a href="tag.php">{lang tag}</a> &raquo; $name </div> <div id="wrap" class="wrap s_clear"> <div class="main"> <div class="content"> <!--{if !empty($multipage)}--> <div class="pages_btns"> $multipage </div> <!--{/if}--> <h1>{lang tag}: $name</h1> <div class="threadlist datalist"> <table summary="$name" class="datatable" cellspacing="0" cellpadding="0"> <thead class="colplural"> <tr> <th>&nbsp;</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> <!--{if $threadlist}--> <!--{loop $threadlist $thread}--> <tbody> <tr> <th> <label> <!--{if $thread['special'] == 1}--> <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" /> <!--{/if}--> <!--{if $thread['special'] == 2}--> <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" /> <!--{/if}--> <!--{if $thread['special'] == 3}--> <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" <!--{if $thread['price'] < 0}-->class="solved"<!--{/if}--> /> <!--{/if}--> <!--{if $thread['special'] == 4}--> <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" /> <!--{/if}--> <!--{if $thread['special'] == 5}--> <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" /> <!--{/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}--> <!--{if $thread['displayorder']}--> <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="{lang thread_stick}<!--{if $thread['displayorder'] == 3}-->$threadsticky[0]<!--{elseif $thread['displayorder'] == 2}-->$threadsticky[1]<!--{elseif $thread['displayorder'] == 1}-->$threadsticky[2]<!--{/if}-->" /> <!--{/if}--> <!--{if $thread['digest']}--> <img src="{IMGDIR}/digest_$thread[digest].gif" alt="{lang thread_digest} $thread[digest]" /> <!--{/if}--> </label> <a href="viewthread.php?tid=$thread[tid]" target="_blank">$thread[subject]</a> <!--{if $thread[multipage]}--> <span class="threadpages">$thread[multipage]</span> <!--{/if}--> </th> <td class="forum"><a href="forumdisplay.php?fid=$thread[fid]">$thread[forumname]</a></td> <td class="author"> <cite> <!--{if $thread['authorid'] && $thread['author']}--> <a href="space.php?uid=$thread[authorid]">$thread[author]</a> <!--{else}--> <!--{if $forum['ismoderator']}--><a href="space.php?uid=$thread[authorid]">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}--> <!--{/if}--> </cite> <em>$thread[dateline]</em> </td> <td class="nums"><strong>$thread[replies]</strong> / <em>$thread[views]</em></td> <td class="lastpost"> <cite><!--{if $thread['lastposter']}--><a href="space.php?username=$thread[lastposterenc]">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite> <em><a href="redirect.php?tid=$thread[tid]&amp;goto=lastpost#lastpost">$thread[lastpost]</a></em> </td> </tr> <!--{/loop}--> <!--{else}--> <tr><td colspan="4">{lang tag_nofound}</td></tr> <!--{/if}--> </tbody> </table> <!--{if !empty($multipage)}--> <div class="pages_btns"> $multipage </div> <!--{/if}--> </div> </div> </div> </div> {subtemplate footer} <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/tag_threads.htm
HTML
asf20
4,536
<?php $language = array ( 'feed_thread_pin_title' => '{actor} 发表的主题 {subject} 被 {operater} 置顶了', 'feed_thread_digest_title' => '{actor} 发表的主题 {subject} 被 {operater} 加精了', 'feed_thread_highlight_title' => '{actor} 发表的主题 {subject} 被 {operater} 高亮了', 'feed_thread_del_title' => '{actor} 发表的主题 {subject} 被 {operater} 删除了', 'feed_thread_move_title' => '{actor} 发表的主题 {subject} 被 {operater} 移动了', 'feed_thread_views_title' => '{actor} 发表的主题 {subject} 查看数超过了 {count}', 'feed_thread_replies_title' => '{actor} 发表的主题 {subject} 回复数超过了 {count}', 'feed_thread_rate_title' => '{actor} 发表的主题 {subject} 评分超过了 {count}', 'feed_thread_magic_title' => '{actor} 发表的主题 {subject} 被 {operater} 使用了 {magiccard}', 'feed_thread_recommend_title' => '{actor} 发表的主题 {subject} 被版主推荐', 'feed_post_rate_title' => '{actor} 在 {thread} 的回复评分超过了{count}', 'feed_post_magic_title' => '{actor} 在 {thread} 的回复被 {operater} 使用了 {magiccard}', 'feed_user_profile_title' => '{actor} 更新了自己的个人资料', 'feed_user_usergroup_title' => '{actor} 的用户组升级为 {usergroup}', 'feed_user_credit_title' => '{actor} 的总积分达到 {count}', 'feed_user_threads_title' => '{actor} 发表的主题数达到 {count}', 'feed_user_posts_title' => '{actor} 的发帖数达到 {count}', 'feed_user_digest_title' => '{actor} 的精华贴数达到 {count}', 'feed_user_medal_title' => '{actor} 得到勋章 {medal} 奖励', 'feed_announce_title' => '公告: {subject}', 'feed_announce_body' => '{message}', 'you' => '您', ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/dz_feeds.lang.php
PHP
asf20
1,832
<?php // Email Pack for Discuz! Version 3.1.0 // Translated by Crossday // ATTENTION: Please add slashes(\) before single & double quotes( ' & " ) $language = array ( 'moderate_member_invalidate' => '否决', 'moderate_member_delete' => '删除', 'moderate_member_validate' => '通过', 'get_passwd_subject' => '取回密码说明', 'get_passwd_message' => ' $member[username], 这封信是由 $bbname 发送的。 您收到这封邮件,是因为在我们的论坛上这个邮箱地址被登记为用户邮箱, 且该用户请求使用 Email 密码重置功能所致。 ---------------------------------------------------------------------- 重要! ---------------------------------------------------------------------- 如果您没有提交密码重置的请求或不是我们论坛的注册用户,请立即忽略 并删除这封邮件。只在您确认需要重置密码的情况下,才继续阅读下面的 内容。 ---------------------------------------------------------------------- 密码重置说明 ---------------------------------------------------------------------- 您只需在提交请求后的三天之内,通过点击下面的链接重置您的密码: {$boardurl}member.php?action=getpasswd&uid=$member[uid]&id=$idstring (如果上面不是链接形式,请将地址手工粘贴到浏览器地址栏再访问) 上面的页面打开后,输入新的密码后提交,之后您即可使用新的密码登录 论坛了。您可以在用户控制面板中随时修改您的密码。 本请求提交者的 IP 为 $onlineip 此致 $bbname 管理团队. $boardurl', 'email_verify_subject' => 'Email 地址验证', 'email_verify_message' => ' $discuz_userss , 这封信是由 $bbname 发送的。 您收到这封邮件,是因为在我们论坛的新用户注册,或用户修改 Email 使用 了您的地址。如果您并没有访问过我们的论坛,或没有进行上述操作,请忽 略这封邮件。您不需要退订或进行其他进一步的操作。 ---------------------------------------------------------------------- 帐号激活说明 ---------------------------------------------------------------------- 您是我们论坛的新用户,或在修改您的注册 Email 时使用了本地址,我们需 要对您的地址有效性进行验证以避免垃圾邮件或地址被滥用。 您只需点击下面的链接即可激活您的帐号: {$boardurl}member.php?action=activate&uid=$discuz_uid&id=$idstring (如果上面不是链接形式,请将地址手工粘贴到浏览器地址栏再访问) 感谢您的访问,祝您使用愉快! 此致 $bbname 管理团队. $boardurl', 'email_notify_subject' => '《$thread[subject]》新回复通知', 'email_notify_message' => ' 您好, 这封信是由 $bbname 发送的。 您收到这封邮件,是因为您订阅的以下主题在最近 24 小时内有了新的回复。 如果您并没有访问过我们的论坛,或没有进行上述操作,请忽略这封邮件。 您不需要退订或进行其他进一步的操作。 ---------------------------------------------------------------------- 主题信息 ---------------------------------------------------------------------- URL: {$boardurl}viewthread.php?tid=$thread[tid] 标题: $thread[subject] 作者: $thread[author] 查看: $thread[views] 回复: $thread[replies] 该主题最近一次由 $thread[lastposter] 于 $thread[lastpost] 回复。 您订阅的主题可能有更多的回复,为了不影响您信箱的正常使用,我们每 24 小时至多只会发送一次新回复通知,在此期间如果有新回复,将在下次一并通 知。 此致 $bbname 管理团队. $boardurl', 'add_member_subject' => '您被添加成为会员', 'add_member_message' => ' $newusername , 这封信是由 $bbname 发送的。 我是 $discuz_userss ,$bbname 的管理者之一。您收到这封邮件,是因为您 刚刚被添加成为我们论坛的会员,当前 Email 即是我们为您注册的地址。 ---------------------------------------------------------------------- 重要! ---------------------------------------------------------------------- 如果您对我们的论坛不感兴趣或无意成为会员,请忽略这封邮件。 ---------------------------------------------------------------------- 帐号信息 ---------------------------------------------------------------------- 论坛名称:$bbname 论坛地址:$boardurl 用户名:$newusername 密码:$newpassword 从现在起您可以使用您的帐号登录我们的论坛,祝您使用愉快! 此致 $bbname 管理团队. $boardurl', 'birthday_subject' => '祝您生日快乐', 'birthday_message' => ' $member[username], 这封信是由 $bbname 发送的。 您收到这封邮件,是因为在我们的论坛上这个邮箱地址被登记为用户邮箱, 并且按照您填写的信息,今天是您的生日,很高兴能在此时为您献上一份 生日祝福,我谨代表论坛管理团队,衷心祝福您生日快乐。 如果您并非我们的会员,或今天并非您的生日,可能是有人误用了您的邮 件地址,或错误的填写了生日信息,本邮件不会多次重复发送,请忽略这 封邮件。 此致 $bbname 管理团队. $boardurl', 'email_to_friend_subject' => '$discuz_userss 推荐给您: $thread[subject]', 'email_to_friend_message' => ' 这封信是由 $bbname 的 $discuz_userss 发送的。 您收到这封邮件,是因为在 $discuz_userss 通过 $bbname 的“推荐给朋友” 功能推荐了如下的内容给您,如果您对此不感兴趣,请忽略这封邮件。您不 需要退订或进行其他进一步的操作。 ---------------------------------------------------------------------- 信件原文开始 ---------------------------------------------------------------------- $message ---------------------------------------------------------------------- 信件原文结束 ---------------------------------------------------------------------- 请注意这封信仅仅是由用户使用 “推荐给朋友”发送的,不是论坛官方邮件, 论坛管理团队不会对这类邮件负责。 欢迎您访问 $bbname $boardurl', 'email_to_invite_subject' => '您的朋友 $discuz_userss 发送 $bbname 论坛注册邀请码给您', 'email_to_invite_message' => ' $sendtoname, 这封信是由 $bbname 的 $discuz_userss 发送的。 您收到这封邮件,是因为在 $discuz_userss 通过我们论坛的“发送邀请码给朋友” 功能推荐了如下的内容给您,如果您对此不感兴趣,请忽略这封邮件。您不 需要退订或进行其他进一步的操作。 ---------------------------------------------------------------------- 信件原文开始 ---------------------------------------------------------------------- $message ---------------------------------------------------------------------- 信件原文结束 ---------------------------------------------------------------------- 请注意这封信仅仅是由用户使用 “发送邀请码给朋友”发送的,不是论坛官方邮件, 论坛管理团队不会对这类邮件负责。 欢迎您访问 $bbname $boardurl', 'moderate_member_subject' => '用户审核结果通知', 'moderate_member_message' => ' $member[username] , 这封信是由 $bbname 发送的。 您收到这封邮件,是因为在我们的论坛上这个邮箱地址被新用户注册时所 使用,且管理员设置了需对新用户进行人工审核,本邮件将通知您提交的 申请的审核结果。 ---------------------------------------------------------------------- 注册信息与审核结果 ---------------------------------------------------------------------- 用户名: $member[username] 注册时间: $member[regdate] 提交时间: $member[submitdate] 提交次数: $member[submittimes] 注册原因: $member[message] 审核结果: {$language[\'moderate_member_\'.$member[operation]]} 审核时间: $member[moddate] 审核管理员: $discuz_userss 管理员留言: $member[remark] ---------------------------------------------------------------------- 审核结果说明 ---------------------------------------------------------------------- 通过: 您的注册已通过审核,您已成为我们论坛的正式用户。 否决: 您的注册信息不完整,或未满足我们对新用户的某些要求,您可以 根据管理员留言,完善您的注册信息,然后再提交。 删除:您的注册由于与我们的要求偏差较大,或我们的论坛新注册人数已 超过预期,申请被彻底否决。您的帐号已从数据库中删除,将无法 再使用其登录或提交再次审核,请您谅解。 此致 $bbname 管理团队. $boardurl' ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/emails.lang.php
PHP
asf20
9,121
<h2>{lang user_center}</h2> <div class="sideinner"> <ul class="tabs"> <!--{if $regverify == 1 && $groupid == 8}--> <li{if CURSCRIPT=='memcp' && $action == 'emailverify'} class="current"{/if}><a href="member.php?action=emailverify">{lang memcp_email_reverify}</a></li> <!--{/if}--> <!--{if $regverify == 2 && $groupid == 8}--> <li{if CURSCRIPT=='memcp' && $action == 'validating'} class="current"{/if}><a href="memcp.php?action=validating">{lang memcp_validating}</a></li> <li{if CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '2'} class="current"{/if}><a href="memcp.php?action=profile&typeid=2">{lang memcp_profile}</a></li> <!--{else}--> <li{if CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '3'} class="current"{/if}><a href="memcp.php?action=profile&typeid=3" id="uploadavatar" prompt="uploadavatar">{lang memcp_profile_avatar_modify}</a></li> <li{if CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '2'} class="current"{/if}><a href="memcp.php?action=profile&typeid=2">{lang memcp_profile}</a></li> <li{if CURSCRIPT=='pm'} class="current"{/if}><a href="pm.php">{lang pm}</a></li> <li{if CURSCRIPT=='notice'} class="current"{/if}><a href="notice.php">{lang notice}</a></li> <li{if CURSCRIPT=='my' && $item == 'buddylist'} class="current"{/if}><a href="my.php?item=buddylist&$extrafid">{lang my_buddylist}</a></li> <!--{if $regstatus > 1}--><li><a href="invite.php">{lang invite}</a></li><!--{/if}--> <!--{if $ucappopen['UCHOME']}--> <li><a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_my}</a></li> <!--{elseif $ucappopen['XSPACE']}--> <li><a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_my}</a></li> <!--{/if}--> <!--{/if}--> </ul> </div> <!--{if $groupid != 8}--> <hr class="shadowline" /> <div class="sideinner"> <ul class="tabs"> <li{if CURSCRIPT=='my' && in_array($item, array('threads', 'posts', 'polls', 'reward', 'activities', 'debate', 'buytrades', 'tradethreads', 'selltrades', 'tradestats'))} class="current"{/if}><a href="my.php?item=threads$extrafid">{lang my_posts}</a></li> <li{if CURSCRIPT=='my' && $item == 'favorites'} class="current"{/if}><a href="my.php?item=favorites&amp;type=thread$extrafid">{lang my_favorite}</a></li> <li{if CURSCRIPT=='my' && $item == 'attention'} class="current"{/if}><a href="my.php?item=attention&amp;type=thread$extrafid">{lang my_attention}</a></li> <!--{if !empty($plugins['plinks_my'])}--> <!--{loop $plugins['plinks_my'] $module}--> <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--><li{if CURSCRIPT == 'plugin' && $_GET[id] == $module['id']} class="current"{/if}>$module[url]</li><!--{/if}--> <!--{/loop}--> <!--{/if}--> </ul> </div> <hr class="shadowline" /> <div class="sideinner"> <ul class="tabs"> <li{if CURSCRIPT=='memcp' && $action == 'credits'} class="current"{/if}><a href="memcp.php?action=credits">{lang credits}</a></li> <li{if CURSCRIPT=='memcp' && $action == 'usergroups'} class="current"{/if}><a href="memcp.php?action=usergroups">{lang usergroup}</a></li> <li{if CURSCRIPT=='task'} class="current"{/if}><a href="task.php">{lang task}</a></li> <!--{if $medalstatus}--><li{if CURSCRIPT=='medal'} class="current"{/if}><a href="medal.php">{lang medals_list}</a></li><!--{/if}--> <!--{if $magicstatus}--><li{if CURSCRIPT=='magic'} class="current"{/if}><a href="magic.php">{lang magics_title}</a></li><!--{/if}--> <!--{if !empty($plugins['plinks_tools'])}--> <!--{loop $plugins['plinks_tools'] $module}--> <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--><li{if CURSCRIPT == 'plugin' && $_GET[id] == $module['id']} class="current"{/if}>$module[url]</li><!--{/if}--> <!--{/loop}--> <!--{/if}--> </ul> </div> <!--{/if}--> <hr class="shadowline" /> <div class="sideinner"> <ul class="tabs"> <li{if CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '5'} class="current"{/if}><a href="memcp.php?action=profile&typeid=5">{lang memcp_profile_person}</a></li> <li{if CURSCRIPT=='memcp' && $action == 'profile' && $typeid == '1'} class="current"{/if}><a href="memcp.php?action=profile&typeid=1">{lang memcp_profile_security}</a></li> </ul> </div> <hr class="shadowline" /> <div class="sideinner"> <ul class="tabs"> <li>{lang credits}: $credits</li> <!--{loop $extcredits $id $credit}--> <li>$credit[title]: $GLOBALS['extcredits'.$id] $credit[unit]</li> <!--{/loop}--> </ul> </div> $pluginhooks[memcp_side]
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/personal_navbar.htm
HTML
asf20
4,691
{template header} <!--{if $action == 'newbie'}--> <link rel="stylesheet" type="text/css" href="forumdata/cache/style_{STYLEID}_task_newbie.css?{VERHASH}" /> <div class="fcontent"> <h3 class="float_ctrl"> <em>{lang task_newbie_unfinish_sum}</em> <span><!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="$('task_mini').style.display='';setcookie('discuz_minitask', 1, 3600);hideWindow('task')" title="{lang close}">{lang close}</a><!--{/if}--></span> </h3> <div class="postbox task_newbie"> <div class="s_clear"> <ul class="task_list"> <!--{loop $thisids $taskid}--> <li{if in_array($taskid, $doneids)} class="finished"{/if}><a href="task.php?action=view&amp;id=$taskid" id="newbietask_$taskid" onclick="showTaskDetail(this);doane(event);" target="_blank">$newbietasks[$taskid][name]</a></li> <!--{/loop}--> </ul> <div id="ajax_task_detail" class="task_detail"></div> </div> <div class="s_clear">$multipage</div> </div> </div> <script type="text/javascript" reload="1"> var currentTask = null; var currentClass = ''; function showTaskDetail(obj) { ajaxget(obj.href, 'ajax_task_detail'); if(currentTask != obj) { if(currentTask) { currentTask.parentNode.className = currentClass; } currentTask = obj; } currentClass = obj.parentNode.className; obj.parentNode.className = 'isdoing'; } <!--{if $currenttaskid}--> showTaskDetail($('newbietask_$currenttaskid')); <!--{else}--> showTaskDetail($('newbietask_$newbietaskid')); <!--{/if}--> </script> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/task_newbie.htm
HTML
asf20
1,648
<!--{if $forum['recommendlist']['images']}--> <div style="float: left; width: {$forum[modrecommend][imagewidth]}px;"> <script type="text/javascript"> var slideSpeed = 5000; var slideImgsize = [{$forum[modrecommend][imagewidth]},{$forum[modrecommend][imageheight]}]; var slideBorderColor = '{SPECIALBORDER}'; var slideBgColor = '{COMMONBG}'; var slideImgs = new Array(); var slideImgLinks = new Array(); var slideImgTexts = new Array(); var slideSwitchColor = '{TABLETEXT}'; var slideSwitchbgColor = '{COMMONBG}'; var slideSwitchHiColor = '{SPECIALBORDER}'; <!--{loop $forum['recommendlist']['images'] $k $imginfo}--> slideImgs[{echo $k+1}] = "$imginfo[filename]"; slideImgLinks[{echo $k+1}] = "viewthread.php?tid=$imginfo[tid]&from=recommend_f"; slideImgTexts[{echo $k+1}] = "$imginfo[subject]"; <!--{/loop}--> </script> <script language="javascript" type="text/javascript" src="include/js/slide.js"></script> </div> <!--{/if}--> <div class="inlinelist titlelist s_clear"{if $forum['recommendlist']['images']} style="margin-left: {$forum[modrecommend][imagewidth]}px;"{/if}> {eval unset($forum['recommendlist']['images']);} <ul> <!--{loop $forum['recommendlist'] $rtid $recommend}--> <li class="wide"><cite><a href="space.php?uid=$recommend[authorid]&from=recommend_f" target="_blank">$recommend[author]</a></cite><a href="viewthread.php?tid=$rtid&from=recommend_f" $recommend[subjectstyles] target="_blank">$recommend[subject]</a></li> <!--{/loop}--> </ul> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/recommend.htm
HTML
asf20
1,512
<div class="itemtitle s_clear"> <form method="post" action="member.php?action=list" class="right"> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="text" size="15" name="srchmem" class="txt" /> &nbsp;<button type="submit">{lang search}</button> <!--{if $regstatus > 1}-->&nbsp;<button onclick="window.location='invite.php'; return false;">{lang my_buddylist_invite}</button><!--{/if}--> </form> <h1>{lang my_buddylist}</h1> <ul> <li{if empty($type)} class="current"{/if}><a href="my.php?item=buddylist"><span>{lang my_buddylist_status_3}</span></a></li> <li{if !empty($type)} class="current"{/if}><a href="my.php?item=buddylist&type=fans"><span>{lang my_buddylist_status_1}</span></a></li> </ul> </div> <div class="datalist"> <table cellspacing="0" cellpadding="0" class="datatable" style="table-layout:fixed;margin-top:10px;"> <!--{if $buddylist}--> <tr> <!--{eval $i=0;}--> <!--{loop $buddylist $buddy}--> <!--{eval $i++;}--> <td valign="top"> <div class="friendavatar"><a href="space.php?uid=$buddy[friendid]" target="_blank">$buddy[avatar]</a></div> <div class="friendinfo"> <h5 class="buddyname"> <a href="space.php?uid=$buddy[friendid]" target="_blank">$buddy[username]</a> <!--{if $buddy[online]}--><img src="{IMGDIR}/online_buddy.gif" title="{lang online}" class="online_buddy" /><!--{/if}--> <!--{if $buddy['msn'][1]}--> <a target='_blank' href='http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee={$buddy[msn][1]}@apps.messenger.live.com&mkt=zh-cn' title="{lang msn_chat}"><img class='online_buddy' src='http://messenger.services.live.com/users/{$buddy[msn][1]}@apps.messenger.live.com/presenceimage?mkt=zh-cn' width='16' height='16' /></a> <!--{/if}--> </h5> <p> <span id="commenthide_$buddy[friendid]">$buddy[comment]</span> <span id="commentedit_$buddy[friendid]">[<a href="javascript:;" onclick="editcomment($buddy[friendid])"><!--{if $buddy[comment]}-->+{lang my_buddylist_comment_edit}<!--{else}-->+{lang my_buddylist_comment_add}<!--{/if}--></a>]</span> <span id="commentbox_$buddy[friendid]" style="display:none"><input name="comment_$buddy[friendid]" value="$buddy[comment]" id="comment_$buddy[friendid]" class="txt" tabindex="1" onBlur="updatecomment($buddy[friendid])"/ size="30"></span> </p> <p class="friendctrl"> <a href="pm.php?action=new&uid=$buddy[friendid]" onclick="showWindow('sendpm', this.href);return false;" title="{lang send_pm}">{lang send_pm}</a> | <!--{if $uchomeurl}--><a href="$uchomeurl/space.php?uid=$buddy[friendid]" target="_blank">{lang my_buddylist_space}</a><!--{else}--><a href="space.php?uid=$buddy[friendid]" target="_blank">{lang memcp_profile}</a><!--{/if}--> | <a href="search.php?srchuid=$buddy[friendid]&srchfid=all&srchfrom=0&searchsubmit=yes" target="_blank"><!--{if $buddy[gender] == 2}-->{lang she}<!--{else}-->{lang he}<!--{/if}-->{lang my_buddylist_post}</a> | <a href="my.php?item=buddylist&action=delete&friendid=$buddy[friendid]{$extratype}&buddysubmit=yes">{lang delete}</a> </p> </div> </td> <!--{if $i%2==0}--></tr><tr><!--{/if}--> <!--{/loop}--> </tr> <!--{else}--> <tr><th><p class="nodata">{lang my_buddylist_none}</p></th></tr> <!--{/if}--> </table> </div> $multipage <script type="text/javascript" reload="1"> function changediv(buddyid) { display('commenthide_' + buddyid); display('commentbox_' + buddyid); display('commentedit_' + buddyid); } function editcomment(buddyid) { changediv(buddyid); $('comment_' + buddyid).focus(); } function updatecomment(buddyid) { changediv(buddyid); var comment = BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent($('comment_'+ buddyid).value) : $('comment_'+ buddyid).value; $('commenthide_' + buddyid).innerHTML = preg_replace(['&', '<', '>', '"'], ['&amp;', '&lt;', '&gt;', '&quot;'], comment); ajaxget('my.php?item=buddylist&action=edit&friendid=' + buddyid + '&buddysubmit=yes&comment=' + comment, 'commnethide_' + buddyid, 'commnethide_' + buddyid); } function preg_replace(search, replace, str) { var len = search.length; for(var i = 0; i < len; i++) { re = new RegExp(search[i], "ig"); str = str.replace(re, typeof replace == 'string' ? replace : (replace[i] ? replace[i] : replace[0])); } return str; } </script>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_buddylist.htm
HTML
asf20
4,515
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent"> <div style="display: none"> <ul id="fs_group">$grouplist</ul> <ul id="fs_forum_common">$commonlist</ul> <!--{loop $forumlist $forumid $forum}--> <ul id="fs_forum_$forumid">$forum</ul> <!--{/loop}--> <!--{loop $subforumlist $forumid $forum}--> <ul id="fs_subforum_$forumid">$forum</ul> <!--{/loop}--> </div> <h3 class="float_ctrl"> <em>{lang nav}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('nav')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <div class="postbox"> <p class="s_clear"> <button class="right" id="postbtn" onclick="hideWindow('nav');showWindow('newthread', 'post.php?action=newthread&fid=' + selectfid);" disabled="disabled">{lang send_posts}</button> <button class="right" id="enterbtn" onclick="locationforums(currentblock, currentfid)" disabled="disabled">{lang nav_forum}</button> <span class="switchnav">$bbname<span id="switchnav"></span></span> </p> <ul class="postboardlist s_clear"> <li id="block_group"></li> <li id="block_forum"></li> <li id="block_subforum"></li> </ul> </div> </div> <script type="text/javascript" reload="1"> var s = '<p><a id="commonforum" href="javascript:;" onclick="switchforums(this, 1, \'common\')" class="hassubboard lightlink">{lang nav_forum_frequently}</a></p>'; var lis = $('fs_group').getElementsByTagName('LI'); for(i = 0;i < lis.length;i++) { var gid = lis[i].getAttribute('fid'); if($('fs_forum_' + gid)) { s += '<p><a href="javascript:;" ondblclick="locationforums(1, ' + gid + ')" onclick="switchforums(this, 1, ' + gid + ')" class="hassubboard">' + lis[i].innerHTML + '</a></p>'; } } $('block_group').innerHTML = s; var lastswitchobj = null; var selectfid = 0; var switchforum = switchsubforum = ''; switchforums($('commonforum'), 1, 'common'); function switchforums(obj, block, fid) { if(lastswitchobj != obj) { if(lastswitchobj) { lastswitchobj.parentNode.className = ''; } obj.parentNode.className = 'pbl_selected'; } var s = ''; if(fid != 'common') { $('enterbtn').removeAttribute("disabled"); currentblock = block; currentfid = fid; } else { $('enterbtn').setAttribute("disabled", "disabled"); } if(block == 1) { var lis = $('fs_forum_' + fid).getElementsByTagName('LI'); for(i = 0;i < lis.length;i++) { fid = lis[i].getAttribute('fid'); if(fid != '') { s += '<p><a href="javascript:;" ondblclick="locationforums(2, ' + fid + '\)" onclick="switchforums(this, 2, ' + fid + ')"' + ($('fs_subforum_' + fid) ? ' class="hassubboard"' : '') + '>' + lis[i].innerHTML + '</a></p>'; } } $('block_forum').innerHTML = s; $('block_subforum').innerHTML = ''; switchforum = switchsubforum = ''; selectfid = 0; $('postbtn').setAttribute("disabled", "disabled"); } else if(block == 2) { selectfid = fid; if($('fs_subforum_' + fid)) { var lis = $('fs_subforum_' + fid).getElementsByTagName('LI'); for(i = 0;i < lis.length;i++) { fid = lis[i].getAttribute('fid'); s += '<p><a href="javascript:;" ondblclick="locationforums(3, ' + fid + ')" onclick="switchforums(this, 3, ' + fid + ')">' + lis[i].innerHTML + '</a></p>'; } $('block_subforum').innerHTML = s; } else { $('block_subforum').innerHTML = ''; } switchforum = obj.innerHTML; switchsubforum = ''; $('postbtn').removeAttribute("disabled"); } else { selectfid = fid; switchsubforum = obj.innerHTML; $('postbtn').removeAttribute("disabled"); } lastswitchobj = obj; $('switchnav').innerHTML = switchforum ? '&nbsp;&gt;&nbsp;' + switchforum + (switchsubforum ? '&nbsp;&gt;&nbsp;' + switchsubforum : '') : ''; } function locationforums(block, fid) { location.href = block == 1 ? '$indexname?gid=' + fid : 'forumdisplay.php?fid=' + fid; } </script> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/post_forumselect.htm
HTML
asf20
4,222
<table cellspacing="0" cellpadding="0" class="datatable"> <thead class="colplural"> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th>{lang thread}</th> <td class="forum">{lang forum}</td> <td class="nums"> <select onchange="window.location='my.php?item=debate&type=$type&filter=' + this.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><!--{if $type == 'orig'}-->{lang lastpost}<!--{else}-->{lang debate_dateline}<!--{/if}--></cite></td> </tr> </thead> <!--{if $debatelist}--> <tbody> <!--{loop $debatelist $key $debate}--> <tr> <td class="folder"> <a href="viewthread.php?tid=$debate[tid]" target="_blank"> <!--{if $debate[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$debate[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" /> </td> <th><a href="{if $type == 'orig'}viewthread.php?tid=$debate[tid]{else}redirect.php?goto=findpost&pid=$debate[pid]&ptid=$debate[tid]{/if}" target="_blank">$debate[subject]</a></th> <td class="forum"><a href="forumdisplay.php?fid=$debate[fid]" target="_blank">$debate[forumname]</a></td> <td class="nums"><!--{if $debate[displayorder] == '-1'}-->{lang forum_recyclebin}<!--{elseif $debate[displayorder] == '-2'}-->{lang my_threads_aduit}<!--{elseif $debate[closed] == '1'}-->{lang my_threads_close}<!--{else}-->{lang my_threads_common}<!--{/if}--></td> <td class="lastpost"> <!--{if $type == 'orig'}--> <cite><!--{if $debate['lastposter']}--><a href="space.php?username=$debate[lastposterenc]" target="_blank">$debate[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite> <em><a href="redirect.php?tid=$debate[tid]&goto=lastpost#lastpost" target="_blank">$debate[lastpost]</a></em> <!--{else}--> <cite>$debate[dateline]</cite> <!--{/if}--> </td> </tr> <!--{if $type == 'reply'}--> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th colspan="4" class="lighttxt">$debate[message]</th> </tr> <!--{/if}--> <!--{/loop}--> </tbody> <!--{else}--> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th colspan="4"><p class="nodata">{lang data_nonexistence}</p></th> </tr> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_debate.htm
HTML
asf20
3,075
<?php // Message Pack for Discuz! WAP Version 1.0.0 // Created by Crossday $lang = array ( 'username' => '用户名', 'uid' => 'UID', 'password' => '密码', 'submit' => '提交', 'page' => '页', 'replies' => '回', 'views' => '点', 'reply' => '回复', 'delete' => '删除', 'anonymous' => '匿名', 'forum' => '版块', 'from' => '来自:', 'type' => '分类:', 'subject' => '标题:', 'message' => '内容:', 'home_page' => '首页', 'last_page' => '上页', 'next_page' => '下页', 'end_page' => '尾页', 'turn_page' => '翻页', 'next_thread' => '下一主题', 'last_thread' => '上一主题', 'end' => '结束', 'unread' => '未读', 'sub_forums' => '子版块', 'email' => '电子邮件', 'more' => '更多', 'search' => '搜索', 'digest' => '精华', 'reload' => '刷新', 'author' => '作者:', 'dateline' => '时间:', 'return' => '返回', 'keywords' => '关键词', 'not_loggedin' => '请登录后使用本功能', 'wap_disabled' => 'WAP 功能未启用', 'board_closed' => '论坛目前临时关闭', 'undefined_action' => '未定义操作', 'home_online' => '在线人数:', 'home_members' => '会员', 'home_newpm' => '条新短消息', 'home_forums' => '论坛版块', 'home_tools' => '工具箱', 'home_newthreads' => '查看新帖', 'login' => '登录', 'login_username' => '用户名/UID', 'login_succeed' => '{$discuz_user}成功登录', 'login_strike' => '累计5次密码错误,15分钟内不能登录', 'login_invalid' => '用户名或密码有误,您共有5次尝试机会', 'logout' => '退出', 'logout_succeed' => '成功退出登录', 'security_question' => '安全提问', 'security_answer' => '回答', 'security_question_0' => '无安全提问', 'security_question_1' => '母亲的名字', 'security_question_2' => '爷爷的名字', 'security_question_3' => '父亲出生的城市', 'security_question_4' => '您其中一位老师的名字', 'security_question_5' => '您个人计算机的型号', 'security_question_6' => '您最喜欢的餐馆名称', 'security_question_7' => '驾驶执照的最后四位数字', 'register' => '注册', 'register_username' => '用户名', 'register_disable' => '此论坛禁止通过WAP注册', 'register_reason' => '注册原因', 'register_ctrl' => '对不起,您的 IP 地址在 $regctrl 小时内只能注册一个帐号,请返回。', 'register_flood_ctrl' => '对不起,同一 IP 地址在 24 小时内只能进行 $regfloodctrl 次注册尝试,请返回。', 'register_manual_verify' => '非常感谢您的注册,管理员设置了人工验证新注册用户,请等待审核通过,现在将转入控制面板首页。', 'register_succeed' => '非常感谢您的注册,现在将以会员身份登录论坛。', 'activation_disable' => '此论坛禁止通过WAP激活', 'register_activation_message' => '对不起,您输入的用户名 \"$username\" 已经存在,请登录论坛激活此帐号<br /><a href=\"index.php?action=login\">登录论坛</a>', 'profile_username_duplicate' => '该用户名已经被注册,请返回重新填写。', 'profile_email_duplicate' => '该 Email 地址已经被注册,请返回重新填写。', 'profile_username_illegal' => '用户名包含敏感字符,请返回重新填写。', 'profile_username_protect' => '用户名包含被系统屏蔽的字符,请返回重新填写。', 'profile_email_illegal' => 'Email 地址无效,请返回重新填写。', 'profile_email_domain_illegal' => 'Email 包含不可使用的邮箱域名,请返回重新填写。', 'fav_add_succeed' => '已成功添加到收藏夹中,请返回。', 'fav_existence' => '您过去已经收藏过这个主题或者版块,请返回。', 'goto_last_nonexistence' => '没有比这个主题更早的主题了', 'goto_next_nonexistence' => '没有比这个主题更晚的主题了', 'forum_thread_sticky' => '[顶]', 'forum_thread_digest' => '[精]', 'forum_nopermission' => '无权访问本版块', 'forum_nonexistence' => '指定版块不存在', 'forum_list' => '帖子列表', 'forum_sublist' => '子版块列表', 'my' => '我的', 'my_uid' => 'UID:', 'my_username' => '用户名:', 'my_gender' => '性别:', 'my_bday' => '生日:', 'my_location' => '来自:', 'my_bio' => '自我介绍:', 'my_phone' => '我的手机', 'my_favorites' => '我的收藏', 'my_addfav' => '设为我的收藏', 'my_nonexistence' => '该用户不存在', 'my_male' => '男', 'my_female' => '女', 'my_secrecy' => '保密', 'my_threads' => '我的主题', 'my_replies' => '我的回复', 'my_fav_thread' => '我收藏的主题', 'my_fav_forum' => '我收藏的版块', 'thread_nopermission' => '无权查看本主题', 'thread_nonexistence' => '指定主题不存在', 'thread_replylist' => '回复列表', 'thread_reply' => '回复主题:', 'thread_quickreply' => '快速回复', 'thread_banned' => '该帖被屏蔽', 'post_reply' => '回复本帖', 'post_new' => '发新话题', 'post_sm_isnull' => '未填写标题或内容', 'post_subject_toolong' => '标题超过80字节', 'post_message_toolong' => '内容超过{$maxpostsize}字节限制', 'post_message_tooshort' => '内容少于{$minpostsize}字节限制', 'post_type_isnull' => '未选择主题分类', 'post_flood_ctrl' => '两次发表少于{$floodctrl}秒', 'post_mod_succeed' => '成功提交人工审核', 'post_mod_forward' => '回到当前论坛', 'post_thread_closed' => '本主题已关闭', 'post_thread_closed_by_dateline' => '本主题发布于$forum[autoclose]天前<br />已被自动关闭', 'post_thread_closed_by_lastpost' => '本主题最后回复于$forum[autoclose]天前<br />已被自动关闭', 'post_newbie_span' => '注册{$newbiespan}小时后才可发帖', 'post_hide_nopermission' => '无权使用[hide]代码', 'post_newthread_nopermission' => '无权在本论坛发新话题', 'post_newthread_succeed' => '主题发表成功<br /><a href=\"index.php?action=forum&amp;fid=$fid\">返回论坛</a>', 'post_newthread_forward' => '查看主题', 'post_newreply_nopermission' => '无权在本论坛发表回复', 'post_newreply_succeed' => '主题回复成功<br /><a href=\"index.php?action=forum&amp;fid=$fid\">返回论坛</a>', 'post_newreply_forward' => '查看回复', 'message_banned' => '提示: <em>作者被禁止或删除 内容自动屏蔽</em>', 'message_single_banned' => '提示: <em>该帖被管理员或版主屏蔽</em>', 'admin_message_banned' => '提示: <em>作者被禁止或删除 内容自动屏蔽,只有管理员可见</em>', 'admin_message_single_banned' => '提示: <em>该帖被管理员或版主屏蔽,只有管理员可见</em>', 'profile_username_toolang' => '对不起,您的用户名超过 15 个字符,请返回输入一个较短的用户名。', 'profile_username_tooshort' => '对不起,您输入的用户名小于3个字符, 请返回输入一个较长的用户名。', 'profile_passwd_notmatch' => '两次输入的密码不一致,请返回检查后重试。', 'profile_passwd_illegal' => '密码空或包含非法字符,请返回重新填写。', 'profile_email_verify' => '确认 Email 已经发送,请用邮件中提供的方法激活您的帐号。如果您没有收到我们发送的系统邮件,请点击控制面板首页中的“重新验证 Email 有效性”,或尝试更换另外一个地址。注意:在完成激活之前,根据管理员设置,您将只能以等验证会员的身份访问论坛,您可能不能进行发帖等操作。激活成功后,上述限制将自动取消。', 'pm' => '短消息', 'pm_home' => '短消息首页', 'pm_list' => '短消息列表', 'pm_unread' => '未读消息', 'pm_all' => '全部消息', 'pm_send' => '发送短消息', 'pm_to' => '收信人', 'pm_delete_all' => '删除已读短信', 'pm_flood_ctrl' => '两次发表少于{$floodctrl}秒', 'pm_delete_confirm' => '确认删除所有已读短信', 'pm_sm_isnull' => '未填写标题或内容', 'pm_nonexistence' => '短消息不存在', 'pm_send_nonexistence' => '收信人不存在', 'pm_send_ignore' => '收件人拒收短消息', 'pm_send_succeed' => '短消息成功发送', 'pm_delete_succeed' => '短消息成功删除', 'return_thread' => '返回主题', 'return_forum' => '返回版块', 'stats' => '论坛统计', 'stats_threads' => '主题数', 'stats_posts' => '帖子数', 'stats_members' => '会员数', 'search' => '论坛搜索', 'search_result' => '搜索结果', 'search_invalid' => '您没有指定要搜索的关键字或用户名,请返回重新填写。', 'search_ctrl' => '对不起,您在 $searchctrl 秒内只能进行一次搜索,请返回。', 'search_id_invalid' => '您指定的搜索不存在或已过期,请返回。', 'search_group_nopermission' => '您所在的用户组没有搜索权限,请返回', 'goto' => 'WAP跳转', 'wap_submit_invalid' => '验证信息不正确', 'post_hide_reply_hidden' => '本内容隐藏', 'register_invite' => '论坛开启邀请码注册,请通过WWW方式注册', 'message_ishidden_hiddenreplies' => '此帖仅作者可见', ); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/wap.lang.php
PHP
asf20
9,367
{template header} <!--{if empty($infloat)}--> <div id="nav"><a href="$indexname">$bbname</a> $navigation</div> <div id="wrap" class="wrap s_clear"> <div class="main"><div class="content nofloat"> <!--{/if}--> <div class="fcontent"> <h3 class="float_ctrl"> <em id="return_$handlekey">{lang pay}</em> <span> <!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('$handlekey')" title="{lang close}">{lang close}</a><!--{/if}--> </span> </h3> <form id="payform" method="post" action="misc.php?action=pay&paysubmit=yes&infloat=yes"{if !empty($infloat)} onsubmit="ajaxpost('payform', 'return_$handlekey', 'return_$handlekey', 'onerror');return false;"{/if}> <input type="hidden" name="formhash" value="{FORMHASH}" /> <input type="hidden" name="referer" value="$referer" /> <input type="hidden" name="tid" value="$tid" /> <!--{if !empty($infloat)}--><input type="hidden" name="handlekey" value="$handlekey" /><!--{/if}--> <table class="list" cellspacing="0" cellpadding="0" style="width:200px"> <tr> <th>{lang author}</th> <td><a href="space.php?uid=$thread[authorid]" target="_blank">$thread[author]</a></td> </tr> <tr> <th valign="top">{lang price}({$extcredits[$creditstransextra[1]][title]})</th> <td>$thread[price] {$extcredits[$creditstransextra[1]][unit]}</td> </tr> <tr> <th valign="top">{lang pay_author_income}({$extcredits[$creditstransextra[1]][title]})</th> <td>$thread[netprice] {$extcredits[$creditstransextra[1]][unit]}</td> </tr> <tr> <th valign="top">{lang pay_balance}({$extcredits[$creditstransextra[1]][title]})</th> <td>$balance {$extcredits[$creditstransextra[1]][unit]}</td> </tr> <tr class="btns" align="center"> <td colspan="2"><button class="submit" type="submit" name="paysubmit" value="true">{lang submit}</button></td> </tr> </table> </form> </div> <!--{if !empty($infloat)}--> <script type="text/javascript" reload="1"> function submithandle_$handlekey(locationhref) { ajaxget('viewthread.php?tid=$tid&viewpid=$pid', 'post_$pid'); hideWindow('$handlekey'); showCreditPrompt(); } </script> <!--{/if}--> <!--{if empty($infloat)}--> </div></div> </div> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/pay.htm
HTML
asf20
2,272
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang magics_index}</div> <div id="wrap" class="wrap with_side s_clear"> <div class="main"> <div class="content"> <div class="itemtitle s_clear"> <h1>{lang magics_index}</h1> <ul> <li<!--{if empty($action) || $action == 'index'}--> class="current"<!--{/if}-->><a href="magic.php" hidefocus="true"><span>{lang home}</span></a></li> <li<!--{if $action == 'shop'}--> class="current"<!--{/if}-->><a href="magic.php?action=shop" hidefocus="true"><span>{lang magics_shop}</span></a></li> <li <!--{if $discuz_uid}-->id="magic_market" onmouseover="showMenu({'ctrlid':this.id})"<!--{/if}--><!--{if $action == 'market'}--> class="current"<!--{/if}-->><a href="magic.php?action=market" hidefocus="true" class="dropmenu"><span>{lang magics_market}</span></a></li> <!--{if $discuz_uid}--> <li class="pipe">|</li> <li<!--{if $action == 'mybox'}--> class="current"<!--{/if}-->><a href="magic.php?action=mybox" hidefocus="true"><span>{lang magics_user}</span></a></li> <li id="magic_log" onmouseover="showMenu({'ctrlid':this.id})"<!--{if $action == 'log'}--> class="current"<!--{/if}-->><a href="magic.php?action=log&amp;operation=uselog" hidefocus="true" class="dropmenu"><span>{lang magics_log}</span></a></li> <!--{/if}--> </ul> </div> <!--{if !$magicstatus && $adminid == 1}--> <div class="channelinfo">{lang magics_tips}</div> <!--{/if}--> <!--{if $action == 'index'}--> {subtemplate magic_index} <!--{elseif $action == 'shop'}--> {subtemplate magic_shop} <!--{elseif $action == 'market'}--> {subtemplate magic_market} <!--{elseif $action == 'mybox'}--> {subtemplate magic_mybox} <!--{elseif $action == 'log'}--> {subtemplate magic_log} <!--{/if}--> <!--{if $discuz_uid}--> <ul class="popupmenu_popup titlemenu_popup" id="magic_market_menu" style="display: none"> <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> <ul class="popupmenu_popup titlemenu_popup" id="magic_log_menu" style="display: none"> <li<!--{if $operation == 'uselog'}--> class="current"<!--{/if}-->><a href="magic.php?action=log&operation=uselog"><span>{lang magics_log_use}</span></a></li> <li<!--{if $operation == 'buylog'}--> class="current"<!--{/if}-->><a href="magic.php?action=log&operation=buylog"><span>{lang magics_log_buy}</span></a></li> <li<!--{if $operation == 'givelog'}--> class="current"<!--{/if}-->><a href="magic.php?action=log&operation=givelog"><span>{lang magics_log_present}</span></a></li> <li<!--{if $operation == 'receivelog'}--> class="current"<!--{/if}-->><a href="magic.php?action=log&operation=receivelog"><span>{lang magics_log_receive}</span></a></li> <!--{if $magicmarket}--> <li<!--{if $operation == 'marketlog'}--> class="current"<!--{/if}-->><a href="magic.php?action=log&operation=marketlog"><span>{lang magics_log_market}</span></a></li> <!--{/if}--> </ul> <!--{/if}--> </div> </div> <div class="side"> {subtemplate personal_navbar} </div> </div> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/magic.htm
HTML
asf20
3,419
{template header} <b>$member[useip]</b> $member[iplocation] <!--{if $allowviewip}--> <br /><a href="admincp.php?action=members&operation=ipban&ip=$member[useip]&frames=yes" target="_blank" class="lightlink">{lang admin_ban_this_ip}</a> <!--{/if}--> {template footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/topicadmin_getip.htm
HTML
asf20
274
<html> <head> <meta http-equiv="content-type" content="text/html; charset=$charset" /> <title>$bbname</title> <style type="text/css"> body { background-color: #FFF; color: #000; font-family: Verdana, Tahoma; font-size: 12px; margin: 20px; padding: 0px; } #largetext { font-size: 18px; font-weight: bold; margin-bottom: 10px; padding-top: 3px; width: auto; } #userinfo { font-size: 12px; color: #888; text-align: right; width: auto; } #copyright { margin-top: 30px; font-size: 11px; text-align: center; } .wrapper { } .pm { color: #000; padding: 10px; margin-top:10px; border: 1px solid #888; } .content { color: #888; } .msgborder { margin: 2em; margin-top: 3px; padding: 10px; border: 1px solid #888; word-break: break-all; } .quote { margin: 10px 0; padding: 10px 10px 10px 5px; border: 1px solid #CCC; } .blockcode { margin: 10px 0; padding: 10px 10px 10px 25px; border: 1px solid #CCC; } </style> </head> <body> <div id="wrapper"> <div id="largetext">{lang pm_archive}</div> <div id="userinfo"><a href="{$boardurl}space.php?uid=$discuz_uid" target="_blank">$discuz_userss @ $timenow[time]</a></div> <br /> <!--{loop $pmlist $pm}--> <div class="pm"> <strong><!--{if $pm[msgfromid] != $discuz_uid}-->$pm[msgfrom]<!--{else}-->$discuz_userss<!--{/if}--></strong> $pm[dateline]:<br /> <br /> <div class="content">$pm[message]</div> </div> <!--{/loop}--> </div> <div id='copyright'> Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a> $version</strong></a>&nbsp; &copy; 2001-2006 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a> </div> </body> </html>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/pm_archive_html.htm
HTML
asf20
1,661
<div class="datalist"> <div id="list_magics_shop_c" class="c_header"> <h3 class="noarrow">{lang magics_recommend}</h3> </div> <div id="list_magics_shop" class="mymagic"> <ul class="inlinelist s_clear"> <!--{if $recommendmagiclist}--> <!--{eval $i=0;}--> <!--{loop $recommendmagiclist $key $magic}--> <li> <div class="magicimg"><img src="images/magics/$magic[pic]" alt="$magic[name]" /></div> <div class="magicdetail"> <h5>$magic[name]</h5> <p>$magic[description]</p> <p>{lang magics_price}&nbsp;&nbsp;<strong>$magic[price]{$extcredits[$creditstransextra[3]][title]}/{lang unit}</strong> <a href="magic.php?action=shop&operation=buy&magicid=$magic[magicid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_buy}</a> <!--{if $allowmagics > 1}--> <a href="magic.php?action=shop&operation=give&magicid=$magic[magicid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_present}</a> <!--{/if}--> </p> </div> </li> <!--{if $i%2}--><li class="clear"></li><!--{/if}--> <!--{eval $i++;}--> <!--{/loop}--> <!--{if !empty($mymultipage)}--><li class="clear"><div class="pages_btns">$mymultipage</div></li><!--{/if}--> <!--{else}--> <li class="clear">{lang data_nonexistence}</li> <!--{/if}--> </ul> </div> <div id="list_magics_shop_c" class="c_header"> <h3 class="noarrow">{lang magics_hot}</h3> </div> <div id="list_magics_shop" class="mymagic"> <ul class="inlinelist s_clear"> <!--{if $hotmagiclist}--> <!--{eval $i=0;}--> <!--{loop $hotmagiclist $key $magic}--> <li> <div class="magicimg"><img src="images/magics/$magic[pic]" alt="$magic[name]" /></div> <div class="magicdetail"> <h5>$magic[name]</h5> <p>$magic[description]</p> <p>{lang magics_price}&nbsp;&nbsp;<strong>$magic[price]{$extcredits[$creditstransextra[3]][title]}/{lang unit}</strong>&nbsp;&nbsp;<a href="magic.php?action=shop&operation=buy&magicid=$magic[magicid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_buy}</a> <!--{if $allowmagics > 1}--> <a href="magic.php?action=shop&operation=give&magicid=$magic[magicid]" onclick="showWindow('magics', this.href);return false;">{lang magics_operation_present}</a> <!--{/if}--> </p> </div> </li> <!--{if $i%2}--><li class="clear"></li><!--{/if}--> <!--{eval $i++;}--> <!--{/loop}--> <!--{if !empty($mymultipage)}--><li class="clear"><div class="pages_btns">$mymultipage</div></li><!--{/if}--> <!--{else}--> <li class="clear">{lang data_nonexistence}</li> <!--{/if}--> </ul> </div> </div>
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/magic_index.htm
HTML
asf20
2,793
{subtemplate header} <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang home}</div> <!--{if $admode && !empty($advlist['text'])}--><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1">$advlist[text]</table></div><!--{else}--><div id="ad_text"></div><!--{/if}--> <div id="wrap"{if $infosidestatus['allow'] < 2} class="wrap s_clear"{else} class="wrap with_side s_clear"{/if}> <!--{if $infosidestatus[allow] == 2}--> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['{lang sidebar_collapsed_yes}', '{lang sidebar_collapsed_no}']);" class="$collapseimg[sidebar]"><!--{if $collapseimg[sidebar] == 'collapsed_yes'}-->{lang sidebar_collapsed_yes}<!--{else}-->{lang sidebar_collapsed_no}<!--{/if}--></a> <!--{elseif $infosidestatus[allow] == 1}--> <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['', '{lang sidebar_collapsed_no}']);" class="collapsed_yes">{lang sidebar_collapsed_yes}</a> <!--{/if}--> <div class="main"><div class="content"> $pluginhooks[index_header] {subtemplate index_header} <!--{if $indexhot['status']}--> {subtemplate index_heats} <!--{/if}--> $pluginhooks[index_hot] <div class="itemtitle s_clear"> <p class="right forumcount"> {lang index_today}: <em>$todayposts</em>, {lang index_yesterday}: <em>$postdata[0]</em>, {lang index_members}: <em>$totalmembers</em> </p> {subtemplate index_navbar} </div> $pluginhooks[index_top] <div id="feed" class="feed"> <ul> <!--{loop $feeds $value}--> <!--{if $value[daterange]}--> </ul><h3> <!--{if $value[daterange] == $day1}-->{lang pm_today} <!--{elseif $value[daterange] == $day2}-->{lang pm_yesterday} <!--{elseif $value[daterange] == $day3}-->{lang pm_before_yesterday} <!--{else}-->$value[daterange]<!--{/if}--> </h3><ul> <!--{/if}--> <li class="s_clear"> <div class="f_icon"> <img src="{if empty($type)}$value[icon]{else}$value[icon_image]{/if}" class="apptype" /> $value[title] <!--{if $value[image]}--> <div class="f_thumb"> <!--{loop $value[image] $image}-->$image<!--{/loop}--> </div> <!--{/if}--> <!--{if $value[general]}--> <fieldset><ins>$value[general]</ins></fieldset> <!--{/if}--> <!--{if $value[body]}--><div class="summary">$value[body]</div><!--{/if}--> </div> </li> <!--{/loop}--> </ul> </div> <!--{if !empty($view)}--> <div class="s_clear">$multi</div> <!--{else}--> <div class="pages s_clear"> <a class="next" href="{if empty($type)}$indexname?view=all&op=feeds{else}userapp.php{/if}">{lang feeds_show_all}</a> </div> <!--{/if}--> $pluginhooks[index_bottom] </div></div> <!--{if $infosidestatus[allow] == 2}--> <div id="sidebar" class="side" style="$collapse[sidebar]"> <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 1)}--> <div id="qihoosearch" class="sidebox"> <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 1)}--> <form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';"> <input type="hidden" name="searchsubmit" value="yes" /> <input type="text" class="txt" name="srchtxt" value="$qihoo_searchboxtxt" size="20" /> <select name="stype"> <option value="" selected="selected">{lang qihoo_search_filltext}</option> <option value="1">{lang qihoo_search_title}</option> <option value="2">{lang qihoo_search_author}</option> </select> &nbsp;<button name="searchsubmit" type="submit" value="true">{lang search}</button> </form> <!--{if !empty($qihoo['links']['keywords'])}--> <strong>{lang qihoo_hot_searches}</strong> <!--{loop $qihoo['links']['keywords'] $link}--> $link&nbsp; <!--{/loop}--> <!--{/if}--> <!--{if $customtopics}--> <strong>{lang qihoo_custom_topics}</strong>&nbsp;&nbsp;$customtopics [<a href="javascript:;" onclick="showWindow('customtopics', 'misc.php?action=customtopics')">{lang edit}</a>]<br /> <!--{/if}--> <!--{if !empty($qihoo['links']['topics'])}--> <strong>{lang qihoo_topics}</strong>&nbsp; <!--{loop $qihoo['links']['topics'] $url}--> {$url} &nbsp; <!--{/loop}--> <!--{/if}--> <!--{/if}--> </div> <!--{/if}--> <!--{if $infosidestatus[2]}--> <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 1)}--> <hr class="shadowline"/> <!--{/if}--> <div id="infoside"> <!--{if empty($gid)}--> {eval request($infosidestatus, 0, 2);} <!--{else}--> {eval request($infosidestatus, 1, 2);} <!--{/if}--> </div> <!--{/if}--> </div> <!--{/if}--> {subtemplate footer}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/discuz_feeds.htm
HTML
asf20
4,637
<table cellspacing="0" cellpadding="0" summary="{lang my_polls}" class="datatable"> <thead class="colplural"> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th>{lang thread}</th> <td class="forum">{lang forum}</td> <td class="nums"> <select onchange="window.location='my.php?item=polls&filter=' + this.value + '$fidadd'"> <option value="">{lang status}</option> <option value="recyclebin"<!--{if $filter == 'recyclebin'}--> selected="selected"<!--{/if}-->>{lang forum_recyclebin}</option> <option value="aduit"<!--{if $filter == 'aduit'}--> selected="selected"<!--{/if}-->>{lang my_threads_aduit}</option> <option value="close"<!--{if $filter == 'close'}--> selected="selected"<!--{/if}-->>{lang my_threads_close}</option> <option value="common"<!--{if $filter == 'common'}--> selected="selected"<!--{/if}-->>{lang my_threads_common}</option> </option> </td> <td class="lastpost"><cite>{lang dateline}</cite></td> </tr> </thead> <!--{if $polllist}--> <tbody> <!--{loop $polllist $key $poll}--> <tr> <td class="folder"> <a href="viewthread.php?tid=$poll[tid]" target="_blank"> <!--{if $poll[folder] == 'lock'}--> <img src="{IMGDIR}/folder_lock.gif" /></a> <!--{else}--> <img src="{IMGDIR}/folder_$poll[folder].gif" /></a> <!--{/if}--> </td> <td class="icon"> <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" /> </td> <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'}-->{lang forum_recyclebin}<!--{elseif $poll[displayorder] == '-2'}-->{lang my_threads_aduit}<!--{elseif $poll[closed] == '1'}-->{lang my_threads_close}<!--{else}-->{lang my_threads_common}<!--{/if}--></td> <td class="lastpost"> <!--{if $type == 'poll'}--> <cite><!--{if $poll['lastposter']}--><a href="space.php?username=$poll[lastposterenc]" target="_blank">$poll[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite> <em><a href="redirect.php?tid=$poll[tid]&goto=lastpost#lastpost" target="_blank">$poll[lastpost]</a></em> <!--{else}--> <cite>$poll[dateline]</cite> <!--{/if}--> </td> </tr> <!--{/loop}--> </tbody> <!--{else}--> <tr> <td class="folder">&nbsp;</td> <td class="icon">&nbsp;</td> <th colspan="4"><p class="nodata">{lang data_nonexistence}</p></th> </tr> <!--{/if}--> </table> <!--{if !empty($multipage)}--><div class="pages_btns">$multipage</div><!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/bbs/templates/default/my_polls.htm
HTML
asf20
2,689
#header .wrap { padding: 0; height: 244px; background: url({STYLEIMGDIR}/header.gif) no-repeat 0 100%; } #header h2 { width: 630px; height: 230px; background: url({STYLEIMGDIR}/xmas.gif) no-repeat 100% 100%; } #ad_headerbanner { position: absolute; right: 0; top: 35px; } #umenu { top: 5px; padding-right: 10px; background: url({STYLEIMGDIR}/umenu.gif) no-repeat 100% 0; line-height: 30px; } #umenu a.noborder { float: left; margin-left: -10px; padding-left: 10px; display: inline; background: url({STYLEIMGDIR}/umenu.gif) no-repeat 0 -30px; } * html #umenu a.noborder { margin-left: 0; background-position: 0 100%; } #umenu a { margin: 0 2px; } #umenu .pipe { margin: 0 2px; color: #FAABA4; } #menu { right: 15px; bottom: 4px; padding-right: 11px; height: 36px; background: #DC4F57 url({STYLEIMGDIR}/menu.gif) no-repeat 100% -36px; } #menu li { margin: 0; padding-left: 1px; background: url({STYLEIMGDIR}/menu.gif) no-repeat 0 -72px; } #menu a { height: 36px; border: none; line-height: 36px; } #menu li a:hover, #menu li.current a { height: 36px; background-color: transparent; color: #A11A18; } #menu a#mn_index { margin-left: -1px; padding-left: 25px; background: url({STYLEIMGDIR}/menu.gif) no-repeat 0 0; } #style_switch { bottom: -22px; right: 15px; } #nav { height: 31px; background: url({STYLEIMGDIR}/nav.gif) no-repeat 0 0; line-height: 31px; text-indent: 40px; } .shadowline { border-top-color: #F7C2C2; } #wrap, #ad_text { w\idth: 960px; border: solid #DC4F57; border-width: 0 4px; } #ad_text { margin-bottom: 0; background: #FFF; } #wrap { border-bottom-width: 4px; } .content { background: url({STYLEIMGDIR}/content_snow.gif) repeat-x 0 0; } .side { background: url({STYLEIMGDIR}/side_snow.gif) no-repeat 0 -31px; } .special .side { background: url({STYLEIMGDIR}/content_snow.gif) repeat-x 0 0; } #sidebar_img.collapsed_no { margin: 0; padding: 6px 30px 6px 0; width: 180px; w\idth: 150px; background: url({STYLEIMGDIR}/side_snow.gif) no-repeat 0 0; text-align: right; } #sidebar_img.collapsed_no:hover { background-position: 0 0 !important; } .list { border-top-width: 1px; } .list h3 { border-top: 1px solid {WRAPBG}; background: {SPECIALBG}; } .list th { background-image: url({STYLEIMGDIR}/forum.gif); } .list th.new { background-image: url({STYLEIMGDIR}/forum_new.gif); } .postbtn, .replybtn { background-image: url({STYLEIMGDIR}/post.gif) !important; } .replybtn { background-position: 0 -30px !important; } #rightinfo { padding-left: 45px; background: url({STYLEIMGDIR}/footer.gif) no-repeat 0 50%; }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/xmas/css_append.htm
HTML
asf20
2,595
html { background: #55616A url({STYLEIMGDIR}/wrapbg.gif) repeat 0 270px; } #header, #header .wrap { padding: 0; height: 99px; } #header h2, #ad_headerbanner { margin-top:24px; } #footer, #footer a { color: #D0D5D8; } #menu { bottom: 2px; } #menu li { padding-left: 5px; background: #957353 url({STYLEIMGDIR}/menu.gif) no-repeat 0 0; } #menu li a { padding-left: 9px; border: none; background: #55616A url({STYLEIMGDIR}/menu.gif) no-repeat 100% 0; } #menu li.current { background-position: 0 -25px; } #menu li.current a { background-position: 100% -25px; color: #FFF; } #menu li a.dropmenu { background: #55616A url({STYLEIMGDIR}/menu.gif) no-repeat 100% -50px; } #menu li.current a.dropmenu { background: #55616A url({STYLEIMGDIR}/menu.gif) no-repeat 100% -100px; } #menu li a:hover { color: #D0D5D8; } #nav { background-image: url({STYLEIMGDIR}/nav.gif); text-indent: 30px; } #wrap { background: #DAD6C5 url({STYLEIMGDIR}/content.jpg) repeat-y 0 0; } #wrap.with_side { background-position: 100% 0; } .list, .mainbox .adcontent, .mainbox table .threadad td.postauthor, .colplural, .colplural th, .colplural td { background: url({STYLEIMGDIR}/title.gif) repeat-x 0 0; } .list th { background-image: url({STYLEIMGDIR}/forum.gif); } .list th.new { background-image: url({STYLEIMGDIR}/forum_new.gif); } .shadowline { border-top-color: #C1B79E; border-bottom-color: #DAD6C5; } .mainbox table td.postauthor, .forumcontrol table .modaction { background: #DAD6C5 url({STYLEIMGDIR}/author.jpg) repeat-y 100% 0; } .forumcontrol table { background: transparent !important; } .forumcontrol table.narrow td { padding-top: 10px; } .signatures { background-image: url({STYLEIMGDIR}/sign.gif) !important; } .content { background: none!important; } .blockcode { border: none !important; background: transparent url({STYLEIMGDIR}/code.jpg) repeat-y 5px 0 !important; } .blockcode ol li:hover { background: transparent !important; } .quote { background: #C7C3B1 url({STYLEIMGDIR}/quote1.gif) no-repeat 10px 6px !important; } .quote blockquote { background: url({STYLEIMGDIR}/quote2.gif) no-repeat 100% 100% !important; }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/jeans/css_append.htm
HTML
asf20
2,124
[CURSCRIPT = index,forumdisplay,viewthread] .postbtn, .replybtn { width: 62px; height: 32px; background-image: url({STYLEIMGDIR}/post.gif); line-height: 32px; } .replybtn { background-image: url({STYLEIMGDIR}/reply.gif); } .replybtn a { color: #5F2F2C; } [/CURSCRIPT]
zyyhong
trunk/jiaju001/newbbs/bbs/templates/jeans/css_script_append.htm
HTML
asf20
274
html { background: #FFB94C url({STYLEIMGDIR}/background.jpg) repeat-x 0 0; } #header { margin-bottom: 0; height: 107px; } #header .wrap { padding: 0; height: 107px; } #ad_headerbanner { margin: 25px 0px 10px; } #menu, #menu a, #menu li.current a { height: 29px; font-weight: 700; } #menu li { background: {MENUBGCOLOR} url({STYLEIMGDIR}/menu.jpg) no-repeat 50% 0; } #menu li.current { background-color: {MENUHOVER}; background-position: 50% -60px; } #menu a { border-top: 0; line-height: 32px; overflow: hidden; } #menu li.current a { border: none; background-color: transparent; } #menu a:hover { background: transparent url({STYLEIMGDIR}/menu.jpg) no-repeat 50% -30px; color: {MENUTEXT}; } #menu li.current a:hover { background: transparent none; color: {MENUHOVERTEXT}; } #nav { margin: 0 auto; background-image: url({STYLEIMGDIR}/nav.gif); } #nav, #nav a { color: #FFCE00; } .postbtn, .replybtn { width: 62px !important; background: transparent url({STYLEIMGDIR}/post.gif) no-repeat 0 0 !important; } .replybtn { background-position: 0 -30px !important; } .postbtn a, .replybtn a { text-indent: -9999px; } .list { border-top: none; } .content .list h3 { padding-left: 10px; background: #FFF3E3 url({STYLEIMGDIR}/tablehead.gif) no-repeat -2px 0; color: #FFF; line-height: 31px; } .content .list h3 a { color: #FFF; } .shadowline { border-top-color: #FFE7B1; border-bottom-color: #FFFAEC; } .itemfilter .current a, .itemfilter .current span { background-image: none !important; } .itemfilter .current span { color: #C00 !important; text-decoration: underline; }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/2009/css_append.htm
HTML
asf20
1,595
.shadowline { border-top-color: #DDD; } .sidebox h4 {color: #066;}
zyyhong
trunk/jiaju001/newbbs/bbs/templates/colors/css_append.htm
HTML
asf20
66
html { background: #C1A57D url({STYLEIMGDIR}/htmlbg.gif); } #header { margin-bottom: 0; } #header .wrap { padding: 0; height: 128px; } #menu { right: 20px; height: 30px; } #menu li { height: 30px; background: #F8F8F5 url({STYLEIMGDIR}/menu.gif) no-repeat 0 0; opacity: 0.95; filter: alpha(opacity=95); } #menu a { border: none; height: 30px; background: url({STYLEIMGDIR}/menu.gif) no-repeat 100% -40px !important; line-height: 35px; } #menu a.dropmenu { background-position: 100% -80px !important; } #menu li.current { opacity: 1; filter: alpha(opacity=100); } #menu li.current a { color: #099; font-weight: 700; } #style_switch { padding: 14px 15px 0 0; background: url({STYLEIMGDIR}/corner_t_r.gif) no-repeat 100% 0; } #nav { margin: 0 auto; border-bottom: 1px solid #E8ECE6; background: #F8F8F5 url({STYLEIMGDIR}/icon_nav.gif) no-repeat 0 0; text-indent: 45px; } .shadowline { border-top-color: #D2DACE; } .list th { background-image: url({STYLEIMGDIR}/forum.gif); } .list th.new { background-image: url({STYLEIMGDIR}/forum_new.gif); } .postbtn { background-image:url({STYLEIMGDIR}/post.gif) !important; } .replybtn { background-image:url({STYLEIMGDIR}/reply.gif) !important; } #footer { padding: 0 0 55px 0; background: url({STYLEIMGDIR}/footer.gif) no-repeat 50% 100%; } #footer .wrap { background: #FFF; } #rightinfo { padding: 10px 15px; background: url({STYLEIMGDIR}/corner_b_l.gif) no-repeat 0 100%; } #footlink { padding: 10px 15px; background: url({STYLEIMGDIR}/corner_b_r.gif) no-repeat 100% 100%; } #ad_headerbanner { margin-top: 25px; } .ad_footerbanner { width: {WRAPWIDTH}; background: {WRAPBG}; } .ad_text, .ad_footerbanner { margin: 0 auto; } #wrap, .ad_text { border-bottom: 1px solid #E8ECE6; }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/greenwall/css_append.htm
HTML
asf20
1,736
html { background: #E6A267 url({STYLEIMGDIR}/bg.jpg) repeat-x 0 0; } #header .wrap { padding: 30px 0; } #menu { bottom: -1px; } #menu a { border: none; } #menu a:hover { background-color: transparent; } #menu li.current a { *height: 25px; border: solid {HEADERBORDERCOLOR}; border-width: 0 1px; background: {MENUHOVER} url({STYLEIMGDIR}/menu.gif) repeat-x 0 0; overflow: hidden; } #nav { margin-top: -9px; padding-left: 10px; w\idth: 950px; background: url({STYLEIMGDIR}/nav.jpg) no-repeat 0 100%; line-height: 36px; text-indent: 0; } #nav, #nav a { color: #FFBAD5; } #nav:before { z-index: 999; content: " "; display: block; margin: -44px -35px -37px -45px; width: 70px; height: 73px; background: transparent url({STYLEIMGDIR}/star.png) no-repeat 0 0; } #style_switch { right: 10px; } .shadowline { border-top-color: #F1E4D6; border-bottom-color: #FFF; } .side .shadowline { border-top-color: #60001B; border-bottom-color: #78132D; } .list { border-top: none; margin-bottom: 20px; } .list td, .list th { border-top-style: solid; } .list h3 { font-size: 1.17em; color: #CA1848; } .side , side a, .side .textinfolist li a { color: #FFDCEB; } .sidebox h4, .sidebox h4 a { color: #F59C65; } .ad_text { margin-bottom: 0; background: #21060D; } .ad_footerbanner { margin: 0 auto; } .headermenu_popup li, .postmenu a, #visitedforums_menu a { border-bottom-color: #60001B; color: {HIGHLIGHTLINK}; } .headermenu_popup a { color: {HIGHLIGHTLINK}; } #footer { padding-top: 0; } #footer .wrap { background: #120406 url({STYLEIMGDIR}/footer.gif) repeat-y 0 0; } #rightinfo, #footlink { padding: 10px; height: 60px; he\ight: 40px; } #rightinfo { background: url({STYLEIMGDIR}/footer-c-b-l.gif) no-repeat 0 100%; } #footlink { background: url({STYLEIMGDIR}/footer-c-b-r.gif) no-repeat 100% 100%; }
zyyhong
trunk/jiaju001/newbbs/bbs/templates/fashion/css_append.htm
HTML
asf20
1,797
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: leftmenu.php 20368 2009-09-25 00:34:58Z monkey $ */ define('NOROBOT', TRUE); require_once './include/common.inc.php'; require_once DISCUZ_ROOT.'./include/forum.func.php'; $forumlist = $collapse = $gid = array(); $newthreads = round(($timestamp - $lastvisit + 600) / 1000) * 1000; $sql = !empty($accessmasks) ? "SELECT f.fid, f.fup, f.type, f.name, ff.viewperm, a.allowview FROM {$tablepre}forums f LEFT JOIN {$tablepre}forumfields ff ON ff.fid=f.fid LEFT JOIN {$tablepre}access a ON a.uid='$discuz_uid' AND a.fid=f.fid WHERE f.status='1' ORDER BY f.type, f.displayorder" : "SELECT f.fid, f.fup, f.type, f.name, ff.viewperm FROM {$tablepre}forums f LEFT JOIN {$tablepre}forumfields ff USING(fid) WHERE f.status='1' ORDER BY f.type, f.displayorder"; $query = $db->query($sql); $forumdata = $forumlist = $haschild = array(); while($forumdata = $db->fetch_array($query)) { if(!$forumdata['viewperm'] || ($forumdata['viewperm'] && forumperm($forumdata['viewperm'])) || !empty($forumdata['allowview'])) { $forumdata['name'] = addslashes($forumdata['name']); $forumdata['type'] != 'group' && $haschild[$forumdata['fup']] = true; $forumlist[] = $forumdata; } } $query = $db->query("SELECT COUNT(*) FROM {$tablepre}sessions"); $onlinenum = $db->result($query , 0); include template('leftmenu'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/leftmenu.php
PHP
asf20
1,464
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: invite.php 18639 2009-07-08 01:07:40Z monkey $ */ $s = ''; foreach($_GET as $k => $v) { $s .= '&'.$k.'='.rawurlencode($v); } header('location: ../userapp.php?script=invite'.$s); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/invite.php
PHP
asf20
311
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: index.php 18643 2009-07-08 02:32:07Z monkey $ */ header('location: ../userapp.php'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/index.php
PHP
asf20
211
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: userapp.php 18639 2009-07-08 01:07:40Z monkey $ */ $s = ''; foreach($_GET as $k => $v) { $s .= '&'.$k.'='.rawurlencode($v); } header('location: ../userapp.php?script=user'.$s); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/userapp.php
PHP
asf20
310
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: space.php 18639 2009-07-08 01:07:40Z monkey $ */ if(!empty($_GET['uid'])) { header('location: ../space.php?uid='.intval($_GET['uid'])); } elseif(!empty($_GET['username'])) { header('location: ../space.php?uid='.rawurlencode($_GET['username'])); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/space.php
PHP
asf20
379
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Site.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Site extends MyBase { function getUpdatedUsers($num) { $logfile = DISCUZ_ROOT.'./forumdata/logs/manyou_user.log'; $totalNum = 0; $result = array(); if(file_exists($logfile) && @rename($logfile, $logfile.'.bak')) { $data = file($logfile.'.bak'); $totalNum = count($data); if($num < $totalNum) { $ldata = array_slice($data, $num); $data = array_slice($data, 0, $num); $newdata = @file($logfile); $writedata = is_array($newdata) ? array_merge($ldata, $newdata) : $ldata; if($fp = @fopen($logfile, 'w')) { @flock($fp, 2); foreach($writedata as $row) { fwrite($fp, trim($row)."\n"); } fclose($fp); } } @unlink($logfile.'.bak'); if($data) { $dataary = $uIds = array(); foreach($data as $row) { list(,, $uid, $action) = explode("\t", $row); $uIds[] = $uid; $dataary[] = array($uid, $action); } $sql = 'SELECT m.*, mf.* FROM %s m LEFT JOIN %s mf ON m.uid = mf.uid WHERE m.uid IN (%s)'; $sql = sprintf($sql, $GLOBALS['tablepre'].'members', $GLOBALS['tablepre'].'memberfields', implodeids(array_unique($uIds))); $query = $GLOBALS['db']->query($sql); $users = array(); while($member = $GLOBALS['db']->fetch_array($query)) { $user = $this->_space2user($member); $users[$user['uId']] = $user; } foreach($dataary as $row) { $users[$row[0]]['action'] = trim($row[1]); $result[] = $users[$row[0]]; } } } $result = array( 'totalNum' => count($data), 'users' => $result ); return new APIResponse($result); } function getUpdatedFriends($num) { $logfile = DISCUZ_ROOT.'./forumdata/logs/manyou_friend.log'; $totalNum = 0; $result = array(); if(file_exists($logfile) && @rename($logfile, $logfile.'.bak')) { $data = file($logfile.'.bak'); $totalNum = count($data); if($num < $totalNum) { $ldata = array_slice($data, $num); $data = array_slice($data, 0, $num); $newdata = @file($logfile); $writedata = is_array($newdata) ? array_merge($ldata, $newdata) : $ldata; if($fp = @fopen($logfile, 'w')) { @flock($fp, 2); foreach($writedata as $row) { fwrite($fp, trim($row)."\n"); } fclose($fp); } } @unlink($logfile.'.bak'); if($data) { foreach($data as $row) { list(,, $uid, $action, $fuid) = explode("\t", $row); $result[] = array('uId' => $uid, 'uId2' => $fuid, 'action' => $action); } } } $result = array( 'totalNum' => $totalNum, 'friends' => $result ); return new APIResponse($result); } function getAllUsers($from, $num, $friendNum = DEFAULT_FRIENDNUM) { $totalNum = $GLOBALS['db']->result_first("SELECT COUNT(*) FROM ".$GLOBALS['tablepre']."members"); $sql = 'SELECT m.*, mf.* FROM %s m LEFT JOIN %s mf ON m.uid = mf.uid ORDER BY m.uid LIMIT %d, %d'; $sql = sprintf($sql, $GLOBALS['tablepre'].'members', $GLOBALS['tablepre'].'memberfields', $from, $num); $query = $GLOBALS['db']->query($sql); $users = array(); while($member = $GLOBALS['db']->fetch_array($query)) { $user = $this->_space2user($member); $user['friends'] = $this->_getFriends($member['uid'], $friendNum); $user['action'] = 'add'; $users[] = $user; } $result = array( 'totalNum' => $totalNum, 'users' => $users ); return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Site.php
PHP
asf20
3,679
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Profile.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Profile { function setMYML($uId, $appId, $markup, $actionMarkup) { $fields = array( 'myml' => $markup, 'profileLink' => $actionMarkup ); $where = array( 'uid' => $uId, 'appid' => $appId ); updatetable('userapp', $fields, $where); $result = $GLOBALS['db']->affected_rows(); return new APIResponse($result); } function setActionLink($uId, $appId, $actionMarkup) { $fields = array( 'profilelink' => $actionMarkup ); $where = array( 'uid' => $uId, 'appid' => $appId ); updatetable('userapp', $fields, $where); $result = $GLOBALS['db']->affected_rows(); return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Profile.php
PHP
asf20
913
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: MiniBlog.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class MiniBlog { function post($uId, $message, $clientIdentify, $ip = '') { return new APIResponse(0); } function get($uId, $num) { return new APIResponse(0); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/MiniBlog.php
PHP
asf20
421
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Photo.php 21053 2009-11-09 10:29:02Z wangjinbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Photo extends MyBase { function createAlbum($uId, $name, $privacy, $passwd = null, $friendIds = null) { return new APIResponse(0); } function updateAlbum($uId, $aId, $name = null, $privacy = null, $passwd = null, $friendIds = null, $coverId = null) { return new APIResponse(0); } function removeAlbum($uId, $aId, $action = null , $targetAlbumId = null) { return new APIResponse(0); } function getAlbums($uId) { return new APIResponse(0); } function upload($uId, $aId, $fileName, $fileType, $fileSize, $data, $caption = null) { $result = array(); return new APIResponse($result); } function get($uId, $aId, $pIds = null) { $result = array(); return new APIResponse($result); } function update($uId, $pId, $aId, $fileName = null, $fileType = null, $fileSize = null, $caption = null, $data = null) { $result = array(); return new APIResponse($result); } function remove($uId, $pIds) { $result = array(); return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Photo.php
PHP
asf20
1,268
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: APIErrorResponse.php 21053 2009-11-09 10:29:02Z wangjinbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class APIErrorResponse { var $errCode = 0; var $errMessage = ''; function APIErrorResponse($errCode, $errMessage) { $this->errCode = $errCode; $this->errMessage = $errMessage; } function getErrCode() { return $this->errCode; } function getErrMessage() { return $this->errMessage; } function getResult() { return null; } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/APIErrorResponse.php
PHP
asf20
619
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Request.php 19508 2009-09-03 05:54:22Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Request extends MyBase { function send($uId, $recipientIds, $appId, $requestName, $myml, $type) { $now = time(); $result = array(); $type = ($type == 'request') ? 1 : 0; $fields = array( 'typename' => $requestName, 'appid' => $appId, 'type' => $type, 'fromuid' => $uId, 'dateline' => $now ); foreach($recipientIds as $key => $val) { $hash = crc32($appId.$val.$now.rand(0, 1000)); $hash = sprintf('%u', $hash); $fields['touid'] = intval($val); $fields['hash'] = $hash; $fields['myml'] = str_replace('{{MyReqHash}}', $hash, $myml); $result[] = inserttable('myinvite', $fields, 1); $number = $GLOBALS['db']->result_first('SELECT count(*) FROM '.$GLOBALS['tablepre'].'myinvite WHERE touid=\''.$fields['touid'].'\''); updateprompt('myinvite', $fields['touid'], $number); } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Request.php
PHP
asf20
1,134
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Notifications.php 19508 2009-09-03 05:54:22Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Notifications extends MyBase { function get($uId) { $notify = $result = array(); $result = array( 'message' => array( 'unread' => 0, 'mostRecent' => 0 ), 'notification' => array( 'unread' => 0 , 'mostRecent' => 0 ), 'friendRequest' => array( 'uIds' => array() ) ); $query = $GLOBALS['db']->query("SELECT * FROM ".$GLOBALS['tablepre']."notification WHERE uid='$uId' AND new='1' ORDER BY id DESC"); $i = 0; while($value = $GLOBALS['db']->fetch_array($query)) { $i++; if(!$result['notification']['mostRecent']) $result['notification']['mostRecent'] = $value['dateline']; } $result['notification']['unread'] = $i; $pmarr = uc_pm_list($uId, 1, 1, 'newbox', 'newpm'); if($pmarr['count']) { $result['message']['unread'] = $pmarr['count']; $result['message']['mostRecent'] = $pmarr['data'][0]['dateline']; } return new APIResponse($result); } function send($uId, $recipientIds, $appId, $notification) { $result = array(); foreach($recipientIds as $recipientId) { $val = intval($recipientId); $result[$val] = notification_add($val, $appId, $notification, 1); $number = $GLOBALS['db']->result_first('SELECT count(*) FROM '.$GLOBALS['tablepre'].'mynotice WHERE uid=\''.$val.'\' AND new=\'1\''); updateprompt('mynotice', $val, $number); } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Notifications.php
PHP
asf20
1,668
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: MyBase.php 21053 2009-11-09 10:29:02Z wangjinbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class MyBase { function getUserSpace($uId) { return getUserSpace($uId); } function _isfounder($user) { $founders = str_replace(' ', '', $GLOBALS['forumfounders']); if($user['adminid'] <> 1) { return FALSE; } elseif(empty($founders)) { return TRUE; } elseif(strexists(",$founders,", ",$user[uid],")) { return TRUE; } elseif(!is_numeric($user['username']) && strexists(",$founders,", ",$user[username],")) { return TRUE; } else { return FALSE; } } function _space2user($member) { $adminLevel = 'none'; if($this->_isfounder($member)) { $adminLevel = 'founder'; } elseif($member['adminid'] == 1) { $adminLevel = 'manager'; } $user = array( 'uId' => $member['uid'], 'handle' => $member['username'], 'action' => $member['action'], 'realName' => $member['name'], 'realNameChecked' => $member['namestatus'] ? true : false, 'spaceName' => $member['spacename'], 'gender' => $member['sex'] == 1 ? 'male' : ($member['sex'] == 2 ? 'female' : 'unknown'), 'email' => $member['email'], 'qq' => $member['qq'], 'msn' => $member['msn'], 'birthday' => $member['bday'], 'bloodType' => empty($member['blood']) ? 'unknown' : $member['blood'], 'relationshipStatus' => $member['marry'] == 1 ? 'single' : ($member['marry'] == 2 ? 'notSingle' : 'unknown'), 'birthProvince' => $member['birthprovince'], 'birthCity' => $member['birthcity'], 'resideProvince' => $member['resideprovince'], 'resideCity' => $member['residecity'], 'viewNum' => 0, 'friendNum' => uc_friend_totalnum($member['uid'], 3), 'myStatus' => $member['bio'], 'lastActivity' => $member['lastactivity'], 'created' => $member['regdate'], 'credit' => $member['credits'], 'isUploadAvatar' => $member['avatar'] ? true : false, 'adminLevel' => $adminLevel, 'homepagePrivacy' => 'public', 'profilePrivacy' => 'public', 'friendListPrivacy' => 'public', ); return $user; } function _getFriends($uId, $num = DEFAULT_FRIENDNUM) { $friends = array(); $ucresult = uc_friend_ls($uId, 1, $num, $num, 3); foreach($ucresult as $friend) { $friends[] = $friend['friendid']; } return $friends; } function refreshApplication($appId, $appName, $version, $displayMethod, $narrow, $flag, $displayOrder) { $fields = array(); if($appName !== null && strlen($appName)>1) { $fields['appname'] = $appName; } if($version !== null) { $fields['version'] = $version; } if($displayMethod !== null) { // todo: remove $fields['displaymethod'] = $displayMethod; } if($narrow !== null) { $fields['narrow'] = $narrow; } if($flag !== null) { $fields['flag'] = $flag; } if($displayOrder !== null) { $fields['displayorder'] = $displayOrder; } $sql = sprintf('SELECT * FROM %s WHERE appid=\'%d\'', $GLOBALS['tablepre'].'myapp', $appId); $query = $GLOBALS['db']->query($sql); if($application = $GLOBALS['db']->fetch_array($query)) { $where = sprintf('appid = %d', $appId); updatetable('myapp', $fields, $where); } else { $fields['appid'] = $appId; $result = inserttable('myapp', $fields, 1); } $myapps = array(); $sql = sprintf('SELECT * FROM %s WHERE flag=\'1\' ORDER BY displayorder', $GLOBALS['tablepre'].'myapp'); $query = $GLOBALS['db']->query($sql); while($application = $GLOBALS['db']->fetch_array($query)) { $myapps[$application['appid']] = $application; } require_once DISCUZ_ROOT.'./include/cache.func.php'; writetocache('manyou', '', getcachevars(array('myapps' => $myapps))); } } class my{ function parseRequest() { global $_DCACHE; $request = $_POST; $module = $request['module']; $method = $request['method']; $errCode = 0; $errMessage = ''; if($_DCACHE['settings']['bbclosed']) { $errCode = 2; $errMessage = 'Site Closed'; } elseif(!$_DCACHE['settings']['my_status']) { $errCode = 2; $errMessage = 'Manyou Service Disabled'; } elseif(!$_DCACHE['settings']['my_sitekey']) { $errCode = 12; $errMessage = 'My SiteKey NOT Exists'; } elseif(empty($module) || empty($method)) { $errCode = '3'; $errMessage = 'Invalid Method: ' . $moudle . '.' . $method; } if(get_magic_quotes_gpc()) { $request['params'] = sstripslashes($request['params']); } $mySign = $module.'|'.$method.'|'.$request['params'].'|'.$_DCACHE['settings']['my_sitekey']; $mySign = md5($mySign); if($mySign != $request['sign']) { $errCode = '10'; $errMessage = 'Error Sign'; } if($errCode) { return new APIErrorResponse($errCode, $errMessage); } $params = unserialize($request['params']); $params = $this->myAddslashes($params); if($module == 'Batch' && $method == 'run') { $response = array(); foreach($params as $param) { $response[] = $this->callback($param['module'], $param['method'], $param['params']); } return new APIResponse($response, 'Batch'); } return $this->callback($module, $method, $params); } function callback($module, $method, $params) { if(isset($params['uId'])) { $member = getUserSpace($params['uId']); if($this->_needCheckUserId($module, $method)) { if(!$member['uid']) { $errCode = 1; $errMessage = "User($params[uId]) Not Exists"; return new APIErrorResponse($errCode, $errMessage); } } } $GLOBALS['discuz_uid'] = $member['uid']; $GLOBALS['discuz_user'] = $member['username']; @include_once DISCUZ_ROOT.'./manyou/api/class/'.$module.'.php'; if(!class_exists($module)) { $errCode = 3; $errMessage = "Class($module) Not Exists"; return new APIErrorResponse($errCode, $errMessage); } $class = new $module(); $response = @call_user_func_array(array(&$class, $method), $params); return $response; } function formatResponse($data) { global $_DCACHE; $res = array( 'timezone' => intval($_DCACHE['settings']['timeoffset']), 'version' => X_VER, 'charset' => $GLOBALS['charset'], 'language' => X_LANGUAGE, 'my_version' => X_MYVER, ); if (strtolower(get_class($data)) == 'apiresponse' ) { if (is_array($data->result) && $data->getMode() == 'Batch') { foreach($data->result as $result) { if (strtolower(get_class($result)) == 'apiresponse') { $res['result'][] = $result->getResult(); } else { $res['result'][] = array('errCode' => $result->getErrCode(), 'errMessage' => $result->getErrMessage() ); } } } else { $res['result'] = $data->getResult(); } } else { $res['errCode'] = $data->getErrCode(); $res['errMessage'] = $data->getErrMessage(); } return serialize($res); } function _needCheckUserId($module, $method) { $myMethod = $module.'.'.$method; switch($myMethod) { case 'Notifications.send': case 'Request.send': $res = false; break; default: $res = true; } return $res; } function myAddslashes($string) { if(is_array($string)) { foreach($string as $key => $val) { $string[$key] = $this->myAddslashes($val); } } else { $string = ($string === null) ? null : addslashes($string); } return $string; } } function getUserSpace($uId) { $uId = intval($uId); $query = $GLOBALS['db']->query("SELECT mf.*, m.* FROM ".$GLOBALS['tablepre']."members m LEFT JOIN ".$GLOBALS['tablepre']."memberfields mf ON mf.uid=m.uid WHERE m.uid='$uId'"); $member = $GLOBALS['db']->fetch_array($query); return $member; } function inserttable($tablename, $insertsqlarr, $returnid=0, $replace = false, $silent=0) { $insertkeysql = $insertvaluesql = $comma = ''; foreach ($insertsqlarr as $insert_key => $insert_value) { $insertkeysql .= $comma.'`'.$insert_key.'`'; $insertvaluesql .= $comma.'\''.$insert_value.'\''; $comma = ', '; } $method = $replace?'REPLACE':'INSERT'; $GLOBALS['db']->query($method.' INTO '.$GLOBALS['tablepre'].$tablename.' ('.$insertkeysql.') VALUES ('.$insertvaluesql.')', $silent?'SILENT':''); if($returnid && !$replace) { return $GLOBALS['db']->insert_id(); } } function updatetable($tablename, $setsqlarr, $wheresqlarr, $silent=0) { $setsql = $comma = ''; foreach ($setsqlarr as $set_key => $set_value) { $setsql .= $comma.'`'.$set_key.'`'.'=\''.$set_value.'\''; $comma = ', '; } $where = $comma = ''; if(empty($wheresqlarr)) { $where = '1'; } elseif(is_array($wheresqlarr)) { foreach ($wheresqlarr as $key => $value) { $where .= $comma.'`'.$key.'`'.'=\''.$value.'\''; $comma = ' AND '; } } else { $where = $wheresqlarr; } $GLOBALS['db']->query('UPDATE '.$GLOBALS['tablepre'].$tablename.' SET '.$setsql.' WHERE '.$where, $silent?'SILENT':''); } function sstripslashes($string) { if(is_array($string)) { foreach($string as $key => $val) { $string[$key] = sstripslashes($val); } } else { $string = stripslashes($string); } return $string; } function feed_add($icon, $title_template='', $title_data=array(), $body_template='', $body_data=array(), $body_general='', $images=array(), $image_links=array(), $target_ids='', $friend='', $appid=UC_APPID, $returnid=0) { $arg = array( 'type' => 'manyou', 'appid' => $icon, 'uid' => $GLOBALS['discuz_uid'], 'username' => addslashes($GLOBALS['discuz_user']) ); $image = array(); foreach($images as $k => $v) { if($v) { $image[] = array('src' => $v, 'link' => $image_links[$k]); } } $title_data = is_array($title_data) ? $title_data : array(); $body_data = is_array($body_data) ? $body_data : array(); $title_data['actor'] = '<a href="space.php?uid='.$GLOBALS['discuz_uid'].'">'.$GLOBALS['discuz_user'].'</a>{addbuddy}'; $body_data['actor'] = '<a href="space.php?uid='.$GLOBALS['discuz_uid'].'">'.$GLOBALS['discuz_user'].'</a>{addbuddy}'; $data = array( 'title' => sstripslashes($title_data), 'body' => sstripslashes($body_data), 'image' => $image ); $template = array( 'title' => sstripslashes($title_template), 'body' => sstripslashes($body_template.chr(0).chr(0).chr(0).$body_general) ); add_feed($arg, $data, $template); return 1; } function notification_add($uid, $type, $note, $returnid=0) { $setarr = array( 'uid' => $uid, 'type' => $type, 'new' => 1, 'authorid' => $GLOBALS['discuz_uid'], 'author' => addslashes($GLOBALS['discuz_user']), 'note' => addslashes(sstripslashes($note)), 'dateline' => $GLOBALS['timestamp'] ); //PromptUpdate if($returnid) { return inserttable('mynotice', $setarr, $returnid); } else { inserttable('mynotice', $setarr); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/MyBase.php
PHP
asf20
10,988
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: NewsFeed.php 18778 2009-07-22 01:42:14Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class NewsFeed extends MyBase { function get($uId, $num) { $result = array(); $query = $GLOBALS['db']->query("SELECT * FROM ".$GLOBALS['tablepre']."feeds WHERE type='manyou' AND uid='$uId' ORDER BY dateline DESC LIMIT 0,$num"); while($value = $GLOBALS['db']->fetch_array($query)) { $value['data'] = unserialize($value['data']); $value['template'] = empty($value['template']) ? array() : unserialize($value['template']); $title_template = $value['template']['title']; $body_template = $value['template']['body']; list($body_data, $body_general) = explode(chr(0).chr(0).chr(0), $value['data']['body']); $result[] = array( 'appId' => 0, 'created' => $value['dateline'], 'type' => $value['appid'], 'titleTemplate' => $title_template, 'titleData' => $value['data']['title'], 'bodyTemplate' => $body_template, 'bodyData' => $body_data, 'bodyGeneral' => $body_general, 'image1' => $value['data']['image'][0]['src'], 'image1Link' => $value['data']['image'][0]['link'], 'image2' => $value['data']['image'][1]['src'], 'image2Link' => $value['data']['image'][1]['link'], 'image3' => $value['data']['image'][2]['src'], 'image3Link' => $value['data']['image'][2]['link'], 'image4' => $value['data']['image'][3]['src'], 'image4Link' => $value['data']['image'][3]['link'], 'targetIds' => '', 'privacy' => 'public' ); } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/NewsFeed.php
PHP
asf20
1,721
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: APIResponse.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class APIResponse { var $result; var $mode; function APIResponse($res, $mode = null) { $this->result = $res; $this->mode = $mode; } function getResult() { return $this->result; } function getMode() { return $this->mode; } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/APIResponse.php
PHP
asf20
505
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Users.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Users extends MyBase { function getInfo($uIds, $fields = array()) { $result = array(); $query = $GLOBALS['db']->query("SELECT mf.*, m.* FROM ".$GLOBALS['tablepre']."members m LEFT JOIN ".$GLOBALS['tablepre']."memberfields mf ON mf.uid=m.uid WHERE m.uid IN (".implodeids($uIds).")"); while($space = $GLOBALS['db']->fetch_array($query)) { $user = $this->_space2user($space); $tmp = array(); if($fields) { foreach($fields as $field) { $tmp[$field] = $user[$field]; } } else { $tmp = $user; } $result[] = $tmp; } return new APIResponse($result); } function getFriendInfo($uId, $num = DEFAULT_FRIENDNUM) { $allFriends = $this->_getFriends($uId); $totalNum = count($allFriends); $result = array( 'totalNum' => $totalNum, 'friends' => array(), 'allFriends' => $allFriends ); $num = $num > $totalNum ? $totalNum : $num; if(is_array($allFriends)) { for($i = 0; $i < $num; $i++) { $friendId = $allFriends[$i]; $space = $this->getUserSpace($friendId); $user = $this->_space2user($space); $result['friends'][] = $user; } } return new APIResponse($result); } function getExtraInfo($uIds) { return new APIResponse(0); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Users.php
PHP
asf20
1,504
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Application.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Application extends MyBase { function update($appId, $appName, $version, $displayMethod, $displayOrder = null) { $fields = array('appname' => $appName); $where = array('appid' => $appId); $result = updatetable('userapp', $fields, $where); $displayMethod = ($displayMethod == 'iframe') ? 1 : 0; $this->refreshApplication($appId, $appName, $version, $displayMethod, null, null, $displayOrder); return new APIResponse($result); } function remove($appIds) { $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', $GLOBALS['tablepre'].'userapp', implodeids($appIds)); $result = $GLOBALS['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', $GLOBALS['tablepre'].'myapp', implodeids($appIds)); $GLOBALS['db']->query($sql); return new APIResponse($result); } function setFlag($applications, $flag) { $flag = ($flag == 'disabled') ? -1 : ($flag == 'default' ? 1 : 0); $appIds = array(); if ($applications && is_array($applications)) { foreach($applications as $application) { $this->refreshApplication($application['appId'], $application['appName'], null, null, null, $flag, null); $appIds[] = $application['appId']; } } if ($flag == -1) { $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', $GLOBALS['tablepre'].'myfeed', implodeids($appIds)); $GLOBALS['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', $GLOBALS['tablepre'].'userapp', implodeids($appIds)); $GLOBALS['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', $GLOBALS['tablepre'].'myinvite', implodeids($appIds)); $GLOBALS['db']->query($sql); } $result = true; return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Application.php
PHP
asf20
1,992
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Feed.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Feed extends MyBase { function publishTemplatizedAction($uId, $appId, $titleTemplate, $titleData, $bodyTemplate, $bodyData, $bodyGeneral = '', $image1 = '', $image1Link = '', $image2 = '', $image2Link = '', $image3 = '', $image3Link = '', $image4 = '', $image4Link = '', $targetIds = '', $privacy = '', $hashTemplate = '', $hashData = '') { $friend = ($privacy == 'public') ? 0 : ($privacy == 'friends' ? 1 : 2); $images = array($image1, $image2, $image3, $image4); $image_links = array($image1Link, $image2Link, $image3Link, $image4Link); $result = feed_add($appId, $titleTemplate, $titleData, $bodyTemplate, $bodyData, $bodyGeneral, $images, $image_links, $targetIds, $friend, 0, 1); return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Feed.php
PHP
asf20
994
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Credit.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Credit extends MyBase { function get($uId) { global $_DCACHE; $query = $GLOBALS['db']->query('SELECT extcredits'.$_DCACHE['settings']['my_extcredit'].' AS credit FROM '.$GLOBALS['tablepre'].'members WHERE uid=\''.$uId.'\''); $row = $GLOBALS['db']->fetch_array($query); return new APIResponse($row['credit']); } function update($uId, $credits) { global $_DCACHE; $sql = sprintf('UPDATE %s SET extcredits%s=extcredits%s+(%d) WHERE uid=\'%d\'', $GLOBALS['tablepre'].'members', $_DCACHE['settings']['my_extcredit'], $_DCACHE['settings']['my_extcredit'], $credits, $uId); $GLOBALS['db']->query($sql); $query = $GLOBALS['db']->query('SELECT extcredits'.$_DCACHE['settings']['my_extcredit'].' AS credit FROM '.$GLOBALS['tablepre'].'members WHERE uid=\''.$uId.'\''); $row = $GLOBALS['db']->fetch_array($query); return new APIResponse($row['credit']); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Credit.php
PHP
asf20
1,135
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: UserApplication.php 18764 2009-07-20 09:33:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class UserApplication extends MyBase { function add($uId, $appId, $appName, $privacy, $allowSideNav, $allowFeed, $allowProfileLink, $defaultBoxType, $defaultMYML, $defaultProfileLink, $version, $displayMethod, $displayOrder = null) { $sql = sprintf('SELECT appid FROM %s WHERE uid = %d AND appid = %d', $GLOBALS['tablepre'].'userapp', $uId, $appId); $query = $GLOBALS['db']->query($sql); $row = $GLOBALS['db']->fetch_array($query); if($row['appid']) { $errCode = '170'; $errMessage = 'Application has been already added'; return new APIErrorResponse($errCode, $errMessage); } switch($privacy) { case 'public': $privacy = 0; break; case 'friends': $privacy = 1; break; case 'me': $privacy = 3; break; case 'none': $privacy = 5; break; default: $privacy = 0; } $narrow = ($defaultBoxType == 'narrow') ? 1 : 0; $fields = array( 'appid' => $appId, 'appname' => $appName, 'uid' => $uId, 'privacy' => $privacy, 'allowsidenav' => $allowSideNav, 'allowfeed' => $allowFeed, 'allowprofilelink' => $allowProfileLink, 'narrow' => $narrow, 'profilelink' => $defaultProfileLink, 'myml' => $defaultMYML ); if($displayOrder !== null) { $fields['displayOrder'] = $displayOrder; } $result = inserttable('userapp', $fields, 1); $displayMethod = ($displayMethod == 'iframe') ? 1 : 0; $this->refreshApplication($appId, $appName, $version, $displayMethod, $narrow, null, null); return new APIResponse($result); } function update($uId, $appIds, $appName, $privacy, $allowSideNav, $allowFeed, $allowProfileLink, $version, $displayMethod, $displayOrder = null) { switch($privacy) { case 'public': $privacy = 0; break; case 'friends': $privacy = 1; break; case 'me': $privacy = 3; break; case 'none': $privacy = 5; break; default: $privacy = 0; } $fields = array( 'appname' => $appName, 'privacy' => $privacy, 'allowsidenav' => $allowSideNav, 'allowfeed' => $allowFeed, 'allowprofilelink' => $allowProfileLink ); if($displayOrder !== null) { $fields['displayOrder'] = $displayOrder; } $where = sprintf('uid=\'%d\' AND appid IN (%s)', $uId, implodeids($appIds)); updatetable('userapp', $fields, $where); $result = $GLOBALS['db']->affected_rows(); $displayMethod = ($displayMethod == 'iframe') ? 1 : 0; if(is_array($appIds)) { foreach($appIds as $appId) { $this->refreshApplication($appId, $appName, $version, $displayMethod, null, null, null); } } return new APIResponse($result); } function remove($uId, $appIds) { $sql = sprintf('DELETE FROM %s WHERE uid=\'%d\' AND appid IN (%s)', $GLOBALS['tablepre'].'userapp', $uId, implodeids($appIds)); $res = $GLOBALS['db']->query($sql); $result = $GLOBALS['db']->affected_rows(); return new APIResponse($result); } function getInstalled($uId) { $sql = sprintf('SELECT appid FROM %s WHERE uid=\'%d\'', $GLOBALS['tablepre'].'userapp', $uId); $query = $GLOBALS['db']->query($sql); $result = array(); while($userApp = $GLOBALS['db']->fetch_array($query)) { $result[] = $userApp['appid']; } return new APIResponse($result); } function get($uId, $appIds) { $sql = sprintf('SELECT * FROM %s WHERE uid=\'%d\' AND appid IN (%s)', $GLOBALS['tablepre'].'userapp', $uId, implodeids($appIds)); $query = $GLOBALS['db']->query($sql); $result = array(); while($userApp = $GLOBALS['db']->fetch_array($query)) { switch($userApp['privacy']) { case 0: $privacy = 'public'; break; case 1: $privacy = 'friends'; break; case 3: $privacy = 'me'; break; case 5: $privacy = 'none'; break; default: $privacy = 'public'; } $result[] = array( 'appId' => $userApp['appid'], 'privacy' => $privacy, 'allowSideNav' => $userApp['allowsidenav'], 'allowFeed' => $userApp['allowfeed'], 'allowProfileLink' => $userApp['allowprofilelink'], 'displayOrder' => $userApp['displayorder'] ); } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/UserApplication.php
PHP
asf20
4,483
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: Friends.php 18735 2009-07-14 08:43:18Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Friends extends MyBase { function areFriends($uId1, $uId2) { $num = uc_friend_totalnum($uId1, 3); $friends = uc_friend_ls($uId1, 1, $num, $num, 3); $result = false; foreach($friends as $friend) { if($friend['friendid'] == $uId2) { $result = true; break; } } return new APIResponse($result); } function get($uIds, $friendNum = DEFAULT_FRIENDNUM) { $result = array(); foreach($uIds as $uId) { $friends = uc_friend_ls($uId, 1, $friendNum, $friendNum, 3); foreach($friends as $friend) { $result[$friend['uid']][] = $friend['friendid']; } } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/class/Friends.php
PHP
asf20
896
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: my.php 21156 2009-11-18 00:44:35Z monkey $ */ error_reporting(0); define('IN_DISCUZ', TRUE); define('X_VER', '7.2'); define('X_MYVER', '0.3'); define('X_LANGUAGE', 'zh_CN'); define('DISCUZ_ROOT', substr(dirname(__FILE__), 0, -10)); define('DEFAULT_FRIENDNUM', 2000); $timestamp = time(); $member = array(); include_once DISCUZ_ROOT.'./config.inc.php'; require_once DISCUZ_ROOT.'./include/db_'.$database.'.class.php'; include_once DISCUZ_ROOT.'./forumdata/cache/cache_settings.php'; require_once DISCUZ_ROOT.'./include/global.func.php'; include_once DISCUZ_ROOT.'./manyou/api/class/MyBase.php'; include_once DISCUZ_ROOT.'./manyou/api/class/APIErrorResponse.php'; include_once DISCUZ_ROOT.'./manyou/api/class/APIResponse.php'; include_once DISCUZ_ROOT.'./uc_client/client.php'; $db = new dbstuff; $db->connect($dbhost, $dbuser, $dbpw, $dbname, $pconnect, true, $dbcharset); unset($dbhost, $dbuser, $dbpw, $dbname, $pconnect); $server = new my(); $response = $server->parseRequest(); echo $server->formatResponse($response); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/my.php
PHP
asf20
1,176
<!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=gbk" /> <script language="javascript" type="text/javascript" src="http://static.manyou.com/scripts/my_iframe.js"></script> <script language="javascript"> var channel = new MyXD.Channel(); </script> </head> <body> </body> </html>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/api/channel.htm
HTML
asf20
463
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: profile.func.php 18688 2009-07-10 05:31:27Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function _my_env_get($var) { if($var == 'owner') { return $GLOBALS['member']['uid']; } elseif($var == 'viewer') { return $GLOBALS['discuz_uid']; } elseif($var == 'prefix_url') { return $GLOBALS['boardurl']; } else { return ''; } } function _my_get_friends($uid) { $var = "my_get_friends_$uid"; if(!isset($GLOBALS[$var])) { $GLOBALS[$var] = array(); require_once DISCUZ_ROOT.'./uc_client/client.php'; $friends = uc_friend_ls($uid, 1, 2000, 2000, 3); foreach($friends as $friend) { $GLOBALS[$var][] = $friend['friendid']; } } return $GLOBALS[$var]; } function _my_get_name($uid) { $var = "my_get_name_$uid"; if(!isset($GLOBALS[$var])) { if($uid == $GLOBALS['member']['uid']) { $GLOBALS[$var] = $GLOBALS['member']['username']; } else { global $db, $tablepre; $GLOBALS[$var] = $db->result_first("SELECT username FROM {$tablepre}members WHERE uid='$uid'"); } } return $GLOBALS[$var]; } function _my_get_profilepic($uid, $size = 'small') { return UC_API.'/avatar.php?uid='.$uid.'&size='.$size; } function _my_are_friends($uid1, $uid2) { $var = "my_are_friends_{$uid1}_{$uid2}"; if(!isset($GLOBALS[$var])) { require_once DISCUZ_ROOT.'./uc_client/client.php'; $friends = uc_friend_ls($uid1, 1, 2000, 2000, 3); $result = FALSE; foreach($friends as $friend) { if($friend['friendid'] == $uid2) { $result = TRUE; break; } } $GLOBALS[$var] = $result; } return $GLOBALS[$var]; } function _my_user_is_added_app($uid, $appid) { $var = "my_user_is_added_app_{$uid}_{$appid}"; if(!isset($GLOBALS[$var])) { global $db, $tablepre; $GLOBALS[$var] = FALSE; if($db->result_first("SELECT count(*) FROM {$tablepre}userapp WHERE uid='$uid' AND appid='$appid' LIMIT 1")) { $GLOBALS[$var] = TRUE; } } return $GLOBALS[$var]; } function _my_get_app_url($appid, $suffix) { return $GLOBALS['boardurl']."userapp.php?id=$appid".($suffix ? '&'.$suffix : ''); } function _my_get_app_position($appid) { $var = "my_get_app_position_{$appid}"; if(!isset($GLOBALS[$var])) { global $db, $tablepre; if($db->result_first("SELECT narrow FROM {$tablepre}userapp WHERE appid='$appid' LIMIT 1")) { $GLOBALS[$var] = 'narrow'; } else { $GLOBALS[$var] = 'wide'; } } return $GLOBALS[$var]; } function getmyml($uid) { global $db, $tablepre, $myapps; include_once DISCUZ_ROOT.'./forumdata/cache/cache_manyou.php'; $appids = array_keys($myapps); $my_list = array(); $query = $db->query("SELECT * FROM {$tablepre}userapp WHERE uid='$uid' AND allowprofilelink='1' ORDER BY displayorder DESC"); while($value = $db->fetch_array($query)) { if(in_array($value['appid'], $appids)) { if($value['myml']) { $value['appurl'] = 'userapp.php?id='.$value['appid']; if($value['narrow']) { $my_list['narrow'][] = $value; } else { $my_list['wide'][] = $value; } } if($value['profilelink']) { $my_list['guide'][] = $value; } } } return $my_list; } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/sources/profile.func.php
PHP
asf20
3,303
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: notice.php 20442 2009-09-28 01:17:13Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } include_once DISCUZ_ROOT.'./forumdata/cache/cache_manyou.php'; $invitenum = $db->result_first("SELECT count(*) FROM {$tablepre}myinvite WHERE touid='$discuz_uid'"); $noticenum = $db->result_first("SELECT count(*) FROM {$tablepre}mynotice WHERE uid='$discuz_uid' AND new='1'"); if($option == 'del') { $appid = intval($_GET['appid']); $db->query("DELETE FROM {$tablepre}myinvite WHERE appid='$appid' AND touid='$discuz_uid'"); showmessage('manyou:done', 'userapp.php?script=notice&action=invite'); } elseif($option == 'deluserapp') { $hash = trim($_GET['hash']); if($action == 'invite') { $query = $db->query("SELECT * FROM {$tablepre}myinvite WHERE hash='$hash' AND touid='$discuz_uid'"); if($value = $db->fetch_array($query)) { $db->query("DELETE FROM {$tablepre}myinvite WHERE hash='$hash' AND touid='$discuz_uid'"); showmessage('manyou:done', 'userapp.php?script=notice&action=invite'); } else { showmessage('manyou:noperm'); } } else { $db->query("DELETE FROM {$tablepre}mynotice WHERE id='$hash' AND uid='$discuz_uid'"); showmessage('manyou:done', 'userapp.php?script=notice'); } } if($action == 'invite') { $type = intval($_GET['type']); $typesql = $type ? "AND appid='$type'" : ''; $page = isset($page) ? max(1, intval($page)) : 1; $start_limit = ($page - 1) * $tpp; $count = $db->result_first("SELECT count(*) FROM {$tablepre}myinvite WHERE touid='$discuz_uid' $typesql"); $query = $db->query("SELECT * FROM {$tablepre}myinvite WHERE touid='$discuz_uid' $typesql ORDER BY dateline DESC LIMIT $start_limit,$tpp"); while($value = $db->fetch_array($query)) { $key = md5($value['typename'].$value['type']); $list[$key][] = $value; $appidarr[] = $value['appid']; } updateprompt('myinvite', $discuz_uid, 0); $multi = multi($count, $tpp, $page, "userapp.php?script=notice&action=invite"); } else { $page = isset($page) ? max(1, intval($page)) : 1; $start_limit = ($page - 1) * $tpp; $noticeids = array(); $count = $db->result_first("SELECT count(*) FROM {$tablepre}mynotice WHERE uid='$discuz_uid'"); $query = $db->query("SELECT * FROM {$tablepre}mynotice WHERE uid='$discuz_uid' ORDER BY dateline DESC LIMIT $start_limit,$tpp"); while($value = $db->fetch_array($query)) { $value['dateline'] = dgmdate("$dateformat $timeformat", $value['dateline'] + $timeoffset * 3600); $list[] = $value; $noticeids[] = $value['id']; } if($noticeids) { $db->query("UPDATE {$tablepre}mynotice SET new='0' WHERE id IN (".implodeids($noticeids).")"); updateprompt('mynotice', $discuz_uid, 0); } $multi = multi($count, $tpp, $page, "userapp.php?script=notice"); } include template('manyou_notice'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/sources/notice.php
PHP
asf20
2,971
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: invite.php 20442 2009-09-28 01:17:13Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $_GET['u'] = intval($_GET['u']); $sitekey = $db->result_first("SELECT value FROM {$tablepre}settings WHERE variable='siteuniqueid'"); if($_GET['c'] != substr(md5($sitekey.'|'.$_GET['u'].(empty($_GET['app']) ? '' : '|'.$_GET['app'])), 8, 16)) { showmessage('manyou:invite_error'); } $friendname = $db->result_first("SELECT username FROM {$tablepre}members WHERE uid='$_GET[u]'"); if(!$friendname) { showmessage('manyou:invite_error'); } if(!$discuz_uid) { $regname .= (strpos($regname, '?') ? '&' : '?').'referer='.rawurlencode($boardurl.'manyou/invite.php?'.$_SERVER['QUERY_STRING']); showmessage('manyou:invite_message', $regname); } if($_GET['u'] == $discuz_uid) { showmessage('manyou:invite_noself'); } require_once './uc_client/client.php'; uc_friend_add($_GET['u'], $discuz_uid); uc_friend_add($discuz_uid, $_GET['u']); manyoulog('friend', $discuz_uid, 'add', $_GET['u']); manyoulog('friend', $_GET['u'], 'add', $discuz_uid); showmessage('manyou:invite_friend', 'userapp.php?script=user&id='.$_GET['app'].'&my_extra=invitedby_bi_'.$_GET['u'].'_'.$_GET['c'].'&my_suffix=Lw%3D%3D'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/sources/invite.php
PHP
asf20
1,363
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: user.php 20442 2009-09-28 01:17:13Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } include_once DISCUZ_ROOT.'./forumdata/cache/cache_manyou.php'; $invitenum = $db->result_first("SELECT count(*) FROM {$tablepre}myinvite WHERE touid='$discuz_uid'"); $noticenum = $db->result_first("SELECT count(*) FROM {$tablepre}mynotice WHERE uid='$discuz_uid' AND new='1'"); $appid = empty($_GET['id'])?'':intval($_GET['id']); if(!$appid) { showmessage('manyou:noappid'); } $app = array(); $app = $db->fetch_first("SELECT * FROM {$tablepre}myapp WHERE appid='$appid' LIMIT 1"); if($app['flag'] < 0) { showmessage('manyou:noappid'); } $userapp = $db->fetch_first("SELECT * FROM {$tablepre}userapp WHERE uid='{$discuz_uid}' AND appid='$appid'"); $my_appId = $appid; $my_suffix = !empty($my_suffix) ? base64_decode(urldecode($my_suffix)) : '/'; $my_prefix = $boardurl.'manyou/'; if(preg_match('/^\//', $my_suffix)) { $url = 'http://apps.manyou.com/'.$my_appId.$my_suffix; } else { $url = 'http://apps.manyou.com/'.$my_appId.'/'.$my_suffix; } $url = $url.(strpos($my_suffix, '?') ? '&' : '?').'my_uchId='.$discuz_uid.'&my_sId='.$my_siteid.'&my_prefix='.rawurlencode($my_prefix).'&my_suffix='.rawurlencode($my_suffix); $current_url = $boardurl.'manyou/userapp.php'; if($_SERVER['QUERY_STRING']) { $current_url = $current_url.'?'.$_SERVER['QUERY_STRING']; } $extra = $my_extra; $url .= '&my_current='.rawurlencode($current_url).'&my_extra='.rawurlencode($extra).'&my_ts='.$timestamp.'&my_appVersion='.$app['version']; $hash = $my_siteid.'|'.$discuz_uid.'|'.$appid.'|'.$current_url.'|'.$extra.'|'.$timestamp.'|'.$my_sitekey; $hash = md5($hash); $url .= '&my_sig='.$hash; $my_suffix = rawurlencode($my_suffix); include template('manyou_app'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/sources/user.php
PHP
asf20
1,925
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cp.php 20442 2009-09-28 01:17:13Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('settingsubmit', 1)) { $db->query("UPDATE {$tablepre}userapp SET allowfeed='$allowfeednew',allowprofilelink='$allowprofilelinknew' WHERE appid='$appid'"); include template('header_ajax'); echo $scriptlang['manyou']['myop_setting_update']; echo '<script type="text/javascript" reload="1">'; echo 'setTimeout("$(\'appsetting_msg\').innerHTML = \'\'", 3000);'; echo '</script>'; include template('footer_ajax'); } include_once DISCUZ_ROOT.'./forumdata/cache/cache_manyou.php'; $invitenum = $db->result_first("SELECT count(*) FROM {$tablepre}myinvite WHERE touid='$discuz_uid'"); $noticenum = $db->result_first("SELECT count(*) FROM {$tablepre}mynotice WHERE uid='$discuz_uid' AND new='1'"); $uchUrl = $boardurl.'manyou/cp.php?ac=userapp'; //manyou $my_prefix = 'http://uchome.manyou.com'; if(empty($_GET['my_suffix'])) { $appId = intval($_GET['appid']); if($appId) { $mode = $_GET['mode']; if ($mode == 'about') { $my_suffix = '/userapp/about?appId='.$appId; } else { $my_suffix = '/userapp/privacy?appId='.$appId; } } else { $my_suffix = '/userapp/list'; } } else { $my_suffix = $_GET['my_suffix']; } $my_extra = isset($_GET['my_extra']) ? $_GET['my_extra'] : ''; $delimiter = strrpos($my_suffix, '?') ? '&' : '?'; $myUrl = $my_prefix.urldecode($my_suffix.$delimiter.'my_extra='.$my_extra); $hash = $my_siteid.'|'.$discuz_uid.'|'.$my_sitekey.'|'.$timestamp; $hash = md5($hash); $delimiter = strrpos($myUrl, '?') ? '&' : '?'; $url = $myUrl.$delimiter.'s_id='.$my_siteid.'&uch_id='.$discuz_uid.'&uch_url='.rawurlencode($uchUrl).'&my_suffix='.rawurlencode($my_suffix).'&timestamp='.$timestamp.'&my_sign='.$hash; include_once template("manyou_userapp"); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/sources/cp.php
PHP
asf20
1,975
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: admincp.php 20442 2009-09-28 01:17:13Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!isfounder()) { showmessage('manyou:nofounder'); } define('MY_URL', 'http://api.manyou.com/uchome.php'); if(submitcheck('mysubmit')) { $sitekey = $db->result_first("SELECT value FROM {$tablepre}settings WHERE variable='siteuniqueid'"); if(empty($my_status) && !empty($my_siteid) && !empty($my_sitekey)) { $my_status = 1; } $register = 0; if(empty($my_status)) { $register = 1; $res = my_site_register($sitekey, $bbname, $boardurl.'manyou/', UC_API, $charset, $timeoffset, 0, 0); } else { $res = my_site_refresh($my_siteid, $bbname, $boardurl.'manyou/', UC_API, $charset, $timeoffset, 0, 0, $my_sitekey, $sitekey); } if($res['errCode']) { showmessage('manyou:myop_error'); } else { require_once DISCUZ_ROOT.'./include/cache.func.php'; if($register) { $db->query("REPLACE INTO {$tablepre}settings (variable, value) VALUES ('my_siteid', '{$res[result][mySiteId]}'), ('my_sitekey', '{$res[result][mySiteKey]}'), ('my_status', '1')"); updatecache('settings'); showmessage('manyou:myop_open', 'userapp.php?script=admincp'); } else { $db->query("REPLACE INTO {$tablepre}settings (variable, value) VALUES ('my_status', '1')"); updatecache('settings'); showmessage('manyou:myop_sync', 'userapp.php?script=admincp'); } } } elseif(submitcheck('closemysubmit')) { $res = my_site_close($my_siteid, $my_sitekey); $db->query("REPLACE INTO {$tablepre}settings (variable, value) VALUES ('my_status', '0')"); require_once DISCUZ_ROOT.'./include/cache.func.php'; updatecache('settings'); if($res['errCode']) { showmessage('manyou:myop_error'); } else { showmessage('manyou:myop_close', 'userapp.php?script=admincp'); } } elseif(submitcheck('settingmysubmit')) { $myextcreditnew = intval($myextcreditnew); $db->query("REPLACE INTO {$tablepre}settings (variable, value) VALUES ('my_extcredit', '$myextcreditnew')"); $myfeedppnew = intval($myfeedppnew); $db->query("REPLACE INTO {$tablepre}settings (variable, value) VALUES ('my_feedpp', '$myfeedppnew')"); require_once DISCUZ_ROOT.'./include/cache.func.php'; updatecache('settings'); showmessage('manyou:setting_update', 'userapp.php?script=admincp'); } if($my_status) { $selfUrl = $boardurl.'manyou/admincp.php?ac=userapp'; $my_suffix = !empty($my_suffix) ? $my_suffix : '/appadmin/list'; $my_prefix = 'http://uchome.manyou.com'; $tmp_suffix = $my_suffix; $myUrl = $my_prefix.$tmp_suffix; $hash = md5($my_siteid.'|'.$discuz_uid.'|'.$my_sitekey.'|'.$timestamp); $delimiter = strrpos($myUrl, '?') ? '&' : '?'; $url = $myUrl.$delimiter.'s_id='.$my_siteid.'&uch_id='.$discuz_uid.'&uch_url='.rawurlencode($selfUrl).'&my_suffix='.rawurlencode($my_suffix).'&timestamp='.$timestamp.'&my_sign='.$hash; $my_noticejs = my_noticejs(); } include template('manyou_admincp'); function my_site_register($siteKey, $siteName, $siteUrl, $ucUrl, $siteCharset, $siteTimeZone, $siteRealNameEnable, $siteRealAvatarEnable) { $siteName = urlencode($siteName); $postString = sprintf('action=%s&productType=DISCUZ&siteVersion=7.0.0&myVersion=0.3&siteKey=%s&siteName=%s&siteUrl=%s&ucUrl=%s&siteCharset=%s&siteTimeZone=%s&siteRealNameEnable=%s&siteRealAvatarEnable=%s', 'siteRegister', $siteKey, $siteName, rawurlencode($siteUrl), rawurlencode($ucUrl), $siteCharset, $siteTimeZone, $siteRealNameEnable, $siteRealAvatarEnable); $response = dfopen(MY_URL, 0, $postString, '', false); $res = unserialize($response); if (!$response) { $res['errCode'] = 111; $res['errMessage'] = 'Empty Response'; $res['result'] = $response; } elseif(!$res) { $res['errCode'] = 110; $res['errMessage'] = 'Error Response'; $res['result'] = $response; } return $res; } function my_site_refresh($mySiteId, $siteName, $siteUrl, $ucUrl, $siteCharset, $siteTimeZone, $siteEnableRealName, $siteEnableRealAvatar, $mySiteKey, $siteKey) { $key = $mySiteId.$siteName.$siteUrl.$ucUrl.$siteCharset.$siteTimeZone.$siteEnableRealName.$mySiteKey.$siteKey; $key = md5($key); $siteName = urlencode($siteName); $postString = sprintf('action=%s&productType=DISCUZ&siteVersion=7.0.0&myVersion=0.3&key=%s&mySiteId=%d&siteName=%s&siteUrl=%s&ucUrl=%s&siteCharset=%s&siteTimeZone=%s&siteEnableRealName=%s&siteEnableRealAvatar=%s&siteKey=%s', 'siteRefresh', $key, $mySiteId, $siteName, rawurlencode($siteUrl), rawurlencode($ucUrl), $siteCharset, $siteTimeZone, $siteEnableRealName, $siteEnableRealAvatar, $siteKey); $response = dfopen(MY_URL, 0, $postString, '', false); $res = unserialize($response); if (!$response) { $res['errCode'] = 111; $res['errMessage'] = 'Empty Response'; $res['result'] = $response; } elseif(!$res) { $res['errCode'] = 110; $res['errMessage'] = 'Error Response'; $res['result'] = $response; } return $res; } function my_site_close($mySiteId, $mySiteKey) { $key = $mySiteId.$mySiteKey; $key = md5($key); $postString = sprintf('action=%s&key=%s&mySiteId=%d', 'siteClose', $key, $mySiteId); $response = dfopen(MY_URL, 0, $postString, '', false); $res = unserialize($response); if (!$response) { $res['errCode'] = 111; $res['errMessage'] = 'Empty Response'; $res['result'] = $response; } elseif(!$res) { $res['errCode'] = 110; $res['errMessage'] = 'Error Response'; $res['result'] = $response; } return $res['result']; } function my_noticejs() { $key = md5($GLOBALS['my_siteid'].$GLOBALS['timestamp'].$GLOBALS['my_sitekey']); return '<script type="text/javascript" src="http://notice.uchome.manyou.com/notice?sId='.$GLOBALS['my_siteid'].'&ts='.$GLOBALS['timestamp'].'&key='.$key.'" charset="UTF-8"></script>'; } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/sources/admincp.php
PHP
asf20
5,904
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cp.php 18639 2009-07-08 01:07:40Z monkey $ */ $s = ''; foreach($_GET as $k => $v) { $s .= '&'.$k.'='.rawurlencode($v); } header('location: ../userapp.php?script=cp'.$s); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/cp.php
PHP
asf20
303
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: admincp.php 18639 2009-07-08 01:07:40Z monkey $ */ header('location: ../userapp.php?script=admincp&my_suffix='.$_GET['my_suffix']); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/manyou/admincp.php
PHP
asf20
258
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: relatekw.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'; if(!$_DCACHE['settings']['tagstatus']) { exit; } require_once './config.inc.php'; require_once './include/global.func.php'; if($tid = @intval($_GET['tid'])) { 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); if($db->result_first("SELECT count(*) FROM {$tablepre}threadtags WHERE tid='$tid'")) { exit; } $query = $db->query("SELECT subject, message FROM {$tablepre}posts WHERE tid='$tid' AND first='1'"); $data = $db->fetch_array($query); $subject = $data['subject']; $message = cutstr($data['message'], 500, ''); } else { $subject = $_GET['subjectenc']; $message = $_GET['messageenc']; } $subjectenc = rawurlencode(strip_tags($subject)); $messageenc = rawurlencode(strip_tags(preg_replace("/\[.+?\]/U", '', $message))); $data = @implode('', file("http://keyword.discuz.com/related_kw.html?ics=$charset&ocs=$charset&title=$subjectenc&content=$messageenc")); if($data) { 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); $kws = array(); foreach($values as $valuearray) { if($valuearray['tag'] == 'kw' || $valuearray['tag'] == 'ekw') { $kws[] = !empty($chs) ? $chs->convert(trim($valuearray['value'])) : trim($valuearray['value']); } } $return = ''; if($kws) { foreach($kws as $kw) { $kw = htmlspecialchars($kw); $return .= $kw.' '; } $return = htmlspecialchars($return); } if(!$tid) { $inajax = 1; include template('relatekw'); } else { if($_DCACHE['settings']['tagstatus'] && $kws) { require_once DISCUZ_ROOT.'/forumdata/cache/cache_censor.php'; $tagcount = 0; foreach($kws as $tagname) { $tagname = trim(empty($_DCACHE['censor']['filter']) ? $tagname : preg_replace($_DCACHE['censor']['filter']['find'], $_DCACHE['censor']['filter']['replace'], $tagname)); if(preg_match('/^([\x7f-\xff_-]|\w|\s){3,20}$/', $tagname)) { $query = $db->query("SELECT closed FROM {$tablepre}tags WHERE tagname='$tagname'"); if($db->num_rows($query)) { if(!$tagstatus = $db->result($query, 0)) { $db->query("UPDATE {$tablepre}tags SET total=total+1 WHERE tagname='$tagname'", 'UNBUFFERED'); } } else { $db->query("INSERT INTO {$tablepre}tags (tagname, closed, total) VALUES ('$tagname', 0, 1)", 'UNBUFFERED'); $tagstatus = 0; } if(!$tagstatus) { $db->query("INSERT {$tablepre}threadtags (tagname, tid) VALUES ('$tagname', $tid)", 'UNBUFFERED'); } $tagcount++; if($tagcount > 4) { break; } } } } } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/relatekw.php
PHP
asf20
3,437
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: trade.php 21135 2009-11-17 02:30:08Z monkey $ */ define('NOROBOT', TRUE); define('CURSCRIPT', 'trade'); require_once './include/common.inc.php'; require_once DISCUZ_ROOT.'./include/trade.func.php'; if(!$discuz_uid) { showmessage('not_loggedin', NULL, 'NOPERM'); } $page = max(1, intval($page)); if(!empty($orderid)) { include_once language('misc'); $tradelog = daddslashes($db->fetch_first("SELECT * FROM {$tablepre}tradelog WHERE orderid='$orderid'"), 1); if(empty($tradelog) || $discuz_uid != $tradelog['sellerid'] && $discuz_uid != $tradelog['buyerid']) { showmessage('undefined_action', NULL, 'HALTED'); } $trade_message = ''; $currentcredit = $creditstrans ? $_DSESSION['extcredits'.$creditstrans] : 0; $discountprice = $tradelog['baseprice'] * $tradelog['number']; if(!empty($pay) && !$tradelog['offline'] && $tradelog['status'] == 0 && $tradelog['buyerid'] == $discuz_uid) { if($creditstransextra[5] != -1 && $tradelog['credit']) { if($tradelog['credit'] > $GLOBALS['extcredits'.$creditstransextra[5]]) { showmessage('trade_credit_lack'); } updatecredits($tradelog['buyerid'], array($creditstransextra[5] => -$tradelog['credit'])); } $trade = $db->fetch_first("SELECT * FROM {$tablepre}trades WHERE tid='$tradelog[tid]' AND pid='$tradelog[pid]'"); if($discuz_uid && $currentcredit < $discountcredit && $tradelog['discount']) { showmessage('trade_credits_no_enough'); } $pay = array(); $pay['commision'] = 0; $transport = $tradelog['transport']; $transportfee = 0; trade_setprice(array('fee' => $fee, 'trade' => $trade, 'transport' => $transport), $price, $pay, $transportfee); $payurl = trade_payurl($pay, $trade, $tradelog); showmessage('trade_directtopay', $payurl); } if(submitcheck('offlinesubmit') && in_array($offlinestatus, trade_offline($tradelog, 0))) { require_once DISCUZ_ROOT.'./uc_client/client.php'; $ucresult = uc_user_login($discuz_user, $password); list($tmp['uid']) = daddslashes($ucresult); if($tmp['uid'] <= 0) { showmessage('trade_password_error', 'trade.php?orderid='.$orderid); } if($offlinestatus == STATUS_SELLER_SEND) { if($creditstransextra[5] != -1 && $tradelog['credit']) { if($tradelog['credit'] > $GLOBALS['extcredits'.$creditstransextra[5]]) { showmessage('trade_credit_lack'); } updatecredits($tradelog['buyerid'], array($creditstransextra[5] => -$tradelog['credit'])); } $trade = $db->fetch_first("SELECT amount FROM {$tablepre}trades WHERE tid='$tradelog[tid]' AND pid='$tradelog[pid]'"); $user = $tradelog['buyer']; $userid = $tradelog['buyerid']; $itemsubject = $tradelog['subject']; sendnotice($tradelog['sellerid'], 'trade_seller_send', 'threads'); } elseif($offlinestatus == STATUS_WAIT_BUYER) { $user = $tradelog['seller']; $userid = $tradelog['buyerid']; $itemsubject = $tradelog['subject']; sendnotice($tradelog['buyerid'], 'trade_buyer_confirm', 'threads'); } elseif($offlinestatus == STATUS_TRADE_SUCCESS) { if($creditstransextra[5] != -1 && $tradelog['basecredit']) { $netcredit = round($tradelog['number'] * $tradelog['basecredit'] * (1 - $creditstax)); updatecredits($tradelog['sellerid'], array($creditstransextra[5] => $netcredit)); } else { $netcredit = 0; } $db->query("UPDATE {$tablepre}trades SET lastbuyer='$tradelog[buyer]', lastupdate='$timestamp', totalitems=totalitems+'$tradelog[number]', tradesum=tradesum+'$tradelog[price]', credittradesum=credittradesum+'$netcredit' WHERE tid='$tradelog[tid]' AND pid='$tradelog[pid]'", 'UNBUFFERED'); $itemsubject = $tradelog['subject']; sendnotice($tradelog['sellerid'], 'trade_success', 'threads'); sendnotice($tradelog['buyerid'], 'trade_success', 'threads'); } elseif($offlinestatus == STATUS_REFUND_CLOSE) { $db->query("UPDATE {$tablepre}trades SET amount=amount+'$tradelog[number]' WHERE tid='$tradelog[tid]' AND pid='$tradelog[pid]'", 'UNBUFFERED'); $itemsubject = $tradelog['subject']; sendnotice($tradelog['sellerid'], 'trade_fefund_success', 'threads'); sendnotice($tradelog['buyerid'], 'trade_fefund_success', 'threads'); if($creditstransextra[5] != -1 && $tradelog['basecredit']) { updatecredits($tradelog['buyerid'], array($creditstransextra[5] => $tradelog['number'] * $tradelog['basecredit'])); } } $message = trim($message); if($message) { $message = daddslashes(stripslashes($tradelog['message'])."\t\t\t".$discuz_uid."\t".$discuz_userss."\t".$timestamp."\t".nl2br(strip_tags(substr($message, 0, 200))), 1); } else { $message = daddslashes($tradelog['message'], 1); } $db->query("UPDATE {$tablepre}tradelog SET status='$offlinestatus', lastupdate='$timestamp', message='$message' WHERE orderid='$orderid'"); showmessage('trade_orderstatus_updated', 'trade.php?orderid='.$orderid); } if(submitcheck('tradesubmit')) { if($tradelog['status'] == 0) { $update = array(); $oldbasecredit = $tradelog['basecredit']; $oldnumber = $tradelog['number']; if($tradelog['sellerid'] == $discuz_uid) { $tradelog['baseprice'] = floatval($newprice); $tradelog['basecredit'] = intval($newcredit); if(!$tradelog['baseprice'] < 0 || $tradelog['basecredit'] < 0) { showmessage('trade_pricecredit_error'); } $tradelog['transportfee'] = intval($newfee); $newnumber = $tradelog['number']; $update = array( "baseprice='$tradelog[baseprice]'", "basecredit='$tradelog[basecredit]'", "transportfee='$tradelog[transportfee]'" ); } if($tradelog['buyerid'] == $discuz_uid) { $newnumber = intval($newnumber); if($newnumber <= 0) { showmessage('trade_input_no'); } $trade = $db->fetch_first("SELECT amount FROM {$tablepre}trades WHERE tid='$tradelog[tid]' AND pid='$tradelog[pid]'"); if($newnumber > $trade['amount'] + $tradelog['number']) { showmessage('trade_lack'); } $amount = $trade['amount'] + $tradelog['number'] - $newnumber; $db->query("UPDATE {$tablepre}trades SET amount='$amount' WHERE tid='$tradelog[tid]' AND pid='$tradelog[pid]'", 'UNBUFFERED'); $tradelog['number'] = $newnumber; $update = array( "number='$tradelog[number]'", "discount=0", "buyername='".dhtmlspecialchars($newbuyername)."'", "buyercontact='".dhtmlspecialchars($newbuyercontact)."'", "buyerzip='".dhtmlspecialchars($newbuyerzip)."'", "buyerphone='".dhtmlspecialchars($newbuyerphone)."'", "buyermobile='".dhtmlspecialchars($newbuyermobile)."'", "buyermsg='".dhtmlspecialchars($newbuyermsg)."'", ); } if($update) { if($tradelog['discount']) { $tradelog['baseprice'] = $tradelog['baseprice'] - $tax; $price = $tradelog['baseprice'] * $tradelog['number']; } else { $price = $tradelog['baseprice'] * $tradelog['number']; } if($creditstransextra[5] != -1 && ($oldnumber != $newnumber || $oldbasecredit != $tradelog['basecredit'])) { $tradelog['credit'] = $newnumber * $tradelog['basecredit']; $update[] = "credit='$tradelog[credit]'"; } $update[] = "price='".($price + ($tradelog['transport'] == 2 ? $tradelog['transportfee'] : 0))."'"; $db->query("UPDATE {$tablepre}tradelog SET ".implode(',', $update)." WHERE orderid='$orderid'"); $tradelog = $db->fetch_first("SELECT * FROM {$tablepre}tradelog WHERE orderid='$orderid'"); } } } $tradelog['lastupdate'] = dgmdate("$dateformat $timeformat", $tradelog['lastupdate'] + $timeoffset * 3600); $tradelog['statusview'] = trade_getstatus($tradelog['status']); $messagelist = array(); if($tradelog['offline']) { $offlinenext = trade_offline($tradelog); $message = explode("\t\t\t", stripslashes($tradelog['message'])); foreach($message as $row) { $row = explode("\t", $row); $row[2] = dgmdate("$dateformat $timeformat", $row[2] + $timeoffset * 3600); $row[0] && $messagelist[] = $row; } } else { $loginurl = trade_getorderurl($tradelog['tradeno']); } $tradelog['buyer'] = stripslashes($tradelog['buyer']); $tradelog['seller'] = stripslashes($tradelog['seller']); include template('trade_view'); } else { if(empty($pid)) { $pid = $db->result_first("SELECT pid FROM {$tablepre}posts WHERE tid='$tid' AND first='1' LIMIT 1"); } if($db->result_first("SELECT closed FROM {$tablepre}threads WHERE tid='$tid'")) { showmessage('trade_closed', 'viewthread.php?tid='.$tid.'&page='.$page); } $trade = $db->fetch_first("SELECT * FROM {$tablepre}trades WHERE tid='$tid' AND pid='$pid'"); if(empty($trade)) { showmessage('undefined_action', NULL, 'HALTED'); } $fromcode = false; if($trade['closed']) { showmessage('trade_closed', 'viewthread.php?tid='.$tid.'&page='.$page); } if($trade['price'] <= 0 && $trade['credit'] <= 0) { showmessage('trade_invalid', 'viewthread.php?tid='.$tid.'&page='.$page); } if($trade['credit'] > 0 && $creditstransextra[5] == -1) { showmessage('trade_credit_invalid', 'viewthread.php?tid='.$tid.'&page='.$page); } if($action != 'trade' && !submitcheck('tradesubmit')) { $lastbuyerinfo = dhtmlspecialchars($db->fetch_first("SELECT buyername,buyercontact,buyerzip,buyerphone,buyermobile FROM {$tablepre}tradelog WHERE buyerid='$discuz_uid' AND status!=0 AND buyername!='' ORDER BY lastupdate DESC LIMIT 1")); $extra = rawurlencode($extra); include template('trade'); } else { if($trade['sellerid'] == $discuz_uid) { showmessage('trade_by_myself'); } elseif($number <= 0) { showmessage('trade_input_no'); } elseif(!$fromcode && $number > $trade['amount']) { showmessage('trade_lack'); } $pay['number'] = $number; $pay['price'] = $trade['price']; $credit = 0; if($creditstransextra[5] != -1 && $trade['credit']) { $credit = $number * $trade['credit']; } $price = $pay['price'] * $pay['number']; $buyercredits = 0; $pay['commision'] = 0; $orderid = $pay['orderid'] = gmdate('YmdHis', $timestamp + $_DCACHE['settings']['timeoffset'] * 3600).random(18); $transportfee = 0; trade_setprice(array('fee' => $fee, 'trade' => $trade, 'transport' => $transport), $price, $pay, $transportfee); $buyerid = $discuz_uid ? $discuz_uid : 0; $discuz_user = $discuz_user ? $discuz_user : $guestuser; $trade = daddslashes($trade, 1); $buyermsg = dhtmlspecialchars($buyermsg); $buyerzip = dhtmlspecialchars($buyerzip); $buyerphone = dhtmlspecialchars($buyerphone); $buyermobile = dhtmlspecialchars($buyermobile); $buyername = dhtmlspecialchars($buyername); $buyercontact = dhtmlspecialchars($buyercontact); $offline = !empty($offline) ? 1 : 0; $db->query("INSERT INTO {$tablepre}tradelog (tid, pid, orderid, subject, price, quality, itemtype, number, tax, locus, sellerid, seller, selleraccount, buyerid, buyer, buyercontact, buyercredits, buyermsg, lastupdate, offline, buyerzip, buyerphone, buyermobile, buyername, transport, transportfee, baseprice, discount, credit, basecredit) VALUES ('$trade[tid]', '$trade[pid]', '$orderid', '$trade[subject]', '$price', '$trade[quality]', '$trade[itemtype]', '$number', '$tax', '$trade[locus]', '$trade[sellerid]', '$trade[seller]', '$trade[account]', '$discuz_uid', '$discuz_user', '$buyercontact', 0, '$buyermsg', '$timestamp', '$offline', '$buyerzip', '$buyerphone', '$buyermobile', '$buyername', '$transport', '$transportfee', '$trade[price]', 0, '$credit', '$trade[credit]')"); $db->query("UPDATE {$tablepre}trades SET amount=amount-'$number' WHERE tid='$trade[tid]' AND pid='$trade[pid]'", 'UNBUFFERED'); showmessage('trade_order_created', 'trade.php?orderid='.$orderid); } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/trade.php
PHP
asf20
11,927
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: attachment.php 21262 2009-11-24 02:05:34Z liulanbo $ */ define('CURSCRIPT', 'attachment'); define('NOROBOT', TRUE); if(empty($_GET['k'])) { $encodemethod = 1; @list($_GET['aid'], $_GET['k'], $_GET['t'], $_GET['sid']) = explode('|', base64_decode($_GET['aid'])); } else { $encodemethod = 0; } require_once './include/common.inc.php'; if($attachexpire) { $k = $_GET['k']; $t = $_GET['t']; $authk = md5($aid.md5($authkey).$t); $authk = $encodemethod ? substr($authk, 0, 8) : $authk; if(empty($k) || empty($t) || $k != $authk || $timestamp - $t > $attachexpire * 3600) { $aid = intval($aid); if($attach = $db->fetch_first("SELECT pid, tid, isimage FROM {$tablepre}attachments WHERE aid='$aid'")) { if($attach['isimage']) { dheader('location: '.$boardurl.'images/common/none.gif'); } else { $aidencode = aidencode($aid); showmessage('attachment_expired'); } } else { showmessage('attachment_nonexistence'); } } } $discuz_action = 14; // read local file's function: 1=fread 2=readfile 3=fpassthru 4=fpassthru+multiple $readmod = 2; $refererhost = parse_url($_SERVER['HTTP_REFERER']); $serverhost = $_SERVER['HTTP_HOST']; if(($pos = strpos($serverhost, ':')) !== FALSE) { $serverhost = substr($serverhost, 0, $pos); } if($attachrefcheck && $_SERVER['HTTP_REFERER'] && !($refererhost['host'] == $serverhost)) { //dheader("Location: {$boardurl}images/common/invalidreferer.gif"); showmessage('attachment_referer_invalid', NULL, 'HALTED'); } periodscheck('attachbanperiods'); $attachexists = FALSE; if(!empty($aid) && is_numeric($aid)) { if(($attach = $db->fetch_first("SELECT a.*, p.invisible FROM {$tablepre}attachments a LEFT JOIN {$tablepre}posts p ON a.pid=p.pid WHERE aid='$aid'")) && $attach['invisible'] == 0) { $thread = $db->fetch_first("SELECT tid, fid, price, special FROM {$tablepre}threads WHERE tid='$attach[tid]' AND displayorder>='0'"); $thread && $attachexists = TRUE; } } !$attachexists && showmessage('attachment_nonexistence'); $forum = $db->fetch_first("SELECT f.fid, f.viewperm, f.getattachperm, f.getattachcredits, a.allowgetattach FROM {$tablepre}forumfields f LEFT JOIN {$tablepre}access a ON a.uid='$discuz_uid' AND a.fid=f.fid WHERE f.fid='$thread[fid]'"); $_GET['fid'] = $forum['fid']; $allowgetattach = !empty($forum['allowgetattach']) || ($allowgetattach && !$forum['getattachperm']) || forumperm($forum['getattachperm']); if($allowgetattach && ($attach['readperm'] && $attach['readperm'] > $readaccess) && $adminid <= 0 && !($discuz_uid && $discuz_uid == $attach['uid'])) { showmessage('attachment_forum_nopermission', NULL, 'NOPERM'); } $ispaid = FALSE; if(!$thread['special'] && $thread['price'] > 0 && (!$discuz_uid || ($discuz_uid && $discuz_uid != $attach['uid'] && $adminid <=0))) { $exemptattachpay = $discuz_uid && ($exempt & 8) ? 1 : 0; $ispaid = $discuz_uid ? $db->result_first("SELECT uid FROM {$tablepre}paymentlog WHERE uid='$discuz_uid' AND tid='$attach[tid]'") : FALSE; !$ispaid && !$exemptattachpay && showmessage('attachment_payto', 'viewthread.php?tid='.$attach['tid']); } $ismoderator = in_array($adminid, array(1, 2)) ? 1 : ($adminid == 3 ? $db->result_first("SELECT uid FROM {$tablepre}moderators m INNER JOIN {$tablepre}threads t ON t.tid='$attach[tid]' AND t.fid=m.fid WHERE m.uid='$discuz_uid'") : 0); $exemptvalue = $ismoderator ? 64 : 8; if($attach['price'] && (!$discuz_uid || ($discuz_uid != $attach['uid'] && !($exempt & $exemptvalue)))) { $payrequired = $discuz_uid ? !$db->result_first("SELECT uid FROM {$tablepre}attachpaymentlog WHERE uid='$discuz_uid' AND aid='$attach[aid]'") : 1; $payrequired && showmessage('attachement_payto_attach', 'misc.php?action=attachpay&aid='.$attach['aid']); } $isimage = $attach['isimage']; $ftp['hideurl'] = $ftp['hideurl'] || ($isimage && !empty($noupdate) && $attachimgpost && strtolower(substr($ftp['attachurl'], 0, 3)) == 'ftp'); if(empty($nothumb) && $attach['isimage'] && $attach['thumb']) { $db->close(); ob_end_clean(); dheader('Content-Disposition: inline; filename='.$attach['filename'].'.thumb.jpg'); dheader('Content-Type: image/pjpeg'); if($attach['remote']) { $ftp['hideurl'] ? getremotefile($attach['attachment'].'.thumb.jpg') : dheader('location:'.$ftp['attachurl'].'/'.$attach['attachment'].'.thumb.jpg'); } else { getlocalfile($attachdir.'/'.$attach['attachment'].'.thumb.jpg'); } exit(); } $filename = $attachdir.'/'.$attach['attachment']; if(!$attach['remote'] && !is_readable($filename)) { showmessage('attachment_nonexistence'); } if(!$ispaid && !$forum['allowgetattach']) { if(!$forum['getattachperm'] && !$allowgetattach) { showmessage('getattachperm_none_nopermission', NULL, 'NOPERM'); } elseif(($forum['getattachperm'] && !forumperm($forum['getattachperm'])) || ($forum['viewperm'] && !forumperm($forum['viewperm']))) { showmessagenoperm('getattachperm', $forum['fid']); } } $range = 0; if($readmod == 4 && !empty($_SERVER['HTTP_RANGE'])) { list($range) = explode('-',(str_replace('bytes=', '', $_SERVER['HTTP_RANGE']))); } $exemptvalue = $ismoderator ? 32 : 4; if(!$isimage && !($exempt & $exemptvalue)) { $getattachcredits = $forum['getattachcredits'] ? unserialize($forum['getattachcredits']) : $creditspolicy['getattach']; $redirectcredit = FALSE; foreach($getattachcredits as $creditid => $v) { if($v) { $redirectcredit = TRUE; break; } } if($redirectcredit) { $k = $_GET['ck']; $t = $_GET['t']; if(empty($k) || empty($t) || $k != substr(md5($aid.$t.md5($authkey)), 0, 8) || $timestamp - $t > 3600) { dheader('location: misc.php?action=attachcredit&aid='.$attach['aid'].'&formhash='.FORMHASH); exit(); } } } if(empty($noupdate)) { if($delayviewcount == 2 || $delayviewcount == 3) { $logfile = './forumdata/cache/cache_attachviews.log'; if(substr($timestamp, -1) == '0') { require_once DISCUZ_ROOT.'./include/misc.func.php'; updateviews('attachments', 'aid', 'downloads', $logfile); } if(@$fp = fopen(DISCUZ_ROOT.$logfile, 'a')) { fwrite($fp, "$aid\n"); fclose($fp); } elseif($adminid == 1) { showmessage('view_log_invalid'); } } else { $db->query("UPDATE {$tablepre}attachments SET downloads=downloads+'1' WHERE aid='$aid'", 'UNBUFFERED'); } } $db->close(); ob_end_clean(); //dheader('Cache-control: max-age=31536000'); //dheader('Expires: '.gmdate('D, d M Y H:i:s', $timestamp + 31536000).' GMT'); if($attach['remote'] && !$ftp['hideurl']) { dheader('location:'.$ftp['attachurl'].'/'.$attach['attachment']); } $filesize = !$attach['remote'] ? filesize($filename) : $attach['filesize']; $attach['filename'] = '"'.(strtolower($charset) == 'utf-8' && strexists($_SERVER['HTTP_USER_AGENT'], 'MSIE') ? urlencode($attach['filename']) : $attach['filename']).'"'; dheader('Date: '.gmdate('D, d M Y H:i:s', $attach['dateline']).' GMT'); dheader('Last-Modified: '.gmdate('D, d M Y H:i:s', $attach['dateline']).' GMT'); dheader('Content-Encoding: none'); if($isimage && !empty($noupdate) || !empty($request)) { dheader('Content-Disposition: inline; filename='.$attach['filename']); } else { dheader('Content-Disposition: attachment; filename='.$attach['filename']); } dheader('Content-Type: '.$attach['filetype']); dheader('Content-Length: '.$filesize); if($readmod == 4) { dheader('Accept-Ranges: bytes'); if(!empty($_SERVER['HTTP_RANGE'])) { $rangesize = ($filesize - $range) > 0 ? ($filesize - $range) : 0; dheader('Content-Length: '.$rangesize); dheader('HTTP/1.1 206 Partial Content'); dheader('Content-Range: bytes='.$range.'-'.($filesize-1).'/'.($filesize)); } } $attach['remote'] ? getremotefile($attach['attachment']) : getlocalfile($filename, $readmod, $range); function getremotefile($file) { global $authkey, $ftp, $attachdir; @set_time_limit(0); if(!@readfile($ftp['attachurl'].'/'.$file)) { require_once DISCUZ_ROOT.'./include/ftp.func.php'; if(!($ftp['connid'] = dftp_connect($ftp['host'], $ftp['username'], authcode($ftp['password'], 'DECODE', md5($authkey)), $ftp['attachdir'], $ftp['port'], $ftp['ssl']))) { return FALSE; } $tmpfile = @tempnam($attachdir, ''); if(dftp_get($ftp['connid'], $tmpfile, $file, FTP_BINARY)) { @readfile($tmpfile); @unlink($tmpfile); } else { @unlink($tmpfile); return FALSE; } } return TRUE; } function getlocalfile($filename, $readmod = 2, $range = 0) { if($readmod == 1 || $readmod == 3 || $readmod == 4) { if($fp = @fopen($filename, 'rb')) { @fseek($fp, $range); if(function_exists('fpassthru') && ($readmod == 3 || $readmod == 4)) { @fpassthru($fp); } else { echo @fread($fp, filesize($filename)); } } @fclose($fp); } else { @readfile($filename); } @flush(); @ob_flush(); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/attachment.php
PHP
asf20
9,037
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: invite.php 16708 2008-11-17 01:34:55Z tiger $ */ define('CURSCRIPT', 'invite'); require_once './include/common.inc.php'; if($regstatus <= 1) { showmessage('invite_close'); } elseif(!$discuz_uid) { showmessage('group_nopermission', NULL, 'NOPERM'); } $action = !empty($action) ? $action : 'index'; $tpp = 10; $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; if($action == 'index') { $myinvitenum = intval($db->result_first("SELECT COUNT(*) FROM {$tablepre}invites WHERE uid='$discuz_uid' AND dateline>'$timestamp'-86400 AND dateline<'$timestamp'")); if(!submitcheck('buysubmit')) { $invitenum = intval($db->result_first("SELECT COUNT(*) FROM {$tablepre}invites WHERE uid='$discuz_uid' AND status IN ('1', '3')")); $multipage = multi($invitenum, $tpp, $page, "invite.php"); $invitelist = $inviteuserlist = array(); $query = $db->query("SELECT dateline, expiration, invitecode, status FROM {$tablepre}invites WHERE uid='$discuz_uid' AND status IN ('1', '3') ORDER BY dateline DESC LIMIT $start_limit,$tpp"); while($invite = $db->fetch_array($query)) { $invite['expiration'] = round(($invite['expiration'] - $timestamp) / 86400); $invitelist[] = $invite; } $query = $db->query("SELECT i.dateline, i.expiration, i.invitecode, m.username, m.uid FROM {$tablepre}invites i, {$tablepre}members m WHERE i.uid='$discuz_uid' AND i.status='2' AND i.reguid=m.uid ORDER BY i.regdateline DESC LIMIT 0, 10"); while($inviteuser = $db->fetch_array($query)) { $inviteuser['avatar'] = discuz_uc_avatar($inviteuser['uid'], 'small'); $inviteuserlist[] = $inviteuser; } include template('invite_index'); } else { if(!$allowinvite) { showmessage('group_nopermission', NULL, 'NOPERM'); } if($maxinvitenum && $myinvitenum == $maxinvitenum) { showmessage('invite_num_range_invalid'); } $amount = intval($amount); $buyinvitecredit = $amount ? $amount * $inviteprice : 0; if(!$amount || $amount < 0) { showmessage('invite_num_invalid'); } elseif(${'extcredits'.$creditstransextra[4]} < $buyinvitecredit && $buyinvitecredit) { showmessage('invite_credits_no_enough'); } elseif(($maxinvitenum && $myinvitenum + $amount > $maxinvitenum) || $amount > 50) { showmessage('invite_num_buy_range_invalid'); } elseif($buyinvitecredit && !$creditstransextra[4]) { showmessage('credits_transaction_disabled'); } else { for($i=1; $i<=$amount; $i++) { $invitecode = substr(md5($discuz_uid.$timestamp.random(6)), 0, 10).random(6); $expiration = $timestamp + $maxinviteday * 86400; $db->query("INSERT INTO {$tablepre}invites (uid, dateline, expiration, inviteip, invitecode) VALUES ('$discuz_uid', '$timestamp', '$expiration', '$onlineip', '$invitecode')", 'UNBUFFERED'); } if($buyinvitecredit && $creditstransextra[4]) { $db->query("UPDATE {$tablepre}members SET extcredits$creditstransextra[4]=extcredits$creditstransextra[4]-'$buyinvitecredit' WHERE uid='$discuz_uid'"); } showmessage('invite_buy_succeed'); } } } elseif($action == 'sendinvite') { if(!$allowmailinvite) { showmessage('group_nopermission', 'invite.php'); } if(!submitcheck('sendsubmit')) { $fromuid = $creditspolicy['promotion_register'] ? '&amp;fromuid='.$discuz_uid : ''; $threadurl = "{$boardurl}$regname?invitecode=$invitecode$fromuid"; $email = $db->result_first("SELECT email FROM {$tablepre}members WHERE uid='$discuz_uid'"); include template('invite_send'); } else { if(empty($fromname) || empty($fromemail) || empty($sendtoname) || empty($sendtoemail)) { showmessage('email_friend_invalid'); } if(!$invitenum = $db->result_first("SELECT invitecode FROM {$tablepre}invites WHERE uid='$discuz_uid' AND status='1' AND invitecode='$invitecode'")) { showmessage('invite_invalid'); } else { $db->query("UPDATE {$tablepre}invites SET status='3' WHERE uid='$discuz_uid' AND invitecode='$invitecode'"); sendmail("$sendtoname <$sendtoemail>", 'email_to_invite_subject', 'email_to_invite_message', "$fromname <$fromemail>"); showmessage('email_invite_succeed', 'invite.php'); } } } elseif($action == 'markinvite') { $changestatus = $do == 'undo' ? 1 : 3; if(!empty($invitecode)) { $db->query("UPDATE {$tablepre}invites SET status='$changestatus' WHERE uid='$discuz_uid' AND invitecode='$invitecode'"); } $invite = $db->fetch_first("SELECT invitecode, dateline, expiration FROM {$tablepre}invites WHERE uid='$discuz_uid' AND invitecode='$invitecode'"); $invite['expiration'] = round(($invite['expiration'] - $timestamp) / 86400); include template('invite_index'); } else { showmessage('undefined_action'); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/invite.php
PHP
asf20
4,899
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: memcp.php 21344 2010-01-06 09:39:22Z zhaoxiongfei $ */ define('CURSCRIPT', 'memcp'); define('NOROBOT', TRUE); require_once './include/common.inc.php'; $discuz_action = 7; if(!$discuz_uid) { showmessage('not_loggedin', NULL, 'NOPERM'); } $action = !empty($action) ? $action : ''; $operation = !empty($operation) ? $operation : ''; $maxbiosize = $maxbiosize ? $maxbiosize : 200; if($regverify == 2 && $groupid == 8 && ($action != 'profile' || $action == 'validating')) { $validating = array(); if($regverify == 2 && $groupid == 8) { if($validating = $db->fetch_first("SELECT * FROM {$tablepre}validating WHERE uid='$discuz_uid'")) { $validating['moddate'] = $validating['moddate'] ? dgmdate("$dateformat $timeformat", $validating['moddate'] + $timeoffset * 3600) : 0; $validating['adminenc'] = rawurlencode($validating['admin']); } } include template('memcp_validating'); dexit(); } if(!$action || $action == 'profile') { $typeid = empty($typeid) || !in_array($typeid, array(1, 2, 3, 4, 5, 6)) ? 2 : $typeid; require_once DISCUZ_ROOT.'./forumdata/cache/cache_profilefields.php'; $member = $db->fetch_first("SELECT * FROM {$tablepre}members m LEFT JOIN {$tablepre}memberfields mf ON mf.uid=m.uid WHERE m.uid='$discuz_uid'"); $seccodecheck = ($seccodestatus & 8) && (!$seccodedata['minposts'] || $posts < $seccodedata['minposts']); $secqaacheck = false; $member['msn']= explode("\t", $member['msn']); if(!submitcheck('editsubmit', 0, $seccodecheck)) { if($typeid == 1) { if($seccodecheck) { $seccode = random(6, 1) + $seccode{0} * 1000000; } } elseif($typeid == 2) { require_once DISCUZ_ROOT.'./include/editor.func.php'; $gendercheck = array($member['gender'] => 'selected="selected"'); $member['bio'] = preg_replace("/<imme>(.+)<\/imme>/is", '[imme]', $member['bio']); $member['sightml'] = preg_replace("/<imme>(.+)<\/imme>/is", '[imme]', $member['sightml']); $member['bio'] = html2bbcode($member['bio']); $member['signature'] = html2bbcode($member['sightml']); } elseif($typeid == 3) { require_once DISCUZ_ROOT.'/uc_client/client.php'; $uc_avatarflash = uc_avatar($discuz_uid, '', 0); } elseif($typeid == 5) { $invisiblechecked = $member['invisible'] ? 'checked="checked"' : ''; $emailchecked = $member['showemail'] ? 'checked="checked"' : ''; $newschecked = $member['newsletter'] ? 'checked="checked"' : ''; $tppchecked = array($member['tpp'] => 'checked="checked"'); $pppchecked = array($member['ppp'] => 'checked="checked"'); $toselect = array(strval((float)$member['timeoffset']) => 'selected="selected"'); $pscheck = array(intval($member['pmsound']) => 'checked="checked"'); $emcheck = array($member['editormode'] => 'checked="checked"'); $tfcheck = array($member['timeformat'] => 'checked="checked"'); $dfcheck = array($member['dateformat'] => 'checked="checked"'); $styleselect = ''; $query = $db->query("SELECT styleid, name FROM {$tablepre}styles WHERE available='1'"); while($style = $db->fetch_array($query)) { $styleselect .= "<option value=\"$style[styleid]\" ". ($style['styleid'] == $member['styleid'] ? 'selected="selected"' : NULL). ">$style[name]</option>\n"; } $customshow = str_pad(base_convert($member['customshow'], 10, 3), 4, '0', STR_PAD_LEFT); $dateconvertchecked = array($customshow{0} => 'checked="checked"'); $sschecked = array($customshow{1} => 'checked="checked"'); $sachecked = array($customshow{2} => 'checked="checked"'); $sichecked = array($customshow{3} => 'checked="checked"'); $creditnoticechecked = array(empty($_COOKIE['discuz_creditnoticedisable']) => 'checked="checked"'); $dateformatlist = array(); if(!empty($userdateformat) && ($count = count($userdateformat))) { for($num =1; $num <= $count; $num ++) { $dateformatlist[$num] = str_replace(array('n', 'j', 'y', 'Y'), array('mm', 'dd', 'yy', 'yyyy'), $userdateformat[$num-1]); } } $feedchecks = array(); $customaddfeed = intval($member['customaddfeed']); if($customaddfeed > 0) { $customaddfeed = sprintf('%03b', $customaddfeed); for($i = 1; $i <= 3; $i++) { $feedchecks[$i] = $customaddfeed[3 - $i] ? 'checked="checked"' : ''; } } $defaultcheck = $customaddfeed == 0 ? 'checked="checked"' : ''; $customcheck = $feedchecks || $customaddfeed < 0 ? 'checked="checked"' : ''; $showfeedcheck = $customaddfeed == 0 ? 'none' : ''; } include template('memcp_profile'); } else { require_once DISCUZ_ROOT.'./include/discuzcode.func.php'; $membersql = $memberfieldsql = $authstradd1 = $authstradd2 = $newpasswdadd = ''; if($typeid == 1) { $emailnew = dhtmlspecialchars($emailnew); if($questionidnew === '') { $secquesnew = $discuz_secques; $questionidnew = $answernew = ''; } else { $secquesnew = $questionidnew > 0 ? random(8) : ''; } if(($adminid == 1 || $adminid == 2 || $adminid == 3) && !$secquesnew && $admincp['forcesecques']) { showmessage('profile_admin_security_invalid'); } if(!empty($newpassword) && $newpassword != $newpassword2) { showmessage('profile_passwd_notmatch'); } require_once DISCUZ_ROOT.'./uc_client/client.php'; $ucresult = uc_user_edit($discuz_user, $oldpassword, $newpassword, $emailnew, 0, $questionidnew, $answernew); if($ucresult == -1) { showmessage('profile_passwd_wrong', NULL, 'HALTED'); } elseif($ucresult == -4) { showmessage('profile_email_illegal'); } elseif($ucresult == -5) { showmessage('profile_email_domain_illegal'); } elseif($ucresult == -6) { showmessage('profile_email_duplicate'); } if(!empty($newpassword)) { $newpasswdadd = ", password='".md5(random(10))."'"; } if($regverify == 1 && $adminid == 0 && $emailnew != $email && (($grouptype == 'member' && $adminid == 0) || $groupid == 8)) { $idstring = random(6); $groupid = 8; require_once DISCUZ_ROOT.'./forumdata/cache/usergroup_8.php'; $authstradd1 = ", groupid='8'"; $authstradd2 = "authstr='$timestamp\t2\t$idstring'"; sendmail("$discuz_userss <$emailnew>", 'email_verify_subject', 'email_verify_message'); } $membersql = "secques='$secquesnew', email='$emailnew' $newpasswdadd $authstradd1"; $memberfieldsql = $authstradd2; } elseif($typeid == 2) { $censorexp = '/^('.str_replace(array('\\*', "\r\n", ' '), array('.*', '|', ''), preg_quote(($censoruser = trim($censoruser)), '/')).')$/i'; if($censoruser && (@preg_match($censorexp, $nicknamenew) || @preg_match($censorexp, $cstatusnew))) { showmessage('profile_nickname_cstatus_illegal'); } if($msnnew && !isemail($msnnew)) { showmessage('profile_alipay_msn'); } $sitenew = !preg_match("/^http:\/\/$/i", $sitenew) ? (dhtmlspecialchars(trim(preg_match("/^https?:\/\/.+/i", $sitenew) ? $sitenew : ($sitenew ? 'http://'.$sitenew : '')))) : ''; $icqnew = preg_match ("/^([0-9]+)$/", $icqnew) && strlen($icqnew) >= 5 && strlen($icqnew) <= 12 ? $icqnew : ''; $qqnew = preg_match ("/^([0-9]+)$/", $qqnew) && strlen($qqnew) >= 5 && strlen($qqnew) <= 12 ? $qqnew : ''; $bdaynew = datecheck($bdaynew) ? $bdaynew : '0000-00-00'; $yahoonew = dhtmlspecialchars($yahoonew); $msnnew = dhtmlspecialchars($msnnew); $msnnew = "$msnnew\t{$member[msn][1]}"; $taobaonew = dhtmlspecialchars($taobaonew); $alipaynew = dhtmlspecialchars($alipaynew); $nicknamenew = $allownickname ? cutstr(censor(dhtmlspecialchars($nicknamenew)), 30) : ''; $cstatusadd = $allowcstatus ? ', customstatus=\''.cutstr(censor(dhtmlspecialchars($cstatusnew)), 30).'\'' : ''; $gendernew = empty($gendernew) ? 0 : intval($gendernew); $locationnew = cutstr(censor(dhtmlspecialchars($locationnew)), 30); if($maxsigsize) { if(strlen($signaturenew) > $maxsigsize) { showmessage('profile_sig_toolong'); } } else { $signaturenew = ''; } $signaturenew = censor($signaturenew); $sigstatusnew = $signaturenew ? 1 : 0; $bionew = censor(dhtmlspecialchars($bionew)); $sightmlnew = discuzcode(stripslashes($signaturenew), 1, 0, 0, 0, $allowsigbbcode, $allowsigimgcode, 0, 0, 1); $biohtmlnew = discuzcode(stripslashes($bionew), 1, 0, 0, 0, $allowbiobbcode, $allowbioimgcode, 0, 0, 1); if($member['msn'][1]) { if(strpos(strtolower($sightmlnew), '[imme]') !== FALSE) { $sightmlnew = str_replace('[imme]', "<imme><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' /></a></imme>", $sightmlnew); } if(strpos(strtolower($biohtmlnew), '[imme]') !== FALSE) { $biohtmlnew = str_replace('[imme]', "<imme><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' /></a></imme>", $biohtmlnew); } } $sightmlnew = addslashes($sightmlnew); $biohtmlnew = addslashes($biohtmlnew); $membersql = "gender='$gendernew', bday='$bdaynew', sigstatus='$sigstatusnew'"; $memberfieldsql = "nickname='$nicknamenew', site='$sitenew', location='$locationnew', icq='$icqnew', qq='$qqnew', yahoo='$yahoonew', msn='$msnnew', taobao='$taobaonew', alipay='$alipaynew', bio='$biohtmlnew', sightml='$sightmlnew' $cstatusadd"; if($_DCACHE['fields_required'] || $_DCACHE['fields_optional']) { $fieldadd = array(); foreach(array_merge($_DCACHE['fields_required'], $_DCACHE['fields_optional']) as $field) { $field_key = 'field_'.$field['fieldid']; $field_val = trim(${'field_'.$field['fieldid'].'new'}); if($field['required'] && $field_val == '' && !($field['unchangeable'] && $member[$field_key])) { showmessage('profile_required_info_invalid'); } elseif($field['selective'] && $field_val != '' && !isset($field['choices'][$field_val])) { showmessage('undefined_action', NULL, 'HALTED'); } elseif(!$field['unchangeable'] || !$member[$field_key]) { $fieldadd[] = "$field_key='".dhtmlspecialchars($field_val)."'"; } } if(!empty($fieldadd)) { $memberfieldsql .= ', '.implode(', ', $fieldadd); } } } else { $tppnew = in_array($tppnew, array(10, 20, 30)) ? $tppnew : 0; $pppnew = in_array($pppnew, array(5, 10, 15)) ? $pppnew : 0; $editormodenew = in_array($editormodenew, array(0, 1, 2)) ? $editormodenew : 2; $ssnew = in_array($ssnew, array(0, 1)) ? $ssnew : 2; $sanew = in_array($sanew, array(0, 1)) ? $sanew : 2; $sinew = in_array($sinew, array(0, 1)) ? $sinew : 2; $dateconvertnew = $dateconvertnew ? 1 : 0; $customshownew = base_convert($dateconvertnew.$ssnew.$sanew.$sinew, 3, 10); $dateformatnew = ($dateformatnew = intval($dateformatnew)) && !empty($userdateformat[$dateformatnew -1]) ? $dateformatnew : 0; $invisiblenew = $allowinvisible && $invisiblenew ? 1 : 0; $showemailnew = empty($showemailnew) ? 0 : 1; $styleid = empty($styleidnew) ? $styleid : $styleidnew; if($customaddfeednew) { $customaddfeednew = $addfeed[1] || $addfeed[2] ||$addfeed[3] ? bindec(intval($addfeed[3]).intval($addfeed[2]).intval($addfeed[1])) : '-1'; } if($creditnoticenew) { dsetcookie('discuz_creditnoticedisable', '', -31536000, ''); } $disablepromptnewary = array(); foreach($prompts as $promptkey => $promptdata) { if($promptkey == 'newbietask') { continue; } if(empty($disablepromptnew[$promptkey])) { $disablepromptnewary[] = $promptkey; } } dsetcookie('disableprompt', implode('|', $disablepromptnewary), 31536000); $membersql = "styleid='$styleidnew', showemail='$showemailnew', timeoffset='$timeoffsetnew', tpp='$tppnew', ppp='$pppnew', editormode='$editormodenew', customshow='$customshownew', newsletter='$newsletternew', invisible='$invisiblenew', timeformat='$timeformatnew', dateformat='$dateformatnew', pmsound='$pmsoundnew', customaddfeed='$customaddfeednew'"; } if($membersql) { $db->query("UPDATE {$tablepre}members SET $membersql WHERE uid='$discuz_uid'"); } $query = $db->query("SELECT uid FROM {$tablepre}memberfields WHERE uid='$discuz_uid'"); if(!$db->num_rows($query)) { $db->query("REPLACE INTO {$tablepre}memberfields (uid) VALUES ('$discuz_uid')"); } if($memberfieldsql) { $db->query("UPDATE {$tablepre}memberfields SET $memberfieldsql WHERE uid='$discuz_uid'"); } if($prompts['newbietask'] && $newbietaskid && $newbietasks[$newbietaskid]['scriptname'] == 'modifyprofile') { require_once DISCUZ_ROOT.'./include/task.func.php'; task_newbie_complete(); $msgforward = unserialize($_DCACHE['settings']['msgforward']); $msgforward['refreshtime'] = 9999999999; $_DCACHE['settings']['msgforward'] = serialize($msgforward); } manyoulog('user', $discuz_uid, 'update'); if($type == 1 && !empty($authstradd1) && !empty($authstradd2)) { showmessage('profile_email_verify'); } else { showmessage('profile_succeed', 'memcp.php?action=profile&typeid='.$typeid); } } } elseif($action == 'credits') { $taxpercent = sprintf('%1.2f', $creditstax * 100).'%'; if($creditspolicy['promotion_visit'] || $creditspolicy['promotion_register']) { $promotion_visit = $promotion_register = $space = ''; foreach(array('promotion_visit', 'promotion_register') as $val) { if(!empty($creditspolicy[$val]) && is_array($creditspolicy[$val])) { foreach($creditspolicy[$val] as $id => $policy) { $$val .= $space.$extcredits[$id]['title'].' +'.$policy; $space = '&nbsp;'; } } } } if(submitcheck('transfersubmit')) { if($transferstatus) { if(!submitcheck('confirm')) { $to = $db->result_first("SELECT username FROM {$tablepre}members WHERE username='$to'"); include template('memcp_credits_action'); } else { $amount = intval($amount); require_once DISCUZ_ROOT.'./uc_client/client.php'; $ucresult = uc_user_login($discuz_user, $password); list($tmp['uid']) = daddslashes($ucresult); if($tmp['uid'] <= 0) { showmessage('credits_password_invalid'); } elseif($amount <= 0) { showmessage('credits_transaction_amount_invalid'); } elseif(${'extcredits'.$creditstrans} - $amount < ($minbalance = $transfermincredits)) { showmessage('credits_balance_insufficient'); } elseif(!($netamount = floor($amount * (1 - $creditstax)))) { showmessage('credits_net_amount_iszero'); } $member = $db->fetch_first("SELECT uid, username FROM {$tablepre}members WHERE username='$to'"); if(!$member) { showmessage('credits_transfer_send_nonexistence'); } elseif($member['uid'] == $discuz_uid) { showmessage('credits_transfer_self'); } $creditsarray[$creditstrans] = -$amount; updatecredits($discuz_uid, $creditsarray); $db->query("UPDATE {$tablepre}members SET extcredits$creditstrans=extcredits$creditstrans+'$netamount' WHERE uid='$member[uid]'"); $db->query("INSERT INTO {$tablepre}creditslog (uid, fromto, sendcredits, receivecredits, send, receive, dateline, operation) VALUES ('$discuz_uid', '".addslashes($member['username'])."', '$creditstrans', '$creditstrans', '$amount', '0', '$timestamp', 'TFR'), ('$member[uid]', '$discuz_user', '$creditstrans', '$creditstrans', '0', '$netamount', '$timestamp', 'RCV')"); if(!empty($transfermessage)) { $transfermessage = stripslashes($transfermessage); $transfertime = gmdate($GLOBALS['_DCACHE']['settings']['dateformat'].' '.$GLOBALS['_DCACHE']['settings']['timeformat'], $timestamp + $timeoffset * 3600); sendnotice($member['uid'], 'transfer', 'systempm'); } showmessage('credits_transaction_succeed', '', 1); } } else { showmessage('action_closed', NULL, 'HALTED'); } } elseif(submitcheck('exchangesubmit')) { if(($exchangestatus || $outextcredits) && $outextcredits[$tocredits] || $extcredits[$fromcredits]['ratio'] && $extcredits[$tocredits]['ratio']) { if(!submitcheck('confirm')) { $outexange = strexists($tocredits, '|'); if($outexange) { $netamount = floor($exchangeamount * $outextcredits[$tocredits]['ratiosrc'][${'fromcredits_'.$outi}] / $outextcredits[$tocredits]['ratiodesc'][${'fromcredits_'.$outi}]); $fromcredits = ${'fromcredits_'.$outi}; } else { if($extcredits[$tocredits]['ratio'] < $extcredits[$fromcredits]['ratio']) { $netamount = ceil($exchangeamount * $extcredits[$tocredits]['ratio'] / $extcredits[$fromcredits]['ratio'] * (1 + $creditstax)); } else { $netamount = floor($exchangeamount * $extcredits[$tocredits]['ratio'] / $extcredits[$fromcredits]['ratio'] * (1 + $creditstax)); } } include template('memcp_credits_action'); } else { if(!$outexange && !$extcredits[$tocredits]['ratio']) { showmessage('credits_exchange_invalid'); } $amount = intval($amount); if($outexange) { $netamount = floor($amount * $outextcredits[$tocredits]['ratiosrc'][$fromcredits] / $outextcredits[$tocredits]['ratiodesc'][$fromcredits]); } else { if($extcredits[$tocredits]['ratio'] < $extcredits[$fromcredits]['ratio']) { $netamount = ceil($amount * $extcredits[$tocredits]['ratio'] / $extcredits[$fromcredits]['ratio'] * (1 + $creditstax)); } else { $netamount = floor($amount * $extcredits[$tocredits]['ratio'] / $extcredits[$fromcredits]['ratio'] * (1 + $creditstax)); } } require_once DISCUZ_ROOT.'./uc_client/client.php'; $ucresult = uc_user_login($discuz_user, $password); list($tmp['uid']) = daddslashes($ucresult); if($tmp['uid'] <= 0) { showmessage('credits_password_invalid'); } elseif($fromcredits == $tocredits) { showmessage('credits_exchange_invalid'); } elseif($amount <= 0) { showmessage('credits_transaction_amount_invalid'); } elseif(${'extcredits'.$fromcredits} - $netamount < ($minbalance = $exchangemincredits)) { showmessage('credits_balance_insufficient'); } elseif(!$outexange && !$netamount) { showmessage('credits_net_amount_iszero'); } if(!$outexange && !$extcredits[$fromcredits]['allowexchangeout']) { showmessage('extcredits_disallowexchangeout'); } if(!$outexange && !$extcredits[$tocredits]['allowexchangein']) { showmessage('extcredits_disallowexchangein'); } if(!$outexange) { $creditsarray[$fromcredits] = -$netamount; $creditsarray[$tocredits] = $amount; updatecredits($discuz_uid, $creditsarray); } else { if(!array_key_exists($fromcredits, $outextcredits[$tocredits]['creditsrc'])) { showmessage('extcredits_dataerror', NULL, 'HALTED'); } list($toappid, $tocredits) = explode('|', $tocredits); $ucresult = uc_credit_exchange_request($discuz_uid, $fromcredits, $tocredits, $toappid, $amount); if(!$ucresult) { showmessage('extcredits_dataerror', NULL, 'HALTED'); } $creditsarray[$fromcredits] = -$netamount; updatecredits($discuz_uid, $creditsarray); $netamount = $amount; $amount = $tocredits = 0; } $db->query("INSERT INTO {$tablepre}creditslog (uid, fromto, sendcredits, receivecredits, send, receive, dateline, operation) VALUES ('$discuz_uid', '$discuz_user', '$fromcredits', '$tocredits', '$netamount', '$amount', '$timestamp', 'EXC')"); showmessage('credits_transaction_succeed', '', 1); } } else { showmessage('action_closed', NULL, 'HALTED'); } } elseif(submitcheck('addfundssubmit')) { if($ec_ratio) { if(!submitcheck('confirm')) { $price = round(($addfundamount / $ec_ratio * 100) / 100, 2); include template('memcp_credits_action'); } else { include language('misc'); $amount = intval($amount); if(!$amount || ($ec_mincredits && $amount < $ec_mincredits) || ($ec_maxcredits && $amount > $ec_maxcredits)) { showmessage('credits_addfunds_amount_invalid'); } if($db->result_first("SELECT COUNT(*) FROM {$tablepre}orders WHERE uid='$discuz_uid' AND submitdate>='$timestamp'-180 LIMIT 1")) { showmessage('credits_addfunds_ctrl'); } if($ec_maxcreditspermonth) { $query = $db->query("SELECT SUM(amount) FROM {$tablepre}orders WHERE uid='$discuz_uid' AND submitdate>='$timestamp'-2592000 AND status IN (2, 3)"); if(($db->result($query, 0)) + $amount > $ec_maxcreditspermonth) { showmessage('credits_addfunds_toomuch'); } } $price = round(($amount / $ec_ratio * 100) / 100, 2); $orderid = ''; //$apitype = 'tenpay'; require_once DISCUZ_ROOT.'./include/trade.func.php'; $requesturl = credit_payurl($price, $orderid); $query = $db->query("SELECT orderid FROM {$tablepre}orders WHERE orderid='$orderid'"); if($db->num_rows($query)) { showmessage('credits_addfunds_order_invalid'); } $db->query("INSERT INTO {$tablepre}orders (orderid, status, uid, amount, price, submitdate) VALUES ('$orderid', '1', '$discuz_uid', '$amount', '$price', '$timestamp')"); showmessage('credits_addfunds_succeed', $requesturl); } } else { showmessage('action_closed', NULL, 'HALTED'); } } else { $extcredits_exchange = array(); if(!empty($extcredits)) { foreach($extcredits as $key => $value) { if($value['allowexchangein'] || $value['allowexchangeout']) { $extcredits_exchange['extcredits'.$key] = array('title' => $value['title'], 'unit' => $value['unit']); } } } include template('memcp_credits'); } } elseif($action == 'creditslog') { if($operation == 'paymentlog') { $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $query = $db->query("SELECT COUNT(*) FROM {$tablepre}paymentlog WHERE uid='$discuz_uid'"); $multipage = multi($db->result($query, 0), $tpp, $page, "memcp.php?action=creditslog&amp;operation=paymentlog"); $totalamount = $db->result($query, 1); $loglist = array(); $query = $db->query("SELECT p.*, f.fid, f.name, t.subject, t.author, t.dateline AS tdateline FROM {$tablepre}paymentlog p LEFT JOIN {$tablepre}threads t ON t.tid=p.tid LEFT JOIN {$tablepre}forums f ON f.fid=t.fid WHERE p.uid='$discuz_uid' ORDER BY p.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['authorenc'] = rawurlencode($log['authorenc']); $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['tdateline'] = dgmdate("$dateformat $timeformat", $log['tdateline'] + $timeoffset * 3600); $loglist[] = $log; } include template('memcp_credits_log'); } elseif($operation == 'incomelog') { $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $query = $db->query("SELECT COUNT(*) FROM {$tablepre}paymentlog WHERE authorid='$discuz_uid'"); $multipage = multi($db->result($query, 0), $tpp, $page, "memcp.php?action=creditslog&amp;operation=incomelog"); $loglist = array(); $query = $db->query("SELECT p.*, m.username, f.fid, f.name, t.subject, t.dateline AS tdateline FROM {$tablepre}paymentlog p LEFT JOIN {$tablepre}threads t ON t.tid=p.tid LEFT JOIN {$tablepre}forums f ON f.fid=t.fid LEFT JOIN {$tablepre}members m ON m.uid=p.uid WHERE p.authorid='$discuz_uid' ORDER BY p.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['tdateline'] = dgmdate("$dateformat $timeformat", $log['tdateline'] + $timeoffset * 3600); $loglist[] = $log; } include template('memcp_credits_log'); } elseif($operation == 'attachpaymentlog') { $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $query = $db->query("SELECT COUNT(*) FROM {$tablepre}attachpaymentlog WHERE uid='$discuz_uid'"); $multipage = multi($db->result($query, 0), $tpp, $page, "memcp.php?action=creditslog&amp;operation=attachpaymentlog"); $loglist = array(); $query = $db->query("SELECT ap.*, a.filename, a.pid, a.dateline as adateline, t.subject, t.tid, m.username FROM {$tablepre}attachpaymentlog ap LEFT JOIN {$tablepre}attachments a ON a.aid=ap.aid LEFT JOIN {$tablepre}threads t ON t.tid=a.tid LEFT JOIN {$tablepre}members m ON m.uid=ap.authorid WHERE ap.uid='$discuz_uid' ORDER BY ap.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['adateline'] = dgmdate("$dateformat $timeformat", $log['adateline'] + $timeoffset * 3600); $loglist[] = $log; } include template('memcp_credits_log'); } elseif($operation == 'attachincomelog') { $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $query = $db->query("SELECT COUNT(*) FROM {$tablepre}attachpaymentlog WHERE authorid='$discuz_uid'"); $multipage = multi($db->result($query, 0), $tpp, $page, "memcp.php?action=creditslog&amp;operation=attachincomelog"); $totalamount = $db->result($query, 1); $loglist = array(); $query = $db->query("SELECT ap.*, a.filename, a.pid, a.dateline as adateline, t.subject, t.tid, m.username FROM {$tablepre}attachpaymentlog ap LEFT JOIN {$tablepre}attachments a ON a.aid=ap.aid LEFT JOIN {$tablepre}threads t ON t.tid=a.tid LEFT JOIN {$tablepre}members m ON m.uid=ap.uid WHERE ap.authorid='$discuz_uid' ORDER BY ap.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['adateline'] = dgmdate("$dateformat $timeformat", $log['adateline'] + $timeoffset * 3600); $loglist[] = $log; } include template('memcp_credits_log'); } elseif($operation == 'rewardpaylog') { $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $query = $db->query("SELECT COUNT(*) FROM {$tablepre}rewardlog WHERE authorid='$discuz_uid'"); $multipage = multi($db->result($query, 0), $tpp, $page, "memcp.php?action=creditslog&amp;operation=incomelog"); $loglist = array(); $query = $db->query("SELECT r.*, m.uid, m.username , f.fid, f.name, t.subject, t.price FROM {$tablepre}rewardlog r LEFT JOIN {$tablepre}threads t ON t.tid=r.tid LEFT JOIN {$tablepre}forums f ON f.fid=t.fid LEFT JOIN {$tablepre}members m ON m.uid=r.answererid WHERE r.authorid='$discuz_uid' ORDER BY r.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['price'] = abs($log['price']); $loglist[] = $log; } include template('memcp_credits_log'); } elseif($operation == 'rewardincomelog') { $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $query = $db->query("SELECT COUNT(*) FROM {$tablepre}rewardlog WHERE answererid='$discuz_uid'"); $multipage = multi($db->result($query, 0), $tpp, $page, "memcp.php?action=creditslog&amp;operation=incomelog"); $loglist = array(); $query = $db->query("SELECT r.*, m.uid, m.username, f.fid, f.name, t.subject, t.price FROM {$tablepre}rewardlog r LEFT JOIN {$tablepre}threads t ON t.tid=r.tid LEFT JOIN {$tablepre}forums f ON f.fid=t.fid LEFT JOIN {$tablepre}members m ON m.uid=r.authorid WHERE r.answererid='$discuz_uid' and r.authorid>0 ORDER BY r.dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $log['price'] = abs($log['price']); $loglist[] = $log; } include template('memcp_credits_log'); } else { $operation = 'creditslog'; $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $query = $db->query("SELECT COUNT(*) FROM {$tablepre}creditslog WHERE uid='$discuz_uid'"); $multipage = multi($db->result($query, 0), $tpp, $page, "memcp.php?action=creditslog&amp;operation=creditslog"); $loglist = array(); $query = $db->query("SELECT * FROM {$tablepre}creditslog WHERE uid='$discuz_uid' ORDER BY dateline DESC LIMIT $start_limit, $tpp"); while($log = $db->fetch_array($query)) { $log['fromtoenc'] = rawurlencode($log['fromto']); $log['dateline'] = dgmdate("$dateformat $timeformat", $log['dateline'] + $timeoffset * 3600); $loglist[] = $log; } include template('memcp_credits_log'); } } elseif($action == 'usergroups') { require_once DISCUZ_ROOT.'./include/forum.func.php'; // if(!$allowmultigroups) { // showmessage('group_nopermission', NULL, 'NOPERM'); // } $switchmaingroup = $grouppublic || $grouptype == 'member' ? 1 : 0; $extgroupidarray = $extgroupids ? explode("\t", $extgroupids) : array(); foreach($extgroupidarray as $key => $val) { $val = intval($val); if($val < 1) { unset($extgroupidarray[$key]); } else { $extgroupidarray[$key] = intval($val); } } if(implode("\t", $extgroupidarray) != $extgroupids) { $extgroupids = implode("\t", $extgroupidarray); $groupexpiryadd= empty($extgroupids) ? ", groupexpiry=''" : ''; $db->query("UPDATE {$tablepre}members SET extgroupids='$extgroupids' $groupexpiryadd WHERE uid='$discuz_uid'"); } if(empty($type)) { $groupterms = unserialize($db->result_first("SELECT groupterms FROM {$tablepre}memberfields WHERE uid='$discuz_uid'")); $maingroup = $extgroups = $publicgroups = $grouplist = array(); $query = $db->query("SELECT * FROM {$tablepre}usergroups WHERE (type='special' AND system<>'private' AND radminid='0') OR (type='member' AND '$credits'>=creditshigher AND '$credits'<creditslower) OR groupid IN ('$groupid'".($extgroupids ? ', '.str_replace("\t", ',', $extgroupids) : '').") ORDER BY type, system"); while($group = $db->fetch_array($query)) { if(!$group['allowmultigroups']) { $group['grouptitle'] = '<u>'.$group['grouptitle'].'</u>'; } $group['mainselected'] = $group['groupid'] == $groupid ? 'checked="checked"' : ''; $group['maindisabled'] = $switchmaingroup && (($group['system'] != 'private' && ($group['system'] == "0\t0" || $group['groupid'] == $groupid || in_array($group['groupid'], $extgroupidarray))) || $group['type'] == 'member') ? '' : 'disabled'; $group['allowsetmain'] = $switchmaingroup && (($group['system'] != 'private' && ($group['system'] == "0\t0" || $group['groupid'] == $groupid || in_array($group['groupid'], $extgroupidarray))) || $group['type'] == 'member') ? true : false; $group['dailyprice'] = $group['minspan'] = 0; if($group['system'] != 'private') { list($group['dailyprice'], $group['minspan']) = explode("\t", $group['system']); } if($group['groupid'] == $groupid && !empty($groupterms['main'])) { $group['expiry'] = gmdate($dateformat, $groupterms['main']['time'] + $timeoffset * 3600); } elseif(isset($groupterms['ext'][$group['groupid']])) { $group['expiry'] = gmdate($dateformat, $groupterms['ext'][$group['groupid']] + $timeoffset * 3600); } else { $group['expiry'] = '-'; } if($group['groupid'] == $groupid) { $maingroup = $group; $group['owned'] = true; } elseif(in_array($group['groupid'], $extgroupidarray)) { $extgroups[] = $group; $group['owned'] = true; } else { $group['owned'] = false; } if($group['system'] != 'private') { $publicgroups[$group['groupid']] = $group; } } $query = $db->query("SELECT * FROM {$tablepre}usergroups WHERE type!='system' ORDER BY type, creditshigher"); while($group = $db->fetch_array($query)) { $group['type'] = $group['type'] == 'special' && $group['radminid'] ? 'specialadmin' : $group['type']; $grouplist[$group['type']][] = $group; } include template('memcp_usergroups'); } else { if($type == 'main' && $switchmaingroup) { $edit = intval($edit); $group = $db->fetch_first("SELECT groupid, type, system, grouptitle, allowmultigroups FROM {$tablepre}usergroups WHERE groupid='$edit' AND (".($extgroupids ? 'groupid IN ('.str_replace("\t", ',', $extgroupids).') OR ' : '')."(type='special' AND system='0\t0' AND radminid='0') OR (type='member' AND '$credits'>=creditshigher AND '$credits'<creditslower))"); if(!$group) { showmessage('undefined_action', NULL, 'HALTED'); } if(!submitcheck('groupsubmit')) { include template('memcp_usergroups_misc'); dexit(); } $extgroupidsnew = $groupid; foreach(explode("\t", $extgroupids) as $extgroupid) { if($extgroupid && $extgroupid != $edit) { $extgroupidsnew .= "\t".$extgroupid; } } $adminidnew = in_array($adminid, array(1, 2, 3)) ? $adminid : ($group['type'] == 'special' ? -1 : 0); $db->query("UPDATE {$tablepre}members SET groupid='$edit', adminid='$adminidnew', extgroupids='$extgroupidsnew' WHERE uid='$discuz_uid'"); showmessage('usergroups_update_succeed', 'memcp.php?action=usergroups'); } elseif($type == 'extended') { $group = $db->fetch_first("SELECT groupid, type, system, grouptitle FROM {$tablepre}usergroups WHERE groupid='$edit' AND (".($extgroupids ? 'groupid IN ('.str_replace("\t", ',', $extgroupids).') OR ' : '')."(type='special' AND system<>'private' AND radminid='0'))"); if(!$group) { showmessage('undefined_action', NULL, 'HALTED'); } $join = !in_array($group['groupid'], explode("\t", $extgroupids)); $group['dailyprice'] = $group['minspan'] = 0; if($group['system'] != 'private') { list($group['dailyprice'], $group['minspan']) = explode("\t", $group['system']); if($group['dailyprice'] > -1 && $group['minspan'] == 0) { $group['minspan'] = 1; } } if(!isset($extcredits[$creditstrans])) { showmessage('credits_transaction_disabled'); } if(!submitcheck('groupsubmit')) { $usermoney = ${'extcredits'.$creditstrans}; $usermaxdays = $group['dailyprice'] > 0 ? round($usermoney / $group['dailyprice']) : 0; $group['minamount'] = $group['dailyprice'] * $group['minspan']; include template('memcp_usergroups_misc'); } else { $groupterms = unserialize($db->result_first("SELECT groupterms FROM {$tablepre}memberfields WHERE uid='$discuz_uid'")); if($join) { $extgroupidsarray = array(); foreach(array_unique(array_merge(explode("\t", $extgroupids), array($edit))) as $extgroupid) { if($extgroupid) { $extgroupidsarray[] = $extgroupid; } } $extgroupidsnew = implode("\t", $extgroupidsarray); if($group['dailyprice']) { if(($days = intval($days)) < $group['minspan']) { showmessage('usergroups_span_invalid'); } if(${'extcredits'.$creditstrans} - ($amount = $days * $group['dailyprice']) < ($minbalance = 0)) { showmessage('credits_balance_insufficient'); } $groupexpirynew = $timestamp + $days * 86400; $groupterms['ext'][$edit] = $groupexpirynew; $groupexpirynew = groupexpiry($groupterms); $db->query("UPDATE {$tablepre}members SET groupexpiry='$groupexpirynew', extgroupids='$extgroupidsnew', extcredits$creditstrans=extcredits$creditstrans-'$amount' WHERE uid='$discuz_uid'"); $db->query("UPDATE {$tablepre}memberfields SET groupterms='".addslashes(serialize($groupterms))."' WHERE uid='$discuz_uid'"); $db->query("INSERT INTO {$tablepre}creditslog (uid, fromto, sendcredits, receivecredits, send, receive, dateline, operation) VALUES ('$discuz_uid', '$discuz_user', '$creditstrans', '0', '$amount', '0', '$timestamp', 'UGP')"); } else { $db->query("UPDATE {$tablepre}members SET extgroupids='$extgroupidsnew' WHERE uid='$discuz_uid'"); } showmessage('usergroups_join_succeed', 'memcp.php?action=usergroups'); } else { if($edit != $groupid) { if(isset($groupterms['ext'][$edit])) { unset($groupterms['ext'][$edit]); } $groupexpirynew = groupexpiry($groupterms); $db->query("UPDATE {$tablepre}memberfields SET groupterms='".addslashes(serialize($groupterms))."' WHERE uid='$discuz_uid'"); } else { $groupexpirynew = 'groupexpiry'; } $extgroupidsarray = array(); foreach(explode("\t", $extgroupids) as $extgroupid) { if($extgroupid && $extgroupid != $edit) { $extgroupidsarray[] = $extgroupid; } } $extgroupidsnew = implode("\t", array_unique($extgroupidsarray)); $db->query("UPDATE {$tablepre}members SET groupexpiry='$groupexpirynew', extgroupids='$extgroupidsnew' WHERE uid='$discuz_uid'"); showmessage('usergroups_exit_succeed', 'memcp.php?action=usergroups'); } } } else { showmessage('usergroups_nonexistence'); } } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/memcp.php
PHP
asf20
37,883
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: faq.php 20957 2009-11-04 01:44:48Z monkey $ */ define('CURSCRIPT', 'faq'); require_once './include/common.inc.php'; $discuz_action = 51; $keyword = isset($keyword) ? dhtmlspecialchars($keyword) : ''; $faqparent = $faqsub = array(); $query = $db->query("SELECT id, fpid, title FROM {$tablepre}faqs ORDER BY displayorder"); while($faq = $db->fetch_array($query)) { if(empty($faq['fpid'])) { $faqparent[$faq['id']] = $faq; } else { $faqsub[$faq['fpid']][] = $faq; } } if($action == 'faq') { $id = intval($id); if($ffaq = $db->fetch_first("SELECT title FROM {$tablepre}faqs WHERE fpid='$id'")) { $navigation = "&raquo; $ffaq[title]"; $faqlist = array(); $messageid = empty($messageid) ? 0 : $messageid; $query = $db->query("SELECT id,title,message FROM {$tablepre}faqs WHERE fpid='$id' ORDER BY displayorder"); while($faq = $db->fetch_array($query)) { if(!$messageid) { $messageid = $faq['id']; } $faqlist[] = $faq; } } else { showmessage("faq_content_empty", 'faq.php'); } } elseif($action == 'search') { if(submitcheck('searchsubmit')) { $keyword = isset($keyword) ? trim($keyword) : ''; if($keyword) { $sqlsrch = ''; $searchtype = in_array($searchtype, array('all', 'title', 'message')) ? $searchtype : 'all'; switch($searchtype) { case 'all': $sqlsrch = "WHERE title LIKE '%$keyword%' OR message LIKE '%$keyword%'"; break; case 'title': $sqlsrch = "WHERE title LIKE '%$keyword%'"; break; case 'message': $sqlsrch = "WHERE message LIKE '%$keyword%'"; break; } $keyword = stripslashes($keyword); $faqlist = array(); $query = $db->query("SELECT fpid, title, message FROM {$tablepre}faqs $sqlsrch ORDER BY displayorder"); while($faq = $db->fetch_array($query)) { if(!empty($faq['fpid'])) { $faq['title'] = preg_replace("/(?<=[\s\"\]>()]|[\x7f-\xff]|^)(".preg_quote($keyword, '/').")(([.,:;-?!()\s\"<\[]|[\x7f-\xff]|$))/siU", "<u><b><font color=\"#FF0000\">\\1</font></b></u>\\2", stripslashes($faq['title'])); $faq['message'] = preg_replace("/(?<=[\s\"\]>()]|[\x7f-\xff]|^)(".preg_quote($keyword, '/').")(([.,:;-?!()\s\"<\[]|[\x7f-\xff]|$))/siU", "<u><b><font color=\"#FF0000\">\\1</font></b></u>\\2", stripslashes($faq['message'])); $faqlist[] = $faq; } } } else { showmessage('faq_keywords_empty', 'faq.php'); } } } elseif($action == 'credits') { if(empty($extcredits)) { showmessage('credits_disabled'); } require_once DISCUZ_ROOT.'./include/forum.func.php'; $forumlist = forumselect(FALSE, 0, $fid); $extgroups = array(); if($forum) { $query = $db->query("SELECT * FROM {$tablepre}usergroups ORDER BY (creditshigher<>'0' || creditslower<>'0') DESC, creditslower"); while($group = $db->fetch_array($query)) { $extgroups[$group['groupid']] = $group; } $perms = array('viewperm', 'postperm', 'replyperm', 'getattachperm', 'postattachperm'); foreach($perms as $perm) { if($forum[$perm]) { $groupids = explode("\t", $forum[$perm]); foreach($groupids as $id) { if($id) { $extgroups[$id]['perm'][$perm] = 1; } } } else { foreach($extgroups as $id => $data) { if($id == 7 && ($perm == 'viewperm' || $perm == 'getattachperm') || $id != 7) { $extgroups[$id]['perm'][$perm] = 1; } } } } } $policyarray = array(); foreach($creditspolicy as $operation => $policy) { !$forum && $policyarray[$operation] = $policy; if(in_array($operation, array('post', 'reply', 'digest', 'postattach', 'getattach'))) { if($forum) { $policyarray[$operation] = $forum[$operation.'credits'] ? $forum[$operation.'credits'] : $creditspolicy[$operation]; } } } $creditsarray = array(); for($i = 1; $i <= 8; $i++) { if(isset($extcredits[$i])) { foreach($policyarray as $operation => $policy) { $addcredits = in_array($operation, array('getattach', 'forum_getattach', 'sendpm', 'search')) ? -$policy[$i] : $policy[$i]; if($operation != 'lowerlimit') { $creditsarray[$operation][$i] = empty($policy[$i]) ? 0 : (is_numeric($policy[$i]) ? '<b>'.($addcredits > 0 ? '+'.$addcredits : $addcredits).'</b> '.$extcredits[$i]['unit'] : $policy[$i]); } else { $creditsarray[$operation][$i] = '<b>'.intval($addcredits).'</b> '.$extcredits[$i]['unit']; } } } } if(!$forum) { $query = $db->query("SELECT * FROM {$tablepre}usergroups WHERE type='member' ORDER BY type"); while($group = $db->fetch_array($query)) { $extgroups[] = $group; } } include template('credits'); exit; } elseif($action == 'grouppermission') { require_once './include/forum.func.php'; require_once language('misc'); $permlang = $language; unset($language); $searchgroupid = isset($searchgroupid) ? intval($searchgroupid) : $groupid; $groups = $grouplist = array(); $query = $db->query("SELECT groupid, type, grouptitle, radminid FROM {$tablepre}usergroups ORDER BY (creditshigher<>'0' || creditslower<>'0'), creditslower"); $cgdata = $nextgid = ''; while($group = $db->fetch_array($query)) { $group['type'] = $group['type'] == 'special' && $group['radminid'] ? 'specialadmin' : $group['type']; $groups[$group['type']][] = array($group['groupid'], $group['grouptitle']); $grouplist[$group['type']] .= '<option value="'.$group['groupid'].'"'.($searchgroupid == $group['groupid'] ? ' selected="selected"' : '').'>'.$group['grouptitle'].($groupid == $group['groupid'] ? ' &larr;' : '').'</option>'; if($group['groupid'] == $searchgroupid) { $cgdata = array($group['type'], count($groups[$group['type']]) - 1, $group['groupid']); } } if($cgdata[0] == 'member') { $nextgid = $groups[$cgdata[0]][$cgdata[1] + 1][0]; if($cgdata[1] > 0) { $gids[1] = $groups[$cgdata[0]][$cgdata[1] - 1]; } $gids[2] = $groups[$cgdata[0]][$cgdata[1]]; if($cgdata[1] < count($groups[$cgdata[0]]) - 1) { $gids[3] = $groups[$cgdata[0]][$cgdata[1] + 1]; if(count($gids) == 2) { $gids[4] = $groups[$cgdata[0]][$cgdata[1] + 2]; } } elseif(count($gids) == 2) { $gids[0] = $groups[$cgdata[0]][$cgdata[1] - 2]; } } else { $gids[1] = $groups[$cgdata[0]][$cgdata[1]]; } ksort($gids); $groupids = array(); foreach($gids as $row) { $groupids[] = $row[0]; } $query = $db->query("SELECT * FROM {$tablepre}usergroups u LEFT JOIN {$tablepre}admingroups a ON u.groupid=a.admingid WHERE u.groupid IN (".implodeids($groupids).")"); $groups = array(); while($group = $db->fetch_array($query)) { $group['maxattachsize'] = $group['maxattachsize'] / 1024; $group['maxsizeperday'] = $group['maxsizeperday'] / 1024; $group['maxbiosize'] = $group['maxbiosize'] ? $group['maxbiosize'] : 200; if($searchgroupid == $group['groupid']) { $currenti = $group['groupid']; } $groups[$group['groupid']] = $group; } $newgroups = $groupbperms = $grouppperms = $groupaperms = array(); foreach($groupids as $row) { $newgroups[$row] = $groups[$row]; } $groups = $newgroups;unset($newgroups); $group = $groups[$currenti]; $bperms = array('allowvisit','readaccess','allowviewpro','allowinvisible','allowsearch','allownickname','allowcstatus'); $pperms = array('allowpost','allowreply','allowpostpoll','allowvote','allowpostreward','allowpostactivity','allowpostdebate','allowposttrade','maxsigsize','allowsigbbcode','allowsigimgcode','maxbiosize','allowbiobbcode','allowbioimgcode','allowrecommend'); $aperms = array('allowgetattach', 'allowpostattach', 'allowsetattachperm', 'maxattachsize', 'maxsizeperday', 'attachextensions'); foreach(array('bperms', 'pperms', 'aperms') as $xperms) { foreach($$xperms as $xperm) { $prevv = ''; if(empty($view)) { $issame = TRUE; if($cgdata[0] == 'member') { $kn = 0; foreach($groups as $k => $row) { if($kn > 0) { if($prevv != $row[$xperm]) { $issame = FALSE; } } $prevv = $row[$xperm]; $kn++; } } else { $issame = FALSE; } } else { $issame = FALSE; } if(!$issame) { ${'group'.$xperms}[] = $xperm; } } } $viewextra = !empty($view) ? '&amp;view=all' : ''; include_once DISCUZ_ROOT.'./forumdata/cache/cache_forums.php'; $perms = array('viewperm', 'postperm', 'replyperm', 'getattachperm', 'postattachperm'); $query = $db->query("SELECT fid, viewperm, postperm, replyperm, getattachperm, postattachperm FROM {$tablepre}forumfields"); while($forum = $db->fetch_array($query)) { foreach($perms as $perm) { if($forum[$perm]) { $groupids = explode("\t", $forum[$perm]); if(in_array($searchgroupid, $groupids)) { $forumperm[$forum['fid']][$perm] = 1; } } elseif($searchgroupid == 7 && ($perm == 'viewperm' || $perm == 'getattachperm') || $searchgroupid != 7) { $forumperm[$forum['fid']][$perm] = 1; } } } foreach($_DCACHE['forums'] as $fid => $tmpforum) { switch($tmpforum['type']) { case 'group': if(!$tmpforum['status']) { unset($_DCACHE['forums'][$fid]); } break; case 'forum': $fup = $tmpforum['fup']; if(!$tmpforum['status'] || !$_DCACHE['forums'][$fup]['status']) { unset($_DCACHE['forums'][$fid]); } break; case 'sub': $fup = $tmpforum['fup']; $fupup = $_DCACHE['forums'][$fup]['fup']; if(!$tmpforum['status'] || !$_DCACHE['forums'][$fup]['status'] || !$_DCACHE['forums'][$fupup]['status']) { unset($_DCACHE['forums'][$fid]); } break; } } include template('my_grouppermission'); exit; } elseif($action == 'plugin' && !empty($id)) { list($identifier, $module) = explode(':', $id); if(!is_array($plugins['faq']) || !array_key_exists($id, $plugins['faq'])) { showmessage('undefined_action'); } $directory = $plugins['faq'][$id]['directory']; if(empty($identifier) || !preg_match("/^[a-z]+[a-z0-9_]*\/$/i", $directory) || !preg_match("/^[a-z0-9_\-]+$/i", $module)) { showmessage('undefined_action'); } if(@!file_exists(DISCUZ_ROOT.($modfile = './plugins/'.$directory.$module.'.inc.php'))) { showmessage('plugin_module_nonexistence'); } if(@in_array($identifier, $pluginlangs)) { @include_once DISCUZ_ROOT.'./forumdata/cache/cache_scriptlang.php'; } $navigation = '&raquo; '.$plugins['faq'][$id]['name']; $faqtpl = $identifier.':'.$module; include DISCUZ_ROOT.$modfile; } include template('faq'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/faq.php
PHP
asf20
10,677
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: seccode.php 16688 2008-11-14 06:41:07Z cnteacher $ */ define('CURSCRIPT', 'seccode'); define('NOROBOT', TRUE); require_once './include/common.inc.php'; $refererhost = parse_url($_SERVER['HTTP_REFERER']); $refererhost['host'] .= !empty($refererhost['port']) ? (':'.$refererhost['port']) : ''; if($seccodedata['type'] < 2 && ($refererhost['host'] != $_SERVER['HTTP_HOST'] || !$seccodestatus) || $seccodedata['type'] == 2 && !extension_loaded('ming') && $_POST['fromFlash'] != 1 || $seccodedata['type'] == 3 && $_GET['fromFlash'] != 1) { exit('Access Denied'); } if($seclevel) { if($update && $seccodedata['type'] != 3) { $seccode = random(6, 1) + $seccode{0} * 1000000; updatesession(); } } else { $key = $seccodedata['type'] != 3 ? '' : $_DCACHE['settings']['authkey'].date('Ymd'); list($seccode, $expiration, $seccodeuid) = explode("\t", authcode($_DCOOKIE['secc'], 'DECODE', $key)); if($seccodeuid != $discuz_uid || $timestamp - $expiration > 600) { exit('Access Denied'); } } if(!$nocacheheaders) { @dheader("Expires: -1"); @dheader("Cache-Control: no-store, private, post-check=0, pre-check=0, max-age=0", FALSE); @dheader("Pragma: no-cache"); } include_once './include/seccode.class.php'; $code = new seccode(); $code->code = $seccode; $code->type = $seccodedata['type']; $code->width = $seccodedata['width']; $code->height = $seccodedata['height']; $code->background = $seccodedata['background']; $code->adulterate = $seccodedata['adulterate']; $code->ttf = $seccodedata['ttf']; $code->angle = $seccodedata['angle']; $code->color = $seccodedata['color']; $code->size = $seccodedata['size']; $code->shadow = $seccodedata['shadow']; $code->animator = $seccodedata['animator']; $code->fontpath = DISCUZ_ROOT.'./images/fonts/'; $code->datapath = DISCUZ_ROOT.'./images/seccode/'; $code->includepath = DISCUZ_ROOT.'./include/'; $code->display(); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/seccode.php
PHP
asf20
2,041
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: admincp.js 20678 2009-10-14 08:17:35Z monkey $ */ function redirect(url) { window.location.replace(url); } function checkAll(type, form, value, checkall, changestyle) { var checkall = checkall ? checkall : 'chkall'; for(var i = 0; i < form.elements.length; i++) { var e = form.elements[i]; if(type == 'option' && e.type == 'radio' && e.value == value && e.disabled != true) { e.checked = true; } else if(type == 'value' && e.type == 'checkbox' && e.getAttribute('chkvalue') == value) { e.checked = form.elements[checkall].checked; } else if(type == 'prefix' && e.name && e.name != checkall && (!value || (value && e.name.match(value)))) { e.checked = form.elements[checkall].checked; if(changestyle && e.parentNode && e.parentNode.tagName.toLowerCase() == 'li') { e.parentNode.className = e.checked ? 'checked' : ''; } } } } function altStyle(obj) { function altStyleClear(obj) { var input, lis, i; lis = obj.parentNode.getElementsByTagName('li'); for(i=0; i < lis.length; i++){ lis[i].className = ''; } } var input, lis, i, cc, o; cc = 0; lis = obj.getElementsByTagName('li'); for(i=0; i < lis.length; i++){ lis[i].onclick = function(e) { o = BROWSER.ie ? event.srcElement.tagName : e.target.tagName; if(cc) { return; } cc = 1; input = this.getElementsByTagName('input')[0]; if(input.getAttribute('type') == 'checkbox' || input.getAttribute('type') == 'radio') { if(input.getAttribute('type') == 'radio') { altStyleClear(this); } if(BROWSER.ie || o != 'INPUT' && input.onclick) { input.click(); } if(this.className != 'checked') { this.className = 'checked'; input.checked = true; } else { this.className = ''; input.checked = false; } } } lis[i].onmouseup = function(e) { cc = 0; } } } var addrowdirect = 0; function addrow(obj, type) { var table = obj.parentNode.parentNode.parentNode.parentNode; if(!addrowdirect) { var row = table.insertRow(obj.parentNode.parentNode.parentNode.rowIndex); } else { var row = table.insertRow(obj.parentNode.parentNode.parentNode.rowIndex + 1); } var typedata = rowtypedata[type]; for(var i = 0; i <= typedata.length - 1; i++) { var cell = row.insertCell(i); cell.colSpan = typedata[i][0]; var tmp = typedata[i][1]; if(typedata[i][2]) { cell.className = typedata[i][2]; } tmp = tmp.replace(/\{(\d+)\}/g, function($1, $2) {return addrow.arguments[parseInt($2) + 1];}); cell.innerHTML = tmp; } addrowdirect = 0; } function dropmenu(obj){ showMenu({'ctrlid':obj.id, 'menuid':obj.id + 'child', 'evt':'mouseover'}); $(obj.id + 'child').style.top = (parseInt($(obj.id + 'child').style.top) - document.documentElement.scrollTop) + 'px'; } function textareasize(obj, op) { if(!op) { if(obj.scrollHeight > 70) { obj.style.height = (obj.scrollHeight < 300 ? obj.scrollHeight : 300) + 'px'; if(obj.style.position == 'absolute') { obj.parentNode.style.height = obj.style.height; } } } else { if(obj.style.position == 'absolute') { obj.style.position = ''; obj.style.width = ''; obj.parentNode.style.height = ''; } else { obj.parentNode.style.height = obj.parentNode.offsetHeight + 'px'; obj.style.width = BROWSER.ie > 6 || !BROWSER.ie ? '90%' : '600px'; obj.style.position = 'absolute'; } } } function showanchor(obj) { var navs = $('submenu').getElementsByTagName('li'); for(var i = 0; i < navs.length; i++) { if(navs[i].id.substr(0, 4) == 'nav_' && navs[i].id != obj.id) { navs[i].className = ''; $(navs[i].id.substr(4)).style.display = 'none'; if($(navs[i].id.substr(4) + '_tips')) $(navs[i].id.substr(4) + '_tips').style.display = 'none'; } } obj.className = 'current'; currentAnchor = obj.id.substr(4); $(currentAnchor).style.display = ''; if($(currentAnchor + '_tips')) $(currentAnchor + '_tips').style.display = ''; if($(currentAnchor + 'form')) { $(currentAnchor + 'form').anchor.value = currentAnchor; } else if($('cpform')) { $('cpform').anchor.value = currentAnchor; } } function updatecolorpreview(obj) { $(obj).style.background = $(obj + '_v').value; } function entersubmit(e, name) { var e = e ? e : event; if(e.keyCode != 13) { return; } var tag = BROWSER.ie ? e.srcElement.tagName : e.target.tagName; if(tag != 'TEXTAREA') { doane(e); if($('submit_' + name).offsetWidth) { $('formscrolltop').value = document.documentElement.scrollTop; $('submit_' + name).click(); } } } function parsetag(tag) { var str = document.body.innerHTML.replace(/(^|>)([^<]+)(?=<|$)/ig, function($1, $2, $3) { if(tag && $3.indexOf(tag) != -1) { $3 = $3.replace(tag, '<h_>'); } return $2 + $3; }); document.body.innerHTML = str.replace(/<h_>/ig, function($1, $2) { return '<font color="#c60a00">' + tag + '</font>'; }); } if(ISFRAME) { try { _attachEvent(document.documentElement, 'keydown', parent.resetEscAndF5); } catch(e) {} }
zyyhong
trunk/jiaju001/newbbs/bbs/images/admincp/admincp.js
JavaScript
asf20
5,231
/*(C) 2001-2009 Comsenz Inc.*/ *{ word-wrap:break-word; outline:none; } body{ background:#FFF; text-align:center; } body, td, input, textarea, select, button{ color:#555; font:12px "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif; } body, ul, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset { margin:0; padding:0; } ul{ list-style:none; } h1, h2, h3, h4, h5, h6{ font-size:12px; } a{ color:#2366A8; text-decoration:none; } a:hover { text-decoration:underline; } a img{ border:none; } em, cite, th{ font-style:normal; font-weight:normal; } table{ border-collapse:collapse; } th{ text-align:left; } label{ cursor:pointer; } /* form */ textarea, input, select{ padding:2px; border:1px solid; border-color:#666 #ccc #ccc #666; background:#F9F9F9; color:#333; } .txt, select, .vmiddle { vertical-align:middle; } .txt:hover, .txt:focus, textarea:hover, textarea:focus{ border-color:#09C; background:#F5F9FD; } .hover:hover { background:#F5F9FD; } .txtnobd{ border:1px solid #FFF; background:#FFF; cursor:pointer; } .radio, .checkbox{ border:none; background:none; vertical-align:middle; } .checkbox{ height:14px; } .btn{ margin:3px 0; padding:2px 5px; *padding:4px 5px 1px; border-color:#ddd #666 #666 #ddd; background:#DDD; color:#000; cursor:pointer; vertical-align:middle; } .uploadbtn{ width:250px; border-color:#999; } .line { border-bottom: 1px solid #0F0; } /* title */ h3{ margin-bottom:10px; font-size:14px; color:#09C; } .spectitle{ border-bottom:1px dashed #F66; } /* mainbox */ .mainhd{ position:relative; overflow:hidden; text-align:left; height:90px; line-height:88px; background:url(bg_repx.gif) repeat-x; } .logo{ text-indent:-9999px; width:135px; height:80px; background:url(logo.gif) no-repeat 15px 13px; } .uinfo{ position:absolute; z-index:4; line-height:32px; top:10px; right:20px; } .uinfo a{ color:#666; } .uinfo em{ margin-right:5px; font-weight:700; } .uinfo em a{ text-decoration:underline; } .uinfo p{ float:left; } .btnlink a{ display:block; margin-left:15px; width:63px; height:32px; text-align:center; background:url(bg_repno.gif) no-repeat -50px -150px; } .navbg{ position:absolute; z-index:1; top:52px; left:153px; width:6px; height:37px; background:#F7FAFD; } .nav{ position:absolute; z-index:2; top:14px; left:159px; width:100%; height:75px; } .nav ul{ overflow:hidden; position:relative; z-index:4; font-size:14px; } .nav li{ float:left; height:43px; line-height:43px; background:url(btn_block.gif) right -115px no-repeat; } .nav li em{ display:block; } .nav li a{ padding:5px 10px; color:#639BB0; font-weight:700; } .nav li a:hover{ color:#09C; text-decoration:none; } .nav li .diffcolor{ color:#F60; } .nav li.navon{ line-height:33px; background:url(btn_block.gif) no-repeat; } .nav li.navon em{ display:block; background:url(btn_block.gif) right -50px no-repeat; } .nav li.navon em a{ display:block; background:url(btn_block.gif) center bottom no-repeat; color:#FFF; } .nav li.navon em a:hover{ color:#FFF; } .navbd { overflow:hidden; clear:both; position:absolute; z-index:3; top:38px; width:100%; height:5px; background:#09C; } .currentloca{ clear:both; height:32px; border-left:1px solid #B5CFD9; } .currentloca p{ padding-left:10px; line-height:25px; border-top:5px solid #FFF; border-bottom:2px solid #FFF; border-left:1px solid #FFF; background:#F2F9FD; } .sitemapbtn{ position:absolute; right:180px; *right:175px; top:50px; line-height:100%; } .sitemapbtn span{ margin-right:3px; } .popupmenu_popup { width:400px; overflow:hidden; padding:10px; border:1px solid #A6C9D7; background:#FFF; font-size:12px; font-weight:400; text-align:left; } #fselect_menu { width:300px; } .popupmenu_popup em { display:block; clear: both; padding: 2px 5px; font-weight:700; background:#EAF4FB; } .popupmenu_popup em.hover { cursor:pointer; } .popupmenu_popup a { float: left; margin: 1px 9px 1px 0; padding-left:13px; width: 27%; background: url(bg_repno.gif) no-repeat 3px -43px; } .popupmenu_popup .current { font-weight:700; } .popupmenu_popup a.f, .popupmenu_popup a.s { float: none; display: block; width:80%; } .popupmenu_popup a.s { margin-left:2em; } .popupmenu_dropmenu { cursor: pointer; } .popupmenu_dropmenu em { margin-left:3px; background:url(bg_repno.gif) no-repeat 0 -145px; } .menutd{ background:#F2F9FD url(bg_repx_h.gif) right top no-repeat; } .menu{ position:relative; z-index:20; width:160px; } .menu ul{ position:absolute; top:10px; right:7px; list-style:none; width:153px; background:#F2F9FD url(bg_repx_h.gif) no-repeat 5px -20px; } .menu li{ margin:3px 0; *margin:0; height:auto !important; height:25px; overflow:hidden; } .menu li.a { margin-top:0; } .menu li a{ display:block; padding:4px 0 3px 30px; *padding:5px 0 3px 30px; background:url(bg_repno.gif) no-repeat 15px -43px; color:#666; } .menu li a:hover{ text-decoration:none; background:#EAF4FB url(bg_repno.gif) no-repeat 15px -43px; color:#2366A8; } .menu li a.tabon,.menu li a.tabon:hover{ text-decoration:none; background:#DEEFFA url(bg_repno.gif) no-repeat 15px -43px; color:#2366A8; } .mask{ padding-top:9px; background:url(bg_repx_hb.gif) repeat-x; } /* tab */ .tab1{ overflow:hidden; clear:both; margin-bottom:10px; } .tab1 li{ float:left; margin-right:3px; text-align:center; font-weight:700; } .tab1 a{ display:block; line-height:26px; color:#666; } .tab1 a span{ display:block; padding:0 7px; } .tab1 a:hover{ text-decoration:none; background:url(btn_block_2.gif) no-repeat 0 -52px; color:#09C; } .tab1 a:hover span{ display:block; background:url(btn_block_2.gif) no-repeat right -78px; } .tab1 .current{} .tab1 .current a{ background:url(btn_block_2.gif) no-repeat 0 0; color:#FFF; } .tab1 .current a span{ background:url(btn_block_2.gif) no-repeat right -26px; } .tab1 .current a em{ margin-left:3px; * margin-right:-5px; background:url(bg_repno.gif) no-repeat 0 -145px !important; background:url(bg_repno.gif) no-repeat 0 -147px; color:#666; } .tab1 .hasdropmenu{ margin-top:-1px; } .tab1 .hasdropmenu a em{ margin-left:3px; * margin-right:-5px; background:url(bg_repno.gif) no-repeat 0 -195px !important; background:url(bg_repno.gif) no-repeat 0 -197px; color:#FFF; } .dropmenu, .dropmenu1 { margin-left: -20px; white-space:nowrap; border:3px solid #A6C9D7; background:#F2F9FD; text-align:left; opacity:0.9; filter:Alpha(opacity=90); } .dropmenu1 { margin-left: 0px; padding: 5px; } .tab1 .dropmenu a{ padding:2px 7px; background:none !important; color:#666 !important; font-weight:400; } .tab1 .dropmenu a:hover{ background:#DEEFFA !important; } /* box */ #scrolllink{ position:absolute; z-index:10; left:15px; bottom:40px; } #scrolllink span { cursor: pointer; } .copyright{ position:absolute; z-index:10; left:5px; bottom:3px; padding-top:3px; border-top:1px dashed #DDD; text-align:left; line-height:150%; font-family:Tahoma; font-size:11px; } .logintb{ text-align:left; margin:120px auto 0; width:600px; } .login{ padding-right:30px; width:310px; height:150px; background:url(bg_login.gif) right 50% no-repeat; } .login h1{ text-indent:-9999px; margin-bottom:10px; width:262px; height:26px; background:url(login_title.gif) no-repeat; } .login p{ line-height:150%; } .logintitle{ float:left; clear:left; width:60px; line-height:180%; font-weight:700; font-size:14px; color:#666; } .loginform{ float:left; line-height:180%; font-size:14px; width:160px; } .loginform .txt{ margin-top:2px; width:160px; } .loginnofloat{ clear:both; } .loginnofloat .btn{ margin-left:60px; } .logintips{ line-height:160%; margin-left:25px; } .logintips a{ margin:0 5px; text-decoration:underline; } .footer{} .footer .copyright{ position:static; margin-top:120px; border:none; text-align:center; font-size:12px; } .footer p{ display:inline; } .container{ padding:9px 20px 20px; text-align:left; } .itemtitle{ clear:both; overflow:hidden; margin-bottom:0 !important; *margin-bottom:5px !important; margin-bottom:-5px; line-height:20px; } .itemtitle h3{ float:left; margin-right:20px; } .itemtitle ul{ float:left; line-height:18px; } .itemtitle .tab1{ clear:none; } .itemtitle .tab1 a{ line-height:20px; } .itemtitle .tab1 a span{ padding:0 7px; *padding:1px 7px 0; *line-height:19px; } .itemtitle .tab1 a:hover{ background:#F5F5F5 url(btn_block_3.gif) no-repeat 0 -40px; color:#09C; } .itemtitle .tab1 a:hover span{ background:url(btn_block_3.gif) no-repeat right -60px; } .itemtitle .tab1 .hasdropmenu a:hover{ color:#666; } .itemtitle .tab1 .current a{ background:url(btn_block_3.gif) no-repeat 0 0 !important; } .itemtitle .tab1 .current a span, .itemtitle .tab1 .current a:hover span{ background:url(btn_block_3.gif) no-repeat right -20px; color:#FFF; } .itemtitle .tab1 .dropmenu a{ background:none !important; } .itemtitle .tab1 .dropmenu a:hover{ background:#DEEFFA !important; } .floattop { position:fixed; z-index:300; top:0; left:20px; padding:8px 20px 8px 0; width:95%; background:#FFF; } * html .floattop { position:relative; top:expression(offsetParent ? offsetParent.scrollTop : 0); left: 0; margin-top: -10px; width: 100%; } .floattopempty { height: 30px !important; height: auto; } .stepstat{ *margin-bottom:10px; } .stepstat li{ float:left; margin-right:15px; color:#CCC; } .stepstat .current{ color:#090; } .infobox{ clear:both; margin-bottom:10px; padding:30px; text-align:center; border-top:4px solid #DEEFFA; border-bottom:4px solid #DEEEFA; background:#F2F9FD; zoom:1; } .infotitle1{ margin-bottom:10px; color:#09C; font-size:14px; font-weight:700; } .infotitle2{ margin-bottom:10px; color:#090; font-size:14px; font-weight:700; } .infotitle3{ margin-bottom:10px; color:#C00; font-size:14px; font-weight:700; } .cachelist{ overflow:hidden;} .cachelist li{ float:left; margin-right:10px; } .colorbox{ clear: both; padding:10px; border-top:4px solid #DEEFFA; border-bottom:4px solid #DEEFFA; background:#F2F9FD; zoom:1; } .extcredits{ margin:-5px 0 10px; } .extcredits a{ margin-right:5px; padding:2px 5px; line-height:220%; border:1px solid #B6CFD9; background:#FFF; white-space:nowrap; } .jswizard{ margin:10px 0; } .jswizard iframe { border: 1px dashed #DEEFFA; } .fileperms{ list-style:disc; margin:15px; } .fileperms li{ line-height:180%; } .tips{ margin-left:15px; color:#999; } .tips2{ line-height:180%; color:#999; word-break:break-all; } .tb2 .tipsblock{ background:none; margin-bottom:-10px; } .tipsblock ul{ margin-bottom:-11px; } .tipsblock li{ margin-bottom:5px; padding:0 0 5px 20px; line-height:160%; background:url(bg_repno.gif) no-repeat -340px 6px; } .tips a, .tips2 a, .tipsblock a{ margin:0 3px; text-decoration:underline; color:#666; } .tips a:hover, .tips2 a:hover, .tipsblock a:hover{ color:#09C; } /* table */ .tb{ clear:both; width:100%; margin-top: 8px} .tb th, .tb td{ padding:5px; } .tb1{} .th11, .th12{ width:60px; font-weight:700; } .tb1 .th12{ padding-top:7px; vertical-align:top; } .tb1 .tb2 th{ padding-top:0; } .tb1 .txt{ width:150px; } .tb1 strong{ margin-right:5px; color:#F60; } .first td{ padding-top:13px; } .first .th12{ padding-top:15px; } .bdtop td{ border-top:1px dashed #CAE4F7; } .bdbot td{ border-bottom:1px dashed #CAE4F7; } .td11{ width:350px; vertical-align:top; } .td11 li{ float:left; margin:0 10px 7px 0; *margin:-3px 10px 7px 0; } .td11 .clear{ margin:0; } .listtitle, .listtitlelong{ padding-top:3px; *padding-top:6px; width:80px; color:#09C; } .listtitlelong{ width:100px; } .td11 .txt{ width:70px; } .td11 .sginput .txt{ width:150px; } .td12{} .td12 li{ float:left; margin-right:10px; } .td12 .radio{ float:left; margin-top:4px; *float:none; *margin-top:0; } .td12 label{ float:left; margin-top:2px; *float:none; *margin-top:0; } .td12 .txt{ width:50px; } .checkboxlist{ width:720px; } .checkboxlist li{ float:left; width:90px; line-height:180%; white-space:nowrap; cursor:pointer; } .longtxt .txt{ width:400px; } .tarea{ width:400px; height:75px; } /* tb */ .tb2{} .tb2 tr.hover:hover .tips2{ color:#333; } .tb2 tr.hover:hover td { background: #F2F9FD; } .tb2.tdhover tr:hover td { background: none; } .tb2.tdhover tr td:hover { background: #F2F9FD; } .tb2 td{ padding:5px 5px 3px 0; border-top: 1px dotted #DEEFFB; } .tb2 th{ padding:5px 5px 3px 0; line-height:21px; font-size: 12px; } .tb2 .txt, .tb2 .txtnobd{ width:100px; margin-right:10px; } .td21{ width:150px; font-weight:700; } .td22{ width:100px; font-weight:700; } .td23{ width:100px; } .td24{ width:120px; } .td25{ width:50px; } .td25 .txt{ width:40px; } .td26{} .td26 .txt, .td26 .txtnobd{ width:90%; *width:280px; } .tb2 .td27{ padding:3px 0 3px 5px; font-weight:700; } .tb2 .td27:hover { background: none; } .td28 .txt{ width:40px; } .td29 .txt{ width:200px; } .staton{ text-indent:-9999px; width:20px; height:17px; background:url(bg_repno.gif) no-repeat -280px -250px; } .statoff{ text-indent:-9999px; background:url(bg_repno.gif) no-repeat -250px -347px; } .rowform{ width:306px; overflow:auto; } .tb2 .rowform{ padding-left:5px; } .rowform .txt, .rowform textarea{ margin-right:10px; width:250px; } .rowform select{ margin-right:10px; width:256px; } .rowform .radio{ margin-top:-2px !important; *margin-top:0 !important; *margin-top:-2px; } .rowform li{ float:left; margin-right:10px; white-space:nowrap; } .rowform .clear{ clear:both; float:none; margin-bottom:10px; } .rowform .nofloat{ clear:both; } .rowform li{ cursor:pointer; } .rowform .nofloat li{ float:none; margin-bottom:10px; cursor:pointer; } .partition, .partition2{ line-height:21px; font-weight:700; color:#09C; } .tb2 .partition{ padding:5px; background:url(bg_repx_hc.gif) repeat-x 0 -40px; } .dblist{} .dblist li{ float:left; margin-bottom:5px; width:168px; height:20px; white-space:nowrap; cursor:pointer; } .cfolder, .ofolder{ display:block; padding-left:50px; line-height:30px; background:url(bg_repno.gif) no-repeat -260px -50px; font-weight:700; } .ofolder{ background:url(bg_repno.gif) no-repeat -260px -100px; } .filenum{ margin:8px 0 0 20px; } .files{ padding:1px 0 1px 50px; background:url(bg_repno.gif) no-repeat -260px -150px; } .del{ padding-left:18px; background:url(bg_repno.gif) no-repeat 0 -285px; *background:url(bg_repno.gif) no-repeat 0 -286px; color:#E8594D; } .edited{ padding-left:18px; background:url(bg_repno.gif) no-repeat -100px -385px; *background:url(bg_repno.gif) no-repeat -100px -386px; color:#E8594D; } .unknown{ padding-left:18px; background:url(bg_repno.gif) no-repeat -50px -435px; *background:url(bg_repno.gif) no-repeat -50px -436px; color:#6189B8; } .correct{ padding-left:18px; background:url(bg_repno.gif) no-repeat 0 -485px; *background:url(bg_repno.gif) no-repeat 0 -486px; color:#70B759; } /* crons */ .crons{ width:200px; } .crons .txt{ margin-bottom:3px; width:150px; } /* faqlist & boardlist */ .node, .board{ padding-left:55px; background:url(bg_repno.gif) no-repeat -240px -550px; } .node .txt, .lastnode .txt, .newnode .txt{ width:250px; } .parentnode .txt{ width:250px; font-weight:700; } .parentboard .txt{ font-weight:700; } .lastnode, .lastboard{ padding-left:55px; background:url(bg_repno.gif) no-repeat -240px -600px; } .childboard{ padding-left:110px; background:url(bg_repno.gif) no-repeat -185px -550px; } .lastchildboard{ padding-left:110px; background:url(bg_repno.gif) no-repeat -185px -600px; } .boardattr{ position:absolute; left:340px; margin-top:-20px !important; margin-top:-19px; color:#999; } /* pick window */ .colorwd{ float:left; width:40px; height:21px; border-color:#ccc #666 #666 #ccc; } .tb3{ margin-top:-15px; border:none; } .tb3 th{ padding:10px 0 5px; } .tb3 td{ padding:0; line-height:180%; } /* custom menu */ .custom{ overflow:hidden; position:relative; width:950px; border:6px solid #A6C9D7; background:#FFF url(bg_custom.gif) repeat-y right top; } .cmain{ margin-right:160px; } .cnote{ margin:15px; line-height:20px; color:#CCC; } .cnote li{ float:left; margin-right:15px; } .cmlist{ clear:left; margin:10px 0 10px 15px; width:760px; table-layout:fixed; } .cmblock{ margin-bottom:10px; } .cmblock li{ line-height:150%; white-space:nowrap; } .cmlist a{ color:#666; } .cmlist h4{ margin-bottom:3px; color:#09C; } .cside{ float:right; display:inline; margin-right:5px; width:151px; text-align:left; } .cside h3{ position:relative; margin-bottom:0; padding:6px 0 0 5px; height:28px; line-height:28px; border-bottom:1px solid #A6C9D7; background:url(bg_custom_t.gif) repeat-x; } .ctitle1{ display:block; padding-left:25px; height:28px; background:url(btn_add2menu.gif) no-repeat 0 5px; color:#090; font-size:12px; } .ctitle1:hover{ text-decoration:none; } .cadmin{ position:absolute; top:-4px; right:-5px; padding:10px 10px 0; color:#666; font-size:12px; font-weight:400; } .cslist li{ height:1%; } .cslist li a{ display:block; padding:5px 5px 5px 30px; } .cslist li a:hover{ text-decoration:none; background:#DEEFFA; } .cslist li .pages{ margin-left:27px; } .cslist li .pages a{ display:inline; padding:2px 5px; } .cslist li .pages a:hover{ background:#09C; } .cfixbd{ position:absolute; right:5px; bottom:0; width:151px; height:5px; line-height:5px; font-size:1px; background:#FFF; overflow:hidden; } .custombar { white-space: nowrap; overflow:hidden; text-align:left; *height:23px !important; height:22px !important; height:23px; border-top:1px solid #B5CFD9;border-right:1px solid #B5CFD9; background:#DEEFFA; position:relative; top:0; margin-left:159px; margin-top:-23px; margin-right: 20px; padding-left: 5px; } .custombar em { border:1px solid #B5CFD9; border-right-width:2px; padding: 2px 4px; position:relative; top:0; margin-right:10px; } .custombar em a { color: #555; } .custombar em span { cursor: pointer; margin-left: 5px; background:url(close.gif) no-repeat 0 5px; } .custombar em.current { background: #FFF; } .custombar #custombar_add span { border:0; cursor:pointer; background:url(add.gif) no-repeat 0px 2px; width: 13px; height: 13px; } /* list */ .tpllist{ list-style:disc; margin:10px 15px; line-height:180%; } .tpllist2{ list-style:circle; margin:5px 25px; } .tpllist3{ list-style:square; margin:0 25px; } .userlist{ overflow:hidden; margin:10px 0; } .userlist li{ float:left; margin:0 10px 10px 0; white-space:nowrap; } .unum{ clear:both; display:block; width:100%; font-weight:700; } .safelist{ padding:10px 0; border-top:4px solid #DEEFFA; } .safelist li{ margin-bottom:5px; padding-left:20px; line-height:160%; background:url(bg_repno.gif) no-repeat -340px 6px; } .safelist p{ margin-bottom:5px; } .safelist .txt{ width:150px; } .infolist{} .infolist li{ clear:both; line-height:180%; } .infolist em{ float:left; width:120px; } .tb2 .threadopt{ border-bottom:1px solid #B5CFD9; background:none; } .threadtitle{ padding:10px !important; } .nowrap li{ float:left; white-space:nowrap; margin-right:5px; } /* pages */ .pages{ clear:both; margin:10px 0; } .pages em, .pages a, .pages strong{ text-decoration:none; margin-left:3px; padding:2px 5px; border:1px solid #E5E5E5; } .pages a:hover{ text-decoration:none; border:1px solid #09C; background:#09C; color:#FFF; } .pages strong{ border:none; font-weight:700; } .pages kbd input{ margin-left:5px; width:20px; vertical-align:middle; } .cuspages{ margin:3px 0; line-height:200%; } .cuspages .pages{ display:inline; clear:none; margin-right:10px; } .fixsel select{ margin:3px 5px 3px 0; } /* link */ .addtr{ padding-left:17px; line-height:25px; background:url(bg_repno.gif) no-repeat 0 1px; *background:url(bg_repno.gif) no-repeat 0 0; color:#F60; } .act{ margin:0 5px; text-decoration:underline; } .addchildboard{ padding-left:17px; line-height:25px; background:url(bg_repno.gif) no-repeat 0 -599px; *background:url(bg_repno.gif) no-repeat 0 -600px; color:#FFF; } .addchildboard:hover{ text-decoration:none; color:#F60; } .switch{ color:#09C; } .switch:hover{ text-decoration:none; } .switch img{ margin-right:5px; vertical-align:middle; } .lightlink{ color:#666; text-decoration:underline;} .lightlink2{ color:#666; } .parentlink{ color:#09C; text-decoration:underline; } .menulink{ background:none !important; text-decoration:underline; } .menulink:hover{ text-decoration:underline !important; } /* admincp default */ .anno{ width:200px; } .anno p{ margin:4px 0; } .anno .txt{ margin-left:3px; width:105px; } .difflink{ margin:10px 0; } .difflink a{ margin-left:10px; color:#666; text-decoration:underline; } .devteam{ width:350px; } /* widget */ .checked, .checked .txt{ color:#090; } .lightfont{ color:#CCC; } .lightnum{ color:#F60; } .error{ color:#F00; } .diffcolor2{ color:#090; } .diffcolor3{ color:#09C; } .nomargin{ margin:0; } .marginleft{ margin-left:20px; } .marginright{ margin-right:10px; } .margintop{ margin-top:10px; } .marginbot{ margin-bottom:10px; } .nobg, .nobg td{ background:none; } .nobg .td27{ padding-left:5px; } .nobdb{ border-bottom:none; } .nobdt{ border-top:none; } .noborder, .noborder td{border-bottom:0; border-top:0; } .noborder td:hover { color: #000; } .vtop{ vertical-align:top; } .lineheight{ line-height:150%; } .left{ float:left; } .right{ float:right; } .center{ text-align:center; } .bold{ font-weight:700; } .normal{ font-weight:400; } .clear{ clear:both; } .smallfont{font-size:12px!important; font-size: 11px} .smallfont h3{ font-size:12px; } .fixpadding th, .fixpadding td{ padding-left:5px !important; } .news{ padding:10px 0; border-top:4px solid #DEEFFA; } #boardnews{ padding-bottom:10px; } .diff-deleted{ background:#FCC !important; } .diff-changed{ background:#FF9 !important; } .diff-added{ background:#CFC !important; } /* calendar */ #calendar_week .dropmenu{ filter: none; opacity: 1; background: none; margin-left: 0;position:relative; margin-top:0; border:none; text-align:left; text-decoration:underline; } .calendar_checked, .calendar_checked a:link, .calendar_checked a:visited{ color:#333; } /* sub table */ .sub, .sub .td27{ padding-left:25px !important; } .sub .rowform{ padding-left:25px !important; width:281px; } .sub .rowform .txt, .sub .rowform textarea{ width:225px; } .sub select{ width:231px; } .mt10{margin-top: 10px;} .mt0{margin-top:0} .header, .header td, .header th{ border-top: 1px dotted #DEEFFB; font-weight: 700; } .smallefont{font-size: 11px}
zyyhong
trunk/jiaju001/newbbs/bbs/images/admincp/admincp.css
CSS
asf20
22,697
<script> varname = location.search.substr(1); var varnames = varname.split('|'); varname = varnames[0]; var varnamev = !varnames[1] ? varnames[0] + '_v' : varnames[1]; function getcolor(event) { var hex = [0,1,2,3,4,5,6,7,8,9,'A','B','C','D','E','F']; if(event.clientX > 164 || event.clientY > 164) { return; } var hsv = new Object(); var h = 164; var y = event.clientY; hsv.h = 360 * event.clientX / 164; if (y > h/2) { hsv.s = 1.0; hsv.v = 2 * (h - y) / h; } else { hsv.v = 1.0; hsv.s = y / (h/2); } var rgb = hsvToRgb(hsv); var red = Math.round(255 * rgb.r); var green = Math.round(255 * rgb.g); var blue = Math.round(255 * rgb.b); hexstr = '#' + hex[(red - (red % 16)) / 16].toString() + hex[red % 16].toString() + hex[(green - (green % 16)) / 16].toString() + hex[green % 16].toString() + hex[(blue - (blue % 16)) / 16].toString() + hex[blue % 16].toString() document.getElementById('box').style.backgroundColor = hexstr; document.getElementById('colorhex').value = hexstr; } function hsvToRgb(hsv) { var rgb = new Object(); var i, f, p, q, t; if(hsv.s == 0) { // achromatic (grey) rgb.r = rgb.g = rgb.b = hsv.v; return rgb; } hsv.h /= 60; i = Math.floor( hsv.h ); f = hsv.h - i; p = hsv.v * ( 1 - hsv.s ); q = hsv.v * ( 1 - hsv.s * f ); t = hsv.v * ( 1 - hsv.s * ( 1 - f ) ); switch( i ) { case 0: rgb.r = hsv.v; rgb.g = t; rgb.b = p; break; case 1: rgb.r = q; rgb.g = hsv.v; rgb.b = p; break; case 2: rgb.r = p; rgb.g = hsv.v; rgb.b = t; break; case 3: rgb.r = p; rgb.g = q; rgb.b = hsv.v; break; case 4: rgb.r = t; rgb.g = p; rgb.b = hsv.v; break; default: rgb.r = hsv.v; rgb.g = p; rgb.b = q; break; } return rgb; } function setvalue(obj) { parent.$(varnamev).value = obj.value; if(parent.$(varnamev).onchange) { var change = parent.$(varnamev).onchange.toString(); if(change) { var start = change.indexOf('{'); var end = change.lastIndexOf('}'); var s = change.substring(start + 1, end); s = s.replace(/this\.value/ig, "'" + obj.value + "'"); s = s.replace(/imgdirurl/ig, "parent.imgdirurl"); s = s.replace(/\$\(/ig, "parent.$("); //alert(s) eval(s) } } parent.$(varname).style.background = obj.value; document.getElementById('box').style.background = obj.value; } function updatecolorpreview() { } </script> <style> body { margin: 0px; background-color: #FFFFFF; } table{ border:1px solid #333; } </style> <body onmousedown="getcolor(event);setvalue(document.getElementById('colorhex'))" scrolling="no"> <table cellspacing="0" cellpadding="0"> <tr><td colspan="2"><img src="color.jpg" style="cursor: crosshair ;width: 164px; height: 164px"></td></tr> <tr height="20"><td width="20" id="box"></td> <td width="144"> <input id="colorhex" style="padding: 2px;font: 12px Arial, Tahoma;cursor: pointer;width: 100%;border: 0px" onkeyup="setvalue(this)" onclick="setvalue(this)"> </td></tr> </table> <script> var obj = parent.$(varnamev); document.getElementById('colorhex').value = obj.value; try { document.getElementById('box').style.background = cvalue; } catch(e) {} </script> </body>
zyyhong
trunk/jiaju001/newbbs/bbs/images/admincp/getcolor.htm
HTML
asf20
3,309
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: index.php 21048 2009-11-09 05:59:18Z monkey $ */ define('BINDDOMAIN', 'index'); require_once './include/common.inc.php'; if(!$loadforum) { if($indextype) { $op = empty($op) ? $indextype : $op; $indexfile = in_array($op, array('classics', 'feeds')) ? $op : 'classics'; } else { $indexfile = 'classics'; } if($indexfile == 'classics' || !empty($gid)) { require_once DISCUZ_ROOT.'./include/index_classics.inc.php'; } elseif($indexfile == 'feeds') { require_once DISCUZ_ROOT.'./include/index_feeds.inc.php'; } else { showmessage('undefined_action'); } } else { require_once './forumdisplay.php'; } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/index.php
PHP
asf20
764
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: frame.php 16688 2008-11-14 06:41:07Z cnteacher $ */ define('NOROBOT', TRUE); include './include/common.inc.php'; $_GET['referer'] = urldecode($_GET['referer']); $_SERVER['HTTP_REFERER'] = $_GET['referer'] ? $_GET['referer'] : $_SERVER['HTTP_REFERER']; $_SERVER['HTTP_REFERER'] = !empty($_SERVER['HTTP_REFERER']) && substr($_SERVER['HTTP_REFERER'], 0, strlen($boardurl)) == $boardurl ? $_SERVER['HTTP_REFERER'] : (!empty($_GET['referer']) && substr($_GET['referer'], 0, strlen($boardurl)) == $boardurl ? $_GET['referer'] : $indexname); if(empty($_SERVER['HTTP_REFERER'])) { dheader("Location:$indexname"); } if(!$_DCACHE['settings']['frameon']) { showmessage('frame_off'); } $_SERVER['HTTP_REFERER'] = preg_replace("/[&?]frameon=(yes|no)/i", '', $_SERVER['HTTP_REFERER']); $newurl = $_SERVER['HTTP_REFERER'].(strpos($_SERVER['HTTP_REFERER'], '?') !== FALSE ? '&' : '?').'frameon=no'; if($_GET['frameon'] == 'no') { dsetcookie('frameon', 'no', 31536000); dheader("Location:$newurl"); } else { dsetcookie('frameon', 'yes', 31536000); $_DCOOKIE['frameon'] = 'yes'; include template('frame'); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/frame.php
PHP
asf20
1,263
<?php /* [Discuz!] (C)2001-2006 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: config5.inc.php,v $ $Revision: 1.9 $ $Date: 2007/01/26 01:11:32 $ */ // [CH] 以下变量请根据空间商提供的账号参数修改,如有疑问,请联系服务器提供商 $dbhost = 'localhost'; // 数据库服务器 $dbuser = 'root'; // 数据库用户名 $dbpw = 'lic77158906'; // 数据库密码 $dbname = 'newclub'; // 数据库名 $pconnect = 0; // 数据库持久连接 0=关闭, 1=打开 // [CH] Mysql 辅助服务器设置,只有当您拥有多个 Mysql 服务器且协同工作时请进行设置 $multiserver = array(); // 服务器变量初始化,请勿修改或删除 // [CH] 如您对 cookie 作用范围有特殊要求, 或论坛登录不正常, 请修改下面变量, 否则请保持默认 $cookiepre = 'FiW_'; // cookie 前缀 $cookiedomain = ''; // cookie 作用域 $cookiepath = '/'; // cookie 作用路径 // [CH] 论坛投入使用后不能修改的变量 $tablepre = 'cdb_'; // 表名前缀, 同一数据库安装多个论坛请修改此处 // [CH] 小心修改以下变量, 否则可能导致论坛无法正常使用 $database = 'mysql'; // 论坛数据库类型,请勿修改 $dbcharset = ''; // MySQL 字符集, 可选 'gbk', 'big5', 'utf8', 'latin1', 留空为按照论坛字符集设定 $charset = 'utf-8'; // 论坛页面默认字符集, 可选 'gbk', 'big5', 'utf-8' $headercharset = 0; // 强制论坛页面使用默认字符集,可避免部分服务器空间页面出现乱码,一般无需开启。 0=关闭 1= 开启 $tplrefresh = 1; // 论坛风格模板自动刷新开关 0=关闭, 1=打开。 // [CH] 论坛安全设置, 调整以下设置,可以增强论坛的安全性能和防御性能 $adminemail = 'faithsmine@gmail.com'; // 系统管理员 Email $forumfounders = '1'; // 论坛创始人 UID, 可以支持多个创始人,之间使用 “,” 分隔。[出于安全考虑,请务必设置一名管理员为创始人] // 论坛创始人可对其他管理员进行设置。如果不设置论坛创始人,则论坛管理员之间权利平等。 $dbreport = 0; // 论坛出现数据库错误时,是否通过 email 发送错误报告给系统管理员 $errorreport = 1; // 是否屏蔽程序错误信息, 0=屏蔽所有错误(安全) 1=报告给管理员和版主(安全) 2=报告给任何人 $attackevasive = 0; // 论坛防御级别,可防止大量的非正常请求造成的拒绝服务攻击 // 防护大量非正常请求造成的拒绝服务攻击, // 0=关闭, 1=cookie 刷新限制, 2=限制代理访问, 4=二次请求, 8=回答问题(第一次访问时需要回答问题) // 组合为: 1|2, 1|4, 2|8, 1|2|4... $urlxssdefend = 1; // 论坛访问页面防御开关,可避免用户通过非法的url地址对本站用户造成危害,建议打开。1=打开 0关闭 $admincp = array(); $admincp['forcesecques'] = 0; // 管理人员必须设置安全提问才能进入系统设置, 0=否, 1=是[安全] $admincp['checkip'] = 1; // 后台管理操作是否验证管理员的 IP, 1=是[安全], 0=否。仅在管理员无法登陆后台时设置 0。 $admincp['tpledit'] = 0; // 是否允许在线编辑论坛模板 1=是 0=否[安全] $admincp['runquery'] = 1; // 是否允许后台运行 SQL 语句 1=是 0=否[安全] $admincp['dbimport'] = 1; // 是否允许后台恢复论坛数据 1=是 0=否[安全] // ============================================================================ define('UC_CONNECT', 'mysql'); define('UC_DBHOST', 'localhost'); define('UC_DBUSER', 'root'); define('UC_DBPW', 'lic77158906'); define('UC_DBNAME', 'newclub'); define('UC_DBCHARSET', 'utf8'); define('UC_DBTABLEPRE', '`newclub`.uc_'); define('UC_DBCONNECT', '0'); define('UC_KEY', 'd4o42ch8a69c07cb1cy680F227Ddu5D8PcI7ydj54fC9u2m2ifRcV3y4Y0ndJ8Ae'); define('UC_API', 'http://localhost/newbbs/ucenter'); define('UC_CHARSET', 'utf-8'); define('UC_IP', '127.0.0.1'); define('UC_APPID', '2'); define('UC_PPP', '20');
zyyhong
trunk/jiaju001/newbbs/bbs/config.inc.php
PHP
asf20
4,193
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: register.php 21057 2009-11-10 01:05:36Z monkey $ */ define('CURSCRIPT', 'register'); define('NOROBOT', TRUE); require_once './include/common.inc.php'; require_once DISCUZ_ROOT.'./forumdata/cache/cache_profilefields.php'; require_once DISCUZ_ROOT.'./uc_client/client.php'; $discuz_action = 5; if($discuz_uid) { showmessage('login_succeed', $indexname); } elseif (!$regstatus || !$ucactivation) { if($action == 'activation' || $activationauth) { if(!$ucactivation) { showmessage('register_disable_activation'); } } elseif(!$regstatus) { showmessage('register_disable'); } } $inviteconfig = array(); $query = $db->query("SELECT * FROM {$tablepre}settings WHERE variable IN ('bbrules', 'bbrulestxt', 'welcomemsg', 'welcomemsgtitle', 'welcomemsgtxt', 'inviteconfig')"); while($setting = $db->fetch_array($query)) { $$setting['variable'] = $setting['value']; } $invitecode = $regstatus > 1 && $invitecode ? dhtmlspecialchars($invitecode) : ''; if($regstatus > 1) { $inviterewardcredit = $inviteaddcredit = $invitedaddcredit = ''; @extract(unserialize($inviteconfig)); } $groupinfo = $db->fetch_first("SELECT groupid, allownickname, allowcstatus, allowcusbbcode, allowsigbbcode, allowsigimgcode, maxsigsize FROM {$tablepre}usergroups WHERE ".($regverify ? "groupid='8'" : "creditshigher<=".intval($initcredits)." AND ".intval($initcredits)."<creditslower LIMIT 1")); $seccodecheck = $seccodestatus & 1; $secqaacheck = $secqaa['status'][1]; $fromuid = !empty($_DCOOKIE['promotion']) && $creditspolicy['promotion_register'] ? intval($_DCOOKIE['promotion']) : 0; $action = isset($action) ? $action : ''; $username = isset($username) ? $username : ''; $bbrulehash = $bbrules ? substr(md5(FORMHASH), 0, 8) : ''; if(!submitcheck('regsubmit', 0, $seccodecheck, $secqaacheck)) { if($action == 'activation') { $auth = explode("\t", authcode($auth, 'DECODE')); if(FORMHASH != $auth[1]) { showmessage('register_activation_invalid', 'logging.php?action=login'); } $username = $auth[0]; $activationauth = authcode("$auth[0]\t".FORMHASH, 'ENCODE'); } $referer = isset($referer) ? dhtmlspecialchars($referer) : dreferer(); $fromuser = !empty($fromuser) ? dhtmlspecialchars($fromuser) : ''; if($fromuid) { $query = $db->query("SELECT username FROM {$tablepre}members WHERE uid='$fromuid'"); if($db->num_rows($query)) { $fromuser = dhtmlspecialchars($db->result($query, 0)); } else { dsetcookie('promotion'); } } $bbrulestxt = nl2br("\n$bbrulestxt\n\n"); if($action == 'activation') { $auth = dhtmlspecialchars($auth); } if($seccodecheck) { $seccode = random(6, 1); } if($secqaa['status'][1]) { $seccode = random(1, 1) * 1000000 + substr($seccode, -6); } $username = dhtmlspecialchars($username); include template('register'); } else { if($bbrules && $bbrulehash != $_POST['agreebbrule']) { showmessage('register_rules_agree'); } $activation = array(); if(isset($activationauth)) { $activationauth = explode("\t", authcode($activationauth, 'DECODE')); if($activationauth[1] == FORMHASH && !($activation = daddslashes(uc_get_user($activationauth[0]), 1))) { showmessage('register_activation_invalid', 'logging.php?action=login'); } } if(!$activation) { $username = addslashes(trim(stripslashes($username))); if(uc_get_user($username) && !$db->result_first("SELECT uid FROM {$tablepre}members WHERE username='$username'")) { if($inajax) { showmessage('profile_username_duplicate'); } else { showmessage('register_activation_message', 'logging.php?action=login'); } } if($password !== $password2) { showmessage('profile_passwd_notmatch'); } if(!$password || $password != addslashes($password)) { showmessage('profile_passwd_illegal'); } $email = trim($email); } $censorexp = '/^('.str_replace(array('\\*', "\r\n", ' '), array('.*', '|', ''), preg_quote(($censoruser = trim($censoruser)), '/')).')$/i'; if($censoruser && @preg_match($censorexp, $username)) { showmessage('profile_username_protect'); } $fieldadd1 = $fieldadd2 = ''; foreach($_DCACHE['fields_required'] as $field) { $field_key = 'field_'.$field['fieldid']; $field_val = ${'field_'.$field['fieldid'].'new'}; if($field['required'] && trim($field_val) == '') { showmessage('profile_required_info_invalid'); } elseif($field['selective'] && $field_val != '' && !isset($field['choices'][$field_val])) { showmessage('undefined_action', NULL, 'HALTED'); } else { $fieldadd1 .= ", $field_key"; $fieldadd2 .= ', \''.dhtmlspecialchars($field_val).'\''; } } if($regverify == 2 && !trim($regmessage)) { showmessage('profile_required_info_invalid'); } if($_DCACHE['ipctrl']['ipregctrl']) { foreach(explode("\n", $_DCACHE['ipctrl']['ipregctrl']) as $ctrlip) { if(preg_match("/^(".preg_quote(($ctrlip = trim($ctrlip)), '/').")/", $onlineip)) { $ctrlip = $ctrlip.'%'; $regctrl = 72; break; } else { $ctrlip = $onlineip; } } } else { $ctrlip = $onlineip; } if($_DCACHE['ipctrl']['ipverifywhite']) { foreach(explode("\n", $_DCACHE['ipctrl']['ipverifywhite']) as $ctrlip) { if(preg_match("/^(".preg_quote(($ctrlip = trim($ctrlip)), '/').")/", $onlineip)) { $regverify = 0; break; } } } if($regstatus > 1) { if($regstatus == 2 && !$invitecode) { showmessage('register_invite_notfound'); } elseif($invitecode) { $groupinfo['groupid'] = $invitegroupid ? intval($invitegroupid) : $groupinfo['groupid']; $invite = $db->fetch_first("SELECT uid, invitecode, inviteip, expiration FROM {$tablepre}invites WHERE invitecode='$invitecode' AND status IN ('1', '3')"); if(!$invite) { showmessage('register_invite_error'); } else { if($invite['inviteip'] == $onlineip) { showmessage('register_invite_iperror'); } elseif($invite['expiration'] < $timestamp) { showmessage('register_invite_expiration'); } } } } if($regctrl) { $query = $db->query("SELECT ip FROM {$tablepre}regips WHERE ip LIKE '$ctrlip' AND count='-1' AND dateline>$timestamp-'$regctrl'*3600 LIMIT 1"); if($db->num_rows($query)) { showmessage('register_ctrl', NULL, 'HALTED'); } } $secques = $questionid > 0 ? random(8) : ''; if(!$activation) { $uid = uc_user_register($username, $password, $email, $questionid, $answer, $onlineip); if($uid <= 0) { if($uid == -1) { showmessage('profile_username_illegal'); } elseif($uid == -2) { showmessage('profile_username_protect'); } elseif($uid == -3) { showmessage('profile_username_duplicate'); } elseif($uid == -4) { showmessage('profile_email_illegal'); } elseif($uid == -5) { showmessage('profile_email_domain_illegal'); } elseif($uid == -6) { showmessage('profile_email_duplicate'); } else { showmessage('undefined_action', NULL, 'HALTED'); } } } else { list($uid, $username, $email) = $activation; } if($db->result_first("SELECT uid FROM {$tablepre}members WHERE uid='$uid'")) { if(!$activation) { uc_user_delete($uid); } showmessage('profile_uid_duplicate'); } if($regfloodctrl) { if($regattempts = $db->result_first("SELECT count FROM {$tablepre}regips WHERE ip='$onlineip' AND count>'0' AND dateline>'$timestamp'-86400")) { if($regattempts >= $regfloodctrl) { showmessage('register_flood_ctrl', NULL, 'HALTED'); } else { $db->query("UPDATE {$tablepre}regips SET count=count+1 WHERE ip='$onlineip' AND count>'0'"); } } else { $db->query("INSERT INTO {$tablepre}regips (ip, count, dateline) VALUES ('$onlineip', '1', '$timestamp')"); } } $idstring = random(6); $authstr = $regverify == 1 ? "$timestamp\t2\t$idstring" : ''; $password = md5(random(10)); $db->query("INSERT INTO {$tablepre}members (uid, username, password, secques, adminid, groupid, regip, regdate, lastvisit, lastactivity, posts, credits, extcredits1, extcredits2, extcredits3, extcredits4, extcredits5, extcredits6, extcredits7, extcredits8, email, showemail, timeoffset, pmsound, invisible, newsletter) VALUES ('$uid', '$username', '$password', '$secques', '0', '$groupinfo[groupid]', '$onlineip', '$timestamp', '$timestamp', '$timestamp', '0', $initcredits, '$email', '0', '9999', '1', '0', '1')"); $db->query("REPLACE INTO {$tablepre}memberfields (uid, authstr $fieldadd1) VALUES ('$uid', '$authstr' $fieldadd2)"); if($regctrl || $regfloodctrl) { $db->query("DELETE FROM {$tablepre}regips WHERE dateline<='$timestamp'-".($regctrl > 72 ? $regctrl : 72)."*3600", 'UNBUFFERED'); if($regctrl) { $db->query("INSERT INTO {$tablepre}regips (ip, count, dateline) VALUES ('$onlineip', '-1', '$timestamp')"); } } $regmessage = dhtmlspecialchars($regmessage); if($regverify == 2) { $db->query("REPLACE INTO {$tablepre}validating (uid, submitdate, moddate, admin, submittimes, status, message, remark) VALUES ('$uid', '$timestamp', '0', '', '1', '0', '$regmessage', '')"); } if($invitecode && $regstatus > 1) { $db->query("UPDATE {$tablepre}invites SET reguid='$uid', regdateline='$timestamp', status='2' WHERE invitecode='$invitecode'"); if($inviteaddbuddy) { include_once DISCUZ_ROOT.'./uc_client/client.php'; uc_friend_add($invite['uid'], $uid, ''); uc_friend_add($uid, $invite['uid'], ''); if($my_status) { manyoulog('friend', $invite['uid'], 'add', $uid); } } if($inviterewardcredit) { if($inviteaddcredit) { $db->query("UPDATE {$tablepre}members SET extcredits$inviterewardcredit=extcredits$inviterewardcredit+'$inviteaddcredit' WHERE uid='$uid'"); } if($invitedaddcredit) { $db->query("UPDATE {$tablepre}members SET extcredits$inviterewardcredit=extcredits$inviterewardcredit+'$invitedaddcredit' WHERE uid='$invite[uid]'"); } } } $discuz_uid = $uid; $discuz_user = $username; $discuz_userss = stripslashes($discuz_user); $discuz_pw = $password; $discuz_secques = $secques; $groupid = $groupinfo['groupid']; $styleid = $styleid ? $styleid : $_DCACHE['settings']['styleid']; if($welcomemsg && !empty($welcomemsgtxt)) { $welcomtitle = !empty($welcomemsgtitle) ? $welcomemsgtitle : "Welcome to $bbname!"; $welcomtitle = addslashes(replacesitevar($welcomtitle)); $welcomemsgtxt = addslashes(replacesitevar($welcomemsgtxt)); if($welcomemsg == 1) { sendpm($uid, $welcomtitle, $welcomemsgtxt, 0); } elseif($welcomemsg == 2) { sendmail("$username <$email>", $welcomtitle, $welcomemsgtxt); } } if($fromuid) { updatecredits($fromuid, $creditspolicy['promotion_register']); dsetcookie('promotion', ''); } if($taskon && $newbietasks) { $newbietaskids = array_keys($newbietasks); if($task = $db->fetch_first("SELECT * FROM {$tablepre}tasks WHERE taskid='$newbietaskids[0]' AND available='2'")) { require_once DISCUZ_ROOT.'./include/task.func.php'; $task['newbie'] = 1; task_apply($task); $db->query("UPDATE {$tablepre}members SET prompt=prompt|8, newbietaskid='$newbietaskids[0]' WHERE uid='$discuz_uid'", 'UNBUFFERED'); } } require_once DISCUZ_ROOT.'./include/cache.func.php'; $_DCACHE['settings']['totalmembers']++; updatesettings(); dsetcookie('loginuser', ''); dsetcookie('activationauth', '', -86400 * 365); manyoulog('user', $discuz_uid, 'add'); if(!empty($inajax)) { $msgforward = unserialize($msgforward); $mrefreshtime = intval($msgforward['refreshtime']) * 1000; $message = 1; if($regverify != 1) { include template('register'); } } switch($regverify) { case 1: sendmail("$username <$email>", 'email_verify_subject', 'email_verify_message'); if(!empty($inajax)) { include template('register'); } else { showmessage('profile_email_verify'); } break; case 2: showmessage('register_manual_verify', 'memcp.php'); break; default: if($_DCACHE['settings']['frameon'] && $_DCOOKIE['frameon'] == 'yes') { $extrahead .= '<script>if(top != self) {parent.leftmenu.location.reload();}</script>'; } showmessage('register_succeed', dreferer()); break; } } function replacesitevar($string, $replaces = array()) { global $sitename, $bbname, $timestamp, $timeoffset, $adminemail, $adminemail, $discuz_user; $sitevars = array( '{sitename}' => $sitename, '{bbname}' => $bbname, '{time}' => gmdate('Y-n-j H:i', $timestamp + $timeoffset * 3600), '{adminemail}' => $adminemail, '{username}' => $discuz_user, '{myname}' => $discuz_user ); $replaces = array_merge($sitevars, $replaces); return str_replace(array_keys($replaces), array_values($replaces), $string); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/register.php
PHP
asf20
12,978
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: logs.inc.php 16698 2008-11-14 07:58:56Z cnteacher $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } if(!isset($_DCACHE['forums'])) { include(DISCUZ_ROOT.'./forumdata/cache/cache_forums.php'); } include language('misc'); $lpp = empty($lpp) ? 20 : intval($lpp); $lpp = min(200, max(5, $lpp)); $logdir = DISCUZ_ROOT.'./forumdata/logs/'; $logfiles = get_log_files($logdir, 'modcp'); $logs = array(); foreach($logfiles as $logfile) { $logs = array_merge($logs, file($logdir.$logfile)); } $page = max(1, intval($page)); $start = ($page - 1) * $lpp; $logs = array_reverse($logs); if(!empty($keyword)) { foreach($logs as $key => $value) { if(strpos($value, $keyword) === FALSE) { unset($logs[$key]); } } } $num = count($logs); $multipage = multi($num, $lpp, $page, "$cpscript?action=logs&lpp=$lpp&keyword=".rawurlencode($keyword)); $logs = array_slice($logs, $start, $lpp); $keyword = isset($keyword) ? dhtmlspecialchars($keyword) : ''; $usergroup = array(); $filters = ''; $loglist = array(); foreach($logs as $logrow) { $log = explode("\t", $logrow); if(empty($log[1])) { continue; } $log[1] = gmdate('y-n-j H:i', $log[1] + $timeoffset * 3600); if(strtolower($log[2]) == strtolower($discuz_userss)) { $log[2] = '<a href="space.php?username='.rawurlencode($log[2]).'" target="_blank"><b>'.$log[2].'</b></a>'; } $log[5] = trim($log[5]); $check = 'modcp_logs_action_'.$log[5]; $log[5] = isset($language[$check]) ? $language[$check] : $log[5]; $log[7] = intval($log[7]); //$fname = !empty($log[7]) ? strip_tags("{$_DCACHE['forums'][$log[7]]['name']}") : ''; $log[7] = !empty($log[7]) ? '<a href="forumdisplay.php?fid='.$log[7].'" target="_blank">'.strip_tags("{$_DCACHE['forums'][$log[7]]['name']}").'</a>' : ''; $log[8] = str_replace(array('GET={};', 'POST={};'), '', $log[8]); $log[8] = cutstr($log['8'], 60); $loglist[] = $log; } function get_log_files($logdir='', $action='action') { $dir = opendir($logdir); $files = array(); while($entry = readdir($dir)) { $files[] = $entry; } closedir($dir); sort($files); $logfile = $action; $logfiles = array(); foreach($files as $file) { if(strpos($file, $logfile) !== FALSE) { $logfiles[] = $file; } } $logfiles = array_slice($logfiles, -2, 2); return $logfiles; } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/logs.inc.php
PHP
asf20
2,511
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: members.inc.php 20872 2009-10-28 03:12:08Z liulanbo $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } if($op == 'edit') { $member = loadmember($uid, $username, $error); $usernameenc = rawurlencode($member['username']); if($member && submitcheck('editsubmit') && !$error) { $sql = 'uid=uid'; if($allowedituser) { if(!empty($clearavatar)) { require_once DISCUZ_ROOT.'./uc_client/client.php'; uc_user_deleteavatar($member['uid']); } require_once DISCUZ_ROOT.'./include/discuzcode.func.php'; if($bionew) { $bionew = censor($bionew); $biohtmlnew = addslashes(discuzcode(stripslashes($bionew), 1, 0, 0, 0, $member['allowbiobbcode'], $member['allowbioimgcode'], 0, 0, 1)); } else { $biohtmlnew = ''; } if($biotradenew) { $biotradenew = censor($biotradenew); $biohtmlnew .= "\t\t\t".addslashes(discuzcode(stripslashes($biotradenew), 1, 0, 0, 0, 1, 1, 0, 0, 1)); } if($signaturenew) { $signaturenew = censor($signaturenew); $sightmlnew = addslashes(discuzcode(stripslashes($signaturenew), 1, 0, 0, 0, $member['allowsigbbcode'], $member['allowsigimgcode'], 0, 0, 1)); } else { $sightmlnew = ''; } $locationnew && $locationnew = dhtmlspecialchars($locationnew); $sql .= ', sigstatus=\''.($signaturenew ? 1 : 0).'\''; $db->query("UPDATE {$tablepre}memberfields SET location='$locationnew', bio='$biohtmlnew', sightml='$sightmlnew' WHERE uid='$member[uid]'"); } $db->query("UPDATE {$tablepre}members SET $sql WHERE uid='$member[uid]'"); acpmsg('members_edit_succeed', "$cpscript?action=$action&op=$op"); } elseif($member) { require_once DISCUZ_ROOT.'./include/editor.func.php'; $bio = explode("\t\t\t", $member['bio']); $member['bio'] = html2bbcode($bio[0]); $member['biotrade'] = html2bbcode($bio[1]); $member['signature'] = html2bbcode($member['sightml']); $username = !empty($username) ? $member['username'] : ''; } } elseif($op == 'ban' && $allowbanuser) { $member = loadmember($uid, $username, $error); $usernameenc = rawurlencode($member['username']); if($member && submitcheck('bansubmit') && !$error) { $sql = 'uid=uid'; $reason = trim($reason); if(!$reason && ($reasonpm == 1 || $reasonpm == 3)) { acpmsg('admin_reason_invalid'); } if($bannew == 4 || $bannew == 5) { $groupidnew = $bannew; $banexpirynew = !empty($banexpirynew) ? $timestamp + $banexpirynew * 86400 : 0; $banexpirynew = $banexpirynew > $timestamp ? $banexpirynew : 0; if($banexpirynew) { $member['groupterms'] = $member['groupterms'] && is_array($member['groupterms']) ? $member['groupterms'] : array(); $member['groupterms']['main'] = array('time' => $banexpirynew, 'adminid' => $member['adminid'], 'groupid' => $member['groupid']); $member['groupterms']['ext'][$groupidnew] = $banexpirynew; $sql .= ', groupexpiry=\''.groupexpiry($member['groupterms']).'\''; } else { $sql .= ', groupexpiry=0'; } $adminidnew = -1; } elseif($member['groupid'] == 4 || $member['groupid'] == 5) { if(!empty($member['groupterms']['main']['groupid'])) { $groupidnew = $member['groupterms']['main']['groupid']; $adminidnew = $member['groupterms']['main']['adminid']; unset($member['groupterms']['main']); unset($member['groupterms']['ext'][$member['groupid']]); $sql .= ', groupexpiry=\''.groupexpiry($member['groupterms']).'\''; } else { $query = $db->query("SELECT groupid FROM {$tablepre}usergroups WHERE type='member' AND creditshigher<='$member[credits]' AND creditslower>'$member[credits]'"); $groupidnew = $db->result($query, 0); $adminidnew = 0; } } else { $groupidnew = $member['groupid']; $adminidnew = $member['adminid']; } $sql .= ", adminid='$adminidnew', groupid='$groupidnew'"; $db->query("UPDATE {$tablepre}members SET $sql WHERE uid='$member[uid]'"); if($db->affected_rows($query)) { savebanlog($member['username'], $member['groupid'], $groupidnew, $banexpirynew, $reason); } $db->query("UPDATE {$tablepre}memberfields SET groupterms='".($member['groupterms'] ? addslashes(serialize($member['groupterms'])) : '')."' WHERE uid='$member[uid]'"); acpmsg('modcp_member_ban_succeed', "$cpscript?action=$action&op=$op"); } } elseif($op == "ipban" && $allowbanip) { require_once DISCUZ_ROOT.'./include/misc.func.php'; $iptoban = isset($ip) ? dhtmlspecialchars(explode('.', $ip)) : array('','','',''); $updatecheck = $addcheck = $deletecheck = $adderror = 0; if(submitcheck('ipbansubmit')) { if($ids = implodeids($delete)) { $db->query("DELETE FROM {$tablepre}banned WHERE id IN ($ids) AND ('$adminid'='1' OR admin='$discuz_user')"); $deletecheck = $db->affected_rows(); } if($ip1new != '' && $ip2new != '' && $ip3new != '' && $ip4new != '') { $addcheck = ipbanadd($ip1new, $ip2new, $ip3new, $ip4new, $validitynew, $adderror); if(!$addcheck) { $iptoban = array($ip1new, $ip2new, $ip3new, $ip4new); } } if(!empty($expirationnew) && is_array($expirationnew)) { foreach($expirationnew as $id => $expiration) { $db->query("UPDATE {$tablepre}banned SET expiration='".strtotime($expiration)."' WHERE id='$id' AND ('$adminid'='1' OR admin='$discuz_user')"); empty($updatecheck) && $updatecheck = $db->affected_rows(); } } if($deletecheck || $addcheck || $updatecheck) { require_once(DISCUZ_ROOT.'./include/cache.func.php'); updatecache('ipbanned'); } } $iplist = array(); $query = $db->query("SELECT * FROM {$tablepre}banned ORDER BY dateline"); while($banned = $db->fetch_array($query)) { for($i = 1; $i <= 4; $i++) { if($banned["ip$i"] == -1) { $banned["ip$i"] = '*'; } } $banned['disabled'] = $adminid != 1 && $banned['admin'] != $discuz_userss ? 'disabled' : ''; $banned['dateline'] = gmdate($dateformat, $banned['dateline'] + $timeoffset * 3600); $banned['expiration'] = gmdate($dateformat, $banned['expiration'] + $timeoffset * 3600); $banned['theip'] = "$banned[ip1].$banned[ip2].$banned[ip3].$banned[ip4]"; $banned['location'] = convertip($banned['theip']); $iplist[$banned['id']] = $banned; } } else { showmessage('undefined_action'); } function loadmember(&$uid, &$username, &$error) { global $db, $tablepre, $timeoffset; $uid = !empty($uid) && is_numeric($uid) && $uid > 0 ? $uid : ''; $username = isset($username) && $username != '' ? dhtmlspecialchars(trim($username)) : ''; $member = array(); if($uid || $username != '') { $query = $db->query("SELECT m.uid, m.username, m.groupid, m.adminid, mf.groupterms, mf.location, mf.bio, mf.sightml, u.type AS grouptype, u.allowsigbbcode, u.allowsigimgcode, u.allowcusbbcode, u.allowbiobbcode, u.allowbioimgcode, u.allowcusbbcode FROM {$tablepre}members m LEFT JOIN {$tablepre}memberfields mf ON mf.uid=m.uid LEFT JOIN {$tablepre}usergroups u ON u.groupid=m.groupid WHERE ".($uid ? "m.uid='$uid'" : "m.username='$username'")); if(!$member = $db->fetch_array($query)) { $error = 2; } elseif(($member['grouptype'] == 'system' && in_array($member['groupid'], array(1, 2, 3, 6, 7, 8))) || in_array($member['adminid'], array(1,2,3))) { $error = 3; } else { $member['groupterms'] = unserialize($member['groupterms']); $member['banexpiry'] = !empty($member['groupterms']['main']['time']) && ($member['groupid'] == 4 || $member['groupid'] == 5) ? gmdate('Y-n-j', $member['groupterms']['main']['time'] + $timeoffset * 3600) : ''; $error = 0; } } else { $error = 1; } return $member; } function ipbanadd($ip1new, $ip2new, $ip3new, $ip4new, $validitynew, &$error) { global $db, $tablepre, $timestamp, $adminid, $onlineip, $discuz_user; if($ip1new != '' && $ip2new != '' && $ip3new != '' && $ip4new != '') { $own = 0; $ip = explode('.', $onlineip); for($i = 1; $i <= 4; $i++) { if(!is_numeric(${'ip'.$i.'new'}) || ${'ip'.$i.'new'} < 0) { if($adminid != 1) { $error = 1; return FALSE; } ${'ip'.$i.'new'} = -1; $own++; } elseif(${'ip'.$i.'new'} == $ip[$i - 1]) { $own++; } ${'ip'.$i.'new'} = intval(${'ip'.$i.'new'}) > 255 ? 255 : intval(${'ip'.$i.'new'}); } if($own == 4) { $error = 2; return FALSE; } $query = $db->query("SELECT * FROM {$tablepre}banned WHERE (ip1='$ip1new' OR ip1='-1') AND (ip2='$ip2new' OR ip2='-1') AND (ip3='$ip3new' OR ip3='-1') AND (ip4='$ip4new' OR ip4='-1')"); if($banned = $db->fetch_array($query)) { $error = 3; return FALSE; } $expiration = $validitynew > 1 ? ($timestamp + $validitynew * 86400) : $timestamp + 86400; $db->query("UPDATE {$tablepre}sessions SET groupid='6' WHERE ('$ip1new'='-1' OR ip1='$ip1new') AND ('$ip2new'='-1' OR ip2='$ip2new') AND ('$ip3new'='-1' OR ip3='$ip3new') AND ('$ip4new'='-1' OR ip4='$ip4new')"); $db->query("INSERT INTO {$tablepre}banned (ip1, ip2, ip3, ip4, admin, dateline, expiration) VALUES ('$ip1new', '$ip2new', '$ip3new', '$ip4new', '$discuz_user', '$timestamp', '$expiration')"); return TRUE; } return FALSE; } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/members.inc.php
PHP
asf20
9,388
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: recyclebins.inc.php 16698 2008-11-14 07:58:56Z cnteacher $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } $op = !in_array($op , array('list', 'delete', 'search', 'restore')) ? 'list' : $op; $do = !empty($do) ? dhtmlspecialchars($do) : ''; $tidarray = array(); if($fid && $forum['ismoderator'] && $modforums['recyclebins'][$fid]) { $srchupdate = false; if($adminid == 1 && ($op == 'delete' || $op == 'restore') && submitcheck('dosubmit')) { if($ids = implodeids($moderate)) { $query = $db->query("SELECT tid FROM {$tablepre}threads WHERE tid IN($ids) AND fid='$fid' AND displayorder='-1'"); while ($tid = $db->fetch_array($query)) { $tidarray[] = $tid['tid']; } if($tidarray) { require_once DISCUZ_ROOT.'./include/post.func.php'; ($op == 'delete') && deletethreads($tidarray); ($op == 'restore') && undeletethreads($tidarray); if($oldop == 'search') { $srchupdate = true; } } } $op = dhtmlspecialchars($oldop); } $result = array(); foreach (array('threadoption', 'viewsless', 'viewsmore', 'repliesless', 'repliesmore', 'noreplydays') as $key) { $$key = isset($$key) && is_numeric($$key) ? intval($$key) : ''; $result[$key] = $$key; } foreach (array('starttime', 'endtime', 'keywords', 'users') as $key) { $result[$key] = isset($$key) ? dhtmlspecialchars($$key) : ''; } $threadoptionselect = array($threadoption => 'selected'); if($op == 'search' && submitcheck('searchsubmit')) { $sql = ''; if($threadoption > 0 && $threadoption < 255) { $sql .= " AND special='$threadoption'"; } elseif($threadoption == 999) { $sql .= " AND digest in(1,2,3)"; } elseif($threadoption == 888) { $sql .= " AND displayorder IN(1,2,3)"; } $sql .= $viewsless !== ''? " AND views<='$viewsless'" : ''; $sql .= $viewsmore !== ''? " AND views>='$viewsmore'" : ''; $sql .= $repliesless !== ''? " AND replies<='$repliesless'" : ''; $sql .= $repliesmore !== ''? " AND replies>='$repliesmore'" : ''; $sql .= $noreplydays !== ''? " AND lastpost<='$timestamp'-'$noreplydays'*86400" : ''; $sql .= $starttime != '' ? " AND dateline>='".strtotime($starttime)."'" : ''; $sql .= $endtime != '' ? " AND dateline<='".strtotime($endtime)."'" : ''; if(trim($keywords)) { $sqlkeywords = ''; $or = ''; $keywords = explode(',', str_replace(' ', '', $keywords)); for($i = 0; $i < count($keywords); $i++) { $sqlkeywords .= " $or subject LIKE '%".$keywords[$i]."%'"; $or = 'OR'; } $sql .= " AND ($sqlkeywords)"; $keywords = implode(', ', $keywords); } if(trim($users)) { $sql .= " AND author IN ('".str_replace(',', '\',\'', str_replace(' ', '', trim($users)))."')"; } if($sql) { $query = $db->query("SELECT tid FROM {$tablepre}threads WHERE fid='$fid' AND displayorder='-1' $sql ORDER BY displayorder DESC, lastpost DESC LIMIT 1000"); $tids = $comma = ''; $count = 0; while ($tid = $db->fetch_array($query)) { $tids .= $comma.$tid['tid']; $comma = ','; $count ++; } $result['tids'] = $tids; $result['count'] = $count; $result['fid'] = $fid; $modsession->set('srchresult_r', $result, true); $db->free_result($query); unset($result, $tids); $page = 1; } else { $op = 'list'; } } $page = max(1, intval($page)); $total = 0; $query = $multipage = ''; if($op == 'list') { $total = $db->result_first("SELECT count(*) FROM {$tablepre}threads WHERE fid='$fid' AND displayorder='-1'"); $tpage = ceil($total / $tpp); $page = min($tpage, $page); $multipage = multi($total, $tpp, $page, "$cpscript?action=$action&amp;op=$op&amp;fid=$fid&amp;do=$do"); if($total) { $start = ($page - 1) * $tpp; $query = $db->query("SELECT * FROM {$tablepre}threads WHERE fid='$fid' AND displayorder='-1' ORDER BY displayorder DESC, lastpost DESC LIMIT $start, $tpp"); } } if($op == 'search') { $result = $modsession->get('srchresult_r'); if($result['fid'] == $fid) { if($srchupdate && $result['count'] && $tidarray) { $td = explode(',', $result['tids']); $newtids = $comma = $newcount = ''; if(is_array($td)) { foreach ($td as $v) { $v = intval($v); if(!in_array($v, $tidarray)) { $newcount ++; $newtids .= $comma.$v; $comma = ','; } } $result['count'] = $newcount; $result['tids'] = $newtids; $modsession->set('srchresult_r'.$fid, $result, true); } } $threadoptionselect = array($result['threadoption'] => 'selected'); $total = $result['count']; $tpage = ceil($total / $tpp); $page = min($tpage, $page); $multipage = multi($total, $tpp, $page, "$cpscript?action=$action&amp;op=$op&amp;fid=$fid&amp;do=$do"); if($total) { $start = ($page - 1) * $tpp; $query = $db->query("SELECT * FROM {$tablepre}threads WHERE tid in($result[tids]) AND fid='$fid' AND displayorder='-1' ORDER BY lastpost DESC LIMIT $start, $tpp"); } } else { $result = array(); $modsession->set('srchresult_r', array()); } } $postlist = array(); if($query) { require_once DISCUZ_ROOT.'./include/misc.func.php'; while ($thread = $db->fetch_array($query)) { $post = procthread($thread); $post['modthreadkey'] = modthreadkey($post['tid']); $postlist[] = $post; } } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/recyclebins.inc.php
PHP
asf20
5,588
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: announcements.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } $annlist = null; $add_successed = false; $op = empty($op) ? 'add' : $op; $announce = array(); $announce['checked'] = array('selected="selected"', ''); switch ($op) { case 'add': if(!submitcheck('submit')) { $announce['starttime'] = gmdate("$dateformat", $timestamp + 3600 * $timeoffset); $announce['endtime'] = gmdate("$dateformat", $timestamp + 3600 * $timeoffset + 86400 * 30); } else { $message = is_array($message) ? $message[$type] : ''; save_announce(0, $starttime, $endtime, $subject, $type, $message, 0); $add_successed = true; } break; case 'manage': $annlist = get_annlist(); if(submitcheck('submit')) { $delids = array(); if(!empty($delete) && is_array($delete)) { foreach ($delete as $id) { $id = intval($id); if(isset($annlist[$id])) { unset($annlist[$id]); $delids[] = $id; } } if($delids) { $db->query("DELETE FROM {$tablepre}announcements WHERE id IN(".implodeids($delids).") AND author='$discuz_user'", 'UNBUFFERED'); } } $updateorder = false; if(!empty($order) && is_array($order)) { foreach ($order as $id => $val) { $val = intval($val); if(isset($annlist[$id]) && $annlist[$id]['displayorder'] != $val) { $annlist[$id]['displayorder'] = $val; $db->query("UPDATE {$tablepre}announcements SET displayorder='$val' WHERE id='$id'", "UNBUFFERED"); $updateorder = true; } } } if($delids || $updateorder) { update_announcecache(); } } break; case 'edit': $id = intval($id); $query = $db->query("SELECT * FROM {$tablepre}announcements WHERE id='$id' AND author='$discuz_user'"); if(!$announce = $db->fetch_array($query)) { showmessage('modcp_ann_nofound'); } if(!submitcheck('submit')) { $announce['starttime'] = $announce['starttime'] ? gmdate($dateformat, $announce['starttime'] + $_DCACHE['settings']['timeoffset'] * 3600) : ''; $announce['endtime'] = $announce['endtime'] ? gmdate($dateformat, $announce['endtime'] + $_DCACHE['settings']['timeoffset'] * 3600) : ''; $announce['message'] = $announce['type'] != 1 ? dhtmlspecialchars($announce['message']) : $announce['message']; $announce['checked'] = $announce['type'] != 1 ? array('selected="selected"', '') : array('', 'selected="selected"'); } else { $announce['starttime'] = $starttime; $announce['endtime'] = $endtime; $announce['checked'] = $type != 1 ? array('selected="selected"', '') : array('', 'selected="selected"'); $message = $message[$type]; save_announce($id, $starttime, $endtime, $subject, $type, $message, $displayorder); $edit_successed = true; } break; } $annlist = get_annlist(); function get_annlist() { global $db, $tablepre, $adminid, $discuz_userss, $dateformat, $_DCACHE; $annlist = array(); $query = $db->query("SELECT * FROM {$tablepre}announcements ORDER BY displayorder, starttime DESC, id DESC"); while($announce = $db->fetch_array($query)) { $announce['disabled'] = $announce['author'] != $discuz_userss ? 'disabled' : ''; $announce['starttime'] = $announce['starttime'] ? gmdate($dateformat, $announce['starttime'] + $_DCACHE['settings']['timeoffset'] * 3600) : '-'; $announce['endtime'] = $announce['endtime'] ? gmdate($dateformat, $announce['endtime'] + $_DCACHE['settings']['timeoffset'] * 3600) : '-'; $annlist[$announce['id']] = $announce; } return $annlist; } function update_announcecache() { require_once DISCUZ_ROOT.'./include/cache.func.php'; updatecache(array('announcements', 'announcements_forum')); } function save_announce($id = 0, $starttime, $endtime, $subject, $type, $message, $displayorder = 0) { global $db, $tablepre, $discuz_user, $timestamp; $displayorder = intval($displayorder); $type = intval($type); $starttime = empty($starttime) || strtotime($starttime) < $timestamp ? $timestamp : strtotime($starttime); $endtime = empty($endtime) ? 0 : (strtotime($endtime) < $starttime ? ($starttime + 86400 * 30) : strtotime($endtime)); $subject = htmlspecialchars(trim($subject)); if($type == 1) { list($message) = explode("\n", trim($message)); $message = dhtmlspecialchars($message); } else { $type = 0; $message = trim($message); } if(empty($subject) || empty($message)) { acpmsg('modcp_ann_empty'); } elseif($type == 1 && substr(strtolower($message), 0, 7) != 'http://') { acpmsg('modcp_ann_urlerror'); } else { $sql = "author='$discuz_user', subject='$subject', type='$type', starttime='$starttime', endtime='$endtime', message='$message', displayorder='$displayorder'"; if(empty($id)) { $db->query("INSERT INTO {$tablepre}announcements SET $sql"); } else { $db->query("UPDATE {$tablepre}announcements SET $sql WHERE id='$id'", 'UNBUFFERED'); } update_announcecache(); return true; } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/announcements.inc.php
PHP
asf20
5,209
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: noperm.inc.php 16698 2008-11-14 07:58:56Z cnteacher $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/noperm.inc.php
PHP
asf20
262
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: threads.inc.php 21059 2009-11-10 01:28:17Z monkey $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } $op = !in_array($op , array('threads', 'posts')) ? 'threads' : $op; $do = !empty($do) ? dhtmlspecialchars($do) : ''; $modtpl = $op == 'posts' ? 'modcp_posts' : 'modcp_threads'; if($op == 'threads') { if($fid && $forum['ismoderator']) { $result = array(); foreach (array('threadoption', 'viewsless', 'viewsmore', 'repliesless', 'repliesmore', 'noreplydays') as $key) { $$key = isset($$key) && is_numeric($$key) ? intval($$key) : ''; $result[$key] = $$key; } foreach (array('starttime', 'endtime', 'keywords', 'users') as $key) { $result[$key] = isset($$key) ? dhtmlspecialchars($$key) : ''; } $threadoptionselect = array($threadoption => 'selected'); if($do == 'search' && submitcheck('submit')) { $sql = ''; if($threadoption > 0 && $threadoption < 255) { $sql .= " AND special='$threadoption'"; } elseif($threadoption == 999) { $sql .= " AND digest in(1,2,3)"; } elseif($threadoption == 888) { $sql .= " AND displayorder IN(1,2,3)"; } $sql .= $viewsless !== ''? " AND views<='$viewsless'" : ''; $sql .= $viewsmore !== ''? " AND views>='$viewsmore'" : ''; $sql .= $repliesless !== ''? " AND replies<='$repliesless'" : ''; $sql .= $repliesmore !== ''? " AND replies>='$repliesmore'" : ''; $sql .= $noreplydays !== ''? " AND lastpost<='$timestamp'-'$noreplydays'*86400" : ''; $sql .= $starttime != '' ? " AND dateline>='".strtotime($starttime)."'" : ''; $sql .= $endtime != '' ? " AND dateline<='".strtotime($endtime)."'" : ''; if(trim($keywords)) { $sqlkeywords = ''; $or = ''; $keywords = explode(',', str_replace(' ', '', $keywords)); for($i = 0; $i < count($keywords); $i++) { $sqlkeywords .= " $or subject LIKE '%".$keywords[$i]."%'"; $or = 'OR'; } $sql .= " AND ($sqlkeywords)"; $keywords = implode(', ', $keywords); } if(trim($users)) { $sql .= " AND author IN ('".str_replace(',', '\',\'', str_replace(' ', '', trim($users)))."')"; } if($sql) { $query = $db->query("SELECT tid FROM {$tablepre}threads WHERE fid='$fid' AND displayorder>=0 $sql ORDER BY displayorder DESC, lastpost DESC LIMIT 1000"); $tids = $comma = ''; $count = 0; while ($tid = $db->fetch_array($query)) { $tids .= $comma.$tid['tid']; $comma = ','; $count ++; } $result['tids'] = $tids; $result['count'] = $count; $result['fid'] = $fid; $modsession->set('srchresult', $result, true); $db->free_result($query); unset($result, $tids); $do = 'list'; $page = 1; } else { $do = ''; } } $page = max(1, intval($page)); $total = 0; $query = $multipage = ''; if(empty($do)) { $total = $db->result_first("SELECT count(*) FROM {$tablepre}threads WHERE fid='$fid' AND displayorder>=0"); $tpage = ceil($total / $tpp); $page = min($tpage, $page); $multipage = multi($total, $tpp, $page, "$cpscript?action=$action&amp;op=$op&amp;fid=$fid&amp;do=$do"); if($total) { $start = ($page - 1) * $tpp; $query = $db->query("SELECT * FROM {$tablepre}threads WHERE fid='$fid' AND displayorder>=0 ORDER BY displayorder DESC, lastpost DESC LIMIT $start, $tpp"); } } else { $result = $modsession->get('srchresult'); $threadoptionselect = array($result['threadoption'] => 'selected'); if($result['fid'] == $fid) { $total = $result['count']; $tpage = ceil($total / $tpp); $page = min($tpage, $page); $multipage = multi($total, $tpp, $page, "$cpscript?action=$action&amp;op=$op&amp;fid=$fid&amp;do=$do"); if($total) { $start = ($page - 1) * $tpp; $query = $db->query("SELECT * FROM {$tablepre}threads WHERE tid in($result[tids]) ORDER BY lastpost DESC LIMIT $start, $tpp"); } } } $postlist = array(); if($query) { require_once DISCUZ_ROOT.'./include/misc.func.php'; while ($thread = $db->fetch_array($query)) { $postlist[] = procthread($thread); } } } return; } if($op == 'posts') { $error = 0; $result = array(); $result['threadoption'] = intval($threadoption); $starttime = !preg_match("/^(0|\d{4}\-\d{1,2}\-\d{1,2})$/", $starttime) ? gmdate('Y-n-j', $timestamp + $timeoffset * 3600 - 86400 * ($adminid == 2 ? 13 : ($adminid == 3 ? 6 : 60))) : $starttime; $endtime = $adminid == 3 || !preg_match("/^(0|\d{4}\-\d{1,2}\-\d{1,2})$/", $endtime) ? gmdate('Y-n-j', $timestamp + $timeoffset * 3600) : $endtime; foreach (array('starttime', 'endtime', 'keywords', 'users', 'useip') as $key) { $$key = isset($$key) ? trim($$key) : ''; $result[$key] = dhtmlspecialchars($$key); } $threadoptionselect = array($threadoption => 'selected'); $fidadd = ''; if($fid && $modforums['list'][$fid]) { $fidadd = "AND fid='$fid'"; } else { if($adminid == 1 && $adminid == $groupid) { $fidadd = ''; } elseif(!$modforums['fids']) { $fidadd = 'AND 0 '; } else { $fidadd = "AND fid in($modforums[fids])"; } } if($do == 'delete' && submitcheck('deletesubmit')) { if(!$allowmassprune) { $error = 4; return; } $tidsdelete = $pidsdelete = '0'; $prune = array(); if($pids = implodeids($delete)) { $tidsdelete = $pidsdelete = '0'; $query = $db->query("SELECT fid, tid, pid, first, authorid FROM {$tablepre}posts WHERE pid IN ($pids) $fidadd"); while($post = $db->fetch_array($query)) { $prune['forums'][] = $post['fid']; $prune['thread'][$post['tid']]++; $pidsdelete .= ",$post[pid]"; $tidsdelete .= $post['first'] ? ",$post[tid]" : ''; } } if($pidsdelete) { require_once DISCUZ_ROOT.'./include/post.func.php'; $query = $db->query("SELECT attachment, thumb, remote FROM {$tablepre}attachments WHERE pid IN ($pidsdelete) OR tid IN ($tidsdelete)"); while($attach = $db->fetch_array($query)) { dunlink($attach['attachment'], $attach['thumb'], $attach['remote']); } if(!$nocredit) { $postsarray = $tuidarray = $ruidarray = array(); $query1 = $db->query("SELECT pid, first, authorid FROM {$tablepre}posts WHERE pid IN ($pidsdelete)"); $query2 = $db->query("SELECT pid, first, authorid FROM {$tablepre}posts WHERE tid IN ($tidsdelete)"); while(($post = $db->fetch_array($query1)) || ($post = $db->fetch_array($query2))) { $postsarray[$post['pid']] = $post; } foreach($postsarray as $post) { if($post['first']) { $tuidarray[] = $post['authorid']; } else { $ruidarray[] = $post['authorid']; } } if($tuidarray) { updatepostcredits('-', $tuidarray, $creditspolicy['post']); } if($ruidarray) { updatepostcredits('-', $ruidarray, $creditspolicy['reply']); } } $db->query("DELETE FROM {$tablepre}attachments WHERE pid IN ($pidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}attachmentfields WHERE pid IN ($pidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}attachments WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}attachmentfields WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}threadsmod WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}threadsmod WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}threads WHERE tid IN ($tidsdelete)"); $deletedthreads = $db->affected_rows(); $db->query("DELETE FROM {$tablepre}posts WHERE pid IN ($pidsdelete)"); $deletedposts = $db->affected_rows(); $db->query("DELETE FROM {$tablepre}posts WHERE tid IN ($tidsdelete)"); $deletedposts += $db->affected_rows(); $db->query("DELETE FROM {$tablepre}polloptions WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}polls WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}rewardlog WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}trades WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}rewardlog WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}activities WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}activityapplies WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}typeoptionvars WHERE tid IN ($tidsdelete)", 'UNBUFFERED'); if(count($prunt['thread']) < 50) { foreach($prune['thread'] as $tid => $decrease) { updatethreadcount($tid); } } else { $repliesarray = array(); foreach($prune['thread'] as $tid => $decrease) { $repliesarray[$decrease][] = $tid; } foreach($repliesarray as $decrease => $tidarray) { $db->query("UPDATE {$tablepre}threads SET replies=replies-$decrease WHERE tid IN (".implode(',', $tidarray).")"); } } foreach(array_unique($prune['forums']) as $id) { updateforumcount($id); } } $do = 'list'; } if($do == 'search' && submitcheck('searchsubmit', 1)) { if(($starttime == '0' && $endtime == '0') || ($keywords == '' && $useip == '' && $users == '')) { $error = 1; return ; } $sql = ''; if($threadoption == 1) { $sql .= " AND first='1'"; } elseif($threadoption == 2) { $sql .= " AND first='0'"; } if($starttime != '0') { $starttime = strtotime($starttime); $sql .= " AND dateline>'$starttime'"; } if($adminid == 1 && $endtime != gmdate('Y-n-j', $timestamp + $timeoffset * 3600)) { if($endtime != '0') { $endtime = strtotime($endtime); $sql .= " AND dateline<'$endtime'"; } } else { $endtime = $timestamp; } if(($adminid == 2 && $endtime - $starttime > 86400 * 14) || ($adminid == 3 && $endtime - $starttime > 86400 * 7)) { $error = '2'; return; } if($users != '') { $uids = $comma = ''; $query = $db->query("SELECT uid FROM {$tablepre}members WHERE username IN ('".str_replace(',', '\',\'', str_replace(' ', '', $users))."')"); while($member = $db->fetch_array($query)) { $uids .= $comma.$member[uid]; $comma = ','; } if($uids) { $sql .= " AND authorid IN ($uids)"; } } if(trim($keywords)) { $sqlkeywords = ''; $or = ''; $keywords = explode(',', str_replace(' ', '', $keywords)); for($i = 0; $i < count($keywords); $i++) { if(strlen($keywords[$i]) > 3) { $sqlkeywords .= " $or message LIKE '%".$keywords[$i]."%'"; $or = 'OR'; } else { $error = 3; return ; } } $sql .= " AND ($sqlkeywords)"; } $useip = trim($useip); if($useip != '') { $sql .= " AND useip LIKE '".str_replace('*', '%', $useip)."'"; } if($sql) { $query = $db->query("SELECT pid FROM {$tablepre}posts WHERE 1 $fidadd $sql ORDER BY dateline DESC LIMIT 1000"); $pids = $comma = ''; $count = 0; while ($pid = $db->fetch_array($query)) { $pids .= $comma.$pid['pid']; $comma = ','; $count ++; } $result['pids'] = $pids; $result['count'] = $count; $result['fid'] = $fid; $modsession->set('srchresult_p'.$fid, $result, true); $db->free_result($query); unset($result, $pids); $do = 'list'; $page = 1; } else { $do = ''; } } $page = max(1, intval($page)); $total = 0; $query = $multipage = ''; if($do == 'list') { $result = $modsession->get('srchresult_p'.$fid); $threadoptionselect = array($result['threadoption'] => 'selected'); if($result['fid'] == $fid) { $total = $result['count']; $tpage = ceil($total / $tpp); $page = min($tpage, $page); $multipage = multi($total, $tpp, $page, "$cpscript?action=$action&amp;op=$op&amp;fid=$fid&amp;do=$do"); if($total && $result[pids]) { $start = ($page - 1) * $tpp; $query = $db->query("SELECT p.*, t.subject as tsubject FROM {$tablepre}posts p LEFT JOIN {$tablepre}threads t USING(tid) WHERE pid in($result[pids]) ORDER BY dateline DESC LIMIT $start, $tpp"); } } } $postlist = array(); if($query) { require_once DISCUZ_ROOT.'./include/post.func.php'; while ($post = $db->fetch_array($query)) { $post['dateline'] = gmdate("$dateformat $timeformat", $post['dateline'] + $timeoffset * 3600); $post['message'] = messagecutstr($post['message'], 200); $post['forum'] = $modforums['list'][$post[fid]]; $post['modthreadkey'] = modthreadkey($post['tid']); $postlist[] = $post; } } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/threads.inc.php
PHP
asf20
12,868
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: report.inc.php 20608 2009-10-12 02:59:23Z monkey $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } $reportlist = $logids = array(); if(!empty($fid) && ($forum['type'] == 'group' || !$forum['ismoderator'])) { return false; } $fidadd = $fid ? "fid='$fid'" : "fid IN ($modforums[fids])"; if(submitcheck('deletesubmit') && $logids = implodeids($ids)) { if($op == 'delete') { $db->query("DELETE FROM {$tablepre}reportlog WHERE id IN ($logids) AND $fidadd", 'UNBUFFERED'); if($forum['modworks'] && !$db->result_first("SELECT COUNT(*) FROM {$tablepre}reportlog WHERE $fidadd AND status=1")) { $db->query("UPDATE {$tablepre}forums SET modworks='0' WHERE $fidadd", 'UNBUFFERED'); } } } $page = max(1, intval($page)); $ppp = 10; $reportlist = array('pagelink' => '', 'data' => array()); $reportnums = array(); $query = $db->query("SELECT fid, count(*) AS num FROM {$tablepre}reportlog GROUP BY fid"); while ($row = $db->fetch_array($query)) { $reportnums[$row['fid']] = $row['num']; } if($num = $db->result_first("SELECT COUNT(*) FROM {$tablepre}reportlog WHERE $fidadd")) { require_once DISCUZ_ROOT.'./include/post.func.php'; $page = $page > ceil($num / $ppp) ? ceil($num / $ppp) : $page; $start_limit = ($page - 1) * $ppp; $reportlist['pagelink'] = multi($num, $ppp, $page, "modcp.php?fid=$fid&action=report"); $query = $db->query("SELECT r.*, p.tid, p.message, p.author, p.authorid, t.subject, t.displayorder FROM {$tablepre}reportlog r LEFT JOIN {$tablepre}posts p ON p.pid=r.pid LEFT JOIN {$tablepre}threads t ON t.tid=p.tid WHERE r.$fidadd ORDER BY r.dateline DESC LIMIT $start_limit, $ppp"); $deleteids = $comma = ''; while($report = $db->fetch_array($query)) { if($report['tid'] && $report['displayorder'] >= 0) { $report['dateline'] = gmdate("$dateformat $timeformat", $report['dateline'] + $timeoffset * 3600); $report['message'] = messagecutstr($report['message'], 200); $reportlist['data'][] = $report; } else { $deleteids .= $comma.$report['id']; $comma = ','; } } if($deleteids) { $db->query("DELETE FROM {$tablepre}reportlog WHERE id in ($deleteids)"); if($forum['modworks'] && !$db->result_first("SELECT COUNT(*) FROM {$tablepre}reportlog WHERE fid='$fid' AND status=1")) { $db->query("UPDATE {$tablepre}forums SET modworks='0' WHERE fid='$fid'", 'UNBUFFERED'); } } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/report.inc.php
PHP
asf20
2,564
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: index.php 16688 2008-11-14 06:41:07Z cnteacher $ */ header('Location: ../modcp.php'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/index.php
PHP
asf20
201
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: home.inc.php 20606 2009-10-12 01:40:09Z monkey $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } if($op == 'addnote' && submitcheck('submit')) { $newaccess = 4 + ($newaccess[2] << 1) + $newaccess[3]; $newexpiration = $timestamp + (intval($newexpiration) > 0 ? intval($newexpiration) : 30) * 86400; $newmessage = nl2br(dhtmlspecialchars(trim($newmessage))); if($newmessage != '') { $db->query("INSERT INTO {$tablepre}adminnotes (admin, access, adminid, dateline, expiration, message) VALUES ('$discuz_user', '$newaccess', '$adminid', '$timestamp', '$newexpiration', '$newmessage')"); } } if($op == 'delete' && submitcheck('notlistsubmit')) { if(is_array($delete) && $deleteids = implodeids($delete)) { $db->query("DELETE FROM {$tablepre}adminnotes WHERE id IN($deleteids) AND ($adminid=1 OR admin='$discuz_user')"); } } switch($adminid) { case 1: $access = '1,2,3,4,5,6,7'; break; case 2: $access = '2,3,6,7'; break; default: $access = '1,3,5,7'; break; } $notelist = array(); $query = $db->query("SELECT * FROM {$tablepre}adminnotes WHERE access IN ($access) OR admin='$discuz_user' ORDER BY dateline DESC"); while($note = $db->fetch_array($query)) { if($note['expiration'] < $timestamp) { $db->query("DELETE FROM {$tablepre}adminnotes WHERE id='$note[id]'"); } else { $note['expiration'] = ceil(($note['expiration'] - $note['dateline']) / 86400); $note['dateline'] = gmdate("$dateformat $timeformat", $note['dateline'] + $timeoffset * 3600); $note['checkbox'] = '<input class="checkbox" type="checkbox" name="delete[]" '.($note['admin'] == $discuz_userss || $adminid == 1 ? "value=\"$note[id]\"" : 'disabled').'>'; $note['admin'] = '<a href="space.php?username='.rawurlencode($note['admin']).'" target="_blank">'.$note['admin'].'</a>'; $notelist[] = $note; } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/home.inc.php
PHP
asf20
1,994
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: moderate.inc.php 20987 2009-11-05 05:19:56Z monkey $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } if($op == 'members') { $filter = isset($filter) ? intval($filter) : 0; $filtercheck = array( $filter => 'selected'); if(submitcheck('dosubmit', 1) || submitcheck('modsubmit')) { if(empty($mod) || !in_array($mod, array('invalidate', 'validate', 'delete'))) { showmessage('modcp_noaction'); } $list = array(); if($moderate && is_array($moderate)) { foreach($moderate as $val) { if(is_numeric($val) && $val) { $list[] = $val; } } } if(submitcheck('dosubmit', 1)) { $handlekey = 'mods'; include template('modcp_moderate_float'); dexit(); } elseif ($uids = implodeids($list)) { $members = $uidarray = array(); $query = $db->query("SELECT v.*, m.uid, m.username, m.email, m.regdate FROM {$tablepre}validating v, {$tablepre}members m WHERE v.uid IN ($uids) AND m.uid=v.uid AND m.groupid='8' AND status='$filter'"); while($member = $db->fetch_array($query)) { $members[$member['uid']] = $member; $uidarray[] = $member['uid']; } if($uids = implodeids($uidarray)) { $reason = dhtmlspecialchars(trim($reason)); if($mod == 'delete') { $db->query("DELETE FROM {$tablepre}members WHERE uid IN ($uids)"); $db->query("DELETE FROM {$tablepre}memberfields WHERE uid IN ($uids)"); $db->query("DELETE FROM {$tablepre}validating WHERE uid IN ($uids)"); } if($mod == 'validate') { $newgroupid = $db->result_first("SELECT groupid FROM {$tablepre}usergroups WHERE creditshigher<=0 AND 0<creditslower LIMIT 1"); $db->query("UPDATE {$tablepre}members SET adminid='0', groupid='$newgroupid' WHERE uid IN ($uids)"); $db->query("DELETE FROM {$tablepre}validating WHERE uid IN ($uids)"); } if($mod == 'invalidate') { $db->query("UPDATE {$tablepre}validating SET moddate='$timestamp', admin='$discuz_user', status='1', remark='$reason' WHERE uid IN ($uids)"); } if($sendemail) { foreach($members as $uid => $member) { $member['regdate'] = gmdate($_DCACHE['settings']['dateformat'].' '.$_DCACHE['settings']['timeformat'], $member['regdate'] + $_DCACHE['settings']['timeoffset'] * 3600); $member['submitdate'] = gmdate($_DCACHE['settings']['dateformat'].' '.$_DCACHE['settings']['timeformat'], $member['submitdate'] + $_DCACHE['settings']['timeoffset'] * 3600); $member['moddate'] = gmdate($_DCACHE['settings']['dateformat'].' '.$_DCACHE['settings']['timeformat'], $timestamp + $_DCACHE['settings']['timeoffset'] * 3600); $member['operation'] = $mod; $member['remark'] = $reason ? $reason : 'N/A'; sendmail("$member[username] <$member[email]>", 'moderate_member_subject', 'moderate_member_message'); } } } showmessage('modcp_mod_succeed', "{$cpscript}?action=$action&op=$op&filter=$filter"); } else { showmessage('modcp_moduser_invalid'); } } else { $count = array(0, 0, 0); $query = $db->query("SELECT status, COUNT(*) AS count FROM {$tablepre}validating GROUP BY status"); while($num = $db->fetch_array($query)) { $count[$num['status']] = $num['count']; } $page = max(1, intval($page)); $memberperpage = 20; $start_limit = ($page - 1) * $memberperpage; $query = $db->query("SELECT COUNT(*) FROM {$tablepre}validating WHERE status='0'"); $multipage = multi($db->result($query, 0), $memberperpage, $page, "{$cpscript}?action=$action&op=$op&fid=$fid&filter=$filter"); $vuids = '0'; $memberlist = array(); $query = $db->query("SELECT m.uid, m.username, m.groupid, m.email, m.regdate, m.regip, v.message, v.submittimes, v.submitdate, v.moddate, v.admin, v.remark FROM {$tablepre}validating v, {$tablepre}members m WHERE v.status='$filter' AND m.uid=v.uid ORDER BY v.submitdate DESC LIMIT $start_limit, $memberperpage"); while($member = $db->fetch_array($query)) { if($member['groupid'] != 8) { $vuids .= ','.$member['uid']; continue; } $member['regdate'] = gmdate("$dateformat $timeformat", $member['regdate'] + $timeoffset * 3600); $member['submitdate'] = gmdate("$dateformat $timeformat", $member['submitdate'] + $timeoffset * 3600); $member['moddate'] = $member['moddate'] ? gmdate("$dateformat $timeformat", $member['moddate'] + $timeoffset * 3600) : $lang['none']; $member['message'] = dhtmlspecialchars($member['message']); $member['admin'] = $member['admin'] ? "<a href=\"space.php?username=".rawurlencode($member['admin'])."\" target=\"_blank\">$member[admin]</a>" : $lang['none']; $memberlist[] = $member; } if($vuids) { $db->query("DELETE FROM {$tablepre}validating WHERE uid IN ($vuids)", 'UNBUFFERED'); } return true; } } if(empty($modforums['fids'])) { return false; } elseif ($fid && ($forum['type'] == 'group' || !$forum['ismoderator'])) { return false; } else { if($fid) { $modfidsadd = "fid='$fid'"; } elseif($adminid == 1) { $modfidsadd = ""; } else { $modfidsadd = "fid in ($modforums[fids])"; } } $updatestat = false; $op = !in_array($op , array('replies', 'threads')) ? 'threads' : $op; $mod = !in_array($mod , array('delete', 'ignore', 'validate')) ? 'ignore' : $mod; $filter = !empty($filter) ? -3 : 0; $filtercheck = array($filter => 'selected="selected"'); $pstat = $filter == -3 ? -3 : -2; $tpp = 10; $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $postlist = array(); $modpost = array('validate' => 0, 'delete' => 0, 'ignore' => 0); $moderation = array('validate' => array(), 'delete' => array(), 'ignore' => array()); require_once DISCUZ_ROOT.'./include/post.func.php'; if(submitcheck('dosubmit', 1) || submitcheck('modsubmit')) { $list = array(); if($moderate && is_array($moderate)) { foreach($moderate as $val) { if(is_numeric($val) && $val) { $moderation[$mod][] = $val; } } } if(submitcheck('dosubmit', 1)) { $handlekey = 'mods'; $list = $moderation[$mod]; include template('modcp_moderate_float'); dexit(); } else { $updatestat = $op == 'replies' ? 1 : 2; $modpost = array( 'ignore' => count($moderation['ignore']), 'delete' => count($moderation['delete']), 'validate' => count($moderation['validate']) ); } } if($op == 'replies') { if(submitcheck('modsubmit')) { $pmlist = array(); if($ignorepids = implodeids($moderation['ignore'])) { $db->query("UPDATE {$tablepre}posts SET invisible='-3' WHERE pid IN ($ignorepids) AND invisible='-2' AND first='0' AND ".($modfidsadd ? $modfidsadd : '1')); } if($deletepids = implodeids($moderation['delete'])) { $query = $db->query("SELECT pid, authorid, tid, message FROM {$tablepre}posts WHERE pid IN ($deletepids) AND invisible='$pstat' AND first='0' AND ".($modfidsadd ? $modfidsadd : '1')); $pids = '0'; while($post = $db->fetch_array($query)) { $pids .= ','.$post['pid']; if($reason != '' && $post['authorid'] && $post['authorid'] != $discuz_uid) { $pmlist[] = array( 'act' => 'modreplies_delete', 'authorid' => $post['authorid'], 'tid' => $post['tid'], 'post' => messagecutstr($post['message'], 30) ); } } if($pids) { $query = $db->query("SELECT attachment, thumb, remote FROM {$tablepre}attachments WHERE pid IN ($pids)"); while($attach = $db->fetch_array($query)) { dunlink($attach['attachment'], $attach['thumb'], $attach['remote']); } $db->query("DELETE FROM {$tablepre}attachments WHERE pid IN ($pids)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}attachmentfields WHERE pid IN ($pids)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}posts WHERE pid IN ($pids)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}trades WHERE pid IN ($pids)", 'UNBUFFERED'); } updatemodworks('DLP', count($moderation['delete'])); } $repliesmod = 0; if($validatepids = implodeids($moderation['validate'])) { $threads = $lastpost = $attachments = $pidarray = $authoridarray = array(); $query = $db->query("SELECT t.lastpost, p.pid, p.fid, p.tid, p.authorid, p.author, p.dateline, p.attachment, p.message, p.anonymous, ff.replycredits FROM {$tablepre}posts p LEFT JOIN {$tablepre}forumfields ff ON ff.fid=p.fid LEFT JOIN {$tablepre}threads t ON t.tid=p.tid WHERE p.pid IN ($validatepids) AND p.invisible='$pstat' AND p.first='0' AND ".($modfidsadd ? "p.{$modfidsadd}" : '1')); while($post = $db->fetch_array($query)) { $repliesmod ++; $pidarray[] = $post['pid']; if($post['replycredits']) { updatepostcredits('+', $post['authorid'], unserialize($post['replycredits'])); } else { $authoridarray[] = $post['authorid']; } $threads[$post['tid']]['posts']++; $threads[$post['tid']]['lastpostadd'] = $post['dateline'] > $post['lastpost'] && $post['dateline'] > $lastpost[$post['tid']] ? ", lastpost='$post[dateline]', lastposter='".($post['anonymous'] && $post['dateline'] != $post['lastpost'] ? '' : addslashes($post[author]))."'" : ''; $threads[$post['tid']]['attachadd'] = $threads[$post['tid']]['attachadd'] || $post['attachment'] ? ', attachment=\'1\'' : ''; $pm = 'pm_'.$post['pid']; if($reason != '' && $post['authorid'] && $post['authorid'] != $discuz_uid) { $pmlist[] = array( 'act' => 'modreplies_validate', 'authorid' => $post['authorid'], 'tid' => $post['tid'], 'post' => messagecutstr($post['message'], 30) ); } } if($authoridarray) { updatepostcredits('+', $authoridarray, $creditspolicy['reply']); } foreach($threads as $tid => $thread) { $db->query("UPDATE {$tablepre}threads SET replies=replies+$thread[posts] $thread[lastpostadd] $thread[attachadd] WHERE tid='$tid'", 'UNBUFFERED'); } if($fid) { updateforumcount($fid); } else { $fids = array_keys($modforums['list']); foreach($fids as $f) { updateforumcount($f); } } if(!empty($pidarray)) { $db->query("UPDATE {$tablepre}posts SET invisible='0' WHERE pid IN (0,".implode(',', $pidarray).")"); $repliesmod = $db->affected_rows(); updatemodworks('MOD', $repliesmod); } else { updatemodworks('MOD', 1); } } if($pmlist) { $reason = dhtmlspecialchars($reason); foreach($pmlist as $pm) { $post = $pm['post']; $tid = intval($pm['tid']); sendnotice($pm['authorid'], $pm['act'], 'systempm'); } } showmessage('modcp_mod_succeed', "{$cpscript}?action=$action&op=$op&filter=$filter&fid=$fid"); } $attachlist = array(); require_once DISCUZ_ROOT.'./include/discuzcode.func.php'; require_once DISCUZ_ROOT.'./include/attachment.func.php'; $ppp = 10; $page = max(1, intval($page)); $start_limit = ($page - 1) * $ppp; $modcount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}posts WHERE invisible='$pstat' AND first='0' AND ".($modfidsadd ? $modfidsadd : '1')); $multipage = multi($modcount, $ppp, $page, "{$cpscript}?action=$action&op=$op&filter=$filter&fid=$fid"); if($modcount) { $query = $db->query("SELECT f.name AS forumname, f.allowsmilies, f.allowhtml, f.allowbbcode, f.allowimgcode, p.pid, p.fid, p.tid, p.author, p.authorid, p.subject, p.dateline, p.message, p.useip, p.attachment, p.htmlon, p.smileyoff, p.bbcodeoff, t.subject AS tsubject FROM {$tablepre}posts p LEFT JOIN {$tablepre}threads t ON t.tid=p.tid LEFT JOIN {$tablepre}forums f ON f.fid=p.fid WHERE p.invisible='$pstat' AND p.first='0' AND ".($modfidsadd ? "p.{$modfidsadd}" : '1')." ORDER BY p.dateline DESC LIMIT $start_limit, $ppp"); while($post = $db->fetch_array($query)) { $post['id'] = $post['pid']; $post['dateline'] = gmdate("$dateformat $timeformat", $post['dateline'] + $timeoffset * 3600); $post['subject'] = $post['subject'] ? '<b>'.$post['subject'].'</b>' : '<i>'.$lang['nosubject'].'</i>'; $post['message'] = nl2br(dhtmlspecialchars($post['message'])); if($post['attachment']) { $queryattach = $db->query("SELECT aid, filename, filetype, filesize, attachment, isimage, remote FROM {$tablepre}attachments WHERE pid='$post[pid]'"); while($attach = $db->fetch_array($queryattach)) { $attachurl = $attach['remote'] ? $ftp['attachurl'] : $attachurl; $attach['url'] = $attach['isimage'] ? " $attach[filename] (".sizecount($attach['filesize']).")<br /><br /><img src=\"$attachurl/$attach[attachment]\" onload=\"if(this.width > 400) {this.resized=true; this.width=400;}\">" : "<a href=\"$attachurl/$attach[attachment]\" target=\"_blank\">$attach[filename]</a> (".sizecount($attach['filesize']).")"; $post['message'] .= "<br /><br />File: ".attachtype(fileext($attach['filename'])."\t".$attach['filetype']).$attach['url']; } } $postlist[] = $post; } } } else { if(submitcheck('modsubmit')) { if($ignoretids = implodeids($moderation['ignore'])) { $db->query("UPDATE {$tablepre}threads SET displayorder='-3' WHERE tid IN ($ignoretids) AND displayorder='-2' AND ".($modfidsadd ? $modfidsadd : '1')); } $threadsmod = 0; $pmlist = array(); $reason = trim($reason); if($ids = implodeids($moderation['delete'])) { $deletetids = '0'; $recyclebintids = '0'; $query = $db->query("SELECT tid, fid, authorid, subject FROM {$tablepre}threads WHERE tid IN ($ids) AND displayorder='$pstat' AND ".($modfidsadd ? $modfidsadd : '1')); while($thread = $db->fetch_array($query)) { if($modforums['recyclebins'][$thread['fid']]) { $recyclebintids .= ','.$thread['tid']; } else { $deletetids .= ','.$thread['tid']; } if($reason != '' && $thread['authorid'] && $thread['authorid'] != $discuz_uid) { $pmlist[] = array( 'act' => 'modthreads_delete', 'authorid' => $thread['authorid'], 'thread' => $thread['subject'] ); } } if($recyclebintids) { $db->query("UPDATE {$tablepre}threads SET displayorder='-1', moderated='1' WHERE tid IN ($recyclebintids)"); updatemodworks('MOD', $db->affected_rows()); $db->query("UPDATE {$tablepre}posts SET invisible='-1' WHERE tid IN ($recyclebintids)"); updatemodlog($recyclebintids, 'DEL'); } $query = $db->query("SELECT attachment, thumb, remote FROM {$tablepre}attachments WHERE tid IN ($deletetids)"); while($attach = $db->fetch_array($query)) { dunlink($attach['attachment'], $attach['thumb'], $attach['remote']); } $db->query("DELETE FROM {$tablepre}threads WHERE tid IN ($deletetids)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}posts WHERE tid IN ($deletetids)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}polloptions WHERE tid IN ($deletetids)"); $db->query("DELETE FROM {$tablepre}polls WHERE tid IN ($deletetids)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}trades WHERE tid IN ($deletetids)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}attachments WHERE tid IN ($deletetids)", 'UNBUFFERED'); $db->query("DELETE FROM {$tablepre}attachmentfields WHERE tid IN ($deletetids)", 'UNBUFFERED'); } if($validatetids = implodeids($moderation['validate'])) { $tids = $comma = $comma2 = ''; $authoridarray = $moderatedthread = array(); $query = $db->query("SELECT t.fid, t.tid, t.authorid, t.subject, t.author, t.dateline, ff.postcredits FROM {$tablepre}threads t LEFT JOIN {$tablepre}forumfields ff ON ff.fid=t.fid WHERE t.tid IN ($validatetids) AND t.displayorder='$pstat' AND ".($modfidsadd ? "t.{$modfidsadd}" : '1')); while($thread = $db->fetch_array($query)) { $tids .= $comma.$thread['tid']; $comma = ','; if($thread['postcredits']) { updatepostcredits('+', $thread['authorid'], $thread['postcredits']); } else { $authoridarray[] = $thread['authorid']; } $validatedthreads[] = $thread; if($reason != '' && $thread['authorid'] && $thread['authorid'] != $discuz_uid) { $pmlist[] = array( 'act' => 'modthreads_validate', 'authorid' => $thread['authorid'], 'tid' => $thread['tid'], 'thread' => $thread['subject'] ); } } if($tids) { if($authoridarray) { updatepostcredits('+', $authoridarray, $creditspolicy['post']); } $db->query("UPDATE {$tablepre}posts SET invisible='0' WHERE tid IN ($tids)"); $db->query("UPDATE {$tablepre}threads SET displayorder='0', moderated='1' WHERE tid IN ($tids)"); $threadsmod = $db->affected_rows(); if($fid) { updateforumcount($fid); } else { $fids = array_keys($modforums['list']); foreach($fids as $f) { updateforumcount($f); } } updatemodworks('MOD', $threadsmod); updatemodlog($tids, 'MOD'); } } if($pmlist) { $reason = dhtmlspecialchars($reason); foreach($pmlist as $pm) { $threadsubject = $pm['thread']; $tid = intval($pm['tid']); sendnotice($pm['authorid'], $pm['act'], 'systempm'); } } showmessage('modcp_mod_succeed', "{$cpscript}?action=$action&op=$op&filter=$filter&fid=$fid"); } $modcount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}threads WHERE ".($modfidsadd ? " $modfidsadd AND " : '')." displayorder='$pstat'"); $multipage = multi($modcount, $tpp, $page, "{$cpscript}?action=$action&op=$op&filter=$filter&fid=$fid"); if($modcount) { $query = $db->query("SELECT t.tid, t.fid, t.author, t.sortid, t.authorid, t.subject as tsubject, t.dateline, t.attachment, p.pid, p.message, p.useip, p.attachment FROM {$tablepre}threads t LEFT JOIN {$tablepre}posts p ON p.tid=t.tid AND p.first = 1 WHERE ".($modfidsadd ? " t.{$modfidsadd} AND " : '')." t.displayorder='$pstat' ORDER BY t.dateline DESC LIMIT $start_limit, $tpp"); while($thread = $db->fetch_array($query)) { $thread['id'] = $thread['tid']; if($thread['authorid'] && $thread['author'] != '') { $thread['author'] = "<a href=\"space.php?uid=$thread[authorid]\" target=\"_blank\">$thread[author]</a>"; } elseif($thread['authorid']) { $thread['author'] = "<a href=\"space.php?uid=$thread[authorid]\" target=\"_blank\">UID $thread[uid]</a>"; } else { $thread['author'] = 'guest'; } $thread['dateline'] = gmdate("$dateformat $timeformat", $thread['dateline'] + $timeoffset * 3600); $thread['message'] = nl2br(dhtmlspecialchars($thread['message'])); if($thread['attachment']) { require_once DISCUZ_ROOT.'./include/attachment.func.php'; $queryattach = $db->query("SELECT aid, filename, filetype, filesize, attachment, isimage, remote FROM {$tablepre}attachments WHERE tid='$thread[tid]'"); while($attach = $db->fetch_array($queryattach)) { $attachurl = $attach['remote'] ? $ftp['attachurl'] : $attachurl; $attach['url'] = $attach['isimage'] ? " $attach[filename] (".sizecount($attach['filesize']).")<br /><br /><img src=\"$attachurl/$attach[attachment]\" onload=\"if(this.width > 400) {this.resized=true; this.width=400;}\">" : "<a href=\"$attachurl/$attach[attachment]\" target=\"_blank\">$attach[filename]</a> (".sizecount($attach['filesize']).")"; $thread['attach'] .= "<br /><br />$lang[attachment]: ".attachtype(fileext($thread['filename'])."\t".$attach['filetype']).$attach['url']; } } else { $thread['attach'] = ''; } $optiondata = $optionlist = array(); if($thread['sortid']) { if(@include_once DISCUZ_ROOT.'./forumdata/cache/threadsort_'.$thread['sortid'].'.php') { $sortquery = $db->query("SELECT optionid, value FROM {$tablepre}typeoptionvars WHERE tid='$thread[tid]'"); while($option = $db->fetch_array($sortquery)) { $optiondata[$option['optionid']] = $option['value']; } foreach($_DTYPE as $optionid => $option) { $optionlist[$option['identifier']]['title'] = $_DTYPE[$optionid]['title']; if($_DTYPE[$optionid]['type'] == 'checkbox') { $optionlist[$option['identifier']]['value'] = ''; foreach(explode("\t", $optiondata[$optionid]) as $choiceid) { $optionlist[$option['identifier']]['value'] .= $_DTYPE[$optionid]['choices'][$choiceid].'&nbsp;'; } } elseif(in_array($_DTYPE[$optionid]['type'], array('radio', 'select'))) { $optionlist[$option['identifier']]['value'] = $_DTYPE[$optionid]['choices'][$optiondata[$optionid]]; } elseif($_DTYPE[$optionid]['type'] == 'image') { $maxwidth = $_DTYPE[$optionid]['maxwidth'] ? 'width="'.$_DTYPE[$optionid]['maxwidth'].'"' : ''; $maxheight = $_DTYPE[$optionid]['maxheight'] ? 'height="'.$_DTYPE[$optionid]['maxheight'].'"' : ''; $optionlist[$option['identifier']]['value'] = $optiondata[$optionid] ? "<a href=\"$optiondata[$optionid]\" target=\"_blank\"><img src=\"$optiondata[$optionid]\" $maxwidth $maxheight border=\"0\"></a>" : ''; } elseif($_DTYPE[$optionid]['type'] == 'url') { $optionlist[$option['identifier']]['value'] = $optiondata[$optionid] ? "<a href=\"$optiondata[$optionid]\" target=\"_blank\">$optiondata[$optionid]</a>" : ''; } elseif($_DTYPE[$optionid]['type'] == 'textarea') { $optionlist[$option['identifier']]['value'] = $optiondata[$optionid] ? nl2br($optiondata[$optionid]) : ''; } else { $optionlist[$option['identifier']]['value'] = $optiondata[$optionid]; } } } foreach($optionlist as $option) { $thread['sortinfo'] .= '<br />'.$option['title'].' '.$option['value']; } } else { $thread['sortinfo'] = ''; } $postlist[] = $thread; } } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/moderate.inc.php
PHP
asf20
21,987
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: forums.inc.php 20596 2009-10-10 06:52:20Z monkey $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } $forumupdate = $listupdate = false; $op = !in_array($op , array('editforum', 'recommend')) ? 'editforum' : $op; if(empty($fid)) { if(!empty($_DCOOKIE['modcpfid'])) { $fid = $_DCOOKIE['modcpfid']; } else { list($fid) = array_keys($modforums['list']); } dheader("Location: {$cpscript}?action=$action&op=$op&fid=$fid"); } if($fid && $forum['ismoderator']) { if($op == 'editforum') { require_once DISCUZ_ROOT.'./include/editor.func.php'; $alloweditrules = $adminid == 1 || $forum['alloweditrules'] ? true : false; if(!submitcheck('editsubmit')) { $forum['description'] = html2bbcode($forum['description']); $forum['rules'] = html2bbcode($forum['rules']); } else { require_once DISCUZ_ROOT.'./include/discuzcode.func.php'; $forumupdate = true; $descnew = addslashes(preg_replace('/on(mousewheel|mouseover|click|load|onload|submit|focus|blur)="[^"]*"/i', '', discuzcode(stripslashes($descnew), 1, 0, 0, 0, 1, 1, 0, 0, 1))); $rulesnew = $alloweditrules ? addslashes(preg_replace('/on(mousewheel|mouseover|click|load|onload|submit|focus|blur)="[^"]*"/i', '', discuzcode(stripslashes($rulesnew), 1, 0, 0, 0, 1, 1, 0, 0, 1))) : addslashes($forum['rules']); $db->query("UPDATE {$tablepre}forumfields SET description='$descnew', rules='$rulesnew' WHERE fid='$fid'"); $forum['description'] = html2bbcode(stripslashes($descnew)); $forum['rules'] = html2bbcode(stripslashes($rulesnew)); } } elseif($op == 'recommend') { if($adminid == 3) { $useradd = "AND moderatorid IN ('$discuz_uid', 0)"; } $ordernew = !empty($ordernew) && is_array($ordernew) ? $ordernew : array(); if(submitcheck('editsubmit') && $forum['modrecommend']['sort'] != 1) { $threads = array(); foreach($order as $id => $position) { $threads[$id]['order'] = $position; } foreach($subject as $id => $title) { $threads[$id]['subject'] = $title; } foreach($expirationrecommend as $id => $expiration) { $expiration = trim($expiration); if(!empty($expiration)) { if(!preg_match('/^\d{4}-\d{1,2}-\d{1,2} +\d{1,2}:\d{1,2}$/', $expiration)) { showmessage('recommend_expiration_invalid'); } list($expiration_date, $expiration_time) = explode(' ', $expiration); list($expiration_year, $expiration_month, $expiration_day) = explode('-', $expiration_date); list($expiration_hour, $expiration_min) = explode(':', $expiration_time); $expiration_sec = 0; $expiration_timestamp = mktime($expiration_hour, $expiration_min, $expiration_sec, $expiration_month, $expiration_day, $expiration_year); } else { $expiration_timestamp = 0; } $threads[$id]['expiration'] = $expiration_timestamp; } if($ids = implodeids($delete)) { $listupdate = true; $db->query("DELETE FROM {$tablepre}forumrecommend WHERE fid='$fid' AND tid IN($ids)"); } if(is_array($delete)) { foreach($delete as $id) { $threads[$id]['delete'] = true; unset($threads[$id]); } } foreach($threads as $id => $item) { $item['displayorder'] = intval($item['order']); $item['subject'] = dhtmlspecialchars($item['subject']); $db->query("UPDATE {$tablepre}forumrecommend SET subject='$item[subject]', displayorder='$item[displayorder]', moderatorid='$discuz_uid', expiration='$item[expiration]' WHERE tid='$id'"); } $listupdate = true; } switch($show) { case 'forumdisplay': $useradd .= "AND position='1'"; break; case 'viewthread': $useradd .= "AND position='2'"; break; case 'unlimited': $useradd .= "AND position='0'"; break; } $page = max(1, intval($page)); $start_limit = ($page - 1) * $tpp; $threadcount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}forumrecommend WHERE fid='$fid' $useradd"); $multipage = multi($threadcount, $tpp, $page, "$cpscript?action=$action&fid=$fid&page=$page"); $threadlist = array(); $query = $db->query("SELECT f.*, m.username as moderator FROM {$tablepre}forumrecommend f LEFT JOIN {$tablepre}members m ON f.moderatorid=m.uid WHERE f.fid='$fid' $useradd LIMIT $start_limit,$tpp"); while($thread = $db->fetch_array($query)) { $thread['authorlink'] = $thread['authorid'] ? "<a href=\"space.php?uid=$thread[authorid]\" target=\"_blank\">$thread[author]</a>" : 'Guest'; $thread['moderatorlink'] = $thread['moderator'] ? "<a href=\"space.php?uid=$thread[moderatorid]\" target=\"_blank\">$thread[moderator]</a>" : 'System'; $thread['expiration'] = $thread['expiration'] ? gmdate("$dateformat $timeformat", $thread['expiration'] + ($timeoffset * 3600)) : ''; $threadlist[] = $thread; } } } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/forums.inc.php
PHP
asf20
5,005
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: plugin.inc.php 20199 2009-09-22 00:08:56Z monkey $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } list($identifier, $module) = explode(':', $id); if(!is_array($plugins['modcp_'.$op]) || !array_key_exists($id, $plugins['modcp_'.$op])) { showmessage('undefined_action'); } $directory = $plugins['modcp_'.$op][$id]['directory']; if(empty($identifier) || !preg_match("/^[a-z]+[a-z0-9_]*\/$/i", $directory) || !preg_match("/^[a-z0-9_\-]+$/i", $module)) { showmessage('undefined_action'); } if(@!file_exists(DISCUZ_ROOT.($modfile = './plugins/'.$directory.$module.'.inc.php'))) { showmessage('plugin_module_nonexistence'); } if(@in_array($identifier, $pluginlangs)) { @include_once DISCUZ_ROOT.'./forumdata/cache/cache_scriptlang.php'; } $modtpl = $identifier.':'.$module; include DISCUZ_ROOT.$modfile; ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/plugin.inc.php
PHP
asf20
984
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: editpost.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } if(!$discuz_uid || !($forum['ismoderator'])) { // showmessage('admin_nopermission', NULL, 'HALTED'); exit('Admin Nopermission'); } if($action == 'editsubject') { $orig = $db->fetch_first("SELECT m.adminid, p.first, p.authorid, p.author, p.dateline, p.anonymous, p.invisible FROM {$tablepre}posts p LEFT JOIN {$tablepre}members m ON m.uid=p.authorid WHERE p.tid='$tid' AND p.first='1' AND fid='$fid'"); if(empty($orig)) { showmessage('thread_nonexistence', NULL, 'AJAXERROR'); } periodscheck('postbanperiods'); if(empty($forum['allowview'])) { if(!$forum['viewperm'] && !$readaccess) { showmessage('group_nopermission', NULL, 'NOPERM'); } elseif($forum['viewperm'] && !forumperm($forum['viewperm'])) { showmessage('forum_nopermission', NULL, 'NOPERM'); } } if(!$forum['ismoderator'] || !$alloweditpost || (in_array($orig['adminid'], array(1, 2, 3)) && $adminid > $orig['adminid'])) { showmessage('post_edit_nopermission', NULL, 'HALTED'); } if(!submitcheck('editsubjectsubmit', 1)) { include template('modcp_editpost'); exit; } else { require_once DISCUZ_ROOT.'./include/discuzcode.func.php'; $subjectnew = dhtmlspecialchars(censor(trim($subjectnew))); if(strlen($subjectnew) > 80) { showmessage('post_subject_toolong'); } $query = $db->query("UPDATE {$tablepre}threads SET subject='$subjectnew' WHERE tid='$tid'"); $query = $db->query("UPDATE {$tablepre}posts SET subject='$subjectnew' WHERE tid='$tid' AND first='1'"); showmessage('<a href="viewthread.php?tid='.$tid.'">'.stripslashes($subjectnew).'</a>'); } } elseif($action == 'editmessage') { $orig = $db->fetch_first("SELECT m.adminid, p.first, p.authorid, p.author, p.dateline, p.anonymous, p.invisible, p.message FROM {$tablepre}posts p LEFT JOIN {$tablepre}members m ON m.uid=p.authorid WHERE p.pid='$pid' AND p.invisible > -1"); if(empty($orig)) { showmessage('post_check', NULL, 'AJAXERROR'); } periodscheck('postbanperiods'); if(empty($forum['allowview'])) { if(!$forum['viewperm'] && !$readaccess) { showmessage('group_nopermission', NULL, 'NOPERM'); } elseif($forum['viewperm'] && !forumperm($forum['viewperm'])) { showmessage('forum_nopermission', NULL, 'NOPERM'); } } if(!$forum['ismoderator'] || !$alloweditpost || (in_array($orig['adminid'], array(1, 2, 3)) && $adminid > $orig['adminid'])) { showmessage('post_edit_nopermission', NULL, 'HALTED'); } if(!submitcheck('editmessagesubmit', 1)) { include template('modcp_editpost'); exit; } else { require_once DISCUZ_ROOT.'./include/discuzcode.func.php'; if($do == 'notupdate') { $message = $orig['message']; $message = discuzcode($message, 0, 0, 0, $forum['allowsmilies'], $forum['allowbbcode'], ($forum['allowimgcode'] && $showimages ? 1 : 0), $forum['allowhtml'], 0, 0, $orig['authorid']); showmessage(stripslashes($message)); } else { $message = censor(trim($message)); if(!$disablepostctrl) { if($maxpostsize && strlen($message) > $maxpostsize) { showmessage('post_message_toolong'); } elseif($minpostsize && strlen(preg_replace("/\[quote\].+?\[\/quote\]/is", '', $message)) < $minpostsize) { showmessage('post_message_tooshort'); } } $query = $db->query("UPDATE {$tablepre}posts SET message='$message' WHERE pid='$pid'"); $message = discuzcode($message, 0, 0, 0, $forum['allowsmilies'], $forum['allowbbcode'], ($forum['allowimgcode'] && $showimages ? 1 : 0), $forum['allowhtml'], 0, 0, $orig['authorid']); showmessage(stripslashes($message)); } } } include template('modcp_editpost'); ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/editpost.inc.php
PHP
asf20
3,925
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: login.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/login.inc.php
PHP
asf20
261
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: forumaccess.inc.php 16698 2008-11-14 07:58:56Z cnteacher $ */ if(!defined('IN_DISCUZ') || !defined('IN_MODCP')) { exit('Access Denied'); } $list = $logids = array(); include_once(DISCUZ_ROOT.'./include/forum.func.php'); $forumlistall = forumselect(false, false, $fid); $adderror = $successed = 0; $new_user = isset($new_user) ? trim($new_user) : ''; if($fid && $forum['ismoderator'] && $new_user != '' && submitcheck('addsubmit')) { $deleteaccess = isset($deleteaccess) ? 1 : 0; if($new_user != '') { $user = $db->fetch_first("SELECT uid, adminid FROM {$tablepre}members WHERE username='$new_user'"); $uid = $user['uid']; if(empty($user)) { $adderror = 1; } elseif($user['adminid'] && $adminid != 1) { $adderror = 2; } else { $access = $db->fetch_first("SELECT * FROM {$tablepre}access WHERE fid='$fid' AND uid='$uid'"); if($deleteaccess) { if($access && $adminid != 1 && inwhitelist($access)) { $adderror = 3; } else { $successed = true; $access && delete_access($user['uid'], $fid); } } elseif(!(empty($new_view) && empty($new_post) && empty($new_reply) && empty($new_getattach) && empty($new_postattach))) { if($new_view == -1) { $new_view = $new_post = $new_reply = $new_getattach = $new_postattach = -1; } else { $new_view = 0; $new_post = $new_post ? -1 : 0; $new_reply = $new_reply ? -1 : 0; $new_getattach = $new_getattach ? -1 : 0; $new_postattach = $new_postattach ? -1 : 0; } if(empty($access)) { $successed = true; $db->query("INSERT INTO {$tablepre}access SET uid='$uid', fid='$fid', allowview='$new_view', allowpost='$new_post', allowreply='$new_reply', allowpostattach='$new_postattach', allowgetattach='$new_getattach', adminuser='$discuz_uid', dateline='$timestamp'"); $db->query("UPDATE {$tablepre}members SET accessmasks='1' WHERE uid='$uid'", 'UNBUFFERED'); } elseif($new_view == -1 && $access['allowview'] == 1 && $adminid != 1) { $adderror = 3; } else { if($adminid > 1) { $new_view = $access['allowview'] == 1 ? 1 : $new_view; $new_post = $access['allowpost'] == 1 ? 1 : $new_post; $new_reply = $access['allowreply'] == 1 ? 1 : $new_reply; $new_getattach = $access['allowgetattach'] == 1 ? 1 : $new_getattach; $new_postattach = $access['postattach'] == 1 ? 1 : $new_postattach; } $successed = true; $db->query("UPDATE {$tablepre}access SET allowview='$new_view', allowpost='$new_post', allowreply='$new_reply', allowpostattach='$new_postattach', allowgetattach='$new_getattach', adminuser='$discuz_uid', dateline='$timestamp' WHERE uid='$uid' AND fid='$fid'"); $db->query("UPDATE {$tablepre}members SET accessmasks='1' WHERE uid='$uid'", 'UNBUFFERED'); } } } } $new_user = $adderror ? $new_user : ''; } $new_user = dhtmlspecialchars($new_user); $fidadd = $useradd = ''; $suser = isset($suser) ? trim($suser) : ''; if(submitcheck('searchsubmit')) { $fidadd = $fid ? "AND fid='$fid'" : ''; if($suser != '') { $suid = $db->result_first("SELECT uid FROM {$tablepre}members WHERE username='$suser'"); $useradd = "AND uid='$suid'"; } } $suser = dhtmlspecialchars($suser); $page = max(1, intval($page)); $ppp = 10; $list = array('pagelink' => '', 'data' => array()); if($num = $db->result_first("SELECT COUNT(*) FROM {$tablepre}access WHERE 1=1 $fidadd $useradd")) { $page = $page > ceil($num / $ppp) ? ceil($num / $ppp) : $page; $start_limit = ($page - 1) * $ppp; $list['pagelink'] = multi($num, $ppp, $page, "modcp.php?fid=$fid&action=$action"); $query = $db->query("SELECT * FROM {$tablepre}access WHERE 1=1 $fidadd $useradd ORDER BY dateline DESC LIMIT $start_limit, $ppp"); $uidarray = array(); while($access = $db->fetch_array($query)) { $uidarray[$access['uid']] = $access['uid']; $uidarray[$access['adminuser']] = $access['adminuser']; $access['allowview'] = accessimg($access['allowview']); $access['allowpost'] = accessimg($access['allowpost']); $access['allowreply'] = accessimg($access['allowreply']); $access['allowpostattach'] = accessimg($access['allowpostattach']); $access['allowgetattach'] = accessimg($access['allowgetattach']); $access['dateline'] = gmdate("$dateformat", $access['dateline'] + $timeoffset * 3600); $access['forum'] = '<a href="forumdisplay.php?fid='.$access['fid'].'" target="_blank">'.strip_tags($_DCACHE['forums'][$access['fid']]['name']).'</a>'; $list['data'][] = $access; } $users = array(); if($uids = implodeids($uidarray)) { $query = $db->query("SELECT uid, username FROM {$tablepre}members WHERE uid IN ($uids)"); while ($user = $db->fetch_array($query)) { $users[$user['uid']] = $user['username']; } } } function delete_access($uid, $fid) { global $db, $tablepre; $db->query("DELETE FROM {$tablepre}access WHERE uid='$uid' AND fid='$fid'"); $mask = $db->result_first("SELECT count(*) FROM {$tablepre}access WHERE uid='$uid'"); if(!$mask) { $db->query("UPDATE {$tablepre}members SET accessmasks='' WHERE uid='$uid'", 'UNBUFFERED'); } } function accessimg($access) { return $access == -1 ? '<img src="images/common/access_disallow.gif" />' : ($access == 1 ? '<img src="images/common/access_allow.gif" />' : '<img src="images/common/access_normal.gif" />'); } function inwhitelist($access) { $return = false; foreach (array('allowview', 'allowpost', 'allowreply', 'allowpostattach', 'allowgetattach') as $key) { if($access[$key] == 1) { $return = true; break; } } return $return; } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/modcp/forumaccess.inc.php
PHP
asf20
5,677