gglist.asp
来自「吻宇考试管理系统源码 吻宇考试管理系统源码」· ASP 代码 · 共 63 行
ASP
63 行
<!--#include file="conn.asp"-->
<%dim id,sql,rs
id=request.querystring("id")
sql="select * from gonggao where id="&id
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,2,3
rs("hit")=rs("hit")+1
rs.update
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>吻宇考试管理系统公告</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #FFFFFF;
text-decoration: none;
}
a:hover {
color: #FFFFFF;
text-decoration: none;
}
a:active {
color: #FFFFFF;
text-decoration: none;
}
-->
</style></head>
<body>
<table width="350" align="center" cellpadding="1" cellspacing="1" bgcolor="#67B0ED">
<tr>
<td bgcolor="#FFFFFF"><div align="center">主题:<%=rs("title")%> 点击:<%=rs("hit")%></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><%=rs("neirong")%></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="349" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="167"> </td>
<td width="182">发布人:<%=rs("user")%></td>
</tr>
<tr>
<td> </td>
<td> 发布时间:<%=rs("date")%></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?