<!DOCTYPE html>
<html lang="en" style="overflow-x:hidden">

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
    
    <title>Earning BD Shop</title>
    <meta name="Subject" content="Empowering People Through Technology and Opportunity" /> 
    <meta name="keywords" content="E-commerce, Affiliate Marketing, Fashion, Electronics, Health, Bangladesh" />
    <meta name="description" content="Earning BD Shop is a leading e-commerce and affiliate marketing company in Bangladesh. We offer a wide variety of products from fashion and electronics to health and more. We also provide affiliate marketing services to help businesses grow their online sales.">
   
    <link rel="icon" type="image/png" href="{{asset('web/images/logo/favicon.png')}}">
    
    @include('web.layout.cssx')
     
</head>

<body class="home">
    <div class="page-wrapper">
    	<main class="main login-page">
			<div class="page-content">
				<div class="container">
					<div class="login-popup" style="box-shadow: none;margin-top: 0;">
					    <div class="tab tab-nav-boxed tab-nav-center tab-nav-underline">
							<div class="text-center">
								<h2 class="fadeInUp animation-delay8" style="font-weight:bold">
								<span class="text-success"><a href="{{url('/')}}"><img src="{{asset('web/images/logo/logo.png')}}" style="width:200px;height:auto;"/></a></span>
								</h2>
							</div>		
						
					        <ul class="nav nav-tabs text-uppercase" style="margin-bottom: 20px;">
					            <li class="nav-item">
					                <a class="nav-link">New Register</a>
					            </li>
					        </ul>
					        <div class="tab-content">
                                <form class="form-horizontal" action="{{url('user/register')}}" method="post">@csrf
                                	@if ($errors->any())
					                    <div class="alert alert-danger">
					                        <ul>
					                            @foreach ($errors->all() as $error)
					                                <li>{{ $error }}</li>
					                            @endforeach
					                        </ul>
					                    </div>
					                  @endif

                                	<input type="hidden" name="refer" value="{{$ref}}">
                                	<input type="hidden" name="regtyp" value="1">
                                    <div class="form-group mb-0">
                                        <input style="margin-top: 10px;" type="text" class="form-control" name="name" placeholder="Your Name" required>
                                    </div>
                                    
                                    <div class="form-group mb-0">
                                        <input style="margin-top: 10px;" type="text" class="form-control" name="username" id="username" placeholder="Username" required>
                                        <span style="font-size: 12px;" id="nuchks"></span>
                                    </div>

                                    <div class="form-group mb-0">
                                        <input style="margin-top: 10px;" type="number" class="form-control" name="mobile" id="mobile" placeholder="Mobile Number" required>
                                    </div>

                                    <div class="form-group mb-0">
                                        <input style="margin-top: 10px;" type="email" class="form-control" name="email" placeholder="Email">
                                    </div>

                                    <div class="form-group mb-0">
                                        <input style="margin-top: 10px;" type="password" class="form-control" name="password" id="password" placeholder="Password" required>
                                    </div>

                                    <div class="form-group mb-0">
                                        <input style="margin-top: 10px;" type="password" class="form-control" name="confirm_pass" id="confirm_pass" placeholder="Confirm Password">
                                        <span style="font-size: 12px;" id="message"></span>
                                    </div>

                                    <div class="form-group mb-0">
                                        <textarea style="margin-top: 10px;color: #000;" rows="3" class="form-control" name="address" placeholder="Your Address"></textarea>
                                    </div>

                                    <div class="form-group mb-0" style="margin-top: 10px;">
                                        <input class="form-check-input" type="checkbox" id="flexCheckDefault" required> I have Read and Agree with the <a target="_blank" href="{{url('terms')}}">Terms & Conditions</a>.
                                    </div>

                                    <div class="form-group mb-0">
                                        <button style="margin-top: 10px;margin-bottom: 15px;background: #f3705a; border-radius: 5px;color: white; width: 100%;" class="btn btn-info" type="submit">Confirm Now</button>
                                    </div>
                                </form>
                            </div>
					    </div>
					</div>
				</div>
				<script src="{{asset('web/vendor/jquery/jquery.min.js')}}"></script>
			</div>
		</main>
	</div>

    @include('web.layout.js')
    
</body>

</html>
