<?php
$id = $convert->decode($_GET['id']);
$edit = $convert->decode($_GET['edit']);

$GetStuDetail = mysql_query("SELECT * FROM `student_registration` WHERE `sid` = '$id'");
$GetStuDetail1 = mysql_fetch_assoc($GetStuDetail);

$GetStep1Per = mysql_query("SELECT * FROM `step1_perosonal` WHERE `sid` = '$id'");
$GetStep1Per1 = mysql_fetch_assoc($GetStep1Per);

$GetStep1Contact = mysql_query("SELECT * FROM `step1_contact` WHERE `sid` = '$id'");
$GetStep1Contact1 = mysql_fetch_assoc($GetStep1Contact);


?>

<div class="page-content">

                            <ol class="breadcrumb">
                                
<li><a href="index.html">Home</a></li>
<li class="active"><a href="profile.html">Profile</a></li>
                            </ol>
                            <div class="container-fluid">
							
                                 
<div data-widget-group="group1">

<?php
$GetFormStatus = mysql_query("SELECT * FROM `student_registration` WHERE `sid` = '$id'");
$GetFormStatus1 = mysql_fetch_assoc($GetFormStatus);



$GetFormMsg = mysql_query("SELECT * FROM `sgvu_form_comment` WHERE `sid` = '$id'");
$GetFormMsg1 = mysql_fetch_assoc($GetFormMsg);

$GetComment=mysql_query("SELECT * FROM `sgvu_form_comment` WHERE `sid` = '$id'");
$GetComment1=mysql_fetch_assoc($GetComment);



?>



	<div class="row">
   <div  class="col-sm-12"> 
     <h5>Scruitnizer Desk: <font color="#990000"><?php
				$GetSidComment=mysql_query("SELECT * FROM `sgvu_form_comment_executive` WHERE `sid` = '$id' AND `admin` = 2");
				$GetSidComment1=mysql_fetch_assoc($GetSidComment);
				echo $GetSidComment1['remark'];
				?></font></h5>
		<h5>Senior Desk: <font color="#990000"><?php
				$GetSidCommentsr=mysql_query("SELECT * FROM `sgvu_form_comment_executive` WHERE `sid` = '$id' AND `admin` ='4'");
				$GetSidCommentsr1=mysql_fetch_assoc($GetSidCommentsr);
				echo $GetSidCommentsr1['remark'];
				?></font></h5></div>
		<div class="col-sm-3">
        
		  <div class="panel panel-profile">
            
  <div class="panel-body">
			    <?php
										$GetPhoto=mysql_query("SELECT * FROM `step3_document` WHERE `doc_type` = 1 AND `sid` = '$id'");
										$GetPhoto1=mysql_fetch_assoc($GetPhoto);
										
										?>
			  
			    <img src="../new-admin/upload/<?php echo $GetPhoto1['image'];?>" class="img-circle" style="height:60px; width:60px">
			     <div class="name"><?php echo $GetStep1Per1['firstname'].' '.$GetStep1Per1['middlename'].' '.$GetStep1Per1['lastname'];  ?></div>
			    <div class="info">Reg. Date: <?php $rd=$GetStuDetail1['time'];
				echo date('d-m-Y', $rd);
				  ?></div>
			    <div class="info">SID: <?php echo $GetStuDetail1['sid'];
				
				  ?></div>
			    
			  </div>
			</div><!-- panel -->
			<div class="list-group list-group-alternate mb-n nav nav-tabs">
				<a href="#tab-about" 	role="tab" data-toggle="tab" class="list-group-item <?php
				if($edit == 'edit-personal')
							{
							echo 'active';
							}
				?>"><i class="ti ti-user"></i> Personal Details</a>
				
				<a href="#tab-projects" role="tab" data-toggle="tab" class="list-group-item <?php
				if($edit == 'edit-contact')
							{
							echo 'active';
							}
				?>"><i class="ti ti-view-list-alt"></i> Contact Details</a>
				<a href="#tab-photos" 	role="tab" data-toggle="tab" class="list-group-item <?php
				if($edit == 'academic')
							{
							echo 'active';
							}
				?>"><i class="ti ti-view-grid"></i> Academic Details</a>
				
				
				<a href="#tab-edit" 	role="tab" data-toggle="tab" class="list-group-item <?php
				if($edit == 'document')
							{
							echo 'active';
							}
				?>"><i class="ti ti-pencil"></i> Documents</a>
				<a href="#tab-finish" 	role="tab" data-toggle="tab" class="list-group-item "><i class="ti ti-pencil"></i> Finish</a>
				
				</div>
		</div><!-- col-sm-3 -->
		<div class="col-sm-9">
			<div class="tab-content">
				<div class="tab-pane
				<?php
				if($edit == 'edit-contact')
							{
							echo 'active';
							}
				?>
				" id="tab-projects">
					<div class="panel panel-default">
						<div class="panel-heading">
							<h2>Contact Details</h2>
					  </div>
						<div class="panel-body">
							<div class="table-responsive">
							<?php
							
							include("module/verify/contact_details.php");
							?>	
							
								
								
								
							</div><!-- /.table-responsive -->
						</div> <!-- /.panel-body -->
					</div>
				</div> <!-- #tab-projects -->

				<div class="tab-pane <?php
				if($edit == '')
							{
							echo 'active';
							}
							if($edit == 'edit-personal')
							{
							echo 'active';
							}
				?>" id="tab-about">
					<div class="panel panel-default">
					    <div class="panel-heading">
					    	<h2>Personal Details</h2>
				      </div>
						<div class="panel-body">
					      
							<div class="about-area">
								    <div class="table-responsive">
								      
							<?php
							include("module/verify/perosal_details.php");
							?>	
							
								    </div>
							</div>
							
						</div>
					</div>
				</div>

				

				<div class="tab-pane 
				<?php
				if($edit == 'academic')
							{
							echo 'active';
							}
				?>" id="tab-photos">
					<div class="panel">
						<div class="panel-heading">
							<h2>Academic Details</h2>
						</div>
						<div class="table-responsive">
<?php
							
							include("module/verify/academic_details.php");
							?>	



							</div>
					</div>
				</div>

<div class="tab-pane <?php
				if($edit == 'document')
							{
							echo 'active';
							}
				?>" id="tab-edit">
					<div class="panel">
						<div class="panel-heading">
							<h2>Documents</h2>
						</div>
						<div class="table-responsive">
<?php
							
							include("module/verify/documents.php");
							?>	



							</div>
					</div>
				</div>
				
				
				<div class="tab-pane <?php
				if($edit == 'finish')
							{
							echo 'active';
							}
				?>" id="tab-finish">
					<div class="panel">
						<div class="panel-heading">
							<h2>Form Finish</h2>
						</div>
						<div class="table-responsive">
<?php
							
							{
							include("module/verify/finish.php");
							}
							?>	



							</div>
					</div>
				</div>
				
				
				
				
							</div><!-- .tab-content -->
		</div><!-- col-sm-8 -->
	</div>
</div>
                            </div> <!-- .container-fluid -->
                        </div>
						

<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>

<!-- End loading site level scripts -->
    
    <!-- Load page level scripts-->
    
<script type="text/javascript" src="assets/plugins/form-fseditor/jquery.fseditor-min.js"></script>            			<!-- Fullscreen Editor -->
<script type="text/javascript" src="assets/plugins/bootbox/bootbox.js"></script> 	<!-- Bootbox -->

<script type="text/javascript" src="assets/demo/demo-profile.js"></script>









<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>

<!-- End loading site level scripts -->
    
    <!-- Load page level scripts-->
    
<script type="text/javascript" src="assets/plugins/form-daterangepicker/moment.min.js"></script>              			<!-- Moment.js for Date Range Picker -->

<script type="text/javascript" src="assets/plugins/form-colorpicker/js/bootstrap-colorpicker.min.js"></script> 			<!-- Color Picker -->

<script type="text/javascript" src="assets/plugins/form-daterangepicker/daterangepicker.js"></script>     				<!-- Date Range Picker -->
<script type="text/javascript" src="assets/plugins/bootstrap-datepicker/bootstrap-datepicker.js"></script>      			<!-- Datepicker -->
<script type="text/javascript" src="assets/plugins/bootstrap-timepicker/bootstrap-timepicker.js"></script>      			<!-- Timepicker -->
<script type="text/javascript" src="assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script> <!-- DateTime Picker -->

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


<script type="text/javascript" src="assets/demo/demo-pickers.js"></script>

