| 
									
										
										
										
											2011-11-20 06:30:19 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-16 23:03:52 +08:00
										 |  |  | <div class="container adif"> | 
					
						
							| 
									
										
										
										
											2012-11-14 04:29:38 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  | 	<h1>ADIF Functions</h1> | 
					
						
							| 
									
										
										
										
											2011-11-20 06:30:19 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  | 	<div class="card"> | 
					
						
							|  |  |  | 	  <div class="card-header"> | 
					
						
							|  |  |  | 	    <?php echo $page_title; ?>
 | 
					
						
							|  |  |  | 	  </div> | 
					
						
							|  |  |  | 	  <div class="card-body"> | 
					
						
							|  |  |  | 	    <h5 class="card-title"></h5> | 
					
						
							| 
									
										
										
										
											2019-04-08 22:52:41 +08:00
										 |  |  | 	    <p class="card-text">Please make sure there is no extra text at the top of the ADIF file as the import will fail.</p> | 
					
						
							| 
									
										
										
										
											2011-11-20 06:30:19 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-16 23:03:52 +08:00
										 |  |  | 	    <?php if(isset($error)) { ?>
 | 
					
						
							|  |  |  | 			<div class="alert alert-danger" role="alert"> | 
					
						
							|  |  |  | 			  <?php echo $error; ?>
 | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 	    <?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  | 	    <p><span class="label important">Important</span> Log files must have the file type .adi</p> | 
					
						
							| 
									
										
										
										
											2011-11-20 06:30:19 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  | 		<form class="form-inline" action="<?php echo site_url('adif/import'); ?>" method="post" enctype="multipart/form-data"> | 
					
						
							|  |  |  | 		  <label class="sr-only" for="inlineFormInputName2">ADIF file</label> | 
					
						
							|  |  |  | 		  <input class="file-input mb-2 mr-sm-2" type="file" name="userfile" size="20" /> | 
					
						
							| 
									
										
										
										
											2011-11-20 06:30:19 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  | 		  <button type="submit" class="btn btn-primary mb-2" value="Upload">Upload</button> | 
					
						
							|  |  |  | 		</form> | 
					
						
							| 
									
										
										
										
											2019-05-16 23:03:52 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-16 23:19:56 +08:00
										 |  |  | 		<p><span class="badge badge-warning">Warning</span> Maximum file upload size is <?php echo $max_upload; ?>B.</p>
 | 
					
						
							| 
									
										
										
										
											2019-05-16 23:03:52 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  | 	  </div> | 
					
						
							|  |  |  | 	</div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <br> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <div class="card"> | 
					
						
							|  |  |  |   <div class="card-header"> | 
					
						
							|  |  |  |     ADIF Export | 
					
						
							|  |  |  |   </div> | 
					
						
							| 
									
										
										
										
											2019-05-16 23:03:52 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  |   <div class="card-body"> | 
					
						
							|  |  |  |     <h5 class="card-title">Take your logbook file anywhere!</h5> | 
					
						
							|  |  |  |     <p class="card-text">Exporting ADIFs allows you to import contacts into third party applications like LoTW, Awards or just for keeping a backup.</p> | 
					
						
							| 
									
										
										
										
											2019-05-16 23:03:52 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-08 22:50:36 +08:00
										 |  |  |      | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  |     <a href="<?php echo site_url('adif/exportall'); ?>" title="Export All" target="_blank" class="btn btn-outline-secondary btn-sm">Export All QSOs</a> | 
					
						
							| 
									
										
										
										
											2019-04-08 22:50:36 +08:00
										 |  |  |      | 
					
						
							| 
									
										
										
										
											2019-04-08 22:51:17 +08:00
										 |  |  |     <br><br> | 
					
						
							| 
									
										
										
										
											2019-04-08 22:50:36 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <h6>Export Satellite Only QSOs</h6> | 
					
						
							|  |  |  |     <a href="<?php echo site_url('adif/exportsat'); ?>" title="Export All Satellite Contacts" target="_blank" class="btn btn-outline-secondary btn-sm">Export All Satellite QSOs</a> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <a href="<?php echo site_url('adif/exportsatlotw'); ?>" title="Export All Satellite QSOS Confirmed on LoTW" target="_blank" class="btn btn-outline-secondary btn-sm">Export All Satellite QSOs Confirmed on LoTW</a> | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  |   </div> | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2011-11-20 06:30:19 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | </div> | 
					
						
							| 
									
										
										
										
											2019-01-14 03:11:46 +08:00
										 |  |  | 
 |