📄 edituser.jsp
字号:
<%
/**
********************************
* NTsky留言本V 1.0
* 功能:修改用户密码
* 代码编写:姚君林
* 编写日期:2003/4/5
* 代码修改:
修改日期:
********************************
*/
%>
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.sql.*"%>
<%@ include file="check.jsp"%>
<jsp:useBean id="edit" scope="page" class="note.Jdbc_conn"/>
<html>
<head>
<title>新技术天地</title>
<link rel="stylesheet" href="text.css" type="text/css">
</head>
<body leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" bgcolor="#ffffff">
<br>
<div align="center">
<center>
<table align=center border=0 cellPadding=0 cellSpacing=0 width=500>
<tr>
<td width=134 height=37><IMG height=37 src="images/top_left.gif" width=134></td>
<td width="100%" background=images/top_middle.gif height=37 valign="middle">
<p align="center"><font color="#FFFFFF">欢迎来到新技术天地!!!</font></td>
<td width=49 height=37><IMG height=37 src="images/top_right.gif" width=49></td>
</tr>
</table>
</center>
</div>
<div align=center>
<center>
<table align=center border=0 cellPadding=0 cellSpacing=0 width=500 height=228>
<tr>
<td width=11 background="images/middle_left.gif" height=228> </td>
<td width=478 align="center" height=228> <br>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#009933" width="77%" id="AutoNumber1" height="168">
<tr>
<td width="100%" height="166">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="164">
<tr>
<td width="100%" height="26" background="images/note_bg.gif"><p align="center"><font color="#FF0000">修改用户和密码</font></td>
</tr>
<%
ResultSet rs=edit.executeQuery("select * from admin where admin_name='"+user+"'");
rs.next();
%>
<tr>
<td width="100%" height="113"> <table width="75%" height="54" border="0" align="center">
<form action="updateuser.jsp" method="post">
<tr>
<td align="center">用户名:
<input type="text" name="newname" value=<%=rs.getString(1)%>></td>
</tr>
<tr>
<td align="center">密 码:
<input type="text" name="newpassword"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="25">
<p align="right">
<input type="submit" value="修改">
</td>
</tr>
</form>
</table>
</td>
</tr>
</form>
</table>
<br>
</td>
<td width=11 background="images/middle_left.gif" height=228> </td>
</tr>
</table>
</center>
</div>
<div align=center>
<center>
<table border=0 cellpadding=0 cellspacing=0 width=500>
<tr>
<td width=133 height=72><IMG height=72 src="images/bottom_left.gif" width=133></td>
<TD width="100%" background=images/bottom_middle.gif height=72>
<font color="#FFFFFF">All Rights Reserved.Copyleft © 2001-2003
<a href="http://www.ntsky.com"><font color="#FFFFFF">www.NTsky.com</font></a></font><a href="http://www.ntsky.com"><font color="#FFFFFF">
</font></a> </TD>
<td width=22 height=72><IMG height=72 src="images/bottom_right.gif" width=22></td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -