📄 subscibemagazine.asp
字号:
<!--#include file=../conn.asp-->
<!--#include file="top.asp"-->
<!--#include file=cookies.asp-->
<%
dim sql
dim rs
dim username
dim newsLetter
username=request.cookies("ijob")("username")
set rs=server.createobject("adodb.recordset")
sql="select UserName,zazhi from [company] where UserName='"&username&"'"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "错误,该用户不存在!<br> "
response.end
end if
newsLetter=rs("zazhi")
rs.close
conn.close
set rs=nothing
set conn=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>订阅杂志</title>
<link rel="stylesheet" type="text/css" href="../1.css">
</head>
<body topmargin="0" leftmargin="0">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="778" height="85">
<tr>
<td width="171" height="90" valign="top">
<p align="left"><!--#include file="left.asp"--></td>
<td width="82" height="85"> </td>
<td width="496" height="85" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="143">
<tr>
<td width="100%" height="12"></td>
</tr>
<tr>
<td width="100%" height="30">
<p align="center">当前状态:<%if newsLetter=0 then%><font color="#FF0000"><b>没有订阅</b></font><%else%><b><font color="#FF0000">你已经订阅杂志了!</font></b><%end if%></td>
</tr>
<tr>
<td width="100%" height="15">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%"><%if newsLetter=0 then%><font color="#FF0000"><b><a href="SubscibeMagazinechk.asp?oo=1"><font color="#124FED"><li>太好了,我要</font><font color="#F06000">订阅</font><font color="#124FED">杂志!</font></a></b></font><%else%><b><font color="#FF0000"><a href="SubscibeMagazinechk.asp?oo=0"><li><font color="#124FED">垃圾多,我要</font><font color="#F06000">取消</font><font color="#124FED">订阅!</font></a></font></b><%end if%></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
<tr>
<td width="100%" height="15"></td>
</tr>
</table>
</td>
<td width="29" height="85"> </td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="778">
<tr>
<td width="100%">
<p align="center"><!--#include file="copyright.asp"--></td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -