| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | <div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel"> | 
					
						
							| 
									
										
										
										
											2023-08-12 02:51:02 +08:00
										 |  |  | <?php if (count($qslimages) > 1) { ?>
 | 
					
						
							|  |  |  | <ol class="carousel-indicators"> | 
					
						
							|  |  |  |     <?php | 
					
						
							|  |  |  |     $i = 0; | 
					
						
							|  |  |  |     foreach ($qslimages as $image) { | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |         echo '<li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="' . $i . '"'; | 
					
						
							| 
									
										
										
										
											2023-08-12 02:51:02 +08:00
										 |  |  |         if ($i == 0) { | 
					
						
							|  |  |  |             echo 'class="active"'; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |         $i++; | 
					
						
							|  |  |  |         echo '></li>'; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     ?>
 | 
					
						
							|  |  |  | </ol> | 
					
						
							|  |  |  | <?php } ?>
 | 
					
						
							|  |  |  | <div class="carousel-inner"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <?php | 
					
						
							|  |  |  |     $i = 1; | 
					
						
							|  |  |  |     foreach ($qslimages as $image) { | 
					
						
							|  |  |  |         echo '<div class="text-center carousel-item carouselimageid_' . $image->id; | 
					
						
							|  |  |  |         if ($i == 1) { | 
					
						
							|  |  |  |             echo ' active'; | 
					
						
							|  |  |  |         } | 
					
						
							| 
									
										
										
										
											2023-08-12 03:07:06 +08:00
										 |  |  |         echo '">';?>
 | 
					
						
							|  |  |  | 		<table style="width:100%" class="table-sm table table-bordered table-hover table-striped table-condensed text-center"> | 
					
						
							|  |  |  | 		<thead> | 
					
						
							|  |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2023-10-03 20:44:33 +08:00
										 |  |  | 				<th><?php echo lang('gen_hamradio_callsign'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('general_word_datetime'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('gen_hamradio_mode'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('gen_hamradio_band'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('general_word_name'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('gen_hamradio_dxcc'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('gen_hamradio_state'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('gen_hamradio_cq_zone'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('gen_hamradio_iota'); ?></th>
 | 
					
						
							|  |  |  | 				<th><?php echo lang('gen_hamradio_gridsquare'); ?></th>
 | 
					
						
							| 
									
										
										
										
											2023-08-12 03:07:06 +08:00
										 |  |  | 			</tr> | 
					
						
							|  |  |  | 		</thead> | 
					
						
							|  |  |  | 		<tbody> | 
					
						
							|  |  |  | 		<?php | 
					
						
							|  |  |  | 			echo '<tr>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_CALL.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_TIME_ON.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_MODE.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_BAND.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_NAME.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_COUNTRY.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_STATE.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_CQZ.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_IOTA.'</td>'; | 
					
						
							|  |  |  | 			echo '<td>'.$image->COL_GRIDSQUARE.'</td>'; | 
					
						
							|  |  |  | 			echo '</tr>'; | 
					
						
							|  |  |  | 		?>
 | 
					
						
							|  |  |  | 		</tbody> | 
					
						
							|  |  |  | </table> | 
					
						
							|  |  |  |         <?php echo '<img class="img-fluid w-qsl" src="' . base_url() . '/assets/qslcard/' . $image->filename .'" alt="QSL picture #'. $i++.'">'; | 
					
						
							| 
									
										
										
										
											2023-08-12 02:51:02 +08:00
										 |  |  |         echo '</div>'; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     ?>
 | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | <?php if (count($qslimages) > 1) { ?>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 	<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-bs-slide="prev"> | 
					
						
							| 
									
										
										
										
											2023-08-12 02:51:02 +08:00
										 |  |  | 		<span class="carousel-control-prev-icon" aria-hidden="true"></span> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		<span class="visually-hidden"><?php echo lang('general_word_previous'); ?></span>
 | 
					
						
							| 
									
										
										
										
											2023-08-12 02:51:02 +08:00
										 |  |  | 	</a> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 	<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-bs-slide="next"> | 
					
						
							| 
									
										
										
										
											2023-08-12 02:51:02 +08:00
										 |  |  | 		<span class="carousel-control-next-icon" aria-hidden="true"></span> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		<span class="visually-hidden"><?php echo lang('general_word_next'); ?></span>
 | 
					
						
							| 
									
										
										
										
											2023-08-12 02:51:02 +08:00
										 |  |  | 	</a> | 
					
						
							|  |  |  | <?php } ?>
 | 
					
						
							|  |  |  | </div> |