noticeEdit.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:3k
源码类别:
Applet
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="java.sql.* "%>
- <jsp:useBean id="noticeBean" class="MyFly.Bean.noticeBean" scope="request"/>
- <%!
- String Zhuan(String str)
- {
- str=str.replaceAll("&", "&");
- str=str.replaceAll(""", """);
- str=str.replaceAll("<", "<");
- str=str.replaceAll(">", ">");
- return str;
- }
- %>
- <%
- String index=request.getParameter("index");
- if(noticeBean.getNew(Integer.parseInt(index)) == false)
- {
- out.println("<Script language=JavaScript>alert('编辑出错');javascript:history.back();</Script>");
- }
- %>
- <STYLE type=text/css>
- BODY {
- BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
- }
- TABLE {
- BORDER-LEFT: 1 px; BORDER-TOP: 1 px
- }
- TD {
- FONT: 12px 宋体;
- }
- IMG {
- BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
- }
- A {
- COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
- }
- A:hover {
- COLOR: #428eff; TEXT-DECORATION: underline
- }
- .sec_menu {
- BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
- }
- .menu_title {
- }
- .menu_title SPAN {
- COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .menu_title2 {
- }
- .menu_title2 SPAN {
- COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
- }
- .style1 {color: #FF0000}
- </STYLE>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>添加文章</title>
- </head>
- <body>
- <p> </p>
- <table width="585" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
- <form action="noticeUpdate.jsp?index=<%=noticeBean.getNoticeID()%>" method="post" onSubmit = "">
- <tr align="center">
- <td height="23" colspan="2">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="79%" height="33" align="center"><span class="style1">公告内容修改</span></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="center">
- <td width="16%" height="121">公告内容</td>
- <td width="84%" align="left">
- <input type="hidden" name="content" value="<%=Zhuan(noticeBean.getContent())%>">
- <iframe ID="eWebEditor1" src="../../../eWebEditor.jsp?id=content&style=standard" frameborder="0" scrolling="no" width="650" HEIGHT="350"></iframe>
- </td>
- </tr>
- <tr align="center">
- <td height="76" colspan="2"><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="16%" align="center"> </td>
- <td width="84%" align="center"> <div align="left">
- <input type="submit" value="更新">
- <input type="reset" value="重置">
- </div></td>
- </tr>
- </table></td>
- </tr>
- </form>
- </table>
- </body>
- </html></textarea>