<tr>
    <td align=right>Signed Confidentiality Agreement:</td>
    <td>
        <input name="signed_confidentiality" type="checkbox" <?php 
echo $tutor_info['signed_confidentiality'] ? 'checked' : '';
?>
 />
    </td>
</tr>
<tr>
    <td valign="top" align='right'>Availability:</td>
    <td>
    <?php 
availability_matrix(get_tutor_avail($tutor_id));
?>
    </td>
</tr>
<tr>
    <td align='right'>Notes:</td>
    <td><textarea rows=4 cols=80 name="notes"><?php 
echo $tutor_info['notes'];
?>
</textarea></td>
</tr>
</table>
<?php 
question_table("tutor", get_answers(null, $tutor_id));
?>
<input type="submit" value="Submit">
</form>
<table>
<tr><td align="right">What subject would you like tutoring in:</td>
    <td><?php 
subjects_select(array(), 'single');
?>
</td>
</tr>
<tr><td align="right">Who is your teacher:</td>
    <td><input name="teacher"/></td>
</tr>
<tr>
    <td valign="top" align="right" width=50%>Do you have a preference for what group
    your tutor comes from:<br><b>(Please select as many as possible, by holding down
    ctrl)</b></td>
    <td valign="top"><?php 
tutor_category_select(null, 'multiple');
?>
 </td>
</tr>
<tr>
    <td align="right">How many times per week do you want to be tutored:<br>
    (55-min sessions)</td>
    <td valign="top"><input name="times_per_week" size=3></td>
</tr>
</table>
<?php 
question_table("student");
?>
<input type="submit" value="Submit">
</form>
?>
 </td>
</tr>
<tr><td align="right">Times per week:</td>
    <td><input name="times_per_week" value="<?php 
echo $request_info['times_per_week'];
?>
"></td>
</tr>
<tr>
    <td align='right'>Notes:</td>
    <td><textarea name="notes" rows=4 cols=80><?php 
echo $request_info['notes'];
?>
</textarea></td>
</tr>
</table>
<?php 
question_table("student", get_answers($request_id));
?>
<input type="submit" value="Submit">
</form>
<form>
<input type="hidden" name="page" value="cancel_request">
<input type="hidden" name="request_id" value="<?php 
echo $request_id;
?>
">
<input type="submit" value="Cancel">
</form>
    <td valign="top"><?php 
grade_select();
?>
 </td>
</tr>
<tr>
    <td align='right'>Desired Password:<br>(6-20 characters)</td>
    <td valign='top'><input name="password" type="password"/></td>
</tr>
<tr>
    <td align='right'>Retype Password:</td>
    <td><input name="password2" type="password"/></td>
</tr>
<tr>
    <td align='right'>Total hours you'd like to tutor per week:</td>
    <td><input name="total_hours_desired" size=3/></td>
</tr>
<tr>
    <td valign="top" align='right'>Availability:<br>(click on checkboxes to select times)</td>
    <td>
    <?php 
availability_matrix();
?>
    </td>
</table>
<?php 
question_table("tutor");
?>
<input type="submit" value="Submit">
</form>