<meta charset="utf8"/>
<!-- 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-->


        <form action="{$hosturl}/controllers/visits.php?ac=search" method="post" id="form_search_visit">
            <div class="portlet box blue">
                <div class="portlet-title">
                    <div class="caption" style="float:right;"> <i class="fa fa-edit"></i> تفريغ الزيارات </div>
                    <div class="tools" style="float: left !important;">
                        <a class="fff bold" href="{$hosturl}/controllers/{$controllname}.php">عرض جميع  الزيارات</a>
                    </div>
                </div>
                <div class="portlet-body">
                    <table class="table table-bordered table-striped table-hover rtl">
                                <thead>
                                    <tr>
                                        <th class="wds60">القسم </th>
                                        <th>تفريغ </th>
                                    </tr>
                                    
                                   {foreach  $allDepts  as   $dept }
                                    <tr>
                                        <td>{$dept->title}</td>
                                        <td>
                                            <a style="height: 30px; color: black;" data-id="{$dept->id}"  class="btn emptyDeptVisit">  تفريغ </a>
                                        </td>
                                    </tr>
                                    
                                    {/foreach}
                                </thead>
                                <tbody>
                                    
                                </tbody>
                            </table>
                </div>
            </div>

        </form>

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


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


<div id="talks-loading" style="z-index: 3000;position: absolute;top: 0%;right: 0%;left: 0%;display:none; height: 100%; background-color: rgba(0, 0, 0,0.27); padding-top: 25%;" align="center">
    <img src="{$hosturl}/upload/loading.gif" style="height: 25%;">
</div>
