<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
	<title>Add New Project | Admin Panel</title>

	<!-- Favicons -->
<link rel="shortcut icon" type="image/x-icon" href="../UserProfile/images/logo/logo.png">

	<!-- Bootstrap CSS -->
	<link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css">

	<!-- Fontawesome CSS -->
	<link rel="stylesheet" href="assets/plugins/fontawesome/css/fontawesome.min.css">
	<link rel="stylesheet" href="assets/plugins/fontawesome/css/all.min.css">
	 
	<!-- Animate CSS -->
	<link rel="stylesheet" href="assets/css/animate.min.css">

	<!-- Main CSS -->
	<link rel="stylesheet" href="assets/css/admin.css">
		<!-- Datatables CSS -->
	<link rel="stylesheet" href="assets/plugins/datatables/datatables.min.css">

</head>

<body>
<div class="main-wrapper">
	
		<!-- Header -->
	<?php include 'include/header.php'; ?>
		<!-- /Header -->
		
		<!-- Sidebar -->
		<?php include 'include/leftmenu.php'; ?>
		<!-- /Sidebar -->
	<div class="page-wrapper">
                <div class="content container-fluid">
				
					<div class="row">
						<div class="col-lg-12">
							<div class="card">
								<div class="card-header">
									<h4 class="card-title">Add New Project</h4>
								</div>
								<div class="card-body">
									<form action="Apk/AddNewProject" method="post" enctype="multipart/form-data" id="frm">
								
								       
										<div class="form-group row">
											<label class="col-form-label col-md-4">Project Name</label>
											<div class="col-md-8">
												<input type="text" name="project_name" id="project_name" class="form-control" required>
										
											</div>
										</div>
										<div class="form-group row">
											<label class="col-form-label col-md-4">Business(%)</label>
											<div class="col-md-8">
												<input type="text" name="businessper" id="businessper" class="form-control" value="80" required onkeydown="return ( event.ctrlKey || event.altKey || (47<event.keyCode &amp;&amp; event.keyCode<58 &amp;&amp; event.shiftKey==false) || (95<event.keyCode &amp;&amp; event.keyCode<106) || (event.keyCode==8) || (event.keyCode==9) || (event.keyCode>34 &amp;&amp; event.keyCode<40) || (event.keyCode==46) )">
										
											</div>
										</div>
								  <!--  	<div class="form-group row">-->
										<!--	<label class="col-form-label col-md-4">Upload Project MAP</label>-->
										<!--	<div class="col-md-8">-->
										<!--	<input type="file" name="upload" id="upload" accept="image/*" class="form-control btn btn-info" >-->
										<!--	</div>-->
										<!--</div>-->
							
									<button class="btn btn-primary" type="submit" style="margin:10px 0 0 146px">Submit</button>
								
									</form>
								</div>
							
							</div>
						</div>
				    	</div>
				
				    <div class="row">
						<div class="col-sm-12">
							<div class="card">
								<div class="card-header">
									<h4 class="card-title">Our Project</h4>
								
								</div>
								<div class="card-body">

									<div class="table-responsive">
										<table class="datatable table table-stripped">
											<thead>
												<tr>
													<th>#</th>
													<th>Project Name</th>
													<th>Business(%)</th>
													<!--<th>Map</th>-->
													<th></th>
												</tr>
											</thead>
											<tbody>
											    <?php
											    $cnt=1;
											     $chk="Select * from tbl_prject_master ";
                                        $reschk=mysqli_query($connection,$chk);
                                        while($row=mysqli_fetch_array($reschk))
                                        {
											    ?>
												<tr>
													<td><?php echo $cnt++ ?></td>
												
													<td><?php echo $row['project_name'] ?></td>
													<td><?php echo $row['businessper'] ?></td>
									   <!--<td><a href="../project/<?php echo $row['upload_map']; ?>" target="_blank"> <img src="../project/<?php echo $row['upload_map']; ?>" alt="No any Map" height="150" width="150"></a></td>-->
													<td></td>
												
									
												</tr>
											<?php } ?>
											</tbody>
										</table>
									</div>
								</div>
							</div>
						</div>
					</div>
				
				</div>			
	</div>
</div>

	<!-- jQuery -->
	<script src="assets/js/jquery-3.5.0.min.js"></script>

	<!-- Bootstrap Core JS -->
	<script src="assets/js/popper.min.js"></script>
	<script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>

	<!-- Slimscroll JS -->
	<script src="assets/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<script src="assets/plugins/datatables/jquery.dataTables.min.js"></script>
	<script src="assets/plugins/datatables/datatables.min.js"></script> 

	<!-- Custom JS -->
	<script src="assets/js/admin.js"></script>

</body>


</html>