<div class="innerBanner container-fluid mb-5">
  <div class="row h-100 align-items-center">
    <div class="col-md-4 col-lg-6">
      <h2 class="whiteColor mb-0">About us</h2>
    </div>

    <div class="col-md-8 col-lg-6">
      <ul class="breadcrumb">
        <li><a href="<?php echo base_url(); ?>">Home</a></li>
        <li><a href="javascript:;">About Us</a></li>
        <li>Committee of Administration </li>
      </ul>
    </div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-lg-8 order-lg-12 mb-5" id="innerData">
      <div class="row">
        <h1 class="col-12 mb-4"><span>Committee of Administration</span></h1>
        <?php if($member !== "No Data"){ ?>
        <div class="col-12">
          <div class="row  pb-2 mb-4">
            <div class="col-md-4">
              <div class="proPic rounded">
              <?php if($member[0]->image == "NA" || $member[0]->image == ""){ ?>
              <img src="<?php echo base_url(); ?>public/custom/images/coa/default.jpg" class="img-fluid" alt="<?php echo $member[0]->name; ?>">
              <?php }else{ ?>
                <img src="<?php echo base_url().$member[0]->image; ?>" class="img-fluid" alt="<?php echo $member[0]->name; ?>">
              <?php } ?>
              </div>
            </div>

            <div class="col-md-8 mb-4">
              <h5 class="proName">
                <?php echo $member[0]->name; ?>
              </h5>
              <?php 
              $designation = Modules::run('coa/getName',"coa_designations",$member[0]->designation,"name"); 
              if($designation == "COA MEMBER"){
                $designation = 'CoA Member';
              }else{
                $designation = ucwords(strtolower($designation));    
              }
                              
              $division = Modules::run('coa/getName',"coa_designations",$member[0]->division,"name");          
              ?>
              <p class="redColor border-bottom"><?php echo $designation; if($division !== "NA"){ echo ' - '.strtoupper($division); } ?></p>

              <p><?php echo $member[0]->about; ?></p>

              <div class="row  proDetails">
                <div class="col-10 col-sm-3"><p class="text-uppercase boldFont">Organisation</p></div>
                <div class="col-2 col-sm-1">:</div>
                <div class="col-12 col-sm-8"><p><?php echo $member[0]->organisation; ?></p></div>
              </div>

              <div class="row  proDetails">
                <div class="col-10 col-sm-3"><p class="text-uppercase boldFont">Address</p></div>
                <div class="col-2 col-sm-1">:</div>
                <div class="col-12 col-sm-8"><p><?php echo $member[0]->address; ?></p></div>
              </div>

              <div class="row  proDetails">
                <div class="col-10 col-sm-3"><p class="text-uppercase boldFont">Office No.</p></div>
                <div class="col-2 col-sm-1">:</div>
                <div class="col-12 col-sm-8"><p><?php echo $member[0]->office_number; ?></p></div>
              </div>

              <div class="row  proDetails">
                <div class="col-10 col-sm-3"><p class="text-uppercase boldFont">Email</p></div>
                <div class="col-2 col-sm-1">:</div>
                <div class="col-12 col-sm-8"><p><span><?php echo $member[0]->email_1; ?></span>
                <?php if($member[0]->email_2 !== ""){ ?>
                  | <span><?php echo $member[0]->email_2; ?></span>
                <?php } ?>
                </p></div>
              </div>

            <!-- <div class="row  proDetails">
                <div class="col-10 col-sm-3"><p class="text-uppercase boldFont">Fax No.</p></div>
                <div class="col-2 col-sm-1">:</div>
                <div class="col-12 col-sm-8"><p><?php echo $member[0]->fax; ?></p></div>
              </div> -->
              
             <!-- <div class="row  proDetails">
                <div class="col-10 col-sm-3"><p class="text-uppercase boldFont">Mobile No.</p></div>
                <div class="col-2 col-sm-1">:</div>
                <div class="col-12 col-sm-8"><p><?php echo $member[0]->mobile; ?></p></div>
              </div>-->
            </div>
            
            <div class="col-12 pt-4">
            <a href="<?php echo base_url(); ?>committee-of-administration" class="archive grayGradientBg rounded mb-4">Back  <i class="fa fa-angle-left rounded-circle" aria-hidden="true"></i></a>
            </div>

          </div>
        </div>
        <?php } ?>
      </div>
    </div>

    <div class="col-lg-4 order-lg-1 mb-5">
      <div class="dataList">
        <div class="blackRect"></div>
        <ul>
          <li><a href="<?php echo base_url(); ?>organization" class="fadeAnim">Organization </a></li>
          <li><a href="<?php echo base_url(); ?>committee-of-administration" class="active fadeAnim">Committee of Administration </a></li>
          <li><a href="<?php echo base_url(); ?>secretariat" class="fadeAnim">Secretariat</a></li>
          <li><a href="<?php echo base_url(); ?>memorandum-and-articles-of-association" class="fadeAnim">Memorandum &amp; Articles of Association</a></li>
          <li><a href="<?php echo base_url(); ?>annual-reports" class="fadeAnim">Annual Reports</a></li>
        </ul>
      </div>
    </div>
  </div>
</div>

