?
Current Path : /home1/savoy/public_html/savoyglobal.net/hr/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/hr/application/views/Settings/view_alert_master.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <div class="select-bar" style="height:25px;"> </div> <div id="searchdiv"> <?php $attributes=array('id'=>'searchvalidateform','class'=>'customForm'); echo form_open('settings/viewinsettingssearch/search_alert_master/view_alert_master/1',$attributes); if(isset($_SESSION['searchdata'])) { $searchdata=$_SESSION['searchdata']; if(!empty($searchdata)) { $searchtext=$searchdata['searchtext']; $searchfield=$searchdata['searchopt']; } else { $searchtext = ""; $searchfield = ""; } } else { $searchtext = ""; $searchfield = ""; } ?> Search For <input type="text" name="searchtext" id="searchtext" value="<?=$searchtext;?>"> In <select name="searchopt" id="searchopt"> <option value="module_name">Select</option> <option <?php if ($searchfield == "module_name") echo "selected"; ?> value="module_name">Module Name</option> <option <?php if ($searchfield == "alert_master_caption") echo "selected"; ?> value="alert_master_caption">Alert Type</option> </select> <input type="submit" id="button1" onclick="addformdata('searchvalidateform')" class="clickimage" value="Search"/> <?php echo form_close(); ?> </div> <table class="sort" cellpadding="0" cellspacing="0"> <caption>Alert Master</caption> <thead> <tr> <th>Sl No</th> <th>Module</th> <th>Alert Type</th> <th width="10%">Action</th> </tr> </thead> <tbody> <?php if ($viewinfo->num_rows() > 0) { $table=""; $field=""; $z=1; foreach ($viewinfo->result() as $row) { if($z%2==0) $alt="alt"; else $alt="alt1"; ?> <tr class="<?=$alt;?>"> <td><?=$id?></td> <td><?=$row->module_name?></td> <td><?=$row->alert_master_caption?></td> <td> <div id="console_fronticons"> <div class="fronticons"> <img src="<?=base_url()?>assets/images/edit-icon.gif" title="Edit" width="20" height="20" alt="Edit" align = "center" class="clickimage" onclick="viewformdata('settings','load_alert_master',<?=$row->alert_master_id;?>)" alt="" /> </div> </div> </td> <?php $id++; $z++; } } ?> </tbody> </table>