<?php /* Smarty version Smarty-3.1.11, created on 2019-06-09 15:40:59
         compiled from "..\views\aw_ar\_role\setting.html" */ ?>
<?php /*%%SmartyHeaderCode:185895cfd0c6bd867e0-58805960%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '889800e03e820b9a1e0f7e16231f6d5b4014c340' => 
    array (
      0 => '..\\views\\aw_ar\\_role\\setting.html',
      1 => 1560069651,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '185895cfd0c6bd867e0-58805960',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'role' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'dismenu' => 0,
    'controlls' => 0,
    'count' => 0,
    'single' => 0,
    'sin' => 0,
    'incount' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5cfd0c6c104389_04133200',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5cfd0c6c104389_04133200')) {function content_5cfd0c6c104389_04133200($_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">الاعدادات فى  <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>
 لمجموعه  "<?php echo $_smarty_tpl->tpl_vars['role']->value->name;?>
"</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;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/show" data-container="body" data-placement="top" data-original-title="Show">
                                <i class="icon-list"></i>
                                عرض البيانات
                            </a>

                        </div>
                    </div>
                    <div class="portlet-body form">
                        <!-- BEGIN FORM-->
                        <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/insetting" method="post" class="form-horizontal" id="role_form">
                            <div class="form-body">
                                <!-- tabs -->
                                <input type="hidden" name="roleid" value="<?php echo $_smarty_tpl->tpl_vars['role']->value->id;?>
"/>
                                <div class="row">
                                    <div class="tabbable tabbable-custom tabbable-noborder ">
                                        <ul class="nav nav-tabs">
                                            <li class="active">
                                                <a href="#tab_setting_1" data-toggle="tab">
                                                    <i class="icon-notebook"></i>
                                                    تحكمات القائمه
                                                </a>
                                            </li>
                                            <li>
                                                <a href="#tab_setting_2" data-toggle="tab">
                                                    <i class="icon-crop"></i>
                                                    تحكمات الكنترولات </a>
                                            </li>
                                        </ul>


                                        <div class="tab-content mysettingrole">
                                            <div class="tab-pane active" id="tab_setting_1">

                                                <div class="note note-success">

                                                    <div class="form-group">
                                                        <label class="col-md-3 control-label">تغير كل التحكمات</label>
                                                        <div class="col-md-9">
                                                            <div class="radio-list">
                                                                <label class="radio-inline">
                                                                    <input type="radio" name="genmenurole" value="1"> عرض </label>
                                                                <label class="radio-inline">
                                                                    <input type="radio" name="genmenurole" value="0" checked> اخفاء </label>
                                                            </div>
                                                        </div>
                                                    </div>

                                                </div>


                                                <div class="dd" id="nestable_list_2">
                                                    <ol class="dd-list rolemenucheck">
                                                        <?php echo $_smarty_tpl->tpl_vars['dismenu']->value;?>

                                                    </ol>
                                                </div>


                                            </div>
                                            <div class="tab-pane fade" id="tab_setting_2">


                                                <div class="note note-success">

                                                    <div class="form-group">
                                                        <label class="col-md-3 control-label">تغير كل التحكمات</label>
                                                        <div class="col-md-9">
                                                            <div class="radio-list">
                                                                <label class="radio-inline">
                                                                    <input type="radio" name="gencontrollrole" value="1"> مسموح </label>
                                                                <label class="radio-inline">
                                                                    <input type="radio" name="gencontrollrole" value="0" checked> ممنوع </label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="panel-group accordion" id="accordion3">
                                                    <?php $_smarty_tpl->tpl_vars['count'] = new Smarty_variable(1, null, 0);?>
                                                    <input type="hidden" name="itrcontroll" value="<?php echo count($_smarty_tpl->tpl_vars['controlls']->value);?>
"/>
                                                    <?php  $_smarty_tpl->tpl_vars['single'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['single']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['controlls']->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;
?>
                                                    <div class="panel panel-default">
                                                        <div class="panel-heading">
                                                            <h4 class="panel-title">
                                                                <a class="accordion-toggle accordion-toggle-styled collapsed" data-toggle="collapse" data-parent="#accordion3" href="#collapse_controll_<?php echo $_smarty_tpl->tpl_vars['count']->value;?>
">
                                                                    <?php echo $_smarty_tpl->tpl_vars['single']->value->label;?>
 </a>
                                                            </h4>
                                                        </div>
                                                        <div id="collapse_controll_<?php echo $_smarty_tpl->tpl_vars['count']->value;?>
" class="panel-collapse collapse">
                                                            <div class="panel-body">
                                                                <ul class="list-group">
                                                                    <?php $_smarty_tpl->tpl_vars['incount'] = new Smarty_variable(1, null, 0);?>
                                                                    <input type="hidden" name="itrcontrollprop<?php echo $_smarty_tpl->tpl_vars['count']->value;?>
" value="<?php echo count($_smarty_tpl->tpl_vars['single']->value->props);?>
"/>
                                                                    <?php  $_smarty_tpl->tpl_vars['sin'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sin']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['single']->value->props; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sin']->key => $_smarty_tpl->tpl_vars['sin']->value){
$_smarty_tpl->tpl_vars['sin']->_loop = true;
?>
                                                                    <li class="list-group-item row nomargin custompadding">
                                                                        <div class="col-md-4">
                                                                            <label class="radio-inline"> <i class="icon-arrow-right"></i>
                                                                                <?php if ($_smarty_tpl->tpl_vars['sin']->value->proplabel=='index'){?>عرض الاضافه<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='addit'){?>حفظ الاضافه<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='show'){?>عرض البيانات<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='edit'){?>عرض التعديل<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='updateit'){?>حفظ التعديل<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='del'){?>حذف العنصر<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='setting'){?>الاعدادات<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='insetting'){?>حفظ تغير الاعدادات <?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='delprop'){?>حذف عنصر تابع<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='details'){?>عرض تفاصيل<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='single'){?>شركه واحده<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='employee'){?>موظف واحد<?php }elseif($_smarty_tpl->tpl_vars['sin']->value->proplabel=='search'){?>نتائج البحث<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['sin']->value->proplabel;?>
<?php }?>
                                                                            </label></div>
                                                                        <input type="hidden" name="controllpropid<?php echo $_smarty_tpl->tpl_vars['count']->value;?>
<?php echo $_smarty_tpl->tpl_vars['incount']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['sin']->value->id;?>
"/>
                                                                        <div  class="col-md-3 pull-right forroleradio">
                                                                            <div class="radio-list">
                                                                                <label class="radio-inline">
                                                                                    <input class="controllcheckyes" type="radio" name="proprolecheck<?php echo $_smarty_tpl->tpl_vars['count']->value;?>
<?php echo $_smarty_tpl->tpl_vars['incount']->value;?>
" value="1" <?php if ($_smarty_tpl->tpl_vars['sin']->value->rolevalue==1){?> checked <?php }?>/>
                                                                                    مسموح </label>
                                                                                <label class="radio-inline">
                                                                                    <input  class="controllcheckno"  type="radio" name="proprolecheck<?php echo $_smarty_tpl->tpl_vars['count']->value;?>
<?php echo $_smarty_tpl->tpl_vars['incount']->value;?>
" value="0" <?php if ($_smarty_tpl->tpl_vars['sin']->value->rolevalue==0){?> checked <?php }?>/>
                                                                                    ممنوع</label>
                                                                            </div>
                                                                        </div>
                                                                    </li>
                                                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'incount', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['incount']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                                                                    <?php } ?>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'count', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['count']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                                                    <?php } ?>
                                                </div>

                                            </div>
                                        </div>

                                    </div>
                                </div>



                            </div>
                            <div class="form-actions">
                                <div class="row">
                                    <div class="col-md-offset-3 col-md-4">
                                        <button type="submit" class="btn green">تعديل</button>
                                        <button type="button" class="btn default rtnshow" data-controll="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
">الغاء</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- END FORM-->


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