Exemplo n.º 1
0
        }
        break;
    case '5':
        if (osc_in_array('configure', $_POST['install'])) {
            if (isset($_POST['ENABLE_SSL']) && $_POST['ENABLE_SSL'] == 'true') {
                $page_contents = 'install_5.php';
            } else {
                $page_contents = 'install_6.php';
            }
        } else {
            $page_contents = 'install.php';
        }
        break;
    case '6':
        if (osc_in_array('configure', $_POST['install'])) {
            $page_contents = 'install_6.php';
        } else {
            $page_contents = 'install.php';
        }
        break;
    case '7':
        if (osc_in_array('configure', $_POST['install'])) {
            $page_contents = 'install_7.php';
        } else {
            $page_contents = 'install.php';
        }
        break;
    default:
        $page_contents = 'install.php';
}
require 'templates/main_page.php';
Exemplo n.º 2
0
                    for ($i = 0; $i < sizeof($value); $i++) {
                        echo osc_draw_hidden_field($key . '[]', $value[$i]);
                    }
                } else {
                    echo osc_draw_hidden_field($key, $value);
                }
            }
        }
        ?>

<p>&nbsp;</p>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
<?php 
        if (osc_in_array('configure', $HTTP_POST_VARS['install'])) {
            ?>
    <td align="center"><input type="image" src="images/button_continue.gif" border="0" alt="Continue"></td>
<?php 
        } else {
            ?>
    <td align="center"><a href="index.php"><img src="images/button_continue.gif" border="0" alt="Continue"></a></td>
<?php 
        }
        ?>
  </tr>
</table>

</form>

<?php