echo $tutor_info['category_name']; ?> </td> <td><?php echo $tutor_info['grade'] ? $tutor_info['grade'] . 'th' : ''; ?> </td> <td><?php echo $tutor_info['total_hours_desired']; ?> </td> <td><a href="?page=list_matches&tutor_id=<?php echo $tutor_info['id']; ?> &active=1"><?php echo num_active_matches(null, $tutor_info['id']); ?> </a></td> <td><a href="?page=list_matches&tutor_id=<?php echo $tutor_info['id']; ?> &active=0"><?php echo num_dead_matches(null, $tutor_info['id']); ?> </a></td> <td><?php echo $tutor_info['signed_confidentiality'] ? 'yes' : 'no'; ?> </td> <td><?php echo $tutor_info['notes'] ? 'yes' : '';
<td><?php echo $student_info['grade']; ?> th</td> <td><a href="?page=list_requests&student_id=<?php echo $student_info['id']; ?> &matched=0"><?php echo num_open_requests($student_info['id']); ?> </a></td> <td><a href="?page=list_matches&student_id=<?php echo $student_info['id']; ?> &active=1"><?php echo num_active_matches($student_info['id']); ?> </a></td> <td><a href="?page=list_matches&student_id=<?php echo $student_info['id']; ?> &active=0"><?php echo num_dead_matches($student_info['id']); ?> </a></td> <td><?php echo $student_info['signed_contract'] ? 'yes' : 'no'; ?> </td> <td><?php echo $student_info['notes'] ? 'yes' : '';