// Connect to the database
    db();
    $config = array();
    $sql = "SELECT * FROM config";
    $qry = mysql_query($sql);
    while ($c = mysql_fetch_array($qry)) {
        $config[$c['configName']] = $c['configValue'];
    }
    $sql = "SELECT * FROM vwGetActiveTaps";
    $qry = mysql_query($sql);
    while ($b = mysql_fetch_array($qry)) {
        $beeritem = array("id" => $b['id'], "beername" => $b['name'], "style" => $b['style'], "notes" => $b['notes'], "og" => $b['ogAct'], "fg" => $b['fgAct'], "srm" => $b['srmAct'], "ibu" => $b['ibuAct'], "startAmount" => $b['startAmount'], "amountPoured" => $b['amountPoured'], "remainAmount" => $b['remainAmount'], "tapNumber" => $b['tapNumber'], "srmRgb" => $b['srmRgb']);
        $beers[$b['tapNumber']] = $beeritem;
    }
    $tapManager = new TapManager();
    $numberOfTaps = $tapManager->GetTapNumber();
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">

<html>
	<head>
		<title>RaspberryPints</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

		<!-- Set location of Cascading Style Sheet -->
		<link rel="stylesheet" type="text/css" href="style.css">
		
		<?php 
if ($config[ConfigNames::UseHighResolution]) {