write.aspx
资源名称:论坛源码.rar [点击查看]
上传用户:scene123
上传日期:2010-02-19
资源大小:3311k
文件大小:38k
源码类别:
.net编程
开发平台:
C#
- <HTML>
- <HEAD>
- <title>发贴</title>
- <SCRIPT language="JavaScript">
- helpstat = false;
- stprompt = true;
- basic = false;
- function thelp(swtch){
- if (swtch == 1){
- basic = false;
- stprompt = false;
- helpstat = true;
- } else if (swtch == 0) {
- helpstat = false;
- stprompt = false;
- basic = true;
- } else if (swtch == 2) {
- helpstat = false;
- basic = false;
- stprompt = true;
- }
- }
- function AddText(NewCode) {
- document.frmannounce.nr.value+=NewCode
- }
- function email() {
- if (helpstat) {
- alert("Email 标记n插入 Email 超级链接n用法1: [email]webmaster@aspsky.net[/email]n用法2: [email=webmaster@aspsky.net]沙滩小子[/email]");
- } else if (basic) {
- AddTxt="[email][/email]";
- AddText(AddTxt);
- } else {
- txt2=prompt("链接显示的文字.n如果为空,那么将只显示你的 Email 地址","");
- if (txt2!=null) {
- txt=prompt("Email 地址.","name@domain.com");
- if (txt!=null) {
- if (txt2=="") {
- AddTxt="[email]"+txt+"[/email]";
- } else {
- AddTxt="[email="+txt+"]"+txt2;
- AddText(AddTxt);
- AddTxt="[/email]";
- }
- AddText(AddTxt);
- }
- }
- }
- }
- function flash() {
- if (helpstat){
- alert("Flash 动画n插入 Flash 动画.n用法: [flash]Flash 文件的地址[/flash]");
- } else if (basic) {
- AddTxt="[flash][/flash]";
- AddText(AddTxt);
- } else {
- txt=prompt("Flash 文件的地址","http://");
- if (txt!=null) {
- AddTxt="[flash]"+txt;
- AddText(AddTxt);
- AddTxt="[/flash]";
- AddText(AddTxt);
- }
- }
- }
- function showsize(size) {
- if (helpstat) {
- alert("文字大小标记n设置文字大小.n可变范围 1 - 6.n 1 为最小 6 为最大.n用法: [size="+size+"]这是 "+size+" 文字[/size]");
- } else if (basic) {
- AddTxt="[size="+size+"][/size]";
- AddText(AddTxt);
- } else {
- txt=prompt("大小 "+size,"文字");
- if (txt!=null) {
- AddTxt="[size="+size+"]"+txt;
- AddText(AddTxt);
- AddTxt="[/size]";
- AddText(AddTxt);
- }
- }
- }
- function bold() {
- if (helpstat) {
- alert("加粗标记n使文本加粗.n用法: [b]这是加粗的文字[/b]");
- } else if (basic) {
- AddTxt="[b][/b]";
- AddText(AddTxt);
- } else {
- txt=prompt("文字将被变粗.","文字");
- if (txt!=null) {
- AddTxt="[b]"+txt;
- AddText(AddTxt);
- AddTxt="[/b]";
- AddText(AddTxt);
- }
- }
- }
- function italicize() {
- if (helpstat) {
- alert("斜体标记n使文本字体变为斜体.n用法: [i]这是斜体字[/i]");
- } else if (basic) {
- AddTxt="[i][/i]";
- AddText(AddTxt);
- } else {
- txt=prompt("文字将变斜体","文字");
- if (txt!=null) {
- AddTxt="[i]"+txt;
- AddText(AddTxt);
- AddTxt="[/i]";
- AddText(AddTxt);
- }
- }
- }
- function quote() {
- if (helpstat){
- alert("引用标记n引用一些文字.n用法: [quote]引用内容[/quote]");
- } else if (basic) {
- AddTxt="[quote][/quote]";
- AddText(AddTxt);
- } else {
- txt=prompt("被引用的文字","文字");
- if(txt!=null) {
- AddTxt="[quote]"+txt;
- AddText(AddTxt);
- AddTxt="[/quote]";
- AddText(AddTxt);
- }
- }
- }
- function showcolor(color) {
- if (helpstat) {
- alert("颜色标记n设置文本颜色. 任何颜色名都可以被使用.n用法: [color="+color+"]颜色要改变为"+color+"的文字[/color]");
- } else if (basic) {
- AddTxt="[color="+color+"][/color]";
- AddText(AddTxt);
- } else {
- txt=prompt("选择的颜色是: "+color,"文字");
- if(txt!=null) {
- AddTxt="[color="+color+"]"+txt;
- AddText(AddTxt);
- AddTxt="[/color]";
- AddText(AddTxt);
- }
- }
- }
- function center() {
- if (helpstat) {
- alert("对齐标记n使用这个标记, 可以使文本左对齐、居中、右对齐.n用法: [align=center|left|right]要对齐的文本[/align]");
- } else if (basic) {
- AddTxt="[align=center|left|right][/align]";
- AddText(AddTxt);
- } else {
- txt2=prompt("对齐样式n输入 'center' 表示居中, 'left' 表示左对齐, 'right' 表示右对齐.","center");
- while ((txt2!="") && (txt2!="center") && (txt2!="left") && (txt2!="right") && (txt2!=null)) {
- txt2=prompt("错误!n类型只能输入 'center' 、 'left' 或者 'right'.","");
- }
- txt=prompt("要对齐的文本","文本");
- if (txt!=null) {
- AddTxt="r[align="+txt2+"]"+txt;
- AddText(AddTxt);
- AddTxt="[/align]";
- AddText(AddTxt);
- }
- }
- }
- function hyperlink() {
- if (helpstat) {
- alert("超级链接标记n插入一个超级链接标记n使用方法: [url]http://www.aspsky.net[/url]nUSE: [url=http://www.aspsky.net]链接文字[/url]");
- } else if (basic) {
- AddTxt="[url][/url]";
- AddText(AddTxt);
- } else {
- txt2=prompt("链接文本显示.n如果不想使用, 可以为空, 将只显示超级链接地址. ","");
- if (txt2!=null) {
- txt=prompt("超级链接.","http://");
- if (txt!=null) {
- if (txt2=="") {
- AddTxt="[url]"+txt;
- AddText(AddTxt);
- AddTxt="[/url]";
- AddText(AddTxt);
- } else {
- AddTxt="[url="+txt+"]"+txt2;
- AddText(AddTxt);
- AddTxt="[/url]";
- AddText(AddTxt);
- }
- }
- }
- }
- }
- function image() {
- if (helpstat){
- alert("图片标记n插入图片n用法: [img]http://www.aspsky.net/logo.gif[/img]");
- } else if (basic) {
- AddTxt="[img][/img]";
- AddText(AddTxt);
- } else {
- txt=prompt("图片的 URL","http://");
- if(txt!=null) {
- AddTxt="r[img]"+txt;
- AddText(AddTxt);
- AddTxt="[/img]";
- AddText(AddTxt);
- }
- }
- }
- function showcode() {
- if (helpstat) {
- alert("代码标记n使用代码标记,可以使你的程序代码里面的 html 等标志不会被破坏.n使用方法:n [code]这里是代码文字[/code]");
- } else if (basic) {
- AddTxt="r[code]r[/code]";
- AddText(AddTxt);
- } else {
- txt=prompt("输入代码","");
- if (txt!=null) {
- AddTxt="r[code]"+txt;
- AddText(AddTxt);
- AddTxt="[/code]";
- AddText(AddTxt);
- }
- }
- }
- function list() {
- if (helpstat) {
- alert("列表标记n建造一个文字或则数字列表.nnUSE: [list] [*]项目一[/*] [*]项目二[/*] [*]项目三[/*] [/list]");
- } else if (basic) {
- AddTxt=" [list][*] [/*][*] [/*][*] [/*][/list]";
- AddText(AddTxt);
- } else {
- txt=prompt("列表类型n输入 'A' 表示有序列表, '1' 表示无序列表, 留空表示无序列表.","");
- while ((txt!="") && (txt!="A") && (txt!="a") && (txt!="1") && (txt!=null)) {
- txt=prompt("错误!n类型只能输入 'A' 、 '1' 或者留空.","");
- }
- if (txt!=null) {
- if (txt=="") {
- AddTxt="[list]";
- } else {
- AddTxt="[list="+txt+"]";
- }
- txt="1";
- while ((txt!="") && (txt!=null)) {
- txt=prompt("列表项n空白表示结束列表","");
- if (txt!="") {
- AddTxt+="[*]"+txt+"[/*]";
- }
- }
- AddTxt+="[/list] ";
- AddText(AddTxt);
- }
- }
- }
- function showfont(font) {
- if (helpstat){
- alert("字体标记n给文字设置字体.n用法: [face="+font+"]改变文字字体为"+font+"[/face]");
- } else if (basic) {
- AddTxt="[face="+font+"][/face]";
- AddText(AddTxt);
- } else {
- txt=prompt("要设置字体的文字"+font,"文字");
- if (txt!=null) {
- AddTxt="[face="+font+"]"+txt;
- AddText(AddTxt);
- AddTxt="[/face]";
- AddText(AddTxt);
- }
- }
- }
- function underline() {
- if (helpstat) {
- alert("下划线标记n给文字加下划线.n用法: [u]要加下划线的文字[/u]");
- } else if (basic) {
- AddTxt="[u][/u]";
- AddText(AddTxt);
- } else {
- txt=prompt("下划线文字.","文字");
- if (txt!=null) {
- AddTxt="[u]"+txt;
- AddText(AddTxt);
- AddTxt="[/u]";
- AddText(AddTxt);
- }
- }
- }
- function setfly() {
- if (helpstat){
- alert("飞翔标记n使文字飞行.n用法: [fly]文字为这样文字[/fly]");
- } else if (basic) {
- AddTxt="[fly][/fly]";
- AddText(AddTxt);
- } else {
- txt=prompt("飞翔文字","文字");
- if (txt!=null) {
- AddTxt="[fly]"+txt;
- AddText(AddTxt);
- AddTxt="[/fly]";
- AddText(AddTxt);
- }
- }
- }
- function move() {
- if (helpstat) {
- alert("移动标记n使文字产生移动效果.n用法: [move]要产生移动效果的文字[/move]");
- } else if (basic) {
- AddTxt="[move][/move]";
- AddText(AddTxt);
- } else {
- txt=prompt("要产生移动效果的文字","文字");
- if (txt!=null) {
- AddTxt="[move]"+txt;
- AddText(AddTxt);
- AddTxt="[/move]";
- AddText(AddTxt);
- }
- }
- }
- function shadow() {
- if (helpstat) {
- alert("阴影标记n使文字产生阴影效果.n用法: [shadow=宽度, 颜色, 边界]要产生阴影效果的文字[/shadow]");
- } else if (basic) {
- AddTxt="[shadow=255,blue,1][/shadow]";
- AddText(AddTxt);
- } else {
- txt2=prompt("文字的长度、颜色和边界大小","255,blue,1");
- if (txt2!=null) {
- txt=prompt("要产生阴影效果的文字","文字");
- if (txt!=null) {
- if (txt2=="") {
- AddTxt="[shadow=255, blue, 1]"+txt;
- AddText(AddTxt);
- AddTxt="[/shadow]";
- AddText(AddTxt);
- } else {
- AddTxt="[shadow="+txt2+"]"+txt;
- AddText(AddTxt);
- AddTxt="[/shadow]";
- AddText(AddTxt);
- }
- }
- }
- }
- }
- function glow() {
- if (helpstat) {
- alert("光晕标记n使文字产生光晕效果.n用法: [GLOW=宽度, 颜色, 边界]要产生光晕效果的文字[/GLOW]");
- } else if (basic) {
- AddTxt="[glow=255,red,2][/glow]";
- AddText(AddTxt);
- } else {
- txt2=prompt("文字的长度、颜色和边界大小","255,red,2");
- if (txt2!=null) {
- txt=prompt("要产生光晕效果的文字.","文字");
- if (txt!=null) {
- if (txt2=="") {
- AddTxt="[glow=255,red,2]"+txt;
- AddText(AddTxt);
- AddTxt="[/glow]";
- AddText(AddTxt);
- } else {
- AddTxt="[glow="+txt2+"]"+txt;
- AddText(AddTxt);
- AddTxt="[/glow]";
- AddText(AddTxt);
- }
- }
- }
- }
- }
- </SCRIPT>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <meta content="Microsoft FrontPage 4.0" name="GENERATOR">
- <meta content="FrontPage.Editor.Document" name="ProgId">
- <LINK href="img/news.css" type="text/css" rel="stylesheet">
- </HEAD>
- <body>
- <div id="pageerror" align="center" runat="server"></div>
- <div id="logindiv" align="center" runat="server">
- <center>
- <table cellSpacing="1" width="90%" border="0">
- <tr>
- <td>
- <p align="center">您还没有登陆,请先登录
- <form id="Form1" method="post" runat="server">
- <table cellSpacing="1" cellPadding="0" width="300" align="center" bgColor="#000000" border="0">
- <tr bgColor="#ffffff">
- <td>
- <table cellSpacing="1" cellPadding="1" width="100%" border="0">
- <tr>
- <td align="right" width="33%" height="30">用户名:
- </td>
- <td width="67%"><input id="user_idform" size="20" name="user_idfrom" runat="server">
- </td>
- </tr>
- <tr>
- <td align="right" width="33%" height="30">密 码:
- </td>
- <td width="67%"><input id="passwordform" type="password" size="20" name="passwordfrom" runat="server">
- </td>
- </tr>
- <tr>
- <td align="right" width="33%" height="30">记住密码:
- </td>
- <td width="67%"><asp:dropdownlist id="savepassword" runat="server">
- <asp:ListItem Value="0">不保存</asp:ListItem>
- <asp:ListItem Value="1">保存一天</asp:ListItem>
- <asp:ListItem Value="30">保存一个月</asp:ListItem>
- <asp:ListItem Value="99999">永久保存</asp:ListItem>
- </asp:dropdownlist></td>
- </tr>
- <tr>
- <td colSpan="2" height="15"></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align="middle" bgColor="#ffffff">
- <td height="31"><FONT color="blue"><</FONT><FONT color="blue"><B>
- <asp:button class="buttonface" id="Button6" onclick="login" runat="server" text="确定"></asp:button>
- <input class="buttonface" type="reset" value="重写" name="Submit2"></B></FONT>
- </td>
- </tr>
- </table>
- </form>
- <p align="center"></p>
- </td>
- </tr>
- </table>
- </center>
- </div>
- <div id="list" align="center" runat="server">
- <form id="frmannounce" name="frmAnnounce" method="post" encType="multipart/form-data" runat="server">
- <center>
- <div id="addwindows" runat="server">
- <table cellSpacing="0" cellPadding="0" width="80%" align="center" border="0">
- <tr>
- <td vAlign="center" align="left">你的位置:<br>
- <IMG src="images/system/closedfold.gif"> <A href="index.aspx"><asp:label id="bbsname" Runat="server"></asp:label></A><br>
- <IMG src="images/system/bar.gif"><IMG src="images/system/closedfold.gif"> <asp:label id="mainwhere" runat="server"></asp:label><br>
- <IMG src="images/system/bar.gif"><IMG src="images/system/openfold.gif"> 发表新文章</td>
- </tr>
- </table>
- <table borderColor="#225bb3" height="473" cellSpacing="0" cellPadding="0" width="80%" border="1">
- <tr>
- <td width="97%" bgColor="#225bb3" colSpan="2" height="30">
- <div align="left"><font color="#000000">
- <p><font color="#ffffff"><strong> *为必填项目 只有<A href="reg.aspx"><font color="#ffffff">注册用户</font></A>能发表贴子</strong></font>
- </font></P></div>
- </td>
- </tr>
- <tr bgColor="#ffffff">
- <td align="middle" width="14%" bgColor="#ffffff" height="23"><font color="#000000"><b>*主题标题</b></font>
- </td>
- <td width="83%" bgColor="#ffffff" height="23"><font color="#000000"><asp:textbox id="zhuti" runat="server" MaxLength="80"></asp:textbox> </font>
- </td>
- </tr>
- <tr>
- <td width="18%" bgColor="#ffffff" height="46">
- <p align="center"><b>编辑工具区</b>
- </p>
- </td>
- <td width="79%" bgColor="#ffffff" height="46"><font color="#000000"><IMG onclick="bold()" height="22" alt="粗体" src="img/icon_editor_bold.gif" width="22" border="0">
- <IMG onclick="italicize()" height="22" alt="斜体" src="img/icon_editor_italicize.gif" width="23" border="0">
- <IMG onclick="underline()" height="22" alt="下划线" src="img/icon_editor_underline.gif" width="23" border="0">
- <IMG onclick="center()" height="22" alt="居中" src="img/icon_editor_center.gif" width="22" border="0">
- <IMG onclick="hyperlink()" height="22" alt="超级连接" src="img/icon_editor_url.gif" width="22" border="0">
- <IMG onclick="email()" height="22" alt="Email连接" src="img/icon_editor_email.gif" width="23" border="0">
- <IMG onclick="image()" height="22" alt="图片" src="img/icon_editor_image.gif" width="23" border="0">
- <IMG onclick="flash()" height="22" alt="Flash图片" src="img/swf.gif" width="23" border="0">
- <IMG onclick="showcode()" height="22" alt="编号" src="img/icon_editor_code.gif" width="22" border="0">
- <IMG onclick="quote()" height="22" alt="引用" src="img/icon_editor_quote.gif" width="23" border="0">
- <IMG onclick="list()" height="22" alt="目录" src="img/icon_editor_list.gif" width="23" border="0">
- <IMG onclick="setfly()" height="22" alt="飞行字" src="img/fly.gif" width="23" border="0">
- <IMG onclick="move()" height="22" alt="移动字" src="img/move.gif" width="23" border="0">
- <IMG onclick="glow()" height="22" alt="发光字" src="img/glow.gif" width="23" border="0">
- <IMG onclick="shadow()" height="22" alt="阴影字" src="img/shadow.gif" width="23" border="0">
- <A href="JavaScript:popwin3('icon.asp')"></A>
- <br>
- 字体:
- <select onchange="showfont(this.options[this.selectedIndex].value)" name="font">
- <option value="宋体" selected>宋体</option>
- <option value="楷体_GB2312">楷体</option>
- <option value="新宋体">新宋体</option>
- <option value="黑体">黑体</option>
- <option value="隶书">隶书</option>
- <option value="Andale Mono">Andale Mono</option>
- <option value="Arial">Arial</option>
- <option value="Arial Black">Arial Black</option>
- <option value="Book Antiqua">Book Antiqua</option>
- <option value="Century Gothic">Century Gothic</option>
- <option value="Comic Sans MS">Comic Sans MS</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="Trebuchet MS">Trebuchet MS</option>
- <option value="Script MT Bold">Script MT Bold</option>
- <option value="Stencil">Stencil</option>
- <option value="Verdana">Verdana</option>
- <option value="Lucida Console">Lucida Console</option>
- </select> 字体大小<select onchange="showsize(this.options[this.selectedIndex].value)" name="size">
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3" selected>3</option>
- <option value="4">4</option>
- </select> <font face="宋体" color="#333333">颜色:</font>
- <select onchange="showcolor(this.options[this.selectedIndex].value)" name="color">
- <option style="COLOR: #f0f8ff; BACKGROUND-COLOR: #f0f8ff" value="#F0F8FF">#F0F8FF</option>
- <option style="COLOR: #faebd7; BACKGROUND-COLOR: #faebd7" value="#FAEBD7">#FAEBD7</option>
- <option style="COLOR: #00ffff; BACKGROUND-COLOR: #00ffff" value="#00FFFF">#00FFFF</option>
- <option style="COLOR: #7fffd4; BACKGROUND-COLOR: #7fffd4" value="#7FFFD4">#7FFFD4</option>
- <option style="COLOR: #f0ffff; BACKGROUND-COLOR: #f0ffff" value="#F0FFFF">#F0FFFF</option>
- <option style="COLOR: #f5f5dc; BACKGROUND-COLOR: #f5f5dc" value="#F5F5DC">#F5F5DC</option>
- <option style="COLOR: #ffe4c4; BACKGROUND-COLOR: #ffe4c4" value="#FFE4C4">#FFE4C4</option>
- <option style="COLOR: #000000; BACKGROUND-COLOR: #000000" value="#000000">#000000</option>
- <option style="COLOR: #ffebcd; BACKGROUND-COLOR: #ffebcd" value="#FFEBCD">#FFEBCD</option>
- <option style="COLOR: #0000ff; BACKGROUND-COLOR: #0000ff" value="#0000FF">#0000FF</option>
- <option style="COLOR: #8a2be2; BACKGROUND-COLOR: #8a2be2" value="#8A2BE2">#8A2BE2</option>
- <option style="COLOR: #a52a2a; BACKGROUND-COLOR: #a52a2a" value="#A52A2A">#A52A2A</option>
- <option style="COLOR: #deb887; BACKGROUND-COLOR: #deb887" value="#DEB887">#DEB887</option>
- <option style="COLOR: #5f9ea0; BACKGROUND-COLOR: #5f9ea0" value="#5F9EA0">#5F9EA0</option>
- <option style="COLOR: #7fff00; BACKGROUND-COLOR: #7fff00" value="#7FFF00">#7FFF00</option>
- <option style="COLOR: #d2691e; BACKGROUND-COLOR: #d2691e" value="#D2691E">#D2691E</option>
- <option style="COLOR: #ff7f50; BACKGROUND-COLOR: #ff7f50" value="#FF7F50">#FF7F50</option>
- <option style="COLOR: #6495ed; BACKGROUND-COLOR: #6495ed" value="#6495ED" selected>#6495ED</option>
- <option style="COLOR: #fff8dc; BACKGROUND-COLOR: #fff8dc" value="#FFF8DC">#FFF8DC</option>
- <option style="COLOR: #dc143c; BACKGROUND-COLOR: #dc143c" value="#DC143C">#DC143C</option>
- <option style="COLOR: #00ffff; BACKGROUND-COLOR: #00ffff" value="#00FFFF">#00FFFF</option>
- <option style="COLOR: #00008b; BACKGROUND-COLOR: #00008b" value="#00008B">#00008B</option>
- <option style="COLOR: #008b8b; BACKGROUND-COLOR: #008b8b" value="#008B8B">#008B8B</option>
- <option style="COLOR: #b8860b; BACKGROUND-COLOR: #b8860b" value="#B8860B">#B8860B</option>
- <option style="COLOR: #a9a9a9; BACKGROUND-COLOR: #a9a9a9" value="#A9A9A9">#A9A9A9</option>
- <option style="COLOR: #006400; BACKGROUND-COLOR: #006400" value="#006400">#006400</option>
- <option style="COLOR: #bdb76b; BACKGROUND-COLOR: #bdb76b" value="#BDB76B">#BDB76B</option>
- <option style="COLOR: #8b008b; BACKGROUND-COLOR: #8b008b" value="#8B008B">#8B008B</option>
- <option style="COLOR: #556b2f; BACKGROUND-COLOR: #556b2f" value="#556B2F">#556B2F</option>
- <option style="COLOR: #ff8c00; BACKGROUND-COLOR: #ff8c00" value="#FF8C00">#FF8C00</option>
- <option style="COLOR: #9932cc; BACKGROUND-COLOR: #9932cc" value="#9932CC">#9932CC</option>
- <option style="COLOR: #8b0000; BACKGROUND-COLOR: #8b0000" value="#8B0000">#8B0000</option>
- <option style="COLOR: #e9967a; BACKGROUND-COLOR: #e9967a" value="#E9967A">#E9967A</option>
- <option style="COLOR: #8fbc8f; BACKGROUND-COLOR: #8fbc8f" value="#8FBC8F">#8FBC8F</option>
- <option style="COLOR: #483d8b; BACKGROUND-COLOR: #483d8b" value="#483D8B">#483D8B</option>
- <option style="COLOR: #2f4f4f; BACKGROUND-COLOR: #2f4f4f" value="#2F4F4F">#2F4F4F</option>
- <option style="COLOR: #00ced1; BACKGROUND-COLOR: #00ced1" value="#00CED1">#00CED1</option>
- <option style="COLOR: #9400d3; BACKGROUND-COLOR: #9400d3" value="#9400D3">#9400D3</option>
- <option style="COLOR: #ff1493; BACKGROUND-COLOR: #ff1493" value="#FF1493">#FF1493</option>
- <option style="COLOR: #00bfff; BACKGROUND-COLOR: #00bfff" value="#00BFFF">#00BFFF</option>
- <option style="COLOR: #696969; BACKGROUND-COLOR: #696969" value="#696969">#696969</option>
- <option style="COLOR: #1e90ff; BACKGROUND-COLOR: #1e90ff" value="#1E90FF">#1E90FF</option>
- <option style="COLOR: #b22222; BACKGROUND-COLOR: #b22222" value="#B22222">#B22222</option>
- <option style="COLOR: #fffaf0; BACKGROUND-COLOR: #fffaf0" value="#FFFAF0">#FFFAF0</option>
- <option style="COLOR: #228b22; BACKGROUND-COLOR: #228b22" value="#228B22">#228B22</option>
- <option style="COLOR: #ff00ff; BACKGROUND-COLOR: #ff00ff" value="#FF00FF">#FF00FF</option>
- <option style="COLOR: #dcdcdc; BACKGROUND-COLOR: #dcdcdc" value="#DCDCDC">#DCDCDC</option>
- <option style="COLOR: #f8f8ff; BACKGROUND-COLOR: #f8f8ff" value="#F8F8FF">#F8F8FF</option>
- <option style="COLOR: #ffd700; BACKGROUND-COLOR: #ffd700" value="#FFD700">#FFD700</option>
- <option style="COLOR: #daa520; BACKGROUND-COLOR: #daa520" value="#DAA520">#DAA520</option>
- <option style="COLOR: #808080; BACKGROUND-COLOR: #808080" value="#808080">#808080</option>
- <option style="COLOR: #008000; BACKGROUND-COLOR: #008000" value="#008000">#008000</option>
- <option style="COLOR: #adff2f; BACKGROUND-COLOR: #adff2f" value="#ADFF2F">#ADFF2F</option>
- <option style="COLOR: #f0fff0; BACKGROUND-COLOR: #f0fff0" value="#F0FFF0">#F0FFF0</option>
- <option style="COLOR: #ff69b4; BACKGROUND-COLOR: #ff69b4" value="#FF69B4">#FF69B4</option>
- <option style="COLOR: #cd5c5c; BACKGROUND-COLOR: #cd5c5c" value="#CD5C5C">#CD5C5C</option>
- <option style="COLOR: #4b0082; BACKGROUND-COLOR: #4b0082" value="#4B0082">#4B0082</option>
- <option style="COLOR: #fffff0; BACKGROUND-COLOR: #fffff0" value="#FFFFF0">#FFFFF0</option>
- <option style="COLOR: #f0e68c; BACKGROUND-COLOR: #f0e68c" value="#F0E68C">#F0E68C</option>
- <option style="COLOR: #e6e6fa; BACKGROUND-COLOR: #e6e6fa" value="#E6E6FA">#E6E6FA</option>
- <option style="COLOR: #fff0f5; BACKGROUND-COLOR: #fff0f5" value="#FFF0F5">#FFF0F5</option>
- <option style="COLOR: #7cfc00; BACKGROUND-COLOR: #7cfc00" value="#7CFC00">#7CFC00</option>
- <option style="COLOR: #fffacd; BACKGROUND-COLOR: #fffacd" value="#FFFACD">#FFFACD</option>
- <option style="COLOR: #add8e6; BACKGROUND-COLOR: #add8e6" value="#ADD8E6">#ADD8E6</option>
- <option style="COLOR: #f08080; BACKGROUND-COLOR: #f08080" value="#F08080">#F08080</option>
- <option style="COLOR: #e0ffff; BACKGROUND-COLOR: #e0ffff" value="#E0FFFF">#E0FFFF</option>
- <option style="COLOR: #fafad2; BACKGROUND-COLOR: #fafad2" value="#FAFAD2">#FAFAD2</option>
- <option style="COLOR: #90ee90; BACKGROUND-COLOR: #90ee90" value="#90EE90">#90EE90</option>
- <option style="COLOR: #d3d3d3; BACKGROUND-COLOR: #d3d3d3" value="#D3D3D3">#D3D3D3</option>
- <option style="COLOR: #ffb6c1; BACKGROUND-COLOR: #ffb6c1" value="#FFB6C1">#FFB6C1</option>
- <option style="COLOR: #ffa07a; BACKGROUND-COLOR: #ffa07a" value="#FFA07A">#FFA07A</option>
- <option style="COLOR: #20b2aa; BACKGROUND-COLOR: #20b2aa" value="#20B2AA">#20B2AA</option>
- <option style="COLOR: #87cefa; BACKGROUND-COLOR: #87cefa" value="#87CEFA">#87CEFA</option>
- <option style="COLOR: #778899; BACKGROUND-COLOR: #778899" value="#778899">#778899</option>
- <option style="COLOR: #b0c4de; BACKGROUND-COLOR: #b0c4de" value="#B0C4DE">#B0C4DE</option>
- <option style="COLOR: #ffffe0; BACKGROUND-COLOR: #ffffe0" value="#FFFFE0">#FFFFE0</option>
- <option style="COLOR: #00ff00; BACKGROUND-COLOR: #00ff00" value="#00FF00">#00FF00</option>
- <option style="COLOR: #32cd32; BACKGROUND-COLOR: #32cd32" value="#32CD32">#32CD32</option>
- <option style="COLOR: #faf0e6; BACKGROUND-COLOR: #faf0e6" value="#FAF0E6">#FAF0E6</option>
- <option style="COLOR: #ff00ff; BACKGROUND-COLOR: #ff00ff" value="#FF00FF">#FF00FF</option>
- <option style="COLOR: #800000; BACKGROUND-COLOR: #800000" value="#800000">#800000</option>
- <option style="COLOR: #66cdaa; BACKGROUND-COLOR: #66cdaa" value="#66CDAA">#66CDAA</option>
- <option style="COLOR: #0000cd; BACKGROUND-COLOR: #0000cd" value="#0000CD">#0000CD</option>
- <option style="COLOR: #ba55d3; BACKGROUND-COLOR: #ba55d3" value="#BA55D3">#BA55D3</option>
- <option style="COLOR: #9370db; BACKGROUND-COLOR: #9370db" value="#9370DB">#9370DB</option>
- <option style="COLOR: #3cb371; BACKGROUND-COLOR: #3cb371" value="#3CB371">#3CB371</option>
- <option style="COLOR: #7b68ee; BACKGROUND-COLOR: #7b68ee" value="#7B68EE">#7B68EE</option>
- <option style="COLOR: #00fa9a; BACKGROUND-COLOR: #00fa9a" value="#00FA9A">#00FA9A</option>
- <option style="COLOR: #48d1cc; BACKGROUND-COLOR: #48d1cc" value="#48D1CC">#48D1CC</option>
- <option style="COLOR: #c71585; BACKGROUND-COLOR: #c71585" value="#C71585">#C71585</option>
- <option style="COLOR: #191970; BACKGROUND-COLOR: #191970" value="#191970">#191970</option>
- <option style="COLOR: #f5fffa; BACKGROUND-COLOR: #f5fffa" value="#F5FFFA">#F5FFFA</option>
- <option style="COLOR: #ffe4e1; BACKGROUND-COLOR: #ffe4e1" value="#FFE4E1">#FFE4E1</option>
- <option style="COLOR: #ffe4b5; BACKGROUND-COLOR: #ffe4b5" value="#FFE4B5">#FFE4B5</option>
- <option style="COLOR: #ffdead; BACKGROUND-COLOR: #ffdead" value="#FFDEAD">#FFDEAD</option>
- <option style="COLOR: #000080; BACKGROUND-COLOR: #000080" value="#000080">#000080</option>
- <option style="COLOR: #fdf5e6; BACKGROUND-COLOR: #fdf5e6" value="#FDF5E6">#FDF5E6</option>
- <option style="COLOR: #808000; BACKGROUND-COLOR: #808000" value="#808000">#808000</option>
- <option style="COLOR: #6b8e23; BACKGROUND-COLOR: #6b8e23" value="#6B8E23">#6B8E23</option>
- <option style="COLOR: #ffa500; BACKGROUND-COLOR: #ffa500" value="#FFA500">#FFA500</option>
- <option style="COLOR: #ff4500; BACKGROUND-COLOR: #ff4500" value="#FF4500">#FF4500</option>
- <option style="COLOR: #da70d6; BACKGROUND-COLOR: #da70d6" value="#DA70D6">#DA70D6</option>
- <option style="COLOR: #eee8aa; BACKGROUND-COLOR: #eee8aa" value="#EEE8AA">#EEE8AA</option>
- <option style="COLOR: #98fb98; BACKGROUND-COLOR: #98fb98" value="#98FB98">#98FB98</option>
- <option style="COLOR: #afeeee; BACKGROUND-COLOR: #afeeee" value="#AFEEEE">#AFEEEE</option>
- <option style="COLOR: #db7093; BACKGROUND-COLOR: #db7093" value="#DB7093">#DB7093</option>
- <option style="COLOR: #ffefd5; BACKGROUND-COLOR: #ffefd5" value="#FFEFD5">#FFEFD5</option>
- <option style="COLOR: #ffdab9; BACKGROUND-COLOR: #ffdab9" value="#FFDAB9">#FFDAB9</option>
- <option style="COLOR: #cd853f; BACKGROUND-COLOR: #cd853f" value="#CD853F">#CD853F</option>
- <option style="COLOR: #ffc0cb; BACKGROUND-COLOR: #ffc0cb" value="#FFC0CB">#FFC0CB</option>
- <option style="COLOR: #dda0dd; BACKGROUND-COLOR: #dda0dd" value="#DDA0DD">#DDA0DD</option>
- <option style="COLOR: #b0e0e6; BACKGROUND-COLOR: #b0e0e6" value="#B0E0E6">#B0E0E6</option>
- <option style="COLOR: #800080; BACKGROUND-COLOR: #800080" value="#800080">#800080</option>
- <option style="COLOR: #ff0000; BACKGROUND-COLOR: #ff0000" value="#FF0000">#FF0000</option>
- <option style="COLOR: #bc8f8f; BACKGROUND-COLOR: #bc8f8f" value="#BC8F8F">#BC8F8F</option>
- <option style="COLOR: #4169e1; BACKGROUND-COLOR: #4169e1" value="#4169E1">#4169E1</option>
- <option style="COLOR: #8b4513; BACKGROUND-COLOR: #8b4513" value="#8B4513">#8B4513</option>
- <option style="COLOR: #fa8072; BACKGROUND-COLOR: #fa8072" value="#FA8072">#FA8072</option>
- <option style="COLOR: #f4a460; BACKGROUND-COLOR: #f4a460" value="#F4A460">#F4A460</option>
- <option style="COLOR: #2e8b57; BACKGROUND-COLOR: #2e8b57" value="#2E8B57">#2E8B57</option>
- <option style="COLOR: #fff5ee; BACKGROUND-COLOR: #fff5ee" value="#FFF5EE">#FFF5EE</option>
- <option style="COLOR: #a0522d; BACKGROUND-COLOR: #a0522d" value="#A0522D">#A0522D</option>
- <option style="COLOR: #c0c0c0; BACKGROUND-COLOR: #c0c0c0" value="#C0C0C0">#C0C0C0</option>
- <option style="COLOR: #87ceeb; BACKGROUND-COLOR: #87ceeb" value="#87CEEB">#87CEEB</option>
- <option style="COLOR: #6a5acd; BACKGROUND-COLOR: #6a5acd" value="#6A5ACD">#6A5ACD</option>
- <option style="COLOR: #708090; BACKGROUND-COLOR: #708090" value="#708090">#708090</option>
- <option style="COLOR: #fffafa; BACKGROUND-COLOR: #fffafa" value="#FFFAFA">#FFFAFA</option>
- <option style="COLOR: #00ff7f; BACKGROUND-COLOR: #00ff7f" value="#00FF7F">#00FF7F</option>
- <option style="COLOR: #4682b4; BACKGROUND-COLOR: #4682b4" value="#4682B4">#4682B4</option>
- <option style="COLOR: #d2b48c; BACKGROUND-COLOR: #d2b48c" value="#D2B48C">#D2B48C</option>
- <option style="COLOR: #008080; BACKGROUND-COLOR: #008080" value="#008080">#008080</option>
- <option style="COLOR: #d8bfd8; BACKGROUND-COLOR: #d8bfd8" value="#D8BFD8">#D8BFD8</option>
- <option style="COLOR: #ff6347; BACKGROUND-COLOR: #ff6347" value="#FF6347">#FF6347</option>
- <option style="COLOR: #40e0d0; BACKGROUND-COLOR: #40e0d0" value="#40E0D0">#40E0D0</option>
- <option style="COLOR: #ee82ee; BACKGROUND-COLOR: #ee82ee" value="#EE82EE">#EE82EE</option>
- <option style="COLOR: #f5deb3; BACKGROUND-COLOR: #f5deb3" value="#F5DEB3">#F5DEB3</option>
- <option style="COLOR: #ffffff; BACKGROUND-COLOR: #ffffff" value="#FFFFFF">#FFFFFF</option>
- <option style="COLOR: #f5f5f5; BACKGROUND-COLOR: #f5f5f5" value="#F5F5F5">#F5F5F5</option>
- <option style="COLOR: #ffff00; BACKGROUND-COLOR: #ffff00" value="#FFFF00">#FFFF00</option>
- <option style="COLOR: #9acd32; BACKGROUND-COLOR: #9acd32" value="#9ACD32">#9ACD32</option>
- </select></font>
- </td>
- </tr>
- <tr>
- <td width="18%" bgColor="#ffffff" height="46">
- <p align="center"><b>表情</b>
- </p>
- </td>
- <td><asp:radiobuttonlist id="bqselect" runat="server" RepeatDirection="Horizontal" RepeatColumns="10">
- <asp:ListItem Value="1" Selected>
- <IMG alt="微笑" src="images/emotion/1.gif"></asp:ListItem>
- <asp:ListItem Value="2">
- <IMG alt="无聊哦" src="images/emotion/2.gif"></asp:ListItem>
- <asp:ListItem Value="3">
- <IMG alt="委屈" src="images/emotion/3.gif"></asp:ListItem>
- <asp:ListItem Value="4">
- <IMG alt="顽皮" src="images/emotion/4.gif"></asp:ListItem>
- <asp:ListItem Value="5">
- <IMG alt="表情扭曲" src="images/emotion/5.gif"></asp:ListItem>
- <asp:ListItem Value="6">
- <IMG alt="发傻" src="images/emotion/6.gif"></asp:ListItem>
- <asp:ListItem Value="7">
- <IMG alt="靠!I 服了 YOU" src="images/emotion/7.gif"></asp:ListItem>
- <asp:ListItem Value="8">
- <IMG alt="撅嘴" src="images/emotion/8.gif"></asp:ListItem>
- <asp:ListItem Value="9">
- <IMG alt="没事偷着乐" src="images/emotion/9.gif"></asp:ListItem>
- <asp:ListItem Value="15">
- <IMG alt="原创" src="images/emotion/15.gif"></asp:ListItem>
- <asp:ListItem Value="10">
- <IMG alt="斜视" src="images/emotion/10.gif"></asp:ListItem>
- <asp:ListItem Value="11">
- <IMG alt="为难" src="images/emotion/11.gif"></asp:ListItem>
- <asp:ListItem Value="12">
- <IMG alt="生气!" src="images/emotion/12.gif"></asp:ListItem>
- <asp:ListItem Value="13">
- <IMG alt="小吃一惊" src="images/emotion/13.gif"></asp:ListItem>
- <asp:ListItem Value="14">
- <IMG alt="不好意思的笑" src="images/emotion/14.gif"></asp:ListItem>
- <asp:ListItem Value="17">
- <IMG alt="狂吼" src="images/emotion/17.gif"></asp:ListItem>
- <asp:ListItem Value="18">
- <IMG alt="嘻嘻" src="images/emotion/18.gif"></asp:ListItem>
- <asp:ListItem Value="19">
- <IMG alt="痛苦的哭了" src="images/emotion/19.gif"></asp:ListItem>
- <asp:ListItem Value="20">
- <IMG alt="帅呆了" src="images/emotion/20.gif"></asp:ListItem>
- <asp:ListItem Value="16">
- <IMG alt="转贴" src="images/emotion/16.gif"></asp:ListItem>
- </asp:radiobuttonlist></td>
- <tr>
- <td width="97%" bgColor="#ffffff" colSpan="2" height="250">
- <p align="center"><font color="#000000"><asp:textbox id="nr" title="可以使用Ctrl+Enter直接提交贴子" runat="server" Height="200" Width="400" TextMode="MultiLine"></asp:textbox></font></p>
- </td>
- </tr>
- <div id="listupload1" runat="server"></div>
- <tr bgColor="#ffffff">
- <td width="100%" bgColor="#ecf2ff" colSpan="2" height="23"><asp:checkbox id="autoadd" runat="server" Checked="True"></asp:checkbox>把上载的图片加到文章尾
- 图片
- <asp:textbox id="fj" runat="server" Width="350" Enabled="False"></asp:textbox><asp:button id="Button5" style="BACKGROUND-COLOR: #ffffff" onclick="displayfj" runat="server" Text="上载图片"></asp:button></td>
- </tr>
- <DIV></DIV>
- <tr>
- <td vAlign="center" width="97%" bgColor="#225bb3" colSpan="2" height="25">
- <p align="center"><font color="#000000"><asp:button id="Button2" style="BACKGROUND-COLOR: #ffffff" onclick="add" runat="server" Text="发贴"></asp:button><font color="#ffffff"><asp:checkbox id="isemail" runat="server" Text="有人回复以e_mail通知我"></asp:checkbox></font><input style="BACKGROUND-COLOR: #ffffff" type="reset" value="清 除" name="Clear">
- </font>
- <asp:requiredfieldvalidator id="testzhuti" runat="server" ControlToValidate="zhuti">
- 主题请务必填写</asp:requiredfieldvalidator></p>
- </td>
- </tr>
- <div id="listupload2" runat="server"></div>
- <tr>
- <td colSpan="2">
- <div id="displayfjlink" runat="server">您没有上载图片
- </div>
- </td>
- </tr>
- <DIV></DIV>
- <DIV></DIV>
- </table>
- </div>
- <div id="fjwindows" runat="server">
- <table height="175" cellSpacing="2" width="700" border="0">
- <tr>
- <td height="2">
- <table border="0">
- <tr>
- <td width="779" colSpan="2" height="13"><font class="chinese" color="#000000">1、点“<font color="#cc3366">Browser</font>”按钮,找到您所要粘贴的附件文件:</font>
- </td>
- </tr>
- <tr>
- <td colSpan="2" height="25"><input id="upload_file" type="file" size="20" name="upload_file" runat="server">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="16%">
- <table border="0">
- <tr>
- <td width="511"><font class="chinese" color="#000000">2、选定一个文件后,点“<font color="#cc3366">粘贴</font>”按钮,将该文件贴到邮件上:</font>
- </td>
- <td width="264"><asp:button id="Button1" onclick="upload" runat="server" Text="粘贴"></asp:button></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="16%"><font class="chinese" color="#000000">3、如有多个附件文件要粘贴,重复1、2步骤;</font>
- </td>
- </tr>
- <tr>
- <td width="16%">
- <table border="0">
- <tr>
- <td width="511"><font class="chinese" color="#000000">4、所有的附件粘贴完毕后,点“<font color="#cc3366">完成</font>”按钮返回。</font>
- </td>
- <td width="265"><asp:button id="Button3" onclick="displayadd" runat="server" Text="完成"></asp:button></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table height="27" cellSpacing="2" width="700" border="0">
- <tr>
- <td width="515"><asp:dropdownlist id="removefile" runat="server" OnSelectedIndexChanged="selectpic" AutoPostBack="True">
- <asp:ListItem Value="nodelete">选择下面的附件:</asp:ListItem>
- </asp:dropdownlist></td>
- <td><asp:button id="Button4" onclick="remove" runat="server" Text="删除"></asp:button></td>
- </tr>
- </table>
- <table height="40" cellSpacing="2" width="701" border="0">
- <tr>
- <td>
- <table width="640" border="0">
- <tr>
- <td width="200"><font class="chinese" color="#000000">现在附件文件总量为:</font>
- </td>
- <td width="430"><strong><font color="#804040">
- <div id="photosize" runat="server">
- 0.0K
- </div>
- </font></strong>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <div runat="server" id="displayupload">
- </div>
- </div>
- <div align="center" runat="server" id="wc">
- </div>
- <input type="hidden" id="totlephotosize" value="0" runat="server" NAME="totlephotosize">
- </form>
- </div>
- </CENTER>
- </body>
- </HTML>