Source

cmcc / debug_data / status.php.html

Full commit
<!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 content="text/html; charset=gb2312" http-equiv="Content-Type" />
<title>Portal UserStatus</title>
<link type="text/css" rel="stylesheet" href="css/wlanPortal.css" />
<script src="./jsp/clock.js" language="JavaScript1.1"></script>
<script language="JavaScript">
&lt;!--

function chgprovince(theform,seltext)
{
	var pcode;
	var plink;
	if(seltext==null)
	{
		return false
	}

	if(seltext=="S_E_L")
	{
		alert("请选择具体省份!");
		return false;
	}

	sellist = seltext.split("|");
	listnum = sellist.length;

	if( listnum != 2)
	{
		alert("该省页面参数错误!");
		return false;
	}
	pcode = sellist[0];
	plink = sellist[1];
	window.open (plink,'plind',"");

	return true
}


function KeyDown()
{
  	if ((event.keyCode ==   8)||            //屏蔽退格删除键
    	(event.keyCode == 114)||
    	(event.keyCode == 116)||			//屏蔽 F5 刷新键
    	(event.keyCode == 122)) 			//屏蔽 F12 刷新键
    {
     	event.keyCode=0;
     	event.returnValue=false;
     }

	if ((window.event.altKey)&amp;&amp; ((window.event.keyCode==37)||(window.event.keyCode==39))) // 屏蔽 Alt + -&gt; 和 Alt+ &lt;-
	{
		event.returnValue=false;
	}

	if (window.event.ctrlKey ||(event.shiftKey)&amp;&amp;(event.keyCode==121)) //屏蔽 Ctrl 键 和 shift+F10
	{
		event.returnValue=false;
	}
}

var IsSubmitLogout = 0;

var IsConfirmIsFalse = 0;

function ButtonSubmit(thisform)
{
	if( !confirm("请确认下线!") ) 
	{
		IsConfirmIsFalse = 1;
		return false;
	}

	IsSubmitLogout = 1;
	thisform.logouttype.value = "TYPESUBMIT";

	thisform.action='do_logout.php';
	thisform.submit();
	return true;

}


function exitFunc()
{
/*
	if( IsConfirmIsFalse == 1)
	{
		return false;
	}
*/
	if(IsSubmitLogout == 1)
	{
		return false;
	}

	//var message = "在本页面直接访问其他网址会造成您非正常下线,如需访问其他网页,请按“取消”按钮,并打开新的IE窗口进行后续访问。";
var message = "在本页面直接访问其他网址会造成您非正常下线,如需访问其他网页,请按“取消”按钮,并打开新的IE窗口进行后续访问。"; 
	if (typeof evt == "undefined")
	{
		evt = window.event;
	}

	if (evt)
	{
		evt.returnValue = message;
	}


	return true;
}


function RunOnUnload()
{
	/*
	if( IsConfirmIsFalse == 1)
	{
		return false;
	}
*/
	if( IsSubmitLogout == 1)
	{
		return;
	}

	var toTop;
	var toLeft;
	var sh = screen.height;
	var sw = screen.width;

	heightStr = 20;
	widthStr = 250;


	toTop  = parseInt((sh - heightStr)/2)-10;
	toLeft = parseInt((sw - widthStr )/2);

	var sstyle = "width="+widthStr+",height="+heightStr+",resizable=no,scrollbars=0,status=no,toolbar=no,location=no,menu=no,left="+toLeft+",top="+toTop;

	if(document.getElementById("cancelinfoid").checked)
	{
	window.open('do_logout.php?logonsessid=0361.0371.371.00;2012092022382504A1A6;ps060&amp;wlanuserip=111.7.63.111&amp;logouttype=URL&amp;cancelinfo=yes&amp;username=13829107673', 'Logout1348151905', sstyle);	}
	else
	{
window.open('do_logout.php?logonsessid=0361.0371.371.00;2012092022382504A1A6;ps060&amp;wlanuserip=111.7.63.111&amp;logouttype=URL&amp;cancelinfo=', 'Logout1348151905', sstyle);	}

	window.top.opener = null;

 	window.top.open("","_self");
 	window.top.close();
}


var onlinetime = 0
function initFunc()
{
	myDate = new Date();

	seconds = (myDate.getTime() + onlinetime*1000 - inittime)/1000
	updateAllClocks();

	setTimeout('initFunc()',1000);
}


function do_loginself(username)
{

	var myurl = './do_login_self.php?keystr=dad2e30fdc65841fce1cded0f6aeeee7713ef3bb731ae0dc&amp;username=13829107673&amp;logonsessid=0361.0371.371.00;2012092022382504A1A6;ps060'; 
	//var myurl1 = myurl+"&amp;irand="+Math.random();
	//document.getElementById('loginselfid').href=myurl1;
	document.getElementById('loginselfid').href=myurl;
}


--&gt;
</script>
</head>
<!--
<body oncontextmenu="window.event.returnValue=false" onkeydown="KeyDown()" onload='initFunc()' onbeforeunload ='exitFunc()' onunload="RunOnUnload()">
-->
<body onunload="RunOnUnload()" onbeforeunload="exitFunc()" onload="initFunc()" onkeydown="KeyDown()" oncontextmenu="window.event.returnValue=false">
<script language="JavaScript1.1">seconds=0</script><div id="wrapper">
	<div id="header">
		<h1 class="logo"><strong>欢迎使用“随e行”业务</strong></h1>
		<div class="worldwide"><a target="_blank" href="./html/serviceInfo.html">业务使用说明</a></div>
		<div class="clear"></div>
	</div>
	<div id="content">
		<form onsubmit="return false;" action="" method="POST" name="portal">
			<div class="loginInContent">
				<h2>用户登录成功</h2>
				<ul class="login">
					<li>
						<label>用户名:</label>
							13829107673					</li>
					<li>
						<label>在线时间:</label>
						<script language="JavaScript1.1">clock = new Clock(6);</script><img height="20" width="15" border="0" src="images/n0.gif" class="clock" /><img height="20" width="15" border="0" src="images/n0.gif" class="clock" /><img height="20" width="9" border="0" src="images/col.gif" class="clock" /><img height="20" width="15" border="0" src="images/n0.gif" class="clock" /><img height="20" width="15" border="0" src="images/n0.gif" class="clock" /><img height="20" width="9" border="0" src="images/col.gif" class="clock" /><img height="20" width="15" border="0" src="images/n0.gif" class="clock" /><img height="20" width="15" border="0" src="http://221.176.1.140/images/n2.gif" class="clock" />
					</li>
					<li>
						<label>套餐信息:</label>
						<p>
您当前使用的是WLAN标准资费,按0.05元/分钟收取WLAN上网费用<!--
						套餐种类/剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间剩余时间或到期时间
-->
						</p><p>
					</p></li>
					<li>
						<input type="checkbox" disabled="disabled" value="yes" id="cancelinfoid" name="cancelinfo" />
						取消自动登录功能(点击下线按钮后生效)
					</li>
					<li style="color:#C00; font-weight:bold; font-size:14px;">
						请点击下线按钮完成下线操作,否则会造成非正常下线,给您的使用造成不便。
					</li>
					<li class="loginCtrl">
						<input type="button" onclick="ButtonSubmit(this.form)" value="下 线" />
					</li>
					<li class="center">
						<a target="_blank" onclick='do_loginself("13829107673")' href="" id="loginselfid">用户自服务</a>
					</li>
				</ul>
			</div>

 <input type="hidden" value="13829107673" name="username" /> 
 <input type="hidden" value="2012-09-20 22:38:25" name="logintime" /> 
 <input type="hidden" value="0" name="remaintime" /> 
 <input type="hidden" value="200" name="areacode" /> 
 <input type="hidden" value="221.176.119.178" name="wlanacip" /> 
 <input type="hidden" value="0361.0371.371.00" name="wlanacname" /> 
 <input type="hidden" value="111.7.63.111" name="wlanuserip" /> 
 <input type="hidden" value="22" name="productid" /> 
 <input type="hidden" value="20120831 000000" name="effecttime" /> 
 <input type="hidden" value="20380101 000000" name="expiretime" /> 
 <input type="hidden" value="dad2e30fdc65841fce1cded0f6aeeee7713ef3bb731ae0dc" name="keystr" /> 
 <input type="hidden" value="disabled" name="cf" /> 
 <input type="hidden" value="" name="logouttype" /> 
 <input type="hidden" value="0361.0371.371.00;2012092022382504A1A6;ps060" name="logonsessid" /> 
		</form>
	</div>
	<div id="footer"><span class="fR">
		<a target="_blank" href="http://www.miibeian.gov.cn">京ICP备05002571号</a>|中国移动通信版权所有</span>
	</div>
</div>


</body></html>