| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <!DOCTYPE html>
- <!--[if IE 8]> <html lang="{{app()->getLocale()}}" class="ie8 no-js"> <![endif]-->
- <!--[if IE 9]> <html lang="{{app()->getLocale()}}" class="ie9 no-js"> <![endif]-->
- <!--[if !IE]><!-->
- <html lang="{{app()->getLocale()}}">
- <!--<![endif]-->
- <head>
- <meta charset="utf-8" />
- <title>{{trans('register.title')}}</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta content="width=device-width, initial-scale=1" name="viewport" />
- <meta content="" name="description" />
- <meta content="" name="author" />
- <!-- BEGIN GLOBAL MANDATORY STYLES -->
- <link href="/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
- <link href="/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
- <link href="/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
- <link href="/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
- <!-- END GLOBAL MANDATORY STYLES -->
- <!-- BEGIN THEME GLOBAL STYLES -->
- <link href="/assets/global/css/components-rounded.min.css" rel="stylesheet" id="style_components" type="text/css" />
- <!-- END THEME GLOBAL STYLES -->
- <!-- BEGIN PAGE LEVEL STYLES -->
- <link href="/assets/pages/css/login-2.min.css" rel="stylesheet" type="text/css" />
- <!-- END PAGE LEVEL STYLES -->
- <!-- BEGIN THEME LAYOUT STYLES -->
- <!-- END THEME LAYOUT STYLES -->
- <link rel="shortcut icon" href="{{asset('favicon.ico')}}" />
- </head>
- <body class=" login">
- <!-- BEGIN LOGO -->
- <div class="logo">
- <a href="javascript:;"> <img src="/assets/images/home_logo.png" alt="" /> </a>
- </div>
- <!-- END LOGO -->
- <!-- BEGIN LOGIN -->
- <div class="content">
- @if(Session::get('locale') == 'zh-CN')
- <a href="/?locale=en">English</a>
- @else
- <a href="/?locale=zh-CN">中文</a>
- @endif
- <!-- BEGIN REGISTRATION FORM -->
- <form class="register-form" action="{{url('register')}}" method="post" style="display: block;">
- @if($is_register)
- @if(Session::get('errorMsg'))
- <div class="alert alert-danger">
- <button class="close" data-close="alert"></button>
- <span> {{Session::get('errorMsg')}} </span>
- </div>
- @endif
- <div class="form-group">
- <label class="control-label visible-ie8 visible-ie9">{{trans('register.username')}}</label>
- <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="{{trans('register.username_placeholder')}}" name="username" value="{{Request::old('username')}}" required />
- <input type="hidden" name="register_token" value="{{Session::get('register_token')}}" />
- <input type="hidden" name="_token" value="{{csrf_token()}}" />
- <input type="hidden" name="aff" value="{{Request::get('aff')}}" />
- </div>
- <div class="form-group">
- <label class="control-label visible-ie8 visible-ie9">{{trans('register.password')}}</label>
- <input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="{{trans('register.password')}}" name="password" value="{{Request::old('password')}}" required />
- </div>
- <div class="form-group">
- <label class="control-label visible-ie8 visible-ie9">{{trans('register.retype_password')}}</label>
- <input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="{{trans('register.retype_password')}}" name="repassword" value="{{Request::old('repassword')}}" required />
- </div>
- @if($is_invite_register)
- <div class="form-group">
- <label class="control-label visible-ie8 visible-ie9">{{trans('register.code')}}</label>
- <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="{{trans('register.code')}}" name="code" value="{{Request::old('code') ? Request::old('code') : Request::get('code')}}" required />
- </div>
- <p class="hint"> <a href="{{url('free')}}" target="_blank">获取免费邀请码</a> </p>
- @endif
- @if($is_captcha)
- <div class="form-group" style="margin-bottom:75px;">
- <label class="control-label visible-ie8 visible-ie9">{{trans('register.captcha')}}</label>
- <input class="form-control placeholder-no-fix" style="width:60%;float:left;" type="text" autocomplete="off" placeholder="{{trans('register.captcha')}}" name="captcha" value="" required />
- <img src="{{captcha_src()}}" onclick="this.src='/captcha/default?'+Math.random()" alt="{{trans('register.captcha')}}" style="float:right;" />
- </div>
- @endif
- <div class="form-group margin-top-20 margin-bottom-20">
- <label class="mt-checkbox mt-checkbox-outline">
- <input type="checkbox" name="tnc" checked disabled /> {{trans('register.tnc_button')}}
- <a href="javascript:showTnc();"> {{trans('register.tnc_link')}} </a>
- <span></span>
- </label>
- </div>
- @else
- <div class="alert alert-danger">
- <span> {{trans('register.register_alter')}} </span>
- </div>
- @endif
- <div class="form-actions">
- <button type="button" class="btn btn-default" onclick="login()">{{trans('register.back')}}</button>
- @if($is_register)
- <button type="submit" class="btn red uppercase pull-right">{{trans('register.submit')}}</button>
- @endif
- </div>
- </form>
- <!-- END REGISTRATION FORM -->
- </div>
- <!-- END LOGIN -->
- <!--[if lt IE 9]>
- <script src="/assets/global/plugins/respond.min.js"></script>
- <script src="/assets/global/plugins/excanvas.min.js"></script>
- <script src="/assets/global/plugins/ie8.fix.min.js"></script>
- <![endif]-->
- <!-- BEGIN CORE PLUGINS -->
- <script src="/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
- <script src="/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
- <!-- END CORE PLUGINS -->
- <!-- BEGIN PAGE LEVEL PLUGINS -->
- <!-- END PAGE LEVEL PLUGINS -->
- <script type="text/javascript">
- // 登录
- function login() {
- window.location.href = '{{url('login')}}';
- }
- // 服务条款
- function showTnc() {
- layer.open({
- type: 1
- ,title: false //不显示标题栏
- ,closeBtn: false
- ,area: '500px;'
- ,shade: 0.8
- ,id: 'tnc' //设定一个id,防止重复弹出
- ,resize: false
- ,btn: ['{{trans('register.tnc_title')}}']
- ,btnAlign: 'c'
- ,moveType: 1 //拖拽模式,0或者1
- ,content: '<div style="padding: 20px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;">不得通过本站提供的服务发布、转载、传送含有下列内容之一的信息:<br>1.违反宪法确定的基本原则的;<br>2.危害国家安全,泄漏国家机密,颠覆国家政权,破坏国家统一的;<br>3.损害国家荣誉和利益的;<br>4.煽动民族仇恨、民族歧视,破坏民族团结的;<br>5.破坏国家宗教政策,宣扬邪教和封建迷信的; <br>6.散布谣言,扰乱社会秩序,破坏社会稳定的;<br>7.散布淫秽、色情、赌博、暴力、恐怖或者教唆犯罪的;<br>8.侮辱或者诽谤他人,侵害他人合法权益的;<br>9.煽动非法集会、结社、游行、示威、聚众扰乱社会秩序的;<br>10.以非法民间组织名义活动的;<br>11.含有法律、行政法规禁止的其他内容的。</div>'
- ,success: function(layero){
- // var btn = layero.find('.layui-layer-btn');
- // btn.find('.layui-layer-btn0').attr({
- // href: 'http://www.layui.com/'
- // ,target: '_blank'
- // });
- }
- });
- }
- </script>
- <!-- BEGIN THEME GLOBAL SCRIPTS -->
- <script src="/assets/global/scripts/app.min.js" type="text/javascript"></script>
- <script src="/js/layer/layer.js" type="text/javascript"></script>
- <!-- END THEME GLOBAL SCRIPTS -->
- </body>
- </html>
|