Exemplo n.º 1
0
function show_default()
{
    show_step1();
}
Exemplo n.º 2
0
require_once 'mod_owned.php';
require_once 'mod_settings.php';
require_once 'mod_setup.php';
$show_default = true;
echo '<h1>Setup a New Listing</h1>';
$step = isset($_REQUEST['step']) ? $_REQUEST['step'] : '1';
switch ($step) {
    case 1:
        // setup required values and create database
        show_step1();
        break;
    case 2:
        $success = do_step1();
        if ($success) {
            show_step2();
        } else {
            show_step1();
        }
        break;
    default:
        ?>
      <p>
      Ooops! There is no Step #<?php 
        echo $step;
        ?>
. Please hit Back to continue!
      </p>
<?php 
        break;
}
require_once 'footer.php';