html5 datepicker
这个提交包含在:
		
							父节点
							
								
									17f39639be
								
							
						
					
					
						当前提交
						034c1115e2
					
				
					共有  2 个文件被更改,包括 274 次插入 和 267 次删除
				
			
		|  | @ -117,13 +117,9 @@ class adif_data extends CI_Model { | ||||||
| 
 | 
 | ||||||
|         // If date is set, we format the date and add it to the where-statement
 |         // If date is set, we format the date and add it to the where-statement
 | ||||||
|         if ($from) { |         if ($from) { | ||||||
|             $from = DateTime::createFromFormat('d/m/Y', $from); |  | ||||||
|             $from = $from->format('Y-m-d'); |  | ||||||
|             $this->db->where("date(".$this->config->item('table_name').".COL_TIME_ON) >= '".$from."'"); |             $this->db->where("date(".$this->config->item('table_name').".COL_TIME_ON) >= '".$from."'"); | ||||||
|         } |         } | ||||||
|         if ($to) { |         if ($to) { | ||||||
|             $to = DateTime::createFromFormat('d/m/Y', $to); |  | ||||||
|             $to = $to->format('Y-m-d'); |  | ||||||
|             $this->db->where("date(".$this->config->item('table_name').".COL_TIME_ON) <= '".$to."'"); |             $this->db->where("date(".$this->config->item('table_name').".COL_TIME_ON) <= '".$to."'"); | ||||||
|         } |         } | ||||||
|         if ($exportLotw) { |         if ($exportLotw) { | ||||||
|  |  | ||||||
|  | @ -1,269 +1,280 @@ | ||||||
| 
 |  | ||||||
| <div class="container adif"> | <div class="container adif"> | ||||||
| 
 | 
 | ||||||
| 	<h2><?php echo $page_title; ?></h2>
 |     <h2><?php echo $page_title; ?></h2>
 | ||||||
|    <?php |     <?php | ||||||
|         $showtab = ''; |     $showtab = ''; | ||||||
|         if(isset($tab)) { |     if (isset($tab)) { | ||||||
|            $showtab = $tab; |         $showtab = $tab; | ||||||
|         } |     } | ||||||
|     ?>
 |     ?>
 | ||||||
| 
 | 
 | ||||||
|     <div class="card"> |     <div class="card"> | ||||||
|     <div class="card-header"> |         <div class="card-header"> | ||||||
|     <ul class="nav nav-tabs card-header-tabs pull-right" role="tablist"> |             <ul class="nav nav-tabs card-header-tabs pull-right" role="tablist"> | ||||||
|         <li class="nav-item"> |                 <li class="nav-item"> | ||||||
|             <a class="nav-link <?php if($showtab == '' || $showtab == 'adif') { echo 'active'; } ?>" id="import-tab" data-bs-toggle="tab" href="#import" role="tab" aria-controls="import" aria-selected="<?php if ($showtab == '' || $showtab == 'adif') { echo 'true'; } else { echo 'false'; } ?>"><?php echo lang('adif_import')?></a>
 |                     <a class="nav-link <?php if ($showtab == '' || $showtab == 'adif') { | ||||||
|         </li> |                                             echo 'active'; | ||||||
|         <li class="nav-item"> |                                         } ?>" id="import-tab" data-bs-toggle="tab" href="#import" role="tab" aria-controls="import" aria-selected="<?php if ($showtab == '' || $showtab == 'adif') {
 | ||||||
|             <a class="nav-link" id="export-tab" data-bs-toggle="tab" href="#export" role="tab" aria-controls="export" aria-selected="false"><?php echo lang('adif_export')?></a>
 |                                                                                                                                                         echo 'true'; | ||||||
|         </li> |                                                                                                                                                     } else { | ||||||
|         <li class="nav-item"> |                                                                                                                                                         echo 'false'; | ||||||
|             <a class="nav-link" id="lotw-tab" data-bs-toggle="tab" href="#lotw" role="tab" aria-controls="lotw" aria-selected="false"><?php echo lang('lotw_title')?></a>
 |                                                                                                                                                     } ?>"><?php echo lang('adif_import') ?></a>
 | ||||||
|         </li> |                 </li> | ||||||
|         <li class="nav-item"> |                 <li class="nav-item"> | ||||||
|             <a class="nav-link <?php if ($showtab == 'dcl') { echo 'active'; } ?>" id="dcl-tab" data-bs-toggle="tab" href="#dcl" role="tab" aria-controls="dcl" aria-selected="<?php if ($showtab == 'dcl') { echo 'true'; } else { echo 'false'; } ?>"><?php echo lang('darc_dcl')?></a>
 |                     <a class="nav-link" id="export-tab" data-bs-toggle="tab" href="#export" role="tab" aria-controls="export" aria-selected="false"><?php echo lang('adif_export') ?></a>
 | ||||||
|         </li> |                 </li> | ||||||
|     </ul> |                 <li class="nav-item"> | ||||||
|     </div> |                     <a class="nav-link" id="lotw-tab" data-bs-toggle="tab" href="#lotw" role="tab" aria-controls="lotw" aria-selected="false"><?php echo lang('lotw_title') ?></a>
 | ||||||
|  |                 </li> | ||||||
|  |                 <li class="nav-item"> | ||||||
|  |                     <a class="nav-link <?php if ($showtab == 'dcl') { | ||||||
|  |                                             echo 'active'; | ||||||
|  |                                         } ?>" id="dcl-tab" data-bs-toggle="tab" href="#dcl" role="tab" aria-controls="dcl" aria-selected="<?php if ($showtab == 'dcl') {
 | ||||||
|  |                                                                                                                                                 echo 'true'; | ||||||
|  |                                                                                                                                             } else { | ||||||
|  |                                                                                                                                                 echo 'false'; | ||||||
|  |                                                                                                                                             } ?>"><?php echo lang('darc_dcl') ?></a>
 | ||||||
|  |                 </li> | ||||||
|  |             </ul> | ||||||
|  |         </div> | ||||||
| 
 | 
 | ||||||
|     <div class="card-body"> |         <div class="card-body"> | ||||||
|         <div class="tab-content"> |             <div class="tab-content"> | ||||||
|             <div class="tab-pane <?php if($showtab == '' || $showtab == 'adif') { echo 'active'; } else { echo 'fade'; } ?>" id="import" role="tabpanel" aria-labelledby="home-tab"> |                 <div class="tab-pane <?php if ($showtab == '' || $showtab == 'adif') { | ||||||
|  |                                             echo 'active'; | ||||||
|  |                                         } else { | ||||||
|  |                                             echo 'fade'; | ||||||
|  |                                         } ?>" id="import" role="tabpanel" aria-labelledby="home-tab">
 | ||||||
| 
 | 
 | ||||||
|                 <?php if(isset($error) && ($showtab == '' || $showtab == 'adif')) { ?>
 |                     <?php if (isset($error) && ($showtab == '' || $showtab == 'adif')) { ?>
 | ||||||
|                     <div class="alert alert-danger" role="alert"> |                         <div class="alert alert-danger" role="alert"> | ||||||
|                       <?php echo $error; ?>
 |                             <?php echo $error; ?>
 | ||||||
|                     </div> |                         </div> | ||||||
|                 <?php } ?>
 |  | ||||||
| 
 |  | ||||||
|                 <p><span class="badge text-bg-warning"><?php echo lang('general_word_important')?></span> <?php echo lang('adif_alert_log_files_type')?></p>
 |  | ||||||
|                 <p><span class="badge text-bg-warning"><?php echo lang('general_word_warning')?></span> <?php echo lang('gen_max_file_upload_size')?><?php echo $max_upload; ?>B.</p>
 |  | ||||||
| 
 |  | ||||||
|                 <form class="form" action="<?php echo site_url('adif/import'); ?>" method="post" enctype="multipart/form-data"> |  | ||||||
|                     <select name="station_profile" class="form-select mb-2 me-sm-2" style="width: 20%;"> |  | ||||||
|                     <option value="0"><?php echo lang('adif_select_stationlocation')?></option>
 |  | ||||||
|                     <?php foreach ($station_profile->result() as $station) { ?>
 |  | ||||||
|                     <option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) { echo " selected =\"selected\""; } ?>><?php echo lang('gen_hamradio_callsign') . ": "?><?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
 |  | ||||||
|                     <?php } ?>
 |                     <?php } ?>
 | ||||||
|                     </select> |  | ||||||
|                   <label class="visually-hidden" for="inlineFormInputName2"><?php echo lang('adif_file_label')?></label>
 |  | ||||||
|                   <input class="file-input mb-2 me-sm-2" type="file" name="userfile" size="20" /> |  | ||||||
| 
 | 
 | ||||||
|                     <div class="mb-3 row"> |                     <p><span class="badge text-bg-warning"><?php echo lang('general_word_important') ?></span> <?php echo lang('adif_alert_log_files_type') ?></p>
 | ||||||
|                         <div class="col-md-10"> |                     <p><span class="badge text-bg-warning"><?php echo lang('general_word_warning') ?></span> <?php echo lang('gen_max_file_upload_size') ?><?php echo $max_upload; ?>B.</p>
 | ||||||
|                             <div class="form-check-inline"> | 
 | ||||||
|                                 <input class="form-check-input" type="checkbox" name="skipDuplicate" value="1" id="skipDuplicate"> |                     <form class="form" action="<?php echo site_url('adif/import'); ?>" method="post" enctype="multipart/form-data"> | ||||||
|                                 <label class="form-check-label" for="skipDuplicate"><?php echo lang('adif_import_dup')?></label>
 |                         <select name="station_profile" class="form-select mb-2 me-sm-2" style="width: 20%;"> | ||||||
|  |                             <option value="0"><?php echo lang('adif_select_stationlocation') ?></option>
 | ||||||
|  |                             <?php foreach ($station_profile->result() as $station) { ?>
 | ||||||
|  |                                 <option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) { | ||||||
|  |                                                                                         echo " selected =\"selected\""; | ||||||
|  |                                                                                     } ?>><?php echo lang('gen_hamradio_callsign') . ": " ?><?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
 | ||||||
|  |                             <?php } ?>
 | ||||||
|  |                         </select> | ||||||
|  |                         <label class="visually-hidden" for="inlineFormInputName2"><?php echo lang('adif_file_label') ?></label>
 | ||||||
|  |                         <input class="file-input mb-2 me-sm-2" type="file" name="userfile" size="20" /> | ||||||
|  | 
 | ||||||
|  |                         <div class="mb-3 row"> | ||||||
|  |                             <div class="col-md-10"> | ||||||
|  |                                 <div class="form-check-inline"> | ||||||
|  |                                     <input class="form-check-input" type="checkbox" name="skipDuplicate" value="1" id="skipDuplicate"> | ||||||
|  |                                     <label class="form-check-label" for="skipDuplicate"><?php echo lang('adif_import_dup') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |  | ||||||
| 
 | 
 | ||||||
|                     <div class="mb-3 row"> |                         <div class="mb-3 row"> | ||||||
|                         <div class="col-md-10"> |                             <div class="col-md-10"> | ||||||
|                             <div class="form-check-inline"> |                                 <div class="form-check-inline"> | ||||||
|                                 <input class="form-check-input" type="checkbox" name="markLotw" value="1" id="markLotwImport"> |                                     <input class="form-check-input" type="checkbox" name="markLotw" value="1" id="markLotwImport"> | ||||||
|                                 <label class="form-check-label" for="markLotwImport"><?php echo lang('adif_mark_imported_lotw')?></label>
 |                                     <label class="form-check-label" for="markLotwImport"><?php echo lang('adif_mark_imported_lotw') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="small form-text text-muted"><?php echo lang('adif_hint_no_info_in_file') ?></div>
 | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="small form-text text-muted"><?php echo lang('adif_hint_no_info_in_file')?></div>
 |  | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |  | ||||||
| 
 | 
 | ||||||
|                     <div class="mb-3 row"> |                         <div class="mb-3 row"> | ||||||
|                         <div class="col-md-10"> |                             <div class="col-md-10"> | ||||||
|                             <div class="form-check-inline"> |                                 <div class="form-check-inline"> | ||||||
|                                 <input class="form-check-input" type="checkbox" name="markHrd" value="1" id="markHrdImport"> |                                     <input class="form-check-input" type="checkbox" name="markHrd" value="1" id="markHrdImport"> | ||||||
|                                 <label class="form-check-label" for="markHrdImport"><?php echo lang('adif_mark_imported_hrdlog')?></label>
 |                                     <label class="form-check-label" for="markHrdImport"><?php echo lang('adif_mark_imported_hrdlog') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="small form-text text-muted"><?php echo lang('adif_hint_no_info_in_file') ?></div>
 | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="small form-text text-muted"><?php echo lang('adif_hint_no_info_in_file')?></div>
 |  | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |  | ||||||
| 
 | 
 | ||||||
|                     <div class="mb-3 row"> |                         <div class="mb-3 row"> | ||||||
|                         <div class="col-md-10"> |                             <div class="col-md-10"> | ||||||
|                             <div class="form-check-inline"> |                                 <div class="form-check-inline"> | ||||||
|                                 <input class="form-check-input" type="checkbox" name="markQrz" value="1" id="markQrzImport"> |                                     <input class="form-check-input" type="checkbox" name="markQrz" value="1" id="markQrzImport"> | ||||||
|                                 <label class="form-check-label" for="markQrzImport"><?php echo lang('adif_mark_imported_qrz')?></label>
 |                                     <label class="form-check-label" for="markQrzImport"><?php echo lang('adif_mark_imported_qrz') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="small form-text text-muted"><?php echo lang('adif_hint_no_info_in_file') ?></div>
 | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="small form-text text-muted"><?php echo lang('adif_hint_no_info_in_file')?></div>
 |  | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |  | ||||||
| 
 | 
 | ||||||
|                     <div class="mb-3 row"> |                         <div class="mb-3 row"> | ||||||
|                         <div class="col-md-10"> |                             <div class="col-md-10"> | ||||||
|                             <div class="form-check-inline"> |                                 <div class="form-check-inline"> | ||||||
|                                 <input class="form-check-input" type="checkbox" name="markClublog" value="1" id="markClublogImport"> |                                     <input class="form-check-input" type="checkbox" name="markClublog" value="1" id="markClublogImport"> | ||||||
|                                 <label class="form-check-label" for="markClublogImport"><?php echo lang('adif_mark_imported_clublog')?></label>
 |                                     <label class="form-check-label" for="markClublogImport"><?php echo lang('adif_mark_imported_clublog') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="small form-text text-muted"><?php echo lang('adif_hint_no_info_in_file') ?></div>
 | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="small form-text text-muted"><?php echo lang('adif_hint_no_info_in_file')?></div>
 |  | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |  | ||||||
| 
 | 
 | ||||||
|                     <div class="mb-3 row"> |                         <div class="mb-3 row"> | ||||||
|                         <div class="col-md-10"> |                             <div class="col-md-10"> | ||||||
|                             <div class="form-check-inline"> |                                 <div class="form-check-inline"> | ||||||
|                                 <input class="form-check-input" type="checkbox" name="dxccAdif" value="1" id="dxccAdif"> |                                     <input class="form-check-input" type="checkbox" name="dxccAdif" value="1" id="dxccAdif"> | ||||||
|                                 <label class="form-check-label" for="dxccAdif"><?php echo lang('adif_dxcc_from_adif')?></label>
 |                                     <label class="form-check-label" for="dxccAdif"><?php echo lang('adif_dxcc_from_adif') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="small form-text text-muted"><?php echo lang('adif_dxcc_from_adif_hint') ?></div>
 | ||||||
|                             </div> |                             </div> | ||||||
|                             <div class="small form-text text-muted"><?php echo lang('adif_dxcc_from_adif_hint')?></div>
 |  | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |  | ||||||
| 
 | 
 | ||||||
| 					<div class="mb-3 row"> |                         <div class="mb-3 row"> | ||||||
| 						<div class="col-md-10"> |                             <div class="col-md-10"> | ||||||
| 							<div class="form-check-inline"> |                                 <div class="form-check-inline"> | ||||||
| 								<input class="form-check-input" type="checkbox" name="operatorName" value="1" id="operatorName"> |                                     <input class="form-check-input" type="checkbox" name="operatorName" value="1" id="operatorName"> | ||||||
| 								<label class="form-check-label" for="operatorName"><?php echo lang('adif_always_use_login_call_as_op')?></label>
 |                                     <label class="form-check-label" for="operatorName"><?php echo lang('adif_always_use_login_call_as_op') ?></label>
 | ||||||
| 							</div> |                                 </div> | ||||||
| 						</div> |                             </div> | ||||||
| 					</div> |                         </div> | ||||||
| 
 | 
 | ||||||
| 					<div class="mb-3 row"> |                         <div class="mb-3 row"> | ||||||
| 						<div class="col-md-10"> |                             <div class="col-md-10"> | ||||||
| 							<div class="form-check-inline"> |                                 <div class="form-check-inline"> | ||||||
| 								<input class="form-check-input" type="checkbox" name="skipStationCheck" value="1" id="skipStationCheck"> |                                     <input class="form-check-input" type="checkbox" name="skipStationCheck" value="1" id="skipStationCheck"> | ||||||
| 								<label class="form-check-label" for="skipStationCheck"><span class="badge text-bg-warning"><?php echo lang('general_word_danger')?></span> <?php echo lang('adif_ignore_station_call')?></label>
 |                                     <label class="form-check-label" for="skipStationCheck"><span class="badge text-bg-warning"><?php echo lang('general_word_danger') ?></span> <?php echo lang('adif_ignore_station_call') ?></label>
 | ||||||
| 							</div> |                                 </div> | ||||||
|                             				<div class="small form-text text-muted"><?php echo lang('adif_ignore_station_call_hint')?></div>
 |                                 <div class="small form-text text-muted"><?php echo lang('adif_ignore_station_call_hint') ?></div>
 | ||||||
| 						</div> |                             </div> | ||||||
| 					</div> |                         </div> | ||||||
| 
 | 
 | ||||||
|                   <button type="submit" class="btn-sm btn-primary mb-2" value="Upload"><?php echo lang('adif_upload')?></button>
 |                         <button type="submit" class="btn-sm btn-primary mb-2" value="Upload"><?php echo lang('adif_upload') ?></button>
 | ||||||
|                 </form> |                     </form> | ||||||
|                 </div> |                 </div> | ||||||
| 
 | 
 | ||||||
|         <div class="tab-pane fade" id="export" role="tabpanel" aria-labelledby="home-tab"> |                 <div class="tab-pane fade" id="export" role="tabpanel" aria-labelledby="home-tab"> | ||||||
| 
 | 
 | ||||||
| 		  <form class="form" action="<?php echo site_url('adif/export_custom'); ?>" method="post" enctype="multipart/form-data"> |                     <form class="form" action="<?php echo site_url('adif/export_custom'); ?>" method="post" enctype="multipart/form-data"> | ||||||
|                 <h5 class="card-title"><?php echo lang('adif_export_take_it_anywhere')?> </h5>
 |                         <h5 class="card-title"><?php echo lang('adif_export_take_it_anywhere') ?> </h5>
 | ||||||
|                 <p class="card-text"><?php echo lang('adif_export_take_it_anywhere_hint')?> </p>
 |                         <p class="card-text"><?php echo lang('adif_export_take_it_anywhere_hint') ?> </p>
 | ||||||
| 					  <select name="station_profile" class="form-select mb-2 me-sm-2" style="width: 20%;"> |                         <select name="station_profile" class="form-select mb-2 me-sm-2" style="width: 20%;"> | ||||||
| 						  <option value="0"><?php echo lang('adif_select_stationlocation')?></option>
 |                             <option value="0"><?php echo lang('adif_select_stationlocation') ?></option>
 | ||||||
| 						  <?php foreach ($station_profile->result() as $station) { ?>
 |                             <?php foreach ($station_profile->result() as $station) { ?>
 | ||||||
|                        <option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) { echo " selected =\"selected\""; } ?>><?php echo lang('gen_hamradio_callsign') . ": "?><?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
 |                                 <option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) { | ||||||
| 						  <?php } ?>
 |                                                                                         echo " selected =\"selected\""; | ||||||
| 					  </select> |                                                                                     } ?>><?php echo lang('gen_hamradio_callsign') . ": " ?><?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
 | ||||||
|                       <p class="card-text"><?php echo lang('gen_from_date') . ": "?></p>
 |                             <?php } ?>
 | ||||||
|                       <div class="row"> |                         </select> | ||||||
|                           <div class="input-group date col-md-3" id="datetimepicker1" data-target-input="nearest"> |  | ||||||
|                               <input name="from" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-bs-target="#datetimepicker1"/> |  | ||||||
|                               <div class="input-group-append"  data-bs-target="#datetimepicker1" data-bs-toggle="datetimepicker"> |  | ||||||
|                                   <div class="input-group-text"><i class="fa fa-calendar"></i></div> |  | ||||||
|                               </div> |  | ||||||
|                           </div> |  | ||||||
|                       </div> |  | ||||||
| 
 |  | ||||||
|                       <p class="card-text"><?php echo lang('gen_to_date') . ": "?></p>
 |  | ||||||
|                       <div class="row"> |  | ||||||
|                           <div class="input-group date col-md-3" id="datetimepicker2" data-target-input="nearest"> |  | ||||||
|                               <input name="to" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-bs-target="#datetimepicker2"/> |  | ||||||
|                               <div class="input-group-append" data-bs-target="#datetimepicker2" data-bs-toggle="datetimepicker"> |  | ||||||
|                                   <div class="input-group-text"><i class="fa fa-calendar"></i></div> |  | ||||||
|                               </div> |  | ||||||
|                           </div> |  | ||||||
|                       </div> |  | ||||||
|                         <br>                                                             |                         <br>                                                             | ||||||
|                       <div class="mb-3 row"> |                         <label for="from"><?php echo lang('gen_from_date') . ": " ?></label>
 | ||||||
|                           <div class="col-md-10"> |                         <input name="from" id="from" type="date" class="form-control w-auto"> | ||||||
|                               <div class="form-check-inline"> |                         <br> | ||||||
|                                   <input class="form-check-input" type="checkbox" name="markLotw" value="1" id="markLotwExport"> |                         <label for="to"><?php echo lang('gen_to_date') . ": " ?></label>
 | ||||||
|                                   <label class="form-check-label" for="markLotwExport"><?php echo lang('adif_mark_exported_lotw')?></label>
 |                         <input name="to" id="to" type="date" class="form-control w-auto"> | ||||||
|                               </div> |  | ||||||
|                           </div> |  | ||||||
|                       </div> |  | ||||||
|                       <div class="mb-3 row"> |  | ||||||
|                           <div class="col-md-10"> |  | ||||||
|                               <div class="form-check-inline"> |  | ||||||
|                                   <input class="form-check-input" type="checkbox" name="exportLotw" value="1" id="exportLotw"> |  | ||||||
|                                   <label class="form-check-label" for="exportLotw"><?php echo lang('adif_mark_exported_no_lotw')?></label>
 |  | ||||||
|                               </div> |  | ||||||
|                           </div> |  | ||||||
|                       </div> |  | ||||||
| 
 | 
 | ||||||
|                 <button type="submit" class="btn-sm btn-primary" value="Export"><?php echo lang('adif_export_qso')?></button>
 |                         <br> | ||||||
| 		  </form> |                         <div class="mb-3 row"> | ||||||
| 
 |                             <div class="col-md-10"> | ||||||
|                 <br><br> |                                 <div class="form-check-inline"> | ||||||
| 
 |                                     <input class="form-check-input" type="checkbox" name="markLotw" value="1" id="markLotwExport"> | ||||||
|                 <h5><?php echo lang('adif_export_sat_only_qso')?></h5>
 |                                     <label class="form-check-label" for="markLotwExport"><?php echo lang('adif_mark_exported_lotw') ?></label>
 | ||||||
|                 <p><a href="<?php echo site_url('adif/exportsat'); ?>" title="Export All Satellite Contacts" target="_blank" class="btn-sm btn-primary"><?php echo lang('adif_export_sat_only_qso_all')?></a></p>
 |                                 </div> | ||||||
| 
 |                             </div> | ||||||
|                 <p><a href="<?php echo site_url('adif/exportsatlotw'); ?>" title="Export All Satellite QSOs Confirmed on LoTW" target="_blank" class="btn-sm btn-primary"><?php echo lang('adif_export_sat_only_qso_lotw')?></a></p>
 |  | ||||||
|                 </div> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|         <div class="tab-pane fade" id="lotw" role="tabpanel" aria-labelledby="home-tab"> |  | ||||||
|             <form class="form" action="<?php echo site_url('adif/mark_lotw'); ?>" method="post" enctype="multipart/form-data"> |  | ||||||
| 				<select name="station_profile" class="form-select mb-2 me-sm-2" style="width: 20%;"> |  | ||||||
| 					<option value="0"><?php echo lang('adif_select_stationlocation')?></option>
 |  | ||||||
| 					<?php foreach ($station_profile->result() as $station) { ?>
 |  | ||||||
| 						<option value="<?php echo $station->station_id; ?>"><?php echo lang('gen_hamradio_callsign') . ": "?><?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
 |  | ||||||
| 					<?php } ?>
 |  | ||||||
| 				</select> |  | ||||||
| 				<p><span class="badge text-bg-warning"><?php echo lang('general_word_warning')?></span> <?php echo lang('adif_lotw_export_if_selected')?></p>
 |  | ||||||
|                 <p class="card-text"><?php echo lang('gen_from_date') . ": "?></p>
 |  | ||||||
|                 <div class="row"> |  | ||||||
|                     <div class="input-group date col-md-3" id="datetimepicker3" data-target-input="nearest"> |  | ||||||
|                         <input name="from" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-bs-target="#datetimepicker1"/> |  | ||||||
|                         <div class="input-group-append"  data-bs-target="#datetimepicker3" data-bs-toggle="datetimepicker"> |  | ||||||
|                             <div class="input-group-text"><i class="fa fa-calendar"></i></div> |  | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |                         <div class="mb-3 row"> | ||||||
|                 </div> |                             <div class="col-md-10"> | ||||||
|                 <p class="card-text"><?php echo lang('gen_to_date') . ": "?></p>
 |                                 <div class="form-check-inline"> | ||||||
|                 <div class="row"> |                                     <input class="form-check-input" type="checkbox" name="exportLotw" value="1" id="exportLotw"> | ||||||
|                     <div class="input-group date col-md-3" id="datetimepicker4" data-target-input="nearest"> |                                     <label class="form-check-label" for="exportLotw"><?php echo lang('adif_mark_exported_no_lotw') ?></label>
 | ||||||
|                         <input name="to" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-bs-target="#datetimepicker2"/> |                                 </div> | ||||||
|                         <div class="input-group-append" data-bs-target="#datetimepicker4" data-bs-toggle="datetimepicker"> |                             </div> | ||||||
|                             <div class="input-group-text"><i class="fa fa-calendar"></i></div> |  | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> | 
 | ||||||
|  |                         <button type="submit" class="btn-sm btn-primary" value="Export"><?php echo lang('adif_export_qso') ?></button>
 | ||||||
|  |                     </form> | ||||||
|  | 
 | ||||||
|  |                     <br><br> | ||||||
|  | 
 | ||||||
|  |                     <h5><?php echo lang('adif_export_sat_only_qso') ?></h5>
 | ||||||
|  |                     <p><a href="<?php echo site_url('adif/exportsat'); ?>" title="Export All Satellite Contacts" target="_blank" class="btn-sm btn-primary"><?php echo lang('adif_export_sat_only_qso_all') ?></a></p>
 | ||||||
|  | 
 | ||||||
|  |                     <p><a href="<?php echo site_url('adif/exportsatlotw'); ?>" title="Export All Satellite QSOs Confirmed on LoTW" target="_blank" class="btn-sm btn-primary"><?php echo lang('adif_export_sat_only_qso_lotw') ?></a></p>
 | ||||||
|  |                 </div> | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |                 <div class="tab-pane fade" id="lotw" role="tabpanel" aria-labelledby="home-tab"> | ||||||
|  |                     <form class="form" action="<?php echo site_url('adif/mark_lotw'); ?>" method="post" enctype="multipart/form-data"> | ||||||
|  |                         <select name="station_profile" class="form-select mb-2 me-sm-2" style="width: 20%;"> | ||||||
|  |                             <option value="0"><?php echo lang('adif_select_stationlocation') ?></option>
 | ||||||
|  |                             <?php foreach ($station_profile->result() as $station) { ?>
 | ||||||
|  |                                 <option value="<?php echo $station->station_id; ?>"><?php echo lang('gen_hamradio_callsign') . ": " ?><?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
 | ||||||
|  |                             <?php } ?>
 | ||||||
|  |                         </select> | ||||||
|  |                         <p><span class="badge text-bg-warning"><?php echo lang('general_word_warning') ?></span> <?php echo lang('adif_lotw_export_if_selected') ?></p>
 | ||||||
|  |                         <p class="card-text"><?php echo lang('gen_from_date') . ": " ?></p>
 | ||||||
|  |                         <div class="row"> | ||||||
|  |                             <div class="input-group date col-md-3" id="datetimepicker3" data-target-input="nearest"> | ||||||
|  |                                 <input name="from" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-bs-target="#datetimepicker1" /> | ||||||
|  |                                 <div class="input-group-append" data-bs-target="#datetimepicker3" data-bs-toggle="datetimepicker"> | ||||||
|  |                                     <div class="input-group-text"><i class="fa fa-calendar"></i></div> | ||||||
|  |                                 </div> | ||||||
|  |                             </div> | ||||||
|  |                         </div> | ||||||
|  |                         <p class="card-text"><?php echo lang('gen_to_date') . ": " ?></p>
 | ||||||
|  |                         <div class="row"> | ||||||
|  |                             <div class="input-group date col-md-3" id="datetimepicker4" data-target-input="nearest"> | ||||||
|  |                                 <input name="to" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-bs-target="#datetimepicker2" /> | ||||||
|  |                                 <div class="input-group-append" data-bs-target="#datetimepicker4" data-bs-toggle="datetimepicker"> | ||||||
|  |                                     <div class="input-group-text"><i class="fa fa-calendar"></i></div> | ||||||
|  |                                 </div> | ||||||
|  |                             </div> | ||||||
|  |                         </div> | ||||||
|  |                         <br> | ||||||
|  |                         <button type="submit" class="btn-sm btn-primary" value="Export"><?php echo lang('adif_mark_qso_as_exported_to_lotw') ?></button>
 | ||||||
|  |                     </form> | ||||||
|  |                 </div> | ||||||
|  |                 <div class="tab-pane <?php if ($showtab == 'dcl') { | ||||||
|  |                                             echo 'active'; | ||||||
|  |                                         } else { | ||||||
|  |                                             echo 'fade'; | ||||||
|  |                                         } ?>" id="dcl" role="tabpanel" aria-labelledby="home-tab">
 | ||||||
|  |                     <?php if (isset($error) && $showtab == 'dcl') { ?>
 | ||||||
|  |                         <div class="alert alert-danger" role="alert"> | ||||||
|  |                             <?php echo $error; ?>
 | ||||||
|  |                         </div> | ||||||
|  |                     <?php } ?>
 | ||||||
|  | 
 | ||||||
|  |                     <p class="card-text"><?php echo lang('adif_dcl_text_pre') ?> <a href="http://dcl.darc.de/dml/export_adif_form.php" target="_blank"><?php echo lang('darc_dcl') ?></a> <?php echo lang('adif_dcl_text_post') ?></p>
 | ||||||
|  |                     <form class="form" action="<?php echo site_url('adif/dcl'); ?>" method="post" enctype="multipart/form-data"> | ||||||
|  | 
 | ||||||
|  |                         <div class="mb-3 row"> | ||||||
|  |                             <div class="col-md-10"> | ||||||
|  |                                 <div class="form-check-inline"> | ||||||
|  |                                     <input class="form-check-input" type="checkbox" name="onlyConfirmed" value="1" id="onlyConfirmed" checked> | ||||||
|  |                                     <label class="form-check-label" for="onlyConfirmed"><?php echo lang('only_confirmed_qsos') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="small form-text text-muted"><?php echo lang('only_confirmed_qsos_hint') ?></div>
 | ||||||
|  |                             </div> | ||||||
|  |                         </div> | ||||||
|  |                         <div class="mb-3 row"> | ||||||
|  |                             <div class="col-md-10"> | ||||||
|  |                                 <div class="form-check-inline"> | ||||||
|  |                                     <input class="form-check-input" type="checkbox" name="overwriteDok" value="1" id="overwriteDok"> | ||||||
|  |                                     <label class="form-check-label" for="overwriteDok"><span class="badge text-bg-warning"><?php echo lang('general_word_warning') ?></span> <?php echo lang('overwrite_by_dcl') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="small form-text text-muted"><?php echo lang('overwrite_by_dcl_hint') ?></div>
 | ||||||
|  |                             </div> | ||||||
|  |                         </div> | ||||||
|  |                         <div class="mb-3 row"> | ||||||
|  |                             <div class="col-md-10"> | ||||||
|  |                                 <div class="form-check-inline"> | ||||||
|  |                                     <input class="form-check-input" type="checkbox" name="ignoreAmbiguous" value="1" id="ignoreAmbiguous" checked> | ||||||
|  |                                     <label class="form-check-label" for="ignoreAmbiguous"><?php echo lang('ignore_ambiguous') ?></label>
 | ||||||
|  |                                 </div> | ||||||
|  |                                 <div class="small form-text text-muted"><?php echo lang('ignore_ambiguous_hint') ?></div>
 | ||||||
|  |                             </div> | ||||||
|  |                         </div> | ||||||
|  |                         <input class="file-input mb-2 me-sm-2" type="file" name="userfile" size="20" /> | ||||||
|  |                         <button type="submit" class="btn-sm btn-primary mb-2" value="Upload"><?php echo lang('adif_upload') ?></button>
 | ||||||
|  |                     </form> | ||||||
|                 </div> |                 </div> | ||||||
|                 <br> |  | ||||||
|                 <button type="submit" class="btn-sm btn-primary" value="Export"><?php echo lang('adif_mark_qso_as_exported_to_lotw')?></button>
 |  | ||||||
|             </form> |  | ||||||
|             </div> |             </div> | ||||||
|         <div class="tab-pane <?php if ($showtab == 'dcl') { echo 'active'; } else { echo 'fade'; } ?>" id="dcl" role="tabpanel" aria-labelledby="home-tab"> |  | ||||||
|                 <?php if(isset($error) && $showtab == 'dcl') { ?>
 |  | ||||||
|                     <div class="alert alert-danger" role="alert"> |  | ||||||
|                       <?php echo $error; ?>
 |  | ||||||
|                     </div> |  | ||||||
|                 <?php } ?>
 |  | ||||||
| 
 |  | ||||||
|                 <p class="card-text"><?php echo lang('adif_dcl_text_pre')?> <a href="http://dcl.darc.de/dml/export_adif_form.php" target="_blank"><?php echo lang('darc_dcl')?></a> <?php echo lang('adif_dcl_text_post')?></p>
 |  | ||||||
|                 <form class="form" action="<?php echo site_url('adif/dcl'); ?>" method="post" enctype="multipart/form-data"> |  | ||||||
| 
 |  | ||||||
|                     <div class="mb-3 row"> |  | ||||||
|                         <div class="col-md-10"> |  | ||||||
|                             <div class="form-check-inline"> |  | ||||||
|                                 <input class="form-check-input" type="checkbox" name="onlyConfirmed" value="1" id="onlyConfirmed" checked> |  | ||||||
|                                 <label class="form-check-label" for="onlyConfirmed"><?php echo lang('only_confirmed_qsos')?></label>
 |  | ||||||
|                             </div> |  | ||||||
|                             <div class="small form-text text-muted"><?php echo lang('only_confirmed_qsos_hint')?></div>
 |  | ||||||
|                         </div> |  | ||||||
|                     </div> |  | ||||||
|                     <div class="mb-3 row"> |  | ||||||
|                         <div class="col-md-10"> |  | ||||||
|                             <div class="form-check-inline"> |  | ||||||
|                                 <input class="form-check-input" type="checkbox" name="overwriteDok" value="1" id="overwriteDok"> |  | ||||||
|                                 <label class="form-check-label" for="overwriteDok"><span class="badge text-bg-warning"><?php echo lang('general_word_warning')?></span> <?php echo lang('overwrite_by_dcl')?></label>
 |  | ||||||
|                             </div> |  | ||||||
|                             <div class="small form-text text-muted"><?php echo lang('overwrite_by_dcl_hint')?></div>
 |  | ||||||
|                         </div> |  | ||||||
|                     </div> |  | ||||||
|                     <div class="mb-3 row"> |  | ||||||
|                         <div class="col-md-10"> |  | ||||||
|                             <div class="form-check-inline"> |  | ||||||
|                                 <input class="form-check-input" type="checkbox" name="ignoreAmbiguous" value="1" id="ignoreAmbiguous" checked> |  | ||||||
|                                 <label class="form-check-label" for="ignoreAmbiguous"><?php echo lang('ignore_ambiguous')?></label>
 |  | ||||||
|                             </div> |  | ||||||
|                             <div class="small form-text text-muted"><?php echo lang('ignore_ambiguous_hint')?></div>
 |  | ||||||
|                         </div> |  | ||||||
|                     </div> |  | ||||||
|                   <input class="file-input mb-2 me-sm-2" type="file" name="userfile" size="20" /> |  | ||||||
|                   <button type="submit" class="btn-sm btn-primary mb-2" value="Upload"><?php echo lang('adif_upload')?></button>
 |  | ||||||
|                 </form> |  | ||||||
|         </div> |         </div> | ||||||
|     </div> |     </div> | ||||||
|     </div> |  | ||||||
|     </div> |  | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用