<?php
error_reporting(0);
?>
<!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 Project Details | 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">
		<link rel="stylesheet" href="assets/css/select2.min.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-sm-12">
							<div class="card">
								<div class="card-header">
									<h6 class="card-title">Add Project Details</h6>
									<span><?php echo $_REQUEST['msg']; ?></span>
								</div>
								<div class="card-body">

									<div class="table-responsive">
										<div class="card filter-card">
						<div class="card-body pb-0">
						    <form name="frm" id="frm" method="post" action="Apk/AddProjectDetails">
							<div class="row filter-row">
								<div class="col-sm-6 col-md-4">
									<div class="form-group">
										<label>Select Project</label>
									    <select name="project_id" id="project_id" class="form-control"   required>
									        <option value="">Select Project</option>
									        <?php 
									        $str="Select * from tbl_prject_master";
									        $res=mysqli_query($connection,$str);
									        while($row=mysqli_fetch_array($res))
									        {
									            ?>
									            <option value="<?php echo $row['project_id']; ?>"><?php echo $row['project_name']; ?></option>
									            <?php
									        }
									        ?>
									    </select>
									</div>
								</div>
								<div class="col-sm-6 col-md-6">
									<div class="form-group">
										<label>Projetc Details</label>
									<textarea id="project_viewpoint" name="project_viewpoint" class="form-control" rows="4" cols="50" required></textarea>
									</div>
								</div>
								<div class="form-group">
								     <button type="submit" class="btn btn-primary" id="btnedit" >&nbsp;&nbsp;&nbsp;Submit </button>
								</div></div>
								<div class="col-sm-6 col-md-6">
								<div class="form-group">
								    <span id="lblmsg"></span>
								</div></div>
							</div>	
							</form>
						
						</div>
					</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>