Exemple #1
0
  include_once 'header.php';

/*  This starts the switch statement that filters through the form options.
 *  the @ is in front of $op to suppress error messages if $op is unset and E_ALL
 *  is on
 */
 switch (@$op) {

    case "Finish":
      print_oosFinish();
      break;

    case 'Set Login':
      oosDBInit($dbhost, $dbuname, $dbpass, $dbname, $dbtype);
      oosInputData($gender, $firstname, $name, $pwd, $repeatpwd, $email, $phone, $fax, $prefix_table, $update);
      oosUpdateConfigShop(true); // Scott - added

      print_SetLogin();
      break;

    case 'Change Login':
      print_ChangeLogin();
      break;

    case 'Login':
      if ( ($pwd == '') || ($email == '') || ($pwd != $repeatpwd) ) {
        print_ChangeLogin();
      } else {
        print_Login();
      }
      break;
Exemple #2
0
    $dbpass = base64_decode($dbpass);
}
installer_get_language();
include_once 'header.php';
/*  This starts the switch statement that filters through the form options.
 *  the @ is in front of $op to suppress error messages if $op is unset and E_ALL
 *  is on
 */
switch (@$op) {
    case "Finish":
        print_oosFinish();
        break;
    case 'Set Login':
        oosDBInit($dbhost, $dbuname, $dbpass, $dbname, $dbtype);
        oosInputData($gender, $firstname, $name, $pwd, $repeatpwd, $email, $phone, $fax, $prefix_table, $update);
        oosUpdateConfigShop(true);
        // Scott - added
        print_SetLogin();
        break;
    case 'Change Login':
        print_ChangeLogin();
        break;
    case 'Login':
        if ($pwd == '' || $email == '' || $pwd != $repeatpwd) {
            print_ChangeLogin();
        } else {
            print_Login();
        }
        break;
    case 'Start':
        make_db($dbhost, $dbuname, $dbpass, $dbname, $prefix_table, $dbtype, $dbmake);