Server IP : 127.0.0.2 / Your IP : 3.17.175.182 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/resources/views/pages/ |
Upload File : |
@extends('template.default') @section('content') <div class="header-breadcrumbs"> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="breadcrumbs-title text-center"> {{-- <h2>Contact Us</h2> --}} <div class="subheader-pages"> <ul> <li><a href="{{route('home')}}" style="color:#fff;">Home</a></li> <li>Contact Us</li> </ul> </div> </div> </div> </div> </div> </div> <div class="contactus-area " style="padding-top: 35px;"> <div class="container"> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 p-0 mob-p-l-15"> <div class="container-inner"> <div class="row main-title"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 p-0 mob-p-l-15"> <h2>Contact Us</h2> </div> </div> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 p-0 mob-p-l-15"> <div class="row"> <div class="contractus-form"> <form method="post" id="contactForm" name="contactForm" action="{{route('contact_form')}}"> {{ csrf_field() }} <div class="col-lg-10 col-md-10 col-sm-10 col-xs-12 mob-p-l-15"> <div class="row m-b-30 col-xs-12 mob-p-l-0"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 mob-p-l-15"> <input type="text" placeholder="Name*" name="formName" id="formName" > </div> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 mob-p-l-15 mob-p-t-25"> <input type="text" placeholder="Company*" name="company" id="company"> </div> </div> <div class="row m-b-30 col-xs-12 mob-p-l-0"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 mob-p-l-15"> <input type="email" placeholder="Email*" name="email" id="email"> </div> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 mob-p-l-15 mob-p-t-25"> <input type="text" placeholder="Phone*" name="phone" id="phone"> </div> </div> <div class="row m-b-30 col-xs-12 mob-p-l-0"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mob-p-l-15"> <input type="text" placeholder="Address" name="address" id="address"> </div> </div> <div class="row m-b-30 col-xs-12 mob-p-l-0"> <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 mob-p-l-15"> <input type="text" placeholder="city" name="city" id="city"> </div> <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 mob-p-l-15 mob-p-t-25"> <input type="text" placeholder="state" name="state" id="state"> </div> <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 mob-p-l-15 mob-p-t-25"> <input type="text" placeholder="zip" name="zip" id="zip"> </div> </div> <div class="row m-b-30 col-xs-12 mob-p-l-0"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mob-p-l-15"> <div class="form-group"> <label class="required">Preferred contact method</label> <div class="input-box"> <select title="Preferred contact method" name="contactMethod" class="nice-select validate-select required-entry" style=""> <option>Email</option> <option>Phone</option> <option>Fax</option> <option>Mail</option> </select> </div> </div> </div> </div> <div class="row m-b-30 col-xs-12 mob-p-l-0"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 mob-p-l-15"> <label> Please provide additional information,If any:</label> <textarea name="comments" id="comments"></textarea> </div> </div> <input type="hidden" class="spamdata" name="spamdata" value=""> <div class="col-sm-3 pull-right p-0 mob-p-r-40"> <input type="submit" class="btn buttonsize" id="submitBtn" value="Submit"> </div> </div> </form> </div> </div> </div> <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12 mob-p-l-15 mob-p-l-0"> <div class=""> <h3>Springfield Resources</h3> <h5>MAINTENANCE TRAINING AND CONSULTATION since 1980 </h5> <div class="map-area"> </div> <br> <ul> <li><h5>Joel Levitt</h5></li> <li>President</li> <li>2414 Hirst Terrace<li> <li>Havertown, PA 19083 USA </li> <li>Phone: +1 267-254+0061 GMT+5 </li> <li>SKYPE: joeldlevitt</li> <li>Email: JDL@maintrainer.com</li> <li>URL: www.MaintenanceTraining.com</li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> @endsection @push('styles') <link href="{{{URL::asset('public/css/home.css')}}}" rel="stylesheet"> <!-- <link href="{{{URL::asset('public/css/resource.css')}}}" rel="stylesheet"> --> <link href="{{{URL::asset('public/css/contact.css')}}}" rel="stylesheet"> <!-- <link href="{{{URL::asset('public/css/category-management.css')}}}" rel="stylesheet" type="text/css" /> --> <style> .form-error{color:red !important; font-weight: lighter;} .color{color:red;} #submitBtn{ background-color: #c61508 !important; } </style> @endpush @push('scripts') <script type="text/javascript" src="{{{URL::asset('public/js/jquery-1.7.1.min.js')}}}"></script> <!-- <script src="https://www.google.com/recaptcha/api.js?render=explicit" async defer></script> --> <script> $('form').on('submit', function(e) { if(grecaptcha.getResponse() == "") { e.preventDefault(); $('#hiddenRecaptcha').val(''); } else { $('#hiddenRecaptcha').val('1'); } }); // function validateRecaptcha() { // response = grecaptcha.getResponse(); // if (response.length === 0) { // $('#hiddenRecaptcha').val(''); // } // else { // $('#hiddenRecaptcha').val('1'); // } // $("#contactForm").validate().element(':input[name="hiddenRecaptcha"]'); // } $(document).ready(function(){ {{-- $('#submitBtn').click(function(){ console.log(grecaptcha.getResponse()); }); --}} }); function expiredRecaptcha() { $('#hiddenRecaptcha').val(''); $("<label id='recaptcha-expired-error' class='form-error'>*ReCaptcha Expired! Please verify ReCaptcha again..</label>").appendTo('.g-recaptcha'); $("#contactForm").validate().element(':input[name="hiddenRecaptcha"]'); } $(function() { $('#contactForm').validate({ errorClass: "form-error", ignore:'', rules: { formName: { required:true, }, company: { required:true, }, email: { required:true, email:true }, messages: { required:true, }, phone: { required:true, number:true }, "hiddenRecaptcha": { required: true }, }, messages: { formName: "*Please enter Name", company: { required:"*Please enter Company Name" }, email: { required:"*Please enter the Email ID", email:"*Please enter a valid Email ID" }, messages: { required:"*Please enter your Message" }, phone: { required:"*Please enter the Phone Number", number:"*Please enter a valid Phone Number" }, hiddenRecaptcha: { required: "*Please verify ReCaptcha" } }, errorPlacement: function(error, element) { if(element.attr("name")==("hiddenRecaptcha")) { error.insertAfter(".g-recaptcha"); } else { error.insertAfter(element); } }, submitHandler: function(form) { form.submit(); } }); }); </script> @endpush