add_article.aspx
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:9k
源码类别:

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="add_article.aspx.cs" AutoEventWireup="false" Inherits="kuangren.add_article" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4.   <HEAD>
  5. <title>狂人论坛-发布新帖</title>
  6. <meta name="vs_showGrid" content="False">
  7. <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  8. <meta name="CODE_LANGUAGE" Content="C#">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  11. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  12. <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
  13.   </HEAD>
  14. <body leftmargin="0" topmargin="0" MS_POSITIONING="GridLayout">
  15. <!--#include file="sitehead.aspx" -->
  16. <script src="style/ubbcode.js"></script>
  17. <div align="center"> 
  18.   <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
  19. <tr>
  20.       <td bgColor="#F0F0F0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle"> 
  21.         <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2> 
  22.         <uc1:jianinclude3 id="Jianinclude31" runat="server"></uc1:jianinclude3>  添加文章</td>
  23.     </tr>
  24.   </table>
  25.   <br>
  26.   <table width="97%" border="0" cellspacing="0" cellpadding="2">
  27.     <tr>
  28.       <td>广播:</td>
  29.     </tr>
  30.   </table>
  31.   <table width="97%" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#6595d6" style="BORDER-COLLAPSE: collapse">
  32.     <form name="form1" method="post" action="add_articleto.aspx"   >
  33.   <TBODY>
  34.       <tr> 
  35.         <td height="20" colspan="2" class="title" > 
  36.           <font color="#ffffff"><strong>发表新帖子</strong></font></td>
  37.       </tr>
  38.       <tr> 
  39.         <td width="21%"><strong>用户名</strong></td>
  40.         <td width="79%"><input name="username" type="text" id="username" value="<%=usercookies%>" size="20" > 
  41.           <a href="reg.asp"><font color="#ff0000"><strong>*</strong></font>您没有注册?</a> 
  42.         </td>
  43.       </tr>
  44.       <tr> 
  45.         <td><strong>密码</strong></td>
  46.         <td><input name="password" type="password" id="password" value="****************" size="20" > <a href="reg.asp"><font color="#ff0000"><strong>*</strong></font></a>忘记密码?</td>
  47.       </tr>
  48.       <tr> 
  49.         <td><strong>主题标题 </strong> <SELECT name=font onchange=DoTitle(this.options[this.selectedIndex].value)>
  50.               <OPTION selected value="">选择话题</OPTION> <OPTION value=[原创]>[原创]</OPTION> 
  51.               <OPTION value=[转帖]>[转帖]</OPTION> <OPTION value=[灌水]>[灌水]</OPTION> 
  52.               <OPTION value=[讨论]>[讨论]</OPTION> <OPTION value=[求助]>[求助]</OPTION> 
  53.               <OPTION value=[推荐]>[推荐]</OPTION> <OPTION value=[公告]>[公告]</OPTION> 
  54.               <OPTION value=[注意]>[注意]</OPTION> <OPTION value=[贴图]>[贴图]</OPTION>
  55.               <OPTION value=[建议]>[建议]</OPTION> <OPTION value=[下载]>[下载]</OPTION>
  56.               <OPTION value=[分享]>[分享]</OPTION></SELECT></td>
  57.         <td><input name="subject"  size="50" maxlength=50> <strong><font color="#ff0000"> 
  58.           *</font></strong>不得超过 25 个汉字或50个英文字符 </td>
  59.       </tr>
  60.       <tr> 
  61.         <td height="49">当前心情 <br> <li> 将放在帖子的前面</li></td>
  62.         <td> <table width="70%" border="0" cellpadding="0" cellspacing="0">
  63.             <tr> 
  64.               <td width="11%"> <input type="radio" name="f3_face" value="NewImages/face1.gif" checked> 
  65.                 <img src="NewImages/face1.gif" alt="笑脸"  align="absMiddle"> </td>
  66.               <td width="11%"><input type="radio" name="f3_face" value="NewImages/face2.gif"> 
  67.                 <img src="NewImages/face2.gif" alt="开口笑脸"  align="absMiddle"> 
  68.               </td>
  69.               <td width="11%"><input type="radio" name="f3_face" value="NewImages/face3.gif"> 
  70.                 <img src="NewImages/face3.gif" alt="眨眼笑脸" width="15" height="15"  align="absMiddle"></td>
  71.               <td width="11%"><input type="radio" name="f3_face" value="NewImages/face4.gif"> 
  72.                 <img src="NewImages/face4.gif" alt="惊讶的笑脸"  align="absMiddle"></td>
  73.               <td width="11%"><input type="radio" name="f3_face" value="NewImages/face5.gif"> 
  74.                 <img src="NewImages/face5.gif" alt="吐舌的笑脸"  align="absMiddle"></td>
  75.               <td width="11%"><input type="radio" name="f3_face" value="NewImages/face6.gif"> 
  76.                 <img src="NewImages/face6.gif" alt="热烈的笑脸"  align="absMiddle"></td>
  77.               <td width="11%"><input type="radio" name="f3_face" value="NewImages/face7.gif"> 
  78.                 <img src="NewImages/face7.gif" alt="生气的脸"  align="absMiddle"> 
  79.               </td>
  80.               <td width="11%"><input type="radio" name="f3_face" value="NewImages/face8.gif"> 
  81.                 <img src="NewImages/face8.gif" alt="生气的脸"  align="absMiddle"></td>
  82.               <td width="11%"><input type="radio" name="f3_face" value="NewImages/face9.gif"> 
  83.                 <img src="NewImages/face9.gif" alt="生气的脸"  align="absMiddle"></td>
  84.             </tr>
  85.             <tr> 
  86.               <td><input type="radio" name="f3_face" value="NewImages/face10.gif"> 
  87.                 <img src="NewImages/face10.gif" alt="困惑的脸"  align="absMiddle"></td>
  88.               <td><input type="radio" name="f3_face" value="NewImages/face11.gif"> 
  89.                 <img src="NewImages/face11.gif" alt="尴尬的笑脸"  align="absMiddle"></td>
  90.               <td><input type="radio" name="f3_face" value="NewImages/face12.gif"> 
  91.                 <img src="NewImages/face12.gif"  align="absMiddle" alt="难过的脸"></td>
  92.               <td><input type="radio" name="f3_face" value="NewImages/face13.gif"> 
  93.                 <img src="NewImages/face13.gif" alt="哭泣的脸"  align="absMiddle"></td>
  94.               <td><input type="radio" name="f3_face" value="NewImages/face14.gif"> 
  95.                 <img src="NewImages/face14.gif" alt="失望的脸"  align="absMiddle"></td>
  96.               <td><input type="radio" name="f3_face" value="NewImages/face15.gif"> 
  97.                 <img src="NewImages/face15.gif" alt="赞同、好样的"  align="absMiddle"></td>
  98.               <td><input type="radio" name="f3_face" value="NewImages/face16.gif"> 
  99.                 <img src="NewImages/face16.gif" alt="不同意见"  align="absMiddle"> 
  100.               </td>
  101.               <td><input type="radio" name="f3_face" value="NewImages/face17.gif"> 
  102.                 <img src="NewImages/face17.gif" alt="生气的脸"  align="absMiddle"></td>
  103.               <td><input type="radio" name="f3_face" value="NewImages/face18.gif"> 
  104.                 <img src="NewImages/face18.gif" alt="生气的脸"  align="absMiddle"></td>
  105.             </tr>
  106.           </table></td>
  107.       </tr>
  108.       <tr> 
  109.         <td   NOWRAP>内容 <br> <li>HTML标签: 不可用
  110.           <br>
  111.           UBB标签: 可用 <br> <li>贴图标签: 可用
  112.           <br>
  113.           多媒体标签:可用 <br> <li>表情字符转换:可用
  114.           <br>
  115.           上传图片:不可用 <br> <li>最多15KB 
  116.           <p></p> 
  117.           <li>特殊内容
  118.           <br> <li>金钱帖
  119.           <br> <li>积分帖
  120.           <br> <li>魅力帖
  121.           <br> <li>威望帖
  122.           <br> <li>文章帖
  123.           <br> <li>回复帖
  124.           <br> <li>出售帖:不可用 <br>
  125.             <br>
  126.             <p></p></li>
  127.         </td>
  128.         <td valign="top"><div align="left"> 
  129.             <!--#include file="Style/getubb.aspx"-->
  130.               &nbsp; 
  131.               <input name="f3_name" type="hidden" id="f3_name" value="<%=usercookies%>">
  132.               <input name="f3_sy" type="hidden" id="f3_sy" value="<%=Request.QueryString["f2_id"]%>">
  133.               <br>
  134.               <br>
  135.                 <textarea class=smallarea cols=90  title="可以使用Ctrl+Enter直接提交贴子"  name=Content rows=15 wrap=VIRTUAL onKeyDown=ctlent()></textarea>
  136.             </div></td>
  137.       </tr>
  138.       <tr> 
  139.         <td colspan="2" NOWRAP> <table width="98%" border="0">
  140.             <tr> 
  141.               <td>点击表情图即可在帖子中加入相应的表情</td>
  142.             </tr>
  143.           </table>
  144.           <table width="98%" border="0">
  145.             <tr> 
  146.               <td height="19"> 
  147.                 <!--#include file="facetype.aspx" -->
  148.               </td>
  149.             </tr>
  150.           </table></td>
  151.       </tr>
  152.       <tr> 
  153.         <td> <div align="left"></div>
  154.           <div align="left"><strong>选项: </strong></div></td>
  155.         <td><input type=checkbox name=f3_html value="1"> <b>禁止UBB转换:</b>如果您的帖子中有HTML或者ASP代码,请勾选此项。</td>
  156.       </tr>
  157.       <tr> 
  158.         <td colspan="2"> <input type="submit" name="Submit" value="OK!发表我的帖子" id=Submit1 runat="server"> 
  159.           <input type="button" name="Submit2" value="预 览"> <input type="reset" name="Submit3" value="清空">
  160.           [Ctrl+Enter直接提交贴子] </td>
  161.       </tr>
  162.     </form></TBODY>
  163.   </table>
  164.   <br>
  165. </div>
  166. <!--#include file="sitefloor.aspx" -->
  167. </body>
  168. </HTML>