<?php include("admin.php"); ?>
<html>
<head>
<title>新艺点音乐工作室-管理面版</title>
<meta name="description" content="新艺点音乐工作室">
<meta name="keywords" content="新艺点音乐工作室">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/admin/Css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	background-color: #333333;
}
.STYLE1 {
	color: #FFFFFF;
	font-weight: bold;
}
-->
</style></head>
<script>
function closewin() {
   if (opener!=null && !opener.closed) {
      opener.window.newwin=null;
      opener.openbutton.disabled=false;
      opener.closebutton.disabled=true;
   }
}

var count=0;//做计数器
var limit=new Array();//用于记录当前显示的哪几个菜单
var countlimit=3;//同时打开菜单数目，可自定义

function expandIt(el) {
   obj = eval("sub" + el);
   if (obj.style.display == "none") {
      obj.style.display = "block";//显示子菜单
      if (count<countlimit) {//限制2个
         limit[count]=el;//录入数组
         count++;
      }
      else {
         eval("sub" + limit[0]).style.display = "none";
         for (i=0;i<limit.length-1;i++) {limit[i]=limit[i+1];}//数组去掉头一位，后面的往前挪一位
         limit[limit.length-1]=el;
      }
   }
   else {
      obj.style.display = "none";
      var j;
      for (i=0;i<limit.length;i++) {if (limit[i]==el) j=i;}//获取当前点击的菜单在limit数组中的位置
      for (i=j;i<limit.length-1;i++) {limit[i]=limit[i+1];}//j以后的数组全部往前挪一位
      limit[limit.length-1]=null;//删除数组最后一位
      count--;
   }
}
</script>
<body background="../images/admin/Mypic_top10.gif" leftmargin="10" topmargin="10" marginwidth="10" marginheight="10" >

<div id="main1" onclick=expandIt(1)>
  <table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr></tr>
    <tr> 
      <td>&nbsp;</td>
    </tr>
  </table>
  <table width="160" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#666666">
    <tr> 
        
      <td height="30" align="center" background="../images/admin/Mypic_top8.gif">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#333333">
          <tr>
            <td><span class="STYLE1"> 
              系统设置</span></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
  <div id="sub1" style="display:none"> 
    
  <table width="160" border="0" align="center" cellpadding="0" cellspacing="4">
    <tr> 
        <td><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#666666">
          <tr> 
            <td align="center" bgcolor="#333333"> <a href="../index.php" target="_blank">预览首页</a> 
            </td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#333333"><a href="main.php" target="content">系统状态</a> 
            </td>
          </tr>          <tr> 
            <td align="center" bgcolor="#333333"><a href="admin_setting.php" target="content">基本设置</a> 
            </td>
          </tr>
		  
        </table></td>
    </tr>
    </table>

</div>
<table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td valign="top" height="4"></td>
  </tr>
</table>

<div id="main2" onclick=expandIt(2)>
    
  <table width="160" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#666666">
    <tr> 
        
      <td height="30" align="center" background="../images/admin/Mypic_top8.gif">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#333333">
          <tr>
            <td><span class="STYLE1"> 
              舞曲管理</span></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
  <div id="sub2" style="display:none"> 
    
  <table width="160" border="0" align="center" cellpadding="0" cellspacing="4" >
    <tr> 
        <td><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#666666">
          <tr> 
            <td align="center" bgcolor="#333333"> <a href="content_add.php" target="content">添加舞曲</a> 
            </td>
          </tr>
          <tr> 
            <td align="center" bgcolor="#333333"><a href="content_show.php" target="content">舞曲管理</a></td>
          </tr>
        </table></td>
    </tr>
    </table>

</div>
  <div id="main4" onclick=expandIt(4)>
    
  <table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr></tr>
  </table>
</div>
  <div id="sub4" style="display:none"> 
    

</div>
  <div id="main15" onclick=expandIt(15)></div>
  <div id="sub15" style="display:none"> 
    
  <table width="160" border="0" align="center" cellpadding="0" cellspacing="4">
    <tr> 
        <td><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#666666">
          <tr> 
            <td align="center" bgcolor="#333333"> <a href="yq_view.php" target="content">查看链接</a></td>
          </tr>
		            <tr> 
            <td align="center" bgcolor="#333333"> <a href="yq_new.php" target="content">添加站点</a></td>
          </tr>
        </table></td>
    </tr>
    </table>

</div>
<table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td valign="top" height="4"></td>
  </tr>
</table>
<div id="main16" onclick=expandIt(16)>
    
  <table width="160" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#666666">
    <tr> 
        
      <td height="30" align="center" background="../images/admin/Mypic_top8.gif">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#333333">
          <tr>
            <td><span class="STYLE1">管理员设置</span></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
  <div id="sub16" style="display:none"> 
    
  <table width="160" border="0" align="center" cellpadding="0" cellspacing="4">
    <tr> 
        <td><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="666666">
          <tr> 
          <tr> 
            <td align="center" bgcolor="#333333"> <a href="admin_show.php" target="content">后台用户</a> 
            </td>
          </tr>
        </table></td>
    </tr>
    </table>

</div>
<table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td valign="top" height="4"></td>
  </tr>
</table>
<div id="main17" onclick=expandIt(17)>
    
  <table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr></tr>
  </table>
</div>
  <div id="sub17" style="display:none"> 
    

</div>
</body>
</html>