//bike Dropdown echo "<SELECT NAME=\"bikeID\">\n"; echo "<OPTION VALUE='0' "; if ($currentQuery->bikeID <= 0) { echo "SELECTED"; } echo ">All Bikes</OPTION>\n"; $bikes = new RDbike(DBconnect()); $results = $bikes->queryAll(); while ($bikes->parseNextRow($results)) { echo "<OPTION VALUE='{$bikes->f_bikeID}' "; if ($currentQuery->bikeID == $bikes->f_bikeID) { echo "SELECTED"; } echo ">"; echo fixFieldForTextArea($bikes->f_bike); echo "</OPTION>\n"; } echo "</SELECT>\n"; ?> <INPUT TYPE="SUBMIT" VALUE="Go"> <A HREF="edit/editRide.php<?php unset($getVars["rideID"]); echo encodeGet($getVars); ?> "><img border=0 src="newRide.png" width="16" height="16"> Enter New <?php echo S_EVENT; ?> </a>
if ($locs->f_type != $currType) { echo "<OPTION VALUE='{$locs->f_type}' "; if ($currentQuery->locationID == $locs->f_type) { echo "SELECTED"; } echo ">"; echo fixFieldForTextArea("All " . $locs->f_type); echo "</OPTION>\n"; $currType = $locs->f_type; } echo "<OPTION VALUE='{$locs->f_locationID}' "; if ($currentQuery->locationID == $locs->f_locationID) { echo "SELECTED"; } echo ">"; echo fixFieldForTextArea(" - " . $locs->f_location); echo "</OPTION>\n"; } ?> </SELECT> <INPUT TYPE="SUBMIT" VALUE="Go"> <A HREF="edit/editRide.php<?php unset($getVars["rideID"]); echo encodeGet($getVars); ?> "><img border=0 src="newRide.png" width="16" height="16"> Enter New <?php echo S_EVENT; ?> </a>
<td class="tbEditHeader">Temp(<?php echo $units->tempString(); ?> ) <br> </td> <td class="tbEditBody"><input type="text" name="temperature" value="<?php echo number_format($ride->f_temperature, 1); ?> " size="12" maxlen="15"><br> </td> <td class="tbEditHeader" rowspan="3" colspan="1">Notes<br> </td> <td class="tbEditBody" rowspan="3" colspan="1"><textarea name="notes" wrap="virtual" rows="4" cols="40"><?php echo fixFieldForTextArea($ride->f_notes); ?> </textarea><br> </td> </tr> <tr> <td class="tbEditHeader">Sky<br> </td> <td class="tbEditBody"> <?php echo drawSelect("sky", $availableSkies, $ride->f_sky); ?> <br> </td> </tr> <tr>