⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 forum_post.asp

📁 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会
💻 ASP
📖 第 1 页 / 共 2 页
字号:
          skipflag=0
       End If
   Next
   bin2str = ccc
End Function 
%>

<!-- #include file="begin.asp" -->

<%if bz=1 or bz=2 then %>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
  <tr>
    <td height="8"></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
	<tr><td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="30" bgcolor=ffffff>
              <tr> 
                <td width="20">&nbsp;</td>
                <td>欢迎光临<%=forumtitle%></td>
                <td width="10">&nbsp;</td>
              </tr>
            </table>
	</td></tr>
</table>	
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td background="images/shadow1.jpg" height="8"></td>
  </tr>
  <tr>
    <td bgcolor="#CDDCF2" height="1"></td>
  </tr>
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td align="center"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td valign="top"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="30"  bgcolor="<%=barcolor%>">
              <tr> 
                <td width="10">&nbsp;</td>
                <td width=30 align=center><img src="images/homeflag.gif"></td>
                <%if classflag="1" then%>
                <td><a href="forum.asp"><%=forumtitle%></a>  &gt; <a href="forum_list.asp?classcode=<%=classcode%>"><%=classname%></a> &gt; <%=topic%></td>
                <%else%>
                <td><a href="forum_list.asp"><%=forumtitle%></a> &gt; <a href="forum_list.asp?classcode=<%=classcode%>"><%=classname%></a> &gt; <%=topic%></td>
                <%end if%>
                <td width="100" align="right"></td>
                <td width="10">&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td height="6"></td>
              </tr>
            </table>
            <%if bz=2 then%>
            <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr bgcolor="<%=titlebgcolor%>"> 
				<td height="26" width=30></td>
                <td align="center"><b><font color=<%=titlecolor%>>出错信息</font></b></td>
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="90%" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="<%=tablecolor%>">
				<tr bgcolor="#ffffff"> 
 					<td width=180 height=30 align=center><font color=ff0000>出错原因可能如下:</font></td>
					<td>
						<%if sysmess="" then%>
						<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center">
							<tr><td height=20>
								<li>用户名不正确,或没有此用户名</li>
							</td></tr>
							<tr><td height=20>
								<li>密码不正确</li>
							</td></tr>
							<tr><td height=20>
								<li>此用户已被系统管理员锁定</li>
							</td></tr>
							<tr><td height=20>
								<li>上传文件太大,文件限制为100K以内</li>
							</td></tr>
							<tr><td height=5></td></tr>
						</table>	
						<%
						else
						%>
						<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center">
							<tr><td height=30>
								<%=sysmess%>
							</td></tr>
						</table>	
						<%end if%>
					</td>
				</tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td height="10"></td>
              </tr>
            </table>
            <%end if%>
            <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr bgcolor="<%=titlebgcolor%>"> 
                <td height="22" width="110" align="center"><b><font color=<%=titlecolor%>>发表话题</b></td>
              </tr>
            </table>
            <table width="98%" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="<%=tablecolor%>">
			 <form action="<%=myurl%>" method=post name=bbsform onsubmit="return checkbbsform(bbsform)" autocomplete = "off" enctype="multipart/form-data">
			 <%if Session("userno")="" then%>
              <tr bgcolor="#ffffff"> 
                <td height="30" width="120" align="center">用户名:</td>
                <td align="left">&nbsp; 
					<input type="text" name=usercode maxlength=80 size=20 value="<%=usercode%>"><font color=red size=1>*</font>
					<font color="#000000">若没有注册,请<a href="register.asp" class=a01>立即注册</a></font>
                </td>
              </tr>
              <tr bgcolor="#ffffff"> 
                <td height="30" align="center">密码:</td>
                <td align="left">&nbsp; 
					<input type="password" name=userpass maxlength=30 size=20 value="<%=userpass%>">
					&nbsp;<font color="#000000">忘记密码,请<a href="#" class=a01>查询密码</a></font>
                </td>
              </tr>
              <%else%>
              <tr bgcolor="#ffffff"> 
                <td height="30" width="120" align="center">用户名:</td>
                <td align="left">&nbsp; 
					<input type="hidden" name=usercode  value="<%=usercode%>"><%=usercode%>
					(来自<%=Request.ServerVariables("Remote_HOST")%>)
                </td>
              </tr>
				<input type="hidden" name=userpass value="">
              <%end if%>
              <tr bgcolor="#ffffff"> 
                <td height="30" align="center">主题:</td>
                <td align="left">&nbsp; 
					<input type="text" name=title maxlength=200 size=68 value="<%=newtitle%>"> <font color=red size=1>*</font>不得超过100个汉字
                </td>
              </tr>
              <tr bgcolor="#ffffff"> 
                <td height="22" align="center">心情图标:</td>
                <td align="left" valign="middle" height=100>
		<table width="450" border="0" cellspacing="0" cellpadding="0" bgcolor="efefef">
			<tr>	
				<td bgcolor=ffffff><input checked name="emote" type="radio" value="1"><img src="emote/mood1.gif" alt="微笑" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="2"><img src="emote/mood2.gif" alt="咧嘴笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="3"><img src="emote/mood3.gif" alt="惊讶的笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="4"><img src="emote/mood4.gif" alt="吐舌笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="5"><img src="emote/mood5.gif" alt="眨眼笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="6"><img src="emote/mood6.gif" alt="悲伤的脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="7"><img src="emote/mood7.gif" alt="困惑的笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="8"><img src="emote/mood8.gif" alt="失望的脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="9"><img src="emote/mood9.gif" alt="哭泣的脸" border="0"></td>
			</tr>
			<tr>	
				<td bgcolor=ffffff><input name="emote" type="radio" value="10"><img src="emote/mood10.gif" alt="尴尬的笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="11"><img src="emote/mood11.gif" alt="热烈的笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="12"><img src="emote/mood12.gif" alt="生气的脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="13"><img src="emote/mood13.gif" alt="天使的笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="14"><img src="emote/mood14.gif" alt="恶魔笑脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="15"><img src="emote/mood15.gif" alt="保守秘密" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="16"><img src="emote/mood16.gif" alt="咬牙切齿" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="18"><img src="emote/mood18.gif" alt="讽刺的脸" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="19"><img src="emote/mood19.gif" alt="悄悄话" border="0"></td>
			</tr>
			<tr>	
				<td bgcolor=ffffff><input name="emote" type="radio" value="26"><img src="emote/mood26.gif" alt="礼品盒" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="29"><img src="emote/mood29.gif" alt="咖啡" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="30"><img src="emote/mood30.gif" alt="红心" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="45"><img src="emote/mood45.gif" alt="红玫瑰" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="46"><img src="emote/mood46.gif" alt="生日蛋糕" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="48"><img src="emote/mood48.gif" alt="高脚杯" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="49"><img src="emote/mood49.gif" alt="左侧拥抱" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="50"><img src="emote/mood50.gif" alt="右侧拥抱" border="0"></td>
				<td bgcolor=ffffff><input name="emote" type="radio" value="44"><img src="emote/mood44.gif" alt="金钱" border="0"></td>
			</tr>
			<tr>	
			</tr>
		</table>
                </td>
              </tr>
             <%if keyno="" then%> 
              <tr bgcolor="#ffffff"> 
                <td height="30" align="center">图片上传:</td>
                <td align="left">&nbsp; 
					<input type="file" name="filename" size=30>                                  
					支持jpg,gif文件,文件大小不得超过100K
                </td>
              </tr>
             <%else%>
					<input type="hidden" name="filename" size=30>                                  
             <%end if%>
              <tr bgcolor="#ffffff"> 
                <td height="180" align="center">内容:<br>
					<li>支持HTML
					<li>支持贴图
                </td>
                <td align="left">
            <table cellspacing=0 cellpadding=0 border=0 bgcolor="#e4f4e9">
                <tr>
                    <td height=24>
					<img src="../admin/images/bold.gif" onclick="frameid.document.execCommand('Bold')" style="cursor:hand;" title="粗体">
					<img src="../admin/images/italicize.gif" onclick="frameid.document.execCommand('Italic')" style="cursor:hand;" title="斜体">
					<img src="../admin/images/underline.gif" onclick="frameid.document.execCommand('Underline')" style="cursor:hand;" title="下划线">
					<img src="../admin/images/center.gif"  onclick="frameid.document.execCommand('JustifyCenter')" style="cursor:hand;" title="居中">
					<img src="../admin/images/right.gif"  onclick="frameid.document.execCommand('JustifyRight')" style="cursor:hand;" title="右对齐">
					<img src="../admin/images/space.gif"  onclick="frameid.document.execCommand('Indent')" style="cursor:hand;" title="增加缩进">
					<img src="../admin/images/url.gif" onclick="frameid.document.execCommand('CreateLink',true)" style="cursor:hand;" title="超链接。如<a href='http://www.ibw.com.cn' target=_blank>网新科技</a>">
					<img src="../admin/images/email.gif"  onclick="addemail()" style="cursor:hand;" title="邮件链接。如<a href='mailto:xu256@sina.com'>xu256@sina.com</a>">
					<img src="../admin/images/image.gif"  onclick="addimg()" style="cursor:hand;" title="插入图片。如<img src='http://www.ourgo.com/815.jpg'>">
		            <select name="font_face" onchange="frameid.document.execCommand('Fontname',false,font_face.value)">
			                <option value="宋体">宋体</option>
                            <option value="黑体">黑体</option>
                            <option value="楷体_GB2312">楷体</option>
                            <option value="仿宋_GB2312">仿宋</option>
                            <option value="隶书">隶书</option>
                            <option value="幼圆">幼圆</option>
                            <option value="新宋体">新宋体</option>
                            <option value="细明体">细明体</option>
                            <option value="Arial">Arial</option>
                            <option value="Arial Black">Arial Black</option>
                            <option value="Arial Narrow">Arial Narrow</option>
                            <option value="Bradley Hand    ITC">Bradley Hand ITC</option>
                            <option value="Brush Script MT">Brush Script MT</option>
                            <option value="Century Gothic">Century Gothic</option>
                            <option value="Comic Sans MS">Comic Sans MS</option>
                            <option value="Courier">Courier</option>
                            <option value="Courier New">Courier New</option>
                            <option value="MS Sans Serif">MS Sans Serif</option>
                            <option value="sans-serif">sans-serif</option>
                            <option value="Script">Script</option>
                            <option value="System">System</option>
                            <option value="Tahoma">Tahoma</option>
                            <option value="Times New Roman">Times New Roman</option>
                            <option value="Viner Hand ITC">Viner Hand ITC</option>
                            <option value="Verdana">Verdana</option>
                            <option value="Wide    Latin">Wide Latin</option>
                            <option value="Wingdings">Wingdings</option>
					</select>				
                    <select name="font_size" onchange="frameid.document.execCommand('FontSize',false,font_size.value)">
                            <option selected>普通</option>
                            <option value="1">1 (8 磅)</option>
                            <option value="2">2 (10 磅)</option>
                            <option value="3">3 (12 磅)</option>
                            <option value="4">4 (14 磅)</option>
                            <option value="5">5 (18 磅)</option>
                            <option value="6">6 (24 磅)</option>
                            <option value="7">7 (36 磅)</option>
                    </select>
                    </td>
                </tr>
            </table>
			<input type=hidden  id="content" name="content" value='<%=newcontent%>'>
            <table width=100% cellspacing=0 cellpadding=0 border=0 bgcolor="#ffffff">
				<tr>
				    <td width=5></td>
					<td>
					 <iframe id="postframe" name="postframe" width="550" height="150" style="font-size:12px;line-height:normal"></iframe>
				    </td>
				</tr>	
			</table>	
			<script language=Javascript>
				var brower_copy=document.all;
				var frameid=frames["postframe"];
			</script>	
			    </td>
              </tr>
              <tr bgcolor="#efefef"> 
                <td height="40" align="center"><br>
                </td>
                <td align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="submit" name="submit" value="发表" style="width:75px; height:24px">
                </td>
              </tr>
              </form>
            </table>
            <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td height="30">&nbsp;</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<%end if%>
<!-- #include file="end.asp" -->
<!-- #include file="sysfunc.inc" -->

<script src="main.js"></script>
<script language=Javascript>
	initpost("content","GB2312");

</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -