<%@ Page Language="C#" Inherits="UserCenter.Pages.Main" enableViewState="false" %>
<%@ Register TagPrefix="bairong" Namespace="BaiRong.Controls" Assembly="BaiRong.Controls" %>
<%@ Register TagPrefix="user" Namespace="UserCenter.Controls" Assembly="UserCenter.Pages" %>

<html>
<head id="container" name="container">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<asp:Literal ID="ltlTitle" runat="server"></asp:Literal>
<link rel="stylesheet" type="text/css" href="style/comm.css"/>
<link id="themeCss" rel="stylesheet" type="text/css" href="themes/<%=UcTheme%>/style.css"/>
<bairong:Code type="Prototype" runat="server" />
<script language="JavaScript" src="js/script.js"></script>
<script>
var MainTipObj = {
	start:  function() {
		var _self = this;
		setTimeout( function(){_self.show();}, 3000 );
	},
	show: function() {
		var _o = document.getElementById("maintip");
		if ( _o ) {
			_o.style.display = "";
			setTimeout(this.hide, 20000);
		}
	},
	hide:  function() {
		document.getElementById("maintip").style.display = "none";
	}
};
</script>
</head>
<body class="frame_class">
<table style="border-bottom:none!important;border-bottom:2px solid #fff;" cellspacing="0" cellpadding="0" width="100%" height="100%">
  <tr>
    <td height="66" class="getuserdata">
      <div class="topdata">
          <div class="topbg" style="height:66px">
            <div class="setinfo addrtitle" id="SetInfo"> <span id="minimize_container"></span>&nbsp;<!--<a href="http://www.siteserver.cn/bbs" target="_blank" class="toptitle" >反馈意见</a>&nbsp;|&nbsp;<a href="http://help.siteserver.cn" target="_blank" class="toptitle" >帮助</a>&nbsp;|&nbsp;--><a href="general/accountPassword.aspx" target="mainFrame" onClick="switchFolder('folder_account');" onFocus="this.blur()">修改密码</a>&nbsp;|&nbsp;<a href="logout.aspx" target="_parent" class="toptitle" >退出</a> </div>
          </div>
          <div class="lgoo">
            <div id="imglogo" class="imglogo"></div>
          </div>
          <div class="switch">
            <div class="left" style="margin-top:1px;"> <b id="useralias">
              <script>welcome();</script>
              <%=DisplayName%></b> <%=GetUserSpaceUrlHtml()%> &nbsp; <br/>
              <span class="addrtitle"><a href="right.aspx" onClick="clearFolder();" onFocus="this.blur()" target="mainFrame">用户首页</a> | <a href="general/accountTheme.aspx" target="mainFrame" onClick="switchFolder('folder_account');" onFocus="this.blur()">换肤</a>&nbsp;-&nbsp;<a href="general/accountGeneral.aspx" target="mainFrame" onClick="switchFolder('folder_account');" onFocus="this.blur()">个人档案</a></span> </div>
          </div>
        </div>
    </td>
  </tr>
  <tr>
    <td class="topline_height">
      <div class="topline">
        <div class="toplineimg left" id="imgLine" ></div>
      </div>
    </td>
  </tr>
  <tr>
    <td class="newskin_left">
      <div id="leftPanel" class="leftcontent">
        <table class="fdbody" cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
          <tr>
            <td class="newskinbody">
              <table cellspacing="0" cellpadding="0" width="100%" height="100%">
                <tr>
                  <td height="1">
                    <div class="navbar" style="padding-left:5px; padding-right:10px; padding-top:5px;">
                      <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
  <tr>
    <td width="45%" align="center"><a href="right.aspx" title="用户中心首页" onClick="clearFolder();" onFocus="this.blur()" target="mainFrame"><asp:Literal ID="ltlIcon" runat="server"></asp:Literal></a></td>
    <td width="55%" valign="middle" style="line-height:22px;">帐号:<asp:Literal ID="ltlUserName" runat="server"></asp:Literal><br>
      组别:<asp:Literal ID="ltlGroupName" runat="server"></asp:Literal></td>
  </tr>
  <tr>
    <td colspan="2" align="left" height="30"><div style="float:left">&nbsp;&nbsp;&nbsp;<asp:Literal ID="ltlStars" runat="server"></asp:Literal></div><div style="float:right">积分:<asp:Literal ID="ltlCredits" runat="server"></asp:Literal></div><div style="clear:both"></div></td>
    </tr>
</table>

                    </div>
                  </td>
                </tr>
                <tr>
                  <td class="listbg listflow" valign="top">
                    <div id="folder" style="overflow:auto;height:100%;">
                      <ul class="fdul" style="<%=GetSiteServerStyle()%>">
                        <li id="folder_contents_td" class="fs" style="<%=GetSiteServerSystemStyle("contribute")%>"> <span style="float:right;margin-top:-1px"><a class="nolinkbg fdleft" href="siteserver/contentAdd.aspx" target="mainFrame" onClick="switchFolder('folder_contents');" onFocus="this.blur()">[发表]</a></span><a id="folder_contents" onClick="switchFolder(this.id);" onFocus="this.blur()" href="siteserver/contents.aspx" target="mainFrame" class="normal">网站内容投稿</a> </li>
                        <li id="folder_input_td" class="fs"><a id="folder_input" onClick="switchFolder(this.id);" href="siteserver/inputContents.aspx" target="mainFrame"  onfocus="this.blur()">提交信息管理</a> </li>
                      </ul>
                      <ul class="fdul">
                        <li class="sepline"></li>
                        <li id="folder_account_td" class="fs"><a id="folder_account" onClick="switchFolder(this.id);" href="general/accountGeneral.aspx" target="mainFrame"  onfocus="this.blur()">个人档案管理</a></li>
                      </ul>
                      <ul class="fdul" style="<%=GetLiveServerStyle()%>">
                        <li class="sepline"></li>
                        <li class="fs" style=""><a id="folder_space" href="<%=GetUserSpaceUrl(string.Empty)%>" target="_space">进入我的空间</a></li>
                        <li id="folder_blog_td" class="fs" style="<%=GetLiveServerSystemStyle("blog")%>"> <span style="float:right;margin-top:-1px"><a class="nolinkbg fdleft" href="liveserver/blogAdd.aspx" target="mainFrame" onClick="switchFolder('folder_blog');" onFocus="this.blur()">[撰写]</a></span><a  id="folder_blog" onClick="switchFolder(this.id);" onFocus="this.blur()" href="liveserver/blog.aspx" target="mainFrame" class="normal">博客日志</a> </li>
                        <li class="fs" style="<%=GetLiveServerSystemStyle("photo")%>"> <span style="float:right;margin-top:-1px"><a class="nolinkbg fdleft" href="<%=GetUserSpaceUrl("photo/upload")%>" target="_space">[上传]</a></span><a href="<%=GetUserSpaceUrl("photo")%>" target="_space" class="normal">图片相册</a> </li>
                        <li id="folder_comment_td" class="fs" style="<%=GetLiveServerSystemStyle("blog", "photo")%>"> <a id="folder_comment" onClick="switchFolder(this.id);" onFocus="this.blur()" href="liveserver/commentBlog.aspx" target="mainFrame" class=f_size>评论管理</a> </li>
                        <li id="folder_word_td" class="fs" style="<%=GetLiveServerSystemStyle("friends")%>"> <a id="folder_word" onClick="switchFolder(this.id);" onFocus="this.blur()" href="liveserver/word.aspx" target="mainFrame" class=f_size>空间留言</a> </li>
                        <li id="folder_liveSetting_td" class="fs" style=""><a id="folder_liveSetting" href="liveserver/settingSpace.aspx" target="mainFrame" onClick="switchFolder('folder_liveSetting');" onFocus="this.blur()">空间设置</a></li>
                        
                      </ul>
                      <ul class="fdul" style="<%=GetSiteServerSystemStyle("attachment")%>">
                        <li class="sepline"></li>
                        <li id="folder_file_td" class="fs"><a id="folder_file" onClick="switchFolder(this.id);" href="general/filemain.aspx" target="mainFrame"  onfocus="this.blur()">文档附件管理</a></li>
                      </ul>
                      <ul class="fdul" style="<%=GetSiteServerSystemStyle("bbs")%>">
                        <li class="sepline"></li>
                        <li id="folder_bbs_td" class="fs"><a id="folder_bbs" href="<%=GetBBSUrl()%>" target="_bbs">进入论坛</a></li>
                      </ul>
                    </div>
                  </td>
                </tr>
                <tr>
                  <td height="1">
                    <div class="navbottom" style="background-repeat:no-repeat;"></div>
                  </td>
                </tr>
              </table>
            </td>
          <tr>
        </table>
      </div>
      <div id="maxSideBar" style="border-left:3px solid #fff;z-index:1;cursor:pointer;position:absolute;left:192px;" onClick="setTimeout(function(){MaximizeMainFrame(2);}, 0);" title="收起/展开左边栏(CTRL+ALT+D)" ></div>
      <div id="mainFrameContainer" class="maincontent">
        <asp:Literal ID="ltlIFrame" runat="server"></asp:Literal>
      </div>
    </td>
  </tr>
</table>

<div style="position:absolute;right:12px;bottom:12px;display:none" id ="maintip" name="maintip">
  <div style="position:absolute;z-index:-1;background:#dedede;width:250px;height:4px;margin:3px 0 0 3px;">&nbsp;</div>
  <div>
    <div style="float:left;background:#ffffdb;width:250px;height:86px;border:1px solid #d5a337;line-height:18px;">
      <div id="maintipcontent" style="padding:10px;"></div>
      </div>
    </div>
  </div>
</div>
<%if (IsUserSpace()){%><script>
document.getElementById('maintipcontent').innerHTML = '您的个人空间已经开通，地址：<a href="<%=GetUserSpaceUrl(string.Empty)%>" onClick="MainTipObj.hide();" target="_space"><%=GetUserSpaceUrl(string.Empty)%></a><div style="margin-top:6px"><a href="<%=GetUserSpaceUrl(string.Empty)%>" onClick="MainTipObj.hide();" target="_space">立即进入我的空间 &#187;</a>';
MainTipObj.start();
</script><%}%>

</body>
</html>
