?
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/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/sims/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'); ?> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <div class="backicon"> <a href="#" onclick="viewdata('student','viewinstudentsearch','searchstudent','viewstudent','<?=$_SESSION['pagenum'];?>')"> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <h3>Add Student</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 Code</label> <div class="inputs"> <span class="input_wrapper select_wrapper"> <select name="classlevel_id" class="required"> File <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 min_length[10]|max_length[12]" name="mobile_no" id="mobile_no" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> </div> </fieldset> <!--[if !IE]>end fieldset<![endif]--> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <h3>Student Address</h3> <div class="row" <label>Address</label> <div class="inputs"> <textarea name="address" id="address" rows="5" cols="30"></textarea> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[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> <!--[if !IE]>end forms<![endif]--> </fieldset> <!--[if !IE]>end fieldset<![endif]--> <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 class="row"> <label>Transportation</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> <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> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Create User?</label> <div class="inputs"> <input type="checkbox" onchange="showhideuser(this)"/> </div> </div> <!--[if !IE]>end row<![endif]--> <div style="display:none;" id="createuser"> <div class="row"> <label>Username</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="username" id="username" type="text" onchange="checkexistence('user','username',this.value)" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Password</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="password" id="password" type="password" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Confirm Password</label> <div class="inputs"> <span class="input_wrapper"><input class="text" name="password1" id="password1" type="password" onchange="checkpassword('password','password1')" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Select Profile</label> <div class="inputs"> <span class="input_wrapper select_wrapper"> <select name="profile_id" id="profile_id" class="" > <option value="0" selected>Select Profile</option> <?php foreach ($profile_details as $row) { ?> <option value="<?=$row['profile_id']?>"><?=$row['name']?></option> <?php } ?> </select> </span> </div> </div> <!--[if !IE]>end row<![endif]--> </div> <!--[if !IE]>start row<![endif]--> <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> <!--[if !IE]>end row<![endif]--> </div> </fieldset> <?php echo form_close(); ?> </div> <span class="section_content_bottom"></span>