关闭

嵌入式 php在下拉菜单中显示已经存在用户名

643人阅读 评论(0) 收藏 举报
分类:

<html>

<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<head>
<title>AdminManagement</title>
</head>

<?php

 session_start();
 include("../functions/global_function.php");
 include("../functions/function_admin.php");
 include("../common/global_para.php");
 jrm_connect();

?>

<bodystyle="background-color:#04fcca;">
<HR align="center" width="100%" SIZE=3noshade="noshade" color=#987cb9 id="100" style="FILTER:alpha(opacity=100,finishopacity=0,style=3)">
<form action="./admin_add_admin_check.php"method="post">
   新管理员ID: <inputtype="text" name="new_user_id"id="new_user_id"/>
   用户密码: <inputtype="password"  name="new_user_passwd1"id="new_user_passwd1"/>
     确认密码: <input type="password" name="new_user_passwd2"id="new_user_passwd2"/>
   用户邮箱: <inputtype="text" name="new_user_email"id="new_user_email"/>
   <inputtype="submit" value="提交" />
     <input  type="reset" name="submit"value="重置">
     <input type='button' value="返回"onclick='history.go(-1)'/>
</form>
<HR align="center" width="100%" SIZE=3noshade="noshade" color=#987cb9 id="100" style="FILTER:alpha(opacity=100,finishopacity=0,style=3)">
<form>
<table  align="center" border="1"width="90%" height="30%" id="table1" bordercolor="#A9C9E5"cellspacing="1" >
 <tr>
    <th width="50%"height="10">账户名称</th>
    <th width="50%"height="10">账户操作</th>
  </tr>

 <trid="TableTitle3" onmouseover='this.className="over_TableTitle3"'onmouseout='this.className="out_TableTitle3"'class="out_TableTitle3" method="post">
       
    <td width="10%"align="center">
    
    <?php

  $tbl_name =$_SESSION["admin_cfg_table"];
    $sql="select $kf_admin_id from $tbl_name order by$kf_mod_time desc";
  $result=mysql_query($sql);
  ?>
       <select name="admin_id" >
       <?php
  while($row=mysql_fetch_array($result))
  {
   $value =$row[$kf_admin_id];
       //foreach($row as $value){
  ?>
       
  <optionselected="selected">
   <?phpecho $value; ?>
       </option>
 
              
       <?php
  }
  ?>
       
        </select>

     </td>
     <td height="68"align="center">
        1 Infinite Loop Cupertino, CA 95014
    </td>
  </tr>
</table> 
</form>

 


<HR align="center" width="100%"SIZE=3 noshade="noshade" color=#987cb9 id="100" style="FILTER:alpha(opacity=100,finishopacity=0,style=3)">

</body>

</html>

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:1051544次
    • 积分:18321
    • 等级:
    • 排名:第521名
    • 原创:741篇
    • 转载:523篇
    • 译文:0篇
    • 评论:105条
    最新评论