 <li class="header">MAIN NAVIGATION </li>
            
            <?php if($logado['nivel'] == '1') { ?>
            
            <li class="treeview <?php if($_GET['mod'] == 'NewCustomer' || $_GET['mod'] == 'Customers' || $_GET['mod'] == 'NewDomain' || $_GET['mod'] == 'Domains') { ?>active<?php } ?>">
              <a href="index.php">
                <i class="fa fa-group"></i>
                <span><?php echo $lang['MENU_CUSTOMERS']; ?></span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul id="nav" class="treeview-menu">
                <li><a href="?mod=NewCustomer"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_CUST_NEW']; ?></a></li>
                <li><a href="?mod=Customers"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_CUST_LIST']; ?></a></li>
                <li><a href="?mod=NewDomain"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_CUST_NEW_DOMAIN']; ?></a></li>
                <li><a href="?mod=Domains"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_CUST_DOMAINS']; ?></a></li>
              </ul>
            </li>
            
            <li class="treeview <?php if($_GET['mod'] == 'OrderEdit' || $_GET['mod'] == 'OrderInvoice' || $_GET['mod'] == 'Order' || $_GET['mod'] == 'NewOrder' || $_GET['mod'] == 'OrderAccepted' || $_GET['mod'] == 'OrderCanceled' || $_GET['mod'] == 'Orders') { ?>active<?php } ?>">
              <a href="#">
                <i class="fa fa-table"></i>
                <span><?php echo $lang['MENU_REQUESTS']; ?></span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul id="nav" class="treeview-menu"> 
                <li><a href="?mod=Order"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_REQ_NEW']; ?></a></li>
                <li><a href="?mod=Orders"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_REQ_PENDING']; ?></a></li>
                <li><a href="?mod=OrderAccepted"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_REQ_ACCEPTED']; ?></a></li>
                <li><a href="?mod=OrderCanceled"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_REQ_CANCELED']; ?></a></li>
              </ul>
            </li>
            
            <?php } ?>
            <?php if($logado['nivel'] == '1' || $logado['nivel'] == '3') { ?>
            
            <li class="treeview <?php if($_GET['mod'] == 'Invoices' || $_GET['mod'] == 'InvoicesPaid' || $_GET['mod'] == 'InvoicesDue' || $_GET['mod'] == 'InvoicesCancel') { ?>active<?php } ?>">
              <a href="#">
                <i class="fa fa-money"></i>
                <span><?php echo $lang['MENU_FINANCIAL']; ?></span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul id="nav" class="treeview-menu">
                <li><a href="?mod=Invoices"><i class="fa fa-circle-o"></i> <?php echo $lang['MENU_FIN_OPEN']; ?></a></li>
                <li><a href="?mod=InvoicesPaid"><i class="fa fa-circle-o text-green"></i> <?php echo $lang['MENU_FIN_PAID']; ?></a></li>
                <li><a href="?mod=InvoicesDue"><i class="fa fa-circle-o text-yellow"></i> <?php echo $lang['MENU_FIN_DUE']; ?></a></li>
                <li><a href="?mod=InvoicesCancel"><i class="fa fa-circle-o text-red"></i> <?php echo $lang['MENU_FIN_CANCELED']; ?></a></li>
              </ul>
            </li>
            
            <li class="treeview <?php if($_GET['mod'] == 'Report1' || $_GET['mod'] == 'Report2') { ?>active<?php } ?>">
              <a href="#">
                <i class="fa fa-bar-chart"></i>
                <span><?php echo $lang['MENU_REPORTS']; ?></span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul id="nav" class="treeview-menu">
                <li><a href="?mod=Report1"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_REP_BILLING']; ?></a></li>
              </ul>
            </li>
            
            <?php } ?>
            <?php if($logado['nivel'] == '1' || $logado['nivel'] == '2') { ?>
            
            <li class="treeview <?php if($_GET['mod'] == 'Tutorials' || $_GET['mod'] == 'Tickets' || $_GET['mod'] == 'NewTicket' || $_GET['mod'] == 'Departments' || $_GET['mod'] == 'Categories') { ?>active<?php } ?>">
              <a href="#">
                <i class="fa fa-commenting"></i>
                <span><?php echo $lang['MENU_SUPPORT']; ?></span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul id="nav" class="treeview-menu">
                <li><a href="?mod=Tutorials"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SUP_KNOW']; ?></a></li>
                <li><a href="?mod=Tickets"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SUP_TICKETS']; ?></a></li>
                <li><a href="?mod=NewTicket"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SUP_NEW_TICKETS']; ?></a></li>
                <li><a href="?mod=Departments"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SUP_DEPARTMENTS']; ?></a></li>
                <li><a href="?mod=Categories"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SUP_CATEGORIES']; ?></a></li>
              </ul>
            </li>
            
            <?php } ?>
            <?php if($logado['nivel'] == '1') { ?>
            
            <li class="treeview <?php if($_GET['mod'] == 'NewPromotion' || $_GET['mod'] == 'Promotions' || $_GET['mod'] == 'NewPackage' || $_GET['mod'] == 'Packages' || $_GET['mod'] == 'Groups' || $_GET['mod'] == 'Products' || $_GET['mod'] == 'NewProduct' || $_GET['mod'] == 'PriceDomains' || $_GET['mod'] == 'NewGroup') { ?>active<?php } ?>">
              <a href="#">
                <i class="fa fa-shopping-cart "></i>
                <span><?php echo $lang['MENU_PRODUCTS']; ?></span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul id="nav" class="treeview-menu">
                <li><a href="?mod=Groups"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_PRO_GROUPS']; ?></a></li>
                <li><a href="?mod=Products"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_PRO_LIST']; ?></a></li>
                <li><a href="?mod=Packages"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_PRO_PACKAGE']; ?></a></li>
                <li><a href="?mod=PriceDomains"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_PRO_DOMAIN_PRICE']; ?></a></li>
                <li><a href="?mod=Promotions"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_PRO_PROMOTIONS']; ?></a></li>
              </ul>
            </li>
            
            <li class="treeview <?php if($_GET['mod'] == 'PriceDomainsTLD' || $_GET['mod'] == 'ListAcc' ||  $_GET['mod'] == 'TPLMail' || $_GET['mod'] == 'Config' || $_GET['mod'] == 'Servers' || $_GET['mod'] == 'Users' || $_GET['mod'] == 'NewUser' || $_GET['mod'] == 'TPLNewEmail' || $_GET['mod'] == 'NewServer' || $_GET['mod'] == 'Gateways') { ?>active<?php } ?>">
              <a href="#">
                <i class="fa fa-cogs"></i>
                <span><?php echo $lang['MENU_SETTINGS']; ?></span>
                <i class="fa fa-angle-left pull-right"></i>
              </a>
              <ul id="nav" class="treeview-menu">
                <li><a href="?mod=Config"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SET_GENERAL']; ?></a></li>
                <li><a href="?mod=Gateways"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SET_PAYMENT']; ?></a></li>
                <li><a href="?mod=PriceDomainsTLD"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SET_PRICE_TLD']; ?></a></li>
                <li><a href="?mod=TPLMail"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SET_MAILS']; ?></a></li>
                <li><a href="?mod=Servers"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SET_SERVERS']; ?></a></li>
                <li><a href="?mod=Users"><i class="fa fa-circle-o "></i> <?php echo $lang['MENU_SET_USERS']; ?></a></li>
              </ul>
            </li>
            
            <li><a href="../help/index.html" target=_blank><i class="fa fa-book"></i> <span>Documentation</span></a></li>
            <?php } ?>
