<?php
$this->load->view('top_header');
$compSetting = comp_settings();
?>
<!-- Heading Banner--->
<section class="heading_banner" style="background-image: url(<?php echo theme_url(); ?>designer/images/client/client.jpg)">
  <div class="container">
    <div class="row">
      <div class="col-lg-12 text-center">
        <div class="cat_title">Our Clients</div>
        <div class="clearfix"></div>        
      </div>
    </div>
  </div>
</section>

<!-- Breadcrumb--->
<section class="inner_breadcrumb hidden-xs">
  <div class="container">
    <div class="row">
      <div class="col-lg-12">
        <ul class="breadcrumb">
          <li><a href="<?php echo comp_url(); ?>" title="Home">Home</a></li>
          <li class="active">Our Clients</li>
        </ul>
      </div>
    </div>
  </div>
</section>


<!-- Home About--->
<section class="about_page">
  <div class="container">
    <div class="row">
      <div class="col-md-9 col-md-push-3">
        <div class="right_side">
          <h1>Our Clients</h1>
          <div class="wps_right">
            <div class="row">
              <?php
              if (is_array($clients) && !empty($clients)) {
                foreach ($clients as $res) {
                  ?>
                  <div class="col-lg-3 col-md-3 col-sm-4 col-xs-6">
                    <div class="client_image">
                      <div class="client_logo">
                        <img src="<?php echo get_image('clients/clients', $res['client_logo'], '150', '100', 'R'); ?>" alt="<?php echo $res['client_name']; ?>">
                      </div>
                    </div>
                  </div>
                  <?php
                }
              }
              ?>
            </div>
          </div>
        </div>
      </div>
      <div class="col-md-3 col-md-pull-9">
        <?php
        if (is_array($catRes) && !empty($catRes)) {
          ?>
          <div class="left_sidebar">
            <div class="left_title">Popular Category</div>
            <ul>
              <?php
              foreach ($catRes as $catVal) {
                ?>
                <li><a href="<?php echo site_url() . $catVal['friendly_url']; ?>" title="<?php echo $catVal['category_name']; ?>"><?php echo $catVal['category_name']; ?></a></li>
                <?php
              }
              ?>
            </ul>
          </div>
        </div>
        <?php
      }
      ?>
    </div>
  </div>
</section>
<!-- Home Clients -->
<?php echo comp_clients(); ?>
<!-- Footer--->
<?php $this->load->view('bottom_footer'); ?>