GOOGLE

aku nok ndi : /home/astwardha/public_html/admin/
File Up :
aku nok ndi : /home/astwardha/public_html/admin/manage_notice.php

<?php include("header.php");?>
		<!-- start: Header -->
	<div class="navbar">
		<div class="navbar-inner">
			<?php include("top_header.php");?>
		</div>
	</div>
	<!-- start: Header -->
		<div class="container-fluid-full">
		<div class="row-fluid">
			<!-- start: Main Menu -->
			<?php include("sidebar.php");?>
			<div id="content" class="span10">
			<ul class="breadcrumb">
				<li>
					<i class="icon-home"></i>
					<a href="dashboard.php">Home</a> 
					<i class="icon-angle-right"></i>
				</li>
				<li><a href="#">Tables</a></li>
			</ul>

			<div class="row-fluid sortable">		
				<div class="box span12">
					<div class="box-header" data-original-title>
						<h2><i class="halflings-icon user"></i><span class="break"></span></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>Heading</th>
								  <th>Department</th>
								  <th>Details</th>
								  <th>Date Time</th>
								  <th>Actions</th>
							  </tr>
						  </thead>   
						  <tbody>
						  <?php $sql = mysql_query("select * from `notice` order by id desc");
						  $i=1;
						  		while($row = mysql_fetch_array($sql)){?>
							<tr>
								<td><?php echo $i;?></td>
								<td><?php echo $row['title'];?></td>
								<td><?php echo $row['department'];?></td>
								<td class="center"><?php echo $row['contents'];?></td>
								<td class="center"><?php echo $row['date'];?></td>

								
								<td class="center">
									<a class="btn btn-danger" href="notice_delete.php?id=<?php echo $row['id'];?>" onclick="return confirm('Are you sure you want to Delete?');">
										<i class="halflings-icon white trash"></i> 
									</a>
								</td>
							</tr>
							<?php $i++;} ?>
							
						  </tbody>
					  </table>            
					</div>
				</div><!--/span-->
			
			</div><!--/row-->

			<!--/row-->
			
			<!--/row-->
			
			<!--/row-->
    							<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>			<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>	


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

Copyright © 1945 - 2024 GOOGLE