<%@ page language="VB" autoeventwireup="false" inherits="WebExam.Web.department_userinfo, App_Web_plxe2zxg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户信息</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <link rel="stylesheet" href="../../style/selfreg.css" type="text/css" />
    <link href="../jslib/jquery/plugins/jquery-ui-1.8/development-bundle/themes/ui-lightness/jquery.ui.all.css"
        rel="stylesheet" type="text/css" />
    <script src="../jslib/jquery/jquery-lastest.js" type="text/javascript"></script>
    <script src="../jslib/jquery/plugins/url/jquery.url.packed.js" type="text/javascript"></script>
    <script type="text/javascript" src="../jslib/jquery/plugins/jquery-ui-1.8/development-bundle/ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../jslib/jquery/plugins/jquery-ui-1.8/development-bundle/ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../jslib/jquery/plugins/jquery-ui-1.8/development-bundle/ui/jquery.ui.accordion.js"></script>
	<script type="text/javascript">
	    $(function () {
	        $("#accordion").accordion({
	            collapsible: true,
	            active: false,
	            change: function (event, ui) {
	                var a = ui.options.active;

	                if (a.toString() == "0") {
	                    var f = document.getElementById("iframeRole");
	                    if (f.src == "about:blank") {
	                        
	                        f.src = "userRole.aspx?userid=" + encodeURI( $.url.param("userid"))

	                    }


	                }
	            }

	        });
	    });
	</script>

</head>
<body>

    <script type="text/javascript">
<!--

 
function window.onload() {
  
 
Form1.serverView.src="../../data/usersphoto/"+document.getElementById("<%= L_userId.ClientId()%>").innerText +".jpg"
   
}

//-->
    </script>

    <form id="Form1" runat="server">
    <ul class="clear">
        <li class="clear">
            <p class="creat fleft clear">
                用户信息</p>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                用户名：</div>
            <div class="input_list font_space fleft">
                <asp:Label ID="L_userId" runat="server" class="name_aready"></asp:Label>
            </div>
            <div class="explain_list fleft">
                <span id="messageDiv" class="explain"></span>
            </div>
        </li>
        <li class="clear">
            <div class="compart">
            </div>
        </li>
        <li class="clear">
        <div id="accordion">
	<h1><a href="#section1" style=" font-size:11pt; color:green">用户角色</a></h1>
	<div><iframe id="iframeRole" src="about:blank" frameborder="0" width="100%" align="left"></iframe>
	</div>
	
</div>
</li>

        <li class="clear">
            <p class="creat fleft clear">
                个人资料</p>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 照 片：</div>
            <div class="input_list font_space fleft">
                <img id="serverView" height="200" width="150" onerror="this.src='../../data/usersphoto/nophoto.gif'"
                    src="../../data/usersphoto/nophoto.gif" alt="my photo" />
            </div>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 姓 名：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_userName" runat="server" onblur="this.style.borderColor='#A3BFA8';"
                    onfocus="this.style.borderColor='#99E300';" Enabled="false"></asp:TextBox>
            </div>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 性 别：</div>
            <div class="input_list font_space fleft">
                <asp:RadioButtonList ID="gender" runat="server" BorderStyle="none" Style="border: 0px"
                    Enabled="false" RepeatDirection="Horizontal" BorderWidth="0" RepeatLayout="Flow">
                    <asp:ListItem Text="男  " Value="1"></asp:ListItem>
                    <asp:ListItem Text="女" Value="0"></asp:ListItem>
                </asp:RadioButtonList>
            </div>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 出生日期：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_birthday" runat="server" onblur="this.style.borderColor='#A3BFA8';"
                    onfocus="this.style.borderColor='#99E300';" Enabled="false"></asp:TextBox>
            </div>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                邮箱：</div>
            <div class="input_list font_space fleft">
                <asp:HyperLink ID="L_mail" runat="server" ForeColor="Blue"></asp:HyperLink>
            </div>
        </li>
        <li class="clear">
            <div class="compart">
            </div>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
            </div>
            <div class="input_list font_space fleft">
                <input type="button" value="确定" onclick="javascript:self.opener=null;self.close();" />&nbsp;&nbsp;
                <asp:Label ID="L_msg" runat="server" Visible="False" Font-Bold="True" ForeColor="Red"></asp:Label>
                <p>
                    &nbsp;&nbsp;</p>
            </div>
        </li>
    </ul>
    </form>
</body>
</html>
