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

📄 inf_edit.jsp

📁 一个在线售票系统
💻 JSP
字号:
<%@ page language="java"  contentType="text/html;charset=gb2312"%>
<%@ page import="java.sql.*" %>
<jsp:useBean id="search" class="com.db.Common" scope="page"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    
    <title>控制面板</title>
    
	<meta http-equiv="content-type" content="text/html; charset=gb2312">
    <link rel="stylesheet" href="../css/mm_lodging1.css" type="text/css">

  </head>
  <%
   request.setCharacterEncoding("gb2312");
   if(session.getAttribute("isLogin")==null)
  {
     %>
     <jsp:forward page="../login/login.html"/>
     <%
  }
  String admin_name=session.getAttribute("admin_name").toString(); 
  String sql="select * from admin where admin_name='"+admin_name+"'";
  String realname="";
  
  String password="";
  ResultSet rs=search.getResultSetBySql(sql);
  if(rs.next())
  {
    realname=rs.getString(3);
    //sect=rs.getString(4);
    password=rs.getString(2);
  }
  %>
  <body text=#003300 vLink=#002200 leftMargin=0 topMargin=0>
  <table width="600"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr width="600">
        <td><img src="../image/16.gif"></td>
      </tr>
    </table>
    <table cellSpacing=0 cellPadding=0 width=600 align="center" bgcolor="#033D7C">
       <TBODY>
        <tr width="600" bgcolor="#a4c2c2">
          <td height="36" colspan="3" id="navigation" class="navText" align="center">&nbsp;&nbsp;<a href="../admin/index.jsp">首页</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <a href="../user/admin_by_admin.jsp">用户管理</a>&nbsp;&nbsp;
      &nbsp;&nbsp;&nbsp;<a href="../admin/inf_edit.jsp">控制面板</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <a href="../train/1stProcess_add_by_admin.jsp">添加列车路线</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../common/exit.jsp">退出</a>&nbsp;&nbsp;</td>
        </tr>
       </TBODY>
    </table>
    <br>
    <form action="../admin/do_inf_edit.jsp" method="post">
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="14">
          
        </td>
      </tr>
    </table>
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="600" align="center" bgcolor="#EBEBEB">
        密码:
        </td>
        <td width="600" align="center" bgcolor="#EBEBEB">
          <input type="password" value="<%=password%>" name="f_psd">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#EBEBEB">
        重复密码:
        </td>
        <td width="600" align="center" bgcolor="#EBEBEB">
          <input type="password" value="<%=password%>" name="s_psd">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#EBEBEB">
        真实姓名:
        </td>
        <td width="600" align="center" bgcolor="#EBEBEB">
          <input type="text" value="<%=realname%>" name="realname">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#EBEBEB">
        性别:
        </td>
        <td width="600" align="center" bgcolor="#EBEBEB">
          男:<input type="radio" name="sect" value="男" checked>
          女:<input type="radio" name="sect" value="女">
        </td>
      </tr>
      <tr>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
        <td width="600" align="center" bgcolor="#cccccc" height="3">
        </td>
      </tr>
      <tr>
        <td width="600" align="right" bgcolor="#EBEBEB">
           <input type="submit" value="修改">
        </td>
        <td width="600" align="left" bgcolor="#EBEBEB">
          <input type="reset" value="重置">
        </td>
      </tr>
    </table>
    </form>
  </body>
</html>

⌨️ 快捷键说明

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