<!-- begin #content -->
<div id="content" class="content">
    <div class="row">
        <div class="col-md-6">
            <h1 class="page-header"><?php echo $this->lang->line('alumni_ssn'); ?> <small><?php echo $this->lang->line('alumni_ssn_page'); ?></small></h1>
        </div>
    </div>
 <!-- begin row -->
    <div class="row">
        <!-- begin col-12 -->
        <div class="col-md-12">
            <!-- begin panel -->
            <div class="panel panel-inverse">
                <?php if ($this->session->flashdata('success')) : ?>
                    <div class="alert alert-success fade show" role="alert">
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                            <span aria-hidden="true">×</span>
                        </button>
                        <?php echo $this->session->flashdata('success'); ?>
                    </div>
                <?php endif; ?>
                <?php if ($this->session->flashdata('warning')) : ?>
                    <div class="alert alert-warning fade show" role="alert">
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                            <span aria-hidden="true">×</span>
                        </button>
                        <?php echo $this->session->flashdata('warning'); ?>
                    </div>
                <?php endif; ?>
                <div class="panel-body">
                    <table id="data-table-buttons" class="table table-striped table-bordered" style="direction:rtl;text-align:right">
                        <thead>
                            <tr>
                                <th width="1%">#</th>
                                <th class="text-nowrap">الرقم</th>
                                <th class="text-nowrap" width="20%">الاسم الرباعي</th>
                                <th class="text-nowrap">التخصص</th>
                                <th class="text-nowrap">المرحلة</th>
                                <th class="text-nowrap">سنة التخرّج</th>
                                <th class="text-nowrap">فصل التخرّج</th>
                                <th class="text-nowrap">جهة العمل</th>
                                <th class="text-nowrap">العنوان</th>
                               
                            </tr>
                        </thead>
                        <tbody>
                            <?php
                            $count = 1;
                            $this->db->order_by('username', 'desc');
                            $alumni_info = $this->security->xss_clean($this->db->get('alumnus_ssn')->result_array());
                            foreach ($alumni_info as $row) :
                            ?>
                                <tr>
                                    <td><?php echo $count++; ?></td>
                                    <td><?php echo $row['username']; ?></td>
                                    <td style="color:#990000;font-size:0.9em;"><?php echo $row['name']; ?></td>
                                    <td><?php echo $row['major']; ?></td>
                                    <td><?php echo $row['degree']; ?></td>
                                    <td><?php echo $row['grad_date']; ?></td>
                                    <td><?php echo $row['semester']; ?></td>
                                    <td><?php echo $row['employer']; ?></td>
                                <td><?php echo $row['emp_address']; ?></td>
                               
                                    
                                </tr>
                            <?php endforeach; ?>
                        </tbody>
                    </table>
                </div>
            </div>
            <!-- end panel -->
        </div>
        <!-- end col-12 -->
    </div>
    <!-- end row -->
   
</div>
<!-- end #content -->