?
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/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/www/savoyglobal.net/drafthr/system/application/views/Settings/role_list.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <script> $('.tdlink').mouseover(function() { $(this).css({'color':'#8542c1','cursor':'pointer'}); }); $('.tdlink').mouseleave(function() { $(this).css({'color':'#2756c1','cursor':'pointer'}); }); </script> <fieldset><legend>Profiles</legend> <table class="sort" cellpadding="0" cellspacing="0"> <caption>Profiles List</caption> <thead><tr> <th>Sl.NO</th><th>Profile Name</th> <!-- <th>Permission</th> --> <th class="last">Action</th> </tr> <?php $id=1; if(count($userlist)>0) { $z=1; $sno=1; foreach ($userlist as $row) { if($z%2==0) { $alt="alt"; } else { $alt="alt1"; } ?> <tr class="<?=$alt?>"> <td> <?php echo $sno ?></td> <td id="myTd" style="color:#2756c1" class="tdlink" onclick="ViewRole(0,<?= $row['id']?>)"> <?php echo $namee= $this->customermodel->getSingleFieldValue('designation','designation','id',$row['name']); ?></td> <!--<td><?php echo $row['permission']?></td>--> <td> <img src="<?= base_url()?>/assets/images/edit-icon.gif" class="clickimage" onclick="EditRole(1,<?= $row['id']?>)" alt="" width="20" height="20" /> <!--img src="<?= base_url()?>/assets/images/delete-icon.png" class="clickimage" onclick="DeleteRole(<?= $row['id']?>)" alt="" width="20" height="20" /--> </td> </tr> <?php $sno++; $z++; } ?> </table> </fieldset> <?php } ?>