function rbcell($name, $value, $desc, $colname) { return "<td width='25%' nowrap>" . rbinput($name, $value, $desc, $colname) . "</td>\n"; }
<p> <table border='0' width='95%'> <tr bgcolor='#dddddd'> <td colspan='3' align='center'><b>Body Composition</b></td> </tr> <tr> <td width='5%' nowrap>Body Type</td> <td colspan='2' nowrap> <?php echo rbinput('form_body_type', 'Standard', 'Standard', 'body_type'); ?> <?php echo rbinput('form_body_type', 'Athletic', 'Athletic', 'body_type'); ?> </td> </tr> <tr> <td nowrap>Height in inches</td> <td nowrap> <input type='text' name='form_height' size='6' value='<?php echo addslashes($row['height']); ?> ' /> </td> <td nowrap>
// leave this here for now, please -- Rod ?> <?php echo rbinput('form_destination', '1', 'GP', 'destination'); ?> <?php echo rbinput('form_destination', '2', 'Secondary care spec', 'destination'); ?> <?php echo rbinput('form_destination', '3', 'GP via physio', 'destination'); ?> <?php echo rbinput('form_destination', '4', 'GP via podiatry', 'destination'); ?> <?php } ?> </td> </tr> </table> <table id="row_social" width="100%"> <?php $given = "*"; $dateStart = $_POST['dateState']; $dateEnd = $_POST['dateEnd']; if ($dateStart && $dateEnd) { $result1 = sqlQuery("select {$given} from history_data where pid = ? and date >= ? and date <= ? order by date DESC limit 0,1", array($pid, $dateStart, $dateEnd)); } else {
' /> </td> </tr> <tr> <td colspan='6' nowrap> B.F. Method Used: <?php echo rbinput('form_method_body_fat', 'Caliper', 'Caliper', 'method_body_fat'); ?> <?php echo rbinput('form_method_body_fat', 'Electronic', 'Electronic', 'method_body_fat'); ?> <?php echo rbinput('form_method_body_fat', 'Hydrostatic', 'Hydrostatic', 'method_body_fat'); ?> </td> </tr> </table> </td> </tr> <tr> <td nowrap>Beep Test</td> <td nowrap> <table width='100%'> <tr> <td width='20%' nowrap> Level: </td>