Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 3.148.223.53
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/resources/views/pages/unsubscribeNewsletter.blade.php_bckup_hari_20sep22
@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 sol-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><a href="{{route('siteMap')}}" style="color:#fff;">Site Map</a></li>
                      <li>Unsubscribe Newsletter</li>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <!-- Contact Us-area start hear -->
          <div class="contactus-area">
            <div class="container">
              <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                  <div class="form-title text-center">
                    <h3>Unsubscribe Newsletter/Articles!</h3>
                  </div>
                </div>
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <p>To unsubscribe, enter your E-mail address and click the "Unsubscribe" button.</p>
                   <div class="row">

                     <div class="contractus-form">
                       <form action="{{route('unsubscribethankyou')}}" method="post" id="unsubscribeForm">
                          {{ csrf_field() }}
                         <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                           <div class="row">
                             <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                               <label>Email ID</label>
                               <input type="email" placeholder="Email*" name="emailid" >
                             </div>
                              <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                               <input type="hidden" class="hiddenRecaptcha required" name="hiddenRecaptcha" id="hiddenRecaptcha" value="">
                              <div id="recaptcha" class="g-recaptcha" data-callback="validateRecaptcha" data-expired-callback="expiredRecaptcha" data-sitekey="6LewakIUAAAAACSoKMaBasi3pn53TBjxqBVLKJDJ"></div>
                             </div>

                           </div>
                         </div>
                         <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 p-t-10">
                           <input  type="submit" class="btn-hr" id="submitBtn" value="Unsubscribe" style="width: 189px;">
                         </div>
                       </form>
                     </div>
                   </div>
                </div>
              </div>
            </div>
          </div>
     <!-- 40.contactus-area end hear -->

@endsection

@push('styles')
 <style>
.form-error{color:red !important; font-weight: lighter;}
.color{color:red;}
.msg-error {
  color: #c65848;
}
 .g-recaptcha.error {
  border: solid 2px #c64848;
  padding: .3em;
  width: 23em;
} 
</style>
  <link href="{{{URL::asset('public/css/home.css')}}}" rel="stylesheet">
@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>
  function validateRecaptcha() {
   
    response = grecaptcha.getResponse();

    if (response.length === 0) {
      $('#hiddenRecaptcha').val('');
    }
    else {
      $('#hiddenRecaptcha').val('1');
    }
    $("#newslettersignup").validate().element(':input[name="hiddenRecaptcha"]');
  }
  $(document).ready(function(){

    {{--  $('#submitBtn').click(function(){
      console.log(grecaptcha.getResponse());
    });  --}}

  });

  function expiredRecaptcha() {
    $("<label id='recaptcha-expired-error' class='form-error'>*ReCaptcha Expired! Please verify ReCaptcha again..</label>").appendTo('.g-recaptcha');
  }

  $(function() {

    $('#unsubscribeForm').validate({
      errorClass: "form-error",
      ignore:'',
      rules:  {
        formName: {
          required:true,
        },
        company: {
          required:true,
        },
        emailid: {
          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"
        },
        emailid: {
          required:"*Please enter the Email ID",
          emailid:"*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

Anon7 - 2022
AnonSec Team