addChildMenu("community", "커스텀메뉴", G5_ADMIN_URL . "/{your_file_name}.php", true, 1, "{bootstrap icon css code}", 0); $menu["community"]->getLastAddedMenu()->addSubFile("/{your_subfile_name}.php"); */ if (!isset($menu["community"])) { $menu["community"] = new MenuCategory("community", "community", "커뮤니티 설정", "", true, 400, "", 0); if (Community::isInitCommunity()) { $menu["character"] = new MenuCategory("community", "community", "캐릭터 관리", "", true, 401, "", 0); $menu["item"] = new MenuCategory("community", "community", "아이템 관리", "", true, 402, "", 0); } } $menu["community"]->addChildMenu("community", "커뮤니티 설정", G5_ADMIN_URL . "/community_form.php", true, 0, "\F3B3", 0); if (Community::isInitCommunity()) { $menu["community"]->addChildMenu("community", "프로필 양식 관리", G5_ADMIN_URL . "/character_article_list.php", true, 100, "\F3B7", 0); $menu["item"]->addChildMenu("item", "상점 관리", G5_ADMIN_URL . "/shop_list.php", true, 0, "\F184", 0); $menu["item"]->getLastAddedMenu()->addSubFile("/shop_form.php"); $menu["item"]->getLastAddedMenu()->addSubFile("/shop_form_update.php"); $menu["item"]->getLastAddedMenu()->addSubFile("/shop_list_update.php"); $menu["item"]->addChildMenu("item", "아이템 관리", G5_ADMIN_URL . "/item_list.php", true, 0, "\F685", 0); $menu["item"]->getLastAddedMenu()->addSubFile("/item_form.php"); $menu["item"]->getLastAddedMenu()->addSubFile("/item_form_update.php"); $menu["item"]->getLastAddedMenu()->addSubFile("/item_list_update.php"); $menu["item"]->addChildMenu("item", "뽑기 관리", G5_ADMIN_URL . "/explorer_list.php", true, 0, "\F567", 0); $menu["item"]->getLastAddedMenu()->addSubFile("/explorer_list_update.php"); $menu["item"]->getLastAddedMenu()->addSubFile("/explorer_update.php"); $menu["item"]->addChildMenu("item", "아이템 보유현황", G5_ADMIN_URL . "/inventory_list.php", true, 0, "\F8E2", 0); $menu["item"]->getLastAddedMenu()->addSubFile("/inventory_list_delete.php"); $menu["item"]->getLastAddedMenu()->addSubFile("/inventory_update.php"); $menu["item"]->addChildMenu("item", "레시피 관리", G5_ADMIN_URL . "/recipe_list.php", true, 0, "\F442", 0); $menu["item"]->addChildMenu("item", "아이템 구매 기록", G5_ADMIN_URL . "/order_list.php", true, 0, "\F50F", 0); $menu["item"]->addChildMenu("item", "아이템 사용 기록", G5_ADMIN_URL . "/itemlog_list.php", true, 0, "\F50F", 0); $menu["character"]->addChildMenu("character", "캐릭터 관리", G5_ADMIN_URL . "/character_list.php", true, 0, "\F379", 0); $menu["character"]->getLastAddedMenu()->addSubFile("/character_list_update.php"); $menu["character"]->getLastAddedMenu()->addSubFile("/character_form.php"); $menu["character"]->getLastAddedMenu()->addSubFile("/character_form_update.php"); $menu["character"]->addChildMenu("character", "타이틀 관리", G5_ADMIN_URL . "/title_list.php", true, 100, "\F5B0", 0); $menu["character"]->getLastAddedMenu()->addSubFile("/title_update.php"); $menu["character"]->getLastAddedMenu()->addSubFile("/title_list_update.php"); $menu["character"]->addChildMenu("character", "보유 타이틀 관리", G5_ADMIN_URL . "/title_has_list.php", true, 200, "\F5B2", 0); $menu["character"]->getLastAddedMenu()->addSubFile("/title_has_update.php"); $menu["character"]->getLastAddedMenu()->addSubFile("/title_has_delete.php"); $menu["character"]->addChildMenu("character", ($config['cf_rank_name'] ? $config['cf_rank_name'] : "랭크") ." 설정 관리", G5_ADMIN_URL . "/level_list.php", true, 300, "\F452", 0); $menu["character"]->getLastAddedMenu()->addSubFile("/level_form_update.php"); $menu["character"]->getLastAddedMenu()->addSubFile("/level_list_update.php"); $menu["character"]->addChildMenu("character", ($config['cf_exp_name'] ? $config['cf_exp_name'] : "경험치") ." 설정 관리", G5_ADMIN_URL . "/exp_list.php", true, 400, "\F52B", 0); $menu["character"]->getLastAddedMenu()->addSubFile("/exp_list_delete.php"); $menu["character"]->getLastAddedMenu()->addSubFile("/exp_update.php"); $menu["character"]->addChildMenu("character", "스탯 관리", G5_ADMIN_URL . "/status_list.php", true, 500, "\F6A0", 0); $menu["character"]->addChildMenu("character", "커플 관리", G5_ADMIN_URL . "/couple_list.php", true, 600, "\F4CF", 0); if ($config['cf_side_title']) { $menu["character"]->addChildMenu("character", ($config['cf_side_title'] ? $config['cf_side_title'] : "소속") . " 관리", G5_ADMIN_URL . "/side_list.php", true, 700, "\F8C9", 0); $menu["character"]->getLastAddedMenu()->addSubFile("/side_list_delete.php"); $menu["character"]->getLastAddedMenu()->addSubFile("/side_update.php"); } if ($config['cf_class_title'] != "") { $menu["character"]->addChildMenu("character", ($config['cf_class_title'] ? $config['cf_class_title'] : "클래스") . " 관리", G5_ADMIN_URL . "/class_list.php", true, 800, "\F3EA", 0); $menu["character"]->getLastAddedMenu()->addSubFile("/class_update.php"); $menu["character"]->getLastAddedMenu()->addSubFile("/class_list_delete.php"); } }