whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
public_html
/
application
/
views
/
Web
/
Upload File:
files >> //proc/self/root/home/papecmvm/public_html/application/views/Web/header.php
<?php header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Methods: GET, OPTIONS"); $CI =& get_instance(); $max=rand(1,100);$min=rand(1,10); $current_url = current_url(); $country = country(); ?> <!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>PAPERPUSH | Quality services in finance</title> <meta Name="Description" Content="Quality services in finance"/> <meta Name="Keywords" Content="Quality services in finance"/> <meta name="GOOGLEBOT" content="INDEX, FOLLOW" /> <meta name="robots" content="index, follow" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta property="og:site_name" content="PAPERPUSH" /> <meta property="og:title" content="PAPERPUSH" /> <meta property="og:type" content="website" /> <link rel="icon" href="<?php echo base_url(); ?>bootstrap/images/favicon.png" type="image/gif" sizes="16x16"> <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <!-- Bootstrap CSS --> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" crossorigin="anonymous"> <link rel="stylesheet" href="<?php echo base_url(); ?>bootstrap/css/animate.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/hover.css/2.3.0/css/hover-min.css"> <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link href="<?php echo base_url(); ?>bootstrap/css/ihover.min.css" rel="stylesheet"> <!-- start:select multiple dropdown --> <script src="<?php echo base_url(); ?>bootstrap/js/select2.min.js"></script> <link href="<?php echo base_url(); ?>bootstrap/css/select2.min.css" rel="stylesheet"> <!-- end:select multiple dropdown --> <link href="<?php echo base_url(); ?>bootstrap/css/lightbox.min.css" rel="stylesheet"> <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> <link rel="stylesheet" href="<?php echo base_url(); ?>bootstrap/css/style.css"> <link rel="stylesheet" href="<?php echo base_url(); ?>bootstrap/css/responsive.css"> </head> <body><!--class="blanc"--> <div id="head"> <div class="container-fluid"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-3 col-lg-2"> <div class="logo"><a href="<?php echo base_url(); ?>"><img src="<?php echo base_url(); ?>bootstrap/images/new_logo.png" alt="PAPERPUSH"></a></div> </div><!----> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-10"> <div id="menu" class="mymenu resmenu"> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav my-navbar ml-auto"> <?php $CI->menucreate('[Mainmenu]') ;?> <li class="nav-item dropdown reg-menu"><a class="nav-link" href="#" data-toggle="modal" data-target=".register">Subscribe</a></li> <li class="nav-item dropdown login-menu"><a class="nav-link btn btn-outline-danger" href="#" data-toggle="modal" data-target="#login">Log in</a></li> </ul> </div> <div class="res-btns"> <ul class="list-inline"> <li class="list-inline-item btn btn-theme" data-toggle="modal" data-target=".register">Subscribe</li> <li class="list-inline-item btn btn-pink" data-toggle="modal" data-target="#login">Log in</li> </ul> </div> </nav> </div><!--menu--> </div> </div><!--row--> </div><!--cfluid--> </div><!--head--> <div class="paddings"></div> <div class="my-alert"> <?php if($this->session->flashdata('msg')){ echo $this->session->flashdata('msg'); } ?> </div> <div class="modal fade register" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="block2"> </div> <div class="container-fluid" id="auth"> <?php //if($this->session->flashdata('msg')){ echo $this->session->flashdata('msg'); } ?> <?php $attr=array("class"=>"needs-validation reg_form", "novalidate"=>"novalidate"); echo form_open('webapp/users/registration', $attr); ?> <div class="row"> <div class="col-sm-12"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> <h3 style="color: #c82333;"><strong>Subscribe</strong></h3> </div> <div class="col-sm-6"> <input type="hidden" name="code" value="<?php echo $max+$min; ?>"> <input type="hidden" name="current_url" value="<?php echo $current_url; ?>"> <div class="mb-3"> <input name="name" type="text" class="form-control form-control-sm" placeholder="Client Name" required> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the Client Name. </div> </div> <div class="mb-3"> <input name="email" type="email" class="form-control form-control-sm" placeholder="Email" required> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the email. </div> </div> <div class="mb-3"> <select class="form-control form-control-sm country" name="country" id="country" required> <option value="">--Select Country--</option> <?php foreach ($country as $k => $v) { ?> <option value="<?php echo $v['id'].'_'.$v['name']; ?>"><?php echo $v['name']; ?></option> <?php } ?> </select> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please Select Country. </div> </div> <div class="mb-3"> <input name="phone_code" id="phone_code" type="text" class="form-control form-control-sm" placeholder="Phone Code" readonly required> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the Phone code. </div> </div> <div class="mb-3"> <input name="mobile" maxlength="12" type="text" class="form-control form-control-sm" placeholder="Mobile" required oninput="this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\..*)\./g, '$1');"> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the mobile. </div> </div> <div class="mb-3"> <textarea name="address" required placeholder="address" class="form-control form-control-sm"></textarea> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter address. </div> </div> <?php /* <div class="mb-3"> <select name="constitution" class="form-control form-control-sm" required> <option value="">--Select Constitution--</option> <option value="proprietary">Proprietary</option> <option value="LLP">LLP</option> <option value="private limited">Private Limited</option> <option value="limited">Limited</option> </select> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the Constitution. </div> </div> <div class="mb-3"> <input name="date_incorporation" type="text" class="form-control form-control-sm datepicker" placeholder="Date of Incorporation" required > <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the incorporation. </div> </div> <div class="mb-3"> <input name="nob" type="text" class="form-control form-control-sm" placeholder="Nature of the business" required > <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the Nature of the business. </div> </div> <div class="mb-3"> <input name="ur" type="text" class="form-control form-control-sm" placeholder="Unique requirements" required > <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the Unique requirements. </div> </div> <div class="mb-3"> <select name="ri" class="form-control form-control-sm" required> <option value="">--Select Report Interval--</option> <option value="1"> Per Month</option> <option value="6"> Six Month</option> <option value="12"> Per Year</option> </select> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the Report interval. </div> </div> <?php */ ?> </div> <div class="col-sm-6"> <?php /* <div class="mb-3"> <input name="gst" type="text" class="form-control form-control-sm" placeholder="GST Reg." required > <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the GST Reg.. </div> </div> <div class="mb-3"> <input onblur="ValidatePAN(this);" name="pan" type="text" class="form-control form-control-sm pan" placeholder="PAN" required > <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the PAN. </div> </div> <div class="row mb-3"> <div class="col-sm-6"> <select class="form-control form-control-sm country" name="country" required> <option value="">--Select Country--</option> <?php foreach ($country as $k => $v) { ?> <option value="<?php echo $v['id'].'_'.$v['name']; ?>"><?php echo $v['name']; ?></option> <?php } ?> </select> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the country</div> </div> <div class="col-sm-6"> <select class="form-control form-control-sm state" name="state" required> <option value="">--Select State--</option> </select> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the state </div> </div> </div> */ ?> <div class="mb-3"> <input name="username" type="text" class="form-control form-control-sm" placeholder="User Name" required> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the username. </div> </div> <div class="mb-3"> <input id="password" name="pass" required class="form-control form-control-sm" placeholder="Password" type="password" onchange="CheckPassword3($(this).val());" /> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Password is required. </div> </div> <div class="mb-3"> <input id="confirm" name="repass" required class="form-control form-control-sm" placeholder="Re-Enter Password" type="password" /> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Confirm password is required. </div> <span id='message'></span> </div> <div class="mb-3"> <label>Enter the sum</label> <input name="rcode" required class="form-control form-control-sm" placeholder="<?php echo $max."+".$min; ?> = ? " type="text" /> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> SUM is required. </div> </div> <button class="btn btn-theme" type="submit" name="save" value="save">Submit form</button> </div> </div> <?php echo form_close(); ?> </div> <div class="block2"> </div> </div> </div> </div> <!-- Modal --> <div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-body"> <nav> <div class="nav nav-tabs" id="nav-tab" role="tablist"> <a class="nav-item nav-link active" id="nav-login-tab" data-toggle="tab" href="#nav-login" role="tab" aria-controls="nav-login" aria-selected="true">Login</a> <a class="nav-item nav-link" id="nav-forgot-tab" data-toggle="tab" href="#nav-forgot" role="tab" aria-controls="nav-forgot" aria-selected="false">Forgot Password</a> </div> </nav> <br> <div class="tab-content" id="nav-tabContent"> <div class="tab-pane fade show active" id="nav-login" role="tabpanel" aria-labelledby="nav-login-tab"> <?php $attr=array("class"=>"needs-validation", "novalidate"=>"novalidate"); echo form_open('webapp/users/check_login', $attr); ?> <input type="hidden" name="code" value="<?php echo $max+$min; ?>"> <input type="hidden" name="current_url" value="<?php echo $current_url; ?>"> <div class="form-group"> <input class="form-control" type="text" name="username" placeholder="User Name" required> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the User Name. </div> </div> <div class="form-group"> <input class="form-control" type="password" name="pass" placeholder="Password" required> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> Please enter the Password. </div> </div> <div class="mb-3"> <label>Enter the sum</label> <input name="rcode" required class="form-control form-control-sm" " placeholder="<?php echo $max."+".$min; ?> = ? " type="text" /> <div class="valid-feedback">Looks good!</div> <div class="invalid-feedback"> SUM is required. </div> </div> <input type="submit" class="btn btn-theme" name="login"> <?php echo form_close(); ?> </div> <div class="tab-pane fade" id="nav-forgot" role="tabpanel" aria-labelledby="nav-forgot-tab"> <span class="fp"> <form class="" method="POST" action="<?php echo base_url().'webcontroller/forgot_pass'; ?>"> <div class="form-group"> <input type="text" name="username" class="form-control" placeholder="Enter you username" required> </div> <div class="form-group"> <input type="email" name="email" class="form-control" placeholder="Enter you email" required> </div> <input type="submit" class="btn btn-theme" name="submit"> </form> </span> </div> </div> </div> </div> </div> </div> <script> function CheckPassword3(inputtxt) { var decimal = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\s).{8,15}$/; if (inputtxt.match(decimal)){ //alert('Password is strong') return true; } else { $("#password").val(''); alert('Password is weak.Password should be at least 8 characters in length and should include at least one upper case letter, one number, and one special character.') return false; } } $("#country").on("change",function(){ var GetCountry=$("#country").val(); var GetCountry = GetCountry.split('_'); var GetCountry = GetCountry[1]; if(GetCountry == "India"){ var PhoneCode = "+91"; }else{ var PhoneCode = "+1"; } //alert(PhoneCode) $("#phone_code").val(PhoneCode); }); </script> <script> $('#password, #confirm').on('keyup', function () { if ($('#password').val() == $('#confirm').val()) { $('#message').html('Both Password are Matching').css('color', 'green'); } else $('#message').html('Both Password are not Matching').css('color', 'red'); }); $(".reg_form").submit(function (event) { event.preventDefault(); if ($('#password').val() != $('#confirm').val()) { $('#confirm').val(''); return false; } //$('#loading_spinner').show(); var form_data = $(".reg_form").serialize(); var base_url = '<?php echo site_url(); ?>'; $.ajax({ 'url' : base_url + 'webapp/users/registration', type: 'POST', data: form_data, dataType: 'json', success: function (result) { //$('.successLabel').show(); if(result.msg == 'username'){ $("[name='username']").val(''); alert('Sorry, User Name is already available.'); }else if(result.msg == 'sum'){ $("[name='rcode']").val(''); alert('Please enter the valid sum.'); }else if(result.msg == 'pass'){ alert('Password and Re-Password should be match.'); }else{ //alert(result.year); alert(result.code); $('.reg_form')[0].reset(); $('#auth').html(result.msg); makeStructure(result.year, result.code); } }, error: function (result) { alert(result.msg); alert("Something went wrong!"); //$('.errorLabel').show(); } }); }); function makeStructure(year, code){ var base_url = '<?php echo site_url(); ?>'; $.ajax({ 'url' : base_url + 'webapp/users/makeStructure', type: 'POST', data: {year:year, code:code}, dataType: 'json', success: function (result) { //alert('success'); }, error: function () { //alert("Something went wrong!"); } }); } /*function ValidatePAN(Obj) { if (Obj.value != "") { ObjVal = Obj.value; var panPat = /^([a-zA-Z]{5})(\d{4})([a-zA-Z]{1})$/; if (ObjVal.search(panPat) == -1) { alert("Invalid Pan No"); Obj.focus(); $('.pan').val(""); return false; } return true; } } */ /*$(document).on('change', '.country', function (e) { var id = this.value; var id = id.split('_'); var id = id[0]; var dataurl = "<?php echo base_url() ?>" + 'webcontroller/state/'+id; $.ajax({ method: "POST", url: dataurl, dataType: 'json', success: function (result) { $('.state').html(result.html); } }); });*/ $('.forgot_pass').on('submit', function (e) { e.preventDefault(); var dataurl = "<?php echo base_url() ?>" + 'webapp/users/forgot_pass'; $.ajax({ type: 'post', url: dataurl, dataType: 'json', data: $('.forgot_pass').serialize(), success: function (result) { if(result.status == 'success'){ $('.fp').html(result.html); //$(".forgot_pass").toggleClass('forgot_pass reset_pass'); //$(".forgot_pass").addClass('reset_pass'); } } }); }); $('.reset_pass').on('submit', function (e) { e.preventDefault(); var dataurl = "<?php echo base_url() ?>" + 'webapp/users/reset_pass'; $.ajax({ url: dataurl, type: 'post', dataType: 'json', data: $('.reset_pass').serialize(), success: function (result) { if(result.status == 'pass_not_match'){ alert('Sorry, Both password are not matched'); }else if(result.status == 'otp_not_match'){ alert('Sorry, Wrong OTP'); }else{ $('#login').modal('hide'); alert('Success, Password has been changed. Please login to continue'); } } }); }); </script>
Copyright ©2021 || Defacer Indonesia