
<body>
<div class="top_button">
    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" id="menu-toggle">
        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24" fill="none" stroke="#000"
             stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
            <line x1="3" y1="12" x2="21" y2="12"></line>
            <line x1="3" y1="6" x2="21" y2="6"></line>
            <line x1="3" y1="18" x2="21" y2="18"></line>
        </svg>
    </button>
</div>

<div id="wrapper">
    <div id="sidebar-wrapper" style="position: fixed;">
        <div class="optimize_navbar">
            <div class="text-center" style="padding-top: 10px;"  >

           
            </div>

            <ul class="sidebar-nav nav-pills nav-stacked" id="menu">
                <li <?php if ($page === 'user') { echo 'class="active"'; }; ?>>
                    <a href="/user/"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                   width="24" height="24"
                                                                                   viewbox="0 0 24 24" fill="none"
                                                                                   stroke="#000" stroke-width="2"
                                                                                   stroke-linecap="round"
                                                                                   stroke-linejoin="round"><path
                                    d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline
                                    points="9 22 9 12 15 12 15 22"></polyline></svg></span>
                        <?php echo T('Личный кабинет'); ?>

                    </a>
                </li>
                <li <?php if ($page === 'invest') { echo 'class="active"'; }; ?>>
                    <a href="/user/invest"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                  width="24" height="24"
                                                                                  viewbox="0 0 24 24" fill="none"
                                                                                  stroke="#000" stroke-width="2"
                                                                                  stroke-linecap="round"
                                                                                  stroke-linejoin="round"><circle
                                    cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="16"></line><line
                                    x1="8" y1="12" x2="16" y2="12"></line></svg></span>
                        <?php echo T('Пополнения'); ?>

                    </a>
                </li>
                <li <?php if ($page === 'deposit') { echo 'class="active"'; }; ?>>
                    <a href="/user/deposit"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                   width="24" height="24"
                                                                                   viewbox="0 0 24 24" fill="none"
                                                                                   stroke="#000" stroke-width="2"
                                                                                   stroke-linecap="round"
                                                                                   stroke-linejoin="round"><rect x="2"
                                                                                                                 y="7"
                                                                                                                 width="20"
                                                                                                                 height="14"
                                                                                                                 rx="2"
                                                                                                                 ry="2"></rect><path
                                    d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg></span>
                        <?php echo T('Депозиты'); ?>

                    </a>
                </li>
                <li <?php if ($page === 'payment') { echo 'class="active"'; }; ?>>
                    <a href="/user/payment"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                        width="24" height="24"
                                                                                        viewbox="0 0 24 24" fill="none"
                                                                                        stroke="#000" stroke-width="2"
                                                                                        stroke-linecap="round"
                                                                                        stroke-linejoin="round"><circle
                                    cx="12" cy="12" r="10"></circle><line x1="8" y1="12" x2="16"
                                                                          y2="12"></line></svg></span>
                        <?php echo T('Выплаты'); ?>

                    </a>
                </li>
                <li <?php if ($page === 'operations') { echo 'class="active"'; }; ?>>
                    <a href="/user/operations"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                   width="24" height="24"
                                                                                   viewbox="0 0 24 24" fill="none"
                                                                                   stroke="#000" stroke-width="2"
                                                                                   stroke-linecap="round"
                                                                                   stroke-linejoin="round"><polyline
                                    points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg></span>
                        <?php echo T('История операций'); ?>

                    </a>
                </li>
                <li <?php if ($page === 'ref') { echo 'class="active"'; }; ?>>
                    <a href="/user/ref"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                    width="24" height="24"
                                                                                    viewbox="0 0 24 24"><path
                                    d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" fill="none" stroke="#000"
                                    stroke-linecap="round" stroke-linejoin="round" stroke-width="2"></path><circle
                                    cx="9" cy="7" r="4" fill="none" stroke="#000" stroke-linecap="round"
                                    stroke-linejoin="round" stroke-width="2"></circle><path
                                    d="M23 21v-2a4 4 0 0 0-3-3.87" fill="none" stroke="#000" stroke-linecap="round"
                                    stroke-linejoin="round" stroke-width="2"></path><path
                                    d="M16 3.13a4 4 0 0 1 0 7.75" fill="none" stroke="#000" stroke-linecap="round"
                                    stroke-linejoin="round" stroke-width="2"></path></svg></span>
                        <?php echo T('Рефералы'); ?>

                    </a>
                </li>
                <?php /* <li <?php if ($page === 'banners') { echo 'class="active"'; }; ?>>
                      <a href="/user/banners"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                      width="24" height="24"
                                                                                      viewbox="0 0 24 24"><rect x="18"
                                                                                                                y="3"
                                                                                                                width="4"
                                                                                                                height="18"
                                                                                                                fill="none"
                                                                                                                stroke="#000"
                                                                                                                stroke-linecap="round"
                                                                                                                stroke-linejoin="round"
                                                                                                                stroke-width="2"></rect><rect
                                      x="10" y="8" width="4" height="13" fill="none" stroke="#000"
                                      stroke-linecap="round" stroke-linejoin="round" stroke-width="2"></rect><rect
                                      x="2" y="13" width="4" height="8" fill="none" stroke="#000"
                                      stroke-linecap="round" stroke-linejoin="round"
                                      stroke-width="2"></rect></svg></span>
                          <?php echo T('Баннеры'); ?>

                      </a>
                  </li> */ ?>
                <li <?php if ($page === 'reviews') { echo 'class="active"'; }; ?>>
                    <a href="/reviews"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                   width="24" height="24"
                                                                                   viewbox="0 0 24 24" fill="none"
                                                                                   stroke="#000" stroke-width="2"
                                                                                   stroke-linecap="round"
                                                                                   stroke-linejoin="round"><circle
                                    cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line
                                    x1="4.93" y1="4.93" x2="9.17" y2="9.17"></line><line x1="14.83" y1="14.83"
                                                                                         x2="19.07"
                                                                                         y2="19.07"></line><line
                                    x1="14.83" y1="9.17" x2="19.07" y2="4.93"></line><line x1="14.83" y1="9.17"
                                                                                           x2="18.36"
                                                                                           y2="5.64"></line><line
                                    x1="4.93" y1="19.07" x2="9.17" y2="14.83"></line></svg></span>
                        <?php echo T('Отзывы'); ?>

                    </a>
                </li>
                <li <?php if ($page === 'settings') { echo 'class="active"'; }; ?>>
                    <a href="/user/settings"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                    width="24" height="24"
                                                                                    viewbox="0 0 24 24"><circle cx="12"
                                                                                                                cy="12"
                                                                                                                r="3"
                                                                                                                fill="none"
                                                                                                                stroke="#000"
                                                                                                                stroke-linecap="round"
                                                                                                                stroke-linejoin="round"
                                                                                                                stroke-width="2"></circle><path
                                    d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"
                                    fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="2"></path></svg></span>
                        <?php echo T('Настройки'); ?>

                    </a>
                </li>

                <?php if (auth_get_adg_link()) { ?>
                    <li>
                        <a href="/adg.php" target="_blank"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                        width="24" height="24"
                                        viewbox="0 0 24 24"><circle cx="12"
                                            cy="12"
                                            r="3"
                                            fill="none"
                                            stroke="#000"
                                            stroke-linecap="round"
                                            stroke-linejoin="round"
                                            stroke-width="2"></circle><path
                                            d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"
                                            fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="2"></path></svg></span>
                            <?php echo T('Админка'); ?>

                        </a>
                    </li>

                <?php } ?>

                <li>
                    <a href="/exit"><span class="fa-stack fa-lg pull-left"><svg xmlns="http://www.w3.org/2000/svg"
                                                                                width="24" height="24"
                                                                                viewbox="0 0 24 24" fill="none"
                                                                                stroke="#000" stroke-width="2"
                                                                                stroke-linecap="round"
                                                                                stroke-linejoin="round"><path
                                    d="M18.36 6.64a9 9 0 1 1-12.73 0"></path><line x1="12" y1="2" x2="12"
                                                                                   y2="12"></line></svg></span>
                        <?php echo T('Выход'); ?>

                    </a>
                </li>

                <li>
                    <a href="?lng=ru" class="change_lang lang_ru">
                        <span style="top: -21px;" class="fa-stack fa-lg pull-left">
                            <img style="width:28px;" src="/theme/demo108/assets/common/Assets/images/ru.png">
                        </span>
                        Russian
                    </a>
                </li>

               
            </ul>
        </div>
    </div>