<html>
<head>
<title>TOM21闪游吧管理</title>
<base target=main>
<style type=text/css>
body  {  margin:0px; font:9pt 宋体; }
table  { border:0px; }
td  { font:normal 12px 宋体; }
img  { vertical-align:bottom; border:0px; }
a  { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover  { color:#428EFF;text-decoration:underline; }
.sec_menu  { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title  { }
.menu_title span  { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2  { }
.menu_title2 span  { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<script language=javascript src="../inc/mouse_up.js"></script>
<SCRIPT language=javascript1.2>
function showsubmenu(sid)
{
whichEl = eval("submenu" + sid);
if (whichEl.style.display == "none")
{
eval("submenu" + sid + ".style.display=\"\";");
}
else
{
eval("submenu" + sid + ".style.display=\"none\";");
}
}
</SCRIPT>


<%
REM 管理栏目设置
dim menu(4,11)
menu(0,0)="Flash管理"
menu(1,0)="用户管理"
menu(2,0)="其他管理"
menu(3,0)="站点配置"
menu(4,0)="ACCESS数据库"
'---------------------------------------------Flash管理
'***************
menu(0,1)="<a href='admin_class.asp?nsort=flash'>分类管理</a>"
menu(0,2)="<a href='admin_flash.asp?action=add'>Flash添加</a>"
menu(0,3)="<a href='admin_flash.asp'>Flash管理</a>"

'---------------------------------------------用户管理
menu(1,1)="<a href=admin_author.asp>联盟作者管理</a>"
menu(1,2)="<a href=admin_admin.asp?action=add>管理员添加</a>"
menu(1,3)="<a href=admin_admin.asp>管理员管理</a>"
menu(1,4)="<a href=admin_admin.asp?action=myedit&admin="&session("admin")&">修改我的密码</a>"


'---------------------------------------------其他管理

menu(2,1)="<a href='admin_link.asp?action=add'>添加友情链接</a>"
menu(2,2)="<a href='admin_link.asp'>友情链接管理</a>"
menu(2,3)="<a href='admin_guestbook.asp'>访客留言管理</a>"
menu(2,4)="<a href='admin_wish.asp'>网友点播管理</a>"
menu(2,5)="<a href='admin_clearvote.asp' onclick=""javascript:if(confirm('是否真的要清零所有的投票？\n\n系统提示：清零后不可恢复...')){return true;}else{return false;}"">投票清零</a>"
menu(2,6)="<a href='admin_comment.asp'>评论管理</a>"
menu(2,7)="<a href='admin_announce.asp?action=add'>公告添加</a> | <a href='admin_announce.asp'>管理</a>"
menu(2,8)="<a href='make_typeall.asp?type=all&zzyy=1'>生成HTML文件</a>"

'---------------------------------------------站点配置
menu(3,1)="<a href='admin_config.asp'>配置修改</a>"

'---------------------------------------------ACCESS数据库
menu(4,1)="<a href=admin_DataBackup.asp>数据库备份</a>"
menu(4,2)="<a href=admin_DataRestore.asp>数据库恢复</a>"
menu(4,3)="<a href=admin_sql.asp>执行SQL</a>"
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<BODY bgcolor="#0066CC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%
if session("admin")="" then
  response.write "请先登陆！<br>[<a href='admin_login.asp' target='_top' title='点这里登陆...'><font color=#FFFFFF>点这里登陆</font></a>]"
  response.end
end if
%><table width=100% cellpadding=0 cellspacing=0 border=0 align=left>
<tr><td valign=top>
<table cellpadding=0 cellspacing=0 width=158 align=center>
  <tr>
        <td height=42 valign=bottom> 
		<img src="../images/admin/title.gif" width=158 height=38> 
        </td>
  </tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
  <tr>
        <td height=25 class=menu_title  onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=../images/admin/title_bg_quit.gif  > 
          <span><a href="../admin_main.asp" ><b>管理首页</b></a> | 
			<a href=../admin_login.asp?action=logout target=_top><b>退出</b></a></span> 
        </td>
  </tr>
</table>
	<table width="100%" border="3" cellpadding="2" cellspacing="2">
	 <tr><td><div align="center"><font color="#FFFFFF"><b>欢迎您：<%=session("admin")%></b></font></div></td>
		<td><div align="center">
		<font color="#FFFFFF">

		</font>  
		</div></td>
	</tr>
</table>
<%
	dim j,i
	dim tmpmenu
	dim menuname
	dim menurl
for i=0 to ubound(menu,1)
%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
  <tr>
        <td height=25 class=menu_title  onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/admin/admin_left_<%=i+1%>.gif" id=menuTitle1 onclick="showsubmenu(<%=i%>)"> 
          <span><%=menu(i,0)%></span> </td>
  </tr>
  <tr>
    <td style="display:" id='submenu<%=i%>'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
	<%
	for j=1 to ubound(menu,2)
	if isempty(menu(i,j)) then exit for
	%>
<tr><td height=20><%=menu(i,j)%></td></tr>
<%
	next
%>
</table>
	  </div>
<div  style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr><td height=20></td></tr>
</table>
	  </div>
	</td>
  </tr>
</table>
<%next%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
  <tr>
        <td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="../images/admin/admin_left_9.gif" id=menuTitle1> 
          <span>版权所有</span> </td>
  </tr>
  <tr>
    <td>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>

<tr><td height=20>&nbsp;<br>
                  版权所有：TOM21闪游吧<br>
                  <br>
                  程序制作：<a href="#" title="名泉的OICQ：28289789">TOM21闪游吧</a> <br>
                  <br>
                  技术支持：TOM21闪游吧 
                  <BR>
                  <BR>
                  <BR>
</td></tr>

</table>
	  </div>
	</td>
  </tr>
</table>
</body>
</html>

