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

📄 useradmin.php

📁 php做的一个同学录网站,功能齐全. 后台管理非常方便,有需要的同学可以下载测试.
💻 PHP
📖 第 1 页 / 共 4 页
字号:
   <td colspan="3"><img name="right_r3_c11" src="images/right_r3_c11.gif" width="100" height="16" border="0"></td>
   <td><img name="right_r3_c14" src="images/right_r3_c14.gif" width="15" height="16" border="0"></td>
   <td rowspan="9" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="6" height="425" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="16" border="0"></td>
  </tr>
  <tr>
   <td colspan="3"><img name="right_r4_c2" src="images/right_r4_c2.gif" width="22" height="60" border="0"></td>
   <td><img name="right_r4_c5" src="images/right_r4_c5.gif" width="38" height="60" border="0"></td>
   <td colspan="6" bgcolor="#dcf6ce"><img src="images/ad.gif" width="500" height="60" border="0"></td>
   <td colspan="2"><img name="right_r4_c12" src="images/right_r4_c12.gif" width="35" height="60" border="0"></td>
   <td><img name="right_r4_c14" src="images/right_r4_c14.gif" width="15" height="60" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="60" border="0"></td>
  </tr>
  <tr>
   <td colspan="3"><img name="right_r5_c2" src="images/right_r5_c2.gif" width="22" height="19" border="0"></td>
   <td colspan="3"><img name="right_r5_c5" src="images/right_r5_c5.gif" width="175" height="19" border="0"></td>
   <td><img name="right_r5_c8" src="images/right_r5_c8.gif" width="96" height="19" border="0"></td>
   <td><img name="right_r5_c9" src="images/right_r5_c9.gif" width="87" height="19" border="0"></td>
   <td><img name="right_r5_c10" src="images/right_r5_c10.gif" width="115" height="19" border="0"></td>
   <td colspan="3"><img name="right_r5_c11" src="images/right_r5_c11.gif" width="100" height="19" border="0"></td>
   <td><img name="right_r5_c14" src="images/right_r5_c14.gif" width="15" height="19" border="0"></td>
   <td><img src="images/spacer.gif" width="1" height="19" border="0"></td>
  </tr>
  <tr>
   <td rowspan="6" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="15" height="330" border="0"></td>
    <td rowspan="2" background="images/box2.gif"><img name="right_r6_c3" src="images/right_r6_c3.gif" width="5" height="302" border="0"></td>
    <td rowspan="2" colspan="9" bgcolor="#dcf6ce" valign="top" align="center">
<?php
if($recordcount!=0){
?>
      <form action=useradmin.php method=GET>
      <table border="0" cellpadding="0" cellspacing="0" width="567" name="list_top">
        <!-- fwtable fwsrc="无标题" fwbase="list.gif" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
        <tr>
          <td><img src="images/spacer.gif" width="5" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="22" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="2" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="9" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="109" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="3" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="23" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="171" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="27" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="16" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="16" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="3" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="13" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="3" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="3" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="12" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="4" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="12" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="24" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="16" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="12" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="16" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="9" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="6" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="12" height="1" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="1" border="0"></td>
        </tr>
        <tr>
          <td colspan="29" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="567" height="9" border="0"></td>
          <td><img src="images/spacer.gif" width="1" height="9" border="0"></td>
        </tr>
        <tr>
          <td bgcolor="#dcf6ce" width="5"></td>
          <td colspan="7"><img name="list_r2_c2" src="images/list_r2_c2.gif" width="152" height="5" border="0"></td>
          <td colspan="2" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="194" height="5" border="0"></td>
          <td rowspan="3" colspan="18"><?php echo $pageinfo;?></td>
          <td bgcolor="#dcf6ce" width="12"></td>
          <td><img src="images/spacer.gif" width="1" height="5" border="0"></td>
        </tr>
        <tr>
          <td bgcolor="#dcf6ce" width="5"></td>
          <td rowspan="2"><img name="list_r3_c2" src="images/list_r3_c2.gif" width="6" height="16" border="0"></td>
          <td rowspan="2" colspan="5" bgcolor="#83d160">
            <div align="center"></div>
          </td>
          <td rowspan="2" colspan="2"><img name="list_r3_c8" src="images/list_r3_c8.gif" width="26" height="16" border="0"></td>
          <td rowspan="2" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="171" height="16" border="0"></td>
          <td bgcolor="#dcf6ce" width="12"></td>
          <td><img src="images/spacer.gif" width="1" height="11" border="0"></td>
        </tr>
        <tr>
          <td bgcolor="#dcf6ce" width="5"></td>
          <td bgcolor="#dcf6ce" width="12"></td>
          <td><img src="images/spacer.gif" width="1" height="5" border="0"></td>
        </tr>
        <tr>
          <td bgcolor="#dcf6ce" width="5"></td>
          <td colspan="27"><img name="list_top" src="images/list_top.gif" width="550" height="6" border="0" alt="list_top"></td>
          <td bgcolor="#dcf6ce" width="12"></td>
          <td><img src="images/spacer.gif" width="1" height="6" border="0"></td>
        </tr>
      </table>
      <!--###########################################-->
      <!--###########################################-->
      <table width="567" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="5" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/list_box.gif" width="6"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="36" background="images/huang_bg.gif">
            <div align="center">编号</div>
          </td>
          <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/huang_bg.gif">
            <div align="center">帐号</div>
          </td>
          <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/huang_bg.gif" width="70">
            <div align="center">姓名</div>
          </td>
          <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/huang_bg.gif" width="38">
            <div align="center">学号</div>
          </td>
          <td width="1" background="images/lines.gif"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="80" background="images/huang_bg.gif">
            <div align="center">权限</div>
          </td>
          <td width="1" background="images/lines.gif"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="65" background="images/huang_bg.gif">
            <div align="center">权限管理</div>
          </td>
          <td width="1" background="images/lines.gif"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="48" background="images/huang_bg.gif">
            <div align="center">操作</div>
          </td>
          <td background="images/list_box.gif" width="6"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="12" bgcolor="#dcf6ce"></td>
        </tr>
        <tr>
          <td width="5" bgcolor="#dcf6ce" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/list_box.gif" width="6" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="36"><img src="images/spacer.gif" width="1" height="1"></td>
          <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="70"><img src="images/spacer.gif" width="1" height="1"></td>
          <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="38"><img src="images/spacer.gif" width="1" height="1"></td>
          <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="80"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="65"><img src="images/spacer.gif" width="1" height="1"></td>
          <td height="1" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/h_dot.gif" height="1" width="48"></td>
          <td background="images/list_box.gif" width="6" height="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="12" bgcolor="#dcf6ce" height="1"></td>
        </tr>
      <!--###########################################-->
      <!--###########################################-->
        <?php
		$rowi = ($page-1)*$pagesize;
		for($i=0;$i<$pagesize;$i++){
		if($rowi>($recordcount-1)){
		//echo "</table>";
		}
		else{
		mysql_data_seek($classbcquery,$rowi);
		$classbcarray=mysql_fetch_array($classbcquery);
		if($classbcarray["QX"]=="super") $qxvar='<font color="#FF0000">超级用户</font>';
		if($classbcarray["QX"]=="tx") $qxvar="同学用户";
		if($classbcarray["QX"]=="guest") $qxvar="一般用户";
  if ($classbcarray["QX"]=="super") $qxczvar='<img src="images/upgrade.gif" width="16" height="16" border="0" alt="升级" title="升级"><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><a href=useradmin.php?op=degrade&userid='.$userid.'&qx='.$classbcarray["QX"].'&flag=on&id='.$classbcarray["ID"].'><img src="images/degrade.gif" width="16" height="16" border="0" alt="降级" title="降级"></a>';
  else if ($classbcarray["QX"]=="guest") $qxczvar='<a href=useradmin.php?op=upgrade&userid='.$userid.'&qx='.$classbcarray["QX"].'&flag=on&id='.$classbcarray["ID"].'><img src="images/upgrade.gif" width="16" height="16" border="0" alt="升级" title="升级"></a><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><img src="images/degrade.gif" width="16" height="16" border="0" alt="降级" title="降级">';
  	else $qxczvar='<a href=useradmin.php?op=upgrade&userid='.$userid.'&flag=on&qx='.$classbcarray["QX"].'&id='.$classbcarray["ID"].'><img src="images/upgrade.gif" width="16" height="16" border="0" alt="升级" title="升级"></a><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><img src="images/spacer.gif" width="3" height="10"><a href=useradmin.php?op=degrade&userid='.$userid.'&flag=on&qx='.$classbcarray["QX"].'&id='.$classbcarray["ID"].'><img src="images/degrade.gif" width="16" height="16" border="0" alt="降级" title="降级"></a>';
		?>
        <tr>
          <td width="5" bgcolor="#dcf6ce"><img src="images/spacer.gif" width="1" height="1"></td>
          <td background="images/list_box.gif" width="6"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="36" bgcolor="#dcf6ce"><center><?php echo $rowi+1;?></center></td>
          <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td bgcolor="#dcf6ce"><?php echo $classbcarray["USERID"];?></td>
          <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td bgcolor="#dcf6ce" width="70">
            <div align="center"><?php echo $classbcarray["name"];?></div>
          </td>
          <td background="images/lines.gif" width="1"><img src="images/spacer.gif" width="1" height="1"></td>
          <td bgcolor="#dcf6ce" width="38">
            <div align="center"><?php echo $classbcarray["NUMBER"];?></div>
          </td>
          <td width="1" bgcolor="#dcf6ce" background="images/lines.gif"><img src="images/spacer.gif" width="1" height="1"></td>
          <td width="80" bgcolor="#dcf6ce">

⌨️ 快捷键说明

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