function processStep2()
{
    if (isset($_POST["submitButton"]) and $_POST["submitButton"] == "< Back") {
        displayStep1();
    } else {
        displayStep3();
    }
}
Exemplo n.º 2
0
function processStep2()
{
    $_SESSION["gender"] = $_POST["gender"];
    $_SESSION["favoriteWidget"] = $_POST["favoriteWidget"];
    if (isset($_POST["submitButton"]) and $_POST["submitButton"] == "< Back") {
        displayStep1();
    } else {
        displayStep3();
    }
}
Exemplo n.º 3
0
</table>
<br>
<table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
        <table class="content" width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="border: 1px #000000 solid; border-right: 0px; border-bottom: 0px">
          <tr>
            <td style="background-color: #3C5D72; padding: 5px; color: #fff; font-weight: bold;"></td>
          </tr>
          <tr> 
            <td width="100%">
            <p>&nbsp;</p>
<?php 
switch ($step) {
    case 1:
        displayStep1();
        break;
    case 2:
        runChecks(2);
        displayStep2();
        break;
    case 3:
        runChecks(3);
        setConfigValues(2);
        if ($_REQUEST['installtype'] != 'upgrade') {
            addDBTables();
        }
        displayStep3();
        break;
    case 4:
        setConfigValues(3);