📄 bestshow.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file=const.asp -->
<!--#include file="ubb.asp"-->
<!--#include file="userInfo.inc"-->
<%
dim xxid, exec, rs
xxid=replace(trim(request("id")),"'","")
if xxid="" or not isnumeric(xxid) then
session("error")="非法访问!"
connclose()
response.redirect "error.asp"
end if
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><%=sitetitle%></title>
<META name="Author" content="木鸟">
<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%"> </td>
</tr>
</table>
<table style="table-layout:fixed" border="0" width="650" cellspacing="0" cellpadding="3" align="center" class="table004">
<tr class=table003>
<td>
<table cellpadding=2 cellspacing=0 border=0 style="table-layout:fixed;word-break:break-all">
<td width="25">
<img border=0 align=absmiddle src=images/jh.gif >
</td>
<td width="*" class="jnfont5" >
<img border="0" src="images/<%=rs("pic")%>">
<%
response.write rs("title")
userNameNoFace showFace,rs("name"),rs("bl"),isMaster(rs("name"))
%>
</td>
<td width="150" align="right">
<%
userEmail(rs("email"))
userIcq(rs("icq"))
userMsn(rs("msn"))
userQQ(rs("qq"))
userUrl(rs("url"))
%>
</td></tr>
</table>
</td>
</tr>
<tr align="center">
<td class="table001">
<table border="0" width="100%" cellspacing="0" cellpadding="2" style="table-layout:fixed;word-break:break-all">
<tr valign=top>
<%
userNameFace showFace,rs("name"), rs("face"), rs("male"),rs("bl"),isMaster(rs("name"))
%>
<td width="*" style="letter-spacing:1px;line-height:140%" class="jnfont3" >
<%=ubbcode(rs("nei"))%>
</td>
</tr>
</table>
<table width=100% >
<tr>
<td width="86%" align="right" class="jnfont6"> [ 发表时间:<%=rs("t")%> ]
</td>
<td width="14%">
<% if theUser.reged then %>
<a href="edit.asp?id=<%=rs("id")%>"><img src="images/edit.gif" width="13" height="15" border="0" alt="编辑"></a>
<% else %>
<img src="images/edit-gray.gif" width="13" height="15" border="0" alt="编辑">
<% end if
if theUser.master then %>
<a href="admin_post.asp?id=<%=rs("id")%>"><img border="0" src="images/gl.gif" width="16" height="16" alt="管理"></a>
<% userIp rs("ip"),rs("comefrom") %>
<% else %>
<img border="0" src="images/gl-gray.gif" width="16" height="16" alt="管理">
<img src=images/ip.gif align=absmiddle alt="IP:☆保密☆ 来源:☆保密☆">
<% end if %>
<a href="#"><img src="images/gotop.gif" width="15" height="15" border="0" 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="foot.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -