function mainfrm($step, $lang) { switch ($step) { case '1': step_1($lang); break; case '2': step_2($lang); break; case '3': step_3($lang); break; case '4': step_4($lang); break; } }
$sql = "update cs_companydetails set cd_completion=1 where userId='{$userId}'"; sql_query_write($sql) or dieLog(mysql_error() . " ~{$sql}"); } step_2($en_ID); step_3($en_ID); toLog('completedapplication', 'merchant', '', $en_ID); $sql = "update cs_companydetails set cd_completion=3 where userId='{$userId}'"; sql_query_write($sql) or dieLog(mysql_error() . " ~{$sql}"); en_status_change_notify($en_ID); toLog('requestrates', 'merchant', '', $curUserInfo['userId']); beginTable(); echo "<b>You have successfully completed your Merchant Application. Please proceed to the Request Rates section to submit your Rates Request.</b>"; endTable("Merchant Application Complete!", "merchantContract.php", true, false, true); } else { if ($step == 3) { step_3($en_ID, false); } else { if ($step == 2) { step_2($en_ID, false); } else { step_1($en_ID, false); } } } die; function draw_step_buttons($step = 1, $disable = false) { if ($disable) { $disabled = ' disabled'; } else { $disabled = '';
if ($minor != '') { $VERSION .= (is_numeric($minor[0]) ? '.' : '-') . $minor; } $CHMOD_ARRAY = get_chmod_array(); $password_prompt = new ocp_tempcode(); if (!array_key_exists('step', $_GET)) { $_GET['step'] = '1'; } if (intval($_GET['step']) == 1) { $content = step_1(); } if (intval($_GET['step']) == 2) { $content = step_2(); } if (intval($_GET['step']) == 3) { $content = step_3(); } if (intval($_GET['step']) == 4) { $content = step_4(); $forum_type = get_param('forum_type', ''); if ($forum_type == 'none') { $username = '******'; } /*if (!is_null($username)) $password_prompt_2=do_lang_tempcode('CONFIRM_ADMIN_PASSWORD_2',escape_html($username)); else */ $password_prompt_2 = new ocp_tempcode(); $password_prompt = do_lang_tempcode('CONFIRM_ADMIN_PASSWORD', $password_prompt_2); } if (intval($_GET['step']) == 5) { $content = step_5();
case '1': check_installed_file_exists() ? header('Location: ../magmi.php') : ""; // Show progress bar show_progress(1); // Show the step step_1(); break; case '2': check_installed_file_exists() ? header('Location: ../magmi.php') : ""; show_progress(2); step_2(); break; case '3': check_installed_file_exists() ? header('Location: ../magmi.php') : ""; show_progress(3); step_3(); break; case '4': show_progress(4); step_4(); break; default: check_installed_file_exists() ? header('Location: ../magmi.php') : ""; show_progress(1); step_1(); } ?> </div> </div><!-- /actions --> <div style="clear:both;"></div>
} $bg_image = array('image-0', 'image-1', 'image-2', 'image-3', 'image-4', 'image-5'); $step = $_GET['step']; if (!isset($step)) { $view_bg_image = $bg_image[0]; $script = step_0($content); } elseif ($step == 1) { $view_bg_image = $bg_image[$step]; $script = step_1($content); } elseif ($step == 2) { $view_bg_image = $bg_image[$step]; $question = $_GET['question']; $script = step_2($content, $question); } elseif ($step == 3) { $view_bg_image = $bg_image[$step]; $script = step_3($content); } elseif ($step == 4) { $view_bg_image = $bg_image[$step]; $script = step_4($content); } elseif ($step == 5) { $view_bg_image = $bg_image[$step]; $script = step_5($content); } ?> <div id="wrapper" style="background:url(<?php echo $view_bg_image; if (isset($_GET['question'])) { echo '-' . $_GET['question']; } ?>
function alcyone_slider_edit_page() { if (!current_user_can('edit_theme_options')) { wp_die(__('You do not have permission to customize rotating headers.')); } $step = alcyone_admin_step(); if (1 == $step) { step_1($_GET['banner']); } elseif (2 == $step) { step_2($_GET['banner']); } elseif (3 == $step) { step_3($_GET['banner']); } }