rendered paste body<dtml-var standard_html_header>
<form action="mch" method="POST">
<table border="0">
<tr valign="top">
<dtml-if "AUTHENTICATED_USER.has_role('Authenticated')">
<dtml-call expr="scripts.getUserIdScript()">
</dtml-if>
<td>
Select Track:
<td>
<select name="track">
<option value="">---Please select---</option>
<dtml-in getTracks>
<option value="<dtml-var id>"><dtml-var name capitalize></option>
</dtml-in>
</select>
<tr>
<td>
Select Car:
<td>
<select name="car">
<option value="">---Any---</option>
<dtml-in getCars>
<option value="<dtml-var car_id>"><dtml-var "capName(name=car_name)"></option>
</dtml-in>
</select>
</tr>
<tr>
<td>
Select Class:
<td>
<select name="car_class">
<option value="">---Any---</option>
<dtml-in "['TC65','GTC65','GTC76']">
<option><dtml-var sequence-item></option>
</dtml-in>
</select>
</tr>
<tr>
<td>
Select Mode:
<td>
<select name="mode">
<option value="">---Any---</option>
<dtml-in getModes>
<option value="<dtml-var mode_id>"><dtml-var mode_name capitalize></option>
</dtml-in>
</select>
</tr>
<tr valign="top">
<td>Select Country:
<td>
<select name="country">
<option value="">---Any---</option>
<dtml-in getCountries>
<option value="<dtml-var country_id>"><dtml-var country_name></option>
</dtml-in>
</select>
</td>
</tr>
<tr valign="top">
<td>Select Drivers:
<td>
<select name="buddy_only">
<option value="">---All---</option>
<dtml-comment>
///////////----------------------------- BROKEN FOR SOME REASON --------------------------///////////
<dtml-if "AUTHENTICATED_USER.has_role('Authenticated')">
<option value="1">Buddies Only</option>
<dtml-in expr="sql.getBuddyGroups(scripts.getUserIdScript())">
<dtml-in expr="sql.getBuddyGroupNameById(g_id=group_id)">
<option value="<dtml-var group_id>"><dtml-var group_name></option>
</dtml-in>
</dtml-in>
</dtml-if>
</dtml-comment>
</select>
</td>
</tr>
<td colspan="2">
<input type="submit" value="Show laptimes">
</table>
</form>
<p>Track missing? Please send mail to gtlrank@googlegroups.com containing the track name, download location and some useful class reference times.
</p>
<dtml-var standard_html_footer>