?
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/addstudent.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $class=$this->mastermodel->getdatas('classlevel','sort'); $this->load->view('documentreadyfunctions'); $profile_details = $this->mastermodel->get_data('user_profiles','Student','profile_user_type'); ?> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('student/addinstudent/insertstudent/viewstudent/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>Name 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" alt="age" /></span> </div> </div> <div class="row"> <label>Age</label> <div class="inputs"> <span class="input_wrapper"><input name="age" id="age" class="text" type="text" readonly="readonly" onclick="calculate_age()" /></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>Blood Group</label> <div class="inputs"> <span class="input_wrapper"><input class="text" type="text" name="blood_group" id="blood_group"/></span> </div> </div> <div class="row"> <label>Previous serious illness</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 class="row"> <div class="inputs"> <input type="hidden" name="tab_name" value="student"/> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Add Student</em></span></span><input name="" type="submit" /></span> </div> </div> </div> </fieldset> <?php echo form_close(); ?> </div> <span class="section_content_bottom"></span>