<?php
	$userid = $_SESSION["userid"];
	if ($userid=="") {
		ob_clean();
		header("Location: query2.html");
		exit;
	}
?>


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<title>上网清单查询</title>
</head>

<body background="bkg.bmp">

<p align="center"><font size="5"><b>上网清单查询</b></font></p>
<hr color="#999966">
<p align="center">
  <form method="GET" action="query_result.php">
  	<input type=hidden name=userid value=<?php echo $_SESSION["userid"]; ?>>
      <div align="center">
        <center>
        <table border="1" width="505" height="135" bordercolor="#008080" cellspacing="0" cellpadding="0">
          <tr>
            <td width="120" height="84" align="center">查询范围</td>
            <td width="371" height="84" align="center" valign="middle">年度<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 width="491" height="43" align="center" colspan="2"><input type="submit" value="查询" name="query">
            </td>
          </tr>
        </table>
        </center>
      </div>
      <p align="center">　
      </p>
  </form>
<hr>
<p align="center">SIP宽带上网计费管理系统</p>
<p align="center">作者：<b>深圳市飞沃软件有限公司</b></p>

</body>

</html>
