?
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/edithomework.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $subject_list=$this->mastermodel->get_joined_info('subject','classlevel_id','classlevel','classlevel_id','subject.classlevel_id'); $this->load->view('documentreadyfunctions'); ?> <span class="section_content_top"></span> <div class="section_content_inner"> <?php $attributes=array('class'=>'search_form','id'=>'validateform'); echo form_open('student/addinstudent/updatehomework/viewhomework/1/',$attributes); ?> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <div class="backicon"> <a href="#" onclick="viewdata('student','viewinstudentsearch','searchhomework','viewhomework','<?=$_SESSION['pagenum'];?>')"> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <h3>Update Homework</h3> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Homework Title</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" value="<?=$viewinfo->homework_title;?>" name="homework_title" id="homework_title" type="text" /></span> </div> </div> <input type="hidden" name="masterid" value="<?=$viewinfo->homework_id;?>"/> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Subject</label> <div class="inputs"> <span class="input_wrapper select_wrapper"> <select name="subject_id" id="subject_id" class="required"> <option value="">--Select--</option> <?php foreach ($subject_list as $row) { ?> <option value="<?=$row['subject_id']?>" <?php if($row['subject_id']==$viewinfo->subject_id){echo "selected";}?>><?=$row['subject_name']." - ".$row['classlevel_code']?></option> <?php } ?> </select> </span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start forms<![endif]--> <div class="row" <label>Description</label> <div class="inputs"> <span class="input_wrapper"><textarea name="homework_description" id="homework_description"><?=$viewinfo->homework_description;?></textarea></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row" <label>Assigned Date</label> <div class="inputs"> <span class="input_wrapper"><input class="text required calfocus" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->assigned_date);?>" name="assigned_date" id="assigned_date" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row" <label>Due Date</label> <div class="inputs"> <span class="input_wrapper"><input class="text required calfocus" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->due_date);?>" name="due_date" id="due_date" type="text" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <div class="inputs"> <input type="hidden" name="tab_name" value="homework"/> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Update Homework</em></span></span><input name="" type="submit" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> </div> <!--[if !IE]>end forms<![endif]--> </fieldset> <!--[if !IE]>end fieldset<![endif]--> <?php echo form_close(); ?> </div> <span class="section_content_bottom"></span>