%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/eirtvhdf/hire-va.ie/virtual-assistant-offer/
Upload File :
Create Path :
Current File : //home/eirtvhdf/hire-va.ie/virtual-assistant-offer/started.php

<!DOCTYPE html>
<?php
session_start();
require("database.php");

if(isset($_POST['get_quote'])){
   $auto_id = $_SESSION['va_ID'];
   
   $fname = htmlspecialchars($_POST['fname']);
   $email = htmlspecialchars($_POST['email']);
   $contact = htmlspecialchars($_POST['contact']);
   $website = htmlspecialchars($_POST['website']);
   $type = $_POST['type'];
   $type = implode(', ',$type);
   
   
   $body = "

<table class='table table-bordered'>
<tr>
<th>Client Name:</th>
<td>".$fname."</td>
</tr>

<tr>
<th>Email:</th>
<td>".$email."</td>
</tr>

<tr>
<th>Phone:</th>
<td>".$contact."</td>
</tr>

<tr>
<th>Website:</th>
<td>".$website."</td>
</tr>

<tr>
<th>Industry:</th>
<td>".$type."</td>
</tr>

</table>
";
$mail_content = stripslashes($body);
        $to = "fahad.ansari@alogodaddy.com";
        $subject = "Hire-VA Quote | Virtual Assistant";
        
// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
//$headers .= "From: ". strip_tags($_POST['email']) . "\r\n";
$headers .= "Reply-To: ". strip_tags($_POST['email']) . "\r\n";

$url = "https://www.google.com/recaptcha/api/siteverify";
		$data = [
			'secret' => "6LfcuJYbAAAAAHnww519u7uf3o6KkE_LDMiEqHHx",
			'response' => $_POST['token101'],
			// 'remoteip' => $_SERVER['REMOTE_ADDR']
		];

		$options = array(
		    'http' => array(
		      'header'  => "Content-type: application/x-www-form-urlencoded\r\n",
		      'method'  => 'POST',
		      'content' => http_build_query($data)
		    )
		  );

		$context  = stream_context_create($options);
  		$response = file_get_contents($url, false, $context);

		$res = json_decode($response, true);

if($res['success'] == true) {

    
    $mysqli = mysqli_query($dbh,"insert into client_quote values('','$auto_id','$fname','$email','$contact','$website','$type')");
    $retval = mail ($to,$subject,$mail_content,$headers);
    if( $retval == true ) {
        $_SESSION['fname'] = $fname;
        $_SESSION['email'] = $email;
        $_SESSION['contact'] = $contact;
        $_SESSION['website'] = $website;
        $_SESSION['type'] = $type;
             //unset($_SESSION['va_ID']);
             echo '<script type="text/javascript">
           window.location = "https://hire-va.com/virtual-assistant-offer/payment.php"
      </script>';
         }
         else{
             echo 'Mail not sent';
         }
         
}
else{
      echo '<script type="text/javascript">
           window.location = "https://hire-va.com/virtual-assistant-offer/error.php"
      </script>';
 }
 
}
    
    
    
    
?>
<html lang="en">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
                        <meta name="ip2loc" content="103.217.178.36">
        <title>Hire Virtual Assistants</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="ip2loc" content="103.217.178.36">
        <link rel="stylesheet" href="assets/css/style.css">
                <link rel="stylesheet" href="assets/css/style-web.css">
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
        <link rel="stylesheet" href="assets/css/responsive.css">
        <link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&amp;display=swap" rel="stylesheet">
        <link rel="icon" href="assets/images/hire-va.png"/>
        <link href="order-assets/style2.css" rel="stylesheet">
    <link href="order-assets/style-web.css" rel="stylesheet">
    <link href="order-assets/order-css-new.css" rel="stylesheet">
 <style>
header .container-fluid {
    position: relative;
    background-color: #0e0c38;
}

header .top-head li {
    margin-right: 25px;
    position: relative;
    padding-left: 50px;
    z-index: 5;
}

header.theader{
    position:relative;
    padding: 0px !important;
}


section.newsponsor {
    padding: 80px 0;
}

.mainsec1 header {
    height: 125px;
}

.mainsec1 .col-md-12 {
    padding: 0;
}
section.newsponsor h2 {
    padding-top: 12rem;
}
 </style>
</head>
<body>

<div class="mainsec1">
 
    <header class="theader">
        <div class="container-fluid">
            <div class="container">
                <div class="row">
                    <div class="col-md-2">
                        <a href="https://hire-va.com/virtual-assistant-offer/" class="logo"><img src="assets/images/hire-va.png" alt=""></a>
                    </div>
                    <div class="col-md-10">
                        <div class="top-head">
                            <ul class="list-inline">
                                <li>
                                    <i><img src="assets/images/phoneicon.png" alt=""></i>
                                    <a href="javascript:"><span>Contact Us</span>+1-123-456-7891</a>
                                </li>
                                <!--<li>-->
                                <!--    <i><img src="https://www.logoonox.com/affordable-logo-design//assets/images/mailicon.png" alt=""></i>-->
                                <!--    <a href="tel:+1-323-746-1219"><span>email</span>support@LogoKnox.com</a>-->
                                <!--</li>-->
                                <li>
                                    <i><img src="assets/images/chaticon.png" alt=""></i>
                                    <a class="get-quote chat" href="#" onclick="smartsupp('chat:open'); return false;"><span>click here to</span> Live Chat</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>
    








 <section class="packages">
            <div class="container">
                <div class="step2-title">
                    
                    <!--<h1 ><i>Step 2 </i></h1>-->
                     
                </div>
                <!-- <div class="step-fln"><img src="images/stepfl-n.png" ></div> -->
                
            </div>
        </section>
        
        <section class="order-new-style">
            <div class=" step2 step2 step2-new container">
                
                <form method="post" enctype="multipart/form-data" class="form2-validate" id="form2-validate">
                    <div class=" step-top-area">
                        <div class="step-form-area logostepform " id="pf_top">
                         <!--<h1><span>PROVIDE MORE INFORMATION ABOUT YOUR CUSTOM LOGO DESIGN, WHICH WILL HELP OUR EXPERT DESIGNERS TO PROVIDE YOUR INITIAL CONCEPTS WITHIN 24 hrs.</span></h1>-->
                            
                            <h3 class="step-section-title-n border-none"><span>ABOUT YOUR COMPANY</span></h3>
                            <div class="col-md-6">
                                
                                <ul>
                                    <li>
                                        <label>Name <span>*</span></label>
                                        <div class="preferred-name"></div>
                                        <input type="text" name="fname"  value="" id="name" required value="">
                                    </li>
                                     <li>
                                        <label>Contact <span>*</span></label>
                                        <div class="preferred-contact"></div>
                                        <input type="text" name="contact"  value="" id="contact" required value="">
                                    </li>
                                     <li>
                                       <label>Industry <span>*</span></label>
                                       <div class="preferred-message"></div>
                                        <ul class="checkbox-label preferred-box ">
                                            <li><label><input type="checkbox" name="type[]" value="StartUp"> <i></i>StartUp</label></li>
                                            <li><label><input type="checkbox" name="type[]" value="Solo"> <i></i>Solo</label></li>
                                            <li><label><input type="checkbox" name="type[]" value="Trader"> <i></i>Trader</label></li>
                                            <li><label><input type="checkbox" name="type[]" value="Enterprise"> <i></i>Enterprise</label></li>
                                        </ul>
                                    </li>
                                    
                                </ul>
                            </div>
                            <div class="col-md-6 padtop">
                                <ul>
                                   
                                    <li>
                                        <label>Email <span>*</span></label>
                                        <input type="email" name="email"  value="" id="email" required value="">
                                    </li>
                                    <li>
                                        <label>Website</label>
                                        <input type="text" name="website"  value="" id="website" >
                                    </li>
                                   
                                   
                                </ul>
                            </div>
                            
                            <div class="clear"></div>
                            <h3 class="step-section-title-n padminus"><span>VIRTUAL EMPLOYEES</span></h3>
                            <div class="col-md-12">
                                
                                <div id="fetch_records"></div>
                               <div>
                                   <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">Add Virtual Assistant</button>
                                </div>    
                                
                        </div>
                        

                        <div class="col-md-12">
                            <ul>
                                
                                <li>
                                    <input type="hidden" id="token101" name="token101" >
                                    <input type="submit" name="get_quote" value="Get Quote" class="btn-step2">
                                    <input type="hidden" id="token99" name="token99" >
                                <!--    <input type="hidden" id="price" name="price" value="99">
                                    <input type="hidden" id="save" name="save" value="99">
                                    <input type="hidden" name="id" value="344045">
                                    <input type="hidden" name="vid" value="">
                                    <input type="hidden" name="name" value="">
                                    <input type="hidden" name="ip2loc_country" value="">
                                    <input type="hidden" id="email" name="email" value=""> -->
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </form>
            
        </div>
    </section>
    
                              <!-- The Modal -->
<div class="modal" id="myModal">
  <div class="modal-dialog modal-xl">
    <div class="modal-content">

      <!-- Modal Header -->
      <div class="modal-header">
        <h4 class="modal-title">Add New Virtual Assistant</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>

      <!-- Modal body -->
      <div class="modal-body">

        <div class="form-group">
            <label>For which functions are you considering virtual employees?</label>
            <select name="" id="functions" class="form-control" required>
					<option selected="" disabled>Select functions are you considering for virtual employees*</option>
						<option value="Administration">Administration</option>
						<option value="IT">IT</option>
						
                    </select>
            </div>
            
            <div id="hidden_div" style="display: none;" class="form-group">
            <label>Which type of job role are you looking to outsource?</label>
            <select name="" id="role" onchange="setTextField(this)" class="form-control" required>
                <option selected value="Administration">---Select Job Role---</option>
						<option value="Administration">General Office Assistant</option>
						<option value="Administration">Virtual Secretary</option>
						<option value="Administration">Personal Assistant</option>
						<option value="Administration">Accounts Assistant</option>
						<option value="Administration">Data Entry Clerk</option>
						<option value="Administration">Billing Clerk</option>
						<option value="Administration">Virtual Assistant</option>
                
                <option selected value="IT">---Select Job Role---</option>
						<option value="IT">Web Developer</option>
						<option value="IT">Software Developer</option>
						<option value="IT">Graphic Design</option>
						<option value="IT">IT Help Desk</option>
						<option value="IT">Network Administrator</option>
                    </select>
                    <input id="make_text" type ="hidden" name=""/>
            </div>
            
            <div class="form-group">
            <label>Job type</label>
            <div class="preferred-job"></div>
            <ul class="checkbox-label preferred-box">

                <li><label><input type="radio"  name="time" id="ptime" value="Part" checked> <i></i>Part Time</label></li>
                <li><label><input type="radio" name="time" id="ftime" value="Full"> <i></i>Full Time</label></li>

            </ul>
            
            </div>
            
            <div class="form-group Part box2">
            <select name="" id="part_time_box" class="form-control" required>
					<option selected="" disabled>Select Number of Hours Per Employees*</option>
						<option value="2">2</option>
						<option value="3">3</option>
						<option value="4">4</option>
						<option value="5">5</option>
						<option value="6">6</option>
						
                    </select>
            </div>
            
            <div class="form-group Full box">
                    <select name="" id="full_time_box" class="form-control" required>
					    <option selected="" disabled>Select Number of Hours Per Employees*</option>
						<option value="8">8</option>
						<option value="9">9</option>
						<option value="10">10</option>
						
                    </select>
            </div>
            
            <div class="form-group">
                <ul>
                    <li>
                        <label>Number of Employees <span>*</span></label>
                        <input class="form-control" type="number" name="" id="emp" required>
                    </li>
                </ul>
            </div>
            
      </div>

      <!-- Modal footer -->
      <div class="modal-footer">
          <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="addRecord()">Add</button>
        <button type="button" class="btn btn-success" data-dismiss="modal">Close</button>
      </div>

    </div>
  </div>
</div>

<section class="cform-section">
    <div class="container">
        <div class="row">
            <div class="col-md-5">
                <i><img src="assets/images/cf-img.png" class="v1" alt=""></i> 
            </div>
            <div class="col-md-7">
                <h2>Get Free Consultancy</h2>
                <p>If you are interested in speaking with VA about an upcoming project, there are a number of ways we can make that happen. Filling out the form would help us get the right person in touch with you, or you could give us a call.</p>
                <form action="sender.php" method="post" class="cform-section-form">
                    <ul>
                        <li><input type="text" class="required" required placeholder="Name" name="fn"></li>
                        <li><input type="email" class="required email" required placeholder="Email Address" name="em"></li>
                        <li><input type="text" class="required number" required placeholder="Phone No." name="ph"></li>
                        <li class="full-li"><textarea name="msg" class="required" required placeholder="To help us understand better, enter a brief description about your project."></textarea></li>
                        <input type="hidden" id="token5" name="token5" >
                        <li><input type="submit" name="consultancy"  value="Submit">
                        <input type="hidden" name="send" value="1" />
                        
                           <input type="hidden" name="lead_area" value="19" class="leadprice" />
                        <input type="hidden" name="lead_action" value="Footer Form" class="lead_action" />
                         <!-- Email Source -->
<input type="hidden" name="lb_source" 		value="Organic" />
<input type="hidden" name="lb_source_cat" 	value="" />
<input type="hidden" name="lb_source_nam" 	value="" />
<input type="hidden" name="lb_source_ema" 	value="" />
<input type="hidden" name="lb_source_con" 	value="" />
<input type="hidden" name="lb_source_pho" 	value="" />
<input type="hidden" name="lb_source_off" 	value="" />

<!-- Customer Info -->
<input type="hidden" name="fullpageurl" 	value="index.html" />
<input type="hidden" name="pageurl" 		value="http://www.logoonox.com/" />

<!-- ip2Location -->
<input type="hidden" name="ip2loc_ip" 		value="" />
<input type="hidden" name="ip2loc_isp" 		value="" />
<input type="hidden" name="ip2loc_org" 		value="" />
<input type="hidden" name="ip2loc_country" 	value="" />
<input type="hidden" name="ip2loc_region" 	value="" />
<input type="hidden" name="ip2loc_city" 	value="" />




<input type="hidden" name="token" value="40cyggf7ap44sw4gko0gws8scwo4k88"/> 
                        </li>
                    </ul>
                </form>
            </div>
        </div>
    </div>
</section>

<footer>
    <div class="container">
        
        <div class="row">
            <div class="col-md-6">
                <p class="disclaimer">© <?php echo date('Y'); ?>  Virtual Assistants | All rights reserved. </p>
            </div>
          <!--  <div class="col-md-6">
                <a href="https://www.logoonox.com/privacy-policy/">Privacy Policy</a> <a href="https://www.logoonox.com/terms-and-conditions">Terms & Conditions</a>
            </div> -->
        </div>
    </div>
</footer>

<div style="display: none;" class="popupform" id="popupform">
    <div class="modal-body">
        <div class="popup-bann"><img src="assets/images/popup-banner.png" alt=""></div>
        <div class="popup-content">
            <h2>Activate 50% Off Coupon Now</h2>
    <p>Providing you the perfect solution for your business needs. Let's work together and unlock doors to success.</p>
            <form action="https://www.logoonox.com/order-logo/mail.php" method="post" class="popupform_sc">
                <div class="row">
                    <div class="col-md-6">
                        <input type="text" class="required" required name="cn" placeholder="Your Name">
                        <input type="email" class="required email" required name="em"  placeholder="Your Email">
                        <input type="tel" class="required  number ftpn" required name="pn"   minlength="7" maxlength="14" placeholder="Your Phone">
                    </div>
                    <div class="col-md-6">
                        <textarea autocomplete="nope"  name="msg" class="required" required placeholder="To help us understand better, enter a brief description about your project."></textarea>
                    </div>
                    <div class="col-md-12 text-center">
                        <p class="form_tagline"> <input type="checkbox" name="agree"> &nbsp; To receive our weekly Newsletter/SMS and offers check here. You can unsubscribe at any time.</p>
                        <input type="submit"  value="Submit">
                        <input type="hidden" name="send" value="1" />
                        <input type="hidden" name="lead_area" value="19" class="leadprice" />
                        <input type="hidden" name="lead_action" value="Get a Free Quote - Banner" class="lead_action" />
                      <!-- Email Source -->
<input type="hidden" name="lb_source" 		value="Organic" />
<input type="hidden" name="lb_source_cat" 	value="" />
<input type="hidden" name="lb_source_nam" 	value="" />
<input type="hidden" name="lb_source_ema" 	value="" />
<input type="hidden" name="lb_source_con" 	value="" />
<input type="hidden" name="lb_source_pho" 	value="" />
<input type="hidden" name="lb_source_off" 	value="" />a

<!-- Customer Info -->
<input type="hidden" name="fullpageurl" 	value="index.html" />
<input type="hidden" name="pageurl" 		value="http://www.logoonox.com/" />

<!-- ip2Location -->
<input type="hidden" name="ip2loc_ip" 		value="" />
<input type="hidden" name="ip2loc_isp" 		value="" />
<input type="hidden" name="ip2loc_org" 		value="" />
<input type="hidden" name="ip2loc_country" 	value="" />
<input type="hidden" name="ip2loc_region" 	value="" />
<input type="hidden" name="ip2loc_city" 	value="" />




<input type="hidden" name="token" value="40cyggf7ap44sw4gko0gws8scwo4k88"/>                     </div>
                </div>
            </form>
        </div>
    </div>

</div>
 

 <script type="text/javascript" src="order-assets/js/lib.js"></script>
<script type="text/javascript" src="order-assets/js/functions.js"></script>
<script type="text/javascript" src="assets/js/lib.js"></script>
<script type="text/javascript" src="assets/js/TimeCircles.js"></script>
<script type="text/javascript" src="assets/js/functions.js"></script> 
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>

<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>




<script src="https://www.google.com/recaptcha/api.js?render=6LfcuJYbAAAAAJgjX6kEC4fR1CYujJlaTv-4L95h"></script> 
<script>
  grecaptcha.ready(function() {
      grecaptcha.execute('6LfcuJYbAAAAAJgjX6kEC4fR1CYujJlaTv-4L95h', {action: 'homepage'}).then(function(token101) {
         // console.log(token);
         document.getElementById("token101").value = token101;
      });
  });
  </script>
  
  <script>
  grecaptcha.ready(function() {
      grecaptcha.execute('6LfcuJYbAAAAAJgjX6kEC4fR1CYujJlaTv-4L95h', {action: 'homepage'}).then(function(token5) {
         // console.log(token);
         document.getElementById("token5").value = token5;
      });
  });
  </script>


<script>
    $(document).ready(function() {
    $('.preferred-box input[type=checkbox]').click(function() {
    if(this.checked == true) {
    $(this).parent().parent().addClass('selected');
    $(".preferred-message.preferred-style").fadeOut(300);
    } else {
    $(this).parent().parent().removeClass('selected');
    $(".preferred-message.preferred-style").show();
    }
    });
    
    $('.look_box input[type=checkbox]').click(function() {
    if(this.checked == true) {
    $(this).parent().parent().addClass('selected');
    $(".look-message.look-style").fadeOut(300);
    } else {
    $(this).parent().parent().removeClass('selected');
    $(".look-message.look-style").show();
    }
    });
    $(".form2-validate").validate({
    
    });
    $(".form2-validate").submit(function(e) {
    var ck = $("form .preferred-box input:checked").length;
    var b = $("input:submit");
    var checkboxes = $(".preferred-box input[type='checkbox']"),
    submitButt = $("input[type='submit']");
    if (ck === 0) {
    console.log('invalid');
    $('.preferred-message').text("Please select industry").addClass("preferred-style").css({"color": "red"});
    } else {
    $('.preferred-error').removeClass().text("");
    document.getElementById("form_stp2").submit();
    }
    e.preventDefault();
    
    
    
    
    
    
    var ck3 = $("form .look_box input:checked").length;
    var b3 = $("input:submit");
    var checkboxes3 = $(" .look_box  input[type='checkbox']"),
    submitButt3 = $("input[type='submit']");
    if (ck3 === 0) {
    console.log('invalid');
    $('.preferred-job').text("Please select Job Type").addClass("look-style").css({"color": "red"});
    } else {
    $('.look-error').removeClass().text("");
    document.getElementById("form_stp2").submit();
    }
    e.preventDefault();
    
    
    
    
    
    
    });
    
    
    
    
    
    
    $('a.rd-lnk').click(function(){
    $('.pckg-body').slideToggle();
    $('.captionpckgs .pckg-btn').slideToggle();
    });
    $('.mobile-pckgbtn').click(function(){
    $('.pckgs-main').slideToggle();
    });
    $('.pckg').click(function(){
    $('.pckg').removeClass('active');
    $(this).addClass('active');
    });
    $('a.gt-start').click(function(){
    var amount = jQuery(this).data("amount");
    $('input[name=amount]').val(amount);
    $('#price').val(amount);
    $('html, body').animate({
    scrollTop: $('.step2').offset().top
    }, 'slow');
    });
    });
    $('.pckg').click(function(){
    var amount = jQuery(this).data("amount");
    $('input[name=amount]').val(amount);
    $('#price').val(amount);
    });
    $("#top").fadeIn('slow',function(){
    $(this).animate({'top': '-=30px'},'slow');
    });
    </script>
    
    
    

<script>


var $functions = $( '#functions' ),
		$role = $( '#role' ),
    $options = $role.find( 'option' );
    
$functions.on( 'change', function() {
	$role.html( $options.filter( '[value="' + this.value + '"]' ) );
} ).trigger( 'change' );


    function setTextField(ddl) {
        document.getElementById('make_text').value = ddl.options[ddl.selectedIndex].text;
    }
    
    

document.getElementById('functions').addEventListener('change', function () {
    var style = this.value != 0 ? 'block' : 'none';
    document.getElementById('hidden_div').style.display = style;
});


    
    
    
</script>

 <script>
 $(document).ready(function(){
    
     $(".box").hide();
    
     $('input[type="radio"]').click(function(){
        var inputValue = $(this).attr("value");
       var targetBox = $("." + inputValue);
         $(".box").not(targetBox).hide();
         $(targetBox).show();
     });
 });
 </script>

 <script>
 $(document).ready(function(){
    
     $('input[type="radio"]').click(function(){
         var inputValue = $(this).attr("value");
         var targetBox = $("." + inputValue);
         $(".box2").not(targetBox).hide();
         $(targetBox).show();
     });
 });
 </script>

<!-- Smartsupp Live Chat script -->
<!--<script type="text/javascript">-->
<!--var _smartsupp = _smartsupp || {};-->
<!--_smartsupp.key = '07230ce9077270c81ed2316b2c6cc002862cd0f5';-->
<!--window.smartsupp||(function(d) {-->
<!--  var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];-->
<!--  s=d.getElementsByTagName('script')[0];c=d.createElement('script');-->
<!--  c.type='text/javascript';c.charset='utf-8';c.async=true;-->
<!--  c.src='https://www.smartsuppchat.com/loader.js?';s.parentNode.insertBefore(c,s);-->
<!--})(document);-->
<!--</script>-->

<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=04dcdbfa-0679-44a3-81e6-8a6b9b99aee2"> </script>
<!-- End of  Zendesk Widget script -->

<script>

$(document).ready(function(){
    document.getElementById("part_time_box").value = "";
    document.getElementById("full_time_box").value = "";
    readRecords();
});

    function readRecords(){
        var readrecord = "readrecord";
        $.ajax({
            url:"insert.php",
            type:"post",
            data:{readrecord:readrecord},
            success:function(data,status){
                $('#fetch_records').html(data);
            }
        });
    }
    
    
        


    function addRecord(){
        
        var category = $("#functions").val();
        var job_role = $("#make_text").val();
        var p_time = $("#part_time_box").val();
        var f_time = $("#full_time_box").val();
        var emp = $("#emp").val();
        
        
        $.ajax({
            url:"insert.php",
            type:'post',     
            data:{
                category : category,
                job_role : job_role,
                p_time : p_time,
                f_time : f_time,
                emp : emp
                
            },
            
            success:function(data,status){
                document.getElementById("part_time_box").value = "";
    document.getElementById("full_time_box").value = "";
                readRecords();
            }
            
        });
        
    }
    
    function DeleteUser(deleteid){
            $.ajax({
               url:"insert.php",
               type:"post",
               data:{deleteid:deleteid},
               success:function(data,status){
                readRecords();
             }
            });
        
    }
</script>


</body>

</html>

Zerion Mini Shell 1.0