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

📄 forum_display.asp

📁 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会 商会
💻 ASP
📖 第 1 页 / 共 3 页
字号:
                    </tr>
                    <tr> 
                      <td style="line-height:150%" valign=top height=20>
						 <%=checkstr(userintro,"1")%>
                      </td>
                    </tr>
                    <tr> 
                      <td height=20></td>
                    </tr>
                    <%end if%>
                  </table>
                </td>
              </tr>
			<%	
				i=i+1
				rs.MoveNext
			loop
			rs.Close
			%>
				<input type=hidden name="delkeyno">
			  </form>	
            </table>
            <table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
              <tr> 
                <td height="30" align="left" class="font3">&nbsp;本主题帖共有 <b><%=reccount%></b> 条帖子</td>
                <td>
          <%if pagecount>1 then%>
            <%if pageno>1 then%>
            <a href="<%=myurl%>&pageno=1" class=a01>首页</a>&nbsp;
            <a href="<%=myurl%>&pageno=<%=pageno-1%>" class=a01>&lt;&lt;上一页</a>&nbsp;
            <%end if%>
			<%
			if pageno>5 then minj=pageno-5 else minj=1
			if pagecount>pageno+5 then maxj=pageno+5 else maxj=pagecount
			
			for j=minj to maxj
				if j=pageno then color2="ff6600" else color2="000000"
			%>
				<a href="<%=myurl%>&pageno=<%=j%>" class=a01><font color=<%=color2%>><%=j%></font></a> 
			<%next%>
            &nbsp;页&nbsp;
            <%if pageno<pagecount then%>
            <a href="<%=myurl%>&pageno=<%=pageno+1%>" class="a01">下一页&gt;&gt;</a>&nbsp;
            <a href="<%=myurl%>&pageno=<%=pagecount%>" class="a01">末页</a>
            <%end if%>
          <%end if%>  
                
                </td>
              </tr>
            </table>
         <%if userqx="1" or  userqx="9" then%>
            <table width="100%" 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=100%" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="<%=tablecolor%>">
			 <form action="<%=myurl%>&pageno=<%=pagecount%>" 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=70 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>
              <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>
              <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" class="menu_select" 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" class="menu_select" 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="#e4f4e9"> 
                <td height="30" 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>
		  <%else%>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="<%=barcolor%>">
              <tr> 
				<td width=10></td>
                <td height="24" align="left">
                <%if userqx="1" or userqx="9" then%>
					<a href="forum_post.asp?classcode=<%=classcode%>"><img src="images/bt_post.jpg" border=0></a></td>
                <%else%>
					<font color=ff6600>您对本版块具有只读权限</font></td>
				<%end if%>	
				<td width=10></td>
				<td align=center>您是本帖的第 <b><%=querycount%></b> 位阅读者</td>
				<td align=right>
					版主:<%=manager%>
				</td>
				<td width=10></td>
              </tr>
            </table>
		  
		  <%end if%>	
            <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td height="60">&nbsp;</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

<!-- #include file="end.asp" -->
<!-- #include file="func.inc" -->
<!-- #include file="sysfunc.inc" -->

<script src="main.js"></script>
<script language=Javascript>

	var maxw
	window.screen.width>800 ? maxw=780:maxw=560;
	
	if(document.images)
	{
		for(i=0;i<document.images.length;i++)
		{
			if (document.images[i].name.substring(0,6)=="oldpic")
				if(document.images[i].width>=maxw)	document.images[i].width=maxw;
		}
		
	}

	function delmsg(form,keyno)
	{
		if (confirm('确认删除选择的记录吗?')==true) 
		{
			form.delkeyno.value=keyno
			form.submit();
		}	
	}

	initpost("content","GB2312");

</script>

⌨️ 快捷键说明

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