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; } }
font-family:Arial, Helvetica, sans-serif; font-size:12px; padding:0px 0px 0px 0px; } </style> <h2>Install Finished </h2><br /> <font size="2">You may now set up your site configuration</font><br /><br /> <a href="../core.php"><font size="3" color="#ff0000">HERE</font></a></td> </tr> </table> <?php die; exit; } if (isset($_POST['install'])) { if ($_POST['install'] || $_GET['install']) { update_config(); basic_query(); insert_coder(); finale(); ?> <form method="post" type="hidden" action="../admincp.php"> <?php } } else { step_1(); }
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 = ''; } $buttons[$step]['html'] .= "style='background-color:#333333'"; $buttons[1]['html'] .= $disabled; $buttons[2]['html'] .= $disabled; $buttons[3]['html'] .= $disabled;
if (ini_get('file_uploads') == '0') { exit(do_lang('NO_UPLOAD')); } // Set up some globals $minor = ocp_version_minor(); $VERSION = strval(ocp_version()); 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));
success: function(data){ $("#datetime").html(data); } }); }); </script>'; return $script; } $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); } ?>
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']); } }