<?php include("header.php");?>
<div class="navbar">
<div class="navbar-inner">
<?php include("top_header.php");?>
<style type="text/css">
th{
background-color: #004480;
color: white;
}
</style>
</div>
</div>
<div class="">
<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" style="color: white;">Home</a>
<i class="icon-angle-right"></i>
</li>
<li><a href="#" style="color: white;">Manage Founder Message</a></li>
</ul>
<div style="float: right;">
<a href="manage_founder.php" class="btn btn-success" value="Save changes">Manage Founder Message</a>
</div>
<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"><b style="color: white;">Manage Founder Message</b></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>Designation</th>
<th>Details</th>
<th>Image</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php $sql = mysqli_query($mysqli,"SELECT * FROM `founder`");
$i=1;
while($row = mysqli_fetch_array($sql)){?>
<tr>
<td><?php echo $i;?></td>
<td><?php echo $row['heading'];?></td>
<td><?php echo $row['designation'];?></td>
<td><?php echo ucfirst(substr($row['founder_message'],0,250)); ?></td>
<td class="center"><?php if($row['image']!=""){ ?>
<img src="uploadedImage/founder/<?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_founder.php?id=<?php echo $row['id'];?>">
<i class="halflings-icon white edit"></i>
</a>
</td>
</tr>
<?php $i++;} ?>
</tbody>
</table>
</div>
</div><!--/span-->
</div><!--/row-->
</div>
</div><!--/#content.span10-->
</div><!--/fluid-row-->
<div class="clearfix"></div>
<!-- start: JavaScript-->
<?php include("footer.php");?>
</body>
</html>