📄 home.inc.php
字号:
require_once DISCUZ_ROOT.'./include/insenz.func.php';
echo '<div id="insenznews"></div>';
}
}
echo '<div id="boardnews"></div>';
showtableheader('', 'nobottom fixpadding');
if($membersmod || $threadsmod || $postsmod || $threadsdel) {
showtablerow('', '', '<h3 class="left margintop">'.lang('home_mods').': </h3><p class="left difflink">'.
($membersmod ? '<a href="'.$BASESCRIPT.'?action=moderate&operation=members">'.lang('home_mod_members').'</a>(<em class="lightnum">'.$membersmod.'</em>)' : '').
($threadsmod ? '<a href="'.$BASESCRIPT.'?action=moderate&operation=threads">'.lang('home_mod_threads').'</a>(<em class="lightnum">'.$threadsmod.'</em>)' : '').
($postsmod ? '<a href="'.$BASESCRIPT.'?action=moderate&operation=replies">'.lang('home_mod_posts').'</a>(<em class="lightnum">'.$postsmod.'</em>)' : '').
($threadsdel ? '<a href="'.$BASESCRIPT.'?action=recyclebin">'.lang('home_del_threads').'</a>(<em class="lightnum">'.$threadsdel.'</em>)' : '').
'</p><div class="clear"></div>'
);
}
showtablefooter();
showformheader('home');
showtableheader('home_notes', 'fixpadding"', '', '3');
$query = $db->query("SELECT * FROM {$tablepre}adminnotes 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['adminenc'] = rawurlencode($note['admin']);
$note['dateline'] = gmdate($dateformat, $note['dateline'] + $timeoffset * 3600);
$note['expiration'] = gmdate($dateformat, $note['expiration'] + $timeoffset * 3600);
showtablerow('', array('', '', ''), array(
'<a href="'.$BASESCRIPT.'?action=home¬esubmit=yes¬eid='.$note['id'].'"><img src="images/admincp/close.gif" width="7" height="8" title="'.lang('delete').'" /></a>',
"<span class=\"bold\"><a href=\"space.php?username=$note[adminenc]\" target=\"_blank\">$note[admin]</a>: </span>$note[message]",
"$note[dateline] ~ $note[expiration]"
));
}
}
showtablerow('', array(), array(
lang('home_notes_add'),
'<input type="text" class="txt" name="newmessage" value="" style="width:300px;" />',
lang('validity').': <input type="text" class="txt" name="newexpiration" value="'.gmdate('Y-n-j', $timestamp + $timeoffset * 3600 + 86400 * 30).'" size="8" /><input name="notesubmit" value="'.lang('submit').'" type="submit" class="btn" />'
));
showtablefooter();
showformfooter();
include_once DISCUZ_ROOT.'./uc_client/client.php';
showtableheader('home_sys_info', 'fixpadding');
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_discuz_version'),
'Discuz! '.DISCUZ_VERSION.' Release '.DISCUZ_RELEASE.' <a href="http://www.discuz.net/forumdisplay.php?fid=10" class="lightlink smallfont" target="_blank">'.lang('home_check_newversion').'</a> <a href="http://www.comsenz.com/purchase/discuz/" class="lightlink smallfont" target="_blank">专业支持与服务</a> <a href="http://idc.comsenz.com" class="lightlink smallfont" target="_blank">Discuz!专用主机</a>'
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_ucclient_version'),
'UCenter '.UC_CLIENT_VERSION.' Release '.UC_CLIENT_RELEASE
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_environment'),
$serverinfo
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_serversoftware'),
$serversoft
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_database'),
$dbversion
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_upload_perm'),
$fileupload
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_database_size'),
$dbsize
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_attach_size'),
$attachsize
));
showtablefooter();
showtableheader('home_dev', 'fixpadding');
showtablerow('', array('class="vtop td24 lineheight"'), array(
lang('home_dev_copyright'),
'<span class="bold"><a href="http://www.comsenz.com" class="lightlink2" target="_blank">康盛创想(北京)科技有限公司 (Comsenz Inc.)</a></span>'
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_dev_manager'),
'<a href="http://www.discuz.net/space.php?uid=1" class="lightlink smallfont" target="_blank">戴志康 (Kevin \'Crossday\' Day)</a>'
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array(
lang('home_dev_team'),
'<a href="http://www.discuz.net/space.php?uid=2691" class="lightlink smallfont" target="_blank">Liang \'Readme\' Chen</a>,
<a href="http://www.discuz.net/space.php?uid=1519" class="lightlink smallfont" target="_blank">Yang \'Summer\' Xia</a>,
<a href="http://www.discuz.net/space.php?uid=859" class="lightlink smallfont" target="_blank">Hypo \'cnteacher\' Wang</a>,
<a href="http://www.discuz.net/space.php?uid=16678" class="lightlink smallfont" target="_blank">Yang \'Dokho\' Song</a>,
<a href="http://www.discuz.net/space.php?uid=10407" class="lightlink smallfont" target="_blank">Qiang Liu</a>,
<a href="http://www.discuz.net/space.php?uid=80629" class="lightlink smallfont" target="_blank">Ning \'Monkey\' Hou</a>,
<a href="http://www.discuz.net/space.php?uid=15104" class="lightlink smallfont" target="_blank">Xiongfei \'Redstone\' Zhao</a>,
<a href="http://www.discuz.net/space.php?uid=210272" class="lightlink smallfont" target="_blank">XiaoDun \'Kenshine\' Fang</a>,
<a href="http://www.discuz.net/space.php?uid=492114" class="lightlink smallfont" target="_blank">Liang \'Metthew\' Xu</a>'
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight"'), array(
lang('home_dev_skins'),
'<a href="http://www.discuz.net/space.php?uid=294092" class="lightlink smallfont" target="_blank">Fangming \'Lushnis\' Li</a>,
<a href="http://www.discuz.net/space.php?uid=674006" class="lightlink smallfont" target="_blank">Jizhou \'Iavav\' Yuan</a>,
<a href="http://www.discuz.net/space.php?uid=362790" class="lightlink smallfont" target="_blank">Defeng \'Dfox\' Xu</a>,
<a href="http://www.discuz.net/space.php?uid=717854" class="lightlink smallfont" target="_blank">Ruitao \'Pony.M\' Ma</a>'
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight"'), array(
lang('home_dev_thanks'),
'<a href="http://www.discuz.net/space.php?uid=122246" class="lightlink smallfont" target="_blank">Heyond</a>,
<a href="http://www.discuz.net/space.php?uid=86282" class="lightlink smallfont" target="_blank">Jianxieshui</a>,
<a href="http://www.discuz.net/space.php?uid=9600" class="lightlink smallfont" target="_blank">Theoldmemory</a>,
<a href="http://www.discuz.net/space.php?uid=2629" class="lightlink smallfont" target="_blank">Rain5017</a>,
<a href="http://www.discuz.net/space.php?uid=26926" class="lightlink smallfont" target="_blank">Snow Wolf</a>,
<a href="http://www.discuz.net/space.php?uid=17149" class="lightlink smallfont" target="_blank">Hehechuan</a>,
<a href="http://www.discuz.net/space.php?uid=9132" class="lightlink smallfont" target="_blank">Pk0909</a>,
<a href="http://www.discuz.net/space.php?uid=248" class="lightlink smallfont" target="_blank">feixin</a>,
<a href="http://www.discuz.net/space.php?uid=675" class="lightlink smallfont" target="_blank">Laobing Jiuba</a>,
<a href="http://www.discuz.net/space.php?uid=13877" class="lightlink smallfont" target="_blank">Artery</a>,
<a href="http://www.discuz.net/space.php?uid=233" class="lightlink smallfont" target="_blank">Huli Hutu</a>,
<a href="http://www.discuz.net/space.php?uid=122" class="lightlink smallfont" target="_blank">Lao Gui</a>,
<a href="http://www.discuz.net/space.php?uid=159" class="lightlink smallfont" target="_blank">Tyc</a>,
<a href="http://www.discuz.net/space.php?uid=177" class="lightlink smallfont" target="_blank">Stoneage</a>,
<a href="http://www.discuz.net/space.php?uid=7155" class="lightlink smallfont" target="_blank">Gregry</a>,
<a href="http://www.17dst.com/" class="lightlink smallfont" target="_blank">Discuz! Support Team</a>'
));
showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight"'), array(
lang('home_dev_links'),
'<a href="http://www.comsenz.com" class="lightlink" target="_blank">公司网站</a>, <a href="http://idc.comsenz.com" class="lightlink" target="_blank">虚拟主机</a>, <a href="http://www.comsenz.com/category-51" class="lightlink" target="_blank">购买授权</a>, <a href="http://www.discuz.com/" class="lightlink" target="_blank">Discuz! 产品</a>, <a href="http://www.comsenz.com/downloads/styles/discuz" class="lightlink" target="_blank">模板</a>, <a href="http://www.comsenz.com/downloads/plugins/discuz" class="lightlink" target="_blank">插件</a>, <a href="http://faq.comsenz.com" class="lightlink" target="_blank">文档</a>, <a href="http://www.discuz.net/" class="lightlink" target="_blank">讨论区</a>'
));
showtablefooter();
echo '</div>';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -