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

.net编程

开发平台:

C#

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