?? showcount.asp
字號:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
if Request.Cookies("globalec")("globalecmaster")="" or Request.Cookies("globalec")("masterflag")="" then
response.write "<script language='javascript'>"
response.write"this.location.href='../login.asp';</SCRIPT>"
response.end
end if
if instr(Request.Cookies("globalec")("masterflag"),"41")=0 then
response.redirect "../err.asp"
response.end
end if
%>
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<link rel="stylesheet" type="text/css" href="../style.css">
<STYLE type=text/css>
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #F2EDAA;
}
BODY,TD{color:#000;font-size:14.8px;font-family:宋體}
A.top{color:#ffffff;font-size:12px}
A:LINK{color:#039;}
A:VISITED{color:#909;}
A:HOVER{color:#f60;}
.A1{color:#000000;font-size:12px}
.A1:LINK{color:#039;text-decoration: none}
.A1:HOVER{color:#f60;text-decoration: underline }
.A1:VISITED{color:#909;text-decoration: none}
.RD{color:#900000;font:bold 14.8px 宋體}
.YL{color:#ff0;font:bold 12px 宋體}
.GR{color:#999;font-size:14.8px}
.WH{color:#FFF;font:bold 14.8px 宋體}
.WH:LINK{color:#FFF;font:bold 14.8px 宋體}
.WH:VISITED{color:#FFF;font:bold 14.8px 宋體}
.WH:HOVER{color:#f60;font:bold 14.8px 宋體}
.WHS{color:#FFF;font:12px 宋體}
.WHS:LINK{color:#FFF;font:12px 宋體}
.WHS:VISITED{color:#FFF;font:12px 宋體}
.WHS:HOVER{color:#f60;font:12px 宋體}
.YLM{color:#ff0;font:bold 14.8px 宋體}
.BUY{color:#fc9603;font:bold 14.8px 宋體}
.SELL{color:#00cc00;font:bold 14.8px 宋體}
.COOP{color:#851b91;font:bold 14.8px 宋體}
.AGENT{color:#cc00ff;font:bold 14.8px 宋體}
.ERROR{color:#f00;font:bold 14.8px 宋體}
.NO{color:900000;font-size:12px;}
.STAR{color:#f00;font-size:12px;}
.X{font-size:24px;font-weight:bold;}
.L{font-size:16px;font-weight:bold;}
.M{font:bold 14.8px 宋體}
.C{font-size:14.8px}
.S{font-size:12px}
.text13 {COLOR: #000; FONT: 13px "宋體";}
.text13:link {COLOR: #000; FONT: 13px 宋體;}
.text13:visited {COLOR: #000; FONT: 13px 宋體; }
.text13:hover {COLOR: #000; FONT: 13px 宋體; }
.LM{line-height:130%}
.LL{line-height:150%}
SELECT{font-size:12px}
INPUT{font-size:12px}
TEXTAREA{font-size:12px}
<!------------OLD CSS--------->
.f11{font-size:14.9px}
.f1{font-size:10px}
.f2{font-size:12px}
.f3{font-size:16px}
.f4{font-size:18px}
.f5{font-size:24px}
.f6{font-size:31px}
.lh13{line-height:130%}
.lh15{line-height:150%}
.lh17{line-height:170%}
.style1 {font-size: 14px}
</STYLE>
<body>
<%
dim vipinfo_id
vipinfo_id=request("vipinfo_id")
dim sql
dim rs
%>
<%
sql="select * from vipinfo where vipinfo_id="+cstr(vipinfo_id)+" order by vipinfo_id desc"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<p align='center'>對不起,沒有您要查詢的信息</p>"
else
showContent
rs.close
end if
set rs=nothing
conn.close
set conn=nothing
sub showContent
%>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" class="Subject1"> <br>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><br>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><span class="style1"><font color="#079807">【<%=rs("viptype")%>】</font><%=rs("vipshowname")%></span></div></td>
</tr>
</table>
<br>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="22%"><span class="f2">價格:<%=rs("vippricetems")%></span></td>
<td width="32%"><span class="f2">采購時限:<%=rs("vipperiod")%> </span></td>
<td width="46%"><span class="f2">發布時間:<%=FormatDate(rs("dateandtime"),2)%></span></td>
</tr>
</table>
<br><br> <table width="100%" border="0" cellpadding="5" cellspacing="5" bgcolor="#F7F7F7">
<tr>
<td colspan="2" align="left" class="lh15"><%=rs("vipcontent")%></td>
</tr>
</table> <br>
<br></td>
</tr>
</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td width="18%" height="25"> <div align="left" class="f2">公司名稱:</div></td>
<td colspan="3"> <div align="left" class="f2"><%=rs("gsmc")%><br>
</div></td>
</tr>
<tr>
<td height="25"> <div align="left" class="f2">公司地址:</div></td>
<td colspan="3"><div align="left" class="f2"><%=rs("gsdz")%></div></td>
</tr>
<tr>
<td height="20"> <div align="left" class="f2">聯 系 人:</div></td>
<td width="36%"> <div align="left" class="f2"><%=rs("lxr")%></div></td>
<td width="18%"><span class="f2">電子郵件:</span></td>
<td width="28%"><span class="f2"><%=rs("email")%></span></td>
</tr>
<tr>
<td height="20"><span class="f2">聯系電話:</span></td>
<td><span class="f2"><%=rs("phone")%></span></td>
<td><span class="f2">傳 真:</span></td>
<td><span class="f2"><%=rs("fax")%></span></td>
</tr>
<tr>
<td height="20"><span class="f2">郵政編碼:</span></td>
<td><span class="f2"><%=rs("post")%></span></td>
<td><span class="f2">區 域:</span></td>
<td><span class="f2"><%=rs("city")%></span></td>
</tr>
<tr>
<td height="20"><span class="f2">公司網站:</span></td>
<td colspan="3"><span class="f2"><%=rs("weburl")%></span></td>
</tr>
</table>
<br>
<div align="center"><input type="button" name="close" value="關閉窗口" onclick="javascript:window.close();" style="font-size:14.8px">
</div><br></td>
</tr>
</table> </td>
</tr>
</table>
<%
end sub
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -