<?php 
    include("../connection.php");
    include("../user.php");
    $cur_date=date('Y-m-d H:i:s');
    $user=$_SESSION['user'];
    $row=mysqli_fetch_array(mysqli_query($con,"SELECT id,file_name,file_path FROM admin_upload_file_master where id='5' "));
    $pathname=$row['file_path'];
	$id=$row['id'];
    $pathname="/asset_temp/".$pathname;
?>
<!doctype html>
<html class="no-js" lang=""> 
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo TITLE;?></title>
    <meta name="description" content="Ela Admin - HTML5 Admin Template">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="apple-touch-icon" href="../images/bluebase.png">
    <link rel="shortcut icon" href="../images/bluebase.png">
    <!-- <script type="text/javascript" src="https://cdn.jsdelivr.net/html5shiv/3.7.3/html5shiv.min.js"></script> -->

	<style>
	input
	{
	text-transform:uppercase;	
	}
	textarea
	{
	text-transform:uppercase;	
	}
	</style>
</head>
<body>
  
		<div class="col-lg-8">
		
	<div class="card">
		<div class="card-header">
		<strong>Outward Bulk Upload</strong>
			<a href="outward_master.php"><button class="btn btn-primary" style="width:50px;margin-left:400px;"onclick=""><i class="fa fa-backward"></i></button></a>			
		</div>
	<div class="card-body card-block">
	<form  method="post" action="outward_upload_page.php" enctype="multipart/form-data" class="form-horizontal">
		<div class="control-group">
			<div class="col-md-12">
				<div class="form-group" style="text-align: center;width: 100%;font-size: 25px;text-transform: uppercase;color: #3c8dbc;">
					<a href="<?php echo "$pathname"?>">Download Template</a></p>
				</div>
			</div>
			<div class="col-md-12">
				<div class="form-group" style="text-align: center;">
					<div class="controls"  style="">
						<input type="file" name="file" id="file"  multiple="multiple" style="border: 2px solid gray; color: gray; background-color: #fff; padding: 8px 20px; border-radius: 8px; font-size: 20px; font-weight: bold;" accept=".csv" required >
						
					</div>
					<div class="controls"  style="float:left;">
					<b>Note:</b><span style="color:red;">Choose CSV Format Only</span>
					</div>
				</div>
			</div>
										<br>
		<div id="change"></div>
		<div id="events"></div>
		<div class="control-label"><label></label></div>
		<div style="">
			<button type="submit" name="submit" id="submit"  class="btn btn-success" ><i class="fa fa-upload"></i>Upload</button>
		</div>	
		</div>
		</div>
	</form>
	</div>
	</div>
	
    <div class="clearfix"></div>

    <footer class="site-footer">
        
    </footer>

</div><!-- /#right-panel -->
</body>
</html>


