?
Current Path : /home1/savoy/public_html/savoyglobal.net/sims/school/application/views/Calendar/ |
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/Calendar/editnoticeboard.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $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('calendar/addincalendar/updatenoticeboard/viewnoticeboard/1/',$attributes); ?> <!--[if !IE]>start fieldset<![endif]--> <fieldset> <!--[if !IE]>start forms<![endif]--> <div class="forms"> <div class="backicon"> <a href="#" onclick="viewdata('calendar','viewincalendarsearch','searchnoticeboard','viewnoticeboard','<?=$_SESSION['pagenum'];?>')"> <img src="<?=base_url()?>assets/images/backicon.png" alt="back-icon" title="Back"/> </a> </div> <h3>Notice Board</h3> <input type="hidden" name="masterid" value="<?=$noticeboard->id;?>" <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Title</label> <div class="inputs"> <span class="input_wrapper"><input class="text required" name="title" id="title" type="text" value="<?=$noticeboard->title;?>" /></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Note</label> <div class="inputs"> <span class="input_wrapper textarea_wrapper"><textarea name="note" id="note" rows="7" cols="30"><?=$noticeboard->note;?></textarea></span> </div> </div> <!--[if !IE]>end row<![endif]--> <div class="row"> <label>Visible from (date)</label> <div class="inputs"> <span class="input_wrapper"><input name="from_date" id="from_date" class="calfocus required" type="text" value="<?=$this->mastermodel->convertdatenormalformat($noticeboard->from_date);?>"></span> </div> </div> <!--[if !IE]>end row<![endif]--> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Visible to (date)</label> <div class="inputs"> <span class="input_wrapper"><input name="to_date" id="to_date" class="required calfocus" type="text" value="<?=$this->mastermodel->convertdatenormalformat($noticeboard->to_date);?>" onkeydown="validatedate('from_date','to_date')"></span> </div> </div> <!--[if !IE]>start row<![endif]--> <div class="row"> <label>Visible to (users)</label> <div class="inputs"> <span class="input_wrapper select_wrapper"> <select name="permission[]" class="required" multiple="multiple"> <option value="Administrator"<?php if (strpos($noticeboard->permission,'Administrator') !== false){echo "selected";}?>>Administrator</option> <option value="Non-Teaching Staff"<?php if (strpos($noticeboard->permission,'Non-Teaching Staff') !== false){echo "selected";}?>>Non-Teaching Staff</option> <option value="Teacher"<?php if (strpos($noticeboard->permission,'Teacher') !== false){echo "selected";}?>>Teacher</option> <option value="Parent"<?php if (strpos($noticeboard->permission,'Parent') !== false){echo "selected";}?>>Parent</option> <option value="Student"<?php if (strpos($noticeboard->permission,'Student') !== false){echo "selected";}?>>Student</option> </select> </span> </div> </div> <!--[if !IE]>start row<![endif]--> <div class="row"> <div class="inputs"> <input type="hidden" name="tab_name" value="noticeboard"/> <span class="button blue_button search_button" onclick="addformdata('validateform')"><span><span><em>Update</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>