 <div
                    id="kt_aside"
                    class="aside py-9  text-white"
                    data-kt-drawer="true"
                    data-kt-drawer-name="aside"
                    data-kt-drawer-activate="{default: true, lg: false}"
                    data-kt-drawer-overlay="true"
                    data-kt-drawer-direction="start"
                    data-kt-drawer-toggle="#kt_aside_toggle"
                >
                    <!--begin::Brand-->
                    <div class="aside-logo flex-column-auto px-9 " id="kt_aside_logo" style="margin: 0 auto;">
                        <!--begin::Logo-->

                        <a href="<?=URLROOT?>/dashboard">
                            <img alt="Logo" src="<?=URLROOT?>/assets/images/logo.png" class="h-80px logo"  />
                        </a>
                    </div>

                    <div class="aside-menu flex-column-fluid ps-5 pe-3 mb-9" id="kt_aside_menu">
                        <!--begin::Aside Menu-->
                        <div
                            class=""
                            id="kt_aside_menu_wrapper"
                            data-kt-scroll="true"
                            data-kt-scroll-activate="{default: false, lg: true}"
                            data-kt-scroll-height="auto"
                            data-kt-scroll-dependencies="#kt_aside_logo, #kt_aside_footer"
                            data-kt-scroll-wrappers="#kt_aside, #kt_aside_menu, #kt_aside_menu_wrapper"
                            data-kt-scroll-offset="100"
                        >
                            <!--begin::Menu-->
                            <div class="menu menu-column menu-rounded fw-bold my-auto" id="#kt_aside_menu" data-kt-menu="true">
                                
                                <div class="menu-item">
                                    <a class="menu-link" href="<?=URLROOT?>/dashboard">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/arrows/arr001.svg-->
                                            <i class="fa fa-home"></i>
                                            
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Dashboard</span>
                                    </a>
                                </div>


                                 <?php
                                    if($_SESSION['is_admin'] == 1){
                                        ?>

                                         <div class="menu-item">
                                    <a class="menu-link" href="<?=URLROOT?>/dashboard/blockIp">
                                        <span class="menu-icon">
                                           
                                            <i class="fa fa-flag"></i>
                                           
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Block Country</span>
                                    </a>
                                </div>

                                        <?php
                                    }
                                ?>
                                

                               


                                <?php
                                    if($_SESSION['is_admin'] == 1){
                                        ?>

                                        <div class="menu-item">
                                    <a class="menu-link" href="<?=URLROOT?>/dashboard/panel_setting">
                                        <span class="menu-icon">
                                           
                                            <i class="fa-solid fa-border-all"></i>
                                           
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Panel On / Off</span>
                                    </a>
                                </div>

                                        <?php
                                    }
                                ?>

                                 

                                <div class="menu-item">
                                    <a class="menu-link" href="<?=URLROOT?>/dashboard/chage_password">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/arrows/arr001.svg-->
                                            <i class="fa fa-key"></i>
                                           
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Change Password</span>
                                    </a>
                                </div>


                                 <?php
                                    if($_SESSION['is_admin'] == 1){
                                        ?>

                                        

                                <div class="menu-item">
                                    <a class="menu-link" href="<?=URLROOT?>/dashboard/api_setting">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/arrows/arr001.svg-->
                                           <i class="fa-solid fa-gear"></i>
                                            
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Api Setting</span>
                                    </a>
                                </div>

                                        <?php
                                    }
                                ?>


                                <?php
                                    if($_SESSION['is_admin'] == 1){
                                        ?>

                                        <div class="menu-item">
                                    <a class="menu-link" href="<?=URLROOT?>/dashboard/users">
                                        <span class="menu-icon">
                                           <i class="fa-solid fa-users"></i>
                                        </span>
                                        <span class="menu-title">Users</span>
                                    </a>
                                </div>

                                        <?php
                                    }
                                ?>
                                

                                <div class="menu-item">
                                    <a class="menu-link" href="<?=URLROOT?>/dashboard/logOut">
                                        <span class="menu-icon">
                                            <!--begin::Svg Icon | path: icons/duotune/arrows/arr001.svg-->
                                            <i class="fa fa-sign-out"></i>
                                            <!--end::Svg Icon-->
                                        </span>
                                        <span class="menu-title">Log Out</span>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>

                   
                    <!--end::Footer-->
                </div>