?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/draft/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/sec/draft/application/views/settings/add_alert_master.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Assign to Employees to get alerts</div> <div class="tools"> <a href="#" onclick="viewdata('settings','viewinsettingssearch','search_alert_master','view_alert_master','<?=$_SESSION['pagenum'];?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('settings/addinsettings/insert_alert_master/view_alert_master/1',$attributes); ?> <table class="table table-striped table-hover table-bordered" id="sample_3"> <tr> <th>Select</th> <th>Employee</th> </tr> <?php $i=1; foreach($employee_list as $employee) { $num = $this->mastermodel->number_rows('fee_alert_employee','alert_master_id',$alert_master_id,'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="form-actions"> <input type="hidden" name="alert_master_id" id="alert_master_id" value="<?=$alert_master_id?>"/> <input type="hidden" name="limit" value="<?=$i?>"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('settings','viewinsettingssearch','search_alert_master','view_alert_master','<?=$_SESSION['pagenum'];?>')" class="btn">Cancel</button> </div> <?php echo form_close();?> </div> </div> </div> </div>