<div class="page-content">
                            <?php
include("common/sitemap.php");
?>   
                            <div class="container-fluid">
                                 
<div class="row">
	<div class="col-sm-3">
				<a class="btn btn-lg btn-indigo btn-block mb-xl" href="admin.php?page=<?php echo $convert->encode("compose");?>">Compose</a>
		
		<div class="list-group inbox-menu list-group-alternate">
			<a href="#" class="list-group-item active"><i class="ti ti-email"></i>Inbox <span class="badge badge-primary">3</span></a>
			<a href="#" class="list-group-item"><i class="ti ti-share"></i>Sent </a>
			<a href="#" class="list-group-item"><i class="ti ti-file"></i>Drafts <span class="badge badge-orange">1</span></a>
			<a href="#" class="list-group-item"><i class="ti ti-trash"></i>Trash</a>
			<a href="#" class="list-group-item"><i class="ti ti-control-record circle-red"></i>Important</a>
			<a href="#" class="list-group-item"><i class="ti ti-control-record circle-green"></i>Work</a>
			<a href="#" class="list-group-item"><i class="ti ti-control-record circle-purple"></i>Personal</a>		</div>
	</div><!-- col-sm-3 -->

	<div class="col-md-9">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2>States List</h2>
					<div class="panel-ctrls"></div>
				</div>
				<div class="panel-body no-padding">
					<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
						<thead>
							<tr>
							  <td width="5%" height="28" align="center"><input type="checkbox" name="ch[]"/></td>
								<td width="75%">Subject</td>
								<td width="20%">Time</td>
							</tr>
						</thead>
						<tbody>
							
						<?php
						$GetMessage = mysql_query("SELECT * FROM `sgvu_admission_message` WHERE `sender` = '$admin_id'");
						while($GetMessage1 = mysql_fetch_assoc($GetMessage))
						{
						$s =$_REQUEST['v'];

						$u = $s+0;

						?>
							
						<tr>
								<td width="5%" height="28" align="center"><input type="checkbox" name="ch" /></td>
								<td width="75%"><a href="#"><font color="#000000">
								<?php
								if($GetMessage1['read_type']== '0')
								{
								?>
								<b><?php echo $GetMessage1['subject']; ?></b>
								<?php
								}
								else
								{
								echo $GetMessage1['subject'];
								}
								?>
								</font>
								</a></td>
								<td width="20%"><?php $dt = $GetMessage1['time'];
								echo date('d-m-Y', $dt)
								 ?></td>
						  </tr>
						<?php
						}
						?>	   
						
							
						</tbody>
					</table>
				</div>
				<div class="panel-footer"></div>
			</div>
		</div><!-- col-sm-8 -->
</div>
                            </div> <!-- .container-fluid -->
                        </div>
						

<script type="text/javascript" src="assets/js/jquery-1.10.2.min.js"></script> 							<!-- Load jQuery -->
<script type="text/javascript" src="assets/js/jqueryui-1.10.3.min.js"></script> 							<!-- Load jQueryUI -->
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script> 								<!-- Load Bootstrap -->
<script type="text/javascript" src="assets/js/enquire.min.js"></script> 									<!-- Load Enquire -->

<script type="text/javascript" src="assets/plugins/velocityjs/velocity.min.js"></script>					<!-- Load Velocity for Animated Content -->
<script type="text/javascript" src="assets/plugins/velocityjs/velocity.ui.min.js"></script>

<script type="text/javascript" src="assets/plugins/wijets/wijets.js"></script>     						<!-- Wijet -->

<script type="text/javascript" src="assets/plugins/codeprettifier/prettify.js"></script> 				<!-- Code Prettifier  -->
<script type="text/javascript" src="assets/plugins/bootstrap-switch/bootstrap-switch.js"></script> 		<!-- Swith/Toggle Button -->

<script type="text/javascript" src="assets/plugins/bootstrap-tabdrop/js/bootstrap-tabdrop.js"></script>  <!-- Bootstrap Tabdrop -->

<script type="text/javascript" src="assets/plugins/iCheck/icheck.min.js"></script>     					<!-- iCheck -->

<script type="text/javascript" src="assets/plugins/nanoScroller/js/jquery.nanoscroller.min.js"></script> <!-- nano scroller -->

<script type="text/javascript" src="assets/js/application.js"></script>
<script type="text/javascript" src="assets/demo/demo.js"></script>
<script type="text/javascript" src="assets/demo/demo-switcher.js"></script>
<script type="text/javascript" src="assets/plugins/datatables/jquery.dataTables.js"></script>
<script type="text/javascript" src="assets/plugins/datatables/dataTables.bootstrap.js"></script>
<script type="text/javascript" src="assets/demo/demo-datatables.js"></script>

<!-- End loading site level scripts -->
    
    <!-- Load page level scripts-->
    
<script>
	$('table.table-inbox tbody tr').click(function () {
		window.location.href = 'app-inbox-read.html';
	});

	enquire.register("screen and (max-width: 992px)", {
		match : function() {
			//small
			$( ".table-inbox tr" ).each(function( index ) {
			  $(this).find("td.inbox-msg-snip").prepend($(this).find("td.inbox-msg-from div").addClass("inbox-from-name"));
			});
		},  
		unmatch : function() {
			//big
			$( ".table-inbox tr" ).each(function( index ) {
				$(this).find("td.inbox-msg-from").append($(this).find(".inbox-from-name"));
			});
		}
	});
</script>						