<?php /* Smarty version Smarty-3.1.11, created on 2024-08-15 11:24:23
         compiled from "../views/obgy/_role/show.html" */ ?>
<?php /*%%SmartyHeaderCode:193249087666bdbb37527188-82222160%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c5520ef2c50b2430df0313daad82b29757b75e6f' => 
    array (
      0 => '../views/obgy/_role/show.html',
      1 => 1616794090,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '193249087666bdbb37527188-82222160',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'roles' => 0,
    'single' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66bdbb375a2552_46693964',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66bdbb375a2552_46693964')) {function content_66bdbb375a2552_46693964($_smarty_tpl) {?><!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>

        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                <?php echo $_smarty_tpl->tpl_vars['breadcrumbs']->value;?>

            </ul>
        </div>
        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-equalizer font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">Show in <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>
</span>
                        </div>
                        <div class="actions" id="nestable_list_menu">


                            <a class="btn default btn-xs blue tooltips" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php" data-container="body" data-placement="top" data-original-title="Add new">
                                <i class="fa  fa-plus"></i>
                                Add new
                            </a>

                        </div>
                    </div>
                    <div class="portlet-body form">

                        <table class="table table-hover">
                            <thead>
                                <tr>
                                    <th>
                                        Role name
                                    </th>
                                    <th width="5%"></th>
                                    <th width="5%"></th>
                                    <!--th width="5%"></th-->
                                </tr>
                            </thead>
                            <tbody>
                                <?php  $_smarty_tpl->tpl_vars['single'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['single']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['roles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['single']->key => $_smarty_tpl->tpl_vars['single']->value){
$_smarty_tpl->tpl_vars['single']->_loop = true;
?>
                                <tr class="odd gradeX">
                                    <td>
                                        <?php echo $_smarty_tpl->tpl_vars['single']->value->name;?>

                                    </td>
                                    <td>
                                        <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=setting&id=<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" class="btn red-sunglo btn-xs"><i class="fa fa-gears"></i> Setting</a>
                                    </td>
                                    <td>
                                        <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/controllers/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
.php?ac=edit&id=<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" class="btn blue-hoki btn-xs"><i class="fa fa-pencil"></i> Edit</a>
                                    </td>
                                    <!--td>
                                        <?php if ($_smarty_tpl->tpl_vars['single']->value->id!=1){?>
                                        <a class="btn grey-cascade btn-xs deletemsg" data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"><i class="fa fa-times"></i> Delete</a>
                                        <?php }else{ ?>
                                        <a class="btn grey-cascade btn-xs deletemsg disabled" data-id="<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"><i class="fa fa-times"></i> Delete</a>
                                        <?php }?>
                                    </td-->
                                </tr>
                                <?php } ?>
                            </tbody>
                        </table>


                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT --><?php }} ?>