<div class="main-sidebar sidebar-style-2">
<aside id="sidebar-wrapper">

<div class="sidebar-brand mt-2">
<a href="/">
{$s_logo}
<span 
   class="animate-charcter" 
   data-text="{$site_name}"
>{$site_name}</span>
</a>
</div>

<div class="sidebar-brand sidebar-brand-sm">
    <a href="/">{$t_logo}</a>
</div>

<ul class="sidebar-menu">
{if $user_id_2=='1' || $user_level_2=='superadmin' || $user_level_2 == 'reseller'}
<li class="menu-header">Main</li>
<li class="{$dashboard_active}"><a class="nav-link" href="dashboard"><i class="fas fa-tachometer-alt"></i> <span>Dashboard</span></a></li>
<li class="dropdown {$create_active}">
<a href="" class="nav-link has-dropdown"><i class="fas fa-user-plus"></i><span>Create</span></a>
<ul class="dropdown-menu">
<li class="{$create_user_active}"><a class="nav-link" href="add-user">User</a></li>
<li class="{$create_reseller_active}"><a class="nav-link" href="add-reseller">Reseller</a></li>
</ul>
</li>
<li class="dropdown {$manage_active}">
<a href="" class="nav-link has-dropdown"><i class="fas fa-users-cog"></i><span>Manage</span></a>
<ul class="dropdown-menu">
<li class="{$manage_user_active}"><a class="nav-link" href="view-user">User List</a></li>
<li class="{$manage_reseller_active}"><a class="nav-link" href="view-reseller">Reseller List</a></li>
</ul>
</li>
<li class="dropdown {$logs_active}">
<a href="" class="nav-link has-dropdown"><i class="fas fa-clipboard-list"></i><span>Logs</span></a>
<ul class="dropdown-menu">
<li class="{$logs_activity_active}"><a class="nav-link" href="log-activity">Activity Log</a></li>
<li class="{$logs_bulk_active}"><a class="nav-link" href="log-bulk">Bulk Log</a></li>
<li class="{$logs_credit_active}"><a class="nav-link" href="log-credit">Credits Log</a></li>
<li class="{$logs_deleted_active}"><a class="nav-link" href="log-deleted">Deleted Log</a></li>
</ul>
</li>
<li><a class="nav-link" href="privacy-policy"><i class="fas fa-shield-alt"></i> <span>Privacy Policy</span></a></li>
{/if}
{if $user_id_2=='1' || $user_level_2=='superadmin'}
<li class="menu-header">Panel</li>
<li class="{$server_active}"><a class="nav-link" href="server"><i class="fas fa-server"></i> <span>Servers</span></a></li>
<li class="{$dns_active}"><a class="nav-link" href="dns"><i class="fas fa-cloud"></i> <span>Dns</span></a></li>
<li class="{$application_active}"><a class="nav-link" href="application"><i class="fab fa-android"></i> <span>Application</span></a></li>
<li class="{$notification_active}"><a class="nav-link" href="notification"><i class="fas fa-bell"></i> <span>Notification</span></a></li>
<li class="{$json_active}"><a class="nav-link" href="json"><i class="fas fa-code"></i> <span>Json</span></a></li>
<li class="{$setting_active}"><a class="nav-link" href="settings"><i class="fas fa-cog"></i> <span>Settings</span></a></li>

<div class="mt-4 mb-4 p-3 hide-sidebar-mini">
<a href="javascript:void(0)" class="btn btn-outline-primary btn-sm btn-block btn-icon-split btn-genuine" style="white-space: initial;">
<i class="fas fa-rocket"></i> MTK DEVELOPER™
</a>
</div>
          
{/if}
{if $user_id_2=='2' || $user_level_2=='developer'}
<li class="menu-header">Main</li>
<li class="{$dashboard_active}"><a class="nav-link" href="dashboard"><i class="fas fa-tachometer-alt"></i> <span>Dashboard</span></a></li>
<li class="menu-header">Developer</li>
<li class="{$devsetting_active}"><a class="nav-link" href="developer-settings"><i class="fas fa-cog"></i> <span>Settings</span></a></li>
{/if}
</ul>
</aside>
</div>

<a class="faz" href="#" onclick="return false;" type="button" data-theme-toggle><i id="xtoggle"></i></a>