| 
									
										
										
										
											2024-02-23 23:29:37 +08:00
										 |  |  | <table id="upcoming_dxccs_component" class="table table-striped border-top"> | 
					
						
							| 
									
										
										
										
											2024-02-18 21:47:01 +08:00
										 |  |  |     <tr class="titles"> | 
					
						
							|  |  |  |         <td colspan="3"><i class="fas fa-chart-bar"></i> DXPeditions (This Week)</td> | 
					
						
							|  |  |  |     </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <?php | 
					
						
							|  |  |  |     foreach ($thisWeekRecords as $record) { | 
					
						
							| 
									
										
										
										
											2024-02-23 23:29:37 +08:00
										 |  |  |         $name = $record['workedBefore'] == 1 ? 'worked_before' : 'not_worked_before'; | 
					
						
							| 
									
										
										
										
											2024-02-18 21:47:01 +08:00
										 |  |  |         echo '<tr>'; | 
					
						
							| 
									
										
										
										
											2024-02-23 23:29:37 +08:00
										 |  |  |         echo '<td id="' . $name . '">' . $record['daysLeft'] . '</td>'; // Date
 | 
					
						
							| 
									
										
										
										
											2024-03-05 21:50:31 +08:00
										 |  |  |         echo '<td id="' . $name . '">' . '<a target="_blank" href="https://dxheat.com/db/'.$record['callsign'].'" data-bs-toggle="tooltip" data-bs-title="'.$record['6'].'">'.$record['callsign'] . '</a>'. '</td>'; // Callsign
 | 
					
						
							| 
									
										
										
										
											2024-02-23 23:29:37 +08:00
										 |  |  |         echo '<td id="' . $name . '">' . $record['2'] . '</td>'; // Country
 | 
					
						
							| 
									
										
										
										
											2024-02-18 21:47:01 +08:00
										 |  |  |         echo '</tr>'; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     ?>
 | 
					
						
							|  |  |  | </table> |