<div class="SideLeftNav">

    <h2 class="TitleMenuLeft TitleCN"><a title="CẨM NANG QUẢN LÝ TÀI KHOẢN">CẨM NANG</a></h2>
	<!--<br />
	<center><h3><font style="color:#ffff00"><strong>Máy Chủ: <? if(!isset($_SESSION['acc_thehe'])) $_SESSION['acc_thehe'] = 1; $acc_thehe = $_SESSION['acc_thehe']; echo $thehe_choise[$acc_thehe]; ?></strong></font></h3>
	<? 
	if(isset($Use_MemOnline) && $Use_MemOnline == 1){
	if(isset($_SESSION['mu_username'])){ ?>
	<br /><font color="yellow">Đang Online: <? if(!isset($_SESSION['total_online'])) {echo "null";} else {echo $_SESSION['total_online'];} ?></font> <img src="images/user-online.gif" >
	<? } }?>
	</center>
	<br />   -->
    <ul id="subNav">
        <li> <a title="Quản Lý Tài Khoản" href="javascript:void(0);">Quản Lý Tài Khoản <? if ($_SESSION['acc_vip'] == 1) {?><img src="images/vip.gif" border="0" /><? } ?></a>
            <ul class="SubNavChild">
				<? if(isset($Use_AccVip) && $Use_AccVip == 1) { ?>
					<li class="nav-sub-item"><a href="#acc_manager&act=vipweb" rel="ajax">Mua VIP <img src="images/cutkyhot.gif"/></a></li>
					<? } ?>
					
					<? if(isset($Use_SVVIP) && $Use_SVVIP == 1) { ?>
					<li class="nav-sub-item"><a href="#acc_manager&act=svvip" rel="ajax">Đăng Ký SV-VIP (Gold) <img src="images/cutkyhot.gif"/></a></li>
					<? } ?>
					
							<li class="nav-sub-item"><a href="#acc_manager&act=changepassgame_info" rel="ajax">Đổi mật khẩu Game</a></li>
							<li class="nav-sub-item"><a href="#acc_manager&act=changepass2_info" rel="ajax">Đổi mật khẩu Web</a></li>
							<li class="nav-sub-item"><a href="#acc_manager&act=changesdt_info" rel="ajax">Đổi số điện thoại</a></li>
							<li class="nav-sub-item"><a href="#acc_manager&act=changequest_info" rel="ajax">Đổi câu hỏi bí mật</a></li>
							<li class="nav-sub-item"><a href="#acc_manager&act=changeans_info" rel="ajax">Đổi câu trả lời bí mật</a></li>
							<li class="nav-sub-item"><a href="#acc_manager&act=changesnonumb_info" rel="ajax">Đổi 7 số bí mật</a></li>
							<li class="nav-sub-item"><a href="#acc_manager&act=ipbonus_list" rel="ajax">IP Bonus</a></li>
							<li class="nav-sub-item"><a href="#acc_manager&act=invite" rel="ajax">Giới thiệu thành viên</a></li>
							<? if(isset($Use_MaUuTien) && $Use_MaUuTien == 1) { ?>   
							<li class="nav-sub-item"><a href="#mauutien" rel="ajax">Lấy mã ưu tiên</a></li>
							<? } if(isset($Use_BaoVeAccIP) && $Use_BaoVeAccIP == 1) { ?>        
							<li class="nav-sub-item"><a href="#acc_manager&act=baoveaccip" rel="ajax">Đăng ký bảo vệ ACC/IP</a></li>
							<? } ?>		
            </ul>
        </li>
        <li><a href="javascript:void(0);" title="Quản lý nhân vật trong tài khoản của bạn">
            <?
                if(isset($_SESSION['quest_daily']) && $_SESSION['quest_daily']>0) $char_note_icon = 'note-evt';
            ?>		
			Quản Lý Nhân Vật</a>
			<ul class="SubNavChild">
			
				<? if ((isset($Use_Reset) && $Use_Reset == 1) || (isset($Use_ResetVIP) && $Use_ResetVIP == 1) || (isset($Use_ResetVIP2) && $Use_ResetVIP2 == 1) || (isset($Use_ResetOver) && $Use_ResetOver == 1)) { ?>
					<li class="nav-sub-item"><a href="#char_manager&act=reset" rel="ajax">Reset nhân vật</a></li>
				<? } if(isset($Use_RSInGame) && $Use_RSInGame == 1) { ?>
					<li class="nav-sub-item"><a href="#rsingame_view" rel="ajax">Resets InGame</a></li>
				<? } ?>
				<? if (isset($Use_AddPoint) && $Use_AddPoint == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#char_manager&act=addpoint">Cộng điểm</a></li>
				<? } ?>
				

				<? if (isset($Use_KhoaItem) && $Use_KhoaItem == 1) { ?>
					<li class="nav-sub-item"><a href="#char_manager&act=khoaitem" rel="ajax">Khóa Đồ</a></li>
				<? } ?>

				<? if (isset($Use_BuaTS) && $Use_BuaTS == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=buats" rel="ajax">Bùa Thiên Sứ <img src="images/cutkyhot.gif"/></a></li>
				<? } ?>

				<? if (isset($Use_BuaSS2) && $Use_BuaSS2 == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=buass2" rel="ajax">Bùa Season 2 <img src="images/cutkyhot.gif"/></a></li>
				<? } ?>
				<? 
				if (isset($Use_QuestDaily) && $Use_QuestDaily == 1) { 
				if(isset($_SESSION['quest_daily']) && $_SESSION['quest_daily']>0) {
				$menu_nvhn_note = $_SESSION['quest_daily'];
				$menu_nvhn_class = "badge";
				}
				?>
				<li class="nav-sub-item"><a href="#char_manager&act=questdaily" rel="ajax">Nhiệm vụ Hàng ngày<span id="qdl_un" class="<? echo $menu_nvhn_class; ?>"><? echo $menu_nvhn_note; ?></span></a></li>
				<? } ?>
				<? if (isset($Use_Relife) && $Use_Relife == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=relife" rel="ajax">Relife</a></li>
				<? } ?>
				<!--
				<? if (isset($Use_UyThacOffline) && $Use_UyThacOffline == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=uythacoffline" rel="ajax">Ủy Thác</a></li>
				<? } ?>
				-->
				

				<? if (isset($Use_DoiGioiTinh) && $Use_DoiGioiTinh == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=doigioitinh" rel="ajax">Đổi Giới Tính</a></li>
				<? } ?>

				<? if (isset($Use_LockItem) && $Use_LockItem == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=lock_item" rel="ajax">Bảo vệ Item</a></li>
				<? } ?>

				<? if (isset($Use_Char2AccOther) && $Use_Char2AccOther == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=char2accother" rel="ajax">Chuyển Nhân Vật</a></li>
				<? } ?>

				<? if (isset($Use_XoaDoNV) && $Use_XoaDoNV == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=emptychar" rel="ajax">Xóa Đồ Nhân Vật</a></li>
				<? } ?>

				<? if (isset($Use_ResetQuest) && $Use_ResetQuest == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=reset_quest" rel="ajax">Làm lại Nhiệm Vụ</a></li>
				<? } ?>

				<? if (isset($Use_Quest2VWeb) && $Use_Quest2VWeb == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=do_quest2" rel="ajax">Nhiệm Vụ Web</a></li>
				<? } ?>

				<? if (isset($Use_Quest3VWeb) && $Use_Quest3VWeb == 1) { ?>
				<li class="nav-sub-item"><a href="#char_manager&act=do_quest3" rel="ajax">Nhiệm Vụ Master</a></li>
				<? } ?>
				
            </ul>	
		
		</li>

		<? if(isset($Use_TinhNang)) { ?>
        <li><a href="javascript:void(0);" title="Tính năng mới">Tính năng</a>
    	<ul class="SubNavChild">
			<? include_once('config/config_moddaily.php');
			if(isset($Use_ModDaiLy) && $Use_ModDaiLy == 1 && in_array($_SESSION['mu_username'], $moddaily_listaccept)) { ?>
			<li class="nav-sub-item"><a rel="ajax" href="#tinhnang&act=moddaily">Mod Đại Lý</a></li>
			<? } ?>

			<? include_once('config/config_modvweb.php');
			if(isset($Use_ModVWeb) && $Use_ModVWeb == 1 && in_array($_SESSION['mu_username'], $modvweb_listaccept)) { ?>
			<li class="nav-sub-item"><a rel="ajax" href="#tinhnang&act=modvweb">Mod CP</a></li>
			<? } ?>
			<? if(isset($Use_KiemTraNV)) { ?>
			<li class="nav-sub-item"><a rel="ajax" href="#kiemtranv">Kiểm tra nhân vật khác <img src="images/new.gif"/></a></li>
			<? } ?>
        </ul>
    	</li>
	<? } ?>
	<? if(isset($Use_NapThe) && $Use_NapThe == 1) { ?>
		<li><a href="javascript:void(0);" title="Nạp Thẻ Online">Nạp Thẻ</a>
			<ul class="SubNavChild">
                <li class="nav-sub-item"></li-->
				<? if(isset($Use_NapATM) && $Use_NapATM == 1) { ?>
				<li class="nav-sub-item"><a href="#napthe&act=atm" rel="ajax">Nạp tiền qua ATM</a></li>
				<? } ?>
				<? if(isset($Use_MuaThe) && $Use_MuaThe == 1) { ?>
				<li class="nav-sub-item"><a href="#napthe&act=muathenap" rel="ajax">Mua thẻ</a></li>
				<? } ?>
                <li class="nav-sub-item"><a href="#napthe&act=listcard" rel="ajax">Danh sách thẻ nạp</a></li>
			</ul>

	<? } ?>		
	<? if(isset($Use_TienTe) && $Use_TienTe == 1) { ?>
        <li><a href="javascript:void(0);" title="Giao dịch, quy đổi tiền tệ">Giao Dịch</a>
			<ul class="SubNavChild">
				<li class="nav-sub-item"></li>
				<? if (isset($Use_Zen2Bank) && $Use_Zen2Bank == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=zen2bank" rel="ajax">Gửi Zen</a></li>
				<? } ?>
				<? if (isset($Use_Jewel2Bank) && $Use_Jewel2Bank == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#tiente&act=jewel2bank">Gửi Jewel</a></li>
				<? } ?>
				<? if (isset($Use_Bank2Jewel) && $Use_Bank2Jewel == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#tiente&act=bank2jewel">Rút Jewel</a></li>
				<? } ?>
				<? if (isset($Use_DoiJBKhoa) && $Use_DoiJBKhoa == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#tiente&act=item2jb">Đổi Items sang JB Khóa</a></li>
				<? } ?>
				<? if (isset($Use_DoiNgoc) && $Use_DoiNgoc == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#tiente&act=doingoc">Đổi Ngọc Lấy Tiền</a></li>
				<? } ?>
				<? include_once('config/config_doingoc.php');
					if ($sudungbanngoc == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#tiente&act=muangoc">Mua Ngọc</a></li>
				<? } ?>
				<? if (isset($Use_Gcoin2Vpoint) && $Use_Gcoin2Vpoint == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=gcoin2vpoint" rel="ajax">Đổi Gcoin sang Vpoint</a></li>
				<? } ?>
				<? if (isset($Use_Vpoint2Gcoin) && $Use_Vpoint2Gcoin == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=vpoint2gcoin" rel="ajax">Đổi Vpoint sang Gcoin</a></li>
				<? } ?>
				<? if (isset($Use_Gcoin2VipMoney) && $Use_Gcoin2VipMoney == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=gcoin2vipmoney" rel="ajax">Đổi Gcoin sang VipMoney</a></li>
				<? } ?>
					
				<? if (isset($Use_Gcoin2WCoin) && $Use_Gcoin2WCoin == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=gcoin2wcoin" rel="ajax">Đổi Gcoin sang WCoin</a></li>
				<? } ?>
		
				<? if (isset($Use_Gcoin2WCoinP) && $Use_Gcoin2WCoinP == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=gcoin2wcoinp" rel="ajax">Đổi Gcoin sang WCoinP</a></li>
				<? } ?>
		
				<? if (isset($Use_Gcoin2GoblinCoin) && $Use_Gcoin2GoblinCoin == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=gcoin2goblincoin" rel="ajax">Đổi Gcoin sang GoblinCoin</a></li>
				<? } ?>
		
				<? if (isset($Use_Gcoin2PCPoint) && $Use_Gcoin2PCPoint == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=gcoin2pcpoint" rel="ajax">Đổi Gcoin sang PCPoint</a></li>
				<? } ?>
		
				<? if (isset($Use_Vpoint2Cash) && $Use_Vpoint2Cash == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=vpoint2cash" rel="ajax">Đổi Vpoint sang Cash</a></li>
				<? } ?>
						
				<? if (isset($Use_Cash2Vpoint) && $Use_Cash2Vpoint == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=cash2vpoint" rel="ajax">Đổi Cash sang Vpoint</a></li>
				<? } ?>
						
				<? if (isset($Use_Vpoint2Item) && $Use_Vpoint2Item == 1) { ?>	
					<li class="nav-sub-item"><a href="#tiente&act=vpoint2item" rel="ajax">Mua Item Vpoint</a></li>
				<? } ?>
		
				<? if (isset($Use_Item2Vpoint) && $Use_Item2Vpoint == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=item2vpoint" rel="ajax">Bán Item Vpoint</a></li>
				<? } ?>
		
				<? if (isset($Use_IPBonus2Vpoint) && $Use_IPBonus2Vpoint == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=ipbonuspoint2vpoint" rel="ajax">Đổi IP Bonus Point sang VPoint</a></li>
				<? } ?>
		
				<? if (isset($Use_IPBonus2PCPoint) && $Use_IPBonus2PCPoint == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=ipbonuspoint2pcpoint" rel="ajax">Đổi IP Bonus Point sang PC Point</a></li>
				<? } ?>
					
				<? if (isset($Use_Wcoin2Gcoin) && $Use_Wcoin2Gcoin == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=wcoin2gcoin" rel="ajax">Đổi Wcoin sang Gcoin</a></li>
				<? } ?>   
		
				<? if (isset($Use_ChuyenKhoan) && $Use_ChuyenKhoan == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=chuyenkhoan" rel="ajax">Chuyển Khoản</a></li>
				<? } ?>  
		
				<? if (isset($Use_ThanhLyDo) && $Use_ThanhLyDo == 1) { ?>
					<li class="nav-sub-item"><a href="#tiente&act=thanhlydo" rel="ajax">Thanh Lý Đồ</a></li>
				<? } ?>  
			</ul>
			</li>

	<?php } ?>
	<!--
	<? if(isset($Use_ChoMU) && $Use_ChoMU == 1) { ?>
		<li><a href="javascript:void(0);" title="Mua Bán, rao vặt Item trong Mu">Chợ MU</a>
			<ul class="SubNavChild">
				<li class="nav-sub-item"><a href="#warehousesafe" rel="ajax" data-title="Hòm đồ ảo">Hòm đồ ảo</a></li>
				<? 
				include_once('config/config_daugia.php');
				if(isset($Use_DauGia) && $Use_DauGia == 1) { 
				?>
				<li class="nav-sub-item"><a rel="ajax" href="#chotroi">Chợ trời</a></li>
				<? } ?> 
				<? 
				include_once('config/config_daugianguoc.php');
				if(isset($Use_DauGiaNguoc) && $Use_DauGiaNguoc == 1) { 
				?>
				<li class="nav-sub-item"><a rel="ajax" href="#daugianguoc">Đấu Giá Ngược</a></li>
				<? } ?>  
				<? if(isset($Use_ChoDaily) && $Use_ChoDaily == 1) { ?>
				<li class="nav-sub-item"><a rel="ajax" href="#chopl">Mua Phúc Lợi</a></li>
				<li class="nav-sub-item"><a rel="ajax" href="#chopl&act=banpl">Bán Phúc Lợi</a></li>
				<? } ?>	
			</ul>

	<? } ?>	
		-->	
	<?php
		
	include('config/config_giftcode_rs.php');
	include('config/config_giftcode_week.php');
	include('config/config_giftcode_month.php');
	include('config/config_giftcode_tanthu.php');
	include('config/config_giftcode_napthedau.php');
	include('config/config_giftcode_card50.php');
	include('config/config_giftcode_card100.php');
	include('config/config_giftcode_card200.php');
	include('config/config_giftcode_card300.php');
	include('config/config_giftcode_card500.php');
	include('config/config_giftcode_allinone.php');
	if ($giftcode_allinone_use != 'none' || $giftcode_rs_use != 'none' || $giftcode_week_use != 'none' || $giftcode_month_use != 'none' || $giftcode_tanthu_use == 1 || $giftcode_napthedau_use == 1 || $giftcode_card50_use != 'none' || $giftcode_card100_use != 'none' || $giftcode_card200_use != 'none' || $giftcode_card300_use != 'none' || $giftcode_card500_use != 'none') { ?>
	
  	<li><a href="javascript:void(0);" title="Nhận thưởng GiftCode">Giftcode</a>
    	<ul class="SubNavChild">
			<li class="nav-sub-item"><a href="#event&act=giftcode_change" rel="ajax">Nhận phần thưởng GiftCode</a></li>
			<li class="nav-sub-item"><a href="#event&act=giftcode_history" rel="ajax">Lịch sử GiftCode</a></li>
			<? 
			include_once('config/config_giftcode_rs.php');
			if ($giftcode_rs_use != 'none') { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_rs" rel="ajax">GiftCode Reset</a></li>
			<? } ?>
	
	
			<? 
			include_once('config/config_giftcode_week.php');
			if ($giftcode_week_use != 'none') { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_week" rel="ajax">GiftCode Tuần</a></li>
			<? } ?>
	
	
			<? 
			include_once('config/config_giftcode_month.php');
			if ($giftcode_month_use != 'none') { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_month" rel="ajax">GiftCode Tháng</a></li>
			<? } ?>
	
	
			<? 
			include_once('config/config_giftcode_tanthu.php');
			if ($giftcode_tanthu_use == 1) { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_tanthu" rel="ajax">GiftCode Tân Thủ</a></li>
			<? } ?>
	
			<? 
			include_once('config/config_giftcode_napthedau.php');
			if ($giftcode_napthedau_use == 1) { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_napthedau" rel="ajax">GiftCode Nạp Thẻ Đầu</a></li>
			<? } ?>
	
			<? 
			include_once('config/config_giftcode_card50.php');
			if ($giftcode_card50_use != 'none') { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_card50" rel="ajax">GiftCode Nạp Thẻ 50k</a></li>
			<? } ?>
			<? 
			include_once('config/config_giftcode_card100.php');
			if ($giftcode_card100_use != 'none') { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_card100" rel="ajax">GiftCode Nạp Thẻ 100k</a></li>
			<? } ?>
			<? 
			include_once('config/config_giftcode_card200.php');
			if ($giftcode_card200_use != 'none') { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_card200" rel="ajax">GiftCode Nạp Thẻ 200k</a></li>
			<? } ?>
			<? 
			include_once('config/config_giftcode_card300.php');
			if ($giftcode_card300_use != 'none') { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_card300" rel="ajax">GiftCode Nạp Thẻ 300k</a></li>
			<? } ?>
			<? 
			include_once('config/config_giftcode_card500.php');
			if ($giftcode_card500_use != 'none') { 
			?>
			<li class="nav-sub-item"><a href="#event&act=giftcode_card500" rel="ajax">GiftCode Nạp Thẻ 500k</a></li>
			<? } ?>		       
		</ul>
    </li>
	<? } ?>
	<? if(isset($Use_Event) && $Use_Event == 1) { ?>
    <li><a href="javascript:void(0);" title="Các Sự Kiện đang diễn ra tại Máy Chủ">Các Sự Kiện</a>
    	<ul class="SubNavChild">
			<li class="nav-sub-item"><a href="#event&act=award" rel="ajax">Nhận Giải Thưởng</a></li>

			<? if ($event_epitem_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_epitem" rel="ajax"><? echo $event_epitem_name; ?></a></li>
			<? } ?>

			<? 
				include_once('config/config_sharefb.php');
				if ($event_sharefb_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=sharefb" rel="ajax">Share Facebook <img src="images/cutkyhot.gif"/></a></li>
			<? } ?>

			<? if (isset($event_tichluythe_on) && $event_tichluythe_on == 1 && (strtotime($event_tichluythe_end) + 24*60*60 >= time())) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_tichluythe" rel="ajax"><? echo $event_tichluythe_name; ?></a></li>
			<? } ?>
			
			<? if (isset($event_thangcap_on) && $event_thangcap_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_thangcap" rel="ajax"><? echo $event_thangcap_name; ?></a></li>
			<? } ?>

			<? if (isset($event_diemdanh_on) && $event_diemdanh_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_diemdanh" rel="ajax"><? echo $event_diemdanh_name; ?></a></li>
			<? } ?>
			
			<? if ($event_santa_ticket == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=santa_ticket" rel="ajax">Đổi vé làng Santa</a></li>
			<? } ?>


			<? if ($event_bongda_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_bongda" rel="ajax">Dự đoán Bóng Đá</a></li>
			<? } ?>


			<? if ($event1_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event1" rel="ajax"><? echo $event1_name; ?></a></li>
			<? } ?>
        </ul>
    </li>
	<? } ?>
	<? if(isset($Use_XepHang) && $Use_XepHang == 1) { ?>
    <li><a href="javascript:void(0);" title="Bảng Xếp Hạng - Top Game">Bảng Xếp Hạng Nạp</a>
    	<ul class="SubNavChild">
			<? if ($event_toprs_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_toprs" rel="ajax"><? echo $event_toprs_name; ?></a></li>
			<? } ?>

			<? if ($event_toprs2_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_toprs2" rel="ajax"><? echo $event_toprs2_name; ?></a></li>
			<? } ?>
			
			<? if ($event_toprs3_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_toprs3" rel="ajax"><? echo $event_toprs3_name; ?></a></li>
			<? } ?>

			<? if ($event_topdanhvong_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_topdanhvong" rel="ajax"><? echo $event_topdanhvong_name; ?></a></li>
			<? } ?>

			<? if ($event_toppoint_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_toppoint" rel="ajax"><? echo $event_toppoint_name; ?></a></li>
			<? } ?>

			<? if ($event_topcard2_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_topcard2" rel="ajax">TOP Nạp ngày <? echo $date_yesterday ?></a></li>
				<li class="nav-sub-item"><a href="#event&act=event_topcard3" rel="ajax">TOP Nạp ngày <? echo $date_now ?></a></li>
			<? } ?>

			<? if ($event_topcard_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_topcard" rel="ajax"><? echo $event_topcard_name; ?></a></li>
			<? } ?>
			
			<? if ($event_topcard3_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_topcard4" rel="ajax"><? echo $event_topcard3_name; ?></a></li>
			<? } ?>

			<? if ($event_tongtop_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_tongtop" rel="ajax"><? echo $event_tongtop_name; ?></a></li>
			<? } ?>

			<? if ($event_topmaster2point_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_topmaster2point" rel="ajax"><? echo $event_topmaster2point_name; ?></a></li>
			<? } ?>
			<? if ($event_topvongquay_on == 1) { ?>
				<li class="nav-sub-item"><a href="#event&act=event_topvongquay" rel="ajax"><? echo $event_topvongquay_name; ?></a></li>
			<? } ?>
        </ul>
    </li>
	<? } ?>
	<? if(isset($Use_WebShop) && $Use_WebShop == 1) { ?>
		<li><a href="javascript:void(0);" title="Webshop">Webshop</a>
			<ul class="SubNavChild">
				<? if (isset($Use_ShopTapHoa) && $Use_ShopTapHoa == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_taphoa" rel="ajax">Tạp Hóa</a></li>
					<? } ?>
					
					<? if (isset($Use_ShopVeEvent) && $Use_ShopVeEvent == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_event" rel="ajax">Vé - Event</a></li>
					<? } ?>
					<? if (isset($Use_ShopKiem) && $Use_ShopKiem == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_kiem" rel="ajax">Kiếm</a></li>
					<? } ?>
					<? if (isset($Use_ShopGay) && $Use_ShopGay == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_gay" rel="ajax">Gậy</a></li>
					<? } ?>
					<? if (isset($Use_ShopCung) && $Use_ShopCung == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_cung" rel="ajax">Cung</a></li>
					<? } ?>
					<? if (isset($Use_ShopVuKhiKhac) && $Use_ShopVuKhiKhac == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_vukhikhac" rel="ajax">Vũ Khí Khác</a></li>
					<? } ?>
					<? if (isset($Use_ShopKhien) && $Use_ShopKhien == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_khien" rel="ajax">Khiên</a></li>
					<? } ?>
					<? if (isset($Use_ShopMu) && $Use_ShopMu == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_mu" rel="ajax">Mũ</a></li>
					<? } ?>
					<? if (isset($Use_ShopAo) && $Use_ShopAo == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_ao" rel="ajax">Áo</a></li>
					<? } ?>
					<? if (isset($Use_ShopQuan) && $Use_ShopQuan == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_quan" rel="ajax">Quần</a></li>
					<? } ?>
					<? if (isset($Use_ShopTay) && $Use_ShopTay == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_tay" rel="ajax">Tay</a></li>
					<? } ?>
					<? if (isset($Use_ShopChan) && $Use_ShopChan == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_chan" rel="ajax">Chân</a></li>
					<? } ?>
					<? if (isset($Use_ShopRing) && $Use_ShopRing == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_ring" rel="ajax">Ring</a></li>
					<? } ?>
					<? if (isset($Use_ShopPendant) && $Use_ShopPendant == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_pendant" rel="ajax">Pendant</a></li>
					<? } ?>
					<? if (isset($Use_ShopCanh) && $Use_ShopCanh == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_canh" rel="ajax">Cánh</a></li>
					<? } ?>
					<? if (isset($Use_ShopCanh3) && $Use_ShopCanh3 == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_canh3" rel="ajax">Cánh 3</a></li>
					<? } ?>
					
					<? if (isset($Use_ShopSet) && $Use_ShopSet == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shopset" rel="ajax">Cửa hàng Items Bộ</a></li>
					<? } ?>
					<? if (isset($Use_ShopTienZen) && $Use_ShopTienZen == 1) { ?>
					<li class="nav-sub-item"><a href="#webshop&act=shop_zen" rel="ajax">Cửa hàng tiền Zen</a></li>
					<? } ?>
			</ul>

	<? } ?>	
	<!--
	<? if(isset($Use_WebShopKC) && $Use_WebShopKC == 1) { ?>
		<li><a href="javascript:void(0);" title="WebShop Kim Cương">WebShop Kim Cương</a>
			<ul class="SubNavChild">
                <? if (isset($Use_ShopTapHoaKC) && $Use_ShopTapHoaKC == 1) { ?>
					<li class="nav-sub-item"><a href="#webshopkc&act=shop_taphoa_kc" rel="ajax">Cửa hàng Items Kim Cương</a></li>
					<? } ?>
					
					<? if (isset($Use_ShopSetKC) && $Use_ShopSetKC == 1) { ?>
					<li class="nav-sub-item"><a href="#webshopkc&act=shopset_kc" rel="ajax">Cửa hàng Items Bộ KC</a></li>
					<? } ?>
			</ul>

	<? } ?>	
		-->
	<? if(isset($Use_GiaiTri) && $Use_GiaiTri == 1) { ?>
		<li><a href="javascript:void(0);" title="Giải Trí">Giải Trí</a>
			<ul class="SubNavChild">
					<? if(isset($Use_LoDe) && $Use_LoDe == 1) { ?>
						<li class="nav-sub-item"><a href="#relax&act=ghiso&type=de" rel="ajax">Ghi: Lô - Đề</a></li>
						<? } ?>
						<? if(isset($Use_LoDe) && $Use_LoDe == 1) { ?>
						<li class="nav-sub-item"><a href="#relax&act=ketqua" rel="ajax">Kết Quả: Lô - Đề</a></li>
						<? } ?>
						<? if(isset($Use_VongQuay) && $Use_VongQuay == 1) { ?>
						<li class="nav-sub-item"><a href="#relax&act=vongquay" rel="ajax">Vòng Quay May Mắn</a></li>
						<? } ?>
			</ul>

	<? } ?>		
	<!--<? if(isset($Use_MayChaos) && $Use_MayChaos == 1) { ?>
		<li><a href="javascript:void(0);" title="Máy Chaos">Máy Chaos</a>
			<ul class="SubNavChild">
					<? if (isset($Use_UpLVItem) && $Use_UpLVItem == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#maychaos&act=item_uplv">Nâng cấp item</a></li>
					<? } ?>
					<? if (isset($Use_DucSocket) && $Use_DucSocket == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#maychaos&act=item_socketempty">Đục lỗ socket</a></li>
					<? } ?>
					<? if (isset($Use_KhamSocket) && $Use_KhamSocket == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#maychaos&act=item_socketadd">Khảm dòng socket</a></li>
					<? } ?>
					<? if (isset($Use_TraderItem) && $Use_TraderItem == 1) { ?>
					<li class="nav-sub-item"><a rel="ajax" href="#maychaos&act=trader_item">Đổi Items</a></li>
					<? } ?>
			</ul>

	<? } ?>		
		-->
	<? if(isset($Use_XepHang) && $Use_XepHang == 1) { ?>
		<li><a href="javascript:void(0);" title="Bảng Xếp Hạng">Bảng Xếp Hạng
		Reset</a>
			<ul class="SubNavChild">
                <li class="nav-sub-item"><a href="#rank&act=ranking" rel="ajax">BXH Nhân vật</a></li>
                <li class="nav-sub-item"><a href="#rank&act=ranking_guild" rel="ajax">BXH Bang Hội</a></li>
				<!--
				<li class="nav-sub-item"><a href="#rank&act=rank_point" rel="ajax">BXH Point</a></li>
				<li class="nav-sub-item"><a href="#rank&act=rankpointrs&action=daily&type=all" rel="ajax">BXH Danh Vọng</a></li>
				-->
			</ul>

	<? } ?>	
	<? if(isset($Use_MaUuTien) && $Use_MaUuTien == 1) { ?>		   
    <li><a href="#mauutien" rel="ajax" data-title="Mã ưu tiên">Lấy mã ưu tiên</a></li>
	<? } ?>  
	<li><a href="#command" data-title="Lệnh MU">Lệnh MU</a></li>
	<? if ((isset($Use_Reset) && $Use_Reset == 1) || (isset($Use_ResetVIP) && $Use_ResetVIP == 1) || (isset($Use_ResetVIP2) && $Use_ResetVIP2 == 1) || (isset($Use_ResetOver) && $Use_ResetOver == 1)) { ?>
		<li><a href="#reset_view" data-title="Điều kiện Reset">Quy định Reset nhân vật</a></li>
    	<li><a href="#gioihanrs_view" data-title="Giới hạn Reset">Giới hạn Reset nhân vật</a></li>
	<? } if(isset($Use_RSInGame) && $Use_RSInGame == 1) { ?>
		<li><a href="#rsingame_view" data-title="Giới hạn Reset">Resets InGame</a></li>
	<? } ?>
    </ul>
</div>