/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

0

        var aCurrentType = new Array();
        switch (productEnum) {
            case 1: //A.1
                aCurrentType = new Array(1, 2, 3, 80);
                break;
            case 2:
                aCurrentType = new Array(4, 5, 6);
                break;
            case 3:
                aCurrentType = new Array(7, 8, 9);
                break;
            case 4:
                aCurrentType = new Array(10, 11, 12, 13, 71);
                break;
            case 5: //B.1
                aCurrentType = new Array(14, 15, 16, 17, 84, 85);
                break;
            case 6: //B.2
                aCurrentType = new Array(18, 19, 20, 21, 22, 23, 24, 86, 87, 88);
                break;
            case 7:
                aCurrentType = new Array(25, 26, 27);
                break;
            case 8:
                aCurrentType = new Array(28, 29, 30);
                break;
            case 9:
                aCurrentType = new Array(31, 32, 33, 34, 35);
                break;
            case 10:
                aCurrentType = new Array(36, 37);
                break;
            case 11:
                aCurrentType = new Array(38, 39, 40, 41, 42);
                break;
            case 12:
                aCurrentType = new Array(43, 44);
                break;
            case 13:
                aCurrentType = new Array(45, 46, 47, 48);
                break;
            case 14:
                aCurrentType = new Array(49, 50, 51, 52, 53);
                break;
            case 15: //D.5
                aCurrentType = new Array(54, 55, 56, 57, 89, 90);
                break;
            case 16: //D.6
                aCurrentType = new Array(58, 59, 60, 91);
                break;
            case 17:
                aCurrentType.push(61);
                break;
            case 18:
                aCurrentType = new Array(62, 63, 64, 65, 66, 67);
                break;
            case 19:
                aCurrentType = new Array(68, 69, 70);
                break;
            case 20: //D.4
                aCurrentType = new Array(72, 73, 74, 75, 76, 77, 78, 79); //D.4.0-4.7
                break;
            case 21: //A.5
                aCurrentType = new Array(81, 82, 83);
                break;
        }
 

Browse all snippets