mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 17:03:22 -05:00
Adds the interests check boxes.
1) Just needs a little css work by removing transaction css & js from head.
This commit is contained in:
parent
f5ddfdb70a
commit
7f05a37f34
@ -203,6 +203,7 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
|||||||
<td> <div id="waiver">
|
<td> <div id="waiver">
|
||||||
<p>
|
<p>
|
||||||
<?php include("Connections/waiver.txt"); ?>
|
<?php include("Connections/waiver.txt"); ?>
|
||||||
|
<br />
|
||||||
</p>
|
</p>
|
||||||
</div><input id="waiver_checkbox" type="checkbox"> I agree <span id="waiver_error"></span>
|
</div><input id="waiver_checkbox" type="checkbox"> I agree <span id="waiver_error"></span>
|
||||||
<input type="submit" id="waiver_button" value="Show Waiver" \>
|
<input type="submit" id="waiver_button" value="Show Waiver" \>
|
||||||
@ -216,17 +217,27 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
|||||||
|
|
||||||
<td>
|
<td>
|
||||||
<div id="interest_form">
|
<div id="interest_form">
|
||||||
<p>
|
|
||||||
<?php include("Connections/volunteer_interest_form_introduction.txt"); ?>
|
<?php include("Connections/volunteer_interest_form_introduction.txt"); ?>
|
||||||
</p>
|
|
||||||
<table>
|
<table>
|
||||||
|
<tr><td> </td></tr>
|
||||||
<?php
|
<?php
|
||||||
|
$columns = 3;
|
||||||
|
$c = 0;
|
||||||
|
$interest_count = count($volunteer_interests);
|
||||||
|
while($rows < $interest_count + 1) {
|
||||||
|
echo "<tr>";
|
||||||
|
for($i = $rows - $columns; $i < $rows; $i++) {
|
||||||
|
echo "<td><input value='$volunteer_interests[$i]' type='checkbox'>" . $volunteer_interests[$i] . "</td>";
|
||||||
|
}
|
||||||
|
echo "</tr>";
|
||||||
|
$rows = $rows + $columns;
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<?php if($volunteer_interest_comments) { ?>
|
<?php if($volunteer_interest_comments) { ?>
|
||||||
<tr>
|
<tr><td> </td></tr>
|
||||||
<td><label>Comments</label></td>
|
<tr>
|
||||||
<td><textarea name="comment" cols="45" rows="3"></textarea></td>
|
<td colspan="2"><label id="contact_comment">Comments</label>
|
||||||
|
<textarea name="comment" cols="45" rows="3"></textarea></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</table>
|
</table>
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contact_comment {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
#interest_form {
|
#interest_form {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
display: block;
|
display: block;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user