':'' ?> $tapCol; $tapCol++){ ?> 1 && $tapCol != $maxTapCol-1){ echo ""; } ?> ':'' ?> $tapCol; $tapCol++){ $beer = null; if( $i+($tapCol * (ceil($numberOfBeers/$maxTapCol))) > $numberOfBeers ) continue;//Skip numbers outside of the tap range if( isset($beers[$i+($tapCol * (ceil($numberOfBeers/$maxTapCol)))]) ) $beer = $beers[$i+($tapCol * (ceil($numberOfBeers/$maxTapCol)))]; if($tapOrBottle != ConfigNames::CONTAINER_TYPE_KEG && !isset($beer) ) continue; ?> 1 && $tapCol != $maxTapCol-1){ echo ""; } ?>
0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> '; ?> 0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> COLOR 0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> BALANCE
BITTERNESS
1){ echo 'colspan="'.$beerColSpan.'"';}?> class="beername" > BEER NAME     STYLE
    TASTING NOTES     RATING
0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> ABV
CALORIES
GRAVITY
0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> DRINKS
REMAINING
0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> Accolades
0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> CreateRGB($beer['tapRgba']); $imgs = glob ( 'img/tap/tap'.$beer['id'].'.*' ); if(count($imgs) > 0) $style .= ($style != ""?";":"").'background:url('.$imgs[0].') no-repeat center; background-size:cover; -webkit-border-radius:0px; -mox-border-radius:0px; height:100px; width:50px'; ?> "; echo "Sample AllowedAllow pressing the tap id to pour a sample'; }?> 0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> = 0){ ?>
40?40:floor($beer['srm'])).'-srm.png" />'?> src="img/srm/containerSvg.php?container=&rgb=" />
"; echo "Image'; } ?>

> SRM

N/A"; } ?>
0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>>

> 1 ){ echo number_format((($beer['ibu'])/(($sgOg-1)*1000)), 2, '.', ''); }else{ echo '0.00'; } ?> BU:GU

>

> IBU

N/A"; } ?>
0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> 1){ echo 'style="border-left: none; width : '.($maxTapCol==1?($beerColSpan > 2?80:90).'%"':'50%"'); } ?> >

>

>

'; beerRATING($config, $beer['untID'], $beer['rating']); DisplayEditCheckbox($editting, $config, ConfigNames::ShowBeerRating, 'beerRating'); echo ''; } ?>
0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>>
=0){ ?>
) no-repeat bottom left;">
N/A
=0){?>

> ABV

> 0 && $sgFg > 0){ $calfromalc = (1881.22 * ($sgFg * $sgOg - $sgFg))/(1.775 - $sgOg); $calfromcarbs = 3550.0 * $sgFg * ((0.1808 * $sgOg) + (0.8192 * $sgFg) - 1.0004); if ( ($sgOg == 1) && ($sgFg == 1 ) ) { $calfromalc = 0; $calfromcarbs = 0; } echo number_format($calfromalc + $calfromcarbs), " kCal"; }else{ echo "N/A"; } ?>

0){ ?>

>OG:

0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> 0){ ?>

> Last

> poured

0)$percentRemaining = ($beer['remainAmount'] / $beer['startAmount']) * 100; if( $beer['remainAmount'] <= 0 ) { $percentRemaining = 0; } else if( $percentRemaining < 15 ) { $kegImgColor = "255,0,0"; } else if( $percentRemaining < 25 ) { $kegImgColor = "255,165,0"; } else if( $percentRemaining < 45 ) { $kegImgColor = "255,255,0"; } else if ( $percentRemaining < 100 ) { $kegImgColor = "0,255,0"; } else if( $percentRemaining >= 100 ) { $kegImgColor = "0,255,0"; } $kegOn = ""; if($config[ConfigNames::UseTapValves]){ if ( $tapOrBottle == ConfigNames::CONTAINER_TYPE_KEG && $beer['valvePinState'] == $config[ConfigNames::RelayTrigger] ) $kegOn = "keg-enabled"; else $kegOn = "keg-disabled"; } ?>
>
=100){?>

FULL

MT

> '.number_format($beer['remainAmount'], 1); echo (is_unit_imperial($config[ConfigNames::DisplayUnitVolume])?" Gal":" L").' Left'; } if($editting || !( !isset($config[ConfigNames::AmountPerPint]) || $config[ConfigNames::AmountPerPint] == 0)){ $beer['remainAmount'] = convert_volume($beer['remainAmount'], $beer['remainAmountUnit'], $config[ConfigNames::DisplayUnitVolume], FALSE, TRUE); echo '
'.number_format($beer['remainAmount']/($config[ConfigNames::AmountPerPint]==0?1:$config[ConfigNames::AmountPerPint]), 1); echo " Pints Left
"; } ?>

Amount () Per Pint:If greater than 0 then pints remaining will be displayed

>Last pour:

0 && $tapCol == $maxTapCol-1 && $col == $MAX_COLUMNS){echo 'style="padding-right:20px"';}?>> 0) $img = $imgs[0]; ?>
Max Accolades to Show: