<? include_once('modules/box_character.php'); ?>
<? if(isset($_SESSION['mu_nvchon'])) { ?>
<div class="buttons-character">

<? 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)) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=reset">Resets Nhân Vật</a>
<? } if(isset($Use_RSInGame) && $Use_RSInGame == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#rsingame_view">Resets InGame</a>
<? } ?>

<? if (isset($Use_Relife) && $Use_Relife == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=relife">Relife</a>
<? } ?>

<? if (isset($Use_RSPoint) && $Use_RSPoint == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=resetpoint">Reset Point</a>
<? } ?>

<a class="btn btn-green" rel="ajax" href="#char_manager&act=rutpoint">Rút Point</a>
<? if (isset($Use_AddPoint) && $Use_AddPoint == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=addpoint">Cộng điểm</a>
<? } ?>
<a class="btn btn-green" rel="ajax" href="#char_manager&act=pk">Rửa tội</a>
<a class="btn btn-green" rel="ajax" href="#char_manager&act=move">Di chuyển</a>

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

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

<? if (isset($Use_TayTuy) && $Use_TayTuy == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=taytuy">Tẩy Tủy</a>
<? } ?>

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

<? if (isset($Use_ChangeName) && $Use_ChangeName == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=changename">Đổi Tên Nhân Vật</a>
<? } ?>
			
<? if (isset($Use_Char2AccOther) && $Use_Char2AccOther == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=char2accother">Chuyển Nhân Vật</a>
<? } ?>

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

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

<? if (isset($Use_Quest2VWeb) && $Use_Quest2VWeb == 1) { ?>
    <a class="btn btn-green" rel="ajax" href="#char_manager&act=do_quest2">Nhiệm Vụ Cấp 2</a>
<? } ?>

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

<? if (isset($Use_RSMaster) && $Use_RSMaster == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=rsmaster">Reset Master</a>
<? } ?>

<? if (isset($Use_TrainPC) && $Use_TrainPC == 1) { ?>
    <a class="btn btn-green" rel="ajax" href="#char_manager&act=trainpcpoint">Đào JB Khóa</a>
<? } ?>

<? if (isset($Use_BuyMaster) && $Use_BuyMaster == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=muamaster">Mua Điểm Master</a>
<? } ?>

<? if (isset($Use_ExtraEXP) && $Use_ExtraEXP == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=extraexp">Mua ExtraEXP</a>
<? } ?>

<? if (isset($Use_UpResetDay) && $Use_UpResetDay == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=upresetday">Up Resets</a>
<? } ?>

<? if (isset($Use_DanhHieu) && $Use_DanhHieu == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=danhhieu">Danh Hiệu</a>
<? } ?>

<? if (isset($Use_BuaTS) && $Use_BuaTS == 1) { ?>
	<a class="btn btn-green" href="#char_manager&act=buats" rel="ajax">Bùa Thiên Sứ</a>
<? } ?>

<? if (isset($Use_BuaSS2) && $Use_BuaSS2 == 1) { ?>
	<a class="btn btn-green" href="#char_manager&act=buass2" rel="ajax">Bùa Season 2</a>
<? } ?>

<? if (isset($Use_Master2Point) && $Use_Master2Point == 1) { ?>
	<a class="btn btn-green" href="#char_manager&act=master2point" rel="ajax">Đổi Master Sang Point</a>
<? } ?>

<? if (isset($Use_Master2GoblinPoint) && $Use_Master2GoblinPoint == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=master2goblinpoint">Đổi Master Sang GoblinPoint <img src="images/new.gif"/></a>
<? } ?>

<? if (isset($Use_UT2WCoin) && $Use_UT2WCoin == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=ut2wcoin">Đổi UT sang Wcoin</a>
<? } ?>   

<? if (isset($Use_Relife2KimCuong) && $Use_Relife2KimCuong == 1) { ?>
	<a class="btn btn-green" rel="ajax" href="#char_manager&act=relife2kimcuong">Đổi Relifes Sang Kim Cương</a>
<? } ?>

<? 
	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";
		}
?>
	<a class="btn btn-orange" rel="ajax" href="#questdaily">Nhiệm vụ Hàng ngày<span id="qdl_un" class="<? echo $menu_nvhn_class; ?>"><? echo $menu_nvhn_note; ?></span> <img src="images/cutkyhot.gif"/></a>
<? } ?>

<? if (isset($Use_CreatChar) && $Use_CreatChar == 1) { ?>
    <a class="btn btn-green" rel="ajax" href="#char_manager&act=creatchar">Tạo Nhân Vật</a>
<? } ?>

<? if (isset($Use_UyThacOffline) && $Use_UyThacOffline == 1) { ?>
    <a class="btn btn-green" rel="ajax" href="#char_manager&act=uythacoffline">Ủy Thác Offline</a>
<? } ?>

<? if (isset($Use_UyThacOnline) && $Use_UyThacOnline == 1) { ?>
    <a class="btn btn-green" rel="ajax" href="#char_manager&act=uythaconline">Ủy Thác Online</a>
<? } ?>

<? if (isset($Use_Items2Points) && $Use_Items2Points == 1) { ?>
    <a class="btn btn-green" rel="ajax" href="#char_manager&act=items2points">Đổi Phần Thưởng <img src="images/new.gif"/></a>
<? } ?>

                </div>
            </div>
        </div>
        <? } ?>

    </div>
</div>