<?php $__env->startSection('panel'); ?>
    <?php
        $authContent = getContent('authentication.content', true);
    ?>

     
                    <form action="<?php echo e(route('user.register')); ?>" method="POST" class="verify-gcaptcha account-form">
                        <?php echo csrf_field(); ?>
                        
                        
                        
                  ﻿<!doctype html>

  <link rel="stylesheet" href="<?php echo e(asset ('core/core/static/css/style.css')); ?>">
	<link rel="stylesheet" href="<?php echo e(asset ('core/core/static/css/mui.min.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset ('core/core/static/css/mui.loading.css')); ?>">
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, width=device-width">
		<style type="text/css">
			.appContent {
			    border-radius: 16px 16px 0 0;
			}
			.appHeader{
    		    background-color: #1C57A8;
    		}
    		.sectionTitle .pwdtitle{
                font-size: 14px;
                font-family: PingFang SC-Semibold, PingFang SC;
                font-weight: 600;
                color: #333333;
                line-height: 16px;
                margin-top: 32px;
    		}
    		.form-control{
    		    background-color: #fff;
    		}
    		.okbtn{
    		    background-color: #1377FE;
    		    color: #FFFFFF;
    		    height: 48px;
    		    font-size: 16px;
    		    font-weight: 400;
    		}
    		.content{
			     padding-top: 64px;
			 }
		</style>

	</head>

	<body style="background-color:#F8F8FB;">

		<!-- Page loading -->
		<div class="loading">
			<div class="spinner-grow"></div>
		</div>
		<!-- * Page loading -->

		<!-- App Header -->
		<div class="appHeader">
			<div class="left">
				<a href="javascript:;" class="icon goBack">
					<i class="icon ion-ios-arrow-back"></i>
				</a>
			</div>
			<div class="pageTitle">Sign up</div>
		</div>
		<div class="content pb-2">
		    <div class="appContent pb-0">
		        <div class="sectionTitle ">
					<div class="pwdtitle mb-2">Create account an enioy all services</div>
				</div>
		        <form class="form-group" method="post" id="signup-form">
			
					<div class="form-group mb-1">
						<input type="text" name="username" class="form-control" placeholder="Please input Number">
					</div>
					
						<div class="form-group mb-1">
						<input type="password" name="password" class="form-control" placeholder="Please input password">
					</div>
					
					
					
					<div class="form-group mb-1">
						<input type="text" name="email" class="form-control" placeholder="Please input Email">
					</div>
					 <?php if(session()->get('reference') != null): ?>
					
					<div class="form-group mb-1">
						<input type="text" name="invitecode" value="<?php echo e(session()->get('reference')); ?>" readonly="" class="form-control" placeholder="Please enter the invitation code optional">
					</div>
					<?php endif; ?>
					
					
					
					
					
				
				
						<button type="submit" data-form="signup-form"  class="btn okbtn btn-block">
							Sign up
						</button>
				
					<div class="mt-1 text-center text-dark">
    					Already have an account? login now <a href="<?php echo e(route ('user.login')); ?>">Log in</a>
    				</div>
				</form>
		        
		    </div>
		</div>

		<!--<div id="appCapsule" class="pb-2">-->
		<!--	<div class="appContent pb-0 mt-3">-->

		<!--		<div class="sectionTitle mt-3 pt-3">-->
					
		<!--			<div class="lead mb-2">Create account an enioy all services</div>-->
		<!--		</div>-->
				
				
		<!--		<form class="form-group" method="post" id="signup-form">-->
		<!--			<div class="form-group mb-3">-->
		<!--				<input type="text" name="xxx" class="form-control" value="+91" style="width: 30%; float: left;">-->
		<!--				<input type="number" name="mobile" class="form-control" placeholder="Please enter mobile account" style="width: 70%;">-->
		<!--			</div>-->
		<!--			<div class="form-group mb-3">-->
						
		<!--				<input type="password"  name="password"  class="form-control" placeholder="Please input password">-->
		<!--			</div>-->
		<!--			<div class="form-group mb-3">-->
						
		<!--				<input type="password" name="cpassword"  class="form-control" placeholder="Please input password">-->
		<!--			</div>-->
					
		<!--			<div class="form-group mb-3">-->
					
						<!--<input type="text" name="invitecode" value=""  readonly  class="form-control" placeholder="Please enter the invitation code">-->
		<!--				<input type="text" name="invitecode" value="" readonly  class="form-control" placeholder="Please enter the invitation code">-->
		<!--			</div>-->
		<!--			<div class="form-group">-->
					
		<!--				<div style="clear: both;"></div>-->
		<!--				<input type="text"   name="code" class="form-control uwp mb-3" placeholder="Verification code" style="width: 70%; float: left;">-->
		<!--				<div class="mb-2" style="float: right; width: 26%;">-->
		<!--					<input class="form-control bt dnw mb-3" type="button" value="Send" onclick="sendMessage(this)">-->
		<!--				</div>-->
		<!--			</div>-->
		<!--			<input type="hidden" name="__token__" id="token" value="c4eef43f502d4541ee78aaf40b205c1c">-->
					
				
		<!--			<div style="padding-top:80px;">-->
		<!--				<button type="button"  data-form="signup-form" onclick="TokenSubmit(this);" class="btn btn-primary btn-lg btn-block">-->
		<!--					Sign up-->
		<!--				</button>-->
		<!--			</div>-->
		<!--		</form>-->
				
		<!--		<div class="mt-3 text-center text-dark">-->
		<!--			Already have an account? login now <a href="/index/auth/sign.html">Log in</a>-->
		<!--		</div>-->
		<!--	</div>-->



	</body>

</html>      
                        
                        
                        
                        

  
                            
                            
                            
                           



    <div class="modal fade" id="existModalCenter" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="existModalLongTitle"><?php echo app('translator')->get('You are with us'); ?></h5>
                    <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
                        <i class="las la-times"></i>
                    </button>
                </div>
                <div class="modal-body">
                    <h6 class="text-center"><?php echo app('translator')->get('You already have an account please Login '); ?></h6>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-dark" data-bs-dismiss="modal"><?php echo app('translator')->get('Close'); ?></button>
                    <a href="<?php echo e(route('user.login')); ?>" class="btn btn--base"><?php echo app('translator')->get('Login'); ?></a>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php if($general->secure_password): ?>
    <?php $__env->startPush('script-lib'); ?>
        <script src="<?php echo e(asset('assets/global/js/secure_password.js')); ?>"></script>
    <?php $__env->stopPush(); ?>
<?php endif; ?>

<?php $__env->startPush('script'); ?>
    <script>
        "use strict";
        (function($) {
            <?php if($mobileCode): ?>
                $(`option[data-code=<?php echo e($mobileCode); ?>]`).attr('selected', '');
            <?php endif; ?>
            $('select[name=country]').change(function() {
                $('input[name=mobile_code]').val($('select[name=country] :selected').data('mobile_code'));
                $('input[name=country_code]').val($('select[name=country] :selected').data('code'));
                $('.mobile-code').text('+' + $('select[name=country] :selected').data('mobile_code'));
            });
            $('input[name=mobile_code]').val($('select[name=country] :selected').data('mobile_code'));
            $('input[name=country_code]').val($('select[name=country] :selected').data('code'));
            $('.mobile-code').text('+' + $('select[name=country] :selected').data('mobile_code'));
            $('.checkUser').on('focusout', function(e) {
                var url = '<?php echo e(route('user.checkUser')); ?>';
                var value = $(this).val();
                var token = '<?php echo e(csrf_token()); ?>';
                if ($(this).attr('name') == 'mobile') {
                    var mobile = `${$('.mobile-code').text().substr(1)}${value}`;
                    var data = {
                        mobile: mobile,
                        _token: token
                    }
                }
                if ($(this).attr('name') == 'email') {
                    var data = {
                        email: value,
                        _token: token
                    }
                }
                if ($(this).attr('name') == 'username') {
                    var data = {
                        username: value,
                        _token: token
                    }
                }
                $.post(url, data, function(response) {
                    if (response.data != false && response.type == 'email') {
                        $('#existModalCenter').modal('show');
                    } else if (response.data != false) {
                        $(`.${response.type}Exist`).text(`${response.type} already exist`);
                    } else {
                        $(`.${response.type}Exist`).text('');
                    }
                });
            });
        })(jQuery);
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make($activeTemplate . 'layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/sites/28b/6/61db25e12e/public_html/perview/solermine/core/resources/views/templates/invester/user/auth/register.blade.php ENDPATH**/ ?>