<!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" />
<script src="<?php echo $this->basedir;?>js/jquery.js" language="javascript"></script>
<script language="javascript">
$(document).ready(function() {
     $("#ta tr").mouseover(function(){
      $(this).addClass("over");
     });
     $("#ta tr").mouseout(function(){
      $(this).removeClass("over");
     });
	 $("#ta tr:even").addClass("double");
});
</script>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center" valign="top">
    <td width="*" align="center" valign="top"><!-- ######### begin ######### -->
      <div class="Block">
        <div class="BlockBar">修改用户组资料</div>
        
          <table width="100%" align="center" cellpadding="4" cellspacing="1" class="tab">
		  <form id="form1" name="form1" method="post" action="<?php echo $this->installdir;?>group/modify/">
            <tr class="row">
              <td width="12%" class="align-right"><strong>用户组名称：</strong></td>
              <td width="88%"><input name="title" type="text" id="title" value="<?php echo $this->modify['title'];?>" />
              *</td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>组描述：</strong></td>
              <td><textarea name="description" cols="40" rows="3" id="description"><?php echo $this->modify['description'];?></textarea>
              </td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>权限等级：</strong><br /></td>
              <td><input name="flag" type="text" id="flag" value="<?php echo $this->modify['flag'];?>" size="0" />
                *数字高的用户组可以看数字低的用户组影片。0为游客</td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>点播上限：</strong></td>
              <td><input name="maxlook" type="text" id="maxlook" value="<?php echo $this->modify['maxlook'];?>" />
              *</td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>下载上限：</strong></td>
              <td><input name="maxdown" type="text" id="maxdown" value="<?php echo $this->modify['maxdown'];?>" />
              *</td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>重复扣点：</strong></td>
              <td><input name="repeat" type="text" id="repeat" value="<?php echo $this->modify['repeat'];?>" />
                *24小时内重复观看一部影片多少次不扣积分</td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>限制速度：</strong></td>
              <td><input name="limitspeed" type="radio" class="radio" value="1" id="radio" <?php echo $this->modify['limitspeed'] ? 'checked' : '';?> />
                <label for="radio">限制</label>
                <input name="limitspeed" type="radio" class="radio" value="0" id="radio1" <?php echo $this->modify['limitspeed'] ? '' : 'checked';?> />
                <label for="radio1">不限制</label></td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>下载速度：</strong></td>
              <td><input name="downspeed" type="text" id="maxspeed" value="<?php echo $this->modify['downspeed'];?>" />
                单位:Kbs</td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>下载线程：</strong></td>
              <td><input name="maxip" type="text" id="maxip" value="<?php echo $this->modify['maxip'];?>" />
                单位:Kbs</td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>绑定 I P：</strong></td>
              <td><input name="lockip" type="radio" class="radio" id="radio2" value="1" <?php echo $this->modify['lockip'] ? 'checked' : '';?> />
                <label for="radio2">绑定</label>
                <input name="lockip" type="radio" class="radio" value="0" id="radio3" <?php echo $this->modify['lockip'] ? '' : 'checked';?> />
                <label for="radio3">不绑定</label></td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>限制流量：</strong></td>
              <td><input name="limitdata" type="radio" class="radio" value="1" id="radio4" <?php echo $this->modify['limitdata'] ? 'checked' : '';?> />
                <label for="radio4">限制</label>
                <input name="limitdata" type="radio" class="radio" id="radio5" value="0" <?php echo $this->modify['limitdata'] ? '' : 'checked';?>/>
                <label for="radio5">不限制</label></td>
            </tr>
            <tr class="row">
              <td class="align-right"><strong>最大流量：</strong></td>
              <td><input name="maxdata" type="text" id="maxdata" value="<?php echo $this->modify['maxdata'];?>" />
                单位:M</td>
            </tr>
            <tr class="row">
              <td class="align-right">&nbsp;</td>
              <td><input type="submit" class="btn" value=" 确认修改  " />
                <input type="button" class="btn" value=" 返回列表 " onclick="history.back();" /></td>
            </tr>
            <input type="hidden" name="id" value="<?php echo $this->modify['id'];?>" /></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>
