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

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=uft-8" />
<script language="JavaScript" src="../../../sitefiles/bairong/Scripts/prototype-1.6.0.3.js"></script>
<script language="JavaScript" src="../js/script.js"></script>
<link rel="stylesheet" type="text/css" href="../style/comm.css" />
<link rel="stylesheet" type="text/css" href="../style/setting.css" />
<link id="themeCss" rel="stylesheet" type="text/css" href="../themes/<%=UcTheme%>/style.css"/>
</head>
<body class="tbody">
<div class="txt_title"> 个人档案 </div>
<form runat="server">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabtitle">
    <tr>
      <td width="1" nowrap>&nbsp;
      </td>
      <td width="54" align="center">
        <a href="accountGeneral.aspx" ><b> 帐户 </b></a>
      </td>
      <asp:PlaceHolder ID="phAttributes" Visible="false" runat="server">
      <td width="54" align="center" >
        <a href="accountAttributes.aspx" ><b> 档案 </b></a>
      </td>
      </asp:PlaceHolder>
      <td width="54" align="center" class="selected">
        <b> 换肤 </b>
      </td>
      <td width="70" align="center" >
        <a href="accountPassword.aspx" ><b> 修改密码 </b></a>
      </td>
      <td nowrap>&nbsp;
      </td>
    </tr>
  </table>
  <div class="settingtable">
  <div style="height:12px;overflow:hidden"></div>
    <div class="skinsetting">
    <script>
	function chooseStyle(theme){
		//$("themeCss").href="../themes/" + theme + "/style.css";
		//top.document.getElementById("themeCss").href="themes/" + theme + "/style.css";
		
		
		
		location.href='accountTheme.aspx?setTheme=True&directoryName=' + theme;
	}
	function gotoMain()
	{
		window.top.location.href = "../main.aspx?pageUrl=general/accountTheme.aspx";
	}
	</script>
    <asp:Repeater ID="rptTheme" runat="server">
        <itemtemplate>
        
        <asp:Literal ID="ltlDivHead" runat="server"></asp:Literal>
        <table cellpadding="0" cellspacing="0" border="0" onclick ="chooseStyle('<%#Container.DataItem%>');" class="pointer clr">
          <tr>
            <td>
              <img src="../themes/<%#Container.DataItem%>/thumbnail.gif" />
            </td>
          </tr>
          <tr>
            <td id="label_0" style="font-weight:normal">
              <asp:Literal ID="ltlThemeName" runat="server"></asp:Literal>
            </td>
          </tr>
        </table>
      </div>

        </itemtemplate>
    </asp:Repeater>
    
    </div>
    <div class="clr">&nbsp;</div>
  </div>
  </div>
  <div class="toolbg toolbgline barspace" style="height:22px;*height:32px;padding-top:10px;border-top:1px solid #fff;"> 点击图片即可直接切换皮肤，切换后，设置自动保存。 </div>
</form>
</body>
</html>
