<?php /* Smarty version Smarty-3.1.11, created on 2019-02-03 14:15:56
         compiled from "../views/aw_ar/contactmessageTabs/details.html" */ ?>
<?php /*%%SmartyHeaderCode:15273561365c56db7c441e13-06240048%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0114904cce5b0d20a581247d7932593214545560' => 
    array (
      0 => '../views/aw_ar/contactmessageTabs/details.html',
      1 => 1548508244,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15273561365c56db7c441e13-06240048',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'editelement' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5c56db7c567ec4_80886449',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5c56db7c567ec4_80886449')) {function content_5c56db7c567ec4_80886449($_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 no-print">
                            <a class="btn btn-circle btn-icon-only btn-default 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="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;?>
" method="post" class="form-horizontal" id="specialized_form">
                            <div class="form-body">

                                <div class="form-group">
                                    <label class="col-md-3 control-label">اسم المرسل: </label>
                                    <div class="col-md-4">
                                        <p class="form-control-static"> <?php echo $_smarty_tpl->tpl_vars['editelement']->value['name'];?>
</p>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-md-3 control-label">عنوان الرسالة </label>
                                    <div class="col-md-4">
                                        <p class="form-control-static"> <?php echo $_smarty_tpl->tpl_vars['editelement']->value['title'];?>
</p>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-md-3 control-label">النوع </label>
                                    <div class="col-md-4">
                                        <p class="form-control-static"> <?php if ($_smarty_tpl->tpl_vars['editelement']->value['type']==1){?>شكوى<?php }elseif($_smarty_tpl->tpl_vars['editelement']->value['type']==2){?>طلب<?php }elseif($_smarty_tpl->tpl_vars['editelement']->value['type']==3){?>مقترح<?php }?></p>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-md-3 control-label">البريد الالكترونى: </label>
                                    <div class="col-md-4">
                                        <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['editelement']->value['email'];?>
</p>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-md-3 control-label">الهاتف : </label>
                                    <div class="col-md-4">
                                        <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['editelement']->value['phone'];?>
</p>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-3 control-label">التاريخ : </label>
                                    <div class="col-md-4">
                                        <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['editelement']->value['mdate'];?>
</p>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-3 control-label">محتوى الرساله</label>
                                    <div class="col-md-4">
                                        <p class="form-control-static"><?php echo $_smarty_tpl->tpl_vars['editelement']->value['msg'];?>
</p>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-md-3 control-label">الصورة</label>
                                    <div class="col-md-4">
                                        <div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px;">
                                            <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['editelement']->value['image'];?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['editelement']->value['image'];?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp1!="no image"&&$_tmp2!=''){?>
                                            <div class="thumb" style="height: 100%;">
                                                <a href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['editelement']->value['image'];?>
" target="_blank">
                                                    <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['editelement']->value['image'];?>
" style="height: 100%; width: 100%; ">
                                                </a>
                                            </div>
                                            <?php }?>
                                        </div>
                                    </div>
                                </div>

                                <input type="hidden" id="id" name="id" value="<?php echo $_smarty_tpl->tpl_vars['editelement']->value['id'];?>
" />

                            </div>
                            <div class="form-actions">
                                <div class="row">
                                    <div class="col-md-offset-3 col-md-4 no-print">
                                        <button type="submit" class="btn green">رجوع</button>
                                    </div>
                                    <div class="col-md-2">
                                        <a href="javascript:;" class="btn blue printit no-print" >طباعة</a>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- END FORM-->
                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT -->
<?php }} ?>