• File: manage_home_committee.php
  • Full Path: /home/u184720337/domains/upa.org.in/public_html/adminserver/manage_home_committee.php
  • Date Modified: 09/14/2023 7:42 AM
  • File size: 3.25 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php include("header.php");?>
	<div class="navbar">
		<div class="navbar-inner">
			<?php include("top_header.php");?>
		</div>
	</div>
	<?php $sql = mysqli_query($mysqli, "SELECT * FROM `add_journal` WHERE `id`='".$_GET['id']."'");
		  $row = mysqli_fetch_array($sql);?>
		<div class="container-fluid-full">
		<div class="row-fluid">
			<?php include("sidebar.php");?>
			<div id="content" class="span10">
			<ul class="breadcrumb">
				<li>
					<i class="icon-home"></i>
					<a href="dashboard.php"><b style="color: white;">Home</b></a> 
					<i class="icon-angle-right"></i>
				</li>
				<li><a href="#"><b style="color: white;">Committee</b></a></li>
			</ul>
			<a href="add_home_committee.php" class="btn btn-primary btn-xs" style="float: right;"><b style="color: white;">Add Committee</b></a>
			<div class="row-fluid">
				<div class="box span12">
					<div class="box-header" data-original-title>
						<h2><i class="halflings-icon edit"></i><span class="break"></span><b style="color: white;">Manage Committee</b></h2>
						<div class="box-icon">
							<a href="#" class="btn-setting"><i class="halflings-icon wrench"></i></a>
							<a href="#" class="btn-minimize"><i class="halflings-icon chevron-up"></i></a>
							<a href="#" class="btn-close"><i class="halflings-icon remove"></i></a>
						</div>
					</div>
					<div class="box-content">
						<table class="table table-striped table-bordered bootstrap-datatable datatable">
						  <thead>
							  <tr>
								  <th>Sr.No</th>
								  <th>Committee</th>
								  <th>Sub Committee</th>
								  <th>Name</th>
								  <th>Sr.No (Sort)</th>
								  <th>Details</th>
								  <th>Image</th>
								  <th>Date Time</th>
								  <th>Actions</th>
								  
							  </tr>
						  </thead>   
						  <tbody>
						  <?php $sqls = mysqli_query($mysqli,"SELECT * FROM `home_commitee` ORDER BY body ASC");
						   $i=1;
						  		while($rows = mysqli_fetch_array($sqls)){?>
							<tr>
								<td><?php echo $i;?></td>
								<td><?php echo ucfirst($rows['body']); ?></td>
								<td><?php echo ucfirst($rows['sub_body']); ?></td>
								<td><?php echo ucfirst($rows['name']); ?></td>
								<td><?php echo ucfirst($rows['sort']); ?></td>
								<td><?php echo $rows['content'];?></td>
								<td>
									<?php if($rows['image']!=""){?>
										<img src="uploadedImage/homebody/<?php echo $rows['image'];?>" width='50'>
										<?php }else{ ?>
											<img src="img/noimage.png" width='50'>
											<?php } ?></td>
								<td><?php echo $rows['date_time'];?></td>
								<td class="center">
									
									<a class="btn btn-info" href="edit_home_body.php?id=<?php echo $rows['id'];?>">
										<i class="halflings-icon white edit"></i>  
									</a>
									<a class="btn btn-danger" href="delete_home_body.php?id=<?php echo $rows['id'];?>" onclick="return confirm('Are you sure want to Delete');">
										<i class="halflings-icon white trash"></i> 
									</a>
								</td>
								
							</tr>
							<?php $i++;} ?>
							
						  </tbody>
					  </table>            
					</div>
				</div><!--/span-->

			</div>		

	</div><!--/.fluid-container-->
	
			<!-- end: Content -->
		</div><!--/#content.span10-->
		</div><!--/fluid-row-->
	
	<div class="clearfix"></div>
	
	<?php include("footer.php");?>