edit_article.aspx
资源名称:论坛源码.rar [点击查看]
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:9k
源码类别:
.net编程
开发平台:
C#
- <%@ Page language="c#" Codebehind="edit_article.aspx.cs" AutoEventWireup="false" Inherits="kuangren.edit_article" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <title>狂人论坛-帖子编辑</title>
- <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
- <meta name="CODE_LANGUAGE" Content="C#">
- <meta name="vs_defaultClientScript" content="JavaScript">
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <LINK href="skin/dvbbs/style.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body leftmargin="0" topmargin="0" MS_POSITIONING="GridLayout">
- <!--#include file="sitehead.aspx" -->
- <script src="style/ubbcode.js"></script>
- <div align="center">
- <table cellSpacing="1" cellPadding="3" width="97%" align="center" bgColor="#6595d6" border="0">
- <tr>
- <td bgColor="#F0F0F0" height="25"><IMG height="9" hspace="3" src="skin/dvbbs/images/nav_position.gif" width="9" align="absMiddle">
- <uc1:jianinclude2 id="Jianinclude21" runat="server"></uc1:jianinclude2> <uc1:jianinclude3 id="Jianinclude31" runat="server"></uc1:jianinclude3>
- <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>
- </tr>
- </table>
- <br>
- <table width="97%" border="0" cellspacing="0" cellpadding="2">
- <tr>
- <td>广播:</td>
- </tr>
- </table>
- <table width="97%" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#6595d6" style="BORDER-COLLAPSE: collapse">
- <form name="form1" method="post" action="edit_articleto.aspx" >
- <tr>
- <td height="20" colspan="2" class="title" > <font color="#ffffff"><strong>编辑帖子</strong></font></td>
- </tr>
- <tr>
- <td width="21%"><strong>用户名</strong></td>
- <td width="79%"><input name="username" type="text" id="username" value="<%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["f3_name"].ToString())%>" size="20" >
- <a href="reg.asp"><font color="#ff0000"><strong>*</strong></font>您没有注册?</a>
- </td>
- </tr>
- <tr>
- <td><strong>主题标题 </strong> <SELECT name=font onchange=DoTitle(this.options[this.selectedIndex].value)>
- <OPTION selected value="">选择话题</OPTION>
- <OPTION value=[原创]>[原创]</OPTION>
- <OPTION value=[转帖]>[转帖]</OPTION>
- <OPTION value=[灌水]>[灌水]</OPTION>
- <OPTION value=[讨论]>[讨论]</OPTION>
- <OPTION value=[求助]>[求助]</OPTION>
- <OPTION value=[推荐]>[推荐]</OPTION>
- <OPTION value=[公告]>[公告]</OPTION>
- <OPTION value=[注意]>[注意]</OPTION>
- <OPTION value=[贴图]>[贴图]</OPTION>
- <OPTION value=[建议]>[建议]</OPTION>
- <OPTION value=[下载]>[下载]</OPTION>
- <OPTION value=[分享]>[分享]</OPTION>
- </SELECT></td>
- <td><input name="subject" value="<%#Server.HtmlEncode(dsPending.Tables[0].Rows[0]["f3_motif"].ToString())%>" size="50" maxlength=50>
- <strong><font color="#ff0000"> *</font></strong>不得超过 25 个汉字或50个英文字符
- </td>
- </tr>
- <tr>
- <td height="49">当前心情 <br> <li> 将放在帖子的前面</li></td>
- <td> <table width="70%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="11%"> <input type="radio" name="f3_face" value="NewImages/face1.gif" checked>
- <img src="NewImages/face1.gif" alt="笑脸" align="absMiddle">
- </td>
- <td width="11%"><input type="radio" name="f3_face" value="NewImages/face2.gif">
- <img src="NewImages/face2.gif" alt="开口笑脸" align="absMiddle">
- </td>
- <td width="11%"><input type="radio" name="f3_face" value="NewImages/face3.gif">
- <img src="NewImages/face3.gif" alt="眨眼笑脸" width="15" height="15" align="absMiddle"></td>
- <td width="11%"><input type="radio" name="f3_face" value="NewImages/face4.gif">
- <img src="NewImages/face4.gif" alt="惊讶的笑脸" align="absMiddle"></td>
- <td width="11%"><input type="radio" name="f3_face" value="NewImages/face5.gif">
- <img src="NewImages/face5.gif" alt="吐舌的笑脸" align="absMiddle"></td>
- <td width="11%"><input type="radio" name="f3_face" value="NewImages/face6.gif">
- <img src="NewImages/face6.gif" alt="热烈的笑脸" align="absMiddle"></td>
- <td width="11%"><input type="radio" name="f3_face" value="NewImages/face7.gif">
- <img src="NewImages/face7.gif" alt="生气的脸" align="absMiddle">
- </td>
- <td width="11%"><input type="radio" name="f3_face" value="NewImages/face8.gif">
- <img src="NewImages/face8.gif" alt="生气的脸" align="absMiddle"></td>
- <td width="11%"><input type="radio" name="f3_face" value="NewImages/face9.gif">
- <img src="NewImages/face9.gif" alt="生气的脸" align="absMiddle"></td>
- </tr>
- <tr>
- <td><input type="radio" name="f3_face" value="NewImages/face10.gif">
- <img src="NewImages/face10.gif" alt="困惑的脸" align="absMiddle"></td>
- <td><input type="radio" name="f3_face" value="NewImages/face11.gif">
- <img src="NewImages/face11.gif" alt="尴尬的笑脸" align="absMiddle"></td>
- <td><input type="radio" name="f3_face" value="NewImages/face12.gif">
- <img src="NewImages/face12.gif" align="absMiddle" alt="难过的脸"></td>
- <td><input type="radio" name="f3_face" value="NewImages/face13.gif">
- <img src="NewImages/face13.gif" alt="哭泣的脸" align="absMiddle"></td>
- <td><input type="radio" name="f3_face" value="NewImages/face14.gif">
- <img src="NewImages/face14.gif" alt="失望的脸" align="absMiddle"></td>
- <td><input type="radio" name="f3_face" value="NewImages/face15.gif">
- <img src="NewImages/face15.gif" alt="赞同、好样的" align="absMiddle"></td>
- <td><input type="radio" name="f3_face" value="NewImages/face16.gif">
- <img src="NewImages/face16.gif" alt="不同意见" align="absMiddle">
- </td>
- <td><input type="radio" name="f3_face" value="NewImages/face17.gif">
- <img src="NewImages/face17.gif" alt="生气的脸" align="absMiddle"></td>
- <td><input type="radio" name="f3_face" value="NewImages/face18.gif">
- <img src="NewImages/face18.gif" alt="生气的脸" align="absMiddle"></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td NOWRAP>内容 <br> <li>HTML标签: 不可用 <br>
- UBB标签: 可用 <br>
- <li>贴图标签: 可用 <br>
- 多媒体标签:可用 <br>
- <li>表情字符转换:可用 <br>
- 上传图片:不可用 <br>
- <li>最多15KB
- <p></p>
- <li>特殊内容 <br>
- <li>金钱帖 <br>
- <li>积分帖 <br>
- <li>魅力帖 <br>
- <li>威望帖 <br>
- <li>文章帖 <br>
- <li>回复帖 <br>
- <li>出售帖:不可用 <br>
- <br>
- <p></p>
- </li></td>
- <td valign="top"><div align="left">
- <!--#include file="Style/getubb.aspx"-->
-
- <input name="f3_id" type="hidden" id="f3_id" value="<%#dsPending.Tables[0].Rows[0]["f3_id"]%>">
- <input name="f3_sy" type="hidden" id="f3_sy" value="<%#dsPending.Tables[0].Rows[0]["f3_sy"]%>">
- <br>
- <br>
- <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())%>
- </textarea>
- </div></td>
- </tr>
- <tr>
- <td colspan="2" NOWRAP> <table width="98%" border="0">
- <tr>
- <td>点击表情图即可在帖子中加入相应的表情</td>
- </tr>
- </table>
- <table width="98%" border="0">
- <tr>
- <td height="19"> <!--#include file="facetype.aspx" --> </td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td> <div align="left"></div>
- <div align="left"><strong>选项: </strong></div></td>
- <td><input type=checkbox name=f3_html value="1"> <b>禁止UBB转换:</b>如果您的帖子中有HTML或者ASP代码,请勾选此项。</td>
- </tr>
- <tr>
- <td colspan="2"> <input type="submit" name="Submit" value="OK!确认修改" id=Submit1 runat="server">
- <input type="button" name="Submit2" value="预 览"> <input type="reset" name="Submit3" value="清空">
- [Ctrl+Enter直接提交贴子] </td>
- </tr>
- </form>
- </table>
- <br>
- </div>
- <!--#include file="sitefloor.aspx" -->
- </body>
- </HTML>