<?php
$adminRes = get_site_email();
?>
<div class="rs-newsletter style1 mb--124 sm-mb-0 sm-pb-70">
    <div class="container">
        <div class="newsletter-wrap">
            <div class="row y-middle wow slideInLeft" data-wow-delay=".1s">
                <div class="col-md-6 sm-mb-30">
                    <div class="sec-title">
                        <div class="sub-title white-color">Keep up with the Toyzoo</div>
                        <h4 class="title mb-0 white-color">Sign up now to hear about our latest offers </h4>
                    </div>
                </div>
                <div class="col-md-6">
                    <div id="form-status1"></div>
                    <form class="newsletter-form" id="newsletter_form1" action="#">
                        <div class="clearfix">
                            <input type="email" name="newsletter_email" id="newsletter_email" placeholder="Enter Your Email" required>
                            <button type="submit" id="newsletter_submit">Submit</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<footer id="rs-footer" class="rs-footer">
    <div class="footer-top wow slideInRight" data-wow-delay=".1s">
        <div class="container">
            <div class="row">
                <div class="col-lg-3 col-md-12 col-sm-12 footer-widget md-mb-50">
                    <h4 class="widget-title">Our Products</h4>
                    <ul class="site-map">
                        <?php
                        $sqlcat = $this->db->query("select * from wps_categories where parent_id='1' and status='1'")->result_array();
                        foreach ($sqlcat as $result) {
                            ?>
                            <li><a href="<?php echo site_url($result['friendly_url']); ?>" title="<?php echo $result['category_name']; ?>"><?php echo $result['category_name']; ?></a></li>
                        <?php } ?>
                    </ul>
                </div>
                <div class="col-lg-3 col-md-12 col-sm-12 footer-widget md-mb-50">
                    <h4 class="widget-title">Information</h4>
                    <ul class="site-map">
                        <li><a href="<?php echo site_url(); ?>">Home</a></li>
                        <li><a href="<?php echo base_url('about-us'); ?>">About Us</a></li>
                        <li><a href="<?php echo base_url('blog'); ?>">Blog</a></li>
<!--                        <li><a href="<?php echo base_url('faq'); ?>">FAQ</a></li>-->
                         <li><a href="<?php echo base_url('contact-us'); ?>"> Contact Us</a></li>
                        <li><a href="<?php echo base_url('market-area'); ?>"> Market Area</a></li>
                    </ul>
                </div>
                <div class="col-lg-3 col-md-12 col-sm-12 footer-widget md-mb-50">
                    <h4 class="widget-title">Our Policies</h4>
                    <ul class="site-map">
                        <li><a href="<?php echo base_url('shipping-policy');?>" title="Shipping Policy">Shipping Policy</a></li>
                        <li><a href="<?php echo base_url('return-and-refund-policy');?>" title="Returns and Refund Policy">Returns and Refund Policy</a></li>
                        <li><a href="<?php echo base_url('privacy-policy');?>" title="Privacy Policy"> Privacy Policy</a></li>
                        <li><a href="<?php echo base_url('cookies-policy');?>" title="Cookies Policy">Cookies Policy</a></li>
                         <li><a href="<?php echo base_url('terms-conditions');?>" title="terms conditions">Terms & Conditions</a></li>
                    </ul>
                    
                </div>
                <div class="col-lg-3 col-md-12 col-sm-12 footer-widget">
                    <h4 class="widget-title">Address</h4>
                    <ul class="address-widget">
                        <li>
                            <i class="fa fa-map-marker" aria-hidden="true"></i>
                            <div class="desc"><?php echo $adminRes->address; ?></div>
                        </li>
                        <li>
                            <i class="fa fa-phone" aria-hidden="true"></i>
                            <div class="desc">
                                <a href="tel:<?php echo $adminRes->phone; ?>"><?php echo $adminRes->phone; ?></a>,<br/> 
                                <a href="tel:<?php echo $adminRes->contact_phone; ?>"><?php echo $adminRes->contact_phone; ?></a> 
                            </div>
                        </li>
                        <li>
                            <i class="fa fa-envelope" aria-hidden="true"></i>
                            <div class="desc">
                                <a href="mailto:<?php echo $adminRes->admin_email; ?>"><?php echo $adminRes->admin_email; ?></a> 

                            </div>
                        </li>
                    </ul>
                    <h4 class="mt-3">Follow Us:</h4>
                    <ul class="social-links">
                       <?php if($adminRes->facebook!=""){ ?><li><a href="<?php  echo $adminRes->facebook; ?>"><i class="fa fa-facebook-square" aria-hidden="true"></i></a></li><?php } ?>
                       <?php if($adminRes->instagram!=""){ ?><li><a href="<?php echo $adminRes->instagram;  ?>"><i class="fa fa-instagram" aria-hidden="true"></i></a></li><?php } ?>
                       <?php if($adminRes->youtube!=""){ ?><li><a href="<?php echo $adminRes->youtube; ?>"><i class="fa fa-youtube-play" aria-hidden="true"></i></a></li><?php } ?>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <div class="modal fade" id="send_enquiry" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title text-white" id="exampleModalLabel">Send Enquiry</h5>
        <button type="button" class="btn-close text-white" style="color:#fff" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
      <div class="row">
          <div class="col-lg-6">
            <div class="enquiry_text">
              <div class="info_2">
                <h4>Email Us</h4>
                <p><a href="mailto:support@toyzoo.co.in">support@toyzoo.co.in</a> for any enquiry or question.</p>
              </div>
            </div>
          </div>
          <div class="col-lg-6">
            <form id="product_pop_form2" name="Enquiry Form">
              <div id="mail-status"></div>
              <div class="form-group">
                <input class="form-control" type="text" name="pname" id="pname" placeholder="Full Name*" pattern="[a-z A-Z]+" value="" required>
              </div>
              <div class="form-group">
                <input class="form-control" type="text" id="pemail" name="pemail" value="" placeholder="Email ID*" required>
              </div>
              <div class="form-group">
                <input class="form-control" type="text" id="pmobile" name="pmobile" value="" placeholder="Mobile Number*" maxlength="10" minlength="10" onKeyPress="return isNumberKey(event)" required>
              </div>
              <div class="form-group">
                <input class="form-control" type="text" name="pquantity" id="pquantity" placeholder="Enter Quantity*" value="" required>
              </div>
              <div class="form-group">
                <input class="form-control" type="text" name="plocation" value="" placeholder="Location*" id="plocation" onFocus="geolocate()" required>
              </div>
              <div class="form-group">
                <textarea class="form-control" id="pmessage" name="pmessage" placeholder="Message*" required></textarea>
              </div>
              <input type="hidden" name="product_id" id="Product_Id" value="184">
              <button class="modal_btn btn btn-md btn-dark" type="submit" name="submit" value="Submit" id="enquiry_button">Submit</button>
            </form>
          </div>
        </div>
      </div>
      
    </div>
  </div>
</div>
<div class="bottomfooter">
    <div class="container">
        <div class="row">
            <div class="col-lg-5 col-md-5">
                <div class="text-start">© Copyright <?php echo Date('Y');?> <span>Toyzoo</span>. All rights reserved.</div>
            </div>
        </div>
    </div>
</div>
</footer>
