?
Current Path : /home1/savoy/public_html/savoyglobal.net/busybees/application/views/settings/ |
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/busybees/application/views/settings/edit_alert_master.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('settings','viewinsettingssearch','search_alert_master','view_alert_master','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4> </h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('settings/addinsettings/update_alert_master/view_alert_master/1',$attributes); ?> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="section _100"> <label> Remind Before (No of days) </label> <div> <input name="alert_master_days" id="alert_master_days" class="medium number" type="text" value="<?=$viewinfo->alert_master_days?>"> </div> </div> </div> <div class="header main">Assign employees to alerts</div> <table class="table"> <tr> <th>Select</th> <th>Employee</th> </tr> <?php $i=1; foreach($employee_list as $employee) { $num = $this->mastermodel->number_rows('alert_master_employee','alert_master_id',$alert_master_id,'alert_master_employee_id',$employee['employee_id']); ?> <tr> <td><input style="width:15px;" type="checkbox" name="select_employee_<?=$i;?>" <?php if($num > 0){ echo "checked";}?> </td> <td> <input type="hidden" name="employee_id_<?=$i;?>" value="<?=$employee['employee_id'];?>"/> <?=$employee['employee_name'].' - '.$employee['employee_no'];?> </td> </tr> <?php $i++; } ?> </table> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="limit" value="<?=$i?>"/> <input type="hidden" name="alert_master_id" id="alert_master_id" value="<?=$alert_master_id?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> </div> <?php echo form_close();?>