<!DOCTYPE html>
<html lang="ar">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>نموذج افتراضي</title>
        <link rel="stylesheet" type="text/css" href="<?= base_url() ?>global/print/css/style.css"/>
    </head>
    <body style="direction:rtl;font-family:axmanal;font-size:5mm;line-height:8mm;color:#444444;">
        <div class="container">
            <div class="header">
                <h1 class="logo"><img src="<?= base_url() ?>global/print/images/salam_logo.png" width="138" height="159" /></h1>
                <h2 class="title"><img src="<?= base_url() ?>global/print/images/title_03.png" width="375" height="58" /></h2>
            </div>
            <div class="datagrid">
                <h1 class="orange-flat-button">أفرع المؤسسة</h1>
                <table>

                    <tr>
                        <th>م</th>
                        <th>اسم الفرع</th>
                        <th>ملاحظات</th>
                    </tr>
                    <?php
                    $counter = $row + 1;
                    foreach ($all_branches as $cat) :
                        ?>
                        <tr <?php
                        if ($counter % 2 == 1) {
                            echo "class='alt'";
                        }
                        ?>>
                            <td><?php echo $counter; ?></td>
                            <td><?= $cat['branch_name'] ?></td>
                            <td><?= $cat['branch_notice'] ?></td>

                        </tr>
                        <?php
                        $counter++;
                    endforeach;
                    ?>

                </table>
            </div>
        </div>
    </body>
</html>


