<div class="row footer">
		<div class="col-md-3 footlinkscont">
                    <div class="fotcol">
                    <h4>Company Info</h4>
                    <?
                        $pagecol1 = $this->general->getAllRecordsWhere(PAGES , array("is_active" => 1,"pid"=>5),"id" , "asc");                                    
                        foreach( $pagecol1 as $row)
                        { 
                    ?>
                            <a href="<?=site_url($row->menu_slug)?>"><?=$row->menu_title?></a>
                    <?
                        }
                    ?>
                                      
                    </div>
		</div>
		<div class="col-md-3 footlinkscont">
                    <div class="fotcol">
                    <h4>Help & Support</h4>
                    <?
                        $pagecol2 = $this->general->getAllRecordsWhere(PAGES , array("is_active" => 1,"pid"=>6),"id" , "asc");                                    
                        foreach( $pagecol2 as $row)
                        { 
                    ?>
                            <a href="<?=site_url($row->menu_slug)?>"><?=$row->menu_title?></a>
                    <?
                        }
                    ?>
                    </div>
		</div>
		<div class="col-md-3 footlinkscont">
                    <div class="fotcol">
                    <h4>Customer Care</h4>
                    <?
                        $pagecol3 = $this->general->getAllRecordsWhere(PAGES , array("is_active" => 1,"pid"=>8),"id" , "asc");                                    
                        foreach( $pagecol3 as $row)
                        { 
                    ?>
                            <a href="<?=site_url($row->menu_slug)?>"><?=$row->menu_title?></a>
                    <?
                        }
                    ?>
                    </div>
		</div>
		<div class="col-md-3 footlinkscont">
                    <div class="fotcol">
                    <h4>Follow Us</h4>
                    <a href="#"><img src="<?=base_url()?>assets/img/facebook.png" alt="" ></a>
                    <a href="#"><img src="<?=base_url()?>assets/img/instagram.png" alt="" ></a>
                    </div>
		</div>
	</div>
	<div class="row terms">
		<div class="col-md-6 col-sm-12">
                    <?
                        $pagecol4 = $this->general->getAllRecordsWhere(PAGES , array("is_active" => 1,"pid"=>20),"id" , "asc");                                    
                        $i=0;
                        foreach( $pagecol4 as $row)
                        { 
                    ?>
                            <a href="<?=site_url($row->menu_slug)?>" <?if($i ==0){echo " class='firstlink'";}?>><?=$row->menu_title?></a>
                    <?
                       $i++; }
                    ?>                    
		</div>
		<div class="col-md-6 col-sm-12 termslogos">
                    <img src="<?=base_url()?>assets/img/visa.png" alt="" >
                    <img src="<?=base_url()?>assets/img/master.png" alt="" >
                    <img src="<?=base_url()?>assets/img/freedeli.png" alt="" >
		</div>
	</div>
</div>

    <script src="<?=base_url()?>assets/js/jquery-1.10.2.min.js"></script>
    <script src="<?=base_url()?>assets/js/bootstrap.min.js"></script>
    <script src="<?=base_url()?>assets/js/scripts.js"></script>