<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            {$shcontrollname}
        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                {$breadcrumbs}
            </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">البيانات فى  {$shcontrollname}</span>
                        </div>
                        <div class="actions no-print">
                            <a class="btn btn-circle btn-icon-only btn-default tooltips" href="{$hosturl}/{$controllname}" 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="{$hosturl}/{$controllname}" 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"> {$editelement.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"> {$editelement.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"> {if $editelement.type eq 1}شكوى{elseif $editelement.type eq 2}طلب{elseif $editelement.type eq 3}مقترح{/if}</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">{$editelement.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">{$editelement.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">{$editelement.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">{$editelement.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;">
                                            {if {$editelement.image} neq "no image" and {$editelement.image} neq ""}
                                            <div class="thumb" style="height: 100%;">
                                                <a href="{$hosturl}/../upload/{$controllname}/{$editelement.image}" target="_blank">
                                                    <img src="{$hosturl}/../upload/{$controllname}/{$editelement.image}" style="height: 100%; width: 100%; ">
                                                </a>
                                            </div>
                                            {/if}
                                        </div>
                                    </div>
                                </div>

                                <input type="hidden" id="id" name="id" value="{$editelement.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 -->
