⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manager_modify.php

📁 十大精典PHP项目开发全程案例+代码
💻 PHP
字号:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="CSS/style.css" rel="stylesheet">
</head>
<body>
<table width="292" height="175" border="0" cellpadding="0" cellspacing="0" background="Images/subBG.jpg">
  <tr>
    <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="3%" height="25">&nbsp;</td>
        <td width="94%">&nbsp;</td>
        <td width="3%">&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td><table width="100%" height="131"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center" valign="top">	<form name="form1" method="post" action="manager_modifyok.php">
<?php 
include("conn/conn.php");
$id=$_GET[id];
$query=mysql_query("select m.id,m.name,p.sysset,p.readerset,p.bookset,p.borrowback,p.sysquery from tb_manager as m left join (select * from tb_purview)as p on m.id=p.id where m.id='$id'");
$info=mysql_fetch_array($query);
?>
	<table height="126"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="85" height="29" align="center">管理员名称:		</td>
        <td width="190">
          <input name="id" type="hidden" value="<?php echo $info[id];?>"><input name="name" type="text" readonly="yes" value="<?php echo $info[name];?>">        </td>
      </tr>
      <tr>
        <td height="74" align="center">拥有的权限:</td>
        <td><table width="100%" height="67" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="47%"><input name="sysset" type="checkbox" class="noborder" id="sysset" value="1" <?php if($info[sysset]==1){ echo("checked");}?>>
系统设置</td>
            <td width="53%"><input name="readerset" type="checkbox" class="noborder" id="readerset" value="1" <?php if($info[readerset]==1){ echo("checked");}?>>
              读者管理</td>
          </tr>
          <tr>
            <td><input name="bookset" type="checkbox" class="noborder" id="bookset" value="1" <?php if($info[bookset]==1){echo("checked");}?>>
              图书管理</td>
            <td><input name="borrowback" type="checkbox" class="noborder" id="borrowback" value="1" <?php if($info[borrowback]==1){echo("checked");}?>>
              图书借还</td>
          </tr>
          <tr>
            <td height="23"><input name="sysquery" type="checkbox" class="noborder" id="sysquery" value="1" <?php if($info[sysquery]==1){echo("checked");}?>>
              系统查询</td>
            <td>&nbsp;</td>
          </tr>
        </table>
 </td>
      </tr>
      <tr>
        <td height="22" align="center">&nbsp;</td>
        <td><input name="submit" type="submit" class="btn_grey" value="保存">
&nbsp;
<input name="Submit2" type="button" class="btn_grey" value="关闭" onClick="window.close();"></td>
      </tr>
    </table>
	</form></td>
          </tr>
        </table></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="17">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -