<%@ page language="C#" autoeventwireup="true" inherits="users.user_Default, LebiMall" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=model_t.Title %></title>
    <meta name="description" content=<%=model_t.Description %> />
    <meta name="keywords" content=<%=model_t.Keywords %> />
    <meta name="generator" content="LBMall 3.0.0" />
    <link href="../images/css/css3.css" rel="stylesheet" type="text/css" />
    <link href="../images/css/css2.css" rel="stylesheet" type="text/css" />
    <link href="../images/css/css.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(../images/css/ie6.css); /* ]]> */</style><![endif]-->
    <!--[if gte IE 7]><STYLE type=text/css media=screen>@import url(../images/css/ie7.css);</STYLE><![endif]-->
    <script type="text/javascript" src="../images/js/shopjs.js"></script>

    <script type="text/javascript">
        function search2(){
            var texts2=document.getElementById("ser2").value;
            var select_v2=document.getElementById("Select2").value;
            window.location="../list.aspx?tid="+select_v2+"&titlec="+escape(texts2);
        }
        function show_hotrank(ic){
            for(var i=0;i<10;i++){
                if(i==ic){
                    document.getElementById("hot_"+i).className="expand";
                    document.getElementById("hot_"+i+"_1").style.display="block";
                    document.getElementById("hot_"+i+"_2").style.display="none";
                }else{
                    document.getElementById("hot_"+i).className="redu";
                    document.getElementById("hot_"+i+"_1").style.display="none";
                    document.getElementById("hot_"+i+"_2").style.display="block";
                }
            }
        }
    </script>

</head>
<body>
    <form runat="server">
        <div id="top-menu02">
            <div id="top-menu">
                <div class="right">

                    <script type="text/javascript">indexhead();</script>

                </div>
            </div>
        </div>
        <div id="top">
            <div id="logo">
                <a href="http://<%=Request.Url.Host %><%=model_t.WebPath %>/">
                    <img src="../Upload/WebAdminImages/<%=model_t.Logoimg %>" border="0" /></a></div>
        </div>
        <div id="sp-menu">
            <ul>
                <li><a href="http://<%=Request.Url.Host %><%=model_t.WebPath %>/">首页</a></li>
            <%for (int i = 0; i < ds_tab.Tables[0].Rows.Count; i++){ %>
            <li><%if (model_t.Tab == "1"){ %>
                <a href="../<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>/" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%}else{%>
                <a href="../TopTab.aspx?type=<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%} %></li>
            <%} %>
            <li><a href="http://<%=Request.Url.Host %><%=model_t.WebPath %>/News/" target="_blank">资讯</a></li>
            </ul>
            <p>
                <span><a href="../ShopCoupon.aspx">优惠券</a></span></p>
        </div>
        <div id="contenter2">
            <div id="contenter">

                <script type="text/javascript">
                    shopLeft();
                </script>

                <div id="right">
                    <div class="contenter">
                        <div class="nav-tabs">
                            <ul class="tabs">
                                <li class="selected"><a href="Default.aspx">基本信息</a> </li>
                            </ul>
                            <ul class="tabs">
                                <li><a href="UserEdit.aspx">编辑信息</a> </li>
                            </ul>
                            <ul class="tabs">
                                <li><a href="ModfiyHead.aspx">修改头像</a> </li>
                            </ul>
                            <ul class="tabs">
                                <li><a href="ModifyPassword.aspx">修改密码</a> </li>
                            </ul>
                        </div>
                        <div style="width: 600px;">
                            <div class="Avatar">
                                <div class="Avatar-w">
                                    <div class="Avatar-n">
                                        <img alt="" height="120" width="120" src="../Upload/face/avatar/<%=user.Uavatar %>" />
                                    </div>
                                </div>
                            </div>
                            <div class="zl-data">
                                <ul>
                                    <li>
                                        <em>上次登录时间：<%=user.BeforeLogintime %>&nbsp;&nbsp;&nbsp;&nbsp;上次登录IP：<%=user.BeforeLoginIP %></em>
                                    </li>
                                    <li class="zl-name">
                                        <%=user.Uname %>
                                    </li>
                                    <li>
                                        <div class="zl-data-l">
                                            性别：</div>
                                        <div class="zl-data-r">
                                            <% if(user.Usex==1){ %>
                                            男
                                            <%}else{ %>
                                            女
                                            <%} %>
                                        </div>
                                    </li>
                                    <%if (!user.Ubirthday.Trim().Equals("")){ %>
                                    <li id="birthday_div" runat="server">
                                        <div class="zl-data-l">
                                            出生日期：</div>
                                        <div class="zl-data-r">
                                            <%=user.Ubirthday %>
                                        </div>
                                    </li>
                                    <%}else { this.birthday_div.Visible = true; }%>
                                    <%if (!user.Native.Equals(",")){ %>
                                    <li id="native_div" runat="server">
                                        <div class="zl-data-l">
                                            籍贯：</div>
                                        <div class="zl-data-r">
                                            <%=user.Native %>
                                        </div>
                                    </li>
                                    <%}else { this.native_div.Visible = false; 
                                      }%>
                                    <%if (!user.Uaddress.Trim().Equals("")){ %>
                                    <li id="dom_div" runat="server">
                                        <div class="zl-data-l">
                                            现居住地：</div>
                                        <div class="zl-data-r">
                                            <%=user.Domicile %>
                                            <%=user.Uaddress %>
                                        </div>
                                    </li>
                                    <%}else { this.dom_div.Visible = true; }%>
                                    <%
                                        if (!user.Ustatus.Trim().Equals("")){ %>
                                    <li id="status_div" runat="server">
                                        <div class="zl-data-l">
                                            目前身份：</div>
                                        <div class="zl-data-r">
                                            <%=user.Ustatus %>
                                        </div>
                                    </li>
                                    <%}else { 
                                            this.status_div.Visible = true; 
                                        }%>
                                    <%if (!user.Ustatus.Trim().Equals("")){ %>
                                    <% if (!user.Ustatus .Equals("其他"))
                                       { %>
                                    <li id="company_div" runat="server">
                                        <div class="zl-data-l" id="c_name" runat="server">
                                            <% 
                                        if(user.Ustatus=="学生"){
                                            %>
                                            学校：
                                            <%}
                                           else if (user.Ustatus == "工作族")
                                           {%>
                                            工作单位：
                                            <%} %>
                                        </div>
                                        <div class="zl-data-r">
                                            <%=user.Ucompany %>
                                        </div>
                                    </li>
                                    <%}else
                                      {
                                          this.company_div.Visible = true;
                                      }
                                  }else { 
                                          this.company_div.Visible = true; 
                                      }
                                    %>
                                    
                                    <%if (!user.UEmail.Trim().Equals("")){ %>
                                    <li id="email_div" runat="server">
                                        <div class="zl-data-l">
                                            电子邮箱：</div>
                                        <div class="zl-data-r">
                                            <%=user.UEmail %>
                                        </div>
                                    </li>
                                    <%}else
                                      {
                                          this.email_div.Visible = true;
                                      }%> 
                                      <%if(!user.Ucellphone.Trim().Equals("")){ %>
                                    <li id="cellphone_div" runat="server">
                                        <div class="zl-data-l">
                                            手机号：</div>
                                        <div class="zl-data-r">
                                            <%=user.Ucellphone %>
                                        </div>
                                    </li>
                                    <%}else
                                      {
                                          this.cellphone_div.Visible = true;
                                      }%> 
                                      <%if (!user.Utel.Trim().Equals("")){ %>
                                    <li id="Utel_div" runat="server">
                                        <div class="zl-data-l">
                                            固定电话：</div>
                                        <div class="zl-data-r">
                                            <%=user.Utel %>
                                        </div>
                                    </li>
                                    <%}
                                      else
                                      {
                                          this.Utel_div.Visible = true;
                                      }%> 
                                      <%if (!user.UotherStyle.Trim().Equals("")){ %>
                                    <li id="otherStyle_div" runat="server">
                                        <div class="zl-data-l">
                                            QQ：</div>
                                        <div class="zl-data-r">
                                            <%=user.UotherStyle %>
                                        </div>
                                    </li>
                                    <%}
                                      else
                                      {
                                          this.otherStyle_div.Visible = true;
                                      }%> 
                                    <li>
                                        <%if (user.Introduce.Trim().Equals("")){
                                          this.intr_div.InnerHtml = "<em>这家伙很懒，什么都没留下！</em>";
                                      }else
                                      {
                                          this.intr_div.InnerHtml = user.Introduce;
                                      }%>
                                        <div class="zl-data-l">
                                            个人介绍：</div>
                                        <div class="zl-data-r" id="intr_div" runat="server">
                                        </div>
                                    </li>
                                </ul>
                            </div>
                            <div class="both">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="both">
                </div>

                <div id="footer">
                <div id="copyright">
                    <div class="search">
                        <div class="search-left">
                            <div class="search-left-title">
                                搜索：</div>
                            <div class="search-left-form">
                                <input type="text" runat="server" id="ser2" size="30" /></div>
                            <div class="search-left-list">
                                <select id="Select2" runat="server">
                                </select>
                            </div>
                            <div class="search-left-button">
                                <img src="../images/search-buttom.gif" width="60" height="20" onclick="search2()" /></div>
                        </div>
                        <div class="search-right">
                            <div runat=server id="div_s2"></div>
                        </div>
                    </div>
                </div>
            </div>

                <div class="copyright" runat="server" id="copr"></div>
            </div>
        </div>
    </form>
</body>
</html>
