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

+1

if move_indicator == 0:
    update_list[0] = update_list[0] + 1
elif move_indicator == 1:
    update_list[1] = update_list[1] + 1
elif move_indicator == 2:
    update_list[2] = update_list[2] + 1
elif move_indicator == 3:
    update_list[3] = update_list[3] + 1
elif move_indicator == 4:
    update_list[4] = update_list[4] + 1
# why not
update_list[move_indicator] += 1
 

anonymous

0

private static String strongSecurityHash() {
	String weakHash1 = HashUtil.generate(32);
	String weakHash2 = HashUtil.generate(32);
	String strongHash = weakHash1+weakHash2;
	return strongHash;
}
 

anonymous

0

$id_orderitem = !$request->hasParameter("orderitemid") ? $request->getParameter("id_orderitem") : $request->getParameter("orderitemid");
 

anonymous

+2

//MAIN
int main()
{
    try {
        /* 70 lines of crappy code */
    }
    catch( ...) {
	cerr << "crash!\n";
    }
}
 

anonymous

-1

        <div class="col-sm-3 col-md-1 sidebar" id="header" ng-controller="HeaderCtrl" sec:authorize="isAuthenticated()">              
            <ul class="nav navbar-nav nav-sidebar">                 
                <li th:if="${currentPage == 'profile'}" class="active ico-user"><a th:href="@{/user/profile}">Mój profil</a></li>
                <li th:if="${currentPage == 'profile'}" class=" ico-affiliation"><a th:href="@{/affiliation/list}">Afiliacje</a></li>
                <li th:if="${currentPage == 'profile'}" class="ico-user"><a th:href="@{/team/my-team-index}">Moje zespoły</a></li>
                <li th:if="${currentPage == 'profile'}" class="ico-user"><a th:href="@{/team/public-team-index}">Wyszukaj zespół</a></li>
				<li th:if="${currentPage == 'profile'}" class="ico-user"><a th:href="@{/certificate/view}">Certyfikaty</a></li>

                <li th:if="${currentPage == 'list'}" class="ico-user"><a th:href="@{/user/profile}">Mój profil</a></li>
                <li th:if="${currentPage == 'list'}" class="active ico-affiliation"><a th:href="@{/affiliation/list}">Afiliacje</a></li>
                <li th:if="${currentPage == 'list'}" class="ico-user"><a th:href="@{/team/my-team-index}">Moje zespoły</a></li>
                <li th:if="${currentPage == 'list'}" class="ico-user"><a th:href="@{/team/public-team-index}">Wyszukaj zespół</a></li>
                <li th:if="${currentPage == 'list'}" class="ico-user"><a th:href="@{/certificate/view}">Certyfikaty</a></li>

                <li th:if="${currentPage == 'index'}" class="ico-user"><a th:href="@{/user/profile}">Mój profil</a></li>
                <li th:if="${currentPage == 'index'}" class="ico-affiliation"><a th:href="@{/affiliation/list}">Afiliacje</a></li>
                <li th:if="${currentPage == 'index'}" class="active ico-user"><a th:href="@{/team/my-team-index}">Moje zespoły</a></li>
                <li th:if="${currentPage == 'index'}" class="ico-user"><a th:href="@{/team/public-team-index}">Wyszukaj zespół</a></li>
                <li th:if="${currentPage == 'index'}" class="ico-user"><a th:href="@{/certificate/view}">Certyfikaty</a></li>
                <li th:if="${currentPage == 'index'}" class="ico-user"><a th:href="@{/subordinate/list}">Podopiczeni</a></li>

                <li th:if="${currentPage == 'publicTeamIndex'}" class="ico-user"><a th:href="@{/user/profile}">Mój profil</a></li>
                <li th:if="${currentPage == 'publicTeamIndex'}" class="ico-affiliation"><a th:href="@{/affiliation/list}">Afiliacje</a></li>
                <li th:if="${currentPage == 'publicTeamIndex'}" class="ico-user"><a th:href="@{/team/my-team-index}">Moje zespoły</a></li>
                <li th:if="${currentPage == 'publicTeamIndex'}" class="active ico-user"><a th:href="@{/team/public-team-index}">Wyszukaj zespół</a></li>
                <li th:if="${currentPage == 'publicTeamIndex'}" class="ico-user"><a th:href="@{/certificate/view}">Certyfikaty</a></li>
                <li th:if="${currentPage == 'publicTeamIndex'}" class="ico-user"><a th:href="@{/subordinate/list}">Podopiczeni</a></li>

            	<li th:if="${currentPage == 'certificates'}" class="ico-user"><a th:href="@{/user/profile}">Mój profil</a></li>
                <li th:if="${currentPage == 'certificates'}" class="ico-affiliation"><a th:href="@{/affiliation/list}">Afiliacje</a></li>
                <li th:if="${currentPage == 'certificates'}" class="ico-user"><a th:href="@{/team/my-team-index}">Moje zespoły</a></li>
                <li th:if="${currentPage == 'certificates'}" class="ico-user"><a th:href="@{/team/public-team-index}">Wyszukaj zespół</a></li>
                <li th:if="${currentPage == 'certificates'}" class="active ico-user"><a th:href="@{/certificate/view}">Certyfikaty</a></li>
                <li th:if="${currentPage == 'certificates'}" class="ico-user"><a th:href="@{/subordinate/list}">Podopiczeni</a></li>

                <li th:if="${currentPage == 'subordinates'}" class="ico-user"><a th:href="@{/user/profile}">Mój profil</a></li>
                <li th:if="${currentPage == 'subordinates'}" class="ico-affiliation"><a th:href="@{/affiliation/list}">Afiliacje</a></li>
                <li th:if="${currentPage == 'subordinates'}" class="ico-user"><a th:href="@{/team/my-team-index}">Moje zespoły</a></li>
                <li th:if="${currentPage == 'subordinates'}" class="ico-user"><a th:href="@{/team/public-team-index}">Wyszukaj zespół</a></li>
                <li th:if="${currentPage == 'subordinates'}" class="ico-user"><a th:href="@{/certificate/view}">Certyfikaty</a></li>
                <li th:if="${currentPage == 'subordinates'}" class="active ico-user"><a th:href="@{/subordinate/list}">Podopiczeni</a></li>

            </ul>
        </div>
 

anonymous

+2

Merge branch 'production' into master
 

anonymous

0

#p7PMnav ul {position:absolute;left:-9000px;}
#p7PMnav ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
#p7PMnav ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul ul {position:absolute;left:-9000px;}
 

anonymous

0

//At least the name of the method is coherent

public void someMethodName(){
//some code goes here
doNothing();
//more code goes here
}

private void doNothing(){
}
 

anonymous

0

function ze($val) {
	if ($val=='1' || $val=='2' || $val=='3' || $val=='4' || $val=='5' || $val=='6' || $val=='7' || $val=='8' || $val=='9' || $val=='0') return '0' . $val;
	else return $val;
}
 

anonymous

+1

if (vPort != null)
    return vPort
return null;