} else {
            echo " ";
        }
        ?>
</td>
        <td class="hidden-xs hidden-sm"><?php 
        if ($row_log['brewBitterness'] != "") {
            echo round($row_log['brewBitterness'], 1);
        } else {
            echo "&nbsp;";
        }
        ?>
</td>
        <td class="hidden-xs hidden-sm"><?php 
        if ($row_log['brewOG'] != "" && $row_log['brewFG'] != "") {
            echo number_format(calc_abv($row_log['brewOG'], $row_log['brewFG']), 1) . "%";
        } else {
            echo "&nbsp;";
        }
        ?>
</td>
        <td class="hidden-xs hidden-sm"><?php 
        if ($row_awards2['count'] > 0) {
            echo $row_awards2['count'];
        }
        ?>
</td>
    </tr>
    <?php 
    }
    // end if ($row_log['brewArchive'] != "Y")
                ?>
			  </td>
			  <?php 
            }
            ?>
              <td class="dataList"><?php 
            if ($row_recipeList['brewBitterness'] != "") {
                echo round($row_recipeList['brewBitterness'], 1);
            } else {
                echo "&nbsp;";
            }
            ?>
</td>
              <td class="dataList"><?php 
            if ($row_recipeList['brewOG'] != "" && $row_recipeList['brewFG'] != "") {
                echo round(calc_abv($row_recipeList['brewOG'], $row_recipeList['brewFG']), 1) . "%";
            } else {
                echo "&nbsp;";
            }
            ?>
</td>
              <?php 
            if ($row_pref['mode'] == "2" && $filter == "all") {
                ?>
<td  class="dataList"><a href="?page=<?php 
                echo $page;
                ?>
&sort=<?php 
                echo $sort;
                ?>
&dir=<?php 
        ?>
   	</td>
	<?php 
    }
    ?>
  	<td class="dataList"><?php 
    if ($row_featured['brewBitterness'] != "") {
        echo round($row_featured['brewBitterness'], 1);
    } else {
        echo "&nbsp;";
    }
    ?>
</td>
  	<td class="dataList"><?php 
    if ($row_featured['brewOG'] != "" && $row_featured['brewFG'] != "") {
        echo round(calc_abv($row_featured['brewOG'], $row_featured['brewFG']), 1) . "%";
    } else {
        echo "&nbsp;";
    }
    ?>
</td>
  	<?php 
    if ($row_pref['mode'] == "2" && $filter == "all") {
        ?>
<td  class="dataList"><a href="?page=brewblog-list&sort=<?php 
        echo $sort;
        ?>
&dir=<?php 
        echo $dir;
        ?>
&filter=<?php 
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"><strong>BU/GU:</strong></div>
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"><?php 
    echo calc_bugu($row_log['brewBitterness'], $row_log['brewOG']);
    ?>
</div>
        </div>
        <?php 
}
?>
        <?php 
if (!empty($row_log['brewOG']) && !empty($row_log['brewFG'])) {
    ?>
        <div class="row">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"><strong>ABV:</strong></div>
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"><?php 
    echo calc_abv($row_log['brewOG'], $row_log['brewFG']);
    ?>
%</div>
        </div>
        <div class="row">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"><strong>ABW:</strong></div>
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"><?php 
    echo calc_abw($row_log['brewOG'], $row_log['brewFG']);
    ?>
%</div>
        </div>
        <div class="row">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"><strong>Calories:</strong></div>
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"><?php 
    echo calc_calories($row_log['brewOG'], $row_log['brewFG']) . " <span class=\"text-muted small\"><em>12 oz</em></span>";
    ?>