<div class="vertical-menu" style="overflow-y: auto;scrollbar-width: none;scrollbar-color: #888 #f1f1f1;scrol">

            <div data-simplebar class="h-100">
                <!--- Sidemenu -->
                <div id="sidebar-menu">
                    <!-- Left Menu Start -->
                    <ul class="metismenu list-unstyled" id="side-menu">
                        <?php if( findme($_SESSION['dostup'],'M') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="dashboard.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Главная страница </span>
                            </a>
                        </li>
                        <?php }?>

                        <?php if(findme($_SESSION['dostup'],'M') or findme($_SESSION['dostup'],'S') or findme($_SESSION['dostup'],'*') ){?>
                            <li class="menu-title">Штрафы</li>
                        <?php } ?>

                        <?php if( findme($_SESSION['dostup'],'S') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="searchfines.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Поиск штрафа</span>
                            </a>
                        </li>
                        <?php } ?>

                        <?php if( findme($_SESSION['dostup'],'D') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="disputfines.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Спорные заявки</span>
                            </a>
                        </li>
                        <?php }?>
                    <!-- ------------------------------------------------------------------------------------------------------------------------ -->
                        <?php if(
                            findme($_SESSION['dostup'],'UL') or 
                            findme($_SESSION['dostup'],'UR') or
                            findme($_SESSION['dostup'],'R') or
                            findme($_SESSION['dostup'],'P') or 
                            findme($_SESSION['dostup'],'*')
                            ){?>
                            <li class="menu-title">Пользователи</li>        
                        <?php } ?> 
                        
                        <?php if( findme($_SESSION['dostup'],'UL') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="userlist.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Список пользователей</span>
                            </a>
                        </li>
                        <?php } ?>

                        <?php if( findme($_SESSION['dostup'],'UR') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="rolelist.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Роли пользователей</span>
                            </a>
                        </li>
                        <?php } ?>

                        <?php if( findme($_SESSION['dostup'],'R') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="ranklist.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Звания</span>
                            </a>
                        </li>
                        <?php } ?>


                        <!-- <?php if( findme($_SESSION['dostup'],'P') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="profile.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Профиль</span>
                            </a>
                        </li>
                        <?php } ?> -->


                    <!-- ------------------------------------------------------------------------------------------------------------------------ -->    
                    <?php if(findme($_SESSION['dostup'],'DA') or findme($_SESSION['dostup'],'DD') or findme($_SESSION['dostup'],'*') ){?>
                        <li class="menu-title">Спорные штрафы</li>
                    <?php } ?>
                    
                    <?php if( findme($_SESSION['dostup'],'DA') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="acceptdisput.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Подтвержденные</span>
                            </a>
                        </li>
                    <?php } ?>

                    <?php if( findme($_SESSION['dostup'],'DD') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="declinedisput.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Отклоненные</span>
                            </a>
                        </li>
                    <?php } ?>
                    <!-- ------------------------------------------------------------------------------------------------------------------------ --> 
                    <?php if( findme($_SESSION['dostup'],'AS') or findme($_SESSION['dostup'],'AВ') or findme($_SESSION['dostup'],'AP') or findme($_SESSION['dostup'],'*')){?>
                        <li class="menu-title">Аудит</li>
                    <?php }?>
                    <?php if( findme($_SESSION['dostup'],'AS') or findme($_SESSION['dostup'],'*')){?>                    
                        <li>
                            <a href="index.html" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Списанные штрафы</span>
                            </a>
                        </li>
                    <?php }?>
                    <?php if( findme($_SESSION['dostup'],'AВ') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="index.html" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Отклоненные штрафы</span>
                            </a>
                        </li>
                    <?php }?>
                    
                    <?php if( findme($_SESSION['dostup'],'AP') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="index.html" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Обработаны аудитом</span>
                            </a>
                        </li>
                    <?php }?>

                    <!-- -------------------------------------------------------------------- Отчеты -->
                    <?php if( findme($_SESSION['dostup'],'VS') or 
                              findme($_SESSION['dostup'],'*')){
                    ?>
                        <li class="menu-title">Отчеты</li>
                    <?php }?>

                    <?php if( findme($_SESSION['dostup'],'VS') or findme($_SESSION['dostup'],'*')){?>
                        <li>
                            <a href="report_spravka.php" class="waves-effect">
                                <i class="mdi mdi-file-document-box-outline"></i>
                                <span>Выданные справки</span>
                            </a>
                        </li>
                    <?php }?>


                    <li>
                        <a href="../modules/crud.php?act=exit" class="waves-effect">
                            <i class="mdi mdi-file-document-box-outline"></i>
                            <span>Выход</span>
                        </a>
                    </li>

                    

                    </ul>

                </div>
                <!-- Sidebar -->
            </div>
        </div>