<?php
include_once("include/main.inc.php"); 
$admin_sql = mysqli_query($GLOBALS['dbconn'], "select * from admin_details");
$admin_res = mysqli_fetch_array($admin_sql);

?>
<div class="modal fade" id="whatsapp" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <h6 class="modal-title">Message on WhatsApp</h6>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
               <form method="post" target="_blank" id="whatsapp_form">
                    <span class="text-danger wht_error_message"></span>
                    <span class="text-success wht_success_message"></span>
                  
                    <div class="form-group">
                            <input class="form-control" name="name" type="text" placeholder="Enter Name *" value="" onkeypress="return ValidateAlpha(event)" pattern="[a-z A-Z]+" required>
                    </div>
                    <div class="form-group">
                            <input class="form-control" name="mobile" type="tel" placeholder="Enter Mob. No *" value="" minlength="10" maxlength="10" onkeypress="return isNumberKey(event)" required>
                    </div>
                    <button class="read_more01" type="submit" name="whatsapp_submit">Submit</button>
                </form>
            </div>
        </div>
    </div>
</div>



<div class="modal fade" id="productID" tabindex="-1">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h6 class="modal-title">Send Enquiry</h6>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <div class="row">
                <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-7 col-12">
                        <div class="product_popup">
                            <div class="product_popup_image">
                                <img class="catImg" src="designer/images/image1.jpg" alt="Abhishek Solar Industries Pvt Ltd" title="Abhishek Solar Industries Pvt Ltd">
                            </div>
                            <h6 class="catName">Category Heading One</h6>
                        </div>
                    </div>
                    <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5 col-sm-5 col-12">

                        <form name="product_pop_form" method="post" id="product_pop_form">
                            <div id="cat_pop_up"></div>
                            <script>setTimeout(function(){  $.getScript("https://www.google.com/recaptcha/api.js");
 }, 3000)
</script>
                            <div class="form-group">
                                <label class="input_label">
                                    <input class="form-control" name="name" type="text" placeholder="Full Name *" onkeypress="return ValidateAlpha(event)" value="" pattern="[a-z A-Z]+" required>
                                </label>
                            </div>
                            <div class="form-group">
                                <label class="input_label">
                                    <input class="form-control" name="email" type="email" placeholder="Email ID *" value="" required>
                                </label>
                            </div>
                            <div class="form-group">
                                <label class="input_label">
                                    <input class="form-control" name="mobile" type="tel" placeholder="Phone No *" value="" maxlength="10" onkeypress="return isNumberKey(event)" required>
                                </label>
                            </div>
                            <div class="form-group">
                                <label class="input_label">
                                    <input class="form-control" name="location" type="text" placeholder="Location *" value=""  required>
                                </label>
                            </div>
                            <div class="form-group">
                                <label class="input_label">
                                    <textarea class="form-control" placeholder="Comments Here*" required name="message"></textarea>
                                </label>
                            </div>
                            <div class="form-group">
                                <div class="g-recaptcha" data-sitekey="<?=site_key;?>"></div>
                            </div>
                            <div class="form-group">
                                <button class="read_more01" type="submit" name="submit_cat_popup">Submit Enquiry </button>
                            </div>
                        </form>

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






<div class="modal fade" id="enquiry_form" tabindex="-1">
    <div class="modal-dialog modal-md">
        <div class="modal-content">
            <div class="modal-header">
                <h6 class="modal-title" id="myModalLabel">Enquire Now</h6>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <form name="enq_pop_form" method="post" id="enq_pop_form">
                    <div id="enq_pop_up"></div>
                    <script>
setTimeout(function(){
   $.getScript("https://www.google.com/recaptcha/api.js");
 }, 3000)


</script>
                    <div class="row">
                        <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12">
                            <div class="form-group">
                                    <input class="form-control" name="name" type="text" placeholder="Full Name *" value="" onkeypress="return ValidateAlpha(event)" pattern="[a-z A-Z]+" required>
                            </div>
                        </div>
                        <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12">
                            <div class="form-group">
                                    <input class="form-control" name="email" type="email" placeholder="Email ID *" value="" required>
                            </div>
                        </div>
                        <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12">
                            <div class="form-group">
                                    <input class="form-control" name="mobile" type="tel" placeholder="Phone No *" value="" maxlength="10" onkeypress="return isNumberKey(event)" required>
                            </div>
                        </div>
                        <div class="col-xxl-6 col-xl-6 col-lg-6 col-md-6 col-sm-6 col-12">
                            <div class="form-group">
                                    <input class="form-control" name="location" type="text" placeholder="Location *" value="" required>
                            </div>
                        </div>

                        <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                            <div class="form-group">
                                    <textarea class="form-control" placeholder="Comments Here*" required name="message"></textarea>
                            </div>
                        </div>

                        <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                            <div class="form-group" style="margin-bottom:5px;">
                                <div class="g-recaptcha" data-sitekey="<?=site_key;?>"></div>
                            </div>
                        </div>

                        <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                            <div class="form-group">
                                <button class="read_more01" type="submit" name="submit_enq">Submit</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="callback">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h6 class="modal-title">Get Callback Quickly</h6>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-xxl-5 col-xl-5 col-lg-5 col-md-5 col-sm-5 col-12">
                        <div class="product_popup">
                            <div class="product_popup_image">
                                <img class="catImg" src="designer/images/image4.jpg" alt="Product" title="Product">
                            </div>
                            <h6 class="catName">Product Heading One</h6>
                        </div>
                    </div>
                    <div class="col-xxl-7 col-xl-7 col-lg-7 col-md-7 col-sm-7 col-12">

                        <form name="contact-form" method="post" id="callback_form">
                            <div id="cpop_up"></div>
                            <script>
setTimeout(function(){
   $.getScript("https://www.google.com/recaptcha/api.js");
 }, 3000)


</script>
                            <div class="form-group">
                                <input class="form-control" type="text" name="name" placeholder="Full Name*" onkeypress="return ValidateAlpha(event)" value="" pattern="[a-z A-Z]+" required>
                            </div>


                            <div class="form-group">
                                <input class="form-control" type="tel" name="mobile" placeholder=" Phone No*" value="" maxlength="10" onkeypress="return isNumberKey(event)" required>
                            </div>
                            <p>We will contact you on this number</p>

                            <div class="form-group">
                                <button type="submit" class="read_more01" name="submit_callback">Submit</button>
                            </div>
                        </form>

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