<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Manage_Main" %>

<%@ Import Namespace="Globals=Spaces.Globals" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>控制面板</title>
<style type="text/css">
<!--
body{margin:0;padding:0;}
body, td{font-size:12px}
.menu_box_pad{background:#fdf9d5;padding:0 2px 2px 2px}
.menu_box{border-top:1px solid #ababab;border-left:1px solid #ababab;border-right:1px solid #d6d6d6;border-bottom:1px solid #d6d6d6}
.menu_box th{background:url('<%=Globals.ApplicationPath %>/images/admin/menu_list_icon.gif') no-repeat center;line-height:22px;width:10px}
.menu_box td{background:url('<%=Globals.ApplicationPath %>/images/admin/menu_list_split.gif') no-repeat left bottom;line-height:20px}
.menu_box a{text-decoration:none;color:#000}
.menu_box a:hover{text-decoration:underline}
.hand{cursor:hand;cursor:pointer}
.ctrl_menu{border-left:1px solid #767676;border-bottom:1px solid #767676;border-right:1px solid #767676;background:#ffcf60}
.ctrl_menu_title{padding-left:15px;font-weight:bold;line-height:25px}
.ctrl_menu_title_bg{background:url('<%=Globals.ApplicationPath %>/images/admin/menu_title_bg.gif')}
.top_bg{background:url("<%=Globals.ApplicationPath %>/images/admin/top_bg.gif")}
.logo_bg{background:url("<%=Globals.ApplicationPath %>/images/admin/logo_bg.gif")}
#top_nav_menu {color:#257227}
#top_nav_menu a{text-decoration:none;color:#fff}
#top_nav_menu a:hover{text-decoration:underline;color:#ff5}
form {margin:0px;}

-->
</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','<%=Globals.ApplicationPath %>/images/admin/control_switch_up.gif','<%=Globals.ApplicationPath %>/images/admin/control_switch_down.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="left" class="logo_bg"></td>
    						</tr>
    						<tr>
      							<td onClick="switchShow()" class="hand" align="left"><img id="arrow" src="<%=Globals.ApplicationPath %>/images/admin/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">
									&nbsp;</div>
									<!--/导航菜单-->
								</td>
							</tr>
							<tr>
								<td height="21">
                                   <form id="Form1" runat="server">
								<asp:LinkButton ID="lbtnLogout" runat="server" OnClick="lbtnLogout_Click">退出管理</asp:LinkButton></form></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">
			<!-- 快速通道 -->
			<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["userlist_usermanage"]%></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 onClick="scroll_to_top()" href="UserList.aspx" target="mainFrame"><%=Globals.Text["userlist_usermanage"]%></a></td>

                      </tr>
                        <tr>
                            <th>
                            </th>
                            <td>
                               <a href="UserInAlphabetical.aspx" onClick="scroll_to_top()" target="mainFrame"><%=Globals.Text["userin_userdirectory"]%></a></td>
                        </tr>
                        <tr>
                            <th>
                            </th>
                            <td><a onClick="scroll_to_top()" href="FindUser.aspx" target="mainFrame"><%=Globals.Text["find_searchusers"]%></a>
                            </td>
                        </tr>
                    </table>
				</td>
              </tr>
            </table>
			<!-- /快速通道 -->
			</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["partinfo_plug-in"]%> <%=Globals.Text["partinfo_modules"]%> <%=Globals.Text["partinfo_manage"]%></td>

                <td width="21">
                <img id='MenuFunc1' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_up.gif"></td>
              </tr>
              <tr id="hideMenuFunc1">
                <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="PartInfo.aspx" target="mainFrame"><%=Globals.Text["partinfo_modulemanage"]%></a></td>

                      </tr>
                      <tr>
                        <th>&nbsp;</th>
						<td><a href="PlugInfo.aspx"   target="mainFrame"><%=Globals.Text["partinfo_plugin"]%></a></td>
                      </tr>
                     
                        <tr  style="display:none">
                            <th>
                            </th>
                            <td>
                               <a href="PartInfo.aspx"   target="mainFrame"> <%=Globals.Text["partinfo_skin"]%></a></td>
                        </tr>
                    </table>
				</td>
              </tr>
            </table>
			<!-- /快速通道 -->
			</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('hideMenuFunc2')">
                <td width="174" class="ctrl_menu_title">
                    <%=Globals.Text["main_systemmanage"]%></td>

                <td width="21">
                <img id='MenuFunc2' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_up.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>&nbsp;</th>
                        <td><a href="ViewSiteStatus.aspx" target="mainFrame"><%=Globals.Text["view_statiticinfo"]%></a></td>

                      </tr>
                        <tr>
                            <th>
                            </th>
                            <td><a href="SystemConfig.aspx" target="mainFrame"><%=Globals.Text["systemconfig_blogsetup"]%></a>
                            </td>
                        </tr>
                        <tr>
                            <th>&nbsp;
                            </th>
                            <td><a href="SiteSettings.aspx" target="mainFrame"><%=Globals.Text["sitesetting_sitesetting"]%></a>
                            </td>
                        </tr>
                         <tr>
                            <th>
                            </th>
                            <td><a href="UserFileSet.aspx" target="mainFrame">文件设置</a>
                            </td>
                        </tr>
                         <tr>
                            <th>
                            </th>
                            <td><a href="AdSet.aspx" target="mainFrame">广告设置</a>
                            </td>
                        </tr>
                      <tr>
                        <th>&nbsp;</th>
						<td><a href="EditGroup.aspx"   target="mainFrame"><%=Globals.Text["editgroup_groupmanage"]%></a></td>
                      </tr>
                      <tr>
                        <th>&nbsp;</th>
						<td><a href="publictags.aspx"   target="mainFrame">推荐标签管理</a></td>
                      </tr>
                       
                        <tr>
                            <th style="height: 20px">
                            </th>
                            <td style="height: 20px"><a onClick="scroll_to_top()" href="ViewTheme.aspx" target="mainFrame"><%=Globals.Text["viewtheme_seetheme"]%></a></td>
                        </tr>
                        <tr>
                            <th style="height: 20px">
                            </th>
                            <td style="height: 20px"><a onClick="scroll_to_top()" href="AdminUser.aspx" target="mainFrame"><%=Globals.Text["adminuse_changepassword"]%></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('hideMenuFunc8')">
                <td width="174" class="ctrl_menu_title">
                    安全 过滤</td>

                <td width="21">
                <img id='Img1' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_up.gif"></td>
              </tr>
              <tr id="hideMenuFunc8">
                <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 href="SiteSecurity.aspx" target="mainFrame">安全设置</a>
                            </td>
                        </tr>
                         <tr>
                            <th>
                            </th>
                            <td>
                            <a  href="DisallowedAccount.aspx" target="mainFrame"><%=Globals.Text["disallow_blockaccount"]%></a>
                            </td>
                        </tr>
                      <tr>
                        <th>&nbsp;</th>
                        <td><a   href="DisallowedRegister.aspx" target="mainFrame"><%=Globals.Text["disallow_blockregister"]%></a></td>

                      </tr>
                        <tr>
                            <th>
                            </th>
                            <td>
                               <a href="DisallowedLogin.aspx"   target="mainFrame"><%=Globals.Text["disallow_blocklogin"]%></a></td>
                        </tr>
                        <tr>
                            <th>
                            </th>
                            <td>
                                 <a href="DisallowedIP.aspx"   target="mainFrame"><%=Globals.Text["disallow_blockip"]%></a></td>
                        </tr>
                        <tr>
                            <th>
                            </th>
                            <td>
                                 <a href="Badwords.aspx"   target="mainFrame"><%=Globals.Text["badwords_filesfilter"]%></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('hideMenuFunc9')">
                <td width="174" class="ctrl_menu_title">
                    授权管理</td>

                <td width="21">
                <img id='MenuFunc9' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_up.gif"></td>
              </tr>
              <tr id="hideMenuFunc9">
                <td align="left" colspan="2" class="menu_box_pad" >
					<table width="100%" border="0" cellspacing="5" cellpadding="0" class="menu_box">
                       <tr>
                            <th style="height: 20px">
                            </th>
                            <td style="height: 20px"><a onClick="scroll_to_top()" href="ViewLicense.aspx" target="mainFrame">查看授权信息</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" style="display:none">
              <tr class="hand" onClick="hide('hideMenuFunc3')">
                <td width="174" class="ctrl_menu_title">
                    论坛管理</td>

                <td width="21">
                <img id='MenuFunc3' src="<%=Globals.ApplicationPath %>/images/admin/menu_title_up.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="#" target="mainFrame">版块管理</a></td>

                      </tr>
                      <tr>
                        <th>&nbsp;</th>
						<td><a href="#"   target="mainFrame">论坛管理员设置</a></td>
                      </tr>
                      
                    </table>
				</td>
              </tr>
            </table>
			<!-- /快速通道 -->
			</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" >您的浏览器不支持此功能，请您使用最新的版本。</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>