
<!--#include file="../Inc/Conn.asp"-->
<%
if session("AdminName") = "" then
    response.Redirect "Login.asp"
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=Dream_SiteName & "--后台管理"%></title>
<script language="javascript" src="js/main.js"></script>
<script language="javascript"> 
<!--
if(top.location!=self.location) top.location=self.location;
 
var tlists, timages;
 
function myobj_load()
{
  tlists = get_id("lists");
  timages = get_id("images");
}
 
function startscroll(strt, strnum)
{
  var tmpbase=5;
  if (strt == "up") tmpbase = -tmpbase;
  scrolling(tmpbase, strnum, 0);
}
 
function scrolling(strnum, strk, strn)
{
  if (strn >= strk) return;
  parent.list.window.scrollBy(0, strnum);
  setTimeout("scrolling("+strnum+", "+strk+", "+(strn+1)+")", 15);
}
 
function switch_menu()
{
  var tmpstyle = 'none';
  var tmpimg = 'images/smenub.gif';
  if (tlists.style.display == "none")
  {
    tmpstyle = '';
    tmpimg = 'images/smenua.gif';
  }
  tlists.style.display = tmpstyle;
  timages.src = tmpimg;
}
//-->
</script>
<style type="text/css">
<!--
body{ margin:0px; font-size:12px; color:#31659c; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center; background:#990000;}
#container{ width:100%; height:auto;}
.logo{ float:left; padding:10px; height:50px; line-height:50px; color:#FFFFCC; font-family:"微软雅黑"; font-size:30px;}
.menu{ float:right; height:30px; line-height:30px; margin-top:25px; font-size:12px; color:#FFFFCC; padding-right:15px;}
a:link {
	color: #FFFFCC;
	text-decoration: none;
}
a:visited {
	color: #FFFFCC;
	text-decoration: none;
}
a:hover {
	color: #000000;
	text-decoration: none;
}
a:active {
	color: #FFFFCC;
	text-decoration: none;
}
-->
</style>
</head>

<body onLoad="myobj_load()" scroll="no">
<table border="0" width="100%" height="100%" cellSpacing="0" cellPadding="0">
  <tr>
    <td width="100%" height="60" background="images/top_bg.jpg" valign="top">
		<div class="logo"><%=Dream_SiteName%></div>
		<div class="menu">欢迎管理员：<%=session("AdminName")%>&nbsp;&nbsp;&nbsp;&nbsp;<a href="admin_index_main.asp" target="main">管理首页</a> | <a target="_top" href="Loginout.asp">安全退出</a></div>      
    </td>
  </tr>
  <tr>
    <td width="100%" height="*">
      <table border="0" width="100%" height="100%" cellSpacing="0" cellPadding="0">
        <tr width="100%" height="100%">
          <td width="163" id="lists" name="lists"><iframe id="list" name="list" src="Admin_Index_Left.asp" frameborder="0" scrolling="no" width="100%" height="100%"></iframe></td>
          <td width="10" class="tmenus">
            <table height="100%" cellSpacing="0" cellPadding="0" width="10" border="0">
              <tr align="middle">
                <td onClick="javascript:startscroll('up',30);" height="20"><img src="images/up.gif" width="10" border="0" style="cursor:pointer;" alt="向上"></td>
              </tr>
              <tr align="middle">
                <td height="*" align="center" onClick="switch_menu();"><img id="images" name="images" src="images/smenua.gif" width="10" border="0"></td>
              </tr>
              <tr align="middle">
                <td onClick="javascript:startscroll('down',30);" height="20"><img src="images/down.gif" width="10" border="0" style="cursor:pointer;" alt="向下"></td>
              </tr>
            </table>
          </td>
          <td width="*"><iframe name="main" src="Admin_Index_main.asp" frameborder="0" scrolling="auto" width="100%" height="100%"></iframe></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>
