GOOGLE
<?php include("header.php");?>
<!-- start: Header -->
<div class="navbar">
<div class="navbar-inner">
<?php include("top_header.php");?>
</div>
</div>
<!-- start: Header -->
<div class="">
<div class="row-fluid">
<!-- start: Main Menu -->
<?php include("sidebar.php");?>
<!-- end: Main Menu -->
<!-- start: Content -->
<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="#">Events</a></li>
</ul>
<div class="row-fluid">
<div class="box span12">
<div class="box-header" data-original-title>
<h2><i class="halflings-icon user"></i><span class="break">Manage Events</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 style="background-color: orange; color: white;">Sr.No</th>
<th style="background-color: orange; color: white;">Heading</th>
<th style="background-color: orange; color: white;">Content</th>
<th style="background-color: orange; color: white;">Department</th>
<th style="background-color: orange; color: white;">Image</th>
<th style="background-color: orange; color: white;">Date Time</th>
<th style="background-color: orange; color: white;">Actions</th>
</tr>
</thead>
<tbody>
<?php $sql = mysql_query("select * from `event` order by id desc");
$i=1;
while($row = mysql_fetch_array($sql)){?>
<tr>
<td><?php echo $i;?></td>
<td><?php echo $row['heading'];?></td>
<td><?php echo $row['content'];?></td>
<td><?php echo $row['department'];?></td>
<td class="center">
<?php if($row['image1']!=""){ ?>
<img src="../uploadedImage/event/<?php echo $row['image1'];?>" width="100" height="100">
<?php }else{?>
<img src="img/imagenot.png" width="100" height="100"/>
<?php } ?>
<?php if($row['image2']!=""){ ?>
<img src="../uploadedImage/event/<?php echo $row['image2'];?>" width="100" height="100">
<?php }else{?>
<img src="img/imagenot.png" width="100" height="100"/>
<?php } ?>
<?php if($row['image3']!=""){ ?>
<img src="../uploadedImage/event/<?php echo $row['image3'];?>" width="100" height="100">
<?php }else{ ?>
<img src="img/imagenot.png" width="100" height="100"/>
<?php } ?>
<?php if($row['image4']!=""){ ?>
<img src="../uploadedImage/event/<?php echo $row['image4'];?>" width="100" height="100">
<?php }else{ ?>
<img src="img/imagenot.png" width="100" height="100"/>
<?php } ?>
</td>
<td><?php echo $row['date_time'];?></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_conference.php?id=<?php echo $row['id'];?>">
<i class="halflings-icon white edit"></i>
</a>
<a class="btn btn-danger" href="delete_conference.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>
<!-- start: JavaScript-->
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/jquery-migrate-1.0.0.min.js"></script>
<script src="js/jquery-ui-1.10.0.custom.min.js"></script>
<script src="js/jquery.ui.touch-punch.js"></script>
<script src="js/modernizr.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src='js/fullcalendar.min.js'></script>
<script src='js/jquery.dataTables.min.js'></script>
<script src="js/excanvas.js"></script>
<script src="js/jquery.flot.js"></script>
<script src="js/jquery.flot.pie.js"></script>
<script src="js/jquery.flot.stack.js"></script>
<script src="js/jquery.flot.resize.min.js"></script>
<script src="js/jquery.chosen.min.js"></script>
<script src="js/jquery.uniform.min.js"></script>
<script src="js/jquery.cleditor.min.js"></script>
<script src="js/jquery.noty.js"></script>
<script src="js/jquery.elfinder.min.js"></script>
<script src="js/jquery.raty.min.js"></script>
<script src="js/jquery.iphone.toggle.js"></script>
<script src="js/jquery.uploadify-3.1.min.js"></script>
<script src="js/jquery.gritter.min.js"></script>
<script src="js/jquery.imagesloaded.js"></script>
<script src="js/jquery.masonry.min.js"></script>
<script src="js/jquery.knob.modified.js"></script>
<script src="js/jquery.sparkline.min.js"></script>
<script src="js/counter.js"></script>
<script src="js/retina.js"></script>
<script src="js/custom.js"></script>
<!-- end: JavaScript-->
</body>
</html>
Copyright © 1945 -