<?php /* Smarty version Smarty-3.1.11, created on 2019-01-27 16:47:31
         compiled from "../views/aw_ar/m_advs/show.html" */ ?>
<?php /*%%SmartyHeaderCode:8639471725c4dc483d79231-06492475%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6e0d3e10f8588333c9786f361893bb1e26db0d60' => 
    array (
      0 => '../views/aw_ar/m_advs/show.html',
      1 => 1524407428,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '8639471725c4dc483d79231-06492475',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'advs' => 0,
    'caf' => 0,
    'single' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5c4dc483e3f1e6_76611202',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5c4dc483e3f1e6_76611202')) {function content_5c4dc483e3f1e6_76611202($_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>
                        </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;?>
" data-container="body" data-placement="top" data-original-title="اضافه جديد">
                                <i class="fa  fa-plus"></i>
                                اضافه جديد
                            </a>

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

                        <table class="table table-hover">
                            <thead>
                                <tr>
                                    <th>
                                        الرابط
                                    </th>
                                    <th >الصورة</th>
                                    <th width="5%"></th>
                                    <th width="5%"></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php  $_smarty_tpl->tpl_vars['caf'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['caf']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['advs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['caf']->key => $_smarty_tpl->tpl_vars['caf']->value){
$_smarty_tpl->tpl_vars['caf']->_loop = true;
?>
                                <tr class="odd gradeX">
                                    <td>
                                        <a target="_blank" href="http://<?php echo $_smarty_tpl->tpl_vars['caf']->value['link'];?>
" >
                                            <?php echo $_smarty_tpl->tpl_vars['caf']->value['link'];?>

                                        </a>
                                    </td>
                                    <td>
                                        <div class="thumb" style="height: 50px;width: 50px;">
                                            <!--<img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/pages/<?php echo $_smarty_tpl->tpl_vars['single']->value['img'];?>
" style="height: 100%; width: 100%; ">-->
                                            <img src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['caf']->value['img'];?>
" style="height: 100%; width: 100%; ">
                                        </div>            
                                    </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['caf']->value['id'];?>
" class="btn blue-hoki btn-xs"><i class="fa fa-pencil"></i> تعديل</a>
                                    </td>
                                    <td>
                                        <a class="btn grey-cascade btn-xs deletemsg " data-id="<?php echo $_smarty_tpl->tpl_vars['caf']->value['id'];?>
" data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"><i class="fa fa-times"></i> حذف</a>
                                    </td>
                                </tr>
                                <?php } ?>
                            </tbody>
                        </table>


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