123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278 |
- <!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>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=7" />
- <title>phpcmsV9 - {L('member','','member').L('manage_center')}</title>
- <link href="{CSS_PATH}reset.css" rel="stylesheet" type="text/css" />
- <link href="{CSS_PATH}dialog_simp.css" rel="stylesheet" type="text/css" />
- <link href="{CSS_PATH}table_form.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- .submit,.pass-logo a,.input label,.item span,#content h2 span em{display:inline-block;zoom:1;*display:inline;}
- .blue,.blue a{color:#377abe},.submit input{cursor:hand;}
- .log{line-height:24px; height:24px;float:right; font-size:12px}
- .log span{color:#ced9e7}
- .log a{color:#049;text-decoration: none;}
- .log a:hover{text-decoration: underline;}
- #header{ height:94px; background:url({IMG_PATH}member/h.png) repeat-x}
- #header .logo{ padding-right:100px;float:left;background:url({IMG_PATH}member/login-logo.png) no-repeat right 2px;}
- #header .content{width:920px; margin:auto; height:60px;padding:10px 0 0 0}
- #content{width:920px; margin:auto; padding:20px 0 0 0; overflow:auto}
- .form-login{width:420px; padding-left:40px}
- #content h2{font-size:25px;color:#494949;border-bottom: 1px dashed #CCC;padding-bottom:3px; margin-bottom:10px}
- #content h2 span{font-size:12px; font-weight:normal}
- #content h2 span em{background: url({IMG_PATH}member/order.png) no-repeat 0px -16px; width:15px; height:15px; line-height:15px; text-align:center; margin-right:5px; color:#FFF}
- #content h2 span.on{ color:#333; font-weight:700}
- #content h2 span.on em{background-position: 0px 0px;}
- .form-login .input{ padding:7px 0; overflow:hidden; clear:both}
- .form-login .input label{ width:84px;font-size:14px; color:#8c8686; text-align:right; float:left}
- .form-login .input .form{ width:560px; float:left}
- .take,.reg{padding:0 0 0 84px}
- .take .submit{margin-top:10px}
- .form-login .hr{background: url({IMG_PATH}member/line.png) no-repeat left center; height:50px;}
- .form-login .hr hr{ display:none}
- .form-reg{padding:10px 0 0 14px; width:650px; border-right:1px solid #ccc}
- .form-reg .input label{ width:120px}
- .form-reg .input label.type{ width:auto; color:#000; padding-right:10px}
- .form-reg .reg{padding:10px 0 0 120px}
- .form-reg .reg .submit{ margin-bottom:5px}
- .submit{padding-left:3px}
- .submit,.submit input{ background: url({IMG_PATH}member/but.png) no-repeat; height:29px;width:auto;_width:0;overflow:visible !ie}
- .submit input{background-position: right top; border:none; padding:0 10px 0 7px; font-size:14px}
- .reg{ color:#666; line-height:24px}
- .reg .submit{background-position: left -35px; height:35px}
- .reg .submit input{background-position: right -35px; font-weight:700; color:#fff; height:35px}
- .reg-auto{ padding:10px 0 0 20px}
- .reg-auto p{ margin-bottom:10px; color:#666;}
- .col-1{position:relative; float:right; border:1px solid #c4d5df; zoom:1;background: url({IMG_PATH}member/member_title.png) repeat-x; width:310px; margin: auto; height:304px}
- .col-1 span.o1,
- .col-1 span.o2,
- .col-1 span.o3,
- .col-1 span.o4{position:absolute;width:3px;height:3px;background: url(images/fillet.png) no-repeat}
- .col-1 span.o1{background-position: left -6px; top:-1px; left:-1px}
- .col-1 span.o2{background-position: right -6px; top:-1px; right:-1px}
- .col-1 span.o3{background-position: left bottom; bottom:-1px; left:-1px}
- .col-1 span.o4{background-position: right bottom; bottom:-1px; right:-1px;}
- .col-1 .title{color:#386ea8; padding:5px 10px 3px}
- .col-1 div.content{padding:0px 10px 10px}
- .col-1 div.content h5{background: url({IMG_PATH}member/ext-title.png) no-repeat 2px 10px; height:34px}
- .col-1 div.content h5 strong{ visibility: hidden}
- .pass-logo{ margin:auto; width:261px; padding-top:15px}
- .pass-logo a img{ border:1px solid #ddd}
- .pass-logo a{border:3px solid #fff}
- .pass-logo a.logo,
- .pass-logo a:hover{border:3px solid #e8f1f1;}
- .pass-logo p{border-top: 1px solid #e1e4e8; padding-top:15px}
- .item{padding:10px 0; vertical-align:middle; margin-bottom:10px}
- .item span{ color:#8c8686}
- #footer{color:#666; line-height:24px;width:920px; margin:auto; text-align:center; padding:12px 0; margin-top:52px; border-top:1px solid #e5e5e5}
- #footer a{color:#666;}
- .point{border:1px solid #ffbf7a; background:#fffced; margin-bottom:10px; margin-right:100px;margin-left:50px;position:relative}
- .point .content{padding:8px 10px;}
- .point .content .title{color:#ff8400}
- .point .content p{color:#777; text-indent:20px}
- .point span.o1,
- .point span.o2,
- .point span.o3,
- .point span.o4{position:absolute;width:3px;height:3px;background: url({IMG_PATH}fillet.png) no-repeat; overflow:hidden}
- .point span.o1{background-position: left top; top:-1px; left:-1px}
- .point span.o2{background-position: right top; top:-1px; right:-1px}
- .point span.o3{background-position: left -3px; bottom:-1px; left:-1px}
- .point span.o4{background-position: right -3px; bottom:-1px; right:-1px;}
- .exchange{ padding-left:24px; padding-top:50px}
- .exchange h5{ font-weight:normal; font-size:14px; color:#666}
- .exchange .avatar{ padding:10px 0}
- .exchange .avatar img.user{ padding:2px; border:1px solid #ebebeb;}
- .exchange .input{ padding:5px 0}
- .exchange .input label{ width:60px; text-align:right; color:#555}
- .submit button.hqyz{margin:0px; padding:0px; border:none; cursor:pointer; }
- .submit button.hqyz{
- background-position: 100% 0%;
- border: medium none;
- font-size: 12px;
- padding: 0 10px 0 7px;
- }
- .submit button.hqyz{
- background: url("{IMG_PATH}member/but.png") no-repeat 100% 0px;
- height: 29px;
- width: auto;
- }
- #mobile_div input{*margin-bottom:12px;*_padding:0px 0px 6px 0px}
- </style>
- <script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
- <script type="text/javascript" src="{JS_PATH}member_common.js"></script>
- </head>
- <body>
- <div id="header">
- <div class="content">
- <div class="logo"><img src="{IMG_PATH}v9/logo.jpg"/></div>
- <span class="log"></span>
- </div>
- </div>
- <div id="content">
- <h2>完善资料</h2>
- {if !isset($_GET['t'])}
- <form method="post" action="index.php?m=member&c=index&a=register" id="myform">
- <input type="hidden" name="siteid" value="{$siteid}" />
- <input type="hidden" name="modelid" value="10" />
- <div class="col-left form-login form-reg">
-
- <div class="point">
- <div class="content">
- <strong class="title">提示</strong>
- <p>登录成功!完善一下信息,立即开始浏览</p>
- <p>{$description}</p>
- </div>
- <span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
- </div>
- <div class="input"><label>{L('username')}:</label><input type="text" id="username" name="username" size="36" class="input-text" value="{$connect_username}"></div>
- <div class="input"><label>{L('password')}:</label><input type="password" id="password" name="password" size="36" class="input-text"></div>
- <div class="input"><label>{L('cofirmpwd')}:</label><input type="password" name="pwdconfirm" id="pwdconfirm" size="36" class="input-text"></div>
- <div class="input"><label>{L('email')}:</label><input type="text" id="email" name="email" size="36" class="input-text"></div>
- <div class="input"><label>{L('nickname')}:</label><input type="text" id="nickname" name="nickname" size="36" class="input-text" value="{$connect_username}"></div>
-
- {loop $forminfos $k $v}
- <div class="input"><label>{if $v['isbase']}<font color=red>*</font>{/if} {$v['name']}:{if $v['tips']}<br />({$v['tips']}){/if}</label><div class="form" style="width: 500px;">{$v['form']}</div></div>
- {/loop}
-
- <div class="reg">
- <div class="submit"><input type="submit" name="dosubmit" value="{L('agree_protocol_post')}"></div><br />
- <input type="checkbox" name="protocol" id="protocol" value=""><a href="javascript:void(0);" onclick="show_protocol();return false;" class="blue">{L('click_read_protocol')}</a>
- </div>
- </div>
- </form>
- {elseif isset($_GET['t']) && $_GET['t']==2}
- <div class="col-left form-login form-reg">
- {php $emailurl = param::get_cookie('email') ? str_replace('@', '',strstr(param::get_cookie('email'), '@')) : '';}
- {param::get_cookie('_username')} {L('hellow')},{L('login_email_authentication')} {if $emailurl} {L('please_click')}<a href="http://mail.{$emailurl}">{L('login_email')}</a>{/if}
- </div>
- {elseif isset($_GET['t']) && $_GET['t']==3}
- <div class="col-left form-login form-reg">
- {param::get_cookie('_username')} {L('hellow')},{L('please_wait_administrator_verify')}
- </div>
- {else}
- <script language="JavaScript">
- <!--
- redirect("{APP_PATH}index.php?m=member&c=index&a=login");
- //-->
- </script>
- {/if}
- <div class="col-auto exchange">
- <h5>已有了账号?</h5>
- <div class="avatar"><IMG src="{IMG_PATH}member/nophoto.gif" class="user" width=48 height=48> <IMG src="{IMG_PATH}member/exchange.gif"> <IMG src="{IMG_PATH}member/logo/{$_GET['a']}.png" width=48 height=48 class="user"> </div>
- <h5><a href="javascript:;" onclick="show();" class="blue">与我的账号绑定 </a></h5>
- <div id="e-login" style="display:none">
- <form method="post" action="index.php?m=member&c=index&a=login">
- <div class="input">
- <label>{L('username')}:</label><input type="text" id="username" name="username" size="22" class="input-text">
- </div>
- <div class="input">
- <label>{L('password')}:</label><input type="password" id="password" name="password" size="22" class="input-text">
- </div>
- <div class="input">
- <label> </label><div class="submit"><input type="submit" name="dosubmit" id="dosubmit" value="{L('login')}"></div>
- </div>
- </form>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="{JS_PATH}formvalidator.js" charset="UTF-8"></script>
- <script type="text/javascript" src="{JS_PATH}formvalidatorregex.js" charset="UTF-8"></script>
- <script type="text/javascript" src="{JS_PATH}dialog.js"></script>
- <script language="JavaScript">
- <!--
- $(function(){
- $.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
- $("#username").formValidator({onshow:"{L('input').L('username')}",onfocus:"{L('username').L('between_2_to_20')}"}).inputValidator({min:2,max:20,onerror:"{L('username').L('between_2_to_20')}"}).regexValidator({regexp:"ps_username",datatype:"enum",onerror:"{L('username').L('format_incorrect')}"}).ajaxValidator({
- type : "get",
- url : "",
- data :"m=member&c=index&a=public_checkname_ajax",
- datatype : "html",
- async:'false',
- success : function(data){
- if( data == "1" ) {
- return true;
- } else {
- return false;
- }
- },
- buttons: $("#dosubmit"),
- onerror : "{L('deny_register').L('or').L('user_already_exist')}",
- onwait : "{L('connecting_please_wait')}"
- });
- $("#password").formValidator({onshow:"{L('input').L('password')}",onfocus:"{L('password').L('between_6_to_20')}"}).inputValidator({min:6,max:20,onerror:"{L('password').L('between_6_to_20')}"});
- $("#pwdconfirm").formValidator({onshow:"{L('input').L('cofirmpwd')}",onfocus:"{L('input').L('passwords_not_match')}",oncorrect:"{L('passwords_match')}"}).compareValidator({desid:"password",operateor:"=",onerror:"{L('input').L('passwords_not_match')}"});
- $("#email").formValidator({onshow:"{L('input').L('email')}",onfocus:"{L('email').L('format_incorrect')}",oncorrect:"{L('email').L('format_right')}"}).inputValidator({min:2,max:32,onerror:"{L('email').L('between_2_to_32')}"}).regexValidator({regexp:"email",datatype:"enum",onerror:"{L('email').L('format_incorrect')}"}).ajaxValidator({
- type : "get",
- url : "",
- data :"m=member&c=index&a=public_checkemail_ajax",
- datatype : "html",
- async:'false',
- success : function(data){
- if( data == "1" ) {
- return true;
- } else {
- return false;
- }
- },
- buttons: $("#dosubmit"),
- onerror : "{L('deny_register').L('or').L('email_already_exist')}",
- onwait : "{L('connecting_please_wait')}"
- });
- $("#nickname").formValidator({onshow:"{L('input').L('nickname')}",onfocus:"{L('nickname').L('between_2_to_20')}"}).inputValidator({min:2,max:20,onerror:"{L('nickname').L('between_2_to_20')}"}).regexValidator({regexp:"ps_username",datatype:"enum",onerror:"{L('nickname').L('format_incorrect')}"}).ajaxValidator({
- type : "get",
- url : "",
- data :"m=member&c=index&a=public_checknickname_ajax",
- datatype : "html",
- async:'false',
- success : function(data){
- if( data == "1" ) {
- return true;
- } else {
- return false;
- }
- },
- buttons: $("#dosubmit"),
- onerror : "{L('already_exist').L('already_exist')}",
- onwait : "{L('connecting_please_wait')}"
- });
- $(":checkbox[name='protocol']").formValidator({tipid:"protocoltip",onshow:"{L('read_protocol')}",onfocus:"{L('read_protocol')}"}).inputValidator({min:1,onerror:"{L('read_protocol')}"});
- {$formValidator}
- {if !isset($_GET['modelid']) && !isset($_GET['t']) && !empty($member_setting['showregprotocol'])}
- show_protocol();
- {/if}
- });
- function show_protocol() {
- art.dialog({lock:false,title:'{L('register_protocol')}',id:'protocoliframe', iframe:'?m=member&c=index&a=register&protocol=1',width:'500',height:'310',yesText:'{L('agree')}'}, function(){
- $("#protocol").attr("checked",true);
- });
- }
- function show(){
- var t = $("#e-login");
- if(t.css("display") == "none"){
- t.show();
- }else{
- t.hide();
- }
- }
- //-->
- </script>
- {template 'member', 'footer'}
|