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

//boolean mysql field

`ship_to_bill_address` enum('false','true') NOT NULL DEFAULT 'true'
 

anonymous

-1

private static boolean getIsDeclinedByRules(boolean oldIsSatisfy, boolean oldIsDeclined, boolean newIsSatisfy) {
    if (!oldIsSatisfy &&  oldIsDeclined && !newIsSatisfy) return true;
    if (!oldIsSatisfy &&  oldIsDeclined &&  newIsSatisfy) return false;
    if (!oldIsSatisfy && !oldIsDeclined && !newIsSatisfy) return true;
    if (!oldIsSatisfy && !oldIsDeclined &&  newIsSatisfy) return false;
    if ( oldIsSatisfy &&  oldIsDeclined && !newIsSatisfy) return true;
    if ( oldIsSatisfy &&  oldIsDeclined &&  newIsSatisfy) return true;
    if ( oldIsSatisfy && !oldIsDeclined && !newIsSatisfy) return true;
    if ( oldIsSatisfy && !oldIsDeclined &&  newIsSatisfy) return false;
    return true;
  }
 

anonymous

-1

    public boolean isPasswordEqual(String password) {
        boolean equal = JRiskEquals.equalsOrNull(this.password, password);

        if(!equal && shouldSleep)
        {
            sleep(5);
        }

        return equal;
    }

    private void sleep(long l) {
        try
        {
            Thread.sleep(l * 1000);
        }
        catch(InterruptedException ignore) {}
    }
 

anonymous

-1

     FailStatus<EFailStatus, IFailedListener<EFailStatus>> zzz = new FailStatus<EFailStatus, IFailedListener<EFailStatus>>(
            EFailStatus.NOT_FAILED);
 

anonymous

-1

m_rtBtn.Text = (1).ToString();
 

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

-1

// This gem was found in a code review. True story.
	<?php for($i = 1; $i<=12; $i++) { ?>
 		<tr class="<?php if($i%2 !=0) {echo 'odd';} else {echo 'even';} ?>Row">
			<td width="9%">&nbsp;<?php echo date('F', strtotime(date('Y-'.$i.'-01'))); ?></td>
 

anonymous

-1

replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(lower(AmazonCategory0), 'ö', 'oe'), 'ä', 'ae'), 'ü', 'ue'), 'ß', 'ss'), '.', ''), ',', ''), '-', ''), '_', ''), '/', ''), '|', ''), ')', ''), '(', ''), '[', ''), ']', ''), '{', ''), '}', ''), '''', ''), '´', ''), '`', ''), ' ', '') 
 

anonymous

-1

# The following function prototype should be taken out and shot.
ccinfogen :: Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> ChannelCosterInfo
ccinfogen bi bc bb bf bd bin li lc lb lf ld lin oi oc ob xof od oin osl pbi pbc pbb pbf pbd pbin pli plc plb plf pld plin poi poc pob pof pod poin posl eot eop cin = ChannelCosterInfo btfun lifun lofun eofun cin
     where 
           btfun False s 
            | s == "Int"     = bi
            | s == "Char"    = bc
            | s == "Bool"    = bb
            | s == "Float"   = bf
            | s == "Double"  = bd
            | s == "Integer" = bin
            | otherwise      = error ("Btfun-False of nonbasic type " ++ s)
 

anonymous

-1

{% if sep is not defined %}
{% set sep=";" %}
{% endif %}
{% if quot is not defined %}
{% set quot="\"" %}
{% endif %}
{% for col in header %}{{ col }}{% if not loop.last %}{{ sep }}{% endif %}{% endfor %}

{% for row in data %}
{% for col in row %}{{ quot|raw }}{{ col|replace({ '"': '""' })|raw }}{{ quot|raw }}{% if not loop.last %}{{ sep }}{% endif %}{% endfor %}

{% endfor %}
{{ "\n" }}