$xml_output .= "\t\t<DISPLAY_TERTIARY_TEMP>" . tempconvert($row_log['brewTertiaryTemp'], "C") . "</DISPLAY_TERTIARY_TEMP>\n"; } elseif ($row_pref['measTemp'] == "C" && $row_log['brewTertiaryTemp'] != "") { $xml_output .= "\t\t<DISPLAY_TERTIARY_TEMP>" . $row_log['brewTertiaryTemp'] . "</DISPLAY_TERTIARY_TEMP>\n"; } else { $xml_output .= "\t\t<DISPLAY_TERTIARY_TEMP></DISPLAY_TERTIARY_TEMP>\n"; } $xml_output .= "\t\t<AGE>" . $row_log['brewAge'] . "</AGE>\n"; if ($row_pref['measTemp'] == "F" && $row_log['brewAgeTemp'] != "") { $xml_output .= "\t\t<AGE_TEMP>" . tempconvert($row_log['brewAgeTemp'], "C") . "</AGE_TEMP>\n"; } elseif ($row_pref['measTemp'] == "C" && $row_log['brewAgeTemp'] != "") { $xml_output .= "\t\t<AGE_TEMP>" . $row_log['brewAgeTemp'] . "</AGE_TEMP>\n"; } else { $xml_output .= "\t\t<AGE_TEMP></AGE_TEMP>\n"; } if ($row_pref['measTemp'] == "F" && $row_log['brewAgeTemp'] != "") { $xml_output .= "\t\t<DISPLAY_AGE_TEMP>" . tempconvert($row_log['brewAgeTemp'], "C") . "</DISPLAY_AGE_TEMP>\n"; } elseif ($row_pref['measTemp'] == "C" && $row_log['brewAgeTemp'] != "") { $xml_output .= "\t\t<DISPLAY_AGE_TEMP>" . $row_log['brewAgeTemp'] . "</DISPLAY_AGE_TEMP>\n"; } else { $xml_output .= "\t\t<DISPLAY_AGE_TEMP></DISPLAY_AGE_TEMP>\n"; } if ($source == "brewLog") { // Brew Date $xml_output .= "\t\t<DATE>" . $row_log['brewDate'] . "</DATE>\n"; } $xml_output .= "\t\t<EST_COLOR>" . round($row_log['brewLovibond'], 1) . "</EST_COLOR>\n"; $xml_output .= "\t\t<IBU>" . round($row_log['brewBitterness'], 1) . "</IBU>\n"; $xml_output .= "\t</RECIPE>\n"; $xml_output .= "</RECIPES>\n"; # This line will stream the file to the user rather than spray it across the screen $nospace = str_replace(" ", "", $row_log['brewName']);
</td> </tr> <tr> <td class="dataLabelLeft">Temperature Range:</td> <td class="data"><?php if ($row_yeast['yeastMinTemp'] != "") { if ($row_pref['measTemp'] == "C") { echo tempconvert($row_yeast['yeastMinTemp'], "C"); } else { echo $row_yeast['yeastMinTemp']; } } if ($row_yeast['yeastMaxTemp'] != "") { echo "-"; if ($row_pref['measTemp'] == "C") { echo tempconvert($row_yeast['yeastMaxTemp'], "C"); } else { echo $row_yeast['yeastMaxTemp']; } } echo "°" . $row_pref['measTemp']; ?> </td> <td class="dataLabel">Alcohol Tolerance:</td> <td class="data"><?php echo $row_yeast['yeastTolerance']; ?> </td> </tr> <tr> <td class="dataLabelLeft">Best For:</td>
} else { echo $row_log['mashTunTemp']; } } ?> " size="5" maxlength="8" /> °<?php echo $row_pref['measTemp']; ?> </td> </tr> <tr> <td class="dataLabelLeft">Sparge Temp:</td> <td class="data"><input name="mashSpargeTemp" type="text" value="<?php if ($action == "edit" || $action == "reuse") { if ($row_log['mashBrewerID'] == "brewblogger" && $row_pref['measTemp'] == "C") { echo tempconvert($row_log['mashSpargeTemp'], "C"); } else { echo $row_log['mashSpargeTemp']; } } ?> " size="5" maxlength="8" /> °<?php echo $row_pref['measTemp']; ?> </td> </tr> <tr> <td class="dataLabelLeft">Mash PH:</td> <td class="data"><input name="mashPH" type="text" value="<?php if ($action == "edit" || $action == "reuse") { echo $row_log['mashPH'];
if ($row_mash_profiles['mashTunTemp'] != "") { if ($row_pref['measTemp'] == "C" && $row_mash_profiles['mashBrewerID'] == "brewblogger") { echo tempconvert($row_mash_profiles['mashTunTemp'], "C"); } else { echo $row_mash_profiles['mashTunTemp']; } } ?> ° <?php echo $row_pref['measTemp']; ?> </td> <td class="dataList"><?php if ($row_mash_profiles['mashSpargeTemp'] != "") { if ($row_pref['measTemp'] == "C" && $row_mash_profiles['mashBrewerID'] == "brewblogger") { echo tempconvert($row_mash_profiles['mashSpargeTemp'], "C"); } else { echo $row_mash_profiles['mashSpargeTemp']; } } ?> ° <?php echo $row_pref['measTemp']; ?> </td> <td class="dataList"><?php echo $row_mash_profiles['mashPH']; ?> %</td> <td class="dataList"><?php if ($totalRows_mash_steps > 0) {
<td class="dataList"><?php echo $row_yeast_profiles['yeastFloc']; ?> </td> <td class="dataList"><?php echo $row_yeast_profiles['yeastAtten']; ?> %</td> <td class="dataList"><?php echo $row_yeast_profiles['yeastTolerance']; ?> </td> <td class="dataList"><?php if ($row_pref['measTemp'] == "C" && $row_yeast_profiles['yeastBrewerID'] == "brewblogger") { echo tempconvert($row_yeast_profiles['yeastMinTemp'], "C") . "-"; echo tempconvert($row_yeast_profiles['yeastMaxTemp'], "C"); } else { echo $row_yeast_profiles['yeastMinTemp'] . "-" . $row_yeast_profiles['yeastMaxTemp']; } ?> ° <?php echo $row_pref['measTemp']; ?> </td> <td class="data-icon_list"><a href="index.php?action=reuse&dbTable=yeast_profiles&id=<?php echo $row_yeast_profiles['id']; ?> "><img src="<?php echo $imageSrc; ?> page_refresh.png" align="absmiddle" border="0" alt="Copy the <?php
</tr> <tr> <td class="dataLabelLeft">Step Ramp Up Time:</td> <td class="data"><input name="stepRampTime" type="text" value="<?php if ($action == "edit") { echo $row_log['stepRampTime']; } ?> " size="5" maxlength="8" /> min.</td> </tr> <tr> <td class="dataLabelLeft">Step Ramp End Temp:</td> <td class="data"><input name="stepEndTemp" type="text" value="<?php if ($action == "edit") { if ($row_log['stepTemp'] != "" && $row_pref['measTemp'] == "C") { echo tempconvert($row_log['stepEndTemp'], "C"); } else { echo $row_log['stepEndTemp']; } } ?> " size="5" maxlength="8" /> °<?php echo $row_pref['measTemp']; ?> </td> </tr> <!-- <tr> <td class="dataLabelLeft">Step Infusion Amount:</td> <td class="data"><input name="stepInfuseAmt" type="text" value="<?php // if ($action == "edit") echo $row_log['stepInfuseAmt'];