INSERT INTO `module` (`module_id`, `is_configurable`, `name`, `title`, `description`, `admin_uri`, `icon`, `maintainers`, `version`, `license`, `state`) VALUES ({SGL_NEXT_ID}, 1, 'tryout', 'tryout', 'Tryout', 'tryout/tryout', '48/module_default.png', 'RV Global Soft Teams', 'null', 'RV Global Soft', 'Stable');
#==============================================================#
# add usr demotryout@rvsitebuilder.com default By apiruk 08-Sep-2006 modify By duangdao.k 19 Nov 2009 #
#==============================================================#
INSERT INTO usr (usr_id, organisation_id, role_id, username, passwd, first_name, last_name, telephone, mobile, email, addr_1, addr_2, addr_3, city, region, country, post_code, is_email_public, is_acct_active, user_expire, security_question, security_answer, date_created, created_by, last_updated, updated_by) VALUES (999999999, 0, 2, 'demotryout', '46737dfb65086ca01c84b89c9fd547ab', 'demo', 'demo', '', '', 'demo@rvsitebuilder.com', 'demo', '', '', 'demo', '', 'TH', '00000', 1, 1,'0000-00-00 00:00:00', 1, 'demo', '2009-11-19 10:33:45', 1, '2009-11-19 14:56:45', 1);
#==============================================================#
# add usr_tmp #
#==============================================================#
INSERT INTO `usr_tmp` (`usr_id`, `username`, `passwd`) VALUES
(999999999, 'demotryout', '->Gb)Ofu]-');
#==============================================================#
#==============================================================#
# add change_password #
#==============================================================#
INSERT INTO `change_password` (`usr_id`, `username`, `update_password`) VALUES
(999999999, 'demotryout', '2009-11-19 10:33:45');
#==============================================================#
# user demo@rvsitebuilder.com is member add user_permission #
#==============================================================#
SELECT @permissionId := permission_id FROM permission WHERE name = 'defaultmgr_cmd_list';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'accountmgr';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'accountmgr_cmd_summary';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'loginmgr';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'loginmgr_cmd_list';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'loginmgr_cmd_login';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'loginmgr_cmd_logout';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'registermgr_cmd_add';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'registermgr_cmd_insert';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'contactusmgr_cmd_send';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'contactusmgr_cmd_list';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'faqmgr_cmd_list';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'guestbookmgr';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'contactmgr_cmd_insert';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'contactmgr_cmd_delete';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'contactmgr_cmd_list';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'userPassword';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'userPassword_cmd_edit';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'userPassword_cmd_update';
SELECT @permissionId := permission_id FROM permission WHERE name = 'userpreference';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'userpreference_cmd_editAll';
INSERT INTO user_permission (user_permission_id, usr_id, permission_id) VALUES ({SGL_NEXT_ID}, 999999999, @permissionId);
SELECT @permissionId := permission_id FROM permission WHERE name = 'userpreference_cmd_updateAll';
Copyright 2K16 - 2K18 Indonesian Hacker Rulez