function spa_render_options_panel($formid)
{
    ?>
	<div class="clearboth"></div>

	<div class="wrap sfatag">
		<?php 
    spa_render_sidemenu();
    ?>
		<div id='sfmsgspot'></div>
		<div id="sfmaincontainer">
			<?php 
    spa_render_options_container($formid);
    ?>
		</div>
			<div class="clearboth"></div>
	</div>
<?php 
}
}
include_once SF_PLUGIN_DIR . '/admin/panel-options/spa-options-display.php';
include_once SF_PLUGIN_DIR . '/admin/panel-options/support/spa-options-prepare.php';
include_once SF_PLUGIN_DIR . '/admin/panel-options/support/spa-options-save.php';
include_once SF_PLUGIN_DIR . '/admin/library/spa-tab-support.php';
global $adminhelpfile;
$adminhelpfile = 'admin-options';
# --------------------------------------------------------------------
# ----------------------------------
# Check Whether User Can Manage Options
if (!sp_current_user_can('SPF Manage Options')) {
    spa_etext('Access denied - you do not have permission');
    die;
}
if (isset($_GET['loadform'])) {
    spa_render_options_container($_GET['loadform']);
    die;
}
if (isset($_GET['saveform'])) {
    switch ($_GET['saveform']) {
        case 'global':
            echo spa_save_global_data();
            break;
        case 'display':
            echo spa_save_display_data();
            break;
        case 'content':
            echo spa_save_content_data();
            break;
        case 'members':
            echo spa_save_members_data();