| 
									
										
										
										
											2019-05-22 00:02:26 +08:00
										 |  |  | <div class="container lotw"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-14 19:45:10 +08:00
										 |  |  |   <h2><?php echo lang('lotw_title'); ?> - <?php echo lang('lotw_title_adif_import'); ?></h2>
 | 
					
						
							| 
									
										
										
										
											2023-11-24 22:12:53 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-22 00:02:26 +08:00
										 |  |  | <div class="card"> | 
					
						
							| 
									
										
										
										
											2023-11-24 22:12:53 +08:00
										 |  |  |   <div class="card-header"><?php echo lang('lotw_title_adif_import_options'); ?></div>
 | 
					
						
							| 
									
										
										
										
											2019-05-22 00:02:26 +08:00
										 |  |  |   <div class="card-body"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <?php $this->load->view('layout/messages'); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <?php echo form_open_multipart('lotw/import');?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-17 22:11:05 +08:00
										 |  |  |     <div class="form-check"> | 
					
						
							|  |  |  |       <input type="radio" id="lotwimport" name="lotwimport" class="form-check-input"> | 
					
						
							| 
									
										
										
										
											2023-05-14 19:45:10 +08:00
										 |  |  |       <label class="form-check-label" for="lotwimport"><?php echo lang('lotw_input_a_file'); ?></label>
 | 
					
						
							| 
									
										
										
										
											2020-06-17 22:11:05 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-14 19:45:10 +08:00
										 |  |  |       <p><?php echo lang('lotw_upload_exported_adif_file_from_lotw'); ?></p>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |       <p><span class="badge text-bg-info"><?php echo lang('general_word_important'); ?></span> <?php echo lang('lotw_upload_type_must_be_adi'); ?></p>
 | 
					
						
							| 
									
										
										
										
											2020-06-17 22:11:05 +08:00
										 |  |  |        | 
					
						
							| 
									
										
										
										
											2023-11-24 22:12:53 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-17 22:11:05 +08:00
										 |  |  |       <div class="custom-file"> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |           <input type="file" class="form-control" id="adiffile" name="userfile" size="20" /> | 
					
						
							|  |  |  |         <label class="form-label" for="adiffile"><?php echo lang('general_word_choose_file'); ?></label>
 | 
					
						
							| 
									
										
										
										
											2020-06-17 22:11:05 +08:00
										 |  |  |       </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-24 22:12:53 +08:00
										 |  |  |       <br><br> | 
					
						
							| 
									
										
										
										
											2020-06-17 22:11:05 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-22 00:02:26 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		<br><br> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		<div class="form-check"> | 
					
						
							|  |  |  | 			<input type="radio" name="lotwimport" id="fetch" class="form-check-input" value="fetch" checked="checked" /> | 
					
						
							|  |  |  | 			<label class="form-check-label" for="fetch"><?php echo lang('lotw_pull_lotw_data_for_me'); ?></label>
 | 
					
						
							| 
									
										
										
										
											2019-05-22 00:02:26 +08:00
										 |  |  | 		</div> | 
					
						
							| 
									
										
										
										
											2023-11-25 17:50:50 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-14 19:45:10 +08:00
										 |  |  |       <p class="card-text"><?php echo lang('gen_from_date'); ?>:</p>
 | 
					
						
							| 
									
										
										
										
											2020-04-26 05:11:13 +08:00
										 |  |  |       <div class="row"> | 
					
						
							| 
									
										
										
										
											2023-11-19 20:42:56 +08:00
										 |  |  |           <div class="col-md-3"> | 
					
						
							|  |  |  |             <input name="from" id="from" type="date" class="form-control w-auto"> | 
					
						
							| 
									
										
										
										
											2020-04-26 05:11:13 +08:00
										 |  |  |           </div> | 
					
						
							|  |  |  |       </div> | 
					
						
							| 
									
										
										
										
											2020-05-01 19:29:02 +08:00
										 |  |  |       <br/> | 
					
						
							| 
									
										
										
										
											2023-11-24 23:15:01 +08:00
										 |  |  |       <div class="row"> | 
					
						
							|  |  |  |         <div class="col-md-4"> | 
					
						
							|  |  |  |           <label class="form-check-label" for="callsign"><?php echo lang('lotw_select_callsign'); ?></label>
 | 
					
						
							|  |  |  |           <?php | 
					
						
							|  |  |  |             $options = []; | 
					
						
							|  |  |  |             foreach ($callsigns->result() as $call) { | 
					
						
							|  |  |  |                $options[$call->callsign] = $call->callsign; | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |             ksort($options); | 
					
						
							|  |  |  |             array_unshift($options, 'All'); | 
					
						
							|  |  |  |             echo form_dropdown('callsign', $options, 'All'); | 
					
						
							|  |  |  |           ?>
 | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |       <br /> | 
					
						
							| 
									
										
										
										
											2020-04-26 05:11:13 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-24 22:12:53 +08:00
										 |  |  |       <p class="form-text text-muted"><?php echo lang('lotw_report_download_overview_helptext'); ?></p>
 | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2019-05-22 00:02:26 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-24 22:12:53 +08:00
										 |  |  |     <input class="btn btn-primary" type="submit" value="<?php echo lang('lotw_btn_import_matches'); ?>" /> | 
					
						
							| 
									
										
										
										
											2019-05-22 00:02:26 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-24 22:12:53 +08:00
										 |  |  |     </form> | 
					
						
							| 
									
										
										
										
											2019-05-22 00:02:26 +08:00
										 |  |  |   </div> | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2013-02-17 00:41:40 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | </div> |