<!-- /#sidebar-wrapper -->

				<!-- Page Content -->
				<div id="page-content-wrapper">
					<div class="container-fluid">
						<div class="row">
							<div class="col-lg-12">
							
								<a href="#menu-toggle" class="btn btn-default" id="menu-toggle">Menu Bar</a>
								<h1 align="center">User Profile</h1>
								
								<form class="form-group" role="form" action="../controller/UserController.php" method="post">
									
									<?php 
        $objLeaveApplication = new User();
        $livHistory = $objLeaveApplication->getAllleaveHistory();
        while ($historyForLeave = mysqli_fetch_array($livHistory)) {
            echo "<br/><span style='color:#DAA520;' class='glyphicon glyphicon-road'></span> You were in Leave from <b style='color:#DAA520;'>" . $historyForLeave['lLeaveFromDate'] . "</b> To <b style='color:#DAA520;'>" . $historyForLeave['lLeaveToDate'] . "</b>. Total <b style='color:#DAA520;'>" . $historyForLeave['lTotalLeaveDays'] . "</b> Days.<br/>";
        }
        ?>
									
									<div class="table-responsive">
									
										<table class="table table-bordered table-hover table-striped">
										
											<thead>
											
												<tr class="success">
													<th>Leave Name</th>
													<th>CL</th>
													<th>SL</th>