            <!-- Top Bar Start -->
            <div class="topbar">

                <!-- LOGO -->
                <div class="topbar-left">
                    <a href="<?php echo e(url('/')); ?>" class="logo">
                        <img src="<?php echo e(url('/')); ?>/assets/images/logo.png" class="img-responsive" style="width: 20px;margin-bottom: 5px;">
                        <?php echo \App\Helper::panelName(); ?></a>
                </div>

                <nav class="navbar-custom">

                    <ul class="list-inline float-right mb-0">
                      
                      <li class="list-inline-item dropdown notification-list">
                        <a data-toggle="tooltip" data-title="Logout" data-placement="left" href="<?php echo e(route('logout')); ?>" class="nav-link waves-effect waves-light" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
                            <i class="fa fa-sign-out noti-icon"></i>
                        </a>

                        <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
                            <?php echo e(csrf_field()); ?>

                        </form>
                      </li>
                    </ul>

                    <ul class="list-inline menu-left mb-0">
                        <li class="float-left">
                            <button class="button-menu-mobile open-left waves-light waves-effect">
                                <i class="zmdi zmdi-menu"></i>
                            </button>
                        </li>
                    </ul>

                </nav>

            </div>
            <!-- Top Bar End -->


            <!-- ========== Left Sidebar Start ========== -->
            <div class="left side-menu">
                <div class="sidebar-inner slimscrollleft">

                    <!--- Sidemenu -->
                    <div id="sidebar-menu">
                        <ul>
                            <li class="text-muted text-center menu-title pb-0">Logged in as <?php echo e(auth()->user()->username); ?> (<strong><?php echo e(auth()->user()->level); ?></strong>)</li>
                        	<li class="text-muted text-center menu-title pt-0">Expired <?php echo e(\Carbon\Carbon::parse(auth()->user()->expired_date)->diffInDays()); ?> Hari lagi</li>

                            <li class="has_sub">
                                <a href="<?php echo e(url('/')); ?>" class="waves-effect"><i class="zmdi zmdi-view-dashboard"></i><span> Dashboard </span> </a>
                            </li>

                            <li class="has_sub">
                                <a href="#" class="waves-effect"><i class="fa fa-instagram"></i><span> Service </span> <span class="menu-arrow"></span></a>
                                <ul class="list-unstyled">
                                    
                                    <!--<li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_1) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/voyager/1')); ?>">Server 1 Like 1.500&plusmn; </a></li>-->
                                    <!--<li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_1) ? 'circle-danger' : 'circle-danger'); ?>" href="#">Server 1 Like 1.500 (OFF) </a></li>-->
                                    <!--<li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_1) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/envoyer/2')); ?>">Server 2 Like 10.000&plusmn; </a></li>-->
                                    <!--<li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_1) ? 'circle-danger' : 'circle-danger'); ?>" href="#">Server 2 Like 10.000 (OFF) </a></li>-->
                                    <li><a class="left-circle circle-danger" href="#"> Server 1 Like 1000&plusmn (OFF)  </a></li>
                                    <li><a class="left-circle circle-danger" href="#"> Server 2 Like 1000&plusmn (OFF) </a></li>
                                    <li><a class="left-circle circle-danger" href="#"> Server 3 Like 1000&plusmn (OFF) </a></li>
                                    <!-- <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_3) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/forge/3')); ?>">Server 3 Like 1.000&plusmn; (ON)</a></li>
                                    <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_4) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/voyager/4')); ?>">Server 4 Like 1.000&plusmn; (ON)</a></li>
                                    <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_5) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/forge/5')); ?>">Server 5 Like 1.000&plusmn; (ON)</a></li>
                                    <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_6) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/voyager/6')); ?>">Server 6 Like 1.000&plusmn; (ON)</a></li>
                                    <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_7) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/envoyer/7')); ?>">Server 7 Like 1.000&plusmn; (ON)</a></li>
                                    <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_8) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/voyager/8')); ?>">Server 8 Like 1.000&plusmn; (ON)</a></li>
                                     <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->comment) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/server/comment')); ?>">Server Comment Unlimited </a></li>
                                     -->
                                    <li><a class="left-circle circle-danger" href="#">Server Follower 300&plusmn (OFF)</a></li>
                                    <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->comment) ? 'circle-success' : 'circle-danger'); ?>" href="<?php echo e(url('/service/comment')); ?>">Server Comment Unlimited </a></li>
                                    <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_3) ? 'circle-success' : 'circle-danger'); ?>" href="/service/story">Server Story Views 1000&plusmn</a></li>
                                    <li><a class="left-circle <?php echo e((\Carbon\Carbon::now() > auth()->user()->delay->like_2) ? 'circle-success' : 'circle-danger'); ?>" href="/service/likecomment">Server Like in Comment 1000&plusmn</a></li>
                                    <li><a class="left-circle circle-success" href="http://ivmediatools.com">Tools Instagram </a></li>
                                    <li><a class="left-circle circle-danger" href="#">Server Live Views 1000&plusmn (OFF)</a></li>
                                    
                                </ul>
                            </li>
                            <?php
                              $level = auth()->user()->level;
                              $special = \App\Helper::isUserRegisteredByAdmin();
                            ?>
                            <li class="has_sub">
                                <a href="#" class="waves-effect"><i class="fa fa-coffee"></i><span> Features </span> <span class="menu-arrow"></span></a>
                                <ul class="list-unstyled">
                                <?php if($level == 'admin'): ?>
                                  <li><a class="left-circle" href="<?php echo e(url('/admin/mass_extends')); ?>">Mass Add Duration</a></li>
                                  <li><a class="left-circle" href="<?php echo e(url('/admin/transfer')); ?>">Transfer Saldo</a></li>
                                <?php endif; ?>
                                <?php if($level == 'admin' || $level == 'reseller'): ?>
                                  <li><a class="left-circle" href="<?php echo e(url('/user/extend')); ?>">Perpanjang User</a></li>
                                  <li><a class="left-circle" href="<?php echo e(url('/user/register')); ?>">Tambah User</a></li>
                                  <li><a class="left-circle" href="<?php echo e(url('/user/user_list_active')); ?>">List User <span class="label label-success">Active</span></a></li>
                                  <li><a class="left-circle" href="<?php echo e(url('/user/user_list_expired')); ?>">List User <span class="label label-danger">Expired</span></a></li>
                                <?php endif; ?>

                                <?php if($level == 'reseller'): ?>
                                  <li><a class="left-circle" href="<?php echo e(url('/user/auto_saldo')); ?>">Add Saldo Otomatis</a></li>
                                <?php endif; ?>

                                <?php if($special && $level != 'admin'): ?>
                                  <li><a class="left-circle" href="<?php echo e(url('/user/auto_extend')); ?>">Perpanjang Akun Otomatis</a></li>
                                <?php endif; ?>

                                  <li><a class="left-circle" href="<?php echo e(url('/user/history/submit')); ?>">Riwayat Submit</a></li>
                                  <li><a class="left-circle" href="<?php echo e(url('/user/history/balance')); ?>">Riwayat Saldo</a></li>
                                  <li><a class="left-circle" href="<?php echo e(url('/user/change_password')); ?>">Ganti Password</a></li>
                                </ul>
                            </li>
                        </ul>
                        <div class="clearfix"></div>
                    </div>
                    <!-- Sidebar -->
                    <div class="clearfix"></div>

                </div>

            </div>
            <!-- Left Sidebar End -->
