?
Current Path : /home1/savoy/public_html/savoyglobal.net/simsdemo/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/simsdemo/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'); ?> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <h3>Student Information</h3> <!--[if !IE]>start row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>First Name</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" name="first_name" id="first_name" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Last Name</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="last_name" id="last_name" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Email</label> <div class="inputs"> <span class="input_wrapper"><input class="text email" name="email" id="email" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Contact No</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="contact_no" id="contact_no" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Mobile No</label> <div class="inputs"> <span class="input_wrapper"><input class="text " name="mobile_no" id="mobile_no" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> </div> </fieldset> <fieldset> <div class="forms"> <!--[if !IE]>start row<![endif]--> <h3>Parent Information</h3> <!--[if !IE]>start row<![endif]--> <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;"> <!--[if !IE]>end row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> <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> <div id="new_info"> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Father's 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> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Mother's 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> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Father's E-mail</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="father_email" id="father_email" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Mother's E-mail</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="mother_email" id="mother_email" type="text" /></span> </div> </div> <div class="row" > <label>Father's Mobile</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="father_mobile" id="father_mobile" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row" > <label>Mother's Mobile</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="mother_mobile" id="mother_mobile" type="text" /></span> </div> </div> <div class="row"> <label>Present address of parents</label> <div class="inputs"> <ul> <span class="input_wrapper"><textarea name="present_address" id="present_address"></textarea></span> </ul> </div> </div> </div> </div> </fieldset> <fieldset> <div class="forms"> <!--[if !IE]>start row<![endif]--> <h3>Nationality and state to which the student belongs</h3> <!--[if !IE]>start row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> </div> </fieldset> <fieldset> <div class="forms"> <!--[if !IE]>start row<![endif]--> <h3>Other Information</h3> <div class="row"> <label>Community and Religion</label> <div class="inputs"> <span class="input_wrapper"><input class="text " name="community" id="community" type="text" /></span> </div> </div> <div class="row"> <label>ID/IPP No.</label> <div class="inputs"> <span class="input_wrapper"><input class="text " name="ipp_no" id="ipp_no" type="text" /></span> </div> </div> <div class="row"> <label>Does your child has access to</label> <div class="inputs"> <input type="checkbox" name="computer" value="1"/>Computer<br/> <input type="checkbox" name="internet" value="1"/>Internet<br/> <input type="checkbox" name="printer" value="1"/>Printer </div> </div> <div class="row"> <label>Number and date of Transfer Certificate<br/>produced on admission</label> <div class="inputs"> <span class="input_wrapper"><input class="text " name="tc" id="tc" type="text" /></span> </div> </div> <div class="row"> <label>School previously attended</label> <div class="inputs"> <span class="input_wrapper"><input class="text " name="school_previous" id="school_previous" type="text" /></span> </div> </div> </div> </fieldset> <fieldset> <div class="forms"> <!--[if !IE]>start row<![endif]--> <h3>Medical History</h3> <div class="row"> <label>Illness</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="illness" id="illness" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Allergy</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="allergy" id="allergy" type="text" /></span> </div> </div> <div class="row"> <label>In case your child is admitted,what kind of<br/> transport would you like to use for coming school</label> <div class="inputs"> <ul> <li><input class="radio" name="transport" id="transport" type="radio" value="schoolbus" checked /> School Bus</li> <li><input class="radio" name="transport" id="transport" type="radio" value="private" /> Private Conveyance</li> </ul> </div> </div> </div> </fieldset> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> <!-- </div>--> <!--[if !IE]>end forms<![endif]--> <!--[if !IE]>end fieldset<![endif]--> <?php echo form_close(); ?> </div> <span class="section_content_bottom"></span>