<%@ page language="VB" masterpagefile="~/Page.master" autoeventwireup="false" inherits="WebExam.Web.selfreg, App_Web_jvwg1jie" title="注册用户" %>
    <%@ OutputCache Duration="300" VaryByParam ="*" %>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="ContentHead" EnableViewState="False">
    <style type="text/css">
        .a
        {
            list-style-type: none;
        }
        .a li
        {
            float: left; margin:10px;
        }
    </style>
    <script type="text/javascript">
        function selceted(id) { location = "newUser.aspx?partId=" + id }
        $().ready(function () {
            var u = $("ul[class='a']")
            var k = u.children().length;
            if (k == 0) {
                __message("未开放注册！", function () { self.location = "/"; });


            }



        })
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="mainCopy" runat="Server">

    <div style="text-align: center; font-size: large; margin: 8px">
        请选择您注册到的部门</div><table ><tr><td><div style="margin-left: 10px">
        <ul class="a">
            <asp:Repeater ID="R_departList" runat="server">
                <ItemTemplate>
                    <li><a href="javascript:selceted(<%#CStr(DataBinder.Eval(Container, "DataItem.id"))%>)">
                        <%#CStr(DataBinder.Eval(Container, "DataItem.aliasName"))%></a></li>
                </ItemTemplate>
                <FooterTemplate>
                
                </FooterTemplate>
                
            </asp:Repeater>
            
        </ul>
    </div></td></tr><tr><td><div style="margin-left: 20px"><pagers:PageNumbersPager ID="PageNumbersPager1" runat="server" /></div></td></tr></table>
    
</asp:Content>
