

<?php
include("common/sitemap-account.php");
$sid=$convert->decode($_GET['id']);
$GetStDetail=mysql_query("SELECT * FROM `step1_perosonal` WHERE `sid` = '$sid'");
$GetStDetail1=mysql_fetch_assoc($GetStDetail);

?>                          


                            <div class="container-fluid">
                                

<div data-widget-group="group1">
	
	
	<div class="row">
		<div class="col-md-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2>Student Profile</h2>
					<div class="panel-ctrls"></div>
				</div>
				<div class="panel-body">
					<div class="col-md-12">
					<h4><b>Comment:</b></h4>
					<h5>Scruitnizer Desk: <font color="#990000"><?php
				$GetSidComment=mysql_query("SELECT * FROM `sgvu_form_comment_executive` WHERE `sid` = '$sid' 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` = '$sid' AND `admin` ='4'");
				$GetSidCommentsr1=mysql_fetch_assoc($GetSidCommentsr);
				echo $GetSidCommentsr1['remark'];
				?></font></h5>
				<hr />
					
					
				
					</div>
				</div>
				
				<div class="panel-body">
			
						
						<div class="col-md-12" style="padding-top:10px">
				<div class="col-md-4"><b>Student ID</b></div><div class="col-md-4">

													
				
				<input type="text" class="form-control" required name="sid" id="sid" value="<?php echo $sid; ?>" disabled="disabled"></div>
						</div>
				<div id="detail"></div>
						<div class="col-md-12" style="padding-top:10px">
				<div class="col-md-4"><b>Student Name</b></div><div class="col-md-4"><input type="text" class="form-control" disabled="disabled" 
				value="<?php echo $GetStDetail1['firstname'].'&nbsp;'.$GetStDetail1['middlename'].'&nbsp;'.$GetStDetail1['lastname']; ?>">
				</div>
						</div>
						
						
						
						
						<div class="col-md-12" style="padding-top:10px">
				<div class="col-md-4"><b>Father's Name</b></div><div class="col-md-4"><input type="text" class="form-control" disabled="disabled" value="<?php echo $GetStDetail1['father_name']; ?>"></div>
						</div>
						<div class="col-md-12" style="padding-top:10px">
				<div class="col-md-4">Program</div><div class="col-md-4"><input type="text" class="form-control" disabled="disabled" value="<?php  
				$GetSidCourse=mysql_query("SELECT * FROM `sgvu_courses` WHERE `course_id` = '$GetStDetail1[program]'");
				$GetSidCourse1=mysql_fetch_assoc($GetSidCourse);
				echo $GetSidCourse1['coursename'];
				?>"></div>
						</div>
						<div class="col-md-12" style="padding-top:10px">
				<div class="col-md-4">Last Date of Fee Submission</div><div class="col-md-4"><input type="text" class="form-control" disabled="disabled" value="<?php 
				$GetLastDate=mysql_query("SELECT * FROM `sgvu_admission_lastdate` WHERE `sid` = '$sid'");
				$GetLastDate1=mysql_fetch_assoc($GetLastDate);
				echo $GetLastDate1['date']; ?>			"></div>
						</div>
						<div class="col-md-12" style="padding-top:10px">
				<div class="col-md-4">Program Fee (Semester)</div><div class="col-md-4"><input type="text" class="form-control" disabled="disabled" value="Rs. <?php echo $GetSidCourse1['course_fee']; ?>"></div>
						</div>
						<div class="col-md-12" style="padding-top:10px">
				<div class="col-md-4">Fees After Scholarship</div><div class="col-md-4"><input type="text" class="form-control" disabled="disabled" value="Rs. <?php echo $GetSidCourse1['course_fee']; ?>"></div>
						</div>
						
						
						
						
						
						<div class="col-md-12" style="padding-top:10px">
				<div class="col-md-4">Payment Detail</div><div class="col-md-4"> 
				<?php $GetPaymentDetail=mysql_query("SELECT * FROM  `sgvu_finance_payment_varify` WHERE  `sid` ='$sid'"); 
				while($GetPaymentDetail1=mysql_fetch_assoc($GetPaymentDetail))
				{
							if($GetPaymentDetail1['payment_mode']==3)
							{
							$GetAmt=mysql_query("SELECT * FROM  `sgvu_finence_receipt` WHERE  `recept_no` =  '$GetPaymentDetail1[trans_id]'");
							$GetAmt1=mysql_fetch_assoc($GetAmt);
									echo 'Amount: Rs.'.$GetAmt1['tot_amount']. ' (Receipt No: '.$GetPaymentDetail1['trans_id'].'Cash)';
									echo '<br>';
							}
						
				}
				if($GetPaymentDetail1['payment_mode']==2)
				{
				echo 'Payment Mode: Online (PayU)';
				}
				if($GetPaymentDetail1['payment_mode']==1)
				{
				echo 'Payment Mode: Challan';
				}
				?>
				
				</div>
						</div>
						<div class="col-md-12" style="padding-top:10px">
							<form action="action-pages/account/clear-form-action.php" method="post">
				<input type="hidden" class="form-control" required name="sid" id="sid" value="<?php echo $sid; ?>" >
				<div class="col-md-4"></div><div class="col-md-4"><button class="btn-primary btn" type="submit">Clear</button></div>
				
				</form>
						</div>
						
						
					
						
					
					</div>
					
					
					
					
					
					
					
				</div>
				<div class="panel-footer"></div>
			</div>
			
			
			
			
			
			
		</div>
	</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>





