<div class="page-content">
	<div class="page-header position-relative">
		<h1>
			Location List <small> <i class="icon-double-angle-right"></i> With
				Calendar
			</small>

		</h1>

	</div>
	<!--/.page-header-->

	<div class="span7" id="8">
		<form class="form-horizontal" method="post" action="">
			
			<!-- /control-group -->
		</form>
	</div>
	<!-- /control-group -->


	<div class="row-fluid">
		<div class="span12" style="overflow: scroll;">
			<!--PAGE CONTENT BEGINS-->
			<table id="location-table"
				class="table table-striped table-bordered table-hover no-margin-bottom no-border-top">
				<thead>
					<tr>
						<th>S.No.</th>
						<th>Location Name</th>
						
						<th></th>
					</tr>
				</thead>

				<tbody>
				<?php
				    if(is_array($get_location)){
				    	$i=1;
					foreach ( $get_location as $location ) {
				?>
					<tr>
						<td><?php echo $i;?></td>
						<td> <?php echo $location['name']; ?> </td>
						
						<td class="td-actions">
						<a href="<?php echo $link->link('view_location',Admin,'?delete_id='.$location['id']);?>" class="red"><i class="icon-trash bigger-130"></i></a>
						</td>
					</tr>
				<?php $i++; } } ?>       
										</tbody>
			</table>

			<!--PAGE CONTENT ENDS-->
		</div>
		<!--/.span-->
	</div>
	<!--/.row-fluid-->
</div>
<!--/.page-content-->


</div>
<!--/.main-content-->

