www.gusucode.com > 漂亮的地方旅游景点景观介绍网站源代码 > admin/menu.asp

    <!--#include file="config.asp" -->
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css">
<!--
.STYLE2 {font-weight: bold}
-->
</style>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>导航菜单</title>
<link href="inc/menu.css" rel="stylesheet" type="text/css" />
<script src="inc/menu.js" language="javascript"></script>
<style type="text/css">
<!--
a:link {
color: #2E5B89;
}
a:visited {
color: #2E5B89;
}

a:hover {
color: #CC0000;
}
body {
background-color: #39A8EA;
}
-->
</style>
</head>

<BODY>
<!-- CODE BY icewolf -->
<table width="156" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>

<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><img src="/images/admin/top_01.gif" width="156" height="38" /></td>
</tr>
<tr>
<td height="90" background="/images/admin/top_03.gif"><table width="92%" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#F9F9F9">
<tr>
<td><strong><a href="main.asp" target="main">&nbsp;网站管理首页</a> <span class="STYLE1">|</span> <a href="check.asp?action=out" target="_parent">退出</a></strong></td>
</tr>
<tr>
<td style="line-height:20px;" >&nbsp;当前用户:<%= request.cookies(fmid)("admin_name") %><br />
&nbsp;当前IP:<%= userip() %><br>
&nbsp;<span class="STYLE2"><a href="sys/admin.asp?action=ed&id=<%= request.cookies(fmid)("admin_id") %>" target="main">修改资料</a> | <a href="sys/admin.asp?action=modpsw&id=<%= request.cookies(fmid)("admin_id") %>" target="main">修改密码</a></span><br>

<% If instr(request.cookies(fmid)("qx2"),",1,")>0 Then %>
&nbsp;<a href="menu1.asp"><strong>管理模式</strong></a>
<% End If %>

</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><img src="/images/admin/top_04.gif"/></td>
</tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<%
dim i,rs1
i=1
set rs=conn.execute("select * from Jw_menus where fid=0 order by zd desc,qz asc")
do while not rs.eof 
%>
<div id="parent<%= i %>" style="display='block'">
<table width="156" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td width="137" height="25" background="/images/admin/left_background_01.gif" class="c215DC6"><a href="#" onClick="expand(<%= i %>);return true;"><font color="#FFFFFF"><%= rs("mc") %></font></a></td>
<td width="19" background="/images/admin/left_background_01.gif" class="rrr"><img src="/images/admin/1.gif" name="img1" width="26" height="22" border="0" id="img<%= i %>" style="cursor:hand;" onClick="expand(<%= i %>);return true;"></td>
</tr>
</table>
</div>
<div id="child<%= i %>" style="display:none;">
<table width="156" border="0" cellspacing="0" cellpadding="0">
<tr> 
<td width="1" bgcolor="#2A4DAB"></td>
<td width="154" bgcolor="FAFAFA">
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
<%
set rs1=conn.execute("select * from Jw_menus where fid="&rs("id")&" order by zd desc,qz asc")
do while not rs1.eof 
%>
<tr>
<td style="border-bottom:#A8EAFB dashed 1px;"><a href="<%= rs1("link") %>" target="main"><%= rs1("mc") %></a></td>
</tr>
<%
rs1.movenext
loop
call recordend(rs1)
%>
</table>
</td>
<td width="1" bgcolor="#2A4DAB"></td>
</tr>
<tr bgcolor="#2A4DAB"> 
<td colspan="3" height="1"></td>
</tr>
</table>
</div>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="2"></td>
</tr>
</table>
<%
i=i+1
rs.movenext
loop
call recordend(rs)
%>
</body>
</html>
<% call connend() %>