<?php
$this->load->view('top_header');
$messurement = $this->config->item('unit_measurement');
$businessNature = $this->config->item('businessNatureAll');
$employeeCount = $this->config->item('employeeCount');
$firmStatus = $this->config->item('firmStatus');
$turnover = $this->config->item('turnover');
?>
<!-- Heading Banner--->
<section class="heading_banner" style="background-image: url(<?php echo theme_url(); ?>designer/images/about/about-us.jpg)">
  <div class="container">
    <div class="row">
      <div class="col-lg-12 text-center">
        <div class="cat_title">About <strong><?php echo $compContact['company_name']; ?></strong></div>
        <div class="clearfix"></div>
        <!--<div class="cat_title2">We Are Available For You</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">Company Profile</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>About <span><?php echo $compContact['company_name']; ?></span></h1>
          <div class="wps_right">
            <?php if(@$compSetting['website_video']!=''){ ?>
            <div class="product_right_image">
              <iframe src="https://www.youtube.com/embed/<?php echo $compSetting['website_video']; ?>" frameborder="0" allowfullscreen></iframe>
            </div>
           <?php } ?>
            <?php echo $factsheet['about_company']; ?>
            <div class="clearfix"></div>
            <h2>Company Factsheet</h2>
            <div class="row">
              <?php if(!empty($factsheet['business_nature'])){ ?>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="wps-factsheet">
                  <div class="icon">
                    <img alt="Nature of Business" src="<?php echo theme_url(); ?>designer/images/home/factsheet/nature-of-business.png">
                  </div>
                  <div class="info01">
                    <h4>Nature of Business</h4>
                    <p><?php echo $businessNature[$factsheet['business_nature']]; ?></p>
                  </div>
                </div>
              </div>
              <?php } ?>
              <?php if(!empty($factsheet['establishment_year'])){ ?>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="wps-factsheet">
                  <div class="icon">
                    <img alt="Year of Establishment" src="<?php echo theme_url(); ?>designer/images/home/factsheet/year-of-establishment.png">
                  </div>
                  <div class="info01">
                    <h4>Year of Establishment</h4>
                    <p><?php echo $factsheet['establishment_year']; ?></p>
                  </div>
                </div>
              </div>
              <?php } ?>
              <?php if(!empty($factsheet['employee_count'])){ ?>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="wps-factsheet">
                  <div class="icon">
                    <img alt="Total Number of Employees" src="<?php echo theme_url(); ?>designer/images/home/factsheet/employees.png">
                  </div>
                  <div class="info01">
                    <h4>Total Number of Employees</h4>
                    <p><?php echo $employeeCount[$factsheet['employee_count']]; ?> People</p>
                  </div>
                </div>
              </div>
              <?php } ?>
              <?php if(!empty($factsheet['legal_firm_status'])){ ?>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="wps-factsheet">
                  <div class="icon">
                    <img alt="Legal Status of Firm" src="<?php echo theme_url(); ?>designer/images/home/factsheet/Legal-Status-of-Firm.png">
                  </div>
                  <div class="info01">
                    <h4>Legal Status of Firm</h4>
                    <p><?php echo $firmStatus[$factsheet['legal_firm_status']]; ?></p>
                  </div>
                </div>
              </div>
              <?php } ?>
              <?php if(!empty($factsheet['turnover'])){ ?>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="wps-factsheet">
                  <div class="icon">
                    <img alt="Annual Turnover" src="<?php echo theme_url(); ?>designer/images/home/factsheet/annual-turnover.png">
                  </div>
                  <div class="info01">
                    <h4>Annual Turnover</h4>
                    <p><?php echo $turnover[$factsheet['turnover']]; ?></p>
                  </div>
                </div>
              </div>
              <?php } ?>
              <?php if(!empty($factsheet['gst_no'])){ ?>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                <div class="wps-factsheet">
                  <div class="icon">
                    <img alt="GST Number" src="<?php echo theme_url(); ?>designer/images/home/factsheet/gst.png">
                  </div>
                  <div class="info01">
                    <h4>GST Number</h4>
                    <p><?php echo $factsheet['gst_no']; ?></p>
                  </div>
                </div>
              </div>
              <?php } ?>
            </div>

            <h2>Why Choose?</h2>
            <div class="left_image">
              <div class="left_centered">
                <div class="image">
                  <img alt="GST Number" src="<?php echo get_image('user', @$settingRes['about_image'], 340, 190, 'R'); ?>">
                </div>
              </div>
            </div>
            <?php echo nl2br(@$settingRes['why_choose_content']); ?>

            <div class="clearfix"></div>

            <h3><?php echo @$settingRes['whyus_title1']; ?></h3>
            <div class="right_image1">
              <div class="left_centered">
                <div class="image">
                  <img alt="<?php echo @$settingRes['whyus_title1']; ?>" src="<?php echo get_image('user', @$settingRes['whyus_image_1'], 325, 160, 'R'); ?>">
                </div>
              </div>
            </div>
            <?php echo nl2br(@$settingRes['whyus_desc1']); ?>

            <div class="clearfix"></div>
            <h3><?php echo @$settingRes['whyus_title2']; ?></h3>
            <div class="client_satisfaction">
              <div class="client_centered">
                <div class="image">
                  <img alt="<?php echo @$settingRes['whyus_title2']; ?>" src="<?php echo get_image('user', @$settingRes['whyus_image_2'], 325, 160, 'R'); ?>">
                </div>
              </div>
            </div>
            <?php echo nl2br(@$settingRes['whyus_desc2']); ?>
            
            <div class="clearfix"></div>
            <h3><?php echo @$settingRes['whyus_title3']; ?></h3>
            <div class="right_image1">
              <div class="left_centered">
                <div class="image">
                  <img alt="<?php echo @$settingRes['whyus_title3']; ?>" src="<?php echo get_image('user', @$settingRes['whyus_image_3'], 325, 160, 'R'); ?>">
                </div>
              </div>
            </div>
            <?php echo nl2br(@$settingRes['whyus_desc3']); ?>
          </div>
        </div>
      </div>

      <div class="col-md-3 col-md-pull-9">
        <div class="left_sidebar">
          <div class="left_title">Quick Contact</div>
          <form role="form" name="contact-form" method="post" id="quick_form">
            <div class="form-group">
              <input tabindex="101" class="form-control" type="text" name="name" placeholder="Your Name*" value="" pattern="[a-z A-Z]+" required>
            </div>
            <div class="form-group">
              <input tabindex="102" class="form-control" type="email"  name="email" placeholder="Your Email ID*" value="" required>
            </div>
            <div class="form-group">
              <input tabindex="103" class="form-control" type="tel" name="mobile" placeholder="Your Phone No*"  maxlength="20" minilength="10" value="" required>
            </div>
            <div class="form-group">
              <input tabindex="104" class="form-control" type="text"  name="location" placeholder="Your Location*" id="autocomplete" onfocus="geolocate()" value="" pattern="[a-z A-Z]+" autocomplete="off" required>
            </div>
            <div class="form-group">
              <textarea tabindex="105" class="form-control" name="message" placeholder="Your Message*" required></textarea>
            </div>
            <div class="form-group" style="margin-bottom: 0;">
              <div tabindex="106" class="g-recaptcha" data-sitekey="6LeIanwUAAAAAFmGKxHc8HDyiVvsJdvRc01uSMVD"></div>
            </div>
            <div class="form-group">
              <button tabindex="107" class="modal_btn" type="submit" name="submit" value="Submit" data-submit="...Sending">Submit</button>
            </div>
          </form>                
        </div>
        <div class="left_sidebar">
          <?php
          if (is_array($catRes) && !empty($catRes)) {
            ?>
            <div class="left_title">Our Products</div>
            <ul>
              <?php
              foreach ($catRes as $cVal) {
                ?>
                <li><a href="<?php echo site_url() . $cVal['friendly_url']; ?>" title="<?php echo $cVal['category_name']; ?>"><?php echo $cVal['category_name']; ?></a></li>
                <?php
              }
              ?>
            </ul>
            <?php
          }
          ?>
        </div>
      </div>
    </div>
  </div>
</section>
<!-- Home Clients -->
<?php echo comp_clients(); ?>
<!-- Footer -->
<?php $this->load->view('bottom_footer'); ?>