HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/healthvaluequotes/public_html/backup2/index.php
<?php include("header.php"); ?>


<!-- Hero Start -->
<section class="hero-1-bg position-relative d-flex align-items-center" id="home" style="background: #cfedf9">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-lg-6">

                <div class="col-12 mt-2">

                    <h1 class="hero-1-title mb-4 line-height-1_4" style="letter-spacing: 0.5px; font-weight: 700;">Let us help you find the right
                        <span class="text-primary font-weight-bold" style="letter-spacing: 0.3px">Health Plan. <? echo $_POST["get_client_ip"]; ?></span></h1>

                    <form action="form.php" name="zipForm" id="zipForm" method="post">


                        <h2 class="text-primary" style="font-weight:600;">Step 1.</span></h2>
                        <p style="font-size: 1.2em; color:#1d1d1d">Who are you searching for?</p>


                        <div class="radio-toolbar">
                            <input name="PlanType" type="radio"  id="optionone" value="Just For Me" onClick="myFunction()"/>
                            <label for="optionone">Just For Me</label>

                            <input name="PlanType" type="radio" id="optiontwo" value="Myself/Spouse/Child" onClick="myFunction2()"/>
                            <label for="optiontwo">Myself/Spouse/Child</label>

                            <input name="PlanType" type="radio" id="optionthree" value="Whole Family" onClick="myFunction3()"/>
                            <label for="optionthree">Whole Family</label>
                            <span aria-hidden="true"></span>
                        </div>


                        <div class="mt-4">
                            <h2 class="text-primary" style="font-weight:600;">Step 2.</span></h2>
                            <p style="font-size: 1.2em; color:#1d1d1d">Who are you searching for?</p>

                            <div class="row">
                            <div class="col-8" style="padding: 0px !important;">
                            <input type="text" name="ZipCode" id="ZipCode" class="form-control datepicker zipCodeInput"  placeholder="Enter Zip Code" minlength="5" maxlength="5" style="height: 100%; border-radius: 4px 0px 0px 4px; min-height: 39px !important; margin-left: 15px !important;">
                            </div>
                            <span id="errorZip" style="display:none" class="customHelpClass">Please enter a valid Zip Code</span>
                            <input id="City" class="City" name="City" type="hidden">
                            <input id="State" class="State" name="State" type="hidden">
                            <div class="col-4" style="padding: 0px !important;">
                            <input type="submit" id="submitButton" class="btn btn-warning" style="border-radius: 0px 4px 4px 0px;">
                            </div>
                            </div>

                            <span id="displayLocation" class="displayLocation"></span></input>

                    </form>

                </div>

            </div>
        </div>
        <div class="col-lg-6">
            <div class="mt-5 mt-lg-0" style="padding: 0px !important;">
                <div id="first"><img src="images/family-2.png"  class="img-fluid mx-auto d-block"/> </div>
                <div id="second"><img src="images/family-1.png"  class="img-fluid mx-auto d-block"/> </div>
                <div id="third"><img src="images/family-03.png"  class="img-fluid mx-auto d-block"/> </div>

            </div>
        </div>
    </div>
    </div>
</section>
<!-- Hero End -->


<!-- footer Start -->
<section class="footer">
        <div class="container">
            <div class="row">
                <div class="col-lg-12 text-center">
                    <div class="mb-4">
                        <a href="/"><img src="images/logo.svg" alt="" class="logo-dark" height="70" /></a>
                        <h6 class="text-muted font-weight-normal mt-2" style="font-size: 24px;"><a href="Tel: +1 (855) 805-6712">Call now: +1 (855) 805-6712</a></h6>
                    </div>
                </div>

                    </div>
                </div>
            </div>
            <div class="row mt-5">
                <div class="col-md-12">
                    <div class="text-center text-muted">
                    <p class="mb-0 f-15">©Health Value Quotes 2019-Current All Rights Reserved by America’s Health Center, Inc. | <a href="/privacy.php">Privacy Policy | <a href="terms.php">Terms and Conditions</a></p>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- footer End -->

    <!-- javascript -->
    
    <script src="js/bootstrap.bundle.min.js"></script>
    <script src="js/scrollspy.min.js"></script>
    <script src="js/jquery.easing.min.js"></script>


    <!-- carousel -->
    <script src="js/owl.carousel.min.js"></script>
    <!-- Main Js -->
    <script src="js/app.js"></script>


    <script>

/*-----------------------------------------------------------------------*/
/*------------------------------ IMAGE SWAP -----------------------------*/
/*-----------------------------------------------------------------------*/


    const myFunction = () => {
        document.getElementById("first").style.display ='block';
        document.getElementById("second").style.display ='none'
        document.getElementById("third").style.display ='none'
    }

    const myFunction2 = () => {
        document.getElementById("second").style.display ='block'
        document.getElementById("first").style.display ='none'
        document.getElementById("third").style.display ='none'
    }

    const myFunction3 = () => {
        document.getElementById("third").style.display ='block'
        document.getElementById("first").style.display ='none'
        document.getElementById("second").style.display ='none'
    }

    $(function(){
        $('.toggle').on('click', function(event){
            event.preventDefault();
            $(this).toggleClass('active');
        });
    });

    $('.switch label').on('click', function(){
        var indicator = $(this).parent('.switch').find('span');
        if ( $(this).hasClass('right') ){
            $(indicator).addClass('right');
        } else {
            $(indicator).removeClass('right');
        }
    });



/*-----------------------------------------------------------------------*/
/*---------------------------- Zip Code Lookup --------------------------*/
/*-----------------------------------------------------------------------*/

    $('#ZipCode').on("input",function(){
        var ZipCode = $('#ZipCode').val();
        if(ZipCode.length == 5)
        {
            $.ajax({
                type: 'GET',
                url:'https://ziplookup.visualyzers.com/Ziplookup?zipcode=' + ZipCode,
                success:function(results){
                    if(!results){
                        $('#errorZip').show();
                        $('#submitButton').prop("disabled",true);
                    }
                    else{
                    $('#City').val(results.city);
                    $('#State').val(results.state);
                    $('#errorZip').hide();
                    $('#submitButton').prop("disabled",false);
                    }

                }
            })
        }
    });


/*-----------------------------------------------------------------------*/
/*---------------------------- jQuery Validation ------------------------*/
/*-----------------------------------------------------------------------*/
    
    $("#zipForm").onclick(function(e) {
    }).validate({
        errorElement:'span',
        errorClass:'helpClass',
        rules:{
            PlanType:{
                required:true,
            },

            ZipCode:{
                required:true,
            }

        },
        messages: {

            PlanType: {
                required: "Please Select Your Health Plan"
            },

            ZipCode: {
                required: "Please enter a valid Zip Code",
                minLength:5,
                maxLength:5
            },

        },

    });
</script>




</body>
</html>