Current File : //home/tradevaly/public_html/storage/framework/views/3a0dbd4c78e31fb28db3a15baf8e6a4e591128dc.php
<?php $__env->startPush('style'); ?>
    
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
     <!--/*********************Banner *********************************************** -->

<section class="representative-banner page_bottom_slider">
         <?php $__currentLoopData = $banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
         <a href="<?php echo e($banner->link); ?>">
              <img src="<?php echo e(asset('storage/images/admin/banner/'.$banner['image'])); ?>" class="img-fluid w-100"/>
        </a>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </section>

<!-- ******************** Contact From and Bannder *********************************-->

<section class="bg-white services-contact contact-bg mb-4">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-title"><?php echo e(translate('Contact Us')); ?></h1>
            </div>
            <figure class="col-md-5 mb-0 d-md-block d-none mt-5">
                <img src="<?php echo e(asset("assets/frontend/img/contactbg.png ")); ?>" alt="Get In Touch Banner" class="lazy mt-4" style="">
            </figure>
            <div class="col-md-7">
                <h5>Get In Touch!</h5>
                <div class="separator">
                    <span></span>
                </div>
                <p>Email us with any question or inquiries. We would be happy to answer your questions and setup a meeting with you. Let us know your feedback so that we can do our best to serve you.</p>

                <div class="alert alert-success alert-dismissible fade d-none" role="alert" id="contactResponse">
                    <strong>Enquiry Submitted!</strong> Our team will contact you shortly!
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">×</span>
                    </button>
                </div>
                <div class="contact-form">
                    <div class="form-wrapper">
                        <form method="POST" action="<?php echo e(route('help')); ?>" accept-charset="UTF-8" name="contactform" class="validate-form" id="contactForm" novalidate="novalidate">
                            <?php echo csrf_field(); ?>
                            <div class="form-row">
                                <div class="col-sm-6">
                                    <label for="First Name">First Name</label>
                                    <input class="head-field form-control" required placeholder="Please enter your first name" autocomplete="f_name" name="f_name" type="text" aria-required="true">
                                </div>
                                <div class="col-sm-6">
                                    <label for="Last Name">Last Name</label>
                                    <input class="head-field form-control" required placeholder="Please enter your last name" autocomplete="l_name" name="l_name" type="text" aria-required="true">
                                </div>
                                <div class="col-sm-6">
                                    <label for="E-mail">E-mail</label>
                                    <input class="head-field form-control" required placeholder="Please enter your email address" autocomplete="email" name="email" type="email" aria-required="true">
                                </div>
                                <div class="col-sm-6">
                                    <label for="IM (SKYPE /QQ)">IM (SKYPE / QQ / WeChat / Whatsapp)</label>
                                    <input class="head-field" required placeholder="Please enter your username" autocomplete="username" name="u_name" type="text" aria-required="true">
                                </div>
                                <div class="col-sm-12">
                                    <label for="Company Name / Website">Company Name / Website</label>
                                    <input class="head-field" required placeholder="Please enter your company name or website" autocomplete="c_name" name="c_name" type="text" aria-required="true">
                                </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">
                                    <label><?php echo e(translate('Country')); ?></label> 
                                    <select class="head-field country_id" name="country_id" required>
                                        <option value="">Choose Country</option>
                                        <?php $__currentLoopData = $countrylist; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option style="text-transform:cpitalize" value="<?php echo e($country->id); ?>" <?php if($country->id == $my_country->id): ?> selected <?php endif; ?>><span class="text-capitalize"><?php echo e($country->nicename); ?></span></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                                <div class="col-lg-6 mb-2 ">
                                    <label><?php echo e(translate('Phone')); ?></label> 
                                    <input type="tel" class="head-field regphone" name="phone"  placeholder="<?php echo e(translate('+00')); ?>" required="required" value="+<?php echo e($my_country->phonecode); ?>">       	
                            <input id="phone" type='hidden'>
                                </div>
                                <div class="col-sm-12">
                                    <label for="Message">Message</label>
                                    <textarea class="head-field" cols="50" required placeholder="Please enter your Enquiry" name="message" aria-required="true"></textarea>
                                </div>
                                    <div class="form-group">
                            <div class="col-lg-12 <?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> 
                        <div class="col-lg-12">
                                       <div class="form-check mb-4">
                                          <input class="form-check-input" type="checkbox" value="" id="invalidCheck" name="check" required>
                                          <label class="form-check-label" for="invalidCheck">
                                           I agree to the <a href="<?php echo e(url('terms')); ?>">terms and conditions </a>  and  <a href="<?php echo e(url('privacy&policy')); ?>">privacy policy </a>
                                          </label>
                                          <div class="invalid-feedback">
                                            You must agree before submitting.
                                          </div>
                                        </div>
                                     </div>
                                <div class="col-12 mt-3 ">
                                    <input type="submit" value="Submit" class="submit mt-0">
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <div class="col-md-12"><iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3651.2738618016656!2d90.40781711543187!3d23.773260293818485!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3755c779ca3ebc23%3A0x6b23f0659cde3323!2sNiketan%2C%20Gulshan%2C%20Dhaka!5e0!3m2!1sen!2sbd!4v1652158628816!5m2!1sen!2sbd" width="100%" height="auto" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe><br /></div>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
     <script>
            var input = document.querySelector(".phone_h");
            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_h").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_h").val(response);
                }
            });
        }
             
             
             
             
         </script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradevaly/public_html/resources/views/frontend/pages/contact.blade.php ENDPATH**/ ?>