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/edit-student.php

<?php
	require_once('lib/functions.php');
	$db		=	new db_functions();
	
	if(isset($_GET['edit_id']))
	{
		$edit_id	=	$_GET['edit_id'];
		$_SESSION['current_edit_id'] = $edit_id;
	}
	else if(isset($_SESSION['current_edit_id']))
	{

		$edit_id	= $_SESSION['current_edit_id'];
	}
	
	$flag				=	0;
	$success_flag		=	0;
	$actual_image_name	=	"";
	$actual_image_name1	=	"";
	$actual_image_name2	=	"";
	
	$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			=	"";
	
		$class				= 	"";
		$medium				=	"";
		$division			=	"";
		$roll_no			=	"";
		$surname			=	"";
		$stud_name			=	""; 
		$father_name		=	"";
		$mother_name		=	"";
		$stud_contact     	=   "";
		$father_contact		=	"";
		$mother_contact		=	"";
		$residential_no	    =	"";
		$address	    	=	"";
		$cor_address		= 	"";
		$child_desc			=	"";
		$email				=	"";
		$aadhar_number		=	"";
		$religion			=	"";
		$caste				=	""; 
		$category			=	"";
		$mother_tongue		=	"";
		$nationality    	=   "";
		$birth_place		=	"";
		$birth_date			=	"";
		$gender	    		=	"";
		$last_school		=	"";
		$admission_date	    =	"";
		$blood_group		= 	"";
		$height				=	"";
		$weight				=	"";
		$about_us			=	"";
		$remarks			=	"";
		$no_of_pupil		=	""; 
		$stud_id_for_lc		=	"";
		$qualification		=	"";
		$occupation    		=   "";
		$monthly_income		=	"";
		$office_add			=	"";
		$residential_add	=	"";
		$mother_qualifi		=	"";
		$mother_occupation	=	"";
		$mother_income    	=   "";
		$mother_office_add	=	"";
		$mother_resident_add=	"";
		$advertising_board	=	"";
		$news_paper			=	"";
		$teachers			=	"";
		$friends			=	"";
		$ex_students		=	"";
		$pre_class			=	"";
		$other				=	"";
        $user_id            =   "";
		$password           =   "";
		$parents_user_id    =   "";
		$parents_password   =   "";
	if(isset($_POST['submit_btn']))
	{
		$class				= 	$_POST['class'];
		$medium				=	$_POST['medium'];
		$division			=	$_POST['division'];
		$roll_no			=	$_POST['roll_no'];
		$surname			=	$_POST['surname'];
		$stud_name			=	$_POST['stud_name']; 
		$father_name		=	$_POST['father_name'];
		$mother_name		=	$_POST['mother_name'];
		$stud_contact     	=   $_POST['stud_contact'];
		$father_contact		=	$_POST['father_contact'];
		$mother_contact		=	$_POST['mother_contact'];
		$residential_no	    =	$_POST['residential_no'];
		$address	    	=	$_POST['address'];
		$cor_address		= 	$_POST['cor_address'];
		$child_desc			=	"";
		$email				=	$_POST['email'];
		$aadhar_number		=	"";
		$religion			=	"";
		$caste				=	"";
		$category			=	"";
		$mother_tongue		=	"";
		$nationality    	=   "";
		$birth_place		=	"";
		$birth_date			=	"";
		$gender	    		=	$_POST['gender'];
		$last_school		=	"";
		$admission_date	    =	"";
		$blood_group		= 	"";
		$height				=	"";
		$weight				=	"";
		$remarks			=	"";
		$no_of_pupil		=	"";
		$stud_id_for_lc		=	"";
		$g_r_no				=	"";
		$qualification		=	"";
		$occupation    		=   "";
		$monthly_income		=	"";
		$office_add			=	"";
		$residential_add	=	"";
		$mother_qualifi		=	"";
		$mother_occupation	=	"";
		$mother_income    	=   "";
		$mother_office_add	=	"";
		$mother_resident_add=	"";
		$certifi_no			=	"";
		$progress			=	"";
		$conduct			=	"";
		$leaving_school_date    =   "";
		$standard_sinse_when	=	"";
		$leaving_school_reason	=	"";
		/*$user_id            =	$_POST['user_id'];
		$password           =	$_POST['password'];
		$parents_user_id    =  $_POST['parents_user_id'];
		$parents_password   =  $_POST['parents_password'] ;*/
	/*	if(isset($_POST['advertising_board']))
		{
			$advertising_board	=	$_POST['advertising_board'];
		}
		if(isset($_POST['news_paper']))
		{
			$news_paper	=	$_POST['news_paper'];
		}
		if(isset($_POST['teachers']))
		{
			$teachers	=	$_POST['teachers'];
		}
		if(isset($_POST['friends']))
		{
			$friends	=	$_POST['friends'];
		}
		if(isset($_POST['ex_students']))
		{
			$ex_students	=	$_POST['ex_students'];
		}
		if(isset($_POST['pre_class']))
		{
			$pre_class	=	$_POST['pre_class'];
		}
		if(isset($_POST['other']))
		{
			$other	=	$_POST['other'];
		}
		
		if($class=="Select Class")
		{
			$class_error	=	1;
			$flag	=	1;
		}
		if($medium=="Select Medium")
		{
			$medium_error	=	1;
			$flag	=	1;			
		}
		if($division=="Select Division")
		{
			$division_error	=	1;
			$flag	=	1;
		}
		
		if(strlen($father_contact)<10 or strlen($father_contact)>10)
		{
			$flag=1;
			$father_contact_no_error	= "1";
		}
		if(strlen($mother_contact)<10 or strlen($mother_contact)>10)
		{
			$flag=1;
			$mother_contact_no_error	= "1";
		}
		if(strlen($aadhar_number)<12 or strlen($aadhar_number)>12)
		{
			$flag=1;
			$aadhar_no_error	= "1";
		}
		
		$path = "student_data/";

		$valid_formats = array("jpg", "png", "gif", "bmp", "JPG", "PNG", "GIF", "BMP");
		
		function generateRandomString($length = 10) {
			$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
			$charactersLength = strlen($characters);
			$randomString = '';
			for ($i = 0; $i < $length; $i++) {
				$randomString .= $characters[rand(0, $charactersLength - 1)];
			}
			
			return $randomString;
		}
		
		if(isset($_POST) and $_SERVER['REQUEST_METHOD'] == "POST")
		{
			$name 				= 	$_FILES['stud_image']['name'];
			$size 				= 	$_FILES['stud_image']['size'];
		
			if(strlen($name))
			{
				list($txt, $ext) = explode(".", $name);
				if(in_array($ext,$valid_formats))
				{
					if($_FILES['stud_image']['size'] < 10485760)	//10MB File size
					{
						$files	=	array();
	
						$current_random_no =  generateRandomString();
						
						$actual_image_name = $current_random_no.".".strtolower($ext);
						
						$tmp = $_FILES['stud_image']['tmp_name'];
						
						if(move_uploaded_file($tmp, $path.$actual_image_name))
						{
							
							$success_msg = 1;
						}
						else
						{
							$error_message = "failed";
						}
					}
					else
					{
						$error_message = "File size exceeded";
					}
				}
				else
				{
					$error_message = "Invalid file format.";	
				}
			}
		}
		
		if(isset($_POST) and $_SERVER['REQUEST_METHOD'] == "POST")
		{
			$name 				= 	$_FILES['birth_certificate']['name'];
			$size 				= 	$_FILES['birth_certificate']['size'];
		
			if(strlen($name))
			{
				list($txt, $ext) = explode(".", $name);
				if(in_array($ext,$valid_formats))
				{
					if($_FILES['birth_certificate']['size'] < 10485760)	//10MB File size
					{
						$files	=	array();
								
						$current_random_no =  generateRandomString();
						
						$actual_image_name1 = $current_random_no.".".strtolower($ext);
						
						$tmp = $_FILES['birth_certificate']['tmp_name'];
						
						if(move_uploaded_file($tmp, $path.$actual_image_name1))
						{
							//$db->insert_gallery_images($actual_image_name);
							
							$success_msg = 1;
						}
						else
						{
							$error_message = "failed";
						}
					}
					else
					{
						$error_message = "File size exceeded";
					}
				}
				else
				{
					$error_message = "Invalid file format.";	
				}
			}
		}
		if(isset($_POST) and $_SERVER['REQUEST_METHOD'] == "POST")
		{
			$name 				= 	$_FILES['caste_certificate']['name'];
			$size 				= 	$_FILES['caste_certificate']['size'];
		
			if(strlen($name))
			{
				list($txt, $ext) = explode(".", $name);
				if(in_array($ext,$valid_formats))
				{
					if($_FILES['caste_certificate']['size'] < 10485760)	//10MB File size
					{
						$files	=	array();
								
						$current_random_no =  generateRandomString();
						
						$actual_image_name2 = $current_random_no.".".strtolower($ext);
						
						$tmp = $_FILES['caste_certificate']['tmp_name'];
						
						if(move_uploaded_file($tmp, $path.$actual_image_name2))
						{
							
							$success_msg = 1;
						}
						else
						{
							$error_message = "failed";
						}
					}
					else
					{
						$error_message = "File size exceeded";
					}
				}
				else
				{
					$error_message = "Invalid file format.";	
				}
			}
		}*/
		if($flag==0)
		{			
			if($db->update_student_information($class,$medium,$division,$roll_no,$surname,$stud_name,$father_name,$mother_name,$stud_contact,$father_contact,$mother_contact,$residential_no,$address,$cor_address,$child_desc,$email,$aadhar_number,$religion,$caste,$category,$mother_tongue,$nationality,$birth_place,$birth_date,$gender,$last_school,$admission_date,$blood_group,$height,$weight,$advertising_board,$news_paper,$teachers,$friends,$ex_students,$pre_class,$other,$remarks,$no_of_pupil,$stud_id_for_lc,$g_r_no,$qualification,$occupation,$monthly_income,$office_add,$residential_add,$mother_qualifi,$mother_occupation,$mother_income,$mother_office_add,$mother_resident_add,$certifi_no,$progress,$conduct,$leaving_school_date,$standard_sinse_when,$leaving_school_reason,$edit_id))
			{
				$success_flag = 1;
			}
		}	
		
	}
	$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">Edit 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>
						<input type="text" class="form-control" name="surname" placeholder="Enter Student Surname." value="<?php echo $res_surname; ?>" required />
					</div>
					<div class="form-group col-lg-4">
						<label>Student's Name:</label>
						<input type="text" class="form-control" name="stud_name" placeholder="Enter Student's Name." value="<?php echo $res_stud_name; ?>" required />
					</div>
					<div class="form-group col-lg-4">
						<label>Father's Name:</label>
						<input type="text" class="form-control" name="father_name" placeholder="Enter Father's Name." value="<?php echo $res_father_name; ?>" required />
					</div>
					<div class="form-group col-lg-4">
						<label> Student Contact No:</label>
						<input type="number" class="form-control" name="stud_contact" placeholder="Enter Student Contact No." value="<?php echo $res_stud_cont; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Father's Contact No:</label>
						<input type="number" class="form-control" name="father_contact" placeholder="Enter Father's Contact No." value="<?php echo $res_father_cont; ?>" />
					</div>
					<div class="form-group col-lg-4">
						<label>Mother's Contact No:</label>
						<input type="number" class="form-control" name="mother_contact" placeholder="Enter Mother's Contact No." value="<?php echo $res_mother_cont; ?>"  />
					</div>
				<div class="form-group col-lg-4" >
				<label>Select Department:</label>
				<select class="form-control" name="class" required>
					<?php
						if($res_class!="")
						{
					?>
					<option value="<?php echo $res_class; ?>"><?php echo $res_class; ?></option>
					<?php
						}
					?>
					<option value="Select Department">Select Department</option>
					<option value="Computer engineering">Computer Engineering</option>
					<option value="Electrical Engineering">Electrical Engineering</option>
					<option value="Mechanical Engineering">Mechanical Engineering</option>
					<option value="Information Technology">Information Technology</option>
					<option value="Civil Engineering">Civil Engineering</option>
				</select>
			</div>
			<div class="form-group col-lg-4" >
				<label>Select Semester:</label>
				<select class="form-control" name="medium" required>
					<?php
						if($res_medium!="")
						{
					?>
					<option value="<?php echo $res_medium; ?>"><?php echo $res_medium; ?></option>
					<?php
						}
					?>
						<option value="Select Medium">Select Semester</option>
						<option value="1st Semester">1st Semester</option>
						<option value="2nd Semester">2nd Semester</option>
						<option value="3rd Semester">3rd Semester</option>
						<option value="4th Semester">4th Semester</option>
						<option value="5th Semester">5th Semester</option>
						<option value="6th Semester">6th Semester</option>
						<option value="7th Semester">7th Semester</option>
						<option value="8th Semester">8th Semester</option>
					</select>
					</div>
					<div class="form-group col-lg-4">
						<label>Division: </label>
						<select name="division" class="form-control">
							<?php
								if($res_division!="")
								{
									
							?>
							<option value="<?php echo $res_division; ?>"><?php echo $res_division; ?></option>
							<?php
								}
							?>
							<option value="Select Division">Select Division</option>
							<?php
					
								$division_data	=	array();
								
								$division_data	=	$db->get_all_division_master_data();
								
								if(!empty($division_data))
								{
									$counter	=	0;
									
									foreach($division_data as $record)
									{
										$res_id			=	$division_data[$counter][0];
										$res_division	=	$division_data[$counter][1];
										$res_date		=	$division_data[$counter][2];
										
								?>
								<option value="<?php echo $res_division; ?>"><?php echo $res_division; ?></option>
							<?php
									$counter++;
									}
								}
							?>	
						</select>
					</div>
					<div class="form-group col-lg-4">
						<label>Roll no:</label>
						<input type="text" class="form-control" name="roll_no" placeholder="Enter Roll No." value="<?php echo $res_roll_no; ?>"  required />
					</div>
					
					<div class="form-group col-lg-4">
						<label>Mother's Name:</label>
						<input type="text" class="form-control" name="mother_name" placeholder="Enter Mother's Name." value="<?php echo $res_mother_name; ?>" required />
					</div>
					
					<div class="form-group col-lg-4">
						<label>Residential Phone No:</label>
						<input type="number" class="form-control" name="residential_no" placeholder="Enter Residential Phone No." value="<?php echo $res_residential_no; ?>" />
					</div>
					<div class="form-group col-lg-6">
						<label>Address:</label>
						<textarea class="form-control" name="address" placeholder="Enter Address." style="resize:none;" ><?php echo $res_address;; ?></textarea>
					</div>
					<div class="form-group col-lg-6">
						<label>Correspondence  Address:</label>
						<textarea class="form-control" name="cor_address" placeholder="Enter Correspondence Address." style="resize:none;" ><?php echo  $res_corres_add; ?></textarea>
					</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>
						<input type="text" class="form-control" name="email" placeholder="Enter Email id." value="<?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">
					<input type="submit" value="Update Record" name="submit_btn" style="width:35%;">
					<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-->
		<?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