?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/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/sgms/application/views/Settings/add_alert_master.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('settings','viewinsettingssearch','search_alert_master','view_alert_master','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Assign Departments who should get alert</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('settings/addinsettings/insert_alert_master/view_alert_master/1',$attributes); $designation_list = $this->mastermodel->getdatas('designation','designation_id'); ?> <ul> <li> <table class="sort"> <caption>Available General Items</caption> <tr> <th align="center">Select</th> <th align="center">Designation</th> </tr> <?php $i=1; foreach($designation_list as $designation) { $num = $this->mastermodel->number_rows('alert_master_designation','alert_master_id',$alert_master_id,'designation_id',$designation['designation_id']); ?> <tr> <td><input style="width:15px;" type="checkbox" name="select_designation_<?=$i;?>" <?php if($num > 0){ echo "checked";}?> /></td> <td> <input type="hidden" name="designation_id_<?=$i;?>" value="<?=$designation['designation_id'];?>"/> <?=$designation['designation_name'];?> </td> </tr> <?php $i++; } ?> </table> </li> <li> <input type="hidden" name="tab_name" value="alert_master"/> <input type="hidden" name="alert_master_id" value="<?=$alert_master_id;?>"/> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>