<!doctype html>
<html class="no-js" lang="zxx">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>NWP ENGINEERING DEPARTMENT - SRI LANKA</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicon -->
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<!-- Google Fonts -->
<link href="css/fonts.css" rel="stylesheet">
<!-- Bootstrap-->
<link rel="stylesheet" href="css/assets/bootstrap.min.css">
<!-- Fontawesome Icon -->
<link rel="stylesheet" href="css/assets/font-awesome.min.css">
<!-- Animate CSS -->
<link rel="stylesheet" href="css/assets/animate.css">
<!-- Mean Menu -->
<link rel="stylesheet" href="css/assets/meanmenu.min.css">
<!-- Owl Carousel -->
<link rel="stylesheet" href="css/assets/owl.carousel.min.css">
<!-- Magnific Popup -->
<link rel="stylesheet" href="css/assets/magnific-popup.css">
<!-- Custom Style -->
<link rel="stylesheet" href="css/assets/normalize.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/assets/responsive.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-69018766-3"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-69018766-3');
</script>
<style>
.img-content a {
	color:#555;
	font-size: 15px;
}
.about .why-us ul li a {
	color: #777;
}
.img-content a:hover {
	color: #d32f2f;
}
.why-us {
    padding-top: 5px;
}
.list-unstyled {
    padding-left: 15px;
    list-style: none;
}
</style>

</head>
<body>
<!-- Pre-Loader -->
<div id="page-preloader"><span class="spinner"></span></div>
<!-- End Pre-Loader --> 

<!-- Top Bar -->
<?php 
include 'common/top-bar.php';
include 'common/mobile-menu.php';
?>
<!-- End Top Bar --> 

<!-- Page Heading -->
<section class="p-heading text-center">
  <div class="container">
    <div class="page-bg">
      <div class="row">
        <div class="col-md-12">
          <div class="p-content">
            <h4><?php if($lang == 1) { ?> SITEMAP <?php } if($lang == 2) { ?> යොමු පෙළගැස්ම <?php } if($lang == 3) { ?> வரைபடம் <?php } ?></h4>
            <ul class="list-unstyled list-inline">
              <li class="list-inline-item"><a href="home"><?php if($lang == 1) { ?> Home <?php } if($lang == 2) { ?> මුල් පිටුව <?php } if($lang == 3) { ?> முகப்பு <?php } ?></a></li>
              <li class="list-inline-item"><i class="fa fa-long-arrow-right" aria-hidden="true"></i><?php if($lang == 1) { ?> Sitemap <?php } if($lang == 2) { ?> යොමු පෙළගැස්ම <?php } if($lang == 3) { ?> வரைபடம் <?php } ?></li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
<!-- End Page Heading --> 

<!-- About Area -->
<section class="about catagory">
  <div class="container">
    <div class="row">
      <div class="col-lg-3 col-sm-4 hidden-xs">
        <?php include 'common/common-sidebar.php'; ?>
      </div>
      <div class="col-lg-9 col-sm-8">
        <div class="col-lg-12">
          <div class="img-content"> 

		  <?php $sql_cat = mysqli_query($conn, "SELECT group_id, url, cat FROM menu_category WHERE lang='$lang' AND del=0 and cat!='Sitemap' ORDER BY order_id ASC");
		  $x = 0;
		  while($row_cat = mysqli_fetch_array($sql_cat)) { $x++;
			  $cat_id = $row_cat['group_id'];
			  $sql_sub = mysqli_query($conn, "SELECT url, sub_cat, group_id FROM menu_subcat WHERE lang='$lang' AND del=0 AND cat_id='$cat_id' ORDER BY order_id ASC");
			  if(mysqli_num_rows($sql_sub) == 0) {
		  ?>
		  <h6> <?php echo $x; ?>.  &nbsp;<a href="<?php if(empty($row_cat['url'])) { echo '#'; } else { echo $row_cat['url']; } ?>"><?php echo $row_cat['cat']; ?></a></h6>
		  
		  <?php } else { ?> 
		  <h6> <?php echo $x; ?>. &nbsp;<a href="#" aria-expanded="false"><?php echo $row_cat['cat']; ?><span class="fa arrow"></span></a>
			<div class="why-us">
              <ul class="list-unstyled">
				  <?php while($row_sub = mysqli_fetch_array($sql_sub)) { ?>
				  <li><a href="<?php if(empty($row_sub['url'])) { echo '#'; } else { echo $row_sub['url']; } ?>"> <i class="fa fa-check"></i> <?php echo $row_sub['sub_cat']; ?></a></li>
				  <?php } ?>
			  </ul>
            </div>
		  </h6>
		  <?php } } ?>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
<!-- End About Area --> 

<!-- Footer -->
<?php include 'common/footer.php'; ?>
<!-- End Footer --> 

<!-- =========================================
JavaScript Files
========================================== --> 

<!-- jQuery JS --> 
<script src="js/assets/vendor/jquery-1.12.4.min.js"></script> 
<!-- Poppers Js --> 
<script src="js/assets/popper.js"></script> 
<!-- Bootstrap --> 
<script src="js/assets/bootstrap.min.js"></script> 
<!-- Sticky Js --> 
<script src="js/assets/jquery.sticky.js"></script> 
<!-- WOW JS --> 
<script src="js/assets/wow.min.js"></script> 
<!-- Smooth Scroll --> 
<script src="js/assets/smooth-scroll.js"></script> 
<!-- Mean Menu --> 
<script src="js/assets/jquery.meanmenu.min.js"></script> 
<!-- News Ticker --> 
<script src="js/assets/jquery.newsticker.min.js"></script> 
<!-- Owl Carousel --> 
<script src="js/assets/owl.carousel.min.js"></script> 
<!-- Magnific Popup --> 
<script src="js/assets/jquery.magnific-popup.min.js"></script> 
<!-- Syotimer --> 
<script src="js/assets/jquery.syotimer.min.js"></script> 
<!-- Custom JS --> 
<script src="js/plugins.js"></script> 
<script src="js/custom.js"></script>
<!-- Vertical Nav Bar --> 
<script src="js/nav-bar/menu.min.js"></script>

<!-- JavaScript Validation For Login Page -->
<script src="js/assets/jquery.validate.min.js"></script>
<script src="js/form_validate.js"></script>
 
<script>
$(function() {
  $('#auto-collapse-menu-demo').metisMenu();
});
</script>
</body>
</html>