📄 main.asp
字号:
<!--#include file=conn.asp-->
<%
if session("username")="" then
response.write "<br><p align=center>您没有操作的权限</p>"
response.end
end if
%>
<html>
<link rel="stylesheet" href="../images/style.css">
<style type="text/css">
<!--
@import url("wsbs.css");
-->
</style>
</head>
<body bgcolor=#ccccff>
<div style="margin-top:10px;margin-left:40px">
<table border="1" width="500" id="table1" bgcolor=#ffffff bordercolorlight="#ccccff" cellspacing="0" cellpadding="3" bordercolordark="#ccccff">
<tr>
<td width="79" align="center">
<span style="font-size: 14px; font-weight: 700">系统时间</span></td>
<td style="font-size:14px"><%=formatdatetime(now(),1)%></td>
</tr>
<%if session("flag")>1 then%>
<tr>
<td width="79" align="center">
<span style="font-size: 14px; font-weight: 700">企业类型</span></td>
<td style="font-size:14px">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from qylb where lbid='"&session("lbid")&"'"
rs.open sql,conn,1,1
response.write rs("cotype")
rs.close
set rs=nothing
%>
</td>
</tr>
<tr>
<td width="79" align="center">
<span style="font-size: 14px; font-weight: 700">企业名称</span></td>
<td style="font-size:14px"><%=session("copname")%></td>
</tr>
<tr>
<td width="79" align="center">
<span style="font-size: 14px; font-weight: 700">法人代表</span></td>
<td style="font-size:14px"><%=session("faren")%></td>
</tr>
<%else%>
<tr>
<td width="79" align="center">
<span style="font-size: 14px; font-weight: 700">管理ID</span></td>
<td style="font-size:14px"><%=session("copname")%></td>
</tr>
<%end if%>
</table>
<br>
<div style=margin-top:5px>
<table border="1" width="500" id="table1" bgcolor=#ffffff bordercolorlight="#ccccff" cellspacing="0" cellpadding="3" bordercolordark="#ccccff">
<tr>
<td bgcolor=#ffffcc width="20" height="20" align="left">ID</td>
<td bgcolor=#ffffcc width=260 align=center>公告通知标题</td>
<td bgcolor=#ffffcc width=140 align=center>发布时间</td>
<td bgcolor=#ffffcc width=70 align=center>浏览次数</td>
</tr>
<%
set rs=server.createobject("adodb.recordset")
sql="select top 5 * from affiche where a_type=1 order by on_top,a_time desc"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
%>
<tr>
<td width="20" height="20" align="left"></td>
<td>暂时还没有任何办税公告</td>
<td></td>
<td></td>
</tr>
<%
else
i=0
do while not rs.eof
i=i+1
%>
<tr>
<td bgcolor=#ffffff width="10" height="20" align="left"><%=rs("id")%></td>
<td bgcolor=#ffffff><A href="affiche_view.asp?id=<%=rs("id")%>" <%if rs("on_top")=true then%>class="f4"<%end if%>><%=rs("a_title")%></A></td>
<td bgcolor=#ffffff><%=rs("a_time")%></td><td width=50 bgcolor=#ffffff><%=rs("see_count")%></td>
</tr>
<%
if i>=10 then exit do
rs.movenext
loop
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</table>
<table border="0" width="600" id="table4" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table border="0" width="500" id="table3" bgcolor=#efefef bordercolorlight="#808000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF" height="117">
<tr>
<td align="center" bgcolor=#ffffcc>
<p align="left"><span style="font-weight: 700; font-size: 14px"></span><font color="#d90000"><span style="font-size: 14px; font-weight: 700">使用说明:</span></font></td>
</tr>
<tr>
<td>
<ul type="square">
<li>
<p style="line-height: 150%"><span style="font-size: 14px">
您可以在"模板下载"栏下载与您所属企业类型相应的模板文档</span></li>
<li>
<p style="line-height: 150%"><span style="font-size: 14px">
或在上传文件时根据系统提供的相关模板文档进行下载</span></li>
<li>
<p style="line-height: 150%"><span style="font-size: 14px">
每年度提供的模板不尽相同,请及时下载最新的办税模板文件</span></li>
<li>
<p style="line-height: 150%"><span style="font-size: 14px">
已上传的文件如果未经审核,可以进行删除、重新上传</span></li>
<li>
<p style="line-height: 150%"><span style="font-size: 14px">
已上传文件由管理员审核后,则只可以下载查看</span></li>
<li>
<p style="line-height: 150%"><span style="font-size: 14px">
帐号维护可以修改登录密码和相关会员资料</span></li>
</ul>
</td>
</tr>
<tr>
<td bgcolor="#ffffcc"><span style="font-size: 14px"> <a href="mailto:webmaster@liuyangtax.gov.cn"><font color=#d90000>管理邮箱:webmaster@liuyangtax.gov.cn</a>
电话:3683829 </font></span></td>
</tr>
</table></div>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -