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

.net编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="edit_article.aspx.cs" AutoEventWireup="false" Inherits="kuangren.edit_article" %>
  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"><%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["f3_motif"].ToString())%></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_articleto.aspx"   >
  32.         <tr> 
  33.           <td height="20" colspan="2" class="title" > <font color="#ffffff"><strong>编辑帖子</strong></font></td>
  34.         </tr>
  35.         <tr> 
  36.           <td width="21%"><strong>用户名</strong></td>
  37.           <td width="79%"><input name="username" type="text" id="username" value="<%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["f3_name"].ToString())%>" size="20" > 
  38.             <a href="reg.asp"><font color="#ff0000"><strong>*</strong></font>您没有注册?</a> 
  39.           </td>
  40.         </tr>
  41.         <tr> 
  42.           <td><strong>主题标题 </strong> <SELECT name=font onchange=DoTitle(this.options[this.selectedIndex].value)>
  43.               <OPTION selected value="">选择话题</OPTION>
  44.               <OPTION 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.             </SELECT></td>
  57.           <td><input name="subject" value="<%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["f3_motif"].ToString())%>"  size="50" maxlength=50> 
  58.             <strong><font color="#ff0000"> *</font></strong>不得超过 25 个汉字或50个英文字符 
  59.           </td>
  60.         </tr>
  61.         <tr> 
  62.           <td height="49">当前心情 <br> <li> 将放在帖子的前面</li></td>
  63.           <td> <table width="70%" border="0" cellpadding="0" cellspacing="0">
  64.               <tr> 
  65.                 <td width="11%"> <input type="radio" name="f3_face" value="NewImages/face1.gif" checked> 
  66.                   <img src="NewImages/face1.gif" alt="笑脸"  align="absMiddle"> 
  67.                 </td>
  68.                 <td width="11%"><input type="radio" name="f3_face" value="NewImages/face2.gif"> 
  69.                   <img src="NewImages/face2.gif" alt="开口笑脸"  align="absMiddle"> 
  70.                 </td>
  71.                 <td width="11%"><input type="radio" name="f3_face" value="NewImages/face3.gif"> 
  72.                   <img src="NewImages/face3.gif" alt="眨眼笑脸" width="15" height="15"  align="absMiddle"></td>
  73.                 <td width="11%"><input type="radio" name="f3_face" value="NewImages/face4.gif"> 
  74.                   <img src="NewImages/face4.gif" alt="惊讶的笑脸"  align="absMiddle"></td>
  75.                 <td width="11%"><input type="radio" name="f3_face" value="NewImages/face5.gif"> 
  76.                   <img src="NewImages/face5.gif" alt="吐舌的笑脸"  align="absMiddle"></td>
  77.                 <td width="11%"><input type="radio" name="f3_face" value="NewImages/face6.gif"> 
  78.                   <img src="NewImages/face6.gif" alt="热烈的笑脸"  align="absMiddle"></td>
  79.                 <td width="11%"><input type="radio" name="f3_face" value="NewImages/face7.gif"> 
  80.                   <img src="NewImages/face7.gif" alt="生气的脸"  align="absMiddle"> 
  81.                 </td>
  82.                 <td width="11%"><input type="radio" name="f3_face" value="NewImages/face8.gif"> 
  83.                   <img src="NewImages/face8.gif" alt="生气的脸"  align="absMiddle"></td>
  84.                 <td width="11%"><input type="radio" name="f3_face" value="NewImages/face9.gif"> 
  85.                   <img src="NewImages/face9.gif" alt="生气的脸"  align="absMiddle"></td>
  86.               </tr>
  87.               <tr> 
  88.                 <td><input type="radio" name="f3_face" value="NewImages/face10.gif"> 
  89.                   <img src="NewImages/face10.gif" alt="困惑的脸"  align="absMiddle"></td>
  90.                 <td><input type="radio" name="f3_face" value="NewImages/face11.gif"> 
  91.                   <img src="NewImages/face11.gif" alt="尴尬的笑脸"  align="absMiddle"></td>
  92.                 <td><input type="radio" name="f3_face" value="NewImages/face12.gif"> 
  93.                   <img src="NewImages/face12.gif"  align="absMiddle" alt="难过的脸"></td>
  94.                 <td><input type="radio" name="f3_face" value="NewImages/face13.gif"> 
  95.                   <img src="NewImages/face13.gif" alt="哭泣的脸"  align="absMiddle"></td>
  96.                 <td><input type="radio" name="f3_face" value="NewImages/face14.gif"> 
  97.                   <img src="NewImages/face14.gif" alt="失望的脸"  align="absMiddle"></td>
  98.                 <td><input type="radio" name="f3_face" value="NewImages/face15.gif"> 
  99.                   <img src="NewImages/face15.gif" alt="赞同、好样的"  align="absMiddle"></td>
  100.                 <td><input type="radio" name="f3_face" value="NewImages/face16.gif"> 
  101.                   <img src="NewImages/face16.gif" alt="不同意见"  align="absMiddle"> 
  102.                 </td>
  103.                 <td><input type="radio" name="f3_face" value="NewImages/face17.gif"> 
  104.                   <img src="NewImages/face17.gif" alt="生气的脸"  align="absMiddle"></td>
  105.                 <td><input type="radio" name="f3_face" value="NewImages/face18.gif"> 
  106.                   <img src="NewImages/face18.gif" alt="生气的脸"  align="absMiddle"></td>
  107.               </tr>
  108.             </table></td>
  109.         </tr>
  110.         <tr> 
  111.           <td   NOWRAP>内容 <br> <li>HTML标签: 不可用 <br>
  112.               UBB标签: 可用 <br>
  113.             <li>贴图标签: 可用 <br>
  114.               多媒体标签:可用 <br>
  115.             <li>表情字符转换:可用 <br>
  116.               上传图片:不可用 <br>
  117.             <li>最多15KB 
  118.               <p></p>
  119.             <li>特殊内容 <br>
  120.             <li>金钱帖 <br>
  121.             <li>积分帖 <br>
  122.             <li>魅力帖 <br>
  123.             <li>威望帖 <br>
  124.             <li>文章帖 <br>
  125.             <li>回复帖 <br>
  126.             <li>出售帖:不可用 <br>
  127.               <br>
  128.               <p></p>
  129.             </li></td>
  130.           <td valign="top"><div align="left"> 
  131.               <!--#include file="Style/getubb.aspx"-->
  132.               &nbsp; 
  133.               <input name="f3_id" type="hidden" id="f3_id" value="<%#dsPending.Tables[0].Rows[0]["f3_id"]%>">
  134.               <input name="f3_sy" type="hidden" id="f3_sy" value="<%#dsPending.Tables[0].Rows[0]["f3_sy"]%>">
  135.               <br>
  136.               <br>
  137.             <textarea class=smallarea cols=90  title="可以使用Ctrl+Enter直接提交贴子"   name=Content rows=15 wrap=VIRTUAL onKeyDown=ctlent()><%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["f3_content"].ToString())%>
  138. </textarea>
  139.             </div></td>
  140.         </tr>
  141.         <tr> 
  142.           <td colspan="2" NOWRAP> <table width="98%" border="0">
  143.               <tr> 
  144.                 <td>点击表情图即可在帖子中加入相应的表情</td>
  145.               </tr>
  146.             </table>
  147.             <table width="98%" border="0">
  148.               <tr> 
  149.                 <td height="19"> <!--#include file="facetype.aspx" --> </td>
  150.               </tr>
  151.             </table></td>
  152.         </tr>
  153.         <tr> 
  154.           <td> <div align="left"></div>
  155.             <div align="left"><strong>选项: </strong></div></td>
  156.           <td><input type=checkbox name=f3_html value="1"> <b>禁止UBB转换:</b>如果您的帖子中有HTML或者ASP代码,请勾选此项。</td>
  157.         </tr>
  158.         <tr> 
  159.           <td colspan="2"> <input type="submit" name="Submit" value="OK!确认修改" id=Submit1 runat="server"> 
  160.             <input type="button" name="Submit2" value="预 览"> <input type="reset" name="Submit3" value="清空">
  161.             [Ctrl+Enter直接提交贴子] </td>
  162.         </tr>
  163.     </form>
  164.   </table>
  165.   <br>
  166. </div>
  167. <!--#include file="sitefloor.aspx" -->
  168. </body>
  169. </HTML>