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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" validateRequest="false"  CodeFile="lt_update.aspx.cs" Inherits="linminchao_bbs_lt_update" %>
  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.     <title>无标题页</title>
  7.     <style type="text/css"> 
  8. div.RoundedCorner{background: #5AAE18} 
  9. b.rtop, b.rbottom{display:block;background: #FFF} 
  10. b.rtop b, b.rbottom b{display:block;height: 1px;overflow: hidden; background: #5AAE18} 
  11. b.r1{margin: 0 4px} 
  12. b.r2{margin: 0 3px} 
  13. b.r3{margin: 0 2px} 
  14. b.rtop b.r4, {margin: 0 1px;height: 1px}
  15. .style1 {
  16. font-size: 13px;
  17. color: #FFFFFF;
  18. font-weight: bold;
  19. </style>
  20. <script type="text/javascript" language="JavaScript">
  21. <!--
  22. <!--
  23. function dis(){
  24. document.form1.submit2.value=' 发帖..'
  25. document.form1.submit2.disabled=true;
  26. return true;
  27. }
  28. function dis1(){
  29. document.form11.submit2.value=' 查询..'
  30. document.form11.submit2.disabled=true;
  31. return true;
  32. }
  33. //-->
  34. function ddd() {}
  35. if (document.getElementById("FreeTextBox1").value=="") {
  36. window.alert ("请您输入内容 !")
  37. document.getElementById("biaoti").focus()
  38. return false
  39. }
  40. if (document.getElementById("FreeTextBox1").value.length>2000) {
  41. window.alert ("标题需要2000位以内字符 !")
  42. document.getElementById("FreeTextBox1").focus()
  43. return false
  44. }
  45. return true
  46. }
  47. //-->
  48. </script>
  49. <link href="../../css/textarea.css" rel="stylesheet" type="text/css"/>
  50. </head>
  51. <body>
  52. <table width="100%" border="0'" cellpadding="0" cellspacing="0">
  53.   <tr>
  54.     <td colspan="2"></td>
  55.   </tr>
  56.   <tr>
  57.     <td width="15">&nbsp;</td>
  58.     <td width="627" height="21" valign="baseline"><div align="right">
  59.         <form action="" method="post" name="form11" id="form11" onsubmit="return dis1()">
  60.           <input name="q" type="text" id="q" value=""/>
  61.           <input name="submit" type="submit" id="submit" style="FONT-SIZE: 12px; HEIGHT: 27px"  value= " 查 询 " />
  62.         </form>
  63.     </div></td>
  64.     <td width="114" valign="baseline"><div align="center"><a href=""> </a>
  65.             
  66.             <img alt="" src="../img/txl/touxiangman.gif" width="19" height="21"/>
  67.             
  68.             <a href="lt_touxiang.aspx">上传头像</a></div></td>
  69.     <td width="84" valign="baseline"><div align="center"><img alt="" src="../img/face1.gif" width="16" height="14"/>&nbsp;<a href="lt_addlt.aspx">发表帖子</a></div></td>
  70.     <td width="123" valign="baseline"><div align="center"><a href="lt_addlt.aspx"><img alt="" src="../img/new.gif" width="113" height="23" border="0"/></a></div></td>
  71.     <td width="9">&nbsp;</td>
  72.   </tr>
  73.   <tr>
  74.     <td colspan="6"></td>
  75.   </tr>
  76. </table>
  77. <div align="center">
  78. <div class="RoundedCorner"> <b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <span class="style1">发 表 帖 子</span> </div>
  79. <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
  80.   <tr>
  81.     <td bgcolor="#FFFFFF">
  82.     <form id="Form1" name="form1" runat="server" method="post" action="" onsubmit="return dis()">
  83.       <table width="99%" border="0" cellpadding="3" cellspacing="0">
  84.         <tr bgcolor="#FFFFFF">
  85.           <td height="11" colspan="2"></td>
  86.         </tr>
  87.         <tr bgcolor="#FFFFFF">
  88.           <td width="80"> 
  89.               <div align="center">主 题:</div></td>
  90.           <td bgcolor="#FFFFFF"><div align="center">
  91.               <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
  92.           </div></td>
  93.         </tr>
  94.         <tr bgcolor="#FFFFFF">
  95.           <td><div align="center"><br />
  96.                内 容: </div></td>
  97.           <td bgcolor="#FFFFFF">
  98.                 <div align="center">
  99.               <FTB:FreeTextBox ID="FreeTextBox1" runat="server">
  100.               </FTB:FreeTextBox></div>
  101.           </td>
  102.         </tr>
  103.       </table>
  104.        <input name="submit2" runat="server" type="submit" id="submit2" style="FONT-SIZE: 12px; HEIGHT: 27px" onclick="return ddd()"  value= " 修 改 " onserverclick="submit2_ServerClick" />
  105.     <input name="按钮" type="button" style="FONT-SIZE: 12px; HEIGHT: 27px"   onclick="javascript:history.go(-1)" value= " 取 消 " /><br />
  106.             
  107.     </form>
  108.     </td>
  109.   </tr>
  110. </table>
  111. <br /><img alt="" src='../img/up.gif' width='17' height='12'/><a href='javascript:history.go(-1)' >返 回 </a>
  112. </div>
  113. </body>
  114. </html>