GOOGLE
<?php include("header.php");?>
<!-- start: Header -->
<div class="navbar">
<div class="navbar-inner">
<?php include("top_header.php");?>
</div>
</div>
<div class="">
<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="#">Academic Calendar</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">Manage Academic Calendar</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>Content</th>
<th>Year</th>
<th>Image</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php $sql = mysql_query("select * from `academic_calendar`");
$i=1;
while($row = mysql_fetch_array($sql)){
?>
<tr>
<td><?php echo $i;?></td>
<td><?php echo $row['heading'];?></td>
<td>Content</td>
<td><?php echo $row['year'];?></td>
<td class="center"><?php if($row['image']!=""){ ?>
<img src="../uploadedImage/academic_calendar/<?php echo $row['image'];?>" width="100" height="150">
<?php }else{?><img src="../img/imagenot.jpg" width="100" height="150"/><?php } ?></td>
<td class="center">
<a class="btn btn-success" href="#">
<i class="halflings-icon white zoom-in"></i>
</a>
<a class="btn btn-info" href="edit_academic_calendar.php?id=<?php echo $row['id'];?>">
<i class="halflings-icon white edit"></i>
</a>
<a class="btn btn-danger" href="delete_academic_calendar.php?id=<?php echo $row['id'];?>" onclick="return confirm('Are you sure want to dele');">
<i class="halflings-icon white trash"></i>
</a>
</td>
</tr>
<?php $i++;} ?>
</tbody>
</table>
</div>
</div><!--/span-->
</div><!--/row-->
<!--/row-->
<!--/row-->
<!--/row-->
</div><!--/.fluid-container-->
<!-- end: Content -->
</div><!--/#content.span10-->
</div><!--/fluid-row-->
<div class="clearfix"></div>
<?php include("footer.php");?>
Copyright © 1945 -