
<?php
$footer_section = $this->welcome_model->select_all_section(2, 0);
if ($footer_section)
 {
foreach ($footer_section as $section_value) {
    $child_menu_with_section[$section_value->menu_section] = $this->welcome_model->select_child_menu_with_section(2, $section_value->parent_menu_id, $section_value->menu_section);
}
 }
?>
<div class="container-fluid">
    <div class="col-sm-12">
        <?php
        if ($footer_section)
 {
        foreach ($footer_section as $section_value) {
            ?>
            <div class="col-sm-4">
                <h3 style="text-align: left !important;font-weight: bold"><?php echo $section_value->menu_section ?></h3>
                <?php
                foreach ($child_menu_with_section[$section_value->menu_section] as $footer_menu_name) {
                    ?>
                    <a style="text-align: left !important;font-family: RobotoLight !important;font-size: 14px" href="<?php echo base_url() . $footer_menu_name->url ?>" class="footer-links"><?php echo $footer_menu_name->menu_name ?></a><br/>
                    <?php
                }
                ?>
            </div>
            <?php
        }
 }
        ?>
    </div>
</div>
   <div class="footer-social">
                <h3 style="text-align: center !important"><i>Follow Us</i></h3>
                <div class="page-header"></div>
                <div class="wow">
                <a href="https://www.facebook.com/TalhaTraining/" class="fa fa-facebook" target="_blank"></a>
                <a href="https://twitter.com/talhatraining" class="fa fa-twitter" target="_blank"></a>
                <a href="https://plus.google.com/+TalhaTraining" class="fa fa-google-plus" target="_blank"></a>
                <a href="https://www.youtube.com/user/TalhaTraining" class="fa fa-youtube" target="_blank"></a>
                <a href="https://www.linkedin.com/company/talha-corporation" class="fa fa-linkedin" target="_blank"></a>	
            	
                </div>
            </div>
            <div class="footer-bottom">
                <p>Copyright &copy; 2011 | TalhaTraining All rights reserved.</p>
            </div>