xw_updateNews.aspx
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:4k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="xw_updateNews.aspx.cs" Inherits="linminchao_xw_updateNews" validateRequest="false" %>
  2. <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" >
  5. <head id="Head1" runat="server">
  6.     <style type="text/css"> 
  7. div.RoundedCorner{background: #5AAE18} 
  8. b.rtop, b.rbottom{display:block;background: #FFF} 
  9. b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #5AAE18} 
  10. b.r1{margin: 0 4px} 
  11. b.r2{margin: 0 3px} 
  12. b.r3{margin: 0 2px} 
  13. b.rtop b.r4, {margin: 0 1px;height: 1px}
  14. .style1 {
  15. font-size: 13px;
  16. color: #FFFFFF;
  17. font-weight: bold;
  18. </style>
  19. <title></title>
  20. <script type="text/javascript" language="JavaScript">
  21. <!--
  22. function check() {
  23. if (document.form1.zhuti.value=="") {
  24. window.alert ("请您输入主题 !")
  25. document.form1.zhuti.focus()
  26. return false
  27. }
  28. if (document.form1.zhuti.value.length>30) {
  29. window.alert ("主题需要30位以内字符 !")
  30. document.form1.zhuti.focus()
  31. return false
  32. }
  33. return true
  34. }
  35. //-->
  36. </script>
  37. <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
  38. <link href="../../css/link.css" rel="stylesheet" type="text/css"/>
  39. <link href="../../css/input.css" rel="stylesheet" type="text/css"/>
  40. <style type="text/css">
  41. <!--
  42. .style2 {
  43. color: #CC6633;
  44. font-weight: bold;
  45. }
  46. .style1 {
  47. color: #FFFFFF;
  48. font-weight: bold;
  49. }
  50. .style6 {font-size: 12px}
  51. .style9 {color: #000000}
  52. body {
  53. margin-top: 2px;
  54. }
  55. -->
  56. </style>
  57. <script  type="text/javascript" language="JavaScript">
  58. <!--
  59. function dis()
  60. {
  61. document.form1.submit.value=' 发布..'
  62. document.form1.submit.disabled=true;
  63. return true;
  64. }
  65. //-->
  66. </script>
  67. <script type="text/javascript" language="JavaScript">
  68. <!--
  69. function dis1()
  70. {
  71. document.form11.submit.value=' 查询..'
  72. document.form11.submit.disabled=true;
  73. return true;
  74. }
  75. //-->
  76. </script>
  77. </head>
  78. <body>
  79. <div align="center">
  80. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  81. <tr>
  82. <td>
  83. <form action="#" method="post" name="form11" id="form11" onsubmit="return dis1()">
  84. <table width="96%" border="0" cellspacing="0" cellpadding="0">
  85. <tr>
  86. <td width="32%" valign="middle">&nbsp;</td>
  87. <td width="47%" valign="middle">
  88. <div align="right">
  89. <input name="q" type="text" id="q" />
  90. <input name="submit" type="submit" id="submit" style="FONT-SIZE: 12px; HEIGHT: 24px" value=" 查 询 " />
  91. </div>
  92. </td>
  93. <td width="4%">
  94. <div align="right">
  95. <span class="style4">
  96. <img alt="" src="../img/txl/16.gif" width="16" height="16"/>
  97. </span>
  98. </div>
  99. </td>
  100. <td width="7%">
  101. <a href="xw_lookNews.aspx"  >浏览新闻</a>
  102. </td><td width="2%">
  103. <img alt="" src="../img/txl/12.gif" width="16" height="16"/></td>
  104. <td width="8%"><div align="center" ><a href="xw_glNews.aspx">新闻管理</a> </div>
  105. </td></tr></table></form></td></tr></table><div class="RoundedCorner"> 
  106. <div align="center"><b class="rtop">
  107. <b class="r1"></b><b class="r2"></b>
  108. <b class="r3"></b>
  109. <b class="r4"></b>
  110. </b> <span class="style1">新 闻 修 改</span></div></div>
  111. <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18"><tr>
  112. <td height="167" bgcolor="#FFFFFF">
  113. <form id="Form1" name="form1" runat="server" method="post" action="#" onsubmit="return dis()()">
  114. <table width="100%"  border="0" cellpadding="2" cellspacing="0">
  115. <tr bgcolor="#FFFFFF">
  116. <td height="12" colspan="2"></td></tr>
  117. <tr bgcolor="#FFFFFF"><td width="11%" style="height: 27px">  主 题:</td>
  118. <td width="89%" style="height: 27px">
  119. <input runat="server" name="zhuti" type="text" id="zhuti" size="50" maxlength="30"/></td></tr>
  120. <tr bgcolor="#FFFFFF"><td>
  121. <table width="11" border="0" cellpadding="0" cellspacing="0">
  122. <tr>
  123. <td> 内 容:</td></tr>
  124. <tr>
  125. <td><img alt="" src="../img/txl/1.gif" width="78" height="46" /></td></tr></table></td>
  126. <td>
  127. <FTB:FreeTextBox id="FreeTextBox1" runat="server"></FTB:FreeTextBox>
  128. </td></tr>
  129. <tr bgcolor="#FFFFFF">
  130. <td height="23"></td>
  131. <td height="23">
  132.     <asp:Button runat="server" id="submit1" name="submit" style="FONT-SIZE: 12px; HEIGHT: 27px"  text=" 修 改 " OnClick="submit1_Click"  />
  133.     <input name="按钮" type="button" style="FONT-SIZE: 12px; HEIGHT: 27px"   onclick="javascript:history.go(-1)" value= " 取 消 " />
  134. </td>
  135. </tr>
  136. </table>
  137. </form>
  138. </td>
  139. </tr>
  140. </table>
  141. </div>
  142. </body>
  143. </html>