sharesortEdit.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:3k
源码类别:

Applet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <jsp:useBean id="sharesortBean" class="MyFly.Bean.sharesortBean" scope="request"/>
  3. <%
  4.   request.setCharacterEncoding("GB2312");
  5. %>
  6. <STYLE type=text/css>
  7. BODY {
  8. BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
  9. }
  10. TABLE {
  11. BORDER-LEFT: 0px; BORDER-TOP: 0px
  12. }
  13. TD {
  14. FONT: 12px 宋体;
  15. }
  16. IMG {
  17. BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
  18. }
  19. A {
  20. COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
  21. }
  22. A:hover {
  23. COLOR: #428eff; TEXT-DECORATION: underline
  24. }
  25. .sec_menu {
  26. BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
  27. }
  28. .menu_title {
  29. }
  30. .menu_title SPAN {
  31. COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
  32. }
  33. .menu_title2 {
  34. }
  35. .menu_title2 SPAN {
  36. COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
  37. }
  38. .style1 {color: #FF0000}
  39. </STYLE>
  40. <%
  41.     String index=request.getParameter("index");
  42.     if( sharesortBean.getNew(Integer.parseInt(index))== false)
  43. {
  44. out.println("<Script language=JavaScript>alert('编辑出错');javascript:history.back();</Script>");
  45. }
  46. %>
  47. <html>
  48. <head>
  49. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  50. <title>添加文章</title>
  51. </head>
  52. <body>
  53. <p>&nbsp;</p>
  54. <table width="696" height="142" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
  55.   <form action="sharesortUpdate.jsp?index=<%=sharesortBean.getSucceedFxID()%>" method="post" name="addarticle" onSubmit = "">
  56.     <tr align="center"> 
  57.       <td height="23" colspan="2"> 
  58.         <table width="100%" border="0" cellpadding="0" cellspacing="0">
  59.           <tr> 
  60.             <td height="33" align="center"><div align="center" class="style1">成功分享修改</div> </td>
  61.           </tr>
  62.         </table>
  63.       </td>
  64.     </tr>
  65.     <tr align="center"> 
  66.       <td width="16%" height="50">文章标题</td>
  67.       <td width="84%" align="left">&nbsp; <input type="text" size="70" name="share" value="<%=sharesortBean.getSucceedFxName()%>"></td>
  68.     </tr>
  69.     <tr align="center"> 
  70.       <td height="44" colspan="2"><table width="100%" height="26" border="0" cellpadding="0" cellspacing="0">
  71.           <tr> 
  72.             <td width="17%" align="center">&nbsp;</td>
  73.             <td width="83%" align="center"><div align="left">
  74.   <input name="submit" type="submit" value="提交">
  75. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <input type="reset" value="重置"> 
  76.             </div></td>
  77.           </tr>
  78.       </table></td>
  79.     </tr>
  80.   </form>
  81. </table>
  82. </body>
  83. </html>