Пример #1
0
        break;
    case 'step5':
        // Step 5: Get DB Parameters
        step5();
        break;
    case 'step6':
        //Step 6: Check read/write access to DB
        step6();
        break;
    case 'step7':
        // Step 7: Review setup before commit
        step7();
        break;
    case 'step8':
        // Step 8: Write main configuration file and DB configuration file
        step8();
        break;
    case 'step9':
        // Step 9: Install DB Tables and default data
        step9();
        break;
    case 'step10':
        // Step 10: Check site security
        step10();
        break;
    default:
        // Step 0: Welcome to install
        step0();
        break;
}
//end switch
Пример #2
0
	if(isset($_POST["ucarp_vid"])){step0_save();exit;}
	if(isset($_POST["second_ipaddr"])){step0_save();exit;}
	if(isset($_POST["SLAVE"])){step0_save();exit;}
	
	
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["step1"])){step1();exit;}
	if(isset($_GET["step2"])){step2();exit;}
	if(isset($_GET["step3"])){step3();exit;}
	if(isset($_GET["step4"])){step4();exit;}
	if(isset($_GET["step5"])){step5();exit;}
	if(isset($_GET["step6"])){step6();exit;}
	if(isset($_GET["step7"])){step7();exit;}
	if(isset($_GET["step8"])){step8();exit;}
	if(isset($_GET["unlink-js"])){unlink_js();exit;}
	if(isset($_GET["unlink-step1"])){unlink_setp1();exit;}
	if(isset($_GET["unlink-step2"])){unlink_setp2();exit;}
	if(isset($_GET["unlink-notify-slave"])){unlink_notify_slave();exit;}
	if(isset($_GET["unlink-reconfigure"])){unlink_reconfigure();exit;}
	if(isset($_GET["unlink-step3"])){unlink_setp3();exit;}
	
	if(isset($_POST["StepR1"])){die();}
	
js();

function js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();