
<style type="text/css">
    .dataTables_length,.dataTables_info  {
    width: 0px !important;
    }
   table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
}

</style>
<div class="row">
    <div class="container">
        <div class="panel-body">     
            <!--<ul class="nav nav-tabs">-->
                <!--<li class="active"><a href="#studentabsence" data-toggle="tab">الغياب</a></li>-->
            <!--    {if $studentabsences}-->
            <!--    <li><a href="#studentabsences" data-toggle="tab"> الغياب    ({count($studentabsences)}) / -->
            <!--    ({count($studentabsences) - $studentabsencedel}) / ({$studentabsencedel})</a></li>-->
            <!--    {/if}-->
            <!-- </ul>               -->
            <div class="tab-content">
                <hr/>
            <!--     <div class="tab-pane active" id="studentabsence">-->
            <!--      <table class="table table-black border">-->
            <!--    <thead>-->
            <!--        <tr>-->
            <!--            <th>المتدرب </th>-->
            <!--            <th>تخصصات المتدربين</th>-->
            <!--            <th>المجموعه</th>-->
            <!--            <th>المستخدم</th>-->
            <!--            <th>التاريخ</th>-->
            <!--        </tr>-->
            <!--    </thead>-->
            <!--    <tbody>-->
            <!--        {if $studentabsence->del lt 2}-->
            <!--        <tr >-->
            <!--            <td><a href="studentAbsence.php?do=edit&id={$studentabsence->id}" class="btn btn-default btn-lm" target="_blank">{$studentabsence->studentname}</a></td>-->
            <!--            <td>{$studentabsence->subjectname}</td>-->
            <!--            <td>{$studentabsence->subjectgroupname}</td>-->
            <!--            <td>{$studentabsence->employeename}</td>-->
            <!--            <td>{$studentabsence->addtoday}</td>-->
            <!--        </tr>-->
            <!--        {else}-->
            <!--        <tr style="background:#fb7777">-->
            <!--            <td>{$studentabsence->studentname}</td>-->
            <!--            <td>{$studentabsence->subjectname}</td>-->
            <!--            <td>{$studentabsence->subjectgroupname}</td>-->
            <!--            <td>{$studentabsence->employeename}</td>                        -->
            <!--            <td>{$studentabsence->deltoday}</td>-->
            <!--        </tr>-->
            <!--        {/if}-->
            <!--    </tbody>-->
            <!--</table>-->
            <!--        <br>-->
            <!--        <div class="clearfix"></div>-->
            <!--    </div>-->
                
                <div class="tab-pane active" >
                     <table class="table table-black ">
                <thead>
                    <tr>
                        <th>المتدرب</th>
                        <th>تخصصات المتدربين</th>
                            <th>الفرع </th>
                        <th>تاريخ الميلاد</th>
                        <!--<th>المجموعه</th>-->
                        <!--<th>المستخدم</th>-->
                        <th>التاريخ</th>
                    </tr>
                </thead>
                <tbody>
                    {foreach $studentabsences as $data}
                    {if $data->del lt 2}
                    <tr >
                         <td><a href="studentAbsence.php?do=edit&id={$data->id}" class="btn btn-default btn-lm" target="_blank">{$data->studentname}</a></td>
                        <td>{$data->subjectname}</td>
                       
                           <td>{$data->branchname}</td>
                        <td>{$data->datebirth}</td>
                        <!--<td>{$data->subjectgroupname}</td>-->
                        <!--<td>{$data->employeename}</td>-->
                        <td>{$data->addtoday}</td>
                    </tr>
                    {else}
                    <tr style="background:#fb7777">
                        <td>{$data->studentname}</td>
                        <td>{$data->subjectname}</td>
                        <td>{$data->branchname}</td>
                        <td>{$data->datebirth}</td>
                        <!--<td>{$data->subjectgroupname}</td>-->
                        <!--<td>{$data->employeename}</td>-->
                        <td>{$data->deltoday}</td>
                    </tr>
                    {/if}
                    {/foreach}
                </tbody>
            </table>
                <div class="clearfix"></div>
                </div>
                             
            </div>
        </div>
    </div>
</div>

