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

📄 list_big.asp

📁 类似于baidu的百度知道
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file=conn.asp-->
<!--#include file="Function_QT.asp"-->
<!--#include file="Config.asp"-->
<!--#include file="md5.asp"-->
<%
if not IsNumeric(request("id")) then
		Response.Write ("<script>alert('友情提示!\n\参数错误!');history.back();</script>")
		Response.end
	end if
%>
<%
if IsNumeric(request("jie"))=False then
jie=""
else
jie=request("jie")
end if
if request("id")="" then 
response.write"<script>alert('参数错误!');history.back();</script>"
response.End()
end if
if request("topic")<>"" or request("id")<>"" then

	id=CLNG(request("id"))
	if request("topic")="" then
	rs2.open"select * from class where id="&id,conn,1,1
	if rs2.eof then
response.write"<script>alert('参数错误!');history.back();</script>"
response.End()
end if
	topic=rs2("topic")
	rs2.close
	else
	topic=request("topic")
	end if

%>
<title><%=webname%>_<%=topic%>_全部问题</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<!--#include file=top.asp-->
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="40">
	<tr>
		<td height="24"><a href="<%=weburl%>"><%=webname%></a> &gt; <%=topic%></td></tr>
	<tr>
		<td>
		<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" height="40">
			<tr>
				<td width="200" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0" class="t1">
	<tr>
		<td>    <%if request("login")="登录" then
jiance=request("name")
if InStr(jiance,"or")<>0 or InStr(jiance,"'")<>0 or InStr(jiance,"`")<>0 or InStr(jiance,"=")<>0 or InStr(jiance,"-")<>0 or InStr(jiance,",")<>0 or InStr(jiance,"and")<>0 then 
Response.Write "<script language=JavaScript>{alert('用户名非法!');history.back();}</script>"
Response.End 
end if
		if not IsNumeric(request("verifycode")) then
		Response.Write ("<script>alert('友情提示!\n\n验证编码必须是数字!');history.back();</script>")
		Response.end
	end if
	if (int(session("SafeCode"))<>int(request("verifycode"))) then
		Response.Write ("<script>alert('友情提示!\n\n验证编码输入错误!');history.back();</script>")
		Response.end
	end if
	  if request("name")="" then
	  response.write"<script>alert('用户名不能为空!');history.back();</script>"
	  elseif request("pwd")="" then
	  response.write"<script>alert('密码不能为空!');history.back();</script>"
	  else
	  name=request("name")
	  pwd=request("pwd")
	  rs.open"select * from person where name='"&name&"' and pwd='"&md5(pwd)&"'",conn,1,1
	  if rs.eof then
	  response.write"<script>alert('用户名或密码错误!');history.back();</script>"
	  else
	  rs3.open"select * from person where name='"&name&"'",conn,1,3
	  rs3("logintime")=now
	  rs3.update
	  rs3.close
	  session("person")=name
	  %>
	  <%end if
	  rs.close
	  end if
	  end if%>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
	<tr>
		<td height="36" align="center" onmouseover="this.className='tbb'" onmouseout="this.className='taa'" class="taa"><div align="left"><strong>
		  <%if session("person")<>"" then%>
		  用户信息
		  <%else%>
		    <%end if%>
		    <img src="img/login.gif" alt="用户登陆" width="100" height="36" /></strong></div></td>
	</tr>
	<tr>
		<td align=center><br>
<table border="0" width="98%" cellspacing="0" cellpadding="0">
	<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%" valign="top">
              <div align="right">
                <table border="0" width="98%" cellspacing="0" cellpadding="0">
                  <tr>
 <td>
<table width="100%" border="0" cellpadding="0" cellspacing="0"><%if session("person")<>"" then%>
              <tr> 
                <td >您好:<%=session("person")%> </td>
              </tr>
              <tr> 
                <td><%rs.open"select * from person where name='"&session("person")&"'",conn,1,1%> 
                  <a href="Help.asp#n5" target=_blank><%=rs("touxian")%></a> ( <%=rs("jifen")%> )</td>                 
              </tr>
      </table>
<table cellSpacing=0 cellPadding=0 width="100%" border=0>
  <tr>
    <td height=22>&#8226; <a href="user.asp?lei=mywen" target="_blank">我的提问</a></td>                
    <td>&#8226; <a href="user.asp" target="_blank">个人中心</a></TD>                
  </tr>
  <tr>
    <td>&#8226; <a href="user.asp?lei=myda" target="_blank">我的回答</a></td>                
    <td>&#8226; <a href="Exit.asp">退出</a><%rs.close%></td>           
  </tr>
  <%end if%><%if session("person")="" then%><tr><form method=post action=List_Big.asp?id=<%=id%>><td align="center" valign="top">
	<p>用&nbsp;户: <input name="name" type="text" id="name" size="12" class="ip22"><br>密&nbsp;码: <input name="pwd" type="password" id="pwd" size="12" class="ip22"><br>验证码:<input type="text" size=3 maxlength=4 name=verifycode class="ip22"> <%Call GetSafeCode%><br><input class="ip2" name="login" type="submit" id="login" value="登录">&nbsp;&nbsp;          
    <a href="Reg.asp">注册</a>
</td></form><%end if%></tr>
</table>
<tr>
                    <td width="100%" height="10"></td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
          <tr>
            <td width="100%" valign="top">
              <div align="right">
                <table border="0" width="95%" cellspacing="0" cellpadding="0">
                  <tr><%rs2.open"select * from gonggao where flid=1 order by time desc",conn,1,1
                  if rs2.eof then
                  gonggao="暂时未有公告"
                  else
                  gonggao=rs2("text")
                  end if
                  rs2.close
                  %>
                    <td valign=center ><%=gonggao%></td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>
        </table>
</td>
	</tr>
</table>
<br></td>
	</tr>
</table>
		</td>
	</tr>
</table>
<br>
				<table border="0" width="100%" id="table3" cellspacing="0" cellpadding="0">
					<tr>
						<td><table border="0" width="100%" cellspacing="0" cellpadding="0" class="t1">
	<tr>
		<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
	<tr>
		<td height="36" align="center" onmouseover="this.className='tbb'" onmouseout="this.className='taa'" class="taa"><strong>快捷问答</strong></td>
	</tr>
	<tr>
		<td align=center><br>
<table border="0" width="98%" cellspacing="0" cellpadding="0">
	<tr>
<td>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0">
       <tr>
        <form name=fbop method=post action=Search.asp>
          <td height="26">
			<p align="center">
			<input name="content" type="text" id="content" value="<%=HTMLcode(request("content"))%>" size="21" class="ip22"></td> 
        </tr>
       <tr>
          <td height="29">&nbsp;<input class="ip2" type="submit" name="Submit" value="搜索答案">&nbsp;&nbsp;     
            <span><font color="#ffffff"><input class="ip2" onclick="ask(fbop);" type="button" value="我要提问"></font></span></td>
       </tr></form>
      </table>
      </div>
      </td>
	</tr>
</table>
<br></td>
	</tr>
</table>
		</td>

⌨️ 快捷键说明

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