<?php
	$acl=$_SESSION["acl"];
	if (strlen($acl)<1 || !strpos($acl,"<11>")) {	//没有权限
		ob_clean();
		header("Location: accesserror.html");
		exit;
	}
?>

<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>上网清单查询</title>
</head>
<script language=javascript>
function evaluation()
{
    if (document.form1.loginname.value!="")
        document.form1.submit();
    else
        alert("用户ID不能为空");
}
</script>
<body background="bkg.bmp">

<p align="center"><font size="5"><b>上网清单查询</b></font></p>
<hr color="#999966">
<p align="center">
  <form name=form1 method="GET" action="queryhistory_result.php">
      <div align="center">
        <center>
        <table border="1" width="545" height="182" bordercolor="#008080" cellspacing="0" cellpadding="0">
          <tr>
            <td width="156" align="center" height="46">用户ID</td>
            <td align="center" width="373" height="46"><input type="text" name="loginname" size="20">(不能为空)
            </td>
          </tr>
          <tr>
            <td width="156" align="center" height="72">查询范围</td>
            <td width="373" align="center" height="72">年度<input type="text" name="year1" size="4">，从<input type="text" name="month1" size="2">月至<input type="text" name="month2" size="2">月
              <p>（全部为空则查询全部清单）</p>
            </td>
          </tr>
          <tr>
            <td colspan="2" align="center" width="535" height="46"><input type="button" value="查询" name="query" onclick="evaluation();">
            </td>
          </tr>
        </table>
        </center>
      </div>
      <p align="center">　
      </p>
  </form>
<hr>
<p align="center">SIP企业上网管理系统</p>
<p align="center">作者：<b>深圳市飞沃软件有限公司</b></p>

</body>

</html>
