NewItem.aspx
上传用户:xuming1973
上传日期:2014-02-27
资源大小:17511k
文件大小:8k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="NewItem.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.BBS.NewItem" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>发贴</title>
  6. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. <script language="javascript">
  12. <!--
  13. function addcontent(str1,str2)
  14. {
  15. NewItem.Content.focus();
  16. if ((document.selection)&&(document.selection.type== "Text"))
  17. {
  18. var range= document.selection.createRange();
  19. var ch_text=range.text;
  20. range.text= str1 + ch_text + str2;
  21. else
  22. {
  23. document.NewItem.Content.value=document.NewItem.Content.value+str1+str2;
  24. NewItem.Content.focus();
  25. }
  26. }
  27. function sysbulletin_click()
  28. {
  29. document.getElementById('cbx_DeskTop').disabled = !document.getElementById('cbx_sysbulletin').checked;
  30. }
  31. //-->
  32. </script>
  33. </HEAD>
  34. <body onload="document.getElementById('cbx_DeskTop').disabled=true">
  35. <form id="NewItem" method="post" encType="multipart/form-data" runat="server">
  36. <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" height="81" cellSpacing="0" cellPadding="0" width="96%" border="1">
  37. <tr align="middle" bgcolor="#93bee2">
  38. <td class="Gbtext" vAlign="top" colSpan="2" height="20" style="HEIGHT: 20px"><span class="whiteTextBX"><font size="3">.::发送新贴::.
  39. <asp:CheckBox id="cbx_bulletin" runat="server" Text="本版公告" Font-Size="X-Small" ForeColor="Red"></asp:CheckBox>
  40. <asp:CheckBox id="cbx_sysbulletin" runat="server" ForeColor="Red" Font-Size="X-Small" Text="系统公告"></asp:CheckBox>
  41. <asp:CheckBox id="cbx_DeskTop" runat="server"></asp:CheckBox>
  42. <asp:Label id="lbl_DeskTop" runat="server" Font-Size="X-Small">桌面提醒</asp:Label>
  43. </font></span>
  44. </td>
  45. <TD class="Gbtext" vAlign="top" height="20" style="HEIGHT: 20px"></TD>
  46. </tr>
  47. <tr>
  48. <td class="Gbtext" align="right" width="100" height="30">主题:</td>
  49. <td class="Gbtext" align="left" height="18"><input class="InputCss" id="Title" style="WIDTH: 597px; HEIGHT: 19px" type="text" size="94" runat="server">
  50. </td>
  51. <TD class="Gbtext" align="left" height="18"></TD>
  52. </tr>
  53. <tr bgColor="#e8f4ff">
  54. <td class="Gbtext" align="right" height="30">排版:</td>
  55. <td class="Gbtext" align="left" bgColor="#e8f4ff" height="21"><A title="粗体" href="javascript:addcontent('[B]','[/B]');"><IMG height="20" src="ubb/bold.GIF" width="20" align="absMiddle" border="0"></A>
  56. <A title="斜体" href="javascript:addcontent('[I]','[/I]');"><IMG height="20" src="ubb/italicize.GIF" width="20" align="absMiddle" border="0"></A>
  57. <A title="下划线" href="javascript:addcontent('[U]','[/U]');"><IMG height="20" src="ubb/underline.GIF" width="20" align="absMiddle" border="0"></A>
  58. <A title="居中" href="javascript:addcontent('[ALIGN=CENTER]','[/ALIGN]');"><IMG height="20" src="ubb/center.GIF" width="20" align="absMiddle" border="0"></A>
  59. <A title="链接" href="javascript:addcontent('[URL]','[/URL]');"><IMG height="20" src="ubb/url1.GIF" width="20" align="absMiddle" border="0"></A>
  60. <A title="邮件" href="javascript:addcontent('[EMAIL]','[/EMAIL]');"><IMG height="20" src="ubb/email1.GIF" width="20" align="absMiddle" border="0"></A>
  61. <A title="图片" href="javascript:addcontent('[IMG]','[/IMG]');"><IMG height="20" src="ubb/image.GIF" width="20" align="absMiddle" border="0"></A>
  62. <A title="Flash" href="javascript:addcontent('[FLASH]','[/FLASH]');"><IMG height="20" src="ubb/swf.GIF" width="20" align="absMiddle" border="0"></A>
  63. <A title="代码" href="javascript:addcontent('[CODE]','[/CODE]');"><IMG height="20" src="ubb/code.GIF" width="20" align="absMiddle" border="0"></A>
  64. <A title="引用" href="javascript:addcontent('[QUOTE]','[/QUOTE]');"><IMG height="20" src="ubb/quote1.GIF" width="20" align="absMiddle" border="0"></A>
  65. <A title="飞行" href="javascript:addcontent('[FLY]','[/FLY]');"><IMG height="20" src="ubb/fly.GIF" width="20" align="absMiddle" border="0"></A>
  66. <A title="移动" href="javascript:addcontent('[MOVE]','[/MOVE]');"><IMG height="20" src="ubb/move.GIF" width="20" align="absMiddle" border="0"></A>
  67. <A title="发光" href="javascript:addcontent('[GLOW=255,RED,2]','[/GLOW]');"><IMG height="20" src="ubb/glow.GIF" width="20" align="absMiddle" border="0"></A>
  68. <A title="阴影" href="javascript:addcontent('[SHADOW=255,RED,2]','[/SHADOW]');"><IMG height="20" src="ubb/shadow.GIF" width="20" align="absMiddle" border="0"></A>
  69. <A title="3号字" href="javascript:addcontent('[SIZE=3]','[/SIZE]');"><IMG height="20" src="ubb/size3.GIF" width="20" align="absMiddle" border="0"></A>
  70. <A title="蓝色字" href="javascript:addcontent('[COLOR=blue]','[/COLOR]');"><IMG height="20" src="ubb/blue.gif" width="20" align="absMiddle" border="0"></A>
  71. <A title="红色字" href="javascript:addcontent('[COLOR=red]','[/COLOR]');"><IMG height="20" src="ubb/red.GIF" width="20" align="absMiddle" border="0"></A>
  72. <A title="插入Media文件" href="javascript:addcontent('[MP=320,240]','[/MP]');"><IMG height="20" src="ubb/media.gif" width="20" align="absMiddle" border="0"></A>
  73. <A title="插入RealPlay文件" href="javascript:addcontent('[RM=320,240]','[/RM]');"><IMG height="20" src="ubb/real.gif" width="20" align="absMiddle" border="0"></A>
  74. <a title="使用帮助" href="help.htm" target="_blank">使用帮助</a>
  75. </td>
  76. <TD class="Gbtext" align="left" bgColor="#e8f4ff" height="21"></TD>
  77. </tr>
  78. <TR>
  79. <TD class="Gbtext" align="right" height="30"><FONT face="宋体">上传:</FONT></TD>
  80. <TD class="Gbtext" align="left" height="21"><FONT face="宋体"><INPUT class="INPUTCSS" id="hif" style="WIDTH: 185px; HEIGHT: 19px" type="file" size="11" runat="server">&nbsp;
  81. <asp:dropdownlist id="ddl_FileType" runat="server">
  82. <asp:ListItem Value="picture">图片</asp:ListItem>
  83. <asp:ListItem Value="rm">rm</asp:ListItem>
  84. <asp:ListItem Value="mp3">mp3</asp:ListItem>
  85. <asp:ListItem Value="avi">avi</asp:ListItem>
  86. <asp:ListItem Value="swf">swf</asp:ListItem>
  87. <asp:ListItem Value="other"> 其他</asp:ListItem>
  88. </asp:dropdownlist>&nbsp;
  89. <asp:button id="btn_UpAtt" runat="server" Text="上传" CssClass="inputcss"></asp:button>
  90. <asp:ListBox id="lbx_AttList" runat="server" Width="140px" Height="66px" SelectionMode="Multiple"></asp:ListBox>
  91. <asp:Button id="btn_DelAtt" runat="server" Text="删除" CssClass="inputcss"></asp:Button></FONT></TD>
  92. <TD class="Gbtext" align="left" height="21"></TD>
  93. </TR>
  94. <tr>
  95. <td class="Gbtext" vAlign="top" align="right" height="140">内容:</td>
  96. <td class="Gbtext" vAlign="top" align="left" height="140"><textarea id="Content" style="WIDTH: 603px; HEIGHT: 144px" rows="9" cols="73" runat="server"></textarea>
  97. </td>
  98. <TD class="Gbtext" vAlign="top" align="left" height="140"></TD>
  99. </tr>
  100. <tr align="middle" bgColor="#e8f4ff">
  101. <td class="Gbtext" colSpan="2" height="30"><input class="ButtonCss" id="cmdOK" type="submit" value=" 发 送 " runat="server">
  102. &nbsp;&nbsp; <input class="ButtonCss" type="reset" value=" 重 写" name="cmdCancel"></td>
  103. <TD class="Gbtext" height="30"></TD>
  104. </tr>
  105. <tr align="middle">
  106. <td class="Gbtext" colSpan="2" height="30"><A href="javascript:window.close();">关闭窗口</A></td>
  107. <TD class="Gbtext" height="30"></TD>
  108. </tr>
  109. </table>
  110. </form>
  111. </body>
  112. </HTML>