| 
									
										
										
										
											2023-02-09 08:05:36 +08:00
										 |  |  | <style> | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  | #continentChart {
 | 
					
						
							|  |  |  |     margin: 0 auto; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2023-02-09 08:05:36 +08:00
										 |  |  | </style> | 
					
						
							|  |  |  | <div class="container statistics"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |     <h2> | 
					
						
							|  |  |  |         <?php echo $page_title; ?>
 | 
					
						
							|  |  |  |     </h2> | 
					
						
							| 
									
										
										
										
											2023-02-09 08:05:36 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |     <br> | 
					
						
							|  |  |  |     <div hidden class="tabs"> | 
					
						
							|  |  |  |         <ul class="nav nav-tabs" id="myTab" role="tablist"> | 
					
						
							|  |  |  |             <li class="nav-item"> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                 <a class="nav-link active" id="continents-tab" data-bs-toggle="tab" href="#continents" role="tab" | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |                     aria-controls="continents" aria-selected="true">No of QSOs</a> | 
					
						
							|  |  |  |             </li> | 
					
						
							|  |  |  |         </ul> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2023-02-09 08:05:36 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |     <div class="tab-content" id="myTabContent"> | 
					
						
							| 
									
										
										
										
											2023-02-09 08:05:36 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |         <div class="tab-pane fade active show" id="continents" role="tabpanel" aria-labelledby="continents-tab"> | 
					
						
							|  |  |  |             <br /> | 
					
						
							|  |  |  |             <form id="searchForm" name="searchForm" action="<?php echo base_url()."index.php/continents/get_continents";?>" method="post"> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                 <div class="row"> | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                     <div class="mb-3 col-lg-2"> | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |                         <label class="form-label" for="band">Band</label> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                         <select id="band" name="band" class="form-select form-select-sm"> | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |                             <option value="">All</option> | 
					
						
							|  |  |  |                             <?php foreach($bands as $band){ ?>
 | 
					
						
							|  |  |  | 								<option value="<?php echo htmlentities($band);?>"><?php echo htmlspecialchars($band);?>	</option>
 | 
					
						
							|  |  |  | 							<?php } ?>
 | 
					
						
							|  |  |  |                         </select> | 
					
						
							|  |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                     <div class="mb-3 col-lg-2"> | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |                         <label class="form-label" for="mode">Mode</label> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                         <select id="mode" name="mode" class="form-select form-select-sm"> | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |                             <option value="">All</option> | 
					
						
							|  |  |  |                             <?php foreach($modes as $modeId => $mode){ ?>
 | 
					
						
							|  |  |  | 								<option value="<?php echo htmlspecialchars($mode);?>"><?php echo htmlspecialchars($mode);?></option>
 | 
					
						
							|  |  |  | 							<?php } ?>
 | 
					
						
							|  |  |  |                         </select> | 
					
						
							|  |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                     <div class="mb-3 col-lg-2 col-md-3 col-sm-3 col-xl-21"> | 
					
						
							| 
									
										
										
										
											2023-02-09 19:35:30 +08:00
										 |  |  |                         <label> </label><br> | 
					
						
							|  |  |  |                         <button type="submit" class="btn btn-sm btn-primary" id="searchButton">Search</button> | 
					
						
							|  |  |  |                         <button type="reset" class="btn btn-sm btn-danger" id="resetButton">Reset</button> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  | 			</form> | 
					
						
							|  |  |  |     <div style="display: flex;" id="continentContainer"> | 
					
						
							|  |  |  |         <div style="flex: 1;"><canvas id="continentChart" width="500" height="500"></canvas></div> | 
					
						
							|  |  |  |         <div style="flex: 1;" id="continentTable"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             <table style="width:100%" class="continentstable table table-sm table-bordered table-hover table-striped table-condensed text-center"> | 
					
						
							|  |  |  |                 <thead> | 
					
						
							|  |  |  |                     <tr> | 
					
						
							|  |  |  |                         <th>#</th>
 | 
					
						
							|  |  |  |                         <th>Continent</th> | 
					
						
							|  |  |  |                         <th># of QSO's worked</th>
 | 
					
						
							|  |  |  |                     </tr> | 
					
						
							|  |  |  |                 </thead> | 
					
						
							|  |  |  |                 <tbody></tbody> | 
					
						
							|  |  |  |             </table> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | </div> |