<!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>
<title>系统后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->basedir;?>images/admin/public.css" />
<link type="text/css" rel="stylesheet" href="<?php echo $this->basedir;?>images/admin/style.css" />
<link href="../../images/admin/public.css" rel="stylesheet" type="text/css" />
<link href="../../images/admin/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->basedir;?>js/datepicker.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" language="javascript"></script>
<script src="<?php echo $this->basedir;?>js/ui.datepicker.js"></script>
<script language="javascript">
$(document).ready(function() {

	$('#lifetime').datepicker()
});
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr align="center" valign="top">
    <td width="*" align="center" valign="top">
	<!-- ######### begin ######### -->
      <div class="Block">
        <div class="BlockBar">添加新网吧访问授权</div>
        <table cellspacing="1" cellpadding="4" class="tab">
		<form id="form1" name="form1" method="post" action="<?php echo $this->installdir;?>netbar/add">
			   <tr class="row">
				<td width="14%" class="align-center">网吧名称：</td>
				<td>
			     <input name="name" type="text" id="name" />
			     *				例如：秀影网吧限50个字符</td>
			  </tr>
			   <tr class="row">
			     <td class="align-center">开始IP段：</td>
			     <td><input name="sip" type="text" id="sip" />
			       * 例如：60.121.12.14</td>
	        </tr>
			   <tr class="row">
			     <td class="align-center">结束IP段：</td>
			     <td><input name="eip" type="text" id="eip" />
			       * 例如：60.121.12.250</td>
	        </tr>
			   <tr class="row">
			     <td class="align-center">电脑台数：</td>
			     <td><input name="maxnum" type="text" id="maxnum" />
			       * 例如：20 如果不限制台数请填写0</td>
	        </tr>
			   <tr class="row">
			     <td class="align-center">到期时间：</td>
			     <td><input name="lifetime" type="text" class="time" id="lifetime" />
		         * </td>
	        </tr>
			   <tr class="row">
			     <td class="align-center">联系人：</td>
			     <td><input name="username" type="text" id="username" />
			       *限制30个字符</td>
	        </tr>
			   <tr class="row">
			     <td class="align-center">联系电话：</td>
			     <td><input name="phone" type="text" id="phone" /></td>
	        </tr>
			   <tr class="row">
			     <td class="align-center">管理密码：</td>
			     <td><input name="pass" type="text" id="pass" />
			       *</td>
	        </tr>
			   <tr class="row">
			     <td class="align-center">网吧地址：</td>
			     <td><input name="address" type="text" id="address" size="60" /></td>
	        </tr>
			   <tr class="row">
			     <td class="align-center">&nbsp;</td>
			     <td><input type="submit" class="btn" value=" 添 加 " />&nbsp;<input type="button" class="btn" value=" 返回上一页 " onclick="history.back()" /></td>
	        </tr>
        </form>
        </table>
      </div>
      <div id="App-Version-Prompt" style="display:none;">
        <div class="space"></div>
        <div class="Block">
          <div class="BlockBar">版本更新信息</div>
          <div class="BlockContent" id="App-Version-Prompt-Body" style="padding:20px 5px 20px 5px; text-align:center; background:#FFFFCC;">loading...</div>
        </div>
      </div>
      <!-- ########## end ########## -->
    </td>
    <td width="5"></td>
    <td width="150" align="center" valign="top">
    <?php
	echo $this->render('menu');
	?>
     </td>
  </tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>

