<?php /* Smarty version Smarty-3.1.11, created on 2019-06-16 16:43:48
         compiled from "..\views\aw_ar\servicesrequests\show.html" */ ?>
<?php /*%%SmartyHeaderCode:236765d0654b8a09e61-88513449%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f767f05450d6bd2cb4e0a8d874990ad2e3e210cf' => 
    array (
      0 => '..\\views\\aw_ar\\servicesrequests\\show.html',
      1 => 1560696226,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '236765d0654b8a09e61-88513449',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5d0654b8b25854_67750429',
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'controllname' => 0,
    'hosturl' => 0,
    'contactmessage' => 0,
    'single' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d0654b8b25854_67750429')) {function content_5d0654b8b25854_67750429($_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 red tooltips disabled deleteAppSelected" 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>
                    <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>
                                            البريد الالكترونى
                                        </th>
                                        <th class="hidden">المحتوى</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['i'] = new Smarty_variable(1, null, 0);?>
                                    <?php  $_smarty_tpl->tpl_vars['single'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['single']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['contactmessage']->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 <?php if ($_smarty_tpl->tpl_vars['single']->value['read']==0){?>style="background-color: #f3b5b5;"<?php }?>>
                                        <td>
                                            <input type="checkbox" class="checkItem" id="title" name="title" value="<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
" data-extra="<?php echo $_smarty_tpl->tpl_vars['single']->value['title'];?>
" />
                                        </td>
                                        <td>
                                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                                        </td>
                                        <td>
                                            <?php echo $_smarty_tpl->tpl_vars['single']->value['servicename'];?>

                                        </td>
                                        <td>
                                            <?php echo $_smarty_tpl->tpl_vars['single']->value['name'];?>

                                        </td>
                                        <td>
                                            <?php echo $_smarty_tpl->tpl_vars['single']->value['email'];?>

                                        </td>

                                        <td class="hidden"><?php echo $_smarty_tpl->tpl_vars['single']->value['msg'];?>
</td>
                                        <!--                                        <td>
                                                                                     <?php echo $_smarty_tpl->tpl_vars['single']->value['phone'];?>

                                                                                </td>-->
                                        <td>
                                            <?php echo $_smarty_tpl->tpl_vars['single']->value['mdate'];?>

                                        </td>
                                        <!--                                        <td>
                                                                                    <a class="btn green-haze btn-xs senditmsg no-print" data-toggle="modal" href="#sendmsg" data-bind-email="<?php echo $_smarty_tpl->tpl_vars['single']->value['email'];?>
"><i class="fa fa-send"></i>  الرد</a>
                                                                                </td>-->
                                        <td>
                                            <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/details/<?php echo $_smarty_tpl->tpl_vars['single']->value['id'];?>
" class="btn blue-hoki btn-xs no-print"><i class="fa fa-pencil"></i> التفاصيل</a>
                                        </td>
                                        <td>
                                            <a class="btn grey-cascade btn-xs deletemsg no-print" 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> حذف</a>
                                        </td>
                                    </tr>
                                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->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 } ?>
                                </tbody>
                            </table>
                        </form>

                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT -->

<!-- responsive -->
<div id="sendmsg" class="modal fade" tabindex="-1" style="width: 75%;left: 25%;">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
        <h4 class="modal-title">ارسال رساله</h4>
    </div>
    <div class="modal-body">
        <div class="row">
            <div class="col-md-6">
                <h4>المرسل اليه</h4>
                <p>
                    <input class="form-control" type="text" name="sendtoit" readonly=""> </p>

            </div>
            <div class="col-md-6">
                <h4>عنوان الرساله</h4>
                <p>
                    <input class="form-control" type="text" name="subjectit" minlength="3" maxlength="30"> </p>

            </div>
            <div class="col-md-12">
                <h4>محتوى الرساله</h4>
                <p>
                    <textarea class="form-control ckeditor" rows="5" name="msgit" minlength="10" maxlength="100"></textarea> </p>

            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" data-dismiss="modal" class="btn btn-outline dark closemodal">اغلاق</button>
        <button type="button" class="btn green send_action" id="send_action">ارسال الرساله</button>
    </div>
</div><?php }} ?>