<%@ Import Namespace="Globals=Spaces.Globals" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Admin_Main" %>

<%@ Import Namespace="Spaces"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=Globals.Text["LayoutSettings_Title"]%></title>
<style type="text/css">
<!--
BODY {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: url(); PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY {
	FONT-SIZE: 12px
}
TD {
	FONT-SIZE: 12px
}
.menu_box_pad {
	PADDING-RIGHT: 2px;
	PADDING-LEFT: 2px;
	PADDING-BOTTOM: 2px;
	PADDING-TOP: 0px;
	background-color: #FFFFFF;
}
.menu_box {
	background-color: #FFFFFF;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #ababab;
	border-right-color: #d6d6d6;
	border-bottom-color: #d6d6d6;
	border-left-color: #ababab;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
}
.menu_box TH {
	BACKGROUND: url(menu_list_icon.gif) no-repeat center 50%; WIDTH: 10px; LINE-HEIGHT: 22px
}
.menu_box TD {
	BACKGROUND: url(menu_list_split.gif) no-repeat left bottom; LINE-HEIGHT: 20px
}
.menu_box A {
	COLOR: #000; TEXT-DECORATION: none
}
.menu_box A:hover {
	TEXT-DECORATION: underline
}
.hand {
	CURSOR: pointer
}
.ctrl_menu {
	BORDER-RIGHT: #767676 1px solid;
	BORDER-LEFT: #767676 1px solid;
	BORDER-BOTTOM: #767676 1px solid;
	background-image: none;
	background-color: #339900;
}
.ctrl_menu_title {
	PADDING-LEFT: 15px;
	FONT-WEIGHT: bold;
	LINE-HEIGHT: 25px;
	color: #FFFFFF;
}
.ctrl_menu_title_bg {
	background-image: url(menu_title_bg.gif);
}
.top_bg {
	BACKGROUND: url(top_bg.gif)
}
.logo_bg {
	BACKGROUND: url(logo_bg.gif)
}
.a01 A:link {
	COLOR: #000; TEXT-DECORATION: underline
}
.a01 A:visited {
	COLOR: #000; TEXT-DECORATION: underline
}
.a01 A:active {
	COLOR: #000; TEXT-DECORATION: none
}
.a01 A:hover {
	COLOR: #000; TEXT-DECORATION: none
}
#top_nav_menu {
	COLOR: #fff
}
#top_nav_menu A {
	COLOR: #fff; TEXT-DECORATION: none
}
#top_nav_menu A:hover {
	COLOR: #ff6; TEXT-DECORATION: underline
}
.spaceBetween {
	MARGIN-BOTTOM: 3px; WIDTH: 75%
}

 
.menu_box th{background:url('img/menu_list_icon.gif') no-repeat center;line-height:22px;width:10px}
.menu_box td{background:url('img/menu_list_split.gif') no-repeat left bottom;line-height:20px}
 
.ctrl_menu_title_bg{background:url('img/menu_title_bg.gif')}
.top_bg{background:url("img/top_bg.gif")}
.logo_bg{background:url("img/logo_bg.gif")}
 

-->
</style>
<script>
function $(_sId){
	return document.getElementById(_sId);
}
function exist(_sId){
	var oObj = $(_sId);
	return oObj != null ? oObj : false;
}
function dw(_sTxt){
	document.write(_sTxt);
}
function hide(_sId){
	$(_sId).style.display = $(_sId).style.display == "none" ? "" : "none";
}
function onlyShow(_sId, _iNum, _sPic, _sTxt1, _sTxt2){
	var i = 0;
	var oCurr = exist(_sId + i);
	while(oCurr){
		oCurr.style.display = "none";
		$(_sPic + i).src = _sTxt2;
		i++;
		oCurr = exist(_sId + i)
	}
	$(_sId + _iNum).style.display = "";
	$(_sPic + _iNum).src = _sTxt1;
}
function swapShow(_sId){
	var i = 0;
	var oCurr = exist(_sId + i);
	while(oCurr){
		hide(_sId + i);
		i++;
		oCurr = exist(_sId + i)
	}
}
function seekKey(_sKey){
	var i = 0;
	while(exist(_sKey + i)){
		i++;
	}
	return i;
}
function swapPic(_sId,_sAttr,_sTxt1, _sTxt2) {
	$(_sId)[_sAttr] = $(_sId)[_sAttr].indexOf(_sTxt1) > -1 ? _sTxt2 : _sTxt1;
}
function swap(_sId,_sAttr,_sTxt1, _sTxt2) {
	$(_sId)[_sAttr] = $(_sId)[_sAttr] == _sTxt1 ? _sTxt2 : _sTxt1;
}
function moveGif(_sId){
	swap(_sId,'className','marginLeft2','');
}
function moveStart(_sId){
	__tmp__time = setInterval("moveGif('" + _sId + "')",200);
}
function moveStop(_sId){
	clearInterval(__tmp__time);
	$(_sId).className = "marginLeft2";
}
function switchShow(){
	hide('left');
	swapPic('arrow','src','img/control_switch_up.gif','img/control_switch_up.gif');
	swapShow('hideLeft');
	swapShow('hideBody');
}
function scroll_to_top()
{
	document.body.scrollTop=0;
}
function mainFrameRedirect(url)
{
	oo = document.getElementById("mainFrame");
	oo.url = url;
}
</script>
</head>
<body>
<table width="100%"  border="0" cellpadding="0" cellspacing="0" id="bodyTable">
	<tr>
		<td height="84" align="left" valign="bottom" class="top_bg">
			<!--页面TOP头-->
			<table width="100%"  border="0" cellpadding="0" cellspacing="0">
				<tr>
					
          <td width="230" align="right" valign="bottom"> 
            <table width="220" border="0" cellspacing="0" cellpadding="0">
    						<tr>
      							<td height="50" align="center" class="logo_bg"></td>
    						</tr>
    						<tr>
      							<td onClick="switchShow()" class="hand" align="left"><img id="arrow" src="img/control_switch_up.gif" width="205" height="21" /></td>
    						</tr>
			</table>
				  </td>
				  <td align="left" valign="bottom">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
								<td height="30"  align="right">
  									<!--导航菜单-->
									<div id="top_nav_menu">
									<a  href="#"  runat="server" id=linkHomePage target="_blank">HOME</a>&nbsp;┆&nbsp;
           
        <asp:HyperLink ID="HomeLink" runat="server">我的首页</asp:HyperLink>
        &nbsp;┆&nbsp;<a  runat="server" target="mainFrame" href="AdminNav.aspx" ><%=Globals.Text["LayoutSettings_ControlPanel"]%></a>&nbsp;┆&nbsp;<a target="_blank" href="../bbs"><font color=red><b><%=Globals.Text["LayoutSettings_BBS"]%></b></font></a>&nbsp;┆&nbsp;<a target="help" href="#"><%=Globals.Text["LayoutSettings_Help"]%></a>&nbsp;┆&nbsp;<a  href='<%=Spaces.Globals.ApplicationPath %>/logout.aspx'><%=Globals.Text["LayoutSettings_LogOut"]%></a>&nbsp;&nbsp;
								  </div>
									<!--/导航菜单-->
								</td>
						  </tr>
							<tr>
								<td height="21">&nbsp;</td>
							</tr>
						</table>
				  </td>
				</tr>
			</table>
			<!--/页面TOP头-->
		</td>
	</tr>
</table>
<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
	<td id="left" width="230" valign="top"> 
      <table align="right" width="220" border="0" cellspacing="0" cellpadding="0">
			<tr>
				
          <td align="left" valign="top"> 
            <!-- 控制面板菜单 -->
            <table width="205"  border="0" cellspacing="0" cellpadding="0" class="ctrl_menu">
		
		  <tr>
			<td align="center">
			<!-- BLOG信息 -->
			<table width="195" border="0" cellspacing="0" cellpadding="0" class="ctrl_menu_title_bg">
              <tr class="hand" onClick="hide('hideMenuFunc2')">
                <td width="174" class="ctrl_menu_title">
                    <%=Globals.Text["LayoutSettings_SetLayout"]%></td>
                <td width="21"><img id='MenuFunc2' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_down.gif"></td>
              </tr>
              <tr id="hideMenuFunc2">
                <td align="left" colspan="2" class="menu_box_pad" >

					<table width="100%" border="0" cellspacing="5" cellpadding="0" class="menu_box">
                        <tr>
                          <th></th>
                          <td><a  target="mainFrame" href="PageSet.aspx"><%=Globals.Text["LayoutSettings_SetIntroduction"]%></a></td>
                        </tr>
                        <tr style="display:none">
                            <th>                            </th>
                            <td>
                            <a  target="mainFrame" href="SelectTemplate.aspx"><%=Globals.Text["LayoutSettings_SetInterface"]%></a>                            </td>
                        </tr>
                        <tr>
                            <th>                            </th>
                            <td>
                                <a href="SetTheme.aspx" target="mainFrame"><%=Globals.Text["LayoutSettings_InterfaceLayout"]%></a></td>
                        </tr>
                         <tr>
                            <th>                            </th>
                            <td>
                            <a  target="mainFrame" href="LayoutSettings.aspx"><%=Globals.Text["LayoutSettings_SpaceCategory"]%></a>                            </td>
                        </tr> <tr>
                            <th>                            </th>
                            <td>
                                <asp:HyperLink ID="LnkEditMode" runat="server" Target="_blank">设置空间的首页版式</asp:HyperLink></td>
                        </tr>
                        <tr>
                            <th>                            </th>
                            <td>
                                <a  target="mainFrame" href="UserList.aspx"><%=Globals.Text["LayoutSettings_AddCategory"]%></a></td>
                        </tr>
                       

                       
	                    <tr style="display:none">
	                      <th>&nbsp;</th>
	                      <td><a  href="AutoMenu.aspx" target="mainFrame"><%=Globals.Text["LayoutSettings_OrderMenu"]%></a></td>
	                    </tr>
                        <tr>
                            <th>                            </th>
                            <td><a  href="UserDefined.aspx" target="mainFrame"><%=Globals.Text["LayoutSettings_FriendLink"]%></a>                            </td>
                        </tr>
                    </table>				</td>
              </tr>
            </table>
			<!-- /BLOG信息 -->			</td>
		  </tr>
		  <tr height="5"><td></td></tr>
		  <tr>
			<td align="center">
			<!-- 个人信息 -->
			<table width="195" border="0" cellspacing="0" cellpadding="0" class="ctrl_menu_title_bg">
              <tr class="hand" onClick="hide('hideMenuFunc1')">
                <td width="174" class="ctrl_menu_title"><%=Globals.Text["LayoutSettings_SetProfile"]%></td>

                <td width="21"><img id='MenuFunc1' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_down.gif"></td>
              </tr>
              <tr id="hideMenuFunc1" style="display:none">
                <td align="left" colspan="2" class="menu_box_pad">
					<table width="100%" border="0" cellspacing="5" cellpadding="0" class="menu_box">
                      <tr>
                        <th>&nbsp;</th>
                        <td><a href="UpdateUser.aspx"  target="mainFrame"><%=Globals.Text["LayoutSettings_ReNewProfile"]%></a></td>
                      </tr>
                    </table>				</td>
              </tr>
            </table>
			<!-- /个人信息 -->			</td>
		  </tr>
		  <tr height="5"><td></td></tr>
		  <tr style="display:none">
			<td align="center">
			<!-- 个人服务 -->
			<table width="195" border="0" cellspacing="0" cellpadding="0" class="ctrl_menu_title_bg">
              <tr class="hand" onClick="hide('hideMenuFunc4')">
                <td width="174" class="ctrl_menu_title">
                    <%=Globals.Text["LayoutSettings_ManageAccount"]%></td>

                <td width="21"><img id='MenuFunc4' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_down.gif"></td>
              </tr>
              <tr id="hideMenuFunc4" style="display:none">
                <td align="left" colspan="2" class="menu_box_pad">
				<table width="100%" border="0" cellspacing="5" cellpadding="0" class="menu_box">
                    <tr>
                      <th>&nbsp </th>
                      <td><a target="mainFrame" ><%=Globals.Text["LayoutSettings_Refill"]%></a></td>
                    </tr>
                    <tr>
                      <th>&nbsp;</th>
                      <td><a ><%=Globals.Text["LayoutSettings_ConsumDetail"]%></a></td>
                    </tr>  <tr>
                      <th>&nbsp;</th>
                      <td><a ><%=Globals.Text["LayoutSettings_Point"]%></a></td>
                    </tr>
                </table>                </td>
              </tr>
            </table>
			<!-- /个人服务 -->			</td>
		  </tr>
		  <tr height="5"><td></td></tr>  <tr>
			<td align="center">
			<!-- 快速通道 -->
			<table width="195" border="0" cellspacing="0" cellpadding="0" class="ctrl_menu_title_bg">
              <tr class="hand" onClick="hide('hideMenuFunc0')">
                <td width="174" class="ctrl_menu_title">
                    <%=Globals.Text["LayoutSettings_SetBLOG"]%></td>

                <td width="21"><img id='MenuFunc0' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_up.gif"></td>
              </tr>
              <tr id="hideMenuFunc0">
                <td align="left" colspan="2" class="menu_box_pad" >
					<table width="100%" border="0" cellspacing="5" cellpadding="0" class="menu_box">
                      <tr>
                        <th>&nbsp;</th>
                        <td><a href="BlogCategory.aspx"  target="mainFrame"><%=Globals.Text["LayoutSettings_SetArticalCategory"]%></a></td>
                      </tr>
                      <tr>
                        <th>&nbsp;</th>
                        <td><a href="EditPost.aspx"  target="mainFrame"><%=Globals.Text["LayoutSettings_AddArtical"]%></a></td>
                      </tr>
                      <tr>
                        <th>&nbsp;</th>
						<td><a  href="PostList.aspx" target="mainFrame"><%=Globals.Text["LayoutSettings_DeleteArtical"]%></a></td>
                      </tr>
                      <tr>
                        <th>&nbsp;</th>
                        <td><a href="BlogSettings.aspx" target="mainFrame"><%=Globals.Text["LayoutSettings_SetCount"]%></a></td>
                      </tr>
                     
                        <tr>
                            <th>                            </th>
                            <td><a  href="FreeBack.aspx" target="mainFrame"><%=Globals.Text["LayoutSettings_ManageComments"]%></a>                            </td>
                        </tr>
                    </table>				</td>
              </tr>
            </table>
			<!-- /快速通道 -->			</td>
		  </tr>
		 <tr height="5"><td></td></tr>
		  <tr>
			<td align="center">
			<!-- 相册管理　 -->
			<table width="195" border="0" cellspacing="0" cellpadding="0" class="ctrl_menu_title_bg">
              <tr class="hand" onClick="hide('hideMenuFunc6')">
                <td width="174" class="ctrl_menu_title">
                    <%=Globals.Text["albumadmin_admin"]%></td>
                                 
                <td width="21"><img id='MenuFunc6' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_down.gif"></td>
              </tr>
              <tr id="hideMenuFunc6">
                <td align="left" colspan="2" class="menu_box_pad">
                <table width="100%" border="0" cellspacing="5" cellpadding="0" class="menu_box">
                    <tr>
                      <th>&nbsp;</th>
                      <td><a href="PhotoClassEdit.aspx" target="mainFrame" ><%=Globals.Text["albumadmin_new"]%></a></td>
                    </tr>
                    <tr>
                      <th style="height: 22px">&nbsp;</th>
                      <td style="height: 22px">
                             <a href="UploadPhoto.aspx" target="mainFrame" ><%=Globals.Text["albumadmin_upphoto"]%></a></td>
                    </tr>
              
                    <tr>
                      <th>&nbsp;</th>
                      <td>
                     <a href="AlbumList.aspx" target="mainFrame" ><%=Globals.Text["albumadmin_seephoto"]%></a>                      </td>
                    </tr>
                </table>				</td>
              </tr>
            </table>
			<!-- /相册管理 -->			</td>
		  </tr>
		  <tr height="5"><td></td></tr>
		  <tr>
			<td align="center">
			<!-- BLOG文章 -->
			<table width="195" border="0" cellspacing="0" cellpadding="0" class="ctrl_menu_title_bg">
              <tr class="hand" onClick="hide('hideMenuFunc3')">
                <td width="174" class="ctrl_menu_title">
                    <%=Globals.Text["LayoutSettings_SetUDrive"]%></td>
                                 
                <td width="21"><img id='MenuFunc3' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_down.gif"></td>
              </tr>
              <tr id="hideMenuFunc3">
                <td align="left" colspan="2" class="menu_box_pad">
                <table width="100%" border="0" cellspacing="5" cellpadding="0" class="menu_box">
                    <tr>
                      <th>&nbsp;</th>
                      <td><a href="GuestLimits.aspx" target="mainFrame" ><%=Globals.Text["LayoutSettings_ShareUDrive"]%></a></td>
                    </tr>
                    <tr>
                      <th style="height: 22px">&nbsp;</th>
                      <td style="height: 22px">
                              <asp:HyperLink ID="lnkSpaceManage" runat="server" Target="_blank" >上传|删除文件</asp:HyperLink></td>
                    </tr>
                    <tr>
                      <th>&nbsp;</th>
                      <td>
                          <asp:HyperLink ID="linkMusicBox" runat="server" Target="_blank">管理我的音乐盒</asp:HyperLink>                      </td>
                    </tr>
                    <tr style="display:none">
                      <th>&nbsp;</th>
                      <td>
                          <asp:HyperLink ID="linkAlbum" runat="server" Target="_blank">管理我的图库</asp:HyperLink>                      </td>
                    </tr>
                </table>				</td>
              </tr>
            </table>
			<!-- /BLOG文章 -->			</td>
		  </tr>
		  <tr height="5"><td></td></tr>
		  
		  
		</table>
	        <!-- /控制面板菜单 -->          </td>
			</tr>
		</table>	</td>
	<td align="center" valign="top"> 
      <div style="width:100%"  >
         <iframe width="100%" height="280" onunload="this.height=280;" onload="iframeResize();scroll_to_top();" frameborder="0" id="mainFrame" name="mainFrame" src="adminNav.aspx">您的浏览器不支持此功能，请您使用最新的版本。</iframe></div>	</td>
  </tr>
</table>
<br><br>
<script type="text/javascript">
<!--
function iframeResize()
{
	var dyniframe   = null;
	var indexwin    = null;

	if (document.getElementById)
	{
		dyniframe       = document.getElementById("mainFrame");
		indexwin        = window;

		if (dyniframe)
		{
			if (dyniframe.contentDocument)
			{
				dyniframe.height = dyniframe.contentDocument.body.scrollHeight + 10;
			}
			else if (dyniframe.document && dyniframe.document.body.scrollHeight)
			{
				iframeheight	= mainFrame.document.body.scrollHeight + 10;
				windowheight = indexwin.document.body.scrollHeight - 128;
				dyniframe.height = (iframeheight < windowheight) ? windowheight : iframeheight;
			}
		}
	}
}

if (window.addEventListener)
window.addEventListener("load", iframeResize, false)
else if (window.attachEvent)
window.attachEvent("onload", iframeResize)
else
window.onload=iframeResize



-->
</script>

    <asp:Literal ID="RedirectJs" runat="server"></asp:Literal>

</body>
</html>

