Current File : /home/tradevaly/public_html/storage/framework/views/f5af3c55bb33fc57b25a57aac60d99043a63b9f5.php |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">
<meta name="title" content="<?php echo $__env->yieldContent('meta_title',settings()->meta_title); ?>">
<meta name="author" content="<?php echo $__env->yieldContent('meta_author' ,settings()->meta_author); ?>">
<meta name="keywords" content="<?php echo $__env->yieldContent('meta_keword',settings()->meta_tages); ?>">
<meta name="description" content="<?php echo $__env->yieldContent('meta_description',settings()->meta_title); ?>">
<?php echo $__env->yieldPushContent('product-info'); ?>
<title><?php echo e(site_setting('title')); ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/css/style.css?t=[timestamp]')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/css/editable.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/css/rfq.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/css/intlTelinput.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/bootstrap-4.6.1/css/bootstrap.min.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/bootstrap-4.6.1/css/bootstrap-grid.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/fontawesome/css/all.min.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/fontawesome/css/fontawesome.min.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/flag-icon/css/flag-icons.min.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/flag-icons/css/flag-icon.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/OwlCarousel/dist/assets/owl.carousel.min.css')); ?>" media="all">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/OwlCarousel/dist/assets/owl.theme.default.min.css')); ?>">
<link rel="stylesheet" href="//cdn.bootcss.com/toastr.js/latest/css/toastr.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/css/lightslider.css')); ?>">
<?php echo NoCaptcha::renderJs(); ?>
<?php echo $__env->yieldContent('style'); ?>
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/frontend/css/marquee.css')); ?>" media="all">
<style>
.modal-content {
border:0px !important;
box-shadow: 0px 0px 15px #bebebe;
}
</style>
</head>
<body id="body_id" class="body_gray">
<?php
$logo = App\Models\Logo::latest()->first();
?>
<?php echo $__env->make('frontend.layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!---************************************* Sign Up ***********************************-->
<!--<?php if(auth()->guard()->guest()): ?>-->
<!--<div class="modal fade show" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">-->
<div class="container mt-5 mb-5 p-5" role="document">
<div class="bg-white p-5 m-5 ">
<div class="d-flex justify-content-center">
<a href="<?php echo e(url('/')); ?>" title="Global B2B Marketplace for Worldwide Manufacturers and Suppliers – Eworldtrade">
<img src="<?php echo e(asset('storage/images/admin/logo/'.$logo->image)); ?>" alt="Global B2B Marketplace for Worldwide Manufacturers and Suppliers – Eworldtrade">
</a>
</div>
<div class="modal-header">
<h5 class="modal-title my-3" id="exampleModalLongTitle"><?php echo e(translate('JOIN US')); ?></h5>
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true"><?php echo e(translate('Seller')); ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false"><?php echo e(translate('Buyer')); ?></a>
</li>
</ul>
</div>
<div class="modal-body">
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
<div class="signup-form">
<form action="<?php echo e(route('front.user.register.store')); ?>" method="post">
<?php echo csrf_field(); ?>
<div class='row'>
<input type='hidden' name='type' value='seller'/>
<div class="col-lg-6 mb-2">
<input type="text" class="form-control" name="name" placeholder="<?php echo e(translate('Name')); ?>" required="required">
</div>
<div class="col-lg-6 mb-2">
<input type="text" class="form-control" name="username" placeholder="<?php echo e(translate('User Name')); ?>" required="required">
</div>
<div class="col-lg-12 mb-2">
<div class="form-group">
<?php
$category = \App\Models\Category::where('parent_id', 0)->where('status', 1)->where('home', 1)->get();
?>
<select class="form-control" name="category_id">
<option value=""><?php echo e(translate('Select a Category *')); ?></option>
<?php $__currentLoopData = $category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($cat->id); ?>"><?php echo e($cat->name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="col-lg-6 mb-2">
<input type="text" class="form-control" name="company" placeholder="<?php echo e(translate('Company')); ?>" required="required">
</div>
<?php
$my_ip = ip_country('103.122.29.214')->country_code;
$my_country = \App\Models\Country::where('iso', $my_ip)->first();
$countrylist = \App\Models\Country::all();
?>
<div class="col-lg-6 mb-2">
<select class="form-control" name="country_id" id="country_id" required>
<option value="">Choose Country</option>
<?php $__currentLoopData = $countrylist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($country->id); ?>" <?php if($country->id == $my_country->id): ?> selected <?php endif; ?>><?php echo e($country->name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="col-lg-6 mb-2">
<input type="phone" class="form-control" name="phone" id="regphone" placeholder="<?php echo e(translate('+00')); ?>" required="required" value="+<?php echo e($my_country->phonecode); ?>">
</div>
<div class="col-lg-6 mb-2">
<input type="email" class="form-control" name="email" placeholder="<?php echo e(translate('Email')); ?>" required="required">
</div>
<div class="col-lg-6 mb-2">
<input type="password" class="form-control" name="password" placeholder="<?php echo e(translate('Password')); ?>" required="required">
</div>
<div class="col-lg-6 mb-2">
<input type="password" class="form-control" name="confirm_password" placeholder="<?php echo e(translate('Confirm Password')); ?>" required="required">
</div>
<div class="col-lg-6 <?php echo e($errors->has('g-recaptcha-response') ? ' has-error' : ''); ?>">
<?php echo app('captcha')->display(); ?>
<?php if($errors->has('g-recaptcha-response')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('g-recaptcha-response')); ?></strong>
</span>
<?php endif; ?>
</div>
<div class="col-lg-12 my-3">
<label class="checkbox-inline"><input type="checkbox" required="required"> <?php echo e(translate('I accept the')); ?> <a href="#"><?php echo e(translate('Terms of Use')); ?></a> & <a href="#"><?php echo e(translate('Privacy Policy')); ?></a></label>
</div>
<div class="col-lg-12">
<button type="submit" class="btn btncolor btn-sm btn-block"><?php echo e(translate('Register Now')); ?></button>
</div>
</div>
</form>
</div>
</div>
<div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">
<div class="signup-form">
<form action="<?php echo e(route('front.user.register.store')); ?>" method="post">
<?php echo csrf_field(); ?>
<div class='row'>
<input type='hidden' name='type' value='buyer'/>
<div class="col-lg-6">
<input type="text" class="form-control" name="name" placeholder="<?php echo e(translate('Name')); ?>" required="required">
</div>
<div class="col-lg-6">
<input type="text" class="form-control" name="username" placeholder="<?php echo e(translate('User Name')); ?>" required="required">
</div>
<div class="col-lg-12">
<div class="form-group">
<?php
$category = \App\Models\Category::where('parent_id', 0)->where('status', 1)->where('home', 1)->get();
?>
<select class="form-control" name="category_id">
<option value=""><?php echo e(translate('Select a Category *')); ?></option>
<?php $__currentLoopData = $category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($cat->id); ?>"><?php echo e($cat->name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="col-lg-6">
<input type="text" class="form-control" name="company" placeholder="<?php echo e(translate('Company')); ?>" required="required">
</div>
<?php
$my_ip = ip_country('103.122.29.214')->country_code;
$my_country = \App\Models\Country::where('iso', $my_ip)->first();
$countrylist = \App\Models\Country::all();
?>
<div class="col-lg-6">
<select class="form-control" name="country_id" id="country_id" required>
<option value="">Choose Country</option>
<?php $__currentLoopData = $countrylist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($country->id); ?>" <?php if($country->id == $my_country->id): ?> selected <?php endif; ?>><?php echo e($country->name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="col-lg-6">
<input type="phone" class="form-control" name="phone" id="regphone" placeholder="<?php echo e(translate('Phone')); ?>" required="required" value="+<?php echo e($my_country->phonecode); ?>">
</div>
<div class="col-lg-6">
<input type="email" class="form-control" name="email" placeholder="<?php echo e(translate('Email')); ?>" required="required">
</div>
<div class="col-lg-6">
<input type="password" class="form-control" name="password" placeholder="<?php echo e(translate('Password')); ?>" required="required">
</div>
<div class="col-lg-6">
<input type="password" class="form-control" name="confirm_password" placeholder="<?php echo e(translate('Confirm Password')); ?>" required="required">
</div>
<div class="col-lg-6 <?php echo e($errors->has('g-recaptcha-response') ? ' has-error' : ''); ?>">
<?php echo app('captcha')->display(); ?>
<?php if($errors->has('g-recaptcha-response')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('g-recaptcha-response')); ?></strong>
</span>
<?php endif; ?>
</div>
<div class="col-lg-12">
<label class="checkbox-inline"><input type="checkbox" required="required"> <?php echo e(translate('I accept the')); ?> <a href="#"><?php echo e(translate('Terms of Use')); ?></a> & <a href="#"><?php echo e(translate('Privacy Policy')); ?></a></label>
</div>
<div class="col-lg-12">
<button type="submit" class="btn btncolor btn-sm btn-block"><?php echo e(translate('Register Now')); ?></button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!--<div class='modal-footer d-flex justify-content-center'>-->
<!-- <ul class='social'>-->
<!-- <?php if(settings()->facbook): ?>-->
<!-- <li><a href="<?php echo e(settings()->facbook); ?>"><i class='fab fa-facebook-f facebook'></i></a></li>-->
<!-- <?php endif; ?>-->
<!-- <?php if(settings()->linkdin): ?>-->
<!-- <li class="mx-2"><a href="<?php echo e(settings()->linkdin); ?>"><i class='fab fa-linkedin-in linkedin'></i></a></li>-->
<!-- <?php endif; ?>-->
<!-- <?php if(settings()->youtube): ?>-->
<!-- <li><a href="<?php echo e(settings()->youtube); ?>"><i class='fab fa-google google'></i></a>-->
<!-- </li>-->
<!-- <?php endif; ?>-->
<!-- </ul> -->
<!--</div>-->
</div>
</div>
<!--</div>-->
<!--<?php endif; ?>-->
<?php echo $__env->make('frontend.layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!---************************************* Sign Up End ***********************************-->
<script type="text/javascript" src="<?php echo e(asset('assets/frontend/js/jquery.min.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('assets/frontend/js/intlTelinput.js')); ?>"></script>
<script src="//cdn.bootcss.com/toastr.js/latest/js/toastr.min.js"></script>
<script type="text/javascript" src="<?php echo e(asset('assets/frontend/bootstrap-4.6.1/js/bootstrap.min.js')); ?>"></script>
<script type="text/javascript" src="<?php echo e(asset('assets/frontend/OwlCarousel/dist/owl.carousel.min.js')); ?>"></script>
<?php echo $__env->yieldContent('script'); ?>
<?php echo Toastr::message(); ?>
<script>
$(document).ready(function(){
$("#exampleModalCenter").modal('show');
});
</script>
<script>
var input = document.querySelector("#phone");
window.intlTelInput(input, {
initialCountry: "auto",
geoIpLookup: function(callback) {
$.get('https://ipinfo.io', function() {}, "jsonp").always(function(resp) {
var countryCode = (resp && resp.country) ? resp.country : "bd";
callback(countryCode);
});
},
utilsScript: "<?php echo e(URL::asset('assets/frontend/js/utils.js')); ?>"
});
$(document).on('change', '[name=country_id]', function() {
var state_id = $(this).val();
get_city(state_id);
});
function get_city(country_id) {
$("#regphone").val("");
$.ajax({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
url: "<?php echo e(route('country.code')); ?>",
type: 'POST',
data: {
id : country_id
},
success: function (response) {
$("#regphone").val(response);
}
});
}
</script>
<script>
var input = document.querySelector(".phone");
window.intlTelInput(input, {
initialCountry: "auto",
geoIpLookup: function(callback) {
$.get('https://ipinfo.io', function() {}, "jsonp").always(function(resp) {
var countryCode = (resp && resp.country) ? resp.country : "bd";
callback(countryCode);
});
},
utilsScript: "<?php echo e(URL::asset('assets/frontend/js/utils.js')); ?>"
});
$(document).on('change', '[name=country_id]', function() {
var state_id = $(this).val();
get_city(state_id);
});
function get_city(country_id) {
$(".regphone").val("");
$.ajax({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
url: "<?php echo e(route('country.code')); ?>",
type: 'POST',
data: {
id : country_id
},
success: function (response) {
$(".regphone").val(response);
}
});
}
</script>
<script>
$(document).on("click", "[data-initial-toggle]", function(){
var alphabet = $(this).data('initial-toggle');
$("[data-initial]").attr("class", "d-none");
$("[data-initial='"+alphabet+"']").attr("class", "d-inline-block");
$("[data-initial-toggle]").removeClass('active');
$(this).addClass('active');
});
</script>
<script type="text/javascript" src="<?php echo e(asset('assets/frontend/js/lightslider.js')); ?>"></script>
<script type="text/javascript">
$(document).ready(function(){ $('#image-gallery').lightSlider({ gallery:true, item:1, thumbItem:9, slideMargin: 0, speed:500, auto:true, loop:true, onSliderLoad: function() { $('#image-gallery').removeClass('cS-hidden'); } });});
</script>
<script type="text/javascript">
$('.owl-carousel-tabs').owlCarousel({center: true, loop: true, margin: 0, dots: false,padding:0,item:6, nav: false, lazyLoad: true, lazyLoadEager: 0, stagePadding: 00, responsive:{ 0: { items: 2 }, 600: { items: 4 }, 1000: { items: 6 } }});
</script>
<script>
$(document).ready(function(){ $("#tradeShowCarousel").owlCarousel({ items: 1, loop: true, margin: 0, nav: false, lazyLoad: true, dots: false, autoplay: true, autoplayHoverPause: true, responsiveClass: true }); });
</script>
<script type="text/javascript">
$(document).ready(function(){ $('#featuredSuppliers').owlCarousel({ items: 1,padding:0, loop: true, margin: 0, nav: false, lazyLoad: true, dots: true, autoplay: true,center:false, autoplayHoverPause: true, responsiveClass: true }); });
</script>
<script type="text/javascript">
$(document).ready(function(){ $('.testimonails-slider').owlCarousel({ items: 1, loop: true, margin: 0, nav: false, lazyLoad: true, dots: true, autoplay: true, autoplayHoverPause: true, responsiveClass: true }); });
</script>
<script> $(document).ready(function(){ $("#owlAbout").owlCarousel({ items: 1, autoHeight:true }); }); </script>
<script>
var slideIndex = 1;
showSlides(slideIndex);
// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}
// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
<script>
$('#exampleModal').on('show.bs.modal', function (event) {
var button = $(event.relatedTarget) // Button that triggered the modal
var recipient = button.data('whatever') // Extract info from data-* attributes
// If necessary, you could initiate an AJAX request here (and then do the updating in a callback).
// Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead.
var modal = $(this)
modal.find('.modal-title').text('New message to ' + recipient)
modal.find('.modal-body input').val(recipient)
})
</script>
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
(function(){
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
s1.async=true;
s1.src='https://embed.tawk.to/62832d137b967b11798fb0fd/1g386g5s0';
s1.charset='UTF-8';
s1.setAttribute('crossorigin','*');
s0.parentNode.insertBefore(s1,s0);
})();
</script>
<script>
$(document).ready(function() {
var isshow = localStorage.getItem('isshow');
if (isshow== null) {
localStorage.setItem('isshow', 1);
// Show popup here
$('#exampleModalCenter').show();
}
});
</script>
<script>
<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
toastr.error("<?php echo e($error); ?>")
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</script>
<script>
// Get the button
let mybutton = document.getElementById("myBtn");
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
</body>
</html>
<?php /**PATH /home/tradevaly/public_html/resources/views/frontend/pages/register.blade.php ENDPATH**/ ?>