<?php /* Smarty version Smarty-3.1.11, created on 2019-01-26 16:25:05
         compiled from "../views/aw_ar/contactmessageTabs/show.html" */ ?>
<?php /*%%SmartyHeaderCode:15294788495c4c6dc1d5a756-15363193%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '95d67d75e8891c2931490113a659f721646a4c73' => 
    array (
      0 => '../views/aw_ar/contactmessageTabs/show.html',
      1 => 1548507634,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15294788495c4c6dc1d5a756-15363193',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'controllname' => 0,
    'hosturl' => 0,
    'allComplain' => 0,
    'single' => 0,
    'i' => 0,
    'allRequest' => 0,
    'allSuggestion' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5c4c6dc1e5a3a4_52572451',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5c4c6dc1e5a3a4_52572451')) {function content_5c4c6dc1e5a3a4_52572451($_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">

                            <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>
                                        <li>
                                            <a href="#tab_setting_3" 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">
                                            <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>
                                                            الهاتف
                                                        </th>

                                                        <th>
                                                            تاريخ
                                                        </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['allComplain']->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['name'];?>

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

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

                                                        </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 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>
                                        </div>
                                        <div class="tab-pane fade" id="tab_setting_2">
                                            <table class="table table-hover" id="custom_tbl_dt_rep">
                                                <thead>
                                                    <tr>
                                                        <th style="width:8px;"><input type="checkbox" name="checkAll" id="checkAll" /></th>
                                                        <th>
                                                            #
                                                        </th>
                                                        <th>
                                                            اسم المرسل
                                                        </th>
                                                        <th>
                                                            عنوان الرسالة
                                                        </th>
                                                        <th>
                                                            البريد الالكترونى
                                                        </th>
                                                        <th>
                                                            الهاتف
                                                        </th>

                                                        <th>
                                                            تاريخ
                                                        </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['allRequest']->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['name'];?>

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

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

                                                        </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 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>
                                        </div>

                                        <div class="tab-pane fade" id="tab_setting_3">
                                            <table class="table table-hover" id="custom_tbl_dt_rep_tw">
                                                <thead>
                                                    <tr>
                                                        <th style="width:8px;"><input type="checkbox" name="checkAll" id="checkAll" /></th>
                                                        <th>
                                                            #
                                                        </th>
                                                        <th>
                                                            اسم المرسل
                                                        </th>
                                                        <th>
                                                            عنوان الرسالة
                                                        </th>
                                                        <th>
                                                            البريد الالكترونى
                                                        </th>
                                                        <th>
                                                            الهاتف
                                                        </th>

                                                        <th>
                                                            تاريخ
                                                        </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['allSuggestion']->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['name'];?>

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

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

                                                        </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 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>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </form>

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

<!-- responsive -->
<div id="sendmsg" class="modal fade" tabindex="-1" data-width="860">
    <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>
                <input type="hidden" id="msg_id" value=""/>

            </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" 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_btn" id="send_btn">ارسال الرساله</button>
    </div>
</div>


<div id="msgDetail" class="modal fade" tabindex="-1" data-width="860">
    <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" id="msgReply">

    </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 }} ?>