 <div class="container">
   <ul class="footer">
      <li class="copyright text-muted col-md-4"><?php echo config_item("footer"); ?></li>
      <li class="col-md-8 truncate">
         <ul  class="footer" style="padding:0;margin:0">
        

         <?php foreach ($pages as $key => $value) {
         	?>
         	<li class="truncate col-md-3 p-b-1 text-xs-center"><a href="<?php echo base_url(); ?><?php echo config_item("slug_pages"); ?>/<?php echo $value->slug; ?>"><?php echo $value->title; ?></a></li>
         	<?php
         }
         ?>

          <?php if(config_item("page_contact_form") == '1')
         {
            ?><li class="truncate col-md-3 p-b-1 text-xs-center"><a href="<?php echo base_url(); ?><?php echo config_item("slug_contact"); ?>"><?php echo __("Contact"); ?></a></li><?php
         }
         ?>
         <?php if(config_item("page_last_sites") == '1')
         {
            ?><li class="truncate col-md-3 p-b-1 text-xs-center"><a href="<?php echo base_url(); ?><?php echo config_item("slug_last"); ?>"><?php echo __("Latest Updated Sites"); ?></a></li><?php
         }
         ?> 
         <?php if(config_item("page_top_sites") == '1')
         {
            ?><li class="truncate col-md-3 p-b-1 text-xs-center"><a href="<?php echo base_url(); ?><?php echo config_item("slug_top"); ?>"><?php echo __("Top Sites"); ?></a></li><?php
         }
         ?>

         </ul>
      </li>
   </ul>

   
  </div>

<?php if(config_item("ga")){ ?>
<script>
var _gaq=[["_setAccount","<?php echo config_item("ga"); ?>"],["_trackPageview"]];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
s.parentNode.insertBefore(g,s)}(document,"script"));
</script>
<?php } ?>

