<?php
	session_start();
	include "conn/conn.php";
	include "inc/chec.php";
?>
<table width="450" height="60" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="20" colspan="4" align="center" valign="middle">会 员 数 据 管 理</td>
        </tr>
        <tr>
          <td colspan="4"><table width="375" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="10" colspan="5" align="right" valign="middle"></td>
              </tr>
              <tr>
                <td width="40" height="30" align="center" valign="middle">ID</td>
             
                <td width="76" height="30" align="center" valign="middle">用户名</td>
                <td width="78" height="30" align="center" valign="middle">QQ</td>
                <td width="95" align="center" valign="middle">操作</td>
              </tr>
<?php
			
				$v_sqlstr="select * from tb_music_user";
				$v_rst = $conn->execute($v_sqlstr);
				while(!$v_rst->EOF){ 
?>
              <tr>
                <td height="18" align="center" valign="middle"><?php echo $v_rst->fields[0]; ?></td>
           
                <td height="18" align="center" valign="middle"><?php echo $v_rst->fields[1]; ?></td>
                <td height="18" align="center" valign="middle"><?php echo $v_rst->fields[7]; ?></td>
                                 <form name="form1" method="post" action="freeze_chk.php">
				 <td height="18" align="center" valign="middle">
<?php
	if($v_rst->fields[11]=="1")
		$fd = "冻结"; 
	else 
		$fd = "解冻";
?>
					<input type="hidden" name="id" value="<?php echo $v_rst->fields[0]; ?>">
					<input type="hidden" name="whether" value="<?php echo $v_rst->fields[11]; ?>">
                    <input type="submit" name="Submit2" class="submit" value="<?php echo $fd; ?>">
					<a href="del_freeze_chk.php?id=<?php echo $v_rst->fields[0]; ?>" onClick="return del_chk();">删除</a>
                </td> 
				</form>
              </tr>
<?php
					$v_rst->movenext();
				}
?>
          </table></td>
        </tr>
    </table>