{@ $steps = array("" => 1 , "dispInstallCheckEnv" => 2 , "dispInstallSelectDB3" => 3 , "dispInstallSelectDB4" => 4 , "dispInstallDBForm" => 5 , "dispInstallConfigForm" => 6 , "dispInstallManagerForm" => 7 , "dispInstallFinal" => 8 ); } {@ $current_step = $steps[$act.$progressMenu]; }