<?php
$adminRes = get_site_email();
$top_category = $this->db->query("SELECT * FROM wps_categories WHERE parent_id = '0'  ORDER BY category_id LIMIT 0, 9 ")->result_array();
$cities = $this->db->query("select * from wps_cities_list where status='1'")->result_array();
?>

<div class="clearfix"></div>
<footer class="pt-40">
    <div class="container">
        <div class="row">
            <div class="col-lg-3 col-md-6">
                <div class="footer-content mb-xs-0">
                    <div class="title5">Contact Us</div>

                    <ul class="footer-contact">
                        <li>
                            <a href="<?= base_url(); ?>">Home</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>about-us">About</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>why-choose-us">Why Choose Us</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>blog">Blogs</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>sitemap">Sitemap</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>sexologist">Sexologist</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>contact-us">Contact Us</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>market-area">Market Area</a>
                        </li>
                    </ul>

                </div>
            </div>
            <div class="col-lg-3 col-12 col-md-6">
                <div class="footer-content">
                    <div class="title5">Terms & Policies</div>
                    <ul>
                        <li>
                            <a href="<?= base_url(); ?>how-to-pay">How to Pay</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>payment-methods">Payment Method</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>shipping-worldwide">Shipping Worldwide</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>pay-online">Online Payments Through PayPal</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>privacy-policy">Privacy Policy</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>disclaimer">Disclaimer</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>terms-conditions">Terms & Conditions</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>returns-exchange">Return Policy</a>
                        </li>
                        <li>
                            <a href="<?= base_url(); ?>faq">FAQ</a>
                        </li>

                    </ul>
                </div>
            </div>
            <div class="col-lg-6 col-md-12">

                <div class="footer-links">
                    <div class="row">

                        <div class="col-lg-6 col-md-6 col-12">
                            <div class="footer-content">
                                <div class="title5">Categories</div>
                                <ul>
                                    <?php foreach ($top_category as $cat) { ?>
                                        <li><a href="<?php echo site_url($cat['friendly_url']); ?>" title="<?php echo $cat['category_name_p']; ?>"><span><?= $cat['category_name_p']; ?></span></a></li>
                                    <? }  ?>
                                </ul>
                                <div class="clearfix"></div>
                            </div>
                        </div>
                        <div class="col-lg-6 col-md-6 col-12">
                            <div class="footer-content">
                                <div class="title5">Ayurvedic Medicines</div>
                                <ul>
                                    <li><a href="sexologist" title="Sexologist">Sexologist</a></li>
                                    <li><a href="erectile-dysfunction" title="Erectile Dysfunction">Erectile Dysfunction</a></li>
                                    <li><a href="premature-ejaculation" title="Premature Ejaculation">Premature Ejaculation</a></li>
                                    <li><a href="penis-enlargement" title="Penis Enlargement">Penis Enlargement</a></li>
                                </ul>
                                <div class="clearfix"></div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="disclamer pb-0">
                    <p class="mb-0">

                        <?php if ($cities) { ?>
                            We Deliver in : <?php foreach ($cities as $ct) {
                                                echo $ct['city'] . " , ";
                                            }
                                        }
                                            ?> & Across India.
                    </p>
                </div>
            </div>

        </div>
        <div class="row">
            <!-- <div class="col-2">
                    <p class="my-2 text-light">

                    </p>
                </div> -->
            <div class="col-lg-12 my-2">
                <div class="disclamer">
                    <span class="">Payment Methods :</span>
                    <img src="<?= theme_url() ?>/images/payments/i1.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i2.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i3.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i5.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i6.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i7.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i8.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i9.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i10.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i11.jpg" alt="Payments" title="Payments" width="40" height="25">
                    <img src="<?= theme_url() ?>/images/payments/i12.jpg" alt="Payments" title="Payments" width="40" height="25">
                </div>

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

<div class="copyright ptb-20">
    <div class="container">
        <div class="row">

            <div class="col-lg-6">
                <p>Copyright © <?php echo Date('Y'); ?>. All Rights Reserved. <?= SITENAME ?></p>
            </div>
            <div class="col-lg-6 text-lg-end">
                <p class="text_right">Crafted with <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                        fill="currentColor" viewBox="0 0 16
                                16">
                        <path d="m8 2.748-.717-.737C5.6.281 2.514.878
                                    1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92
                                    1.815 2.834 3.989 6.286 6.357 3.452-2.368
                                    5.365-4.542
                                    6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878
                                    10.4.28 8.717 2.01L8 2.748zM8 15C-7.333
                                    4.868 3.279-3.04 7.824
                                    1.143c.06.055.119.112.176.171a3.12 3.12 0 0
                                    1 .176-.17C12.72-3.042 23.333 4.867 8 15z"></path>
                                </svg>
                    by Webpulse - <a href="https://www.webpulseindia.com/web-designing" title="Web Designing">Web
                        Designing,</a> <a href="https://www.webpulseindia.com/digital-marketing"
                        title="Digital Marketing">Digital Marketing</a>
                    &amp; <a href="https://www.webpulseindia.com/branding" title="Branding Company">Branding Company
                    </a>
                </p>
            </div>
        </div>
    </div>
</div>