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

📄 jhshow.asp

📁 经过一些更改的留言板
💻 ASP
字号:
<!--#include file="data.asp"-->
<!--#include file="ubb.asp"-->
<%
dim xxid, exec, rs 
xxid=trim(request("id"))
exec="select * from ly where id=" + CStr(xxid) + " " 
Set RS = Server.CreateObject("ADODB.RecordSet")                        
rs.Open exec, Conn, 1, 2

rs("yd")=rs("yd")+1
rs.update

%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>:: 永久的回忆 ::</title>
<link rel="stylesheet" href="style/<%=skin%>.css" type="text/css">
</head>

<body>
<script language="JavaScript">
<!--
function namosw_goto(url, targetstr)
{
  if (url == 'backward')
    history.back(1);
  else if (url == 'forward')
    history.forward(1);
  else {
     if (targetstr == 'blank') {
       window.open(url, 'win1');
     } else {
       var frameobj;
       if ((frameobj = eval(targetstr)) != null)
       frameobj.location = url;
     }
  }
}

// -->
</script>
<!--#include file="head.asp"-->
      <table border="0" width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="100%">&nbsp;&nbsp;</td>
        </tr>
      </table>
      
	
<table border="0" width="650" cellspacing="0" cellpadding="3" align="center" class="table004" >
 <tr class=table003> 
  <td width="18"> 
   <%if rs("jh")=1 then
              %>
   <img border="0" align=absmiddle src="images/jh.gif" width="21" height="19"> 
   <%else%>
   <img src=images/plus.gif align=absmiddle> 
   <%end if%>
  </td>
  <td width="16"> <img border="0" src="images/<%=rs("pic")%>"></td>
  <td width="350" class="jnfont5" >标题:<%=rs("title")%></td>
  <td width="100" align="center" class="jnfont5"> 
   <%if rs("bl")=1 then
              %>
   <%=rs("name")%>&nbsp;<img border="0" src="images/bl.gif"> 
   <%else%>
   <%=rs("name")%> 
   <%end if%>
  </td>
  <td width="160" align="center"> 
   <table border="0" width="100%" cellpadding="0">
	<tr> 
	 <td align="center"> <img align=absmiddle border="0" src="images/email.gif" width="18" height="18"> 
	  <%if rs("email")<>"" then %>
	  <a href="mailto:<%=rs("email")%>">邮箱</a> 
	  <%
	  else
	  response.write "邮箱"
	  end if%>
	 </td>
	 <td align="center"><img align=absmiddle src=images/qq.gif>
	 <% if rs("qq")<>"" then %>
	  <a href="http://search.tencent.com/cgi-bin/friend/user_show_info?ln=<%=rs("qq")%>" target="_blank">QQ</a> 
	 <%
	 else
	 response.write "QQ"
	 end if
	 %>
	 </td>
	 <td align="center"> <img align=absmiddle border="0" src="images/url.gif"> 
	  <%if rs("url")<>"http://" then %>
	  <a href="<%=rs("url")%>" target="_blank">主页</a> 
	  <%
				  else
				  response.write "主页"
				  end if%>
	 </td>
	</tr>
   </table>
  </td>
 </tr>
 <tr align="center"> 
  <td colspan="5" class="table001"> 
   <table border="0" width="98%" cellspacing="0" cellpadding="2">
	<tr> 
	 <td width="100%" colspan="2" style="letter-spacing: 1" class="jnfont3"> 
	  <p style="line-height: 150%"><%=ubbcode(rs("nei"))%></p>
	 </td>
	</tr>
	<tr> 
	 <td width="92%" align="right" class="jnfont5"> [ 发表时间:<%=rs("t")%> ] </td>
	 <td width="8%"> 
	  <p align="center"><a href="gl.asp?id=<%=rs("id")%>"><img border="0" src="images/gl.gif" width="16" height="16" alt="管理"></a> 
	 </td>
	</tr>
   </table>
  </td>
 </tr>
</table>
<form name="form">
<div align=center>
  <input type="button" value="返回前页" OnClick="namosw_goto('backward')" class="input1" >
 </div>
</form>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>

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

</body>

</html>

⌨️ 快捷键说明

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