%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<div class="wrapper d-flex align-items-stretch"> <?php include('_parts/admin_sidebar.php') ?> <div id="content"> <?php include('_parts/admin_internal_header.php') ?> <div class="main-body"> <div class="headings"><h4>Manage Users Role</h4> <a href="<?=base_url('advancesetting/adduserrole') ?>" title="View Details" class="button2"><i class="fa fa-plus" aria-hidden="true"></i> Add New Role </a> </div> <div class="white-box"> <div class="scrolling-table"> <table class="table3"> <thead> <tr> <th>#</th> <th>Role Name</th> <th>Module Id(s) </th> <th>Status </th> <th>Action</th> </tr> </thead> <tbody> <?php $cnt =1; $moduleListArray= array(); foreach($moduleArray as $row){ $moduleListArray[$row['id']] = $row['display_name']; } foreach($responseArray as $row) { $modulearray = explode(',',$row['module_ids']); $myModule = array(); foreach($modulearray as $nval) { $myModule[] = $moduleListArray[$nval]; } ?> <tr> <td><?php echo htmlentities($cnt);?></td> <td><?php echo htmlentities($row['role_name']);?></td> <td><?php if($row['module_ids']=='ALL') { echo $row['module_ids']; } else { echo implode(', ',$myModule); }?></td> <td><?php echo $row['status']=='1' ? '<span class="active-status">Active</span>' : '<span class="inactive-status">Inactive</span>'; ?></td> <td><a class="edit-btn" href="<?=base_url('advancesetting/adduserrole') ?>?uid=<?php echo htmlentities($row['role_id']);?>" title="View Details"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a></td> </tr> <?php $cnt=$cnt+1; } ?> </table> </div> </div> </div> </div> </div> <script src="<?=base_url('assets/js/popper.js'); ?>"></script> <script src="<?=base_url('assets/js/main.js'); ?>"></script>