newtopic.aspx

来自「一个功能完善的论坛系统,有数据库备分,希望对你有所帮助」· ASPX 代码 · 共 140 行

ASPX
140
字号
<%@ page language="c#" codebehind="newTopic.aspx.cs" autoeventwireup="false" inherits="bbs.Components.newTopic" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		<title>发表新主题</title>
<meta content="Microsoft Visual Studio .NET 7.1" name=GENERATOR>
<meta content=C# name=CODE_LANGUAGE>
<meta content=JavaScript name=vs_defaultClientScript>
<meta content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema><LINK href="img/styles.css" type=text/css rel=stylesheet >
<script type=text/Jscript>
		function AddIMG(ubb) {
		input.message.value+=ubb;
		}
		</script>
</HEAD>
<body>
<form id=input runat="server">
<table class=formbox cellSpacing=0 cellPadding=0 width="100%" align=center>
  <tbody>
  <tr>
    <td class=formbox-title colSpan=2>发表日志 [作者: 
      Clingingboy]</td></tr>
  <tr>
  <tr>
    <td class=formbox-rowheader><b 
      >标题:</b></td>
    <td class=formbox-content><input class=text 
      id=txtCaption maxLength=255 size=60 name=log_title 
      runat="server">&nbsp;&nbsp; 
<asp:RequiredFieldValidator id=RequiredFieldValidator1 runat="server" ErrorMessage="*" ControlToValidate="txtCaption"></asp:RequiredFieldValidator> </td></tr>
  <tr>
    <td class=formbox-rowheader><b 
      >发贴表情:</b></td>
    <td class=formbox-content>&nbsp;&nbsp;&nbsp;<A href="javascript:setToCurrentTime()" ></A> <asp:radiobuttonlist id=Miange runat="server" repeatcolumns="10" height="88px" repeatdirection="Horizontal" width="593px">
								<asp:ListItem Value="Miange/FIL1.GIF" Selected="True">&lt;img src=&quot;Miange/FIL1.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL2.GIF">&lt;img src=&quot;Miange/FIL2.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL3.GIF">&lt;img src=&quot;Miange/FIL3.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL4.GIF">&lt;img src=&quot;Miange/FIL4.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL5.GIF">&lt;img src=&quot;Miange/FIL5.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL6.GIF">&lt;img src=&quot;Miange/FIL6.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL7.GIF">&lt;img src=&quot;Miange/FIL7.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL8.GIF">&lt;img src=&quot;Miange/FIL8.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL9.GIF">&lt;img src=&quot;Miange/FIL9.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL10.GIF">&lt;img src=&quot;Miange/FIL10.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL11.GIF">&lt;img src=&quot;Miange/FIL11.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL12.GIF">&lt;img src=&quot;Miange/FIL12.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL13.GIF">&lt;img src=&quot;Miange/FIL13.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL14.GIF">&lt;img src=&quot;Miange/FIL14.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL15.GIF">&lt;img src=&quot;Miange/FIL15.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL16.GIF">&lt;img src=&quot;Miange/FIL16.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL17.GIF">&lt;img src=&quot;Miange/FIL17.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL18.GIF">&lt;img src=&quot;Miange/FIL18.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL19.GIF">&lt;img src=&quot;Miange/FIL19.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
								<asp:ListItem Value="Miange/FIL20.GIF">&lt;img src=&quot;Miange/FIL20.GIF&quot; border=&quot;0&quot; &gt;</asp:ListItem>
							</asp:radiobuttonlist></td></tr>
  <tr>
    <td class=formbox-rowheader vAlign=top>内容:<br 
      ><br>
      <div class=panel-smilies>
      <div class=panel-smilies-title>表情图标</div>
      <div class=panel-smilies-content><A href="javascript:AddIMG('[smile]')" ><IMG alt="[smile]" src="img/icon_smile.gif" ></A> <A href="javascript:AddIMG('[confused]')" ><IMG alt=[confused] src="img/icon_confused.gif" ></A> <A href="javascript:AddIMG('[cool]')" ><IMG alt=[cool] src="img/icon_cool.gif" ></A> <A href="javascript:AddIMG('[cry]')" ><IMG alt=[cry] src="img/icon_cry.gif" ></A><br><A href="javascript:AddIMG('[eek]')" ><IMG alt=[eek] src="img/icon_eek.gif" ></A> <A href="javascript:AddIMG('[angry]')" ><IMG alt=[angry] src="img/icon_angry.gif" ></A> <A href="javascript:AddIMG('[wink]')" ><IMG alt=[wink] src="img/icon_wink.gif" ></A> <A href="javascript:AddIMG('[sweat]')" ><IMG alt=[sweat] src="img/icon_sweat.gif" ></A><br><A href="javascript:AddIMG('[lol]')" ><IMG alt=[lol] src="img/icon_lol.gif" ></A> <A href="javascript:AddIMG('[stun]')" ><IMG alt=[stun] src="img/icon_stun.gif" ></A> <A href="javascript:AddIMG('[razz]')" ><IMG alt=[razz] src="img/icon_razz.gif" ></A> <A href="javascript:AddIMG('[redface]')" ><IMG alt=[redface] src="img/icon_redface.gif" ></A><br 
      ><A href="javascript:AddIMG('[rolleyes]')" ><IMG alt=[rolleyes] src="img/icon_rolleyes.gif" ></A> <A href="javascript:AddIMG('[sad]')" ><IMG alt=[sad] src="img/icon_sad.gif" ></A> <A href="javascript:AddIMG('[yes]')" ><IMG alt=[yes] src="img/icon_yes.gif" ></A> <A href="javascript:AddIMG('[no]')" ><IMG alt=[no] src="img/icon_no.gif" ></A><br><A href="javascript:AddIMG('[heart]')" ><IMG alt=[heart] src="img/icon_heart.gif" ></A> <A href="javascript:AddIMG('[star]')" ><IMG alt=[star] src="img/icon_star.gif" ></A> <A href="javascript:AddIMG('[music]')" ><IMG alt=[music] src="img/icon_music.gif" ></A> <A href="javascript:AddIMG('[idea]')" ><IMG alt=[idea] src="img/icon_idea.gif" ></A> <font face=宋体 
      ></font></div><font color=#666666 
      ></font></div>
      <div style="FONT-WEIGHT: normal; TEXT-ALIGN: left" 
      ><font face=宋体></font></div></td>
    <td class=formbox-content>
      <div style="PADDING-BOTTOM: 3px"><select 
      onfocus=this.selectedIndex=0 
      onchange="AddIMG('[font='+this.options[this.selectedIndex].value+'] [/font]')" 
      name=font> <option value="" selected >- Select Font -</option> <option value=Arial 
        >Arial</option> <option value="Book Antiqua" 
        >Book Antiqua</option> <option 
        value="Century Gothic">Century Gothic</option> 
        <option value="Courier New">Courier New</option> 
        <option value=Georgia>Georgia</option> <option 
        value=Impact>Impact</option> <option value=Tahoma 
        >Tahoma</option> <option value="Times New Roman" 
        >Times New Roman</option> <option value=Verdana 
        >Verdana</option></select> <select 
      onfocus=this.selectedIndex=0 
      onchange="AddIMG('[size='+this.options[this.selectedIndex].value+'] [/size]')" 
      name=size> <option value="" selected >- Size (pt) -</option> <option value=8 
        >8</option> <option value=9 
        >9</option> <option value=12 
        >12</option> <option value=16 
        >16</option> <option value=18 
        >18</option> <option value=24 
        >24</option> <option value=28 
        >28</option> <option value=32 
        >32</option> <option value=36 
        >36</option></select> <select 
      onfocus=this.selectedIndex=0 
      onchange="AddIMG('[color='+this.options[this.selectedIndex].value+'] [/color]')" 
      name=color> <option value="" selected >- Color -</option> <option 
        style="COLOR: white; BACKGROUND-COLOR: white" value=White 
        >White</option> <option 
        style="COLOR: black; BACKGROUND-COLOR: black" value=Black 
        >Black</option> <option 
        style="COLOR: red; BACKGROUND-COLOR: red" value=Red 
        >Red</option> <option 
        style="COLOR: yellow; BACKGROUND-COLOR: yellow" value=Yellow 
        >Yellow</option> <option 
        style="COLOR: pink; BACKGROUND-COLOR: pink" value=Pink 
        >Pink</option> <option 
        style="COLOR: green; BACKGROUND-COLOR: green" value=Green 
        >Green</option> <option 
        style="COLOR: orange; BACKGROUND-COLOR: orange" value=Orange 
        >Orange</option> <option 
        style="COLOR: purple; BACKGROUND-COLOR: purple" value=Purple 
        >Purple</option> <option 
        style="COLOR: blue; BACKGROUND-COLOR: blue" value=Blue 
        >Blue</option> <option 
        style="COLOR: beige; BACKGROUND-COLOR: beige" value=Beige 
        >Beige</option> <option 
        style="COLOR: brown; BACKGROUND-COLOR: brown" value=Brown 
        >Brown</option> <option 
        style="COLOR: teal; BACKGROUND-COLOR: teal" value=Teal 
        >Teal</option> <option 
        style="COLOR: navy; BACKGROUND-COLOR: navy" value=Navy 
        >Navy</option> <option 
        style="COLOR: maroon; BACKGROUND-COLOR: maroon" value=Maroon 
        >Maroon</option> <option 
        style="COLOR: limegreen; BACKGROUND-COLOR: limegreen" value=LimeGreen 
        >LimeGreen</option></select> &nbsp;&nbsp;&nbsp; </div>
      <div>
      <p><A href="javascript:AddIMG('[b][/b]')" ><IMG alt=粗体字 src="img/bb_bold.gif" ></A>&nbsp; <A href="javascript:AddIMG('[i][/i]')" ><IMG alt=斜体字 src="img/bb_italicize.gif" ></A>&nbsp; <A href="javascript:AddIMG('[u][/u]')" ><IMG src="img/bb_underline.gif" ></A>&nbsp; <A href="javascript:AddIMG('[s][/s]')" ><IMG alt="Strike Line" src="img/bb_strike.gif" ></A>&nbsp; <A href="javascript:AddIMG('[align=center][/align]')" ><IMG alt=居中 src="img/bb_center.gif" ></A>&nbsp; <A href="javascript:AddIMG('[url][/url]')" ><IMG alt=超链接 src="img/bb_url.gif" ></A>&nbsp; <A href="javascript:AddIMG('[img][/img]')" ><IMG alt=插入图片 src="img/bb_image.gif" ></A>&nbsp; <A href="javascript:AddIMG('[code][/code]')" ><IMG alt=插入代码 src="img/bb_code.gif" ></A>&nbsp; <A href="javascript:AddIMG('[swf][/swf]')" ></A></p>
      <p><textarea id=message style="WIDTH: 592px; HEIGHT: 194px" name=message rows=12 cols=71 runat="server"></textarea> 
      </p></div>
      <div><font face=宋体 
      >
<asp:RequiredFieldValidator id=RequiredFieldValidator2 runat="server" ErrorMessage="*" ControlToValidate="message"></asp:RequiredFieldValidator></font></div></FONT></td></tr>
  <tr class=formbox-content>
    <td><font face=宋体></font></td>
    <td><input class=button id=btnSubmit type=button value=保存 name=btnSubmit runat="server">&nbsp; 
<input class=button id=btnCancel onclick=window.history.back(); type=button value=返回 name=btnCancel runat="server"> 
    </td></tr></tbody></table></form>
	</body>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?