?
Current Path : /home1/savoy/public_html/savoyglobal.net/koolkids/school/application/views/Student/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/koolkids/school/application/views/Student/addadmission.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $class=$this->mastermodel->getdatas('classlevel','sort'); $this->load->view('documentreadyfunctions'); ?> <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { suggestparentf(); suggestparentm(); }); function enableall() { $("#old_info").hide(); $("#new_info").show(); $("#parentm").removeClass("required"); $("#parentf").removeClass("required"); $("#father_name").addClass("required"); $("#mother_name").addClass("required"); } function disableall() { $("#old_info").show(); $("#new_info").hide(); $("#parentm").addClass("required"); $("#parentf").addClass("required"); $("#father_name").removeClass("required"); $("#mother_name").removeClass("required"); } </script> <!--<script language="javascript" type="text/javascript"> function setNewParent(val,targetid) { } </script> --> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('student/addinstudent/insertadmission/addadmission/1/',$attributes); $reg_no = $this->mastermodel->get_max_row('student','reg_no','STU','student_id'); ?> <fieldset> <div class="forms"> <h3>DETAILS OF CHILD</h3> <div class="row"> <label>Student Reg No</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" value="<?=$reg_no;?>" readonly name="reg_no" id="reg_no" type="text" onchange="checkexistence('student','reg_no',this.value)" /></span> </div> </div> <div class="row"> <label>Names in Full</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" name="first_name" id="first_name" type="text" /></span> </div> </div> <div class="row"> <label>Surname</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="last_name" id="last_name" type="text" /></span> </div> </div> <div class="row"> <label>Preferred name</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="preferred_name" id="preferred_name" type="text" /></span> </div> </div> <div class="row"> <label>Date of Birth</label> <div class="inputs"> <span class="input_wrapper"><input class="text required calfocus" name="dob" id="dob" type="text" /></span> </div> </div> <div class="row"> <label>Gender</label> <div class="inputs"> <ul> <li><input class="radio" name="gender" id="gender" type="radio" value="Male" checked />Male</li> <li><input class="radio" name="gender" id="gender" type="radio" value="female" /> Female</li> </ul> </div> </div> <div class="row"> <label>Ranking in family</label> <div class="inputs"> <span class="input_wrapper select_wrapper"> <select name="ranking"> <option value="">--Select--</option> <option value="1st">1st</option> <option value="2nd">2nd</option> <option value="3rd">3rd</option> <option value="4th">4th</option> </select> </span> </div> </div> <div class="row"> <label>Home language</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="home_language" id="home_language" type="text" /></span> </div> </div> <div class="row"> <label>Address</label> <div class="inputs"> <span class="input_wrapper"><textarea name="address" id="address" rows="5" cols="30"></textarea></span> </div> </div> <div class="row"> <label>City</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="city" id="city" type="text" /></span> </div> </div> <div class="row"> <label>State</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="state" id="state" type="text" /></span> </div> </div> <div class="row"> <label>Country</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="country" id="country" type="text" /></span> </div> </div> <div class="row"> <label>Class to which admission is sought</label> <div class="inputs"> <span class="input_wrapper select_wrapper"> <select name="classlevel_id" class="required"> <option value="">--Select--</option> <?php foreach ($class as $row) { ?> <option value="<?=$row['classlevel_id']?>"><?=$row['classlevel_code']?></option> <?php } ?> </select> </span> </div> </div> </div> </fieldset> <fieldset> <div class="forms"> <h3>ADMISSION INFORMATION</h3> <div class="row"> <label>Planned date of admission</label> <div class="inputs"> <span class="input_wrapper"><input class="text required calfocus" name="date_admission" id="date_admission" type="text" /></span> </div> </div> <div class="row"> <label>Previous nursery</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="previous_nursery" id="previous_nursery" type="text" /></span> </div> </div> <div class="row"> <label>Who will bring the child to school</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="child_bring_school" id="child_bring_school" type="text" /></span> </div> </div> Kindly provide the details of two people whom we may contact should you not be immediately available, e.g. in case of emergency: <div class="row"> <label>A. Name</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="contact_name_1" id="contact_name_1" type="text" /></span> </div> </div> <div class="row"> <label>Contact No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="contact_no_1" id="contact_no_1" type="text" /></span> </div> </div> <div class="row"> <label>Relation</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="relation_1" id="relation_1" type="text" /></span> </div> </div> <div class="row"> <label>B. Name</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="contact_name_2" id="contact_name_2" type="text" /></span> </div> </div> <div class="row"> <label>Contact No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="contact_no_2" id="contact_no_2" type="text" /></span> </div> </div> <div class="row"> <label>Relation</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="relation_2" id="relation_2" type="text" /></span> </div> </div> </div> </fieldset> <fieldset> <div class="forms"> <h3>Medical History (Please specify details):</h3> <div class="row"> <label>Previous serious illnesse</label> <div class="inputs"> <span class="input_wrapper"><textarea name="illness" id="illness"></textarea></span> </div> </div> <div class="row"> <label>Surgical procedures or operations</label> <div class="inputs"> <span class="input_wrapper"><textarea name="surgery" id="surgery"></textarea></span> </div> </div> <div class="row"> <label>Any Speech, hearing or sight impediments</label> <div class="inputs"> <span class="input_wrapper"><textarea name="speech" id="speech"></textarea></span> </div> </div> <div class="row"> <label>Allergies</label> <div class="inputs"> <span class="input_wrapper"><textarea name="allergy" id="allergy"></textarea></span> </div> </div> <div class="row"> <label>Have all inoculations, as prescribed by law,<br/> been administered</label> <div class="inputs"> <span class="input_wrapper"><textarea name="inoculation" id="inoculation"></textarea></span> </div> </div> <div class="row"> <label>General practitioner or paediatrician of child</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="general_practitioner" id="general_practitioner" type="text" /></span> </div> </div> <div class="row"> <label>Contact No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="contact_no_practitioner" id="contact_no_practitioner" type="text" /></span> </div> </div> </div> </fieldset> <!--div class="row"> <label>New Details?</label> <div class="inputs"> <ul> <li><input class="radio" name="new_parent" id="new_parent" type="radio" value="yes" checked onclick="enableall()" />Yes</li> <li><input class="radio" name="new_parent" id="new_parent" type="radio" value="no" onclick="disableall()" /> No</li> </ul> </div> </div--> <!--div id="old_info" style="display:none;"> <div class="row"> <label>Father's Name</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" value="" onblur="" class="text" name="parentf" id="parentf" /> <input type="hidden" name="parentf_id" id="parentf_id" /> </span> </div> </div> <div class="row"> <label>Mother's Name</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" value="" onblur="" class="text" name="parentm" id="parentm" /> <input type="hidden" name="parentm_id" id="parentm_id" /> </span> </div> </div> </div--> <fieldset> <div class="forms"> <h3>DETAILS OF PARENTS / LEGAL GUARDIAN:</h3> <br/><br/> <h3>FATHER</h3> <div class="row"> <label>Title</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" class="text" name="father_title" id="father_title" /> </span> </div> </div> <div class="row"> <label>Full Name</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" value="" class="text required" name="father_name" id="father_name" /> </span> </div> </div> <div class="row"> <label>Preferred Name</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" value="" class="text" name="father_preferred_name" id="father_preferred_name" /> </span> </div> </div> <div class="row"> <label>Surname</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" value="" class="text" name="father_surname" id="father_surname" /> </span> </div> </div> <div class="row"> <label>Father's E-mail</label> <div class="inputs"> <span class="input_wrapper"><input class="text required email" name="father_email" id="father_email" type="text" /></span> </div> </div> <div class="row"> <label>Physical Address</label> <div class="inputs"> <span class="input_wrapper"><textarea name="father_physical_address" id="father_physical_address" ></textarea></span> </div> </div> <div class="row"> <label>Postal Address</label> <div class="inputs"> <span class="input_wrapper"><textarea name="father_postal_address" id="father_postal_address" ></textarea></span> </div> </div> <div class="row" > <label>Work Contact No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" class="required" name="father_work_contact_no" id="father_work_contact_no" type="text" /></span> </div> </div> <div class="row" > <label>Home Contact No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" class="required" name="father_home_contact_no" id="father_home_contact_no" type="text" /></span> </div> </div> <div class="row" > <label>Mobile No</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" name="father_mobile" id="father_mobile" type="text" /></span> </div> </div> <br/><br/> </div> </fieldset> <fieldset> <div class="forms"> <h3>Mother</h3> <div class="row"> <label>Title</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" class="text" name="mother_title" id="mother_title" /> </span> </div> </div> <div class="row"> <label>Full Name</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" value="" class="text required" name="mother_name" id="mother_name" /> </span> </div> </div> <div class="row"> <label>Preferred Name</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" value="" class="text" name="mother_preferred_name" id="mother_preferred_name" /> </span> </div> </div> <div class="row"> <label>Surname</label> <div class="inputs"> <span class="input_wrapper"> <input type="text" value="" class="text" name="mother_surname" id="mother_surname" /> </span> </div> </div> <div class="row"> <label> E-mail</label> <div class="inputs"> <span class="input_wrapper"><input class="text required email" name="mother_email" id="mother_email" type="text" /></span> </div> </div> <div class="row"> <label>Physical Address</label> <div class="inputs"> <span class="input_wrapper"><textarea name="mother_physical_address" id="mother_physical_address" ></textarea></span> </div> </div> <div class="row"> <label>Postal Address</label> <div class="inputs"> <span class="input_wrapper"><textarea name="mother_postal_address" id="mother_postal_address" ></textarea></span> </div> </div> <div class="row" > <label>Work Contact No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" class="required" name="mother_work_contact_no" id="mother_work_contact_no" type="text" /></span> </div> </div> <div class="row" > <label>Home Contact No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" class="required" name="mother_home_contact_no" id="mother_home_contact_no" type="text" /></span> </div> </div> <div class="row" > <label>Mobile No</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" name="mother_mobile" id="mother_mobile" type="text" /></span> </div> </div> </div> </fieldset> <div class="row"> <div class="inputs"> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Add</em></span></span><input name="" type="submit" /></span> </div> </div> <?php echo form_close(); ?> </div> <span class="section_content_bottom"></span>