📄 00index.php
字号:
<link rel="stylesheet" type="text/css" href="/theme/1/style.css">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>状态</title>
<script src="/inc/mytable.js"></script>
<script src="/inc/marquee.js"></script>
<SCRIPT LANGUAGE="JavaScript">
function killErrors()
{
return true;
}
window.onerror = killErrors;
var ctroltime;
function MyLoad()
{
setTimeout("email_mon()",11000);
ctroltime=setTimeout("sms_mon()",3000);
}
var xmlHttpObj=getXMLHttpObj();
function email_mon()
{
var theURL="email_mon.php";
xmlHttpObj.open("GET",theURL,true);
var responseText="";
xmlHttpObj.onreadystatechange=function()
{
if(xmlHttpObj.readyState==4)
{
responseText=xmlHttpObj.responseText;
if(responseText=="1")
document.getElementById("new_letter").innerHTML="<a href='#' onclick='javascript:show_email();' style='color:#FFFFFF; filter:dropshadow(color=#666666,offx=1,offy=1,positive=1); WIDTH: 80%;FONT-WEIGHT: bold;' title='点击查看邮件'>新邮件</a>";
else
document.getElementById("new_letter").innerHTML="";
}
}
xmlHttpObj.send(null)
setTimeout("email_mon()",900000);
}
function sms_mon()
{
var theURL="sms_mon.php";
xmlHttpObj.open("GET",theURL,true);
var responseText="";
xmlHttpObj.onreadystatechange=function()
{
if(xmlHttpObj.readyState==4)
{
responseText=xmlHttpObj.responseText;
if(responseText=="S")
{
document.getElementById("new_sms").innerHTML="<a href='#' onclick='javascript:show_sms();' style='color:#FFFFFF; filter:dropshadow(color=#666666,offx=1,offy=1,positive=1); width:80%;FONT-WEIGHT: bold;' title='点击查看短信'><img src='/images/sms1.gif'border=0 height=10> 短信</a><object id='sms_sound' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='0' height='0'><param name='movie' value='/wav/1.swf'><param name=quality value=high><embed id='sms_sound' src='/wav/1.swf' width='0' height='0' quality='autohigh' wmode='opaque' type='application/x-shockwave-flash' plugspace='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed></object>";
show_sms();
}
else
document.getElementById("new_sms").innerHTML="";
}
}
xmlHttpObj.send(null)
ctroltime=setTimeout("sms_mon()",30000);
}
function show_sms()
{
clearTimeout(ctroltime);
ctroltime=window.setTimeout('sms_mon()',40000);
mytop=screen.availHeight-190;
myleft=0;
d = new Date();
window.open("sms_show.php","SMS_"+d.getTime(),"height=150,width=370,status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,top="+mytop+",left="+myleft+",resizable=yes");
}
function show_email()
{
document.getElementById("new_letter").innerHTML="";
parent.table_index.main.location="/general/email/inbox?BOX_ID=0";
}
function show_online()
{
parent.callleftmenu.leftmenu_open();
parent.leftmenu.view_menu(2);
}
function main_refresh()
{
parent.table_index.main.location.reload();
}
menu_flag=0;
var STATUS_BAR_MENU;
function show_menu()
{
mytop=screen.availHeight-480;
myleft=screen.availWidth-215;
if(menu_flag==0)
STATUS_BAR_MENU=window.open("/general/ipanel/menu.php?OA_SUB_WINDOW=1","STATUS_BAR_MENUchr","height=400,width=200,status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,top="+mytop+",left="+myleft+",resizable=no");
STATUS_BAR_MENU.focus();
}
function MyUnload()
{
if(menu_flag==1)
{
STATUS_BAR_MENU.focus();
STATUS_BAR_MENU.MAIN_CLOSE=1;
STATUS_BAR_MENU.close();
}
}
</script>
</head>
<body bgcolor="#264989" class="statusbar" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onload="MyLoad();" onunload="MyUnload();">
<table border="1" width="100%" cellspacing="0" cellpadding="0" class="small" bordercolorlight="#264989" bordercolordark="#264989">
<tr>
<td align="center" width="90">
<a href='#' onclick='javascript:show_online();' style='color:#FFFFFF;filter:dropshadow(color=#666666,offx=1,offy=1,positive=1); WIDTH: 100%;FONT-WEIGHT: bold;'>
共<input id="user_count1" style="width:20pt;height:12pt;text-align:center;color:#00FF40;FONT-WEIGHT: bold;background-color:transparent; border:0;cursor:hand">人在线
</a>
</td>
<td align="center" width="80">
<span id="new_sms"></span>
</td>
<td align="center" title="点击此处可刷新主操作区页面" style="cursor:hand;color:#FFFFFF; FONT-WEIGHT: bold;" onclick="javascript:main_refresh();">
<script language="JavaScript">
new marquee('status_text');
status_text.setDelay(5*1000);
status_text.init(new Array("体验科技关怀 共创美好未来!","圆你所梦 信誉如鼎!","纪念中国人民解放军建军八十周年!"));
</script>
</td>
<td align="center" width="80">
<span id="new_letter"></span>
</td>
<td align="center" width="75">
<a href="javascript:show_menu();" style="color:#FFFFFF; WIDTH: 100%;FONT-WEIGHT: bold;">新窗口</a>
</td>
</tr>
</table>
<script>
window.setTimeout('this.location.reload();',3600000);
parent.leftmenu.online_count();
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -