<%@ page language="C#" autoeventwireup="true" inherits="Register, LebiMall" %>

<!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 id="Head1" runat="server">
    <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/css.css" rel="stylesheet" type="text/css" />
    <link href="images/css/lr.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="images/js/shopjs.js"></script>
    <script type="text/javascript" src="images/js/JScript.js"></script>
    <script type="text/javascript" src="images/js/pwd.js"></script>
    <script type="text/javascript" src="images/js/yanzheng.js"></script>
    <script type="text/javascript" src="images/js/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript">
        function imgf(){
            document.getElementById("img1").src=document.getElementById("img1").src+'?';
        }
        //获取cookies
        function getCookies(name)
        {
            var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
            if(arr != null) return decodeURI(arr[2]); return null;
        }
        function ReplaceAll(str, sptr, sptr1){
            while (str.indexOf(sptr) >= 0){
                str = str.replace(sptr, sptr1);
            }
            return str;
        }
       function isYes(){
        var key=document.getElementById("showMoreInfo");
        if(key.checked==true)
        {
            document.getElementById("MoreInfo").style.display="block";
        }else{
            document.getElementById("MoreInfo").style.display="none";
        }
       }
    </script>
</head>
<body>
    <form id="form1" runat="server" >
        <div id="top-menu02">
            <div id="top-menu">
                <div class="right">
                    <script type="text/javascript">indexhead();</script>
                </div>
                <div class="both"></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">
                <table class="reg-reg1">
                    <tr>
                        <td class="reg-top1">
                            1.填写会员信息</td>
                        <td class="reg-top2">
                            2.填写个人信息</td>
                        <td class="reg-top2">
                            3.上传头像</td>
                        <td class="reg-top2">
                            4. 注册成功</td>
                    </tr>
                </table>
                <table align="left" cellpadding=0 cellspacing=0 width="600px;" style="margin-top:10px;">
                <tr>
                    <td colspan="2">
                         <span class="title_r" id="msg_sub"></span>
                         <script type="text/javascript">
                                var i = 2;
                                var f="<%=reValue %>";
                                if(f=="true"){
                                    window.location.href="user/Default.aspx";
                                }
                                if(f=="false"){
                                    document.getElementById("msg_sub").innerHTML="操作失败！";
                                    document.getElementById("msg_sub").style.visibility="visible";
                                }
                        </script>
                    </td>
                </tr>
                <tr>
                    <td align=right class="row" style="width:20%">
                        邮箱帐号：
                    </td>
                    <td>
                        <input class="txt_" type="text" runat="server" id="username" name="username" />&nbsp;
                        <span id="email_val" runat="server"><em>请填写您常用的邮箱地址 </em></span>
                        
                        <script type="text/javascript">
                            var i = 2;
                            var f="<%=returnValue %>";
                            if(f=="false"){
                                document.getElementById("email_val").innerHTML="此邮箱地址已经存在，请重新输入！";
                            }
                        </script>
                    </td>
                </tr>
                <tr>
                    <td align=right class="row">
                        设置密码：
                    </td>
                    <td>
                        <input  class="txt_" type="password" name="pwd" id="pwd"  runat="server" onpaste="return false;" />&nbsp;  
                            <span id="pwd_val"><em>请输入6-20位的密码 </em></span>
                    </td>
                </tr>
                <tr>
                    <td align=right class="row">
                        真实姓名：
                    </td>
                    <td>
                        <input class="txt_" type="text" runat="server" id="uname" name="uname" />
                        <span id="uname_val" runat="server"></span>
                       </td>
                </tr>
                <tr>
                    <td align=right class="row">
                        性别：
                    </td>
                    <td >
                        <input id="Radio1" type="radio" value="0" runat="server" checked name="Radio1" />
                        男
                        <input id="Radio2" type="radio" value="1" runat="server" name="Radio1" />
                        女</td>
                </tr>
                <tr>
                    <td align=right class="row">
                        生日：
                    </td>
                    <td >
                        <input type="text" id="txtbirthday" class="texttime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',skin:'blue',autoPickDate:'null'})" />
                                     
                    </td>
                </tr>
                <tr>
                    <td align=right class="row">
                        验证码：
                    </td>
                    <td>
                        <table>
                            <tr>
                                <td><input type="text" id="txt_yz" runat="server" name="txt_yz" class="txt_code" /></td>
                                <td><img id="img1" class="img_y" src="imgcheck2.aspx" language="javascript" onclick="this.src=this.src+'?'" /></td>
                                <td><a href="#" onclick="imgf()" class="a_">看不清楚？ 换张图片</a></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <asp:Label ID="lblMessage" runat="server" ForeColor="LightCoral" Visible="False"
                            Font-Size="12px"></asp:Label>
                        <div id="message_val" class="red"></div>
                    </td>
                </tr>
                <tr>
                    <td align=right class="row">
                        <input type="checkbox" id="showMoreInfo" name="showMoreInfo" onclick="javascript:isYes()" /></td>
                    <td >
                        是否显示详细信息</td>
                </tr>
                <tr>
                    <td colspan="2" style="padding-left:55px;">
                        <div id="MoreInfo" style="display: none">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align=right class="row">
                                        籍贯：
                                    </td>
                                    <td >
                                        <select name="hw_1" onchange="hw_select()">
                                        </select>
                                        <select name="hw_2" onchange="hw_select()">
                                        </select>
                                        <input type="hidden" id="hidd_diqu" name="hidd_diqu" runat="server" />
                                    </td>
                                </tr>

                                <script type="text/javascript" src="images/js/area1.js"></script>

                                <tr>
                                    <td align=right class="row">
                                        现居住地：</td>
                                    <td >
                                        <select name="hw_3" onchange="hw_select2()">
                                        </select>
                                        <select name="hw_4" onchange="hw_select2()">
                                        </select>
                                        <input type="hidden" id="hidd_diqu2" name="hidd_diqu2" runat="server" />
                                    </td>
                                </tr>

                                <script type="text/javascript" src="images/js/area2.js"></script>

                                <tr>
                                    <td align=right class="row">
                                        所在小区：
                                    </td>
                                    <td >
                                        <input type="text" class="txt_" id="xiaoqu" name="xiaoqu" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align=right class="row">
                                        保密设置1：</td>
                                    <td >
                                        <select id="Select4" name="select4" runat="server">
                                            <option value="0">请选择密保问题</option>
                                            <option value="1">您父亲的名字是?</option>
                                            <option value="2">您母亲的名字是?</option>
                                            <option value="3">您配偶的名字是?</option>
                                            <option value="4">您的出生地是?</option>
                                            <option value="5">您高中班主任的名字是?</option>
                                            <option value="6">您初中班主任的名字是?</option>
                                            <option value="7">您小学班主任的名字是?</option>
                                            <option value="8">您的小学校名是?</option>
                                            <option value="9">您的学号（或工号）是?</option>
                                            <option value="10">您父亲的生日是?</option>
                                            <option value="11">您母亲的生日是?</option>
                                            <option value="12">您配偶的生日是?</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td align=right class="row">
                                        答案：
                                    </td>
                                    <td >
                                        <input id="Text1" class="txt_" type="text" runat="server" name="awnser" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align=right class="row">
                                        保密设置2：</td>
                                    <td >
                                        <select id="Select5" name="select5" runat="server">
                                            <option value="0">请选择密保问题</option>
                                            <option value="1">您父亲的名字是?</option>
                                            <option value="2">您母亲的名字是?</option>
                                            <option value="3">您配偶的名字是?</option>
                                            <option value="4">您的出生地是?</option>
                                            <option value="5">您高中班主任的名字是?</option>
                                            <option value="6">您初中班主任的名字是?</option>
                                            <option value="7">您小学班主任的名字是?</option>
                                            <option value="8">您的小学校名是?</option>
                                            <option value="9">您的学号（或工号）是?</option>
                                            <option value="10">您父亲的生日是?</option>
                                            <option value="11">您母亲的生日是?</option>
                                            <option value="12">您配偶的生日是?</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td align=right class="row">
                                        答案：
                                    </td>
                                    <td >
                                        <input id="Text2" class="txt_" type="text" runat="server" name="awnser2" />
                                    </td>
                                </tr>
                                <tr>
                                <td colspan="2" class="row" align="right">
                                <span id="question_val" runat="server"></span>
                                </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="login-ref" colspan=2>
                        <input type="image" src="./images/login-b1.jpg" runat="server" class="login-b1" id="Image1" onclick="return val();" onserverclick="Image1_ServerClick"/>
                    </td>
                </tr>
                </table>
                <div class="both"></div>
                <table align="left" cellpadding=0 cellspacing=0 width="100%">
                    <tr>
                        <td class="confer">
                            <span class="confer01">&nbsp;&nbsp;&nbsp;&nbsp;服务协议</span><br /><textarea class="confer02"><%=model_t.Sericep %></textarea>
                        </td>
                    </tr>
                </table><div class="both"></div>
                <script>
                    document.getElementsByName("hw_1")[0].value = "<%=this.hw1 %>";
                    hw_select();
                    document.getElementsByName("hw_2")[0].value = "<%=this.hw2 %>";
                    document.getElementsByName("hw_3")[0].value = "<%=this.hw3 %>";
                    hw_select2();
                    document.getElementsByName("hw_4")[0].value = "<%=this.hw4 %>";
                    document.getElementById("hidd_diqu").value = "<%=this.hw1 %>,<%=this.hw2 %>";
                    document.getElementById("hidd_diqu2").value = "<%=this.hw3 %>,<%=this.hw4 %>";
                </script>
                
                <div class="copyright" runat="server" id="copr"></div>
                <div class="both"></div>
            </div>
        </div>
        <input type="hidden" id="refef" name="ref" runat="server" />
        
    </form>
</body>
</html>
