| 
									
										
										
										
											2021-10-14 23:45:51 +08:00
										 |  |  | <?php | 
					
						
							|  |  |  | function echo_table_header_col($ctx, $name) { | 
					
						
							| 
									
										
										
										
											2021-10-15 14:56:40 +08:00
										 |  |  | 	switch($name) { | 
					
						
							|  |  |  | 		case 'Mode': echo '<th>'.$ctx->lang->line('gen_hamradio_mode').'</th>'; break; | 
					
						
							|  |  |  | 		case 'RSTS': echo '<th class="d-none d-sm-table-cell">'.$ctx->lang->line('gen_hamradio_rsts').'</th>'; break; | 
					
						
							|  |  |  | 		case 'RSTR': echo '<th class="d-none d-sm-table-cell">'.$ctx->lang->line('gen_hamradio_rstr').'</th>'; break; | 
					
						
							|  |  |  | 		case 'Country': echo '<th>'.$ctx->lang->line('general_word_country').'</th>'; break; | 
					
						
							|  |  |  | 		case 'IOTA': echo '<th>'.$ctx->lang->line('gen_hamradio_iota').'</th>'; break; | 
					
						
							|  |  |  | 		case 'SOTA': echo '<th>'.$ctx->lang->line('gen_hamradio_sota').'</th>'; break; | 
					
						
							|  |  |  | 		case 'State': echo '<th>'.$ctx->lang->line('gen_hamradio_state').'</th>'; break; | 
					
						
							|  |  |  | 		case 'Grid': echo '<th>'.$ctx->lang->line('gen_hamradio_gridsquare').'</th>'; break; | 
					
						
							|  |  |  | 		case 'Band': echo '<th>'.$ctx->lang->line('gen_hamradio_band').'</th>'; break; | 
					
						
							| 
									
										
										
										
											2021-11-06 22:53:04 +08:00
										 |  |  | 		case 'Operator': echo '<th>'.$ctx->lang->line('gen_hamradio_operator').'</th>'; break; | 
					
						
							| 
									
										
										
										
											2021-10-15 14:56:40 +08:00
										 |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | function echo_table_col($row, $name) { | 
					
						
							|  |  |  | 	switch($name) { | 
					
						
							|  |  |  | 		case 'Mode':    echo '<td>'; echo $row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE . '</td>'; break; | 
					
						
							| 
									
										
										
										
											2022-01-13 03:51:24 +08:00
										 |  |  |       case 'RSTS':    echo '<td class="d-none d-sm-table-cell">' . $row->COL_RST_SENT; if ($row->COL_STX) { echo '<span data-toggle="tooltip" data-original-title="'.($row->COL_CONTEST_ID!=""?$row->COL_CONTEST_ID:"n/a").'" class="badge badge-light">'; printf("%03d", $row->COL_STX); echo '</span>';} if ($row->COL_STX_STRING) { echo '<span data-toggle="tooltip" data-original-title="'.($row->COL_CONTEST_ID!=""?$row->COL_CONTEST_ID:"n/a").'" class="badge badge-light">' . $row->COL_STX_STRING . '</span>';} echo '</td>'; break; | 
					
						
							|  |  |  |       case 'RSTR':    echo '<td class="d-none d-sm-table-cell">' . $row->COL_RST_RCVD; if ($row->COL_SRX) { echo '<span data-toggle="tooltip" data-original-title="'.($row->COL_CONTEST_ID!=""?$row->COL_CONTEST_ID:"n/a").'" class="badge badge-light">'; printf("%03d", $row->COL_SRX); echo '</span>';} if ($row->COL_SRX_STRING) { echo '<span data-toggle="tooltip" data-original-title="'.($row->COL_CONTEST_ID!=""?$row->COL_CONTEST_ID:"n/a").'" class="badge badge-light">' . $row->COL_SRX_STRING . '</span>';} echo '</td>'; break; | 
					
						
							| 
									
										
										
										
											2021-10-15 14:56:40 +08:00
										 |  |  | 		case 'Country': echo '<td>' . ucwords(strtolower(($row->COL_COUNTRY))) . '</td>'; break; | 
					
						
							|  |  |  | 		case 'IOTA':    echo '<td>' . ($row->COL_IOTA) . '</td>'; break; | 
					
						
							|  |  |  | 		case 'SOTA':    echo '<td>' . ($row->COL_SOTA_REF) . '</td>'; break; | 
					
						
							| 
									
										
										
										
											2022-02-22 05:53:09 +08:00
										 |  |  | 		case 'Grid':    echo '<td>'; echoQrbCalcLink($row->station_gridsquare, $row->COL_VUCC_GRIDS, $row->COL_GRIDSQUARE); echo '</td>'; break; | 
					
						
							| 
									
										
										
										
											2022-08-11 17:50:28 +08:00
										 |  |  | 		case 'Band':    echo '<td>'; if($row->COL_SAT_NAME != null) { echo '<a href="https://db.satnogs.org/search/?q='.$row->COL_SAT_NAME.'" target="_blank">'.$row->COL_SAT_NAME.'</a></td>'; } else { echo strtolower($row->COL_BAND); } echo '</td>'; break; | 
					
						
							| 
									
										
										
										
											2021-10-15 14:56:40 +08:00
										 |  |  | 		case 'State':   echo '<td>' . ($row->COL_STATE) . '</td>'; break; | 
					
						
							| 
									
										
										
										
											2021-11-06 19:14:45 +08:00
										 |  |  | 		case 'Operator': echo '<td>' . ($row->COL_OPERATOR) . '</td>'; break; | 
					
						
							| 
									
										
										
										
											2021-10-15 14:56:40 +08:00
										 |  |  | 	} | 
					
						
							| 
									
										
										
										
											2021-10-14 23:45:51 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-02-20 02:46:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-22 05:53:09 +08:00
										 |  |  | function echoQrbCalcLink($mygrid, $grid, $vucc) { | 
					
						
							| 
									
										
										
										
											2022-02-20 02:46:07 +08:00
										 |  |  | 	if (strlen($grid) != 0) { | 
					
						
							| 
									
										
										
										
											2022-02-22 05:53:09 +08:00
										 |  |  | 		echo $grid . ' <a href="javascript:spawnQrbCalculator(\'' . $mygrid . '\',\'' . $grid . '\')"><i class="fas fa-globe"></i></a>'; | 
					
						
							| 
									
										
										
										
											2022-02-20 02:46:07 +08:00
										 |  |  | 	} else if (strlen($vucc) != 0) { | 
					
						
							| 
									
										
										
										
											2022-02-22 05:53:09 +08:00
										 |  |  | 		echo $vucc .' <a href="javascript:spawnQrbCalculator(\'' . $mygrid . '\',\'' . $vucc . '\')"><i class="fas fa-globe"></i></a>'; | 
					
						
							| 
									
										
										
										
											2022-02-20 02:46:07 +08:00
										 |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2021-10-14 23:45:51 +08:00
										 |  |  | ?>
 | 
					
						
							| 
									
										
										
										
											2019-04-08 22:36:23 +08:00
										 |  |  | <div class="container dashboard"> | 
					
						
							| 
									
										
										
										
											2011-08-23 02:31:53 +08:00
										 |  |  | <?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
 | 
					
						
							| 
									
										
										
										
											2019-03-21 00:58:06 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	<?php if($todays_qsos >= 1) { ?>
 | 
					
						
							|  |  |  | 		<div class="alert alert-success" role="alert"> | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 			  <?php echo $this->lang->line('dashboard_you_have_had'); ?> <strong><?php echo $todays_qsos; ?></strong> <?php echo $this->lang->line('dashboard_qsos_today'); ?>
 | 
					
						
							| 
									
										
										
										
											2019-03-21 00:58:06 +08:00
										 |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } else { ?>
 | 
					
						
							| 
									
										
										
										
											2020-12-07 01:30:41 +08:00
										 |  |  | 		<div class="alert alert-warning" role="alert"> | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 			  <span class="badge badge-info"><?php echo $this->lang->line('general_word_important'); ?></span> <i class="fas fa-broadcast-tower"></i> <?php echo $this->lang->line('notice_turn_the_radio_on'); ?>
 | 
					
						
							| 
									
										
										
										
											2019-03-21 00:58:06 +08:00
										 |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2019-10-03 19:56:25 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	<?php if($current_active == 0) { ?>
 | 
					
						
							|  |  |  | 		<div class="alert alert-danger" role="alert"> | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 		  <?php echo $this->lang->line('error_no_active_station_profile'); ?>
 | 
					
						
							| 
									
										
										
										
											2019-10-03 19:56:25 +08:00
										 |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-08-23 02:31:53 +08:00
										 |  |  | <?php } ?>
 | 
					
						
							| 
									
										
										
										
											2020-08-23 06:34:15 +08:00
										 |  |  | </div> | 
					
						
							| 
									
										
										
										
											2011-06-17 20:52:00 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | <!-- Map --> | 
					
						
							| 
									
										
										
										
											2020-08-23 06:34:15 +08:00
										 |  |  | <div id="map" style="width: 100%; height: 350px"></div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <div style="padding-top: 0px; margin-top: 5px;" class="container dashboard"> | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | <!-- Log Data --> | 
					
						
							| 
									
										
										
										
											2019-04-08 22:36:23 +08:00
										 |  |  | <div class="row logdata"> | 
					
						
							|  |  |  |   <div class="col-sm-8"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   	<div class="table-responsive"> | 
					
						
							| 
									
										
										
										
											2019-03-21 00:58:06 +08:00
										 |  |  |     	<table class="table table-striped table-hover"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     		<thead> | 
					
						
							|  |  |  | 				<tr class="titles"> | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 					<th><?php echo $this->lang->line('general_word_date'); ?></th>
 | 
					
						
							| 
									
										
										
										
											2019-06-23 23:00:14 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 					<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>
 | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 					<th><?php echo $this->lang->line('general_word_time'); ?></th>
 | 
					
						
							| 
									
										
										
										
											2019-06-23 23:00:14 +08:00
										 |  |  | 					<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 					<th><?php echo $this->lang->line('gen_hamradio_call'); ?></th>
 | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 					<?php | 
					
						
							| 
									
										
										
										
											2021-10-14 23:45:51 +08:00
										 |  |  | 					echo_table_header_col($this, $this->session->userdata('user_column1')==""?'Mode':$this->session->userdata('user_column1')); | 
					
						
							|  |  |  | 					echo_table_header_col($this, $this->session->userdata('user_column2')==""?'RSTS':$this->session->userdata('user_column2')); | 
					
						
							|  |  |  | 					echo_table_header_col($this, $this->session->userdata('user_column3')==""?'RSTR':$this->session->userdata('user_column3')); | 
					
						
							|  |  |  | 					echo_table_header_col($this, $this->session->userdata('user_column4')==""?'Band':$this->session->userdata('user_column4')); | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 				?>
 | 
					
						
							| 
									
										
										
										
											2019-03-21 00:58:06 +08:00
										 |  |  | 				</tr> | 
					
						
							|  |  |  | 			</thead> | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 			<?php | 
					
						
							|  |  |  | 			$i = 0; | 
					
						
							| 
									
										
										
										
											2021-11-15 06:48:39 +08:00
										 |  |  | 			if(!empty($last_five_qsos) > 0) { | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			foreach ($last_five_qsos->result() as $row) { ?>
 | 
					
						
							|  |  |  | 				<?php  echo '<tr class="tr'.($i & 1).'">'; ?>
 | 
					
						
							| 
									
										
										
										
											2020-09-16 05:04:47 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 					<?php | 
					
						
							| 
									
										
										
										
											2020-09-16 05:04:47 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 					// Get Date format
 | 
					
						
							|  |  |  | 					if($this->session->userdata('user_date_format')) { | 
					
						
							|  |  |  | 						// If Logged in and session exists
 | 
					
						
							|  |  |  | 						$custom_date_format = $this->session->userdata('user_date_format'); | 
					
						
							|  |  |  | 					} else { | 
					
						
							|  |  |  | 						// Get Default date format from /config/cloudlog.php
 | 
					
						
							|  |  |  | 						$custom_date_format = $this->config->item('qso_date_format'); | 
					
						
							|  |  |  | 					} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 					?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 					<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date($custom_date_format, $timestamp); ?></td>
 | 
					
						
							| 
									
										
										
										
											2019-06-22 18:34:06 +08:00
										 |  |  | 					<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 					<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('H:i', $timestamp); ?></td>
 | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-22 04:25:11 +08:00
										 |  |  | 					<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2019-03-21 01:47:40 +08:00
										 |  |  | 					<td> | 
					
						
							| 
									
										
										
										
											2020-09-25 02:22:09 +08:00
										 |  |  |                         <a id="edit_qso" href="javascript:displayQso(<?php echo $row->COL_PRIMARY_KEY; ?>)"><?php echo str_replace("0","Ø",strtoupper($row->COL_CALL)); ?></a>
 | 
					
						
							| 
									
										
										
										
											2019-03-21 01:47:40 +08:00
										 |  |  | 					</td> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 					<?php | 
					
						
							| 
									
										
										
										
											2021-10-15 14:56:40 +08:00
										 |  |  | 						echo_table_col($row, $this->session->userdata('user_column1')==""?'Mode':$this->session->userdata('user_column1')); | 
					
						
							|  |  |  | 						echo_table_col($row, $this->session->userdata('user_column2')==""?'RSTS':$this->session->userdata('user_column2')); | 
					
						
							|  |  |  | 						echo_table_col($row, $this->session->userdata('user_column3')==""?'RSTR':$this->session->userdata('user_column3')); | 
					
						
							|  |  |  | 						echo_table_col($row, $this->session->userdata('user_column4')==""?'Band':$this->session->userdata('user_column4')); | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 					?>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 				</tr> | 
					
						
							| 
									
										
										
										
											2021-11-15 06:48:39 +08:00
										 |  |  | 			<?php $i++; } } ?>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 		</table> | 
					
						
							| 
									
										
										
										
											2019-04-08 22:36:23 +08:00
										 |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  |   </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-08 22:36:23 +08:00
										 |  |  |   <div class="col-sm-4"> | 
					
						
							|  |  |  |   	<div class="table-responsive"> | 
					
						
							| 
									
										
										
										
											2021-05-03 21:06:56 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		<?php if($radio_status->num_rows()) { ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			<table class="table table-striped"> | 
					
						
							|  |  |  | 					<tr class="titles"> | 
					
						
							|  |  |  | 						<td colspan="2"><i class="fas fa-broadcast-tower"></i> Radio Status</td> | 
					
						
							|  |  |  | 					</tr> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-03 21:06:56 +08:00
										 |  |  | 					<?php foreach ($radio_status->result_array() as $row) { ?>
 | 
					
						
							|  |  |  | 					<tr> | 
					
						
							|  |  |  | 						<td><?php echo $row['radio']; ?></td>
 | 
					
						
							|  |  |  | 						<td> | 
					
						
							| 
									
										
										
										
											2022-04-06 20:50:24 +08:00
										 |  |  | 							<?php if($row['radio'] == "SatPC32" || $row['radio'] == "CloudLogCATQt") { ?>
 | 
					
						
							| 
									
										
										
										
											2021-05-03 21:06:56 +08:00
										 |  |  | 								<?php echo $row['sat_name']; ?>
 | 
					
						
							|  |  |  | 							<?php } else { ?>
 | 
					
						
							| 
									
										
										
										
											2021-05-06 22:36:52 +08:00
										 |  |  | 								<?php echo $this->frequency->hz_to_mhz($row['frequency']); ?> (<?php echo $row['mode']; ?>)
 | 
					
						
							| 
									
										
										
										
											2021-05-03 21:06:56 +08:00
										 |  |  | 							<?php } ?>
 | 
					
						
							|  |  |  | 						</td> | 
					
						
							|  |  |  | 					</tr> | 
					
						
							|  |  |  | 					<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 				</table> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-13 21:04:16 +08:00
										 |  |  |     	<table class="table table-striped"> | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr class="titles"> | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 				<td colspan="2"><i class="fas fa-chart-bar"></i> <?php echo $this->lang->line('dashboard_qso_breakdown'); ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_total'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_qsos; ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_year'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $year_qsos; ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_month'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $month_qsos; ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2019-05-13 21:04:16 +08:00
										 |  |  | 		</table> | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-13 21:04:16 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<table class="table table-striped"> | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr class="titles"> | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 				<td colspan="2"><i class="fas fa-globe-europe"></i> <?php echo $this->lang->line('dashboard_countries_breakdown'); ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_worked'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_countries; ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2019-12-08 06:32:41 +08:00
										 |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><a href="#" onclick="return false" data-original-title="QSL Cards / eQSL / LoTW" data-toggle="tooltip"><?php echo $this->lang->line('general_word_confirmed'); ?></a></td>
 | 
					
						
							|  |  |  | 				<td width="50%"> | 
					
						
							| 
									
										
										
										
											2020-10-17 02:02:54 +08:00
										 |  |  | 					<?php echo $total_countries_confirmed_paper; ?> /
 | 
					
						
							|  |  |  | 					<?php echo $total_countries_confirmed_eqsl; ?> /
 | 
					
						
							|  |  |  | 					<?php echo $total_countries_confirmed_lotw; ?>
 | 
					
						
							| 
									
										
										
										
											2020-02-28 06:17:12 +08:00
										 |  |  | 				</td> | 
					
						
							| 
									
										
										
										
											2019-12-08 06:32:41 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_needed'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_countries_needed; ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2019-05-13 21:04:16 +08:00
										 |  |  | 		</table> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-20 05:34:58 +08:00
										 |  |  | 		<?php if((($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_qsl_sent != 0 || $total_qsl_recv != 0 || $total_qsl_requested != 0)) { ?>
 | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 		<table class="table table-striped"> | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr class="titles"> | 
					
						
							| 
									
										
										
										
											2020-09-29 02:16:22 +08:00
										 |  |  | 				<td colspan="2"><i class="fas fa-envelope"></i> <?php echo $this->lang->line('general_word_qslcards'); ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_sent'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_qsl_sent; ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_received'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_qsl_recv; ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							| 
									
										
										
										
											2021-05-05 23:52:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_requested'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_qsl_requested; ?></td>
 | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  | 			</tr> | 
					
						
							|  |  |  | 		</table> | 
					
						
							| 
									
										
										
										
											2019-05-13 21:04:16 +08:00
										 |  |  | 		<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2021-11-20 05:34:58 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		<?php if((($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_eqsl_sent != 0 || $total_eqsl_recv != 0)) { ?>
 | 
					
						
							|  |  |  | 		<table class="table table-striped"> | 
					
						
							|  |  |  | 			<tr class="titles"> | 
					
						
							|  |  |  | 				<td colspan="2"><i class="fas fa-address-card"></i> <?php echo $this->lang->line('general_word_eqslcards'); ?></td>
 | 
					
						
							|  |  |  | 			</tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_sent'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_eqsl_sent; ?></td>
 | 
					
						
							| 
									
										
										
										
											2021-11-20 05:34:58 +08:00
										 |  |  | 			</tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_received'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_eqsl_recv; ?></td>
 | 
					
						
							| 
									
										
										
										
											2021-11-20 05:34:58 +08:00
										 |  |  | 			</tr> | 
					
						
							|  |  |  | 		</table> | 
					
						
							|  |  |  | 		<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php if((($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) && ($total_lotw_sent != 0 || $total_lotw_recv != 0)) { ?>
 | 
					
						
							|  |  |  | 		<table class="table table-striped"> | 
					
						
							|  |  |  | 			<tr class="titles"> | 
					
						
							|  |  |  | 				<td colspan="2"><i class="fas fa-list"></i> <?php echo $this->lang->line('general_word_lotw'); ?></td>
 | 
					
						
							|  |  |  | 			</tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_sent'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_lotw_sent; ?></td>
 | 
					
						
							| 
									
										
										
										
											2021-11-20 05:34:58 +08:00
										 |  |  | 			</tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			<tr> | 
					
						
							| 
									
										
										
										
											2021-12-31 22:25:42 +08:00
										 |  |  | 				<td width="50%"><?php echo $this->lang->line('general_word_received'); ?></td>
 | 
					
						
							|  |  |  | 				<td width="50%"><?php echo $total_lotw_recv; ?></td>
 | 
					
						
							| 
									
										
										
										
											2021-11-20 05:34:58 +08:00
										 |  |  | 			</tr> | 
					
						
							|  |  |  | 		</table> | 
					
						
							|  |  |  | 		<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2019-04-08 22:36:23 +08:00
										 |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2011-11-07 07:09:51 +08:00
										 |  |  |   </div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-09-30 20:34:06 +08:00
										 |  |  | </div> |