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

Applet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK"%>
  2. <%@ page import="java.sql.*"%>
  3. <jsp:useBean id="sklxBean" class="MyFly.Bean.sklxBean" scope="request"/>
  4. <% request.setCharacterEncoding("GB2312");%>
  5. <%
  6.     String index=request.getParameter("index");
  7. if(sklxBean.getNew(Integer.parseInt(index)) == false)
  8. {
  9.    out.println("<Script language=JavaScript>alert('编辑出错');javascript:history.back();</Script>");
  10. }
  11. %>
  12. <STYLE type=text/css>
  13. BODY {
  14. BACKGROUND: #799ae1; FONT: 9pt 宋体; MARGIN: 0px
  15. }
  16. TABLE {
  17. BORDER-LEFT: 1 px; BORDER-TOP: 1 px
  18. }
  19. TD {
  20. FONT: 12px 宋体;
  21. }
  22. IMG {
  23. BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom
  24. }
  25. A {
  26. COLOR: #000000; FONT: 12px 宋体; TEXT-DECORATION: none
  27. }
  28. A:hover {
  29. COLOR: #428eff; TEXT-DECORATION: underline
  30. }
  31. .sec_menu {
  32. BACKGROUND: #d6dff7; BORDER-BOTTOM: white 1px solid; BORDER-LEFT: white 1px solid; BORDER-RIGHT: white 1px solid; OVERFLOW: hidden
  33. }
  34. .menu_title {
  35. }
  36. .menu_title SPAN {
  37. COLOR: #215dc6; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
  38. }
  39. .menu_title2 {
  40. }
  41. .menu_title2 SPAN {
  42. COLOR: #428eff; FONT-WEIGHT: bold; LEFT: 8px; POSITION: relative; TOP: 2px
  43. }
  44. .style1 {color: #FF0000}
  45. </STYLE>
  46. <html>
  47. <head>
  48. <title>时刻联系管理</title>
  49. <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
  50. </head>
  51. <body>
  52. <form name="form1" method="post" action="sklxUpdate.jsp?index=<%=index%>">
  53.   <table width="465" border="1" align="center" cellspacing="0">
  54.     <caption>
  55.     <br>
  56.     <span class="style1">时刻联系修改
  57.     <br>
  58.     <br>
  59. </span>    
  60.     </caption>
  61.     <tr>
  62.       <td width="79">&nbsp;&nbsp;公司名称:</td>
  63.       <td width="370" height="25">&nbsp;&nbsp;&nbsp;<input name="comName" type="text" value="<%=sklxBean.getComName()%>" size="45"></td>
  64.     </tr>
  65.     <tr>
  66.       <td>&nbsp;&nbsp;公司地址:</td>
  67.       <td height="25">&nbsp;&nbsp;&nbsp;<input name="address" type="text" value="<%=sklxBean.getAddress()%>" size="45"></td>
  68.     </tr>
  69.     <tr>
  70.       <td>&nbsp;&nbsp;公司电话:</td>
  71.       <td height="25">&nbsp;&nbsp;&nbsp;<input name="telephone" type="text" value="<%=sklxBean.getTelephone()%>" size="30"></td>
  72.     </tr>
  73.     <tr>
  74.       <td>&nbsp;&nbsp;移动电话:</td>
  75.       <td height="25">&nbsp;&nbsp;&nbsp;<input name="mobile" type="text" value="<%=sklxBean.getMobile()%>" size="30"></td>
  76.     </tr>
  77.     <tr>
  78.       <td>&nbsp;&nbsp;公司传真:</td>
  79.       <td height="25">&nbsp;&nbsp;&nbsp;<input type="text" name="chuanz" value="<%=sklxBean.getChuanz()%>"></td>
  80.     </tr>
  81.     <tr>
  82.       <td>&nbsp;&nbsp;公司邮编:</td>
  83.       <td height="25">&nbsp;&nbsp;&nbsp;<input type="text" name="youb" value="<%=sklxBean.getYoub()%>">
  84.       </td>
  85.     </tr>
  86.     <tr>
  87.       <td>&nbsp;&nbsp;Email:</td>
  88.       <td height="25">&nbsp;&nbsp;&nbsp;<input type="text" name="email" value="<%=sklxBean.getEmail()%>"></td>
  89.     </tr>
  90.     <tr>
  91.       <td>&nbsp;&nbsp;公司QQ:</td>
  92.       <td height="25">&nbsp;&nbsp;&nbsp;<input type="text" name="qq" value="<%=sklxBean.getQq()%>"></td>
  93.     </tr>
  94.     <tr>
  95.       <td>&nbsp;&nbsp;公司MSN:</td>
  96.       <td height="25">&nbsp;&nbsp;&nbsp;<input type="text" name="msn" value="<%=sklxBean.getMsn()%>"></td>
  97.     </tr>
  98.     <tr>
  99.       <td height="42" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  100.         <input type="submit" name="Submit" value="提交">
  101. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="re" type="reset" id="re" value="重置"></td>
  102.     </tr>
  103.   </table>
  104. </form>
  105. <br>
  106. <p align="center"></p>
  107. <p>&nbsp; </p>
  108. </body>
  109. </html>