- Joined
- Jun 27, 2009
- Messages
- 1,571
- Reaction score
- 170
Hey RaGEZONE Users,
Today I'm releasing my RevCMS Edit for Arcturus Emulator
FEATURE:
- Removed seckey from the CMS
- Added Report Tool (Reviewed from the Database)
- Random Groups and Users
- News Comments 100%
BUGS:
- Banned Page when banning the user from the client
Images:
NOTE:
- No Housekeeping as it's being coded for Arcturus
P.S: Please No Hate Comments as I'm still learning.
CMS:
SQL:
Import This into your current Database
NOTE: Permissions table has 11 ranks as I have more ranks in my hotel
Credits:
The General - Arcturus Emulator
Glee - Customize RevCMS for Arcturus Emulator
Retro Community for assisting me PHP Coding from the Help Section!
If you have suggestion to add into the CMS please let me know!
PS2: I'm willing to make some badges for your hotel to host on the staff page!! It might take some time as I do have a life!
UPDATES:
go into includes/subnavi.php and remove
from the beginning
Coded Home.php with Publish of the Camera!
Replace your old home.php with this
- Selects the badges and Camera Images
Today I'm releasing my RevCMS Edit for Arcturus Emulator
FEATURE:
- Removed seckey from the CMS
- Added Report Tool (Reviewed from the Database)
- Random Groups and Users
- News Comments 100%
BUGS:
- Banned Page when banning the user from the client
Images:
NOTE:
- No Housekeeping as it's being coded for Arcturus
P.S: Please No Hate Comments as I'm still learning.
CMS:
You must be registered to see links
SQL:
Import This into your current Database
NOTE: Permissions table has 11 ranks as I have more ranks in my hotel
PHP:
CREATE TABLE `cms_comments` (
`id` int(11) NOT NULL,
`article` int(11) NOT NULL,
`userid` int(11) NOT NULL,
`comment` varchar(500) NOT NULL,
`posted_on` varchar(150) NOT NULL DEFAULT '',
`author` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `cms_news`
--
CREATE TABLE `cms_news` (
`id` int(11) NOT NULL,
`title` varchar(100) NOT NULL,
`image` varchar(100) NOT NULL,
`shortstory` text NOT NULL,
`longstory` text NOT NULL,
`author` varchar(100) NOT NULL,
`author_id` varchar(100) NOT NULL,
`date` int(11) NOT NULL,
`type` enum('1','0') NOT NULL,
`roomid` varchar(100) NOT NULL,
`updated` enum('0','1') NOT NULL DEFAULT '0',
`published` varchar(60) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `cms_news`
--
INSERT INTO `cms_news` (`id`, `title`, `image`, `shortstory`, `longstory`, `author`, `author_id`, `date`, `type`, `roomid`, `updated`, `published`) VALUES
(1, 'New Updates', 'baw_promo.png', 'Updates!!', '<p>\r\n Testing 1,2,3,4,5,6,7,8,9</p>\r\n', 'Glee', '1', 1506805664, '1', '', '0', '1506805664');
-- --------------------------------------------------------
--
-- Table structure for table `permissions`
--
CREATE TABLE `permissions` (
`id` int(11) NOT NULL,
`rank_name` varchar(25) NOT NULL,
`level` int(2) NOT NULL DEFAULT '1',
`room_effect` int(11) NOT NULL DEFAULT '0',
`log_commands` enum('0','1') NOT NULL DEFAULT '0',
`prefix` varchar(5) NOT NULL,
`prefix_color` varchar(7) NOT NULL,
`cmd_about` enum('0','1') NOT NULL DEFAULT '1',
`cmd_alert` enum('0','1') NOT NULL DEFAULT '0',
`cmd_allow_trading` enum('0','1') NOT NULL DEFAULT '0',
`cmd_badge` enum('0','1') NOT NULL DEFAULT '0',
`cmd_ban` enum('0','1') NOT NULL DEFAULT '0',
`cmd_blockalert` enum('0','1') NOT NULL DEFAULT '0',
`cmd_bots` enum('0','1','2') NOT NULL DEFAULT '1',
`cmd_bundle` enum('0','1') NOT NULL DEFAULT '0',
`cmd_changename` enum('0','1') NOT NULL DEFAULT '0',
`cmd_chatcolor` enum('0','1') NOT NULL DEFAULT '0',
`cmd_commands` enum('0','1') NOT NULL DEFAULT '1',
`cmd_connect_camera` enum('0','1') NOT NULL DEFAULT '0',
`cmd_control` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_coords` enum('0','1','2') NOT NULL DEFAULT '2',
`cmd_credits` enum('0','1') NOT NULL DEFAULT '0',
`cmd_danceall` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_diagonal` enum('0','1','2') NOT NULL DEFAULT '1',
`cmd_disconnect` enum('0','1') NOT NULL DEFAULT '0',
`cmd_duckets` enum('0','1') NOT NULL DEFAULT '0',
`cmd_ejectall` enum('0','1','2') NOT NULL DEFAULT '2',
`cmd_empty` enum('0','1') NOT NULL DEFAULT '1',
`cmd_empty_bots` enum('0','1') NOT NULL DEFAULT '1',
`cmd_empty_pets` enum('0','1') NOT NULL DEFAULT '1',
`cmd_enable` enum('0','1','2') NOT NULL DEFAULT '1',
`cmd_event` enum('0','1') NOT NULL DEFAULT '0',
`cmd_faceless` enum('0','1') NOT NULL DEFAULT '0',
`cmd_fastwalk` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_freeze` enum('0','1') NOT NULL DEFAULT '0',
`cmd_freeze_bots` enum('0','1','2') NOT NULL DEFAULT '1',
`cmd_gift` enum('0','1') NOT NULL DEFAULT '0',
`cmd_give_rank` enum('0','1') NOT NULL DEFAULT '0',
`cmd_ha` enum('0','1') NOT NULL DEFAULT '0',
`cmd_hal` enum('0','1') NOT NULL DEFAULT '0',
`cmd_ip_ban` enum('0','1') NOT NULL DEFAULT '0',
`cmd_machine_ban` enum('0','1') NOT NULL DEFAULT '0',
`cmd_hand_item` enum('0','1','2') NOT NULL DEFAULT '1',
`cmd_happyhour` enum('0','1') NOT NULL DEFAULT '0',
`cmd_kickall` enum('0','1','2') NOT NULL DEFAULT '2',
`cmd_massbadge` enum('0','1') NOT NULL DEFAULT '0',
`cmd_masscredits` enum('0','1') NOT NULL DEFAULT '0',
`cmd_massduckets` enum('0','1') NOT NULL DEFAULT '0',
`cmd_massgift` enum('0','1') NOT NULL DEFAULT '0',
`cmd_masspoints` enum('0','1') NOT NULL DEFAULT '0',
`cmd_moonwalk` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_mimic` enum('0','1') NOT NULL DEFAULT '0',
`cmd_multi` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_mute` enum('0','1') NOT NULL DEFAULT '0',
`cmd_pet_info` enum('0','1','2') NOT NULL DEFAULT '2',
`cmd_pickall` enum('0','1') NOT NULL DEFAULT '1',
`cmd_plugins` enum('0','1') NOT NULL DEFAULT '1',
`cmd_points` enum('0','1') NOT NULL DEFAULT '0',
`cmd_pull` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_push` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_redeem` enum('0','1') NOT NULL DEFAULT '0',
`cmd_reload_room` enum('0','1','2') NOT NULL DEFAULT '2',
`cmd_roomalert` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_roomcredits` enum('0','1') NOT NULL DEFAULT '0',
`cmd_roomeffect` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_roomgift` enum('0','1') NOT NULL DEFAULT '0',
`cmd_roomitem` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_roommute` enum('0','1') NOT NULL DEFAULT '0',
`cmd_roompixels` enum('0','1') NOT NULL DEFAULT '0',
`cmd_roompoints` enum('0','1') NOT NULL DEFAULT '0',
`cmd_say` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_say_all` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_setmax` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_set_poll` enum('0','1') NOT NULL DEFAULT '0',
`cmd_setpublic` enum('0','1') NOT NULL DEFAULT '0',
`cmd_setspeed` enum('0','1','2') NOT NULL DEFAULT '1',
`cmd_shout` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_shout_all` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_shutdown` enum('0','1') NOT NULL DEFAULT '0',
`cmd_sitdown` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_staffalert` enum('0','1') NOT NULL DEFAULT '0',
`cmd_staffonline` enum('0','1') NOT NULL DEFAULT '0',
`cmd_summon` enum('0','1') NOT NULL DEFAULT '0',
`cmd_summonrank` enum('0','1') NOT NULL DEFAULT '0',
`cmd_super_ban` enum('0','1') NOT NULL DEFAULT '0',
`cmd_stalk` enum('0','1') NOT NULL DEFAULT '0',
`cmd_superpull` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_take_badge` enum('0','1') NOT NULL DEFAULT '0',
`cmd_talk` enum('0','1') NOT NULL DEFAULT '0',
`cmd_teleport` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_trash` enum('0','1') NOT NULL DEFAULT '0',
`cmd_transform` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_unban` enum('0','1') NOT NULL DEFAULT '0',
`cmd_unload` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_unmute` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_bots` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_catalogue` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_config` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_guildparts` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_hotel_view` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_items` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_navigator` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_permissions` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_pet_data` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_plugins` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_polls` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_texts` enum('0','1') NOT NULL DEFAULT '0',
`cmd_update_wordfilter` enum('0','1') NOT NULL DEFAULT '0',
`cmd_userinfo` enum('0','1') NOT NULL DEFAULT '0',
`cmd_word_quiz` enum('0','1','2') NOT NULL DEFAULT '0',
`cmd_warp` enum('0','1') NOT NULL DEFAULT '0',
`acc_anychatcolor` enum('0','1') NOT NULL DEFAULT '0',
`acc_anyroomowner` enum('0','1') NOT NULL DEFAULT '0',
`acc_empty_others` enum('0','1') NOT NULL DEFAULT '0',
`acc_enable_others` enum('0','1') NOT NULL DEFAULT '0',
`acc_see_whispers` enum('0','1') NOT NULL DEFAULT '0',
`acc_superwired` enum('0','1') NOT NULL DEFAULT '0',
`acc_supporttool` enum('0','1') NOT NULL DEFAULT '0',
`acc_unkickable` enum('0','1') NOT NULL DEFAULT '0',
`acc_guildgate` enum('0','1') NOT NULL DEFAULT '0',
`acc_moverotate` enum('0','1') NOT NULL DEFAULT '0',
`acc_placefurni` enum('0','1') NOT NULL DEFAULT '0',
`acc_unlimited_bots` enum('0','1','2') NOT NULL DEFAULT '0' COMMENT 'Overrides the bot restriction to the inventory and room.',
`acc_unlimited_pets` enum('0','1','2') NOT NULL DEFAULT '0' COMMENT 'Overrides the pet restriction to the inventory and room.',
`acc_hide_ip` enum('0','1') NOT NULL DEFAULT '0',
`acc_not_mimiced` enum('0','1') NOT NULL DEFAULT '0',
`acc_chat_no_flood` enum('0','1') NOT NULL DEFAULT '0',
`acc_staff_chat` enum('0','1') NOT NULL DEFAULT '0',
`acc_staff_pick` enum('0','1') NOT NULL DEFAULT '0',
`acc_enteranyroom` enum('0','1') NOT NULL DEFAULT '0',
`acc_fullrooms` enum('0','1') NOT NULL DEFAULT '0',
`acc_infinite_credits` enum('0','1') NOT NULL DEFAULT '0',
`acc_infinite_pixels` enum('0','1') NOT NULL DEFAULT '0',
`acc_infinite_points` enum('0','1') NOT NULL DEFAULT '0',
`acc_ambassador` enum('0','1') NOT NULL DEFAULT '0',
`acc_debug` enum('0','1') NOT NULL DEFAULT '0',
`acc_chat_no_limit` enum('0','1') NOT NULL DEFAULT '0' COMMENT 'People with this permission node are always heard and can see all chat in the room regarding of maximum hearing distance in the room settings (In game)',
`acc_chat_no_filter` enum('0','1') NOT NULL DEFAULT '0',
`acc_nomute` enum('0','1') NOT NULL DEFAULT '0',
`acc_guild_admin` enum('0','1') NOT NULL DEFAULT '0',
`acc_catalog_ids` enum('0','1') NOT NULL DEFAULT '0',
`acc_modtool_ticket_q` enum('0','1') NOT NULL DEFAULT '0',
`acc_modtool_user_logs` enum('0','1') NOT NULL DEFAULT '0',
`acc_modtool_user_alert` enum('0','1') NOT NULL DEFAULT '0',
`acc_modtool_user_kick` enum('0','1') NOT NULL DEFAULT '0',
`acc_modtool_user_ban` enum('0','1') NOT NULL DEFAULT '0',
`acc_modtool_room_info` enum('0','1') NOT NULL DEFAULT '0',
`acc_modtool_room_logs` enum('0','1') NOT NULL DEFAULT '0',
`acc_trade_anywhere` enum('0','1') NOT NULL DEFAULT '0',
`acc_update_notifications` enum('0','1') NOT NULL DEFAULT '0',
`acc_helper_use_guide_tool` enum('0','1') NOT NULL DEFAULT '0',
`acc_helper_give_guide_tours` enum('0','1') NOT NULL DEFAULT '0',
`acc_helper_judge_chat_reviews` enum('0','1') NOT NULL DEFAULT '0',
`acc_floorplan_editor` enum('0','1') NOT NULL DEFAULT '0',
`acc_camera` enum('0','1') NOT NULL DEFAULT '0',
`cmd_wordquiz` enum('0','1','2') NOT NULL DEFAULT '0',
`acc_room_staff_tags` enum('0','1') NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `permissions`
--
INSERT INTO `permissions` (`id`, `rank_name`, `level`, `room_effect`, `log_commands`, `prefix`, `prefix_color`, `cmd_about`, `cmd_alert`, `cmd_allow_trading`, `cmd_badge`, `cmd_ban`, `cmd_blockalert`, `cmd_bots`, `cmd_bundle`, `cmd_changename`, `cmd_chatcolor`, `cmd_commands`, `cmd_connect_camera`, `cmd_control`, `cmd_coords`, `cmd_credits`, `cmd_danceall`, `cmd_diagonal`, `cmd_disconnect`, `cmd_duckets`, `cmd_ejectall`, `cmd_empty`, `cmd_empty_bots`, `cmd_empty_pets`, `cmd_enable`, `cmd_event`, `cmd_faceless`, `cmd_fastwalk`, `cmd_freeze`, `cmd_freeze_bots`, `cmd_gift`, `cmd_give_rank`, `cmd_ha`, `cmd_hal`, `cmd_ip_ban`, `cmd_machine_ban`, `cmd_hand_item`, `cmd_happyhour`, `cmd_kickall`, `cmd_massbadge`, `cmd_masscredits`, `cmd_massduckets`, `cmd_massgift`, `cmd_masspoints`, `cmd_moonwalk`, `cmd_mimic`, `cmd_multi`, `cmd_mute`, `cmd_pet_info`, `cmd_pickall`, `cmd_plugins`, `cmd_points`, `cmd_pull`, `cmd_push`, `cmd_redeem`, `cmd_reload_room`, `cmd_roomalert`, `cmd_roomcredits`, `cmd_roomeffect`, `cmd_roomgift`, `cmd_roomitem`, `cmd_roommute`, `cmd_roompixels`, `cmd_roompoints`, `cmd_say`, `cmd_say_all`, `cmd_setmax`, `cmd_set_poll`, `cmd_setpublic`, `cmd_setspeed`, `cmd_shout`, `cmd_shout_all`, `cmd_shutdown`, `cmd_sitdown`, `cmd_staffalert`, `cmd_staffonline`, `cmd_summon`, `cmd_summonrank`, `cmd_super_ban`, `cmd_stalk`, `cmd_superpull`, `cmd_take_badge`, `cmd_talk`, `cmd_teleport`, `cmd_trash`, `cmd_transform`, `cmd_unban`, `cmd_unload`, `cmd_unmute`, `cmd_update_bots`, `cmd_update_catalogue`, `cmd_update_config`, `cmd_update_guildparts`, `cmd_update_hotel_view`, `cmd_update_items`, `cmd_update_navigator`, `cmd_update_permissions`, `cmd_update_pet_data`, `cmd_update_plugins`, `cmd_update_polls`, `cmd_update_texts`, `cmd_update_wordfilter`, `cmd_userinfo`, `cmd_word_quiz`, `cmd_warp`, `acc_anychatcolor`, `acc_anyroomowner`, `acc_empty_others`, `acc_enable_others`, `acc_see_whispers`, `acc_superwired`, `acc_supporttool`, `acc_unkickable`, `acc_guildgate`, `acc_moverotate`, `acc_placefurni`, `acc_unlimited_bots`, `acc_unlimited_pets`, `acc_hide_ip`, `acc_not_mimiced`, `acc_chat_no_flood`, `acc_staff_chat`, `acc_staff_pick`, `acc_enteranyroom`, `acc_fullrooms`, `acc_infinite_credits`, `acc_infinite_pixels`, `acc_infinite_points`, `acc_ambassador`, `acc_debug`, `acc_chat_no_limit`, `acc_chat_no_filter`, `acc_nomute`, `acc_guild_admin`, `acc_catalog_ids`, `acc_modtool_ticket_q`, `acc_modtool_user_logs`, `acc_modtool_user_alert`, `acc_modtool_user_kick`, `acc_modtool_user_ban`, `acc_modtool_room_info`, `acc_modtool_room_logs`, `acc_trade_anywhere`, `acc_update_notifications`, `acc_helper_use_guide_tool`, `acc_helper_give_guide_tours`, `acc_helper_judge_chat_reviews`, `acc_floorplan_editor`, `acc_camera`, `cmd_wordquiz`, `acc_room_staff_tags`) VALUES
(1, 'Member', 1, 0, '0', '', '', '1', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '1', '0', '0', '1', '0', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
(2, 'Silver VIP', 1, 0, '0', '', '', '1', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
(3, 'Gold VIP', 1, 0, '0', '', '', '1', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
(4, 'Event Staff', 1, 0, '1', '', '', '1', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
(5, 'Trial Moderator', 1, 0, '1', '', '', '1', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
(6, 'Moderator', 1, 0, '1', '', '', '1', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '0', '0', '0', '1', '0', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
(7, 'Senior Moderator', 1, 0, '1', '', '', '1', '1', '0', '1', '1', '1', '1', '1', '0', '1', '1', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '1', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '0', '0', '1', '0', '1', '0', '0', '0', '1', '1', '0', '0', '1', '1', '1', '1', '1', '1', '0', '1', '1', '1', '0', '1', '1', '0', '1', '1', '1', '0', '1', '1', '0', '0', '1', '1', '1', '0', '1', '0', '1', '1', '1', '0', '1', '1', '1', '0', '1', '1', '1', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0'),
(8, 'Administrator', 1, 0, '1', '', '', '1', '1', '1', '1', '1', '1', '1', '0', '1', '1', '1', '0', '0', '2', '1', '0', '1', '0', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '0', '1', '1', '1', '0', '1', '0', '2', '0', '0', '0', '0', '0', '1', '1', '0', '1', '2', '1', '1', '0', '1', '1', '1', '2', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '1', '1', '1', '1', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '1', '1', '0', '0', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '1', '0', '0'),
(9, 'Managers', 1, 0, '1', '', '', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '2', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '1', '0', '1', '1', '1', '1', '1', '1', '1', '1', '0', '1', '1', '1', '1', '1', '1', '0', '0', '1', '1', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'),
(10, 'Co-Owners', 1, 0, '1', '', '', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1'),
(11, 'Owner', 1, 0, '1', '', '', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '2', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `cms_comments`
--
ALTER TABLE `cms_comments`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `cms_news`
--
ALTER TABLE `cms_news`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `cms_comments`
--
ALTER TABLE `cms_comments`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `cms_news`
--
ALTER TABLE `cms_news`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;COMMIT;
CREATE TABLE `staff_report` (
`id` int(10) UNSIGNED NOT NULL,
`complaint` varchar(64) DEFAULT NULL,
`staff` varchar(25) DEFAULT NULL,
`explanation` text NOT NULL,
`moreinfo` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `staff_report`
--
INSERT INTO `staff_report` (`id`, `complaint`, `staff`, `explanation`, `moreinfo`) VALUES
(1, 'Complaint against a member of staff', 'MOD-AccountTest', 'rejhkerhjkerthkjrtkhj', 'jfrjkhfdhjkdfhjkfgdkhjgfjkh');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `staff_report`
--
ALTER TABLE `staff_report`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `staff_report`
--
ALTER TABLE `staff_report`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;COMMIT;
Credits:
The General - Arcturus Emulator
Glee - Customize RevCMS for Arcturus Emulator
Retro Community for assisting me PHP Coding from the Help Section!
If you have suggestion to add into the CMS please let me know!
PS2: I'm willing to make some badges for your hotel to host on the staff page!! It might take some time as I do have a life!
UPDATES:
go into includes/subnavi.php and remove
PHP:
//
from the beginning
Coded Home.php with Publish of the Camera!
Replace your old home.php with this
- Selects the badges and Camera Images
PHP:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - {username}</title>
<link rel="shortcut icon" href="https://images.boon.pw/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon"/>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css"/>
<script src="{url}/app/tpl/skins/Habbo/js/libs2.js" type="text/javascript"></script>
<script src="{url}/app/tpl/skins/Habbo/js/visual.js" type="text/javascript"></script>
<script src="{url}/app/tpl/skins/Habbo/js/libs.js" type="text/javascript"></script>
<script src="{url}/app/tpl/skins/Habbo/js/common.js" type="text/javascript"></script>
<script src="{url}/app/tpl/skins/Habbo/js/fullcontent.js" type="text/javascript"></script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "{username}";
var habboId = {userid};
var habboReqPath = "";
var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "{url}/client";
window.name = "habboMain";
if (typeof HabboClient != "undefined") {
HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a";
HabboClient.maximizeWindow = true;
}
</script>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/home.css" type="text/css"/>
<link href="{url}/app/tpl/skins/Habbo/styles/other.css" type="text/css" rel="stylesheet"/>
<link href="{url}/app/tpl/skins/Habbo/styles/backgrounds.css" type="text/css" rel="stylesheet"/>
<link href="{url}/app/tpl/skins/Habbo/styles/stickers.css" type="text/css" rel="stylesheet"/>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/lightwindow.css" type="text/css"/>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/group.css" type="text/css"/>
<style type="text/css">#playground,#playground-outer{width:752px;height:1360px;}</style>
<script type="text/javascript">
document.observe("dom:loaded", function() { initView(55331348, 55331348); });
</script>
<body id="home">
<?php
$navigatorID = 1;
require_once ('includes/header.php');
?>
</div>
</div>
</div>
<div id="content-container">
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<?php
$subNavigatorID = 2;
require_once ('includes/subnavi.php');
?>
</ul>
</div>
</div>
</div>
<div id="container">
<div id="content" style="position: relative" class="clearfix">
<div id="column2" class="column">
<div class="habblet-container ">
<div class="cbb clearfix pixeldarkblue ">
<h2 class="title"><span style="float: left;">{username}</span></h2>
<div class="box-content"><table width="107%" style="padding: 5px; margin-left: -15px; background-color: #fff;">
<?php
$getUserInfo = mysql_query("SELECT * FROM `users` WHERE id = '".$_SESSION[user][id]."'");
while ($userInfo= mysql_fetch_assoc($getUserInfo))
{
echo '
<tbody>
<tr>
<td valign="middle" width="25">
<img style="margin-top: -10px;" src="http://www.habbo.com/habbo-imaging/avatarimage?figure=' .$userInfo['look'] . '&size=m&gesture=sml">
</td>
<td valign="top">
<p style="font-size: 90%;">Username: <strong>' .$userInfo['username'] . '</strong>
<br>Motto: <strong>' .$userInfo['motto'] . '</strong>
<br><i>Last Online: {lastSignedIn}</i></p>
<br/></td>
<td valign="top" style="float: right;">
' . (($userInfo['online'] == "1") ? '
<img src="../app/tpl/skins/Habbo/web-gallery/v2/images/habbo_online.gif"/>':'<img src="../app/tpl/skins/Habbo/web-gallery/v2/images/habbo_offline.gif"/>') . '
</td>
</tr>
</tbody>
</table>
<tbody>
<tr>
';
}
?>
</div>
</div>
</div>
<div id="column2" class="column">
<div class="habblet-container ">
<div class="cbb clearfix blue ">
<h2 class="title">Badges</h2>
<div class="habblet box-content" style="align:left">
<?php
$getUserBadges = mysql_query("SELECT * FROM `users_badges` WHERE user_id = '".$_SESSION[user][id]."'");
while ($userBadges= mysql_fetch_assoc($getUserBadges))
{
echo '<img title="' .$userBadges[badge_code]. '" src="{url}/swfs/c_images/album1584/' .$userBadges[badge_code]. '.gif">';
}
?>
</div>
</div>
</div>
</div>
</div>
<?php
$getUserCam = mysql_query("SELECT * FROM `camera_web` WHERE user_id = '".$_SESSION[user][id]."'");
while ($userCam= mysql_fetch_assoc($getUserCam))
{
echo '
<div id="column1" class="column">
<div class="habblet-container ">
<div class="cbb clearfix green ">
<div class="habblet box-content" style="align:left">
<b>Posted on: ' . date('l d F Y g:i:s', $userCam['timestamp']) . '</b>
<hr>
<div><img src="' .$userCam[url]. '">
<hr>
</div>
</div>
</div>
';
}
?>
</div>
</div>
</tr>
</table>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<script type="text/javascript">
Event.observe(window, "load", observeAnim);
document.observe("dom:loaded", function() {
initDraggableDialogs();
repositionInvalidItems();
});
</script>
</div>
</div>
<script type="text/javascript">
HabboView.run();
</script>
<!--[if lt IE 7]>
<script type="text/javascript">
Pngfix.doPngImageFix();
</script>
<![endif]-->
</div>
</td>
<div id="footer">
<br />
</div>
<?php include('includes/footer.php'); ?>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
</div>
</div>
</div>
</body>
</html>
Last edited: