/** * 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)
      

Snippets of cbasaranoglu

+2

     if ((paginationGroup + 1) * 10 > response.PageCount) {
                        if (response.PageCount % 10 == 1) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = 'hidden';
                            $scope.page3.class = 'hidden';
                            $scope.page4.class = 'hidden';
                            $scope.page5.class = 'hidden';
                            $scope.page6.class = 'hidden';
                            $scope.page7.class = 'hidden';
                            $scope.page8.class = 'hidden';
                            $scope.page9.class = 'hidden';
                            $scope.page10.class = 'hidden';
                        }
                        else if (response.PageCount % 10 == 2) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = '';
                            $scope.page3.class = 'hidden';
                            $scope.page4.class = 'hidden';
                            $scope.page5.class = 'hidden';
                            $scope.page6.class = 'hidden';
                            $scope.page7.class = 'hidden';
                            $scope.page8.class = 'hidden';
                            $scope.page9.class = 'hidden';
                            $scope.page10.class = 'hidden';
                        }
                        else if (response.PageCount % 10 == 3) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = '';
                            $scope.page3.class = '';
                            $scope.page4.class = 'hidden';
                            $scope.page5.class = 'hidden';
                            $scope.page6.class = 'hidden';
                            $scope.page7.class = 'hidden';
                            $scope.page8.class = 'hidden';
                            $scope.page9.class = 'hidden';
                            $scope.page10.class = 'hidden';
                        }
                        else if (response.PageCount % 10 == 4) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = '';
                            $scope.page3.class = '';
                            $scope.page4.class = '';
                            $scope.page5.class = 'hidden';
                            $scope.page6.class = 'hidden';
                            $scope.page7.class = 'hidden';
                            $scope.page8.class = 'hidden';
                            $scope.page9.class = 'hidden';
                            $scope.page10.class = 'hidden';
                        }
                        else if (response.PageCount % 10 == 5) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = '';
                            $scope.page3.class = '';
                            $scope.page4.class = '';
                            $scope.page5.class = '';
                            $scope.page6.class = 'hidden';
                            $scope.page7.class = 'hidden';
                            $scope.page8.class = 'hidden';
                            $scope.page9.class = 'hidden';
                            $scope.page10.class = 'hidden';
                        }
                        else if (response.PageCount % 10 == 6) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = '';
                            $scope.page3.class = '';
                            $scope.page4.class = '';
                            $scope.page5.class = '';
                            $scope.page6.class = '';
                            $scope.page7.class = 'hidden';
                            $scope.page8.class = 'hidden';
                            $scope.page9.class = 'hidden';
                            $scope.page10.class = 'hidden';
                        }
                        else if (response.PageCount % 10 == 7) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = '';
                            $scope.page3.class = '';
                            $scope.page4.class = '';
                            $scope.page5.class = '';
                            $scope.page6.class = '';
                            $scope.page7.class = '';
                            $scope.page8.class = 'hidden';
                            $scope.page9.class = 'hidden';
                            $scope.page10.class = 'hidden';
                        }
                        else if (response.PageCount % 10 == 8) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = '';
                            $scope.page3.class = '';
                            $scope.page4.class = '';
                            $scope.page5.class = '';
                            $scope.page6.class = '';
                            $scope.page7.class = '';
                            $scope.page8.class = '';
                            $scope.page9.class = 'hidden';
                            $scope.page10.class = 'hidden';
                        }
                        else if (response.PageCount % 10 == 9) {
                            $scope.page1.class = 'active';
                            $scope.page2.class = '';
                            $scope.page3.class = '';
                            $scope.page4.class = '';
                            $scope.page5.class = '';
                            $scope.page6.class = '';
                            $scope.page7.class = '';
                            $scope.page8.class = '';
                            $scope.page9.class = '';
                            $scope.page10.class = 'hidden';
                        }
                    }

                    if ((paginationGroup + 1) * 10 >= response.PageCount) {
                        $("#allNext").attr("class", "hidden");
                    }