<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head>



      <meta charset="utf-8" />

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title><?php 

	if(isset($pagetitle))

	echo $pagetitle;

	else

	echo 'Construction Application'; ?></title>

	<!-- BOOTSTRAP STYLES-->

    

    <link href="../assets/css/bootstrap.css" rel="stylesheet" />

     <!-- FONTAWESOME STYLES-->

    <link href="../assets/css/font-awesome.css" rel="stylesheet" />

        <!-- CUSTOM STYLES-->

    <link href="../assets/css/custom.css" rel="stylesheet" />

     <!-- GOOGLE FONTS-->

   <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />

   <link href="../assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />

   <style media="screen" type="text/css">



</style>

   

</head>

<body>

    <div id="wrapper">

        <nav class="navbar navbar-default navbar-cls-top " role="navigation" style="margin-bottom: 0">

            <div class="navbar-header">

                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">

                    <span class="sr-only">Toggle navigation</span>

                    <span class="icon-bar"></span>

                    <span class="icon-bar"></span>

                    <span class="icon-bar"></span>

                </button>

                <span class="navbar-brand"></span> 

            </div>

            <div style="color: white;

padding: 15px 50px 5px 50px;

float: left;

font-size: 16px;"> <?php include('topnav.php'); ?></div><div style="float:right;padding:15px 50px 5px 50px;"><a href="../dashboard/editprofile.php" class="btn btn-danger square-btn-adjust">Edit Profile</a> &nbsp;  <a href="../dashboard/logout.php" class="btn btn-danger square-btn-adjust">Logout</a> </div>

        </nav>   

           <!-- /. NAV TOP  -->

                <nav class="navbar-default navbar-side" role="navigation">

            <div class="sidebar-collapse">

               <?php include('sidebarnav.php'); ?>             

            </div>

            

        </nav>  

        <!-- /. NAV SIDE  -->

        <div id="page-wrapper" >

            <div id="page-inner">

                <div class="row">

                    <div class="col-md-12">

                     <h2><?php if(isset($pagetitle))

				echo $pagetitle; 

				else

				echo 'Dashboard'; ?></h2>   

                        <h5>Welcome </h5>

                       

                    </div>

                </div>

                 <!-- /. ROW  -->

                 <hr />

                 

                                 

       <?php echo $disp; ?>

               

    </div>

             <!-- /. PAGE INNER  -->

            </div>

         <!-- /. PAGE WRAPPER  -->

        </div>

     <!-- /. WRAPPER  -->

    <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->

    <!-- JQUERY SCRIPTS 

      <script src="../assets/js/jquery-1.10.2.js"></script>

    -->

  

      <!-- BOOTSTRAP SCRIPTS -->

    <script src="../assets/js/bootstrap.min.js"></script>

    <!-- METISMENU SCRIPTS -->

    <script src="../assets/js/jquery.metisMenu.js"></script>

      <!-- CUSTOM SCRIPTS -->

    <script src="../assets/js/custom.js"></script>

     

   	<!-- DATA TABLE SCRIPTS -->

    <script src="../assets/js/dataTables/jquery.dataTables.js"></script>

    <script src="../assets/js/dataTables/dataTables.bootstrap.js"></script>
    
       <script type="text/javascript" src="https://cdn.datatables.net/tabletools/2.2.4/js/dataTables.tableTools.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/tabletools/2.2.2/swf/copy_csv_xls_pdf.swf"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.1.2/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.1.2/js/buttons.flash.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jszip/2.5.0/jszip.min.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/pdfmake.min.js"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/bpampuch/pdfmake/0.1.18/build/vfs_fonts.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.1.2/js/buttons.html5.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/buttons/1.1.2/js/buttons.print.min.js"></script>

<link type="text/css" href="https://cdn.datatables.net/1.10.11/css/jquery.dataTables.min.css" rel="stylesheet">
<link type="text/css" href="https://cdn.datatables.net/buttons/1.1.2/css/buttons.dataTables.min.css" rel="stylesheet">

</body>

</html>

