session_begin(false); $auth->acl($user->data); $user->setup(); // Set custom template for admin area $template->set_custom_template($phpbb_root_path . 'adm/style', 'admin'); $template->set_filenames(array( 'body' => 'colour_swatch.html') ); $template->assign_vars(array( 'OPENER' => addslashes(request_var('form', '')), 'NAME' => request_var('name', ''), 'T_IMAGES_PATH' => "{$phpbb_root_path}images/", 'S_USER_LANG' => $user->lang['USER_LANG'], 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'], 'S_CONTENT_ENCODING' => 'UTF-8', 'S_CONTENT_DIR_LEFT' => $user->lang['LEFT'], 'S_CONTENT_DIR_RIGHT' => $user->lang['RIGHT'], )); $template->display('body'); garbage_collection(); ?>