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

.net编程

开发平台:

C#

  1. <%@ Page Inherits="huang.newtopic" Language="C#" src="cs/huang.cs" %>
  2. <HTML>
  3. <HEAD>
  4. <title>发贴</title>
  5. <SCRIPT language="JavaScript">
  6. helpstat = false;
  7. stprompt = true;
  8. basic = false;
  9. function thelp(swtch){
  10. if (swtch == 1){
  11. basic = false;
  12. stprompt = false;
  13. helpstat = true;
  14. } else if (swtch == 0) {
  15. helpstat = false;
  16. stprompt = false;
  17. basic = true;
  18. } else if (swtch == 2) {
  19. helpstat = false;
  20. basic = false;
  21. stprompt = true;
  22. }
  23. }
  24. function AddText(NewCode) {
  25. document.frmannounce.nr.value+=NewCode
  26. }
  27. function email() {
  28. if (helpstat) {
  29. alert("Email 标记n插入 Email 超级链接n用法1: [email]webmaster@aspsky.net[/email]n用法2: [email=webmaster@aspsky.net]沙滩小子[/email]");
  30. } else if (basic) {
  31. AddTxt="[email][/email]";
  32. AddText(AddTxt);
  33. } else { 
  34. txt2=prompt("链接显示的文字.n如果为空,那么将只显示你的 Email 地址",""); 
  35. if (txt2!=null) {
  36. txt=prompt("Email 地址.","name@domain.com");      
  37. if (txt!=null) {
  38. if (txt2=="") {
  39. AddTxt="[email]"+txt+"[/email]";
  40. } else {
  41. AddTxt="[email="+txt+"]"+txt2;
  42. AddText(AddTxt);
  43. AddTxt="[/email]";
  44. AddText(AddTxt);         
  45. }
  46. }
  47. }
  48. }
  49. function flash() {
  50.   if (helpstat){
  51. alert("Flash 动画n插入 Flash 动画.n用法: [flash]Flash 文件的地址[/flash]");
  52. } else if (basic) {
  53. AddTxt="[flash][/flash]";
  54. AddText(AddTxt);
  55. } else {                  
  56. txt=prompt("Flash 文件的地址","http://");
  57. if (txt!=null) {             
  58. AddTxt="[flash]"+txt;
  59. AddText(AddTxt);
  60. AddTxt="[/flash]";
  61. AddText(AddTxt);
  62. }        
  63. }  
  64. }
  65. function showsize(size) {
  66. if (helpstat) {
  67. alert("文字大小标记n设置文字大小.n可变范围 1 - 6.n 1 为最小 6 为最大.n用法: [size="+size+"]这是 "+size+" 文字[/size]");
  68. } else if (basic) {
  69. AddTxt="[size="+size+"][/size]";
  70. AddText(AddTxt);
  71. } else {                       
  72. txt=prompt("大小 "+size,"文字"); 
  73. if (txt!=null) {             
  74. AddTxt="[size="+size+"]"+txt;
  75. AddText(AddTxt);
  76. AddTxt="[/size]";
  77. AddText(AddTxt);
  78. }        
  79. }
  80. }
  81. function bold() {
  82. if (helpstat) {
  83. alert("加粗标记n使文本加粗.n用法: [b]这是加粗的文字[/b]");
  84. } else if (basic) {
  85. AddTxt="[b][/b]";
  86. AddText(AddTxt);
  87. } else {  
  88. txt=prompt("文字将被变粗.","文字");     
  89. if (txt!=null) {           
  90. AddTxt="[b]"+txt;
  91. AddText(AddTxt);
  92. AddTxt="[/b]";
  93. AddText(AddTxt);
  94. }       
  95. }
  96. }
  97. function italicize() {
  98. if (helpstat) {
  99. alert("斜体标记n使文本字体变为斜体.n用法: [i]这是斜体字[/i]");
  100. } else if (basic) {
  101. AddTxt="[i][/i]";
  102. AddText(AddTxt);
  103. } else {   
  104. txt=prompt("文字将变斜体","文字");     
  105. if (txt!=null) {           
  106. AddTxt="[i]"+txt;
  107. AddText(AddTxt);
  108. AddTxt="[/i]";
  109. AddText(AddTxt);
  110. }         
  111. }
  112. }
  113. function quote() {
  114. if (helpstat){
  115. alert("引用标记n引用一些文字.n用法: [quote]引用内容[/quote]");
  116. } else if (basic) {
  117. AddTxt="[quote][/quote]";
  118. AddText(AddTxt);
  119. } else {   
  120. txt=prompt("被引用的文字","文字");     
  121. if(txt!=null) {          
  122. AddTxt="[quote]"+txt;
  123. AddText(AddTxt);
  124. AddTxt="[/quote]";
  125. AddText(AddTxt);
  126. }         
  127. }
  128. }
  129. function showcolor(color) {
  130. if (helpstat) {
  131. alert("颜色标记n设置文本颜色.  任何颜色名都可以被使用.n用法: [color="+color+"]颜色要改变为"+color+"的文字[/color]");
  132. } else if (basic) {
  133. AddTxt="[color="+color+"][/color]";
  134. AddText(AddTxt);
  135. } else {  
  136.       txt=prompt("选择的颜色是: "+color,"文字");
  137. if(txt!=null) {
  138. AddTxt="[color="+color+"]"+txt;
  139. AddText(AddTxt);        
  140. AddTxt="[/color]";
  141. AddText(AddTxt);
  142. }
  143. }
  144. function center() {
  145.   if (helpstat) {
  146. alert("对齐标记n使用这个标记, 可以使文本左对齐、居中、右对齐.n用法: [align=center|left|right]要对齐的文本[/align]");
  147. } else if (basic) {
  148. AddTxt="[align=center|left|right][/align]";
  149. AddText(AddTxt);
  150. } else {  
  151. txt2=prompt("对齐样式n输入 'center' 表示居中, 'left' 表示左对齐, 'right' 表示右对齐.","center");               
  152. while ((txt2!="") && (txt2!="center") && (txt2!="left") && (txt2!="right") && (txt2!=null)) {
  153. txt2=prompt("错误!n类型只能输入 'center' 、 'left' 或者 'right'.","");               
  154. }
  155. txt=prompt("要对齐的文本","文本");     
  156. if (txt!=null) {          
  157. AddTxt="r[align="+txt2+"]"+txt;
  158. AddText(AddTxt);
  159. AddTxt="[/align]";
  160. AddText(AddTxt);
  161. }        
  162. }
  163. }
  164. function hyperlink() {
  165. if (helpstat) {
  166. alert("超级链接标记n插入一个超级链接标记n使用方法: [url]http://www.aspsky.net[/url]nUSE: [url=http://www.aspsky.net]链接文字[/url]");
  167. } else if (basic) {
  168. AddTxt="[url][/url]";
  169. AddText(AddTxt);
  170. } else { 
  171. txt2=prompt("链接文本显示.n如果不想使用, 可以为空, 将只显示超级链接地址. ",""); 
  172. if (txt2!=null) {
  173. txt=prompt("超级链接.","http://");      
  174. if (txt!=null) {
  175. if (txt2=="") {
  176. AddTxt="[url]"+txt;
  177. AddText(AddTxt);
  178. AddTxt="[/url]";
  179. AddText(AddTxt);
  180. } else {
  181. AddTxt="[url="+txt+"]"+txt2;
  182. AddText(AddTxt);
  183. AddTxt="[/url]";
  184. AddText(AddTxt);
  185. }         
  186. }
  187. }
  188. }
  189. function image() {
  190. if (helpstat){
  191. alert("图片标记n插入图片n用法: [img]http://www.aspsky.net/logo.gif[/img]");
  192. } else if (basic) {
  193. AddTxt="[img][/img]";
  194. AddText(AddTxt);
  195. } else {  
  196. txt=prompt("图片的 URL","http://");    
  197. if(txt!=null) {            
  198. AddTxt="r[img]"+txt;
  199. AddText(AddTxt);
  200. AddTxt="[/img]";
  201. AddText(AddTxt);
  202. }
  203. }
  204. }
  205. function showcode() {
  206. if (helpstat) {
  207. alert("代码标记n使用代码标记,可以使你的程序代码里面的 html 等标志不会被破坏.n使用方法:n [code]这里是代码文字[/code]");
  208. } else if (basic) {
  209. AddTxt="r[code]r[/code]";
  210. AddText(AddTxt);
  211. } else {   
  212. txt=prompt("输入代码","");     
  213. if (txt!=null) {          
  214. AddTxt="r[code]"+txt;
  215. AddText(AddTxt);
  216. AddTxt="[/code]";
  217. AddText(AddTxt);
  218. }        
  219. }
  220. }
  221. function list() {
  222. if (helpstat) {
  223. alert("列表标记n建造一个文字或则数字列表.nnUSE: [list] [*]项目一[/*] [*]项目二[/*] [*]项目三[/*] [/list]");
  224. } else if (basic) {
  225. AddTxt=" [list][*]  [/*][*]  [/*][*]  [/*][/list]";
  226. AddText(AddTxt);
  227. } else {  
  228. txt=prompt("列表类型n输入 'A' 表示有序列表, '1' 表示无序列表, 留空表示无序列表.","");               
  229. while ((txt!="") && (txt!="A") && (txt!="a") && (txt!="1") && (txt!=null)) {
  230. txt=prompt("错误!n类型只能输入 'A' 、 '1' 或者留空.","");               
  231. }
  232. if (txt!=null) {
  233. if (txt=="") {
  234. AddTxt="[list]";
  235. } else {
  236. AddTxt="[list="+txt+"]";
  237. txt="1";
  238. while ((txt!="") && (txt!=null)) {
  239. txt=prompt("列表项n空白表示结束列表",""); 
  240. if (txt!="") {             
  241. AddTxt+="[*]"+txt+"[/*]"; 
  242. }                   
  243. AddTxt+="[/list] ";
  244. AddText(AddTxt); 
  245. }
  246. }
  247. }
  248. function showfont(font) {
  249.   if (helpstat){
  250. alert("字体标记n给文字设置字体.n用法: [face="+font+"]改变文字字体为"+font+"[/face]");
  251. } else if (basic) {
  252. AddTxt="[face="+font+"][/face]";
  253. AddText(AddTxt);
  254. } else {                  
  255. txt=prompt("要设置字体的文字"+font,"文字");
  256. if (txt!=null) {             
  257. AddTxt="[face="+font+"]"+txt;
  258. AddText(AddTxt);
  259. AddTxt="[/face]";
  260. AddText(AddTxt);
  261. }        
  262. }  
  263. }
  264. function underline() {
  265.    if (helpstat) {
  266. alert("下划线标记n给文字加下划线.n用法: [u]要加下划线的文字[/u]");
  267. } else if (basic) {
  268. AddTxt="[u][/u]";
  269. AddText(AddTxt);
  270. } else {  
  271. txt=prompt("下划线文字.","文字");     
  272. if (txt!=null) {           
  273. AddTxt="[u]"+txt;
  274. AddText(AddTxt);
  275. AddTxt="[/u]";
  276. AddText(AddTxt);
  277. }         
  278. }
  279. }
  280. function setfly() {
  281.   if (helpstat){
  282. alert("飞翔标记n使文字飞行.n用法: [fly]文字为这样文字[/fly]");
  283. } else if (basic) {
  284. AddTxt="[fly][/fly]";
  285. AddText(AddTxt);
  286. } else {                  
  287. txt=prompt("飞翔文字","文字");
  288. if (txt!=null) {             
  289. AddTxt="[fly]"+txt;
  290. AddText(AddTxt);
  291. AddTxt="[/fly]";
  292. AddText(AddTxt);
  293. }        
  294. }  
  295. }
  296. function move() {
  297. if (helpstat) {
  298. alert("移动标记n使文字产生移动效果.n用法: [move]要产生移动效果的文字[/move]");
  299. } else if (basic) {
  300. AddTxt="[move][/move]";
  301. AddText(AddTxt);
  302. } else {  
  303. txt=prompt("要产生移动效果的文字","文字");     
  304. if (txt!=null) {           
  305. AddTxt="[move]"+txt;
  306. AddText(AddTxt);
  307. AddTxt="[/move]";
  308. AddText(AddTxt);
  309. }       
  310. }
  311. }
  312. function shadow() {
  313. if (helpstat) {
  314.                alert("阴影标记n使文字产生阴影效果.n用法: [shadow=宽度, 颜色, 边界]要产生阴影效果的文字[/shadow]");
  315. } else if (basic) {
  316. AddTxt="[shadow=255,blue,1][/shadow]";
  317. AddText(AddTxt);
  318. } else { 
  319. txt2=prompt("文字的长度、颜色和边界大小","255,blue,1"); 
  320. if (txt2!=null) {
  321. txt=prompt("要产生阴影效果的文字","文字");
  322. if (txt!=null) {
  323. if (txt2=="") {
  324. AddTxt="[shadow=255, blue, 1]"+txt;
  325. AddText(AddTxt);
  326. AddTxt="[/shadow]";
  327. AddText(AddTxt);
  328. } else {
  329. AddTxt="[shadow="+txt2+"]"+txt;
  330. AddText(AddTxt);
  331. AddTxt="[/shadow]";
  332. AddText(AddTxt);
  333. }         
  334. }
  335. }
  336. }
  337. function glow() {
  338. if (helpstat) {
  339. alert("光晕标记n使文字产生光晕效果.n用法: [GLOW=宽度, 颜色, 边界]要产生光晕效果的文字[/GLOW]");
  340. } else if (basic) {
  341. AddTxt="[glow=255,red,2][/glow]";
  342. AddText(AddTxt);
  343. } else { 
  344. txt2=prompt("文字的长度、颜色和边界大小","255,red,2"); 
  345. if (txt2!=null) {
  346. txt=prompt("要产生光晕效果的文字.","文字");      
  347. if (txt!=null) {
  348. if (txt2=="") {
  349. AddTxt="[glow=255,red,2]"+txt;
  350. AddText(AddTxt);
  351. AddTxt="[/glow]";
  352. AddText(AddTxt);
  353. } else {
  354. AddTxt="[glow="+txt2+"]"+txt;
  355. AddText(AddTxt);
  356. AddTxt="[/glow]";
  357. AddText(AddTxt);
  358. }         
  359. }
  360. }
  361. }
  362. </SCRIPT>
  363. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  364. <meta content="Microsoft FrontPage 4.0" name="GENERATOR">
  365. <meta content="FrontPage.Editor.Document" name="ProgId">
  366. <LINK href="img/news.css" type="text/css" rel="stylesheet">
  367. <link href="css/css.css" rel="stylesheet" type="text/css">
  368. </HEAD>
  369. <BODY 
  370. leftMargin=0 topMargin=0 marginheight="10" marginwidth="10" class=bodycss>
  371. <div id="list" align="center">
  372. <form name="frmannounce" method="post" action="savetopic.aspx?Fid1=<%=Fid1%>&Fid2=<%=Fid2%>" >
  373.     
  374. <center>
  375. <div id="addwindows">
  376. <table cellSpacing="0" cellPadding="0" width="80%" align="center" border="0">
  377. <tr>
  378.           <td vAlign="center" align="left">&nbsp;</td>
  379. </tr>
  380. </table>
  381.       <table width="80%" height="473" border="0" cellPadding="0" cellSpacing="0" class="unnamed2">
  382.         <tr class=tablemain1> 
  383.           <td width="97%" height="30" colSpan="2"> <div align="left"><font color="#000000"> 
  384.               <p>*项目为必须填写的 <b>:)</b></P>
  385.               </font></div></td>
  386.         </tr>
  387.         <tr> 
  388.           <td align="middle" width="14%" height="23"><font color="#000000"><b>*主题标题</b></font> 
  389.           </td>
  390.           <td width="83%" height="23"><font color="#000000">
  391.             <input name="zhuti" type="text" id="zhuti" size="50" maxlength="60" />
  392.             &nbsp;&nbsp;</font> </td>
  393.         </tr>
  394.         <tr> 
  395.           <td width="18%" height="46"> <p align="left"><b>编辑工具区</b> </p></td>
  396.           <td width="79%" height="46"><font color="#000000"><IMG onclick="bold()" height="22" alt="粗体" src="img/icon_editor_bold.gif" width="22" border="0"> 
  397.             <IMG onclick="italicize()" height="22" alt="斜体" src="img/icon_editor_italicize.gif" width="23" border="0"> 
  398.             <IMG onclick="underline()" height="22" alt="下划线" src="img/icon_editor_underline.gif" width="23" border="0"> 
  399.             <IMG onclick="center()" height="22" alt="居中" src="img/icon_editor_center.gif" width="22" border="0"> 
  400.             <IMG onclick="hyperlink()" height="22" alt="超级连接" src="img/icon_editor_url.gif" width="22" border="0"> 
  401.             <IMG onclick="email()" height="22" alt="Email连接" src="img/icon_editor_email.gif" width="23" border="0"> 
  402.             <IMG onclick="image()" height="22" alt="图片" src="img/icon_editor_image.gif" width="23" border="0"> 
  403.             <IMG onclick="flash()" height="22" alt="Flash图片" src="img/swf.gif" width="23" border="0"> 
  404.             <IMG onclick="showcode()" height="22" alt="编号" src="img/icon_editor_code.gif" width="22" border="0"> 
  405.             <IMG onclick="quote()" height="22" alt="引用" src="img/icon_editor_quote.gif" width="23" border="0"> 
  406.             <IMG onclick="list()" height="22" alt="目录" src="img/icon_editor_list.gif" width="23" border="0"> 
  407.             <IMG onclick="setfly()" height="22" alt="飞行字" src="img/fly.gif" width="23" border="0"> 
  408.             <IMG onclick="move()" height="22" alt="移动字" src="img/move.gif" width="23" border="0"> 
  409.             <IMG onclick="glow()" height="22" alt="发光字" src="img/glow.gif" width="23" border="0"> 
  410.             <IMG onclick="shadow()" height="22" alt="阴影字" src="img/shadow.gif" width="23" border="0">&nbsp; 
  411.             <A href="JavaScript:popwin3('icon.asp')"></A> <br>
  412.             字体: 
  413.             <select onchange="showfont(this.options[this.selectedIndex].value)" name="font">
  414.               <option value="宋体" selected>宋体</option>
  415.               <option value="楷体_GB2312">楷体</option>
  416.               <option value="新宋体">新宋体</option>
  417.               <option value="黑体">黑体</option>
  418.               <option value="隶书">隶书</option>
  419.               <option value="Andale Mono">Andale Mono</option>
  420.               <option value="Arial">Arial</option>
  421.               <option value="Arial Black">Arial Black</option>
  422.               <option value="Book Antiqua">Book Antiqua</option>
  423.               <option value="Century Gothic">Century Gothic</option>
  424.               <option value="Comic Sans MS">Comic Sans MS</option>
  425.               <option value="Courier New">Courier New</option>
  426.               <option value="Georgia">Georgia</option>
  427.               <option value="Impact">Impact</option>
  428.               <option value="Tahoma">Tahoma</option>
  429.               <option value="Times New Roman">Times New Roman</option>
  430.               <option value="Trebuchet MS">Trebuchet MS</option>
  431.               <option value="Script MT Bold">Script MT Bold</option>
  432.               <option value="Stencil">Stencil</option>
  433.               <option value="Verdana">Verdana</option>
  434.               <option value="Lucida Console">Lucida Console</option>
  435.             </select>
  436.             &nbsp;&nbsp;&nbsp;&nbsp; 字体大小
  437.             <select onchange="showsize(this.options[this.selectedIndex].value)" name="size">
  438.               <option value="1">1</option>
  439.               <option value="2">2</option>
  440.               <option value="3" selected>3</option>
  441.               <option value="4">4</option>
  442.             </select>
  443.             &nbsp;&nbsp;&nbsp;<font face="宋体" color="#333333">颜色:</font> 
  444.             <select onchange="showcolor(this.options[this.selectedIndex].value)" name="color">
  445.               <option style="COLOR: #f0f8ff; BACKGROUND-COLOR: #f0f8ff" value="#F0F8FF">#F0F8FF</option>
  446.               <option style="COLOR: #faebd7; BACKGROUND-COLOR: #faebd7" value="#FAEBD7">#FAEBD7</option>
  447.               <option style="COLOR: #00ffff; BACKGROUND-COLOR: #00ffff" value="#00FFFF">#00FFFF</option>
  448.               <option style="COLOR: #7fffd4; BACKGROUND-COLOR: #7fffd4" value="#7FFFD4">#7FFFD4</option>
  449.               <option style="COLOR: #f0ffff; BACKGROUND-COLOR: #f0ffff" value="#F0FFFF">#F0FFFF</option>
  450.               <option style="COLOR: #f5f5dc; BACKGROUND-COLOR: #f5f5dc" value="#F5F5DC">#F5F5DC</option>
  451.               <option style="COLOR: #ffe4c4; BACKGROUND-COLOR: #ffe4c4" value="#FFE4C4">#FFE4C4</option>
  452.               <option style="COLOR: #000000; BACKGROUND-COLOR: #000000" value="#000000">#000000</option>
  453.               <option style="COLOR: #ffebcd; BACKGROUND-COLOR: #ffebcd" value="#FFEBCD">#FFEBCD</option>
  454.               <option style="COLOR: #0000ff; BACKGROUND-COLOR: #0000ff" value="#0000FF">#0000FF</option>
  455.               <option style="COLOR: #8a2be2; BACKGROUND-COLOR: #8a2be2" value="#8A2BE2">#8A2BE2</option>
  456.               <option style="COLOR: #a52a2a; BACKGROUND-COLOR: #a52a2a" value="#A52A2A">#A52A2A</option>
  457.               <option style="COLOR: #deb887; BACKGROUND-COLOR: #deb887" value="#DEB887">#DEB887</option>
  458.               <option style="COLOR: #5f9ea0; BACKGROUND-COLOR: #5f9ea0" value="#5F9EA0">#5F9EA0</option>
  459.               <option style="COLOR: #7fff00; BACKGROUND-COLOR: #7fff00" value="#7FFF00">#7FFF00</option>
  460.               <option style="COLOR: #d2691e; BACKGROUND-COLOR: #d2691e" value="#D2691E">#D2691E</option>
  461.               <option style="COLOR: #ff7f50; BACKGROUND-COLOR: #ff7f50" value="#FF7F50">#FF7F50</option>
  462.               <option style="COLOR: #6495ed; BACKGROUND-COLOR: #6495ed" value="#6495ED" selected>#6495ED</option>
  463.               <option style="COLOR: #fff8dc; BACKGROUND-COLOR: #fff8dc" value="#FFF8DC">#FFF8DC</option>
  464.               <option style="COLOR: #dc143c; BACKGROUND-COLOR: #dc143c" value="#DC143C">#DC143C</option>
  465.               <option style="COLOR: #00ffff; BACKGROUND-COLOR: #00ffff" value="#00FFFF">#00FFFF</option>
  466.               <option style="COLOR: #00008b; BACKGROUND-COLOR: #00008b" value="#00008B">#00008B</option>
  467.               <option style="COLOR: #008b8b; BACKGROUND-COLOR: #008b8b" value="#008B8B">#008B8B</option>
  468.               <option style="COLOR: #b8860b; BACKGROUND-COLOR: #b8860b" value="#B8860B">#B8860B</option>
  469.               <option style="COLOR: #a9a9a9; BACKGROUND-COLOR: #a9a9a9" value="#A9A9A9">#A9A9A9</option>
  470.               <option style="COLOR: #006400; BACKGROUND-COLOR: #006400" value="#006400">#006400</option>
  471.               <option style="COLOR: #bdb76b; BACKGROUND-COLOR: #bdb76b" value="#BDB76B">#BDB76B</option>
  472.               <option style="COLOR: #8b008b; BACKGROUND-COLOR: #8b008b" value="#8B008B">#8B008B</option>
  473.               <option style="COLOR: #556b2f; BACKGROUND-COLOR: #556b2f" value="#556B2F">#556B2F</option>
  474.               <option style="COLOR: #ff8c00; BACKGROUND-COLOR: #ff8c00" value="#FF8C00">#FF8C00</option>
  475.               <option style="COLOR: #9932cc; BACKGROUND-COLOR: #9932cc" value="#9932CC">#9932CC</option>
  476.               <option style="COLOR: #8b0000; BACKGROUND-COLOR: #8b0000" value="#8B0000">#8B0000</option>
  477.               <option style="COLOR: #e9967a; BACKGROUND-COLOR: #e9967a" value="#E9967A">#E9967A</option>
  478.               <option style="COLOR: #8fbc8f; BACKGROUND-COLOR: #8fbc8f" value="#8FBC8F">#8FBC8F</option>
  479.               <option style="COLOR: #483d8b; BACKGROUND-COLOR: #483d8b" value="#483D8B">#483D8B</option>
  480.               <option style="COLOR: #2f4f4f; BACKGROUND-COLOR: #2f4f4f" value="#2F4F4F">#2F4F4F</option>
  481.               <option style="COLOR: #00ced1; BACKGROUND-COLOR: #00ced1" value="#00CED1">#00CED1</option>
  482.               <option style="COLOR: #9400d3; BACKGROUND-COLOR: #9400d3" value="#9400D3">#9400D3</option>
  483.               <option style="COLOR: #ff1493; BACKGROUND-COLOR: #ff1493" value="#FF1493">#FF1493</option>
  484.               <option style="COLOR: #00bfff; BACKGROUND-COLOR: #00bfff" value="#00BFFF">#00BFFF</option>
  485.               <option style="COLOR: #696969; BACKGROUND-COLOR: #696969" value="#696969">#696969</option>
  486.               <option style="COLOR: #1e90ff; BACKGROUND-COLOR: #1e90ff" value="#1E90FF">#1E90FF</option>
  487.               <option style="COLOR: #b22222; BACKGROUND-COLOR: #b22222" value="#B22222">#B22222</option>
  488.               <option style="COLOR: #fffaf0; BACKGROUND-COLOR: #fffaf0" value="#FFFAF0">#FFFAF0</option>
  489.               <option style="COLOR: #228b22; BACKGROUND-COLOR: #228b22" value="#228B22">#228B22</option>
  490.               <option style="COLOR: #ff00ff; BACKGROUND-COLOR: #ff00ff" value="#FF00FF">#FF00FF</option>
  491.               <option style="COLOR: #dcdcdc; BACKGROUND-COLOR: #dcdcdc" value="#DCDCDC">#DCDCDC</option>
  492.               <option style="COLOR: #f8f8ff; BACKGROUND-COLOR: #f8f8ff" value="#F8F8FF">#F8F8FF</option>
  493.               <option style="COLOR: #ffd700; BACKGROUND-COLOR: #ffd700" value="#FFD700">#FFD700</option>
  494.               <option style="COLOR: #daa520; BACKGROUND-COLOR: #daa520" value="#DAA520">#DAA520</option>
  495.               <option style="COLOR: #808080; BACKGROUND-COLOR: #808080" value="#808080">#808080</option>
  496.               <option style="COLOR: #008000; BACKGROUND-COLOR: #008000" value="#008000">#008000</option>
  497.               <option style="COLOR: #adff2f; BACKGROUND-COLOR: #adff2f" value="#ADFF2F">#ADFF2F</option>
  498.               <option style="COLOR: #f0fff0; BACKGROUND-COLOR: #f0fff0" value="#F0FFF0">#F0FFF0</option>
  499.               <option style="COLOR: #ff69b4; BACKGROUND-COLOR: #ff69b4" value="#FF69B4">#FF69B4</option>
  500.               <option style="COLOR: #cd5c5c; BACKGROUND-COLOR: #cd5c5c" value="#CD5C5C">#CD5C5C</option>
  501.               <option style="COLOR: #4b0082; BACKGROUND-COLOR: #4b0082" value="#4B0082">#4B0082</option>
  502.               <option style="COLOR: #fffff0; BACKGROUND-COLOR: #fffff0" value="#FFFFF0">#FFFFF0</option>
  503.               <option style="COLOR: #f0e68c; BACKGROUND-COLOR: #f0e68c" value="#F0E68C">#F0E68C</option>
  504.               <option style="COLOR: #e6e6fa; BACKGROUND-COLOR: #e6e6fa" value="#E6E6FA">#E6E6FA</option>
  505.               <option style="COLOR: #fff0f5; BACKGROUND-COLOR: #fff0f5" value="#FFF0F5">#FFF0F5</option>
  506.               <option style="COLOR: #7cfc00; BACKGROUND-COLOR: #7cfc00" value="#7CFC00">#7CFC00</option>
  507.               <option style="COLOR: #fffacd; BACKGROUND-COLOR: #fffacd" value="#FFFACD">#FFFACD</option>
  508.               <option style="COLOR: #add8e6; BACKGROUND-COLOR: #add8e6" value="#ADD8E6">#ADD8E6</option>
  509.               <option style="COLOR: #f08080; BACKGROUND-COLOR: #f08080" value="#F08080">#F08080</option>
  510.               <option style="COLOR: #e0ffff; BACKGROUND-COLOR: #e0ffff" value="#E0FFFF">#E0FFFF</option>
  511.               <option style="COLOR: #fafad2; BACKGROUND-COLOR: #fafad2" value="#FAFAD2">#FAFAD2</option>
  512.               <option style="COLOR: #90ee90; BACKGROUND-COLOR: #90ee90" value="#90EE90">#90EE90</option>
  513.               <option style="COLOR: #d3d3d3; BACKGROUND-COLOR: #d3d3d3" value="#D3D3D3">#D3D3D3</option>
  514.               <option style="COLOR: #ffb6c1; BACKGROUND-COLOR: #ffb6c1" value="#FFB6C1">#FFB6C1</option>
  515.               <option style="COLOR: #ffa07a; BACKGROUND-COLOR: #ffa07a" value="#FFA07A">#FFA07A</option>
  516.               <option style="COLOR: #20b2aa; BACKGROUND-COLOR: #20b2aa" value="#20B2AA">#20B2AA</option>
  517.               <option style="COLOR: #87cefa; BACKGROUND-COLOR: #87cefa" value="#87CEFA">#87CEFA</option>
  518.               <option style="COLOR: #778899; BACKGROUND-COLOR: #778899" value="#778899">#778899</option>
  519.               <option style="COLOR: #b0c4de; BACKGROUND-COLOR: #b0c4de" value="#B0C4DE">#B0C4DE</option>
  520.               <option style="COLOR: #ffffe0; BACKGROUND-COLOR: #ffffe0" value="#FFFFE0">#FFFFE0</option>
  521.               <option style="COLOR: #00ff00; BACKGROUND-COLOR: #00ff00" value="#00FF00">#00FF00</option>
  522.               <option style="COLOR: #32cd32; BACKGROUND-COLOR: #32cd32" value="#32CD32">#32CD32</option>
  523.               <option style="COLOR: #faf0e6; BACKGROUND-COLOR: #faf0e6" value="#FAF0E6">#FAF0E6</option>
  524.               <option style="COLOR: #ff00ff; BACKGROUND-COLOR: #ff00ff" value="#FF00FF">#FF00FF</option>
  525.               <option style="COLOR: #800000; BACKGROUND-COLOR: #800000" value="#800000">#800000</option>
  526.               <option style="COLOR: #66cdaa; BACKGROUND-COLOR: #66cdaa" value="#66CDAA">#66CDAA</option>
  527.               <option style="COLOR: #0000cd; BACKGROUND-COLOR: #0000cd" value="#0000CD">#0000CD</option>
  528.               <option style="COLOR: #ba55d3; BACKGROUND-COLOR: #ba55d3" value="#BA55D3">#BA55D3</option>
  529.               <option style="COLOR: #9370db; BACKGROUND-COLOR: #9370db" value="#9370DB">#9370DB</option>
  530.               <option style="COLOR: #3cb371; BACKGROUND-COLOR: #3cb371" value="#3CB371">#3CB371</option>
  531.               <option style="COLOR: #7b68ee; BACKGROUND-COLOR: #7b68ee" value="#7B68EE">#7B68EE</option>
  532.               <option style="COLOR: #00fa9a; BACKGROUND-COLOR: #00fa9a" value="#00FA9A">#00FA9A</option>
  533.               <option style="COLOR: #48d1cc; BACKGROUND-COLOR: #48d1cc" value="#48D1CC">#48D1CC</option>
  534.               <option style="COLOR: #c71585; BACKGROUND-COLOR: #c71585" value="#C71585">#C71585</option>
  535.               <option style="COLOR: #191970; BACKGROUND-COLOR: #191970" value="#191970">#191970</option>
  536.               <option style="COLOR: #f5fffa; BACKGROUND-COLOR: #f5fffa" value="#F5FFFA">#F5FFFA</option>
  537.               <option style="COLOR: #ffe4e1; BACKGROUND-COLOR: #ffe4e1" value="#FFE4E1">#FFE4E1</option>
  538.               <option style="COLOR: #ffe4b5; BACKGROUND-COLOR: #ffe4b5" value="#FFE4B5">#FFE4B5</option>
  539.               <option style="COLOR: #ffdead; BACKGROUND-COLOR: #ffdead" value="#FFDEAD">#FFDEAD</option>
  540.               <option style="COLOR: #000080; BACKGROUND-COLOR: #000080" value="#000080">#000080</option>
  541.               <option style="COLOR: #fdf5e6; BACKGROUND-COLOR: #fdf5e6" value="#FDF5E6">#FDF5E6</option>
  542.               <option style="COLOR: #808000; BACKGROUND-COLOR: #808000" value="#808000">#808000</option>
  543.               <option style="COLOR: #6b8e23; BACKGROUND-COLOR: #6b8e23" value="#6B8E23">#6B8E23</option>
  544.               <option style="COLOR: #ffa500; BACKGROUND-COLOR: #ffa500" value="#FFA500">#FFA500</option>
  545.               <option style="COLOR: #ff4500; BACKGROUND-COLOR: #ff4500" value="#FF4500">#FF4500</option>
  546.               <option style="COLOR: #da70d6; BACKGROUND-COLOR: #da70d6" value="#DA70D6">#DA70D6</option>
  547.               <option style="COLOR: #eee8aa; BACKGROUND-COLOR: #eee8aa" value="#EEE8AA">#EEE8AA</option>
  548.               <option style="COLOR: #98fb98; BACKGROUND-COLOR: #98fb98" value="#98FB98">#98FB98</option>
  549.               <option style="COLOR: #afeeee; BACKGROUND-COLOR: #afeeee" value="#AFEEEE">#AFEEEE</option>
  550.               <option style="COLOR: #db7093; BACKGROUND-COLOR: #db7093" value="#DB7093">#DB7093</option>
  551.               <option style="COLOR: #ffefd5; BACKGROUND-COLOR: #ffefd5" value="#FFEFD5">#FFEFD5</option>
  552.               <option style="COLOR: #ffdab9; BACKGROUND-COLOR: #ffdab9" value="#FFDAB9">#FFDAB9</option>
  553.               <option style="COLOR: #cd853f; BACKGROUND-COLOR: #cd853f" value="#CD853F">#CD853F</option>
  554.               <option style="COLOR: #ffc0cb; BACKGROUND-COLOR: #ffc0cb" value="#FFC0CB">#FFC0CB</option>
  555.               <option style="COLOR: #dda0dd; BACKGROUND-COLOR: #dda0dd" value="#DDA0DD">#DDA0DD</option>
  556.               <option style="COLOR: #b0e0e6; BACKGROUND-COLOR: #b0e0e6" value="#B0E0E6">#B0E0E6</option>
  557.               <option style="COLOR: #800080; BACKGROUND-COLOR: #800080" value="#800080">#800080</option>
  558.               <option style="COLOR: #ff0000; BACKGROUND-COLOR: #ff0000" value="#FF0000">#FF0000</option>
  559.               <option style="COLOR: #bc8f8f; BACKGROUND-COLOR: #bc8f8f" value="#BC8F8F">#BC8F8F</option>
  560.               <option style="COLOR: #4169e1; BACKGROUND-COLOR: #4169e1" value="#4169E1">#4169E1</option>
  561.               <option style="COLOR: #8b4513; BACKGROUND-COLOR: #8b4513" value="#8B4513">#8B4513</option>
  562.               <option style="COLOR: #fa8072; BACKGROUND-COLOR: #fa8072" value="#FA8072">#FA8072</option>
  563.               <option style="COLOR: #f4a460; BACKGROUND-COLOR: #f4a460" value="#F4A460">#F4A460</option>
  564.               <option style="COLOR: #2e8b57; BACKGROUND-COLOR: #2e8b57" value="#2E8B57">#2E8B57</option>
  565.               <option style="COLOR: #fff5ee; BACKGROUND-COLOR: #fff5ee" value="#FFF5EE">#FFF5EE</option>
  566.               <option style="COLOR: #a0522d; BACKGROUND-COLOR: #a0522d" value="#A0522D">#A0522D</option>
  567.               <option style="COLOR: #c0c0c0; BACKGROUND-COLOR: #c0c0c0" value="#C0C0C0">#C0C0C0</option>
  568.               <option style="COLOR: #87ceeb; BACKGROUND-COLOR: #87ceeb" value="#87CEEB">#87CEEB</option>
  569.               <option style="COLOR: #6a5acd; BACKGROUND-COLOR: #6a5acd" value="#6A5ACD">#6A5ACD</option>
  570.               <option style="COLOR: #708090; BACKGROUND-COLOR: #708090" value="#708090">#708090</option>
  571.               <option style="COLOR: #fffafa; BACKGROUND-COLOR: #fffafa" value="#FFFAFA">#FFFAFA</option>
  572.               <option style="COLOR: #00ff7f; BACKGROUND-COLOR: #00ff7f" value="#00FF7F">#00FF7F</option>
  573.               <option style="COLOR: #4682b4; BACKGROUND-COLOR: #4682b4" value="#4682B4">#4682B4</option>
  574.               <option style="COLOR: #d2b48c; BACKGROUND-COLOR: #d2b48c" value="#D2B48C">#D2B48C</option>
  575.               <option style="COLOR: #008080; BACKGROUND-COLOR: #008080" value="#008080">#008080</option>
  576.               <option style="COLOR: #d8bfd8; BACKGROUND-COLOR: #d8bfd8" value="#D8BFD8">#D8BFD8</option>
  577.               <option style="COLOR: #ff6347; BACKGROUND-COLOR: #ff6347" value="#FF6347">#FF6347</option>
  578.               <option style="COLOR: #40e0d0; BACKGROUND-COLOR: #40e0d0" value="#40E0D0">#40E0D0</option>
  579.               <option style="COLOR: #ee82ee; BACKGROUND-COLOR: #ee82ee" value="#EE82EE">#EE82EE</option>
  580.               <option style="COLOR: #f5deb3; BACKGROUND-COLOR: #f5deb3" value="#F5DEB3">#F5DEB3</option>
  581.               <option style="COLOR: #ffffff; BACKGROUND-COLOR: #ffffff" value="#FFFFFF">#FFFFFF</option>
  582.               <option style="COLOR: #f5f5f5; BACKGROUND-COLOR: #f5f5f5" value="#F5F5F5">#F5F5F5</option>
  583.               <option style="COLOR: #ffff00; BACKGROUND-COLOR: #ffff00" value="#FFFF00">#FFFF00</option>
  584.               <option style="COLOR: #9acd32; BACKGROUND-COLOR: #9acd32" value="#9ACD32">#9ACD32</option>
  585.             </select>
  586.             </font> </td>
  587.         </tr>
  588.         <tr> 
  589.           <td width="18%" height="46"> <p align="left"><b>表情</b> </p></td>
  590.           <td><table id="bqselect" border="0">
  591.               <tr> 
  592.                 <td><input id="bqselect_0" type="radio" name="bqselect" value="1" checked="checked" />
  593.                   <label for="bqselect_0"> <IMG alt="微笑" src="emotion/1.gif"></label></td>
  594.                 <td><input id="bqselect_1" type="radio" name="bqselect" value="2" />
  595.                   <label for="bqselect_1"> <IMG alt="无聊哦" src="emotion/2.gif"></label></td>
  596.                 <td><input id="bqselect_2" type="radio" name="bqselect" value="3" />
  597.                   <label for="bqselect_2"> <IMG alt="委屈" src="emotion/3.gif"></label></td>
  598.                 <td><input id="bqselect_3" type="radio" name="bqselect" value="4" />
  599.                   <label for="bqselect_3"> <IMG alt="顽皮" src="emotion/4.gif"></label></td>
  600.                 <td><input id="bqselect_4" type="radio" name="bqselect" value="5" />
  601.                   <label for="bqselect_4"> <IMG alt="表情扭曲" src="emotion/5.gif"></label></td>
  602.                 <td><input id="bqselect_5" type="radio" name="bqselect" value="6" />
  603.                   <label for="bqselect_5"> <IMG alt="发傻" src="emotion/6.gif"></label></td>
  604.                 <td><input id="bqselect_6" type="radio" name="bqselect" value="7" />
  605.                   <label for="bqselect_6"> <IMG alt="靠!I 服了 YOU" src="emotion/7.gif"></label></td>
  606.                 <td><input id="bqselect_7" type="radio" name="bqselect" value="8" />
  607.                   <label for="bqselect_7"> <IMG alt="撅嘴" src="emotion/8.gif"></label></td>
  608.                 <td><input id="bqselect_8" type="radio" name="bqselect" value="9" />
  609.                   <label for="bqselect_8"> <IMG alt="没事偷着乐" src="emotion/9.gif"></label></td>
  610.                 <td><input id="bqselect_9" type="radio" name="bqselect" value="15" />
  611.                   <label for="bqselect_9"> <IMG alt="原创" src="emotion/15.gif"></label></td>
  612.               </tr>
  613.               <tr> 
  614.                 <td><input id="bqselect_10" type="radio" name="bqselect" value="10" />
  615.                   <label for="bqselect_10"> <IMG alt="斜视" src="emotion/10.gif"></label></td>
  616.                 <td><input id="bqselect_11" type="radio" name="bqselect" value="11" />
  617.                   <label for="bqselect_11"> <IMG alt="为难" src="emotion/11.gif"></label></td>
  618.                 <td><input id="bqselect_12" type="radio" name="bqselect" value="12" />
  619.                   <label for="bqselect_12"> <IMG alt="生气!" src="emotion/12.gif"></label></td>
  620.                 <td><input id="bqselect_13" type="radio" name="bqselect" value="13" />
  621.                   <label for="bqselect_13"> <IMG alt="小吃一惊" src="emotion/13.gif"></label></td>
  622.                 <td><input id="bqselect_14" type="radio" name="bqselect" value="14" />
  623.                   <label for="bqselect_14"> <IMG alt="不好意思的笑" src="emotion/14.gif"></label></td>
  624.                 <td><input id="bqselect_15" type="radio" name="bqselect" value="17" />
  625.                   <label for="bqselect_15"> <IMG alt="狂吼" src="emotion/17.gif"></label></td>
  626.                 <td><input id="bqselect_16" type="radio" name="bqselect" value="18" />
  627.                   <label for="bqselect_16"> <IMG alt="嘻嘻" src="emotion/18.gif"></label></td>
  628.                 <td><input id="bqselect_17" type="radio" name="bqselect" value="19" />
  629.                   <label for="bqselect_17"> <IMG alt="痛苦的哭了" src="emotion/19.gif"></label></td>
  630.                 <td><input id="bqselect_18" type="radio" name="bqselect" value="20" />
  631.                   <label for="bqselect_18"> <IMG alt="帅呆了" src="emotion/20.gif"></label></td>
  632.                 <td><input id="bqselect_19" type="radio" name="bqselect" value="16" />
  633.                   <label for="bqselect_19"> <IMG alt="转贴" src="emotion/16.gif"></label></td>
  634.               </tr>
  635.             </table></td>
  636.         <tr> 
  637.           <td width="97%" colSpan="2" height="250"> <p align="center"><font color="#000000">
  638.               <textarea name="nr" id="nr" title="可以使用Ctrl+Enter直接提交贴子" style="height:200px;width:400px;"></textarea>
  639.               </font></p></td>
  640.         </tr>
  641.         <div id="listupload1"></div>
  642.         <tr> 
  643.           <td width="100%" colSpan="2" height="23"><div align="center"><font color="#000000"> 
  644.             <input name="Button2" type="submit" id="Button2" class=btn onClick="if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); " value="发贴" language="javascript" />
  645.             &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  646.             <input name="Clear" type="reset" class=btn value="清 除">
  647.             </font></div></td>
  648.         </tr>
  649.         <DIV></DIV>
  650.         <tr class=tablemain1> 
  651.           <td width="97%" height="25" colSpan="2" vAlign="center"> <p align="center"><font color="#000000"> 
  652.               <font color="#ffffff"> 
  653.               <label for="isemail"></label>
  654.               </font> </font> <span id="testzhuti" controltovalidate="zhuti" evaluationfunction="RequiredFieldValidatorEvaluateIsValid" initialvalue="" style="color:Red;visibility:hidden;"> 
  655.               </span></p></td>
  656.         </tr>
  657.         <div id="listupload2"></div>
  658.       </table>
  659. </div>
  660. <div id="wc" align="center">
  661. </div>
  662. <input name="totlephotosize" id="totlephotosize" type="hidden" value="0" />
  663. <script language="javascript">
  664. <!--
  665. var Page_Validators =  new Array(document.all["testzhuti"]);
  666. // -->
  667. </script>
  668.         
  669. </form>
  670. <div align=center>
  671. <%
  672.  Response.Write("脚本执行时间"+n3.TotalMilliseconds.ToString()+"毫秒");
  673. %>
  674. </body>
  675. </HTML>