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

    <head>

        <meta charset="utf-8" />
        <title>{$settings.site_name}</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        
        <!-- Bootstrap Css -->
        <link href="1/assets/css/bootstrap-dark.min.css" rel="stylesheet" type="text/css" />
        <!-- Icons Css -->
        <link href="1/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
        <!-- App Css-->
        <link href="1/assets/css/app-dark.min.css" rel="stylesheet" type="text/css" />

    </head>

    
    <body>

    <!-- <body data-layout="horizontal" data-topbar="colored"> -->

        <!-- Begin page -->
        <div id="layout-wrapper">

            
            <header id="page-topbar">
                <div class="navbar-header">
                    <div class="d-flex">
                        <!-- LOGO -->
                        <div class="navbar-brand-box">
                            <a href="?a=home" class="logo logo-dark">
                                <span class="logo-sm">
                                    <img src="1/assets/images/logo-sm.png" alt="" height="22">
                                </span>
                                <span class="logo-lg">
                                    <img src="assets/images/logo-dark.png" alt="" height="20">
                                </span>
                            </a>

                            <a href="?a=home" class="logo logo-light">
                                <span class="logo-sm">
                                    <img src="1/assets/images/logo-sm.png" alt="" height="22">
                                </span>
                                <span class="logo-lg">
                                    <img src="assets/images/logo-light.png" alt="" height="20">
                                </span>
                            </a>
                        </div>

                        <button type="button" class="btn btn-sm px-3 font-size-16 header-item waves-effect vertical-menu-btn">
                            <i class="fa fa-fw fa-bars"></i>
                        </button>

                    </div>

                    <div class="d-flex">

                        <div class="dropdown d-inline-block">
                            <button type="button" class="btn header-item waves-effect" id="page-header-user-dropdown"
                                data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                <img class="rounded-circle header-profile-user" src="1/assets/images/users/avatar-4.jpg"
                                    alt="Header Avatar">
                                <span class="d-none d-xl-inline-block ml-1 font-weight-medium font-size-15">{$userinfo.username}</span>
                                <i class="uil-angle-down d-none d-xl-inline-block font-size-15"></i>
                            </button>
                            <div class="dropdown-menu dropdown-menu-right">
                                <!-- item-->
                                <a class="dropdown-item" href="?a=edit_account"><i class="uil uil-user-circle font-size-18 align-middle text-muted mr-1"></i> <span class="align-middle">My Profile</span></a>
                                <a class="dropdown-item" href="?a=security"><i class="uil uil-wallet font-size-18 align-middle mr-1 text-muted"></i> <span class="align-middle">Security</span></a>
                                <a class="dropdown-item" href="?a=logout"><i class="uil uil-lock-alt font-size-18 align-middle mr-1 text-muted"></i> <span class="align-middle">Logout</span></a>
                                
                            </div>
                        </div>

                        <div class="dropdown d-inline-block">
                            <button type="button" class="btn header-item noti-icon right-bar-toggle waves-effect">
                                <i class="uil-cog"></i>
                            </button>
                        </div>
            
                    </div>
                </div>
            </header>
            <!-- ========== Left Sidebar Start ========== -->
            <div class="vertical-menu">

                <!-- LOGO -->
                <div class="navbar-brand-box">
                    <a href="?a=home" class="logo logo-dark">
                        <span class="logo-sm">
                            <img src="1/assets/images/logo-sm.png" alt="" height="22">
                        </span>
                        <span class="logo-lg">
                            <img src="assets/images/logo-dark.png" alt="" height="20">
                        </span>
                    </a>

                    <a href="?a=home" class="logo logo-light">
                        <span class="logo-sm">
                            <img src="1/assets/images/logo-sm.png" alt="" height="22">
                        </span>
                        <span class="logo-lg">
                            <img src="assets/images/logo-light.png" alt="" height="20">
                        </span>
                    </a>
                </div>

                <button type="button" class="btn btn-sm px-3 font-size-16 header-item waves-effect vertical-menu-btn">
                    <i class="fa fa-fw fa-bars"></i>
                </button>

                <div data-simplebar class="sidebar-menu-scroll">

                    <!--- Sidemenu -->
                    <div id="sidebar-menu">
                        <!-- Left Menu Start -->
                        <ul class="metismenu list-unstyled" id="side-menu">
                            <li class="menu-title">Menu</li>

                            <li>
                                <a href="?a=account">
                                    <i class="fas fa-home"></i>
                                    <span>Dashboard</span>
                                </a>
                            </li>

                            <li>
                                <a href="?a=deposit">
                                    <i class="fas fa-upload"></i>
                                    <span>Deposits</span>
                                </a>
                                 
                            </li>

                            <li>
                                <a href="?a=deposit_list">
                                    <i class="fas fa-list-ol"></i>
                                    <span>Deposit List</span>
                                </a>
                                 
                            </li>

                            <li>
                                <a href="?a=withdraw">
                                    <i class="fas fa-download"></i>
                                    <span>Withdraw</span>
                                </a>
                                 
                            </li>

                            <li>
                                <a href="javascript: void(0);" >
                                    <i class="fas fa-history"></i>
                                    <span>History</span>
                                </a>
                                <ul class="sub-menu" aria-expanded="false">
                                    <li><a href="?a=deposit_history">Deposits History</a></li>
                                    <li><a href="?a=earnings">Earnings History</a></li>
                                    <li><a href="?a=withdraw_history">Withdrawal History</a></li>
                                </ul>
                            </li>

                            <li>
                                <a href="?a=edit_account">
                                    <i class="fas fa-id-badge"></i>
                                    <span>Edit Profile</span>
                                </a>
                                 
                            </li>

                            <li>
                                <a href="?a=security">
                                    <i class="fas fa-shield-alt"></i>
                                    <span>Security</span>
                                </a>
                                 
                            </li>

                            <li>
                                <a href="?a=referals">
                                    <i class="fas fa-network-wired"></i>
                                    <span>Referrals</span>
                                </a>
                                 
                            </li>

                            <li>
                                <a href="?a=referallinks">
                                    <i class="fas fa-bullhorn"></i>
                                    <span>Promotional Tools</span>
                                </a>
                                 
                            </li>

                            <li>
                                <a href="?a=logout">
                                   <i class="fas fa-sign-out-alt"></i>
                                    <span>Logout</span>
                                </a>
                                 
                            </li>
            
                        </ul>
                    </div>
                    <!-- Sidebar -->
                </div>
            </div>
            <!-- Left Sidebar End -->