mirror of
				https://github.com/fspc/Yellow-Bike-Database.git
				synced 2025-10-31 00:45:35 -04: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"> | ||||
| 				  <p> | ||||
| 				  <?php include("Connections/waiver.txt"); ?>
 | ||||
| 				  <br /> | ||||
| 				  </p> | ||||
| 				  </div><input id="waiver_checkbox" type="checkbox"> I agree <span id="waiver_error"></span> | ||||
| 			  	<input type="submit" id="waiver_button" value="Show Waiver" \> | ||||
| @ -216,17 +217,27 @@ $totalRows_Recordset1 = mysql_num_rows($Recordset1); | ||||
| 			 				 | ||||
| 			   <td>			   | ||||
| 			  		<div id="interest_form"> | ||||
| 				  	<p> | ||||
| 				  	<?php include("Connections/volunteer_interest_form_introduction.txt"); ?>
 | ||||
| 				  	</p>		 | ||||
| 					<table> | ||||
| 						<tr><td> </td></tr> | ||||
| 						<?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) { ?>	
 | ||||
| 						<tr>			  	  | ||||
| 				  	 		<td><label>Comments</label></td> | ||||
| 				  	 		<td><textarea  name="comment" cols="45" rows="3"></textarea></td> | ||||
| 						<?php if($volunteer_interest_comments) { ?>							
 | ||||
| 						<tr><td> </td></tr>					 | ||||
| 						<tr>		  	  | ||||
| 				  	 		<td colspan="2"><label id="contact_comment">Comments</label> | ||||
| 				  	 		<textarea  name="comment" cols="45" rows="3"></textarea></td> | ||||
| 				  		</tr> | ||||
| 				  		<?php } ?>
 | ||||
| 				  	</table> | ||||
|  | ||||
| @ -5,6 +5,10 @@ | ||||
| 	font-weight: bold; | ||||
| } | ||||
| 
 | ||||
| .contact_comment { | ||||
| 	display: inline-block; | ||||
| } | ||||
| 
 | ||||
| #interest_form { | ||||
| 	padding: 10px;  | ||||
| 	display: block;  | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user