Edit_Column_Name.jsp
上传用户:zdly666
上传日期:2022-08-09
资源大小:6511k
文件大小:2k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <%
  6. if(session.getAttribute("adminname")==null)
  7. {response.sendRedirect("sorry.jsp");}
  8. %>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  10. <script language="javascript">
  11. function isok()
  12. {
  13. if (form.Name.value=="")
  14. {alert("请输入新的栏目名称!");form.Name.focus();return false;}
  15. }
  16. </script>
  17. <% 
  18. String ColumnName=new String(request.getParameter("columnname").getBytes("ISO-8859-1"));//
  19. String ColumnID=new String(request.getParameter("columnid").getBytes("ISO-8859-1"));//
  20.  %>
  21. <head>
  22. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  23. <title>修改栏目名称</title>
  24. </head>
  25. <body background="img/beijing.gif">
  26. <form action="Operate_Column.jsp?columnid=<%=ColumnID%>&EditType=columnEdit" name="form" method="post">
  27. <table width="307" height="132" border="0">
  28.   <tr>
  29.     <td colspan="2"><div align="center"><strong>修改栏目名称</strong></div></td>
  30.   </tr>
  31.    <tr>
  32.     <td><div align="right">原栏目名称为:</div></td>
  33.     <td><%=ColumnName%></td>
  34.    </tr>
  35.   <tr>
  36.     <td width="154"><div align="right">更改为:</div></td>
  37.     <td width="143"><div align="center">
  38.       <input type="text" name="columnName" size="20" maxlength="10">
  39.   </div></td>
  40.   </tr>
  41.   <tr>
  42.     <td colspan="2">
  43.   <div align="center">
  44.     <input type="submit" name="submit1" value="提交" size="20" onclick="return isok()">
  45.     <input type="reset" name="submit2" value="重置" size="20">
  46. <input type="button" name="submit3" value="取消" size="20" onclick="javascript:window.close();">
  47.       </div></td>
  48.   </tr>
  49. </table>
  50. </form>
  51. </body>
  52. </html>