<?php $this->load->view('top');
$topbrand = $this->db->query("SELECT category_id, category_name_p, friendly_url FROM wps_categories WHERE status = '1' AND parent_id!='0'")->result_array();
?>

<section class="banner_category" style="background-image: url('<?=theme_url();?>img/about-banner.jpg');">
        <div class="container">
            <h1 class="banner_title">FAQ</h1>
        </div>
    </section>
    <div class="page_breadcrumbs">
        <div class="container">
            <ul>
                <li><a href="index.php">Home</a></li>
                <li>faq</li>
            </ul>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="contact_area bg-grey">
        <div class="container">
            <div class="row">

            <div class="col-xxl-9 col-xl-9 col-lg-9 col-md-8 col-sm-4 col-12 leftside_bar">
                    <div class="contact-message">
                        <div class="section-title style-2">
                            <h3>FAQ</h3>
                        </div>

                        <div class="accordian">
                            <ul>

                                <div class="clearfix"></div>
                                <li class="mb-2">
                                    <h3 class="title"><span class="fa fa-plus"></span> Features </h3>
                                    <div class="ac-dropdown tab-content">
                                        <p><?=$content['page_description'];?></p>
                                    </div>
                                </li>
                                <div class="clearfix"></div>
                                <li class="mb-2">
                                    <h3 class="title"><span class="fa fa-plus"></span> Ratings & Reviews </h3>
                                    <div class="ac-dropdown tab-content">
                                        <h3>Ratings & Reviews
                                            <?php if($this->session->userdata('user_id')>0){ ?>
                                            <a href="<?=base_url('myreview');?>"
                                                class="product_rate">Write Review</a>
                                            <?php } else  { ?>
                                             <a href="<?=base_url();?>login"
                                                class="product_rate">Write Review</a>
                                            <?php } ?>
                                           
                                        </h3>

                                    </div>
                                </li>
                                <div class="clearfix"></div>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-4 col-sm-4 col-12 leftside_bar">
                    <div class="theiaStickySidebar">
                        <div class="sidebar">
                            <div class="sidebar_title1">Filters <svg xmlns="http://www.w3.org/2000/svg" width="16"
                                    height="16" fill="currentColor" viewBox="0 0 16 16">
                                    <path
                                        d="M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2zm1 .5v1.308l4.372 4.858A.5.5 0 0 1 7 8.5v5.306l2-.666V8.5a.5.5 0 0 1 .128-.334L13.5 3.308V2h-11z" />
                                </svg></div>
                            <div class="sidebar_body">
                                <div class="sidebar_group">
                                    <div class="sidebar_heading"><a href="javascript:void();"
                                            class="sidebar_toggle">Treatments & Medicines </a></div>
                                    <div class="sidebar_inner">
                                        <ul>
                                             <?php
                        foreach ($topbrand as $th) {
                          ?>
                          <li><a href="<?php echo site_url($th['friendly_url']); ?>"><?php echo $th['category_name_p']; ?></a></li>
                          <?php
                        }
                        ?>

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



                            </div>



                        </div>
                    </div>


                </div>
                

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



<?php $this->load->view('bottom'); ?>
