📄 edxsky_forum_main.js
字号:
function forum_birthday()
{
document.write("<table cellspacing=1 cellpadding=1 class=table>");
document.write("<tr><td class=td> "+img_skin(web_img_m)+" 今天过生日的用户(共 <font class=red>"+birthday_num+"</font> 人)</td></tr>");
document.write("<tr><td class=bg_td align=center>");
document.write(" <table border=0 width='98%' cellspacing=0 cellpadding=2>");
document.write(" <tr><td width='20%' height=5></td><td width='20%'></td><td width='20%'></td><td width='20%'></td><td width='20%'></td></tr>");
if (birthday_body=="")
{ document.write("<tr><td colspan=5 class=gray> 今天没有过生日的用户</td></tr>"); }
else
{ document.write(birthday_body); }
document.write(" <tr><td height=5></td></tr>");
document.write(" </table>");
document.write("</td></tr>");
document.write("</table>" + ukong);
}
function forum_user_stat()
{
document.write("<table cellspacing=1 cellpadding=1 class=table>");
document.write("<tr><td class=td colspan=2> "+img_skin(web_img_m)+" 论坛数据 用户状态</td></tr>");
document.write("<tr><td class=bg_td>");
document.write(" <table border=0 width='100%'>");
document.write(" <tr>");
document.write(" <td align=center width=50><img src='"+web_dir_skin+"forum/forum_stat.gif' border=0></td>");
document.write(" <td height="+m_hei+" width=*>主题总数 <font class=red>"+web_num_topic+"</font> 贴,贴子总数 <font class=red>"+web_num_data+"</font> 贴,今日贴数 <font class=red>"+web_new_num+"</font> 贴,网站注册<font class=red>"+web_num_reg+"</font> 人,新进来宾:"+format_user_name(web_new_username,0,'')+"</td>");
document.write(" </tr>");
document.write(" <tr>");
document.write(" <td align=center><img src='"+web_dir_skin+"forum/forum_cast.gif' border=0></td>");
document.write(" <td height="+m_hei+">"+cast_tit+":"+cast_text+"</td></tr>");
document.write(" <tr>");
document.write(" <td align=center><img src='"+web_dir_skin+"forum/forum_user.gif' border=0></td>");
document.write(" <td height="+m_hei+">您的真实IP是:"+user_ip+","+user_sys_type(user_sys)+"</td>");
document.write(" </tr>");
// document.write(" <tr>");
// document.write(" <td align=center><img src='"+web_dir_skin+"forum/forum_user.gif' border=0></td>");
// document.write(" <td>"+format_user_login_0()+"</td></tr>");
document.write(" </table>");
document.write("</td></tr>");
document.write("<tr><td class=bg_tds align=center height=30>");
document.write(" <table border=0 cellspacing=0 cellpadding=2>");
document.write(" <tr>");
document.write(" <td><a href='forum_action.asp?action=new'>论坛新贴</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='forum_action.asp?action=hot'>论坛热贴</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='forum_action.asp?action=good'>论坛精华</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='forum_action.asp?action=top'>论坛置顶</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='forum_search.asp'>论坛搜索</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='help.asp?action=forum'>论坛帮助</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='forum_action.asp?action=my'>我发布的主题</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='forum_action.asp?action=join'>我参与的主题</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='user_action.asp?action=list'>用户列表</a></td>");
document.write(" <td class=gray>☉</td>");
document.write(" <td><a href='forum_super.asp'>版主评定</a></td>");
document.write(" </tr>");
document.write(" </table>");
document.write("</td></tr>");
document.write("</table>" + ukong);
}
function forum_load_online(fname)
{
var targetimg =eval("document.all.forum_online_img");
var targetDivtr =eval("document.all.forum_online_tr");
var targetDiv =eval("document.all.forum_online");
//if (targetimg.src.indexOf("nofollow")!=-1){return false;}
if (targetDivtr.style.display!='block')
{
document.all.forum_online_var.innerHTML="关闭在线列表";
targetDivtr.style.display="block";
if (targetimg.loaded=="no")
{
targetimg.loaded="";
document.frames["hiddenframe"].location.replace("forum_loadonline.asp?fname="+fname);
}
}
else
{
document.all.forum_online_var.innerHTML="打开在线列表";
targetDivtr.style.display="none";
}
}
function forum_down()
{
document.write("<table cellspacing=1 cellpadding=4 class=table>");
document.write("<tr><td class=td0>"+img_skin(web_img_m)+" 论坛图例</td></tr>");
document.write("<tr><td class=bg_td>"+img_user()+"</td></tr>");
document.write("<tr><td class=bg_td align=center>");
document.write(" <table border=0 cellspacing=0 cellpadding=0 width='100%'>");
document.write(" <tr><td height=1></td></tr>");
document.write(" <tr><td height=20>");
document.write(" <table border=0 cellspacing=0 cellpadding=0>");
document.write(" <tr>");
document.write(" <td>网站当前在线 <font class=red>"+ web_online_num +"</font> 人,其中注册用户 <font class=red>"+counter_r+"</font> 人,游客 <font class=red>"+(web_online_num-counter_r)+"</font> 人</td>");
document.write(" <td width=30 align=center><img loaded=no id='forum_online_img' src='"+web_dir_skin+"small/new_f.gif' border=0></td>");
document.write(" <td><span style=cursor:hand onclick=\"javascript:forum_load_online('');\" id=forum_online_var>打开在线列表</a></span></td>");
document.write(" </tr>");
document.write(" </table>");
document.write(" </td></tr>");
document.write(" <tr style=\"display:none\" id=forum_online_tr height=30><td id=forum_online width='100%'><div class=div_alt onclick=\"javascript:forum_load_online('')\">正在读取在线用户数据,请稍侯……</div></td></tr>");
document.write(" <tr><td height=1></td></tr>");
document.write(" </table>");
document.write("</td></tr>");
document.write("</table>");
if (isonline=="yes") forum_load_online('');
document.write(ukong+forum_img_tim());
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -