<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="fonts.css">
</head>
<style>
    @font-face {
        font-family: 'Bangla';
        src: url('fonts/SutonnyOMJ.ttf');
        font-weight: normal;
        font-style: normal;
    }

    @font-face {
        font-family: bangla;
        text-align: center;
        src: url(fonts/SutonnyMJ.ttf);
    }

    button {
        font-family: Bangla;
    }
</style>

<body>
    <br>
    <script>
        function handleClick(event, link) {
            event.preventDefault();
            window.location.href = link;
        }
    </script>
    <div class="card card-default color-palette-box">
        <div class="card-header">
            <div class="">
                <div class="row">
                    <div class="col-md-12">
                        <h2>
                            <?php if ($_GET['do'] == '01') {
                                if (in_array('3_4', $admin_permissions)) { ?>
                                    <button class="btn btn-warning btn-sm">প্রথম পাতা</button>
                                <?php }
                            } else {
                                if (in_array('3_4', $admin_permissions)) { ?><a href="?p=teacher_info&do=01"><button
                                            class="btn bg-purple btn-sm">প্রথম
                                            পাতা</button></a>
                                <?php }
                            } ?>

                            <?php if ($_GET['do'] == '02') { ?>
                                <button class="btn btn-warning btn-sm">শিক্ষক নিয়োগ</button>
                            <?php } else if ((in_array('3_22', $admin_permissions))) { ?>
                                    <a href="?p=teacher_info&do=02"><button class="btn bg-purple btn-sm">শিক্ষক
                                            নিয়োগ</button></a>
                            <?php } ?>

                            <?php if ($_GET['do'] == '03') { ?>
                                <button class="btn btn-warning btn-sm">সকল তথ্য</button>
                            <?php } else if ((in_array('3_23', $admin_permissions))) { ?>
                                    <a href="?p=teacher_info&do=03"><button class="btn bg-purple btn-sm">সকল তথ্য</button></a>
                            <?php } ?>

                            <?php if ($_GET['do'] == '04') { ?>
                                <button class="btn btn-warning btn-sm">ছবি আপলোড</button>
                            <?php } else if ((in_array('3_24', $admin_permissions))) { ?>
                                    <a href="?p=teacher_info&do=04"><button class="btn bg-purple btn-sm">ছবি আপলোড</button></a>
                            <?php } ?>

                            <?php if ($_GET['do'] == '07') { ?>
                                <button class="btn btn-warning btn-sm">আইডি কার্ড</button>
                            <?php } else if ((in_array('3_24', $admin_permissions))) { ?>
                                    <a href="?p=teacher_info&do=07"><button class="btn bg-purple btn-sm">আইডি কার্ড</button></a>
                            <?php } ?>

                            <?php if ($_GET['do'] == '08') { ?>
                                <button class="btn btn-warning btn-sm">সেটআপ</button>
                            <?php } else if ((in_array('3_23', $admin_permissions))) { ?>
                                    <a href="?p=teacher_info&do=08"><button class="btn bg-purple btn-sm">সেটআপ</button></a>
                            <?php } ?>




                        </h2>
                    </div>
                </div>
            </div>
            <!-- /.card-body -->
        </div>

        <?PHP if ($_GET['do'] == '01') { ?>     <?php if (in_array('3_4', $admin_permissions)) { ?>         <?php include 'male/teacher/teacher_home.php';
                  } ?>
        <?PHP }
        if ($_GET['do'] == '02') { ?>     <?php if (in_array('3_22', $admin_permissions)) { ?>         <?php include 'male/teacher/teacher_form.php';
                 } ?>
        <?PHP }
        if ($_GET['do'] == '03') { ?>     <?php if (in_array('3_23', $admin_permissions)) { ?>         <?php include 'male/teacher/teacher_all_report.php';
                 } ?>
        <?PHP }
        if ($_GET['do'] == '04') { ?>     <?php if (in_array('3_24', $admin_permissions)) { ?>         <?php include 'male/teacher/img_upload.php';
                 } ?>
        <?PHP }
        if ($_GET['do'] == '05') { ?>     <?php if (in_array('3_25', $admin_permissions)) { ?>         <?php include 'male/teacher/id_card_upload.php';
                 } ?>
        <?PHP }
        if ($_GET['do'] == '06') { ?>     <?php if (in_array('3_25', $admin_permissions)) { ?>         <?php include 'male/teacher/teacher_tk.php';
                 } ?>
        <?PHP }
        if ($_GET['do'] == '07') { ?>     <?php if (in_array('3_24', $admin_permissions)) { ?>         <?php include 'male/teacher/id_card.php';
                 } ?>


        <?PHP }
        if ($_GET['do'] == '08') { ?>     <?php if (in_array('3_23', $admin_permissions)) { ?>         <?php include 'male/teacher/teacher_setup.php';
                 } ?>



        <?PHP } ?>


    </div>
    </div>

    </div>
</body>

</html>