<?php /* Smarty version Smarty-3.1.11, created on 2019-06-10 14:09:07
         compiled from "..\views\aw_ar\category\show.html" */ ?>
<?php /*%%SmartyHeaderCode:240165cfcdcbbd766d7-86622203%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '855a26d53993ff4e3a332c7300d7a95837409298' => 
    array (
      0 => '..\\views\\aw_ar\\category\\show.html',
      1 => 1560168470,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '240165cfcdcbbd766d7-86622203',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5cfcdcbbee3f60_45185921',
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'msg' => 0,
    'category' => 0,
    'i' => 0,
    'single' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5cfcdcbbee3f60_45185921')) {function content_5cfcdcbbee3f60_45185921($_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;?>
</span>-->
                            <span class="caption-subject font-red-sunglo bold uppercase">الألبومات</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;?>
/add" data-container="body" data-placement="top" data-original-title="إضافة جديد">
                                <i class="fa  fa-plus"></i>
                                إضافة جديد
                            </a>

                            <a class="btn default btn-xs red tooltips disabled deleteCatSelected" data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
" data-container="body" data-placement="top" data-original-title="حذف" id="deleteBtn" >
                                <i class="fa fa-trash"></i>
                                حذف
                            </a>
                        </div>
                    </div>
                    <?php if ($_smarty_tpl->tpl_vars['msg']->value){?><div class="font-red-sunglo bold"><center><?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
</center></div><?php }?>
                    <div class="portlet-body form">
                        <form id='showForm' method='post' action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/del">
                            <table class="table table-hover" id="custom_tbl_dt">
                                <thead>
                                    <tr>
                                        <th style="width:8px;"><input type="checkbox" name="checkAll" id="checkAll" /></th>
                                        <th>#</th>
                                        <th>إسم الألبوم بالعربي</th>
                                        <th>إسم الألبوم بالإنجليزي </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['category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['single']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['single']->key => $_smarty_tpl->tpl_vars['single']->value){
$_smarty_tpl->tpl_vars['single']->_loop = true;
 $_smarty_tpl->tpl_vars['single']->iteration++;
?>
                                    <tr class="odd gradeX">
                                        <td>
                                            <input type="checkbox" class="checkItem" id="<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" name="choosedItem[]" value="<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" data-extra="<?php echo $_smarty_tpl->tpl_vars['single']->value->name;?>
" />
                                        </td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['single']->iteration;?>
</td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->name;?>
</td>
                                        <td><?php echo $_smarty_tpl->tpl_vars['single']->value->name_en;?>
</td>
                                        <td>
                                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/gallery/<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
" class=""><i class="fa fa-plus"></i> </a>
                                        </td>
                                        <td>
                                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/edit/<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
" class=""><i class="fa fa-pencil-square-o"></i> </a>
                                        </td>


                                        <td>
                                            <a class=" 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-trash"></i> </a>
                                        </td>
                                    </tr>
                                    <?php } ?>
                                </tbody>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT -->
<?php }} ?>