<nav id="mainmenu" class="visible-lg visible-md visible-sm navbar navbar-default navbar-custom navbar-fixed-top navbar-big">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-navbar-collapse" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="#">
                <img src="<?php echo base_url();?>assets/img/logo_white.png" class="logo logo-white"/>
            </a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-navbar-collapse">
            <ul class="nav navbar-nav navbar-right navbar-transparent">
                <li><a href="<?php echo base_url();?>">Home</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">About Us <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="<?php echo base_url().'about_us';?>">What is ATS?</a></li>
                        <li><a href="<?php echo base_url().'history';?>">History - Vision & Mission</a></li>
                    </ul>
                </li>
                <li><a href="<?php echo base_url().'software_products';?>">Software & Products</a></li>
                <li><a href="<?php echo base_url().'consulting_service';?>">Consulting Services</a></li>
                <li><a href="<?php echo base_url().'training';?>">Training</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">News <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <?php 
                        if(!empty($news_category)){
                            foreach($news_category as $row){
                        ?>
                        <li><a href="<?php echo base_url().'news/'.$row->id.'/list';?>"><?php echo $row->title;?></a></li>
                        <?php }
                        }
                        ?>
                        
                    </ul>
                </li>
                <!--<li><a href="<?php // echo base_url().'news/list';?>">News</a></li>-->
                <li><a href="<?php echo base_url().'clients';?>">Our Clients</a></li>
                <li><a href="<?php echo base_url().'contacts';?>">Contact Us</a></li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<nav id="mainmenu_mobile" class="visible-xs navbar navbar-default navbar-custom navbar-fixed-top navbar-mobile">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle navbar-toggle-mobile collapsed" data-toggle="collapse" data-target="#bs-mobile-navbar-collapse" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="#">
                <img src="<?php echo base_url();?>assets/img/logo_normal.png" class="logo_mobile"/>
            </a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-mobile-navbar-collapse">
            <ul class="nav navbar-nav navbar-right navbar-transparent">
                <li><a href="<?php echo base_url();?>">Home</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">About Us <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="<?php echo base_url().'about_us';?>">What is ATS?</a></li>
                        <li><a href="<?php echo base_url().'history';?>">History - Vision & Mission</a></li>
                    </ul>
                </li>
                <li><a href="<?php echo base_url().'software_products';?>">Software & Products</a></li>
                <li><a href="<?php echo base_url().'consulting_service';?>">Consulting Services</a></li>
                <li><a href="<?php echo base_url().'training';?>">Trainings</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">News <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <?php 
                        if(!empty($news_category)){
                            foreach($news_category as $row){
                        ?>
                        <li><a href="<?php echo base_url().'news/'.$row->id.'/list';?>"><?php echo $row->title;?></a></li>
                        <?php }
                        }
                        ?>
                        
                    </ul>
                </li>
                <!--<li><a href="<?php // echo base_url().'news/list';?>">News</a></li>-->
                <li><a href="<?php echo base_url().'clients';?>">Our Clients</a></li>
                <li><a href="<?php echo base_url().'contacts';?>">Contact Us</a></li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>