| 
									
										
										
										
											2020-10-29 06:20:03 +08:00
										 |  |  | <div class="container"> | 
					
						
							| 
									
										
										
										
											2020-11-04 22:48:22 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <br> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-06 01:06:39 +08:00
										 |  |  |     <h2><?php echo $this->lang->line('general_word_qslcards'); ?></h2>
 | 
					
						
							| 
									
										
										
										
											2020-10-29 06:20:03 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-04 22:46:42 +08:00
										 |  |  |     <div class="alert alert-info" role="alert"> | 
					
						
							| 
									
										
										
										
											2021-01-06 01:06:39 +08:00
										 |  |  |     <?php echo $this->lang->line('qslcard_string_your_are_using'); ?> <?php echo $storage_used; ?> <?php echo $this->lang->line('qslcard_string_disk_space'); ?> 
 | 
					
						
							| 
									
										
										
										
											2020-11-04 22:46:42 +08:00
										 |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-29 06:20:03 +08:00
										 |  |  |     <?php | 
					
						
							|  |  |  |     if (is_array($qslarray->result())) { | 
					
						
							|  |  |  |         echo '<table style="width:100%" class="qsltable table table-sm table-bordered table-hover table-striped table-condensed"> | 
					
						
							|  |  |  |         <thead> | 
					
						
							|  |  |  |         <tr> | 
					
						
							| 
									
										
										
										
											2021-01-06 01:06:39 +08:00
										 |  |  |         <th style=\'text-align: center\'>'.$this->lang->line('gen_hamradio_callsign').'</th> | 
					
						
							|  |  |  |         <th style=\'text-align: center\'>'.$this->lang->line('gen_hamradio_qsl').'</th> | 
					
						
							| 
									
										
										
										
											2020-10-29 06:20:03 +08:00
										 |  |  |         <th style=\'text-align: center\'></th> | 
					
						
							|  |  |  |         <th style=\'text-align: center\'></th> | 
					
						
							|  |  |  |         </tr> | 
					
						
							|  |  |  |         </thead><tbody>'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         foreach ($qslarray->result() as $qsl) { | 
					
						
							|  |  |  |             echo '<tr>'; | 
					
						
							|  |  |  |             echo '<td style=\'text-align: center\'>' . $qsl->COL_CALL . '</td>'; | 
					
						
							|  |  |  |             echo '<td style=\'text-align: center\'>' . $qsl->filename . '</td>'; | 
					
						
							|  |  |  |             echo '<td id="'.$qsl->id.'" style=\'text-align: center\'><button onclick="deleteQsl(\''.$qsl->id.'\')" class="btn btn-sm btn-danger">Delete</button></td>'; | 
					
						
							|  |  |  |             echo '<td style=\'text-align: center\'><button onclick="viewQsl(\''.$qsl->filename.'\', \''. $qsl->COL_CALL . '\')" class="btn btn-sm btn-success">View</button></td>'; | 
					
						
							|  |  |  |             echo '</tr>'; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         echo '</tbody></table>'; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     ?>
 | 
					
						
							| 
									
										
										
										
											2020-11-04 22:46:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-29 06:20:03 +08:00
										 |  |  | </div> |