<?php
    include("config.php");
?>
	<?php include("inc/header.php") ?>

		<body data-spy="scroll" data-target="#navSection" data-offset="100">
			<?php include("inc/sidebar.php") ?>
				<!-- sidebar -->
				<div class="content">
					<div class="header">
						<div class="header-left"> <a href="#" class="burger-menu"><i data-feather="menu"></i></a> </div>
						<!-- header-left -->
						<div class="header-right"> 
						
							<div class="dropdown dropdown-loggeduser">
								<a href="#" class="dropdown-link" data-toggle="dropdown">
									<div class="avatar avatar-sm"> <img src="https://cdn.iconscout.com/icon/free/png-256/laptop-user-1-1179329.png" class="rounded-circle" alt=""> </div>
									<!-- avatar -->
								</a>
								<div class="dropdown-menu dropdown-menu-right">
									<div class="dropdown-menu-header">
										<div class="media align-items-center">
											
											<!-- avatar -->
											<div class="media-body mg-l-10">
												<h6>MACHINES
</h6> <span>Administrator</span> </div>
										</div>
										<!-- media -->
									</div>
									<div class="dropdown-menu-body"> <a href="changepwd.php" class="dropdown-item"><i data-feather="user"></i> 
									View Profile</a> <a href="../" class="dropdown-item"><i data-feather="log-out"></i> Sign Out</a> </div>
								</div>
								<!-- dropdown-menu -->
							</div>
						</div>
						<!-- header-right -->
					</div>
					<!-- header -->
					<div class="content-header">
						<div>
							<h4 class="content-title">Dashboard</h4> </div>
					</div>
					<!-- content-header -->
					<div class="content-body">
					    
					    <div class="row" style="margin-top:10px;">
                            <div class="col-md-12">
                                
                                    <form method="post" action="product_process.php" enctype="multipart/form-data">
											<label>Add Product Title</label><br>
                        <input type="text" class="form-control" name="product_title" id="title" placeholder=""/><br>
											<span class="focus-input100" data-placeholder="&#xf207;"></span>
											<label>Add Product Amount</label><br>
                        <input type="text" class="form-control" name="product_amount" id="money" placeholder=""/><br>
											<span class="focus-input100" data-placeholder="&#xf207;"></span>
											<label>Add Product Description</label><br>
                        <textarea  rows="10" cols="150" name="product_desc"></textarea><br>
											<span class="focus-input100" data-placeholder="&#xf207;"></span>
											<label>Add Product Picture</label><br>
											<input type="file" name="file">
									<br>
									<span class="focus-input100" data-placeholder="&#xf207;"></span>
										<input type="submit" id="form_submit" class="btn btn-success" value="Add Product" />
								</form>
								
                                	</div>
                    
                            </div>
					    </div>
					</div>
				</div>
				<!-- content-body -->
				<script src="lib/jquery/jquery.min.js"></script>
				<script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>
				<script src="lib/feather-icons/feather.min.js"></script>
				<script src="lib/perfect-scrollbar/perfect-scrollbar.min.js"></script>
				<script src="lib/prismjs/prism.js"></script>
				<script src="lib/js-cookie/js.cookie.js"></script>
				<script src="assets/js/cassie.js"></script>
				<script>
				$(function() {
					'use strict'
				})
				</script>
				<script>
				$(function() {
					'use strict'
					$('#modal6').on('show.bs.modal', function(event) {
							var animation = $(event.relatedTarget).data('animation');
							$(this).addClass(animation);
						})
						// hide modal with effect
					$('#modal6').on('hidden.bs.modal', function(e) {
						$(this).removeClass(function(index, className) {
							return(className.match(/(^|\s)effect-\S+/g) || []).join(' ');
						});
					});
				})
				</script>
		</body>

		</html>