| 
									
										
										
										
											2019-01-02 03:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | <div class="container" id="create_station_profile"> | 
					
						
							| 
									
										
										
										
											2019-01-02 03:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | <br> | 
					
						
							|  |  |  | 	<?php if($this->session->flashdata('message')) { ?>
 | 
					
						
							|  |  |  | 		<!-- Display Message --> | 
					
						
							|  |  |  | 		<div class="alert-message error"> | 
					
						
							|  |  |  | 		  <p><?php echo $this->session->flashdata('message'); ?></p>
 | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2019-01-02 03:14:25 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | <div class="card"> | 
					
						
							|  |  |  |   <div class="card-header"> | 
					
						
							|  |  |  |     <?php echo $page_title; ?>
 | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  |   <div class="card-body"> | 
					
						
							|  |  |  |     <h5 class="card-title"></h5> | 
					
						
							|  |  |  |     <p class="card-text"></p> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php if($this->session->flashdata('notice')) { ?>
 | 
					
						
							|  |  |  | 			<div id="message" > | 
					
						
							|  |  |  | 			<?php echo $this->session->flashdata('notice'); ?>
 | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 		<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php $this->load->helper('form'); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php echo validation_errors(); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<form method="post" action="<?php echo site_url('station/create'); ?>" name="create_profile"> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationNameInput"><?php echo lang("station_location_name"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="station_profile_name" id="stationNameInput" aria-describedby="stationNameInputHelp" placeholder="Home QTH" required> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationNameInputHelp" class="form-text text-muted"><?php echo lang("station_location_name_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 			<div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationCallsignInput"><?php echo lang("station_location_callsign"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="station_callsign" id="stationCallsignInput" aria-describedby="stationCallsignInputHelp" placeholder="2M0SQL" required> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationCallsignInputHelp" class="form-text text-muted"><?php echo lang("station_location_callsign_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 			<div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationPowerInput"><?php echo lang("station_location_power"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-04-28 20:04:59 +08:00
										 |  |  | 		    <input type="number" class="form-control" name="station_power" id="stationPowerInput" step="1" aria-describedby="stationPowerInputHelp" placeholder="10"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationPowerInputHelp" class="form-text text-muted"><?php echo lang("station_location_power_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2023-04-28 05:02:57 +08:00
										 |  |  | 		  </div> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationDXCCInput"><?php echo lang("station_location_dxcc"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2019-01-02 03:14:25 +08:00
										 |  |  | 				<?php if ($dxcc_list->num_rows() > 0) { ?>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 				<select class="form-select" id="dxcc_select" name="dxcc" aria-describedby="stationCallsignInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 				<option value="0" selected><?php echo "- " . lang('general_word_none') . " -"; ?></option>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 				<?php foreach ($dxcc_list->result() as $dxcc) { ?>
 | 
					
						
							| 
									
										
										
										
											2023-05-14 19:54:10 +08:00
										 |  |  | 				<option value="<?php echo $dxcc->adif; ?>"><?php echo ucwords(strtolower($dxcc->name)) . ' - ' . $dxcc->prefix; if ($dxcc->end != NULL) echo ' ('.lang('gen_hamradio_deleted_dxcc').')';?>
 | 
					
						
							| 
									
										
										
										
											2023-04-27 04:39:09 +08:00
										 |  |  | 				</option> | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 				<?php } ?>
 | 
					
						
							|  |  |  | 				</select> | 
					
						
							|  |  |  | 				<?php } ?>
 | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo lang("station_location_dxcc_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2023-10-16 23:04:48 +08:00
										 |  |  | 			<div class="alert alert-danger" role="alert" id="warningMessageDXCC" style="display: none"> </div> | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationCityInput"><?php echo lang("station_location_city"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2022-08-18 04:07:58 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="city" id="stationCityInput" aria-describedby="stationCityInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationCityInputHelp" class="form-text text-muted"><?php echo lang("station_location_city_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |         <div class="row"> | 
					
						
							|  |  |  |             <div class="mb-3 col-sm-6" id="us_state"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stateInput"><?php echo lang("station_location_state"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-27 20:33:38 +08:00
										 |  |  | 		    <select class="form-select" name="station_state" id="StateHelp" aria-describedby="stationCntyInputHelp"> | 
					
						
							| 
									
										
										
										
											2020-04-09 00:00:25 +08:00
										 |  |  | 		    	<option value="" selected></option> | 
					
						
							|  |  |  | 				<option value="AK">Alaska</option> | 
					
						
							|  |  |  | 				<option value="AL">Alabama</option> | 
					
						
							|  |  |  | 				<option value="AR">Arkansas</option> | 
					
						
							|  |  |  | 				<option value="AZ">Arizona</option> | 
					
						
							|  |  |  | 				<option value="CA">California</option> | 
					
						
							|  |  |  | 				<option value="CO">Colorado</option> | 
					
						
							|  |  |  | 				<option value="CT">Connecticut</option> | 
					
						
							|  |  |  | 				<option value="DE">Delaware</option> | 
					
						
							|  |  |  | 				<option value="FL">Florida</option> | 
					
						
							|  |  |  | 				<option value="GA">Georgia</option> | 
					
						
							|  |  |  | 				<option value="HI">Hawaii</option> | 
					
						
							|  |  |  | 				<option value="IA">Iowa</option> | 
					
						
							|  |  |  | 				<option value="ID">Idaho</option> | 
					
						
							|  |  |  | 				<option value="IL">Illinois</option> | 
					
						
							|  |  |  | 				<option value="IN">Indiana</option> | 
					
						
							|  |  |  | 				<option value="KS">Kansas</option> | 
					
						
							|  |  |  | 				<option value="KY">Kentucky</option> | 
					
						
							|  |  |  | 				<option value="LA">Louisiana</option> | 
					
						
							|  |  |  | 				<option value="MA">Massachusetts</option> | 
					
						
							|  |  |  | 				<option value="MD">Maryland</option> | 
					
						
							|  |  |  | 				<option value="ME">Maine</option> | 
					
						
							|  |  |  | 				<option value="MI">Michigan</option> | 
					
						
							|  |  |  | 				<option value="MN">Minnesota</option> | 
					
						
							|  |  |  | 				<option value="MO">Missouri</option> | 
					
						
							|  |  |  | 				<option value="MS">Mississippi</option> | 
					
						
							|  |  |  | 				<option value="MT">Montana</option> | 
					
						
							|  |  |  | 				<option value="NC">North Carolina</option> | 
					
						
							|  |  |  | 				<option value="ND">North Dakota</option> | 
					
						
							|  |  |  | 				<option value="NE">Nebraska</option> | 
					
						
							|  |  |  | 				<option value="NH">New Hampshire</option> | 
					
						
							|  |  |  | 				<option value="NJ">New Jersey</option> | 
					
						
							|  |  |  | 				<option value="NM">New Mexico</option> | 
					
						
							|  |  |  | 				<option value="NV">Nevada</option> | 
					
						
							|  |  |  | 				<option value="NY">New York</option> | 
					
						
							|  |  |  | 				<option value="OH">Ohio</option> | 
					
						
							|  |  |  | 				<option value="OK">Oklahoma</option> | 
					
						
							|  |  |  | 				<option value="OR">Oregon</option> | 
					
						
							|  |  |  | 				<option value="PA">Pennsylvania</option> | 
					
						
							|  |  |  | 				<option value="RI">Rhode Island</option> | 
					
						
							|  |  |  | 				<option value="SC">South Carolina</option> | 
					
						
							|  |  |  | 				<option value="SD">South Dakota</option> | 
					
						
							|  |  |  | 				<option value="TN">Tennessee</option> | 
					
						
							|  |  |  | 				<option value="TX">Texas</option> | 
					
						
							|  |  |  | 				<option value="UT">Utah</option> | 
					
						
							|  |  |  | 				<option value="VA">Virginia</option> | 
					
						
							|  |  |  | 				<option value="VT">Vermont</option> | 
					
						
							|  |  |  | 				<option value="WA">Washington</option> | 
					
						
							|  |  |  | 				<option value="WI">Wisconsin</option> | 
					
						
							|  |  |  | 				<option value="WV">West Virginia</option> | 
					
						
							|  |  |  | 				<option value="WY">Wyoming</option> | 
					
						
							|  |  |  | 			</select> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="StateHelp" class="form-text text-muted"><?php echo lang("station_location_state_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2020-04-09 00:00:25 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3 col-sm-6" id="canada_state"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stateInput"><?php echo lang("station_location_state"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-27 20:33:38 +08:00
										 |  |  | 		    <select class="form-select" name="station_ca_state" id="StateHelp" aria-describedby="stationCntyInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-06-15 20:22:13 +08:00
										 |  |  | 		    	<option value="" selected></option> | 
					
						
							|  |  |  | 				<option value="AB">Alberta</option> | 
					
						
							|  |  |  | 				<option value="BC">British Columbia</option> | 
					
						
							|  |  |  | 				<option value="MB">Manitoba</option> | 
					
						
							|  |  |  | 				<option value="NB">New Brunswick</option> | 
					
						
							|  |  |  | 				<option value="NL">Newfoundland & Labrador</option> | 
					
						
							|  |  |  | 				<option value="NS">Nova Scotia</option> | 
					
						
							|  |  |  | 				<option value="NT">Northwest Territories</option> | 
					
						
							|  |  |  | 				<option value="NU">Nunavut</option> | 
					
						
							|  |  |  | 				<option value="ON">Ontario</option> | 
					
						
							|  |  |  | 				<option value="PE">Prince Edward Island</option> | 
					
						
							|  |  |  | 				<option value="QC">Quebec</option> | 
					
						
							|  |  |  | 				<option value="SK">Saskatchewan</option> | 
					
						
							|  |  |  | 				<option value="YT">Yukon</option> | 
					
						
							|  |  |  | 			</select> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="StateHelp" class="form-text text-muted"><?php echo lang("station_location_state_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2023-06-15 20:22:13 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3 col-sm-6"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationCntyInput"><?php echo lang("station_location_county"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2021-01-24 22:29:29 +08:00
										 |  |  | 		    <input disabled="disabled" type="text" class="form-control" name="station_cnty" id="stationCntyInput" aria-describedby="stationCntyInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationCntyInputHelp" class="form-text text-muted"><?php echo lang("station_location_county_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		  </div> | 
					
						
							| 
									
										
										
										
											2021-01-24 22:29:29 +08:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |             <div class="row"> | 
					
						
							|  |  |  |                 <div class="mb-3 col-sm-6"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                     <label for="stationCQZoneInput"><?php echo lang("gen_hamradio_cq_zone"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                     <select class="form-select" id="stationCQZoneInput" name="station_cq" required> | 
					
						
							| 
									
										
										
										
											2020-08-29 18:57:14 +08:00
										 |  |  |                         <?php | 
					
						
							|  |  |  |                         for ($i = 1; $i<=40; $i++) { | 
					
						
							|  |  |  |                             echo '<option value='. $i; | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-29 18:57:14 +08:00
										 |  |  |                             echo '>'. $i .'</option>'; | 
					
						
							|  |  |  |                         } | 
					
						
							|  |  |  |                         ?>
 | 
					
						
							|  |  |  |                     </select> | 
					
						
							| 
									
										
										
										
											2023-11-13 00:50:23 +08:00
										 |  |  |                     <small id="stationCQInputHelp" class="form-text text-muted"><?php echo lang("gen_find_zone_cq_part1")." <a href='https://zone-check.eu/?m=cq' target='_blank'>".lang("gen_find_zone_part2")."</a> ".lang("gen_find_zone_part3"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2020-08-29 18:57:14 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                 <div class="mb-3 col-sm-6"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                     <label for="stationITUZoneInput"><?php echo lang("gen_hamradio_itu_zone"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                     <select class="form-select" id="stationITUZoneInput" name="station_itu" required> | 
					
						
							| 
									
										
										
										
											2020-08-29 18:57:14 +08:00
										 |  |  |                         <?php | 
					
						
							|  |  |  |                         for ($i = 1; $i<=90; $i++) { | 
					
						
							|  |  |  |                             echo '<option value='. $i; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                             echo '>'. $i .'</option>'; | 
					
						
							|  |  |  |                         } | 
					
						
							|  |  |  |                         ?>
 | 
					
						
							|  |  |  |                     </select> | 
					
						
							| 
									
										
										
										
											2023-11-13 00:50:23 +08:00
										 |  |  |                     <small id="stationITUInputHelp" class="form-text text-muted"><?php echo lang("gen_find_zone_itu_part1")." <a href='https://zone-check.eu/?m=itu' target='_blank'>".lang("gen_find_zone_part2")."</a> ".lang("gen_find_zone_part3"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2020-08-29 18:57:14 +08:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2020-08-29 18:51:53 +08:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationGridsquareInput"><?php echo lang("station_location_gridsquare"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2022-04-14 22:57:18 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-14 23:03:20 +08:00
										 |  |  | 			<div class="input-group mb-3"> | 
					
						
							| 
									
										
										
										
											2022-04-14 22:57:18 +08:00
										 |  |  | 			<input type="text" class="form-control" name="gridsquare" id="stationGridsquareInput" aria-describedby="stationGridInputHelp" required> | 
					
						
							|  |  |  | 			<div class="input-group-append"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 				<button type="button" class="btn btn-outline-secondary" onclick="getLocation()"><i class="fas fa-compass"></i> <?php echo lang("gen_hamradio_get_gridsquare"); ?></button>
 | 
					
						
							| 
									
										
										
										
											2022-04-14 22:57:18 +08:00
										 |  |  | 			</div> | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationGridInputHelp" class="form-text text-muted"><?php echo lang("station_location_gridsquare_hint_ln1"); ?></small>
 | 
					
						
							|  |  |  | 		    <small id="stationGridInputHelp" class="form-text text-muted"><?php echo lang("station_location_gridsquare_hint_ln2"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |             <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                 <label for="stationIOTAInput"><?php echo lang("gen_hamradio_iota_reference"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                 <select class="form-select" name="iota" id="stationIOTAInput" aria-describedby="stationIOTAInputHelp" placeholder="EU-005"> | 
					
						
							| 
									
										
										
										
											2020-10-07 05:47:39 +08:00
										 |  |  |                     <option value =""></option> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     <?php | 
					
						
							|  |  |  |                     foreach($iota_list as $i){ | 
					
						
							|  |  |  |                         echo '<option value=' . $i->tag . '>' . $i->tag . ' - ' . $i->name . '</option>'; | 
					
						
							|  |  |  |                     } | 
					
						
							|  |  |  |                     ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 </select> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                 <small id="stationIOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_iota_hint_ln1"); ?></small>
 | 
					
						
							|  |  |  |                 <small id="stationIOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_iota_hint_ln2"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2020-10-07 05:47:39 +08:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationSOTAInput"><?php echo lang("gen_hamradio_sota_reference"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="sota" id="stationSOTAInput" aria-describedby="stationSOTAInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationSOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_sota_hint_ln1"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationWWFFInput"><?php echo lang("gen_hamradio_wwff_reference"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2022-08-17 20:33:15 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="wwff" id="stationWWFFInput" aria-describedby="stationWWFFInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationWWFFInputHelp" class="form-text text-muted"><?php echo lang("station_location_wwff_hint_ln1"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2022-08-17 20:33:15 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationPOTAInput"><?php echo lang("gen_hamradio_pota_reference"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2022-10-05 23:05:53 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="pota" id="stationPOTAInput" aria-describedby="stationPOTAInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationPOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_pota_hint_ln1"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2022-10-05 23:05:53 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationSigInput"><?php echo lang("station_location_signature"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2020-11-08 21:18:25 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="sig" id="stationSigInput" aria-describedby="stationSigInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationSigInputHelp" class="form-text text-muted"><?php echo lang("station_location_signature_name_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2020-11-08 21:18:25 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <label for="stationSigInfoInput"><?php echo lang("station_location_signature_info"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2020-11-08 21:18:25 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="sig_info" id="stationSigInfoInput" aria-describedby="stationSigInfoInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 		    <small id="stationSigInfoInput" class="form-text text-muted"><?php echo lang("station_location_signature_info_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2020-11-08 21:18:25 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |             <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                 <label for="eqslNickname">eQSL QTH Nickname</label> <!-- This does not need Multilanguage Support --> | 
					
						
							| 
									
										
										
										
											2020-05-07 23:35:58 +08:00
										 |  |  |                 <input type="text" class="form-control" name="eqslnickname" id="eqslNickname" aria-describedby="eqslhelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                 <small id="eqslhelp" class="form-text text-muted"><?php echo lang("station_location_eqsl_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2020-05-07 23:35:58 +08:00
										 |  |  |             </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-29 21:17:58 +08:00
										 |  |  | 			<div class="mb-3"> | 
					
						
							|  |  |  | 				<label for="eqslDefaultQSLMsg"><?php echo lang("station_location_eqsl_defaultqslmsg"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-12-02 18:08:59 +08:00
										 |  |  | 				<label class="position-absolute end-0 mb-2 me-3" for="eqslDefaultQSLMsg" id="charsLeft"> </label> | 
					
						
							| 
									
										
										
										
											2023-12-02 16:25:58 +08:00
										 |  |  | 				<textarea class="form-control" name="eqsl_default_qslmsg" id="eqslDefaultQSLMsg" aria-describedby="eqsldefaultqslmsghelp" maxlength="240" rows="2" style="width:100%;"></textarea> | 
					
						
							|  |  |  | 				<small id="eqsldefaultqslmsghelp" class="form-text text-muted"><?php echo lang("station_location_eqsl_defaultqslmsg_hint"); ?></small>
 | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             <div class="mb-3"> | 
					
						
							|  |  |  | 				<label for="clublogrealtime"><?php echo lang("station_location_clublog_realtime_upload"); ?></label>
 | 
					
						
							|  |  |  | 				<select class="form-select" id="clublogrealtime" name="clublogrealtime"> | 
					
						
							|  |  |  | 					<option value="1"><?php echo lang("general_word_yes"); ?></option>
 | 
					
						
							|  |  |  | 					<option value="0" selected><?php echo lang("general_word_no"); ?></option>
 | 
					
						
							|  |  |  | 				</select> | 
					
						
							|  |  |  | 			</div> | 
					
						
							| 
									
										
										
										
											2023-07-07 19:33:15 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |             <div class="row"> | 
					
						
							| 
									
										
										
										
											2023-12-16 06:04:34 +08:00
										 |  |  | 				<div class="mb-3 col-sm-3">                                                                                                                                                     | 
					
						
							|  |  |  | 					<label for="hrdlog_username">HRDLog.net Username</label>  | 
					
						
							|  |  |  |                     <input type="text" class="form-control" name="hrdlog_username" id="hrdlog_username" aria-describedby="hrdlog_usernameHelp"> | 
					
						
							|  |  |  |                     <small id="hrdlog_usernameHelp" class="form-text text-muted">Your HRDlog Username</a></small> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |                 <div class="mb-3 col-sm-3">                                                                                                                                                     | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 					<label for="hrdlog_code">HRDLog.net API Code</label> <!-- This does not need Multilanguage Support --> | 
					
						
							| 
									
										
										
										
											2023-07-07 19:33:15 +08:00
										 |  |  |                     <input type="text" class="form-control" name="hrdlog_code" id="hrdlog_code" aria-describedby="hrdlog_codeHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                     <small id="hrdlog_codeHelp" class="form-text text-muted"><?php echo lang("station_location_hrdlog_hint"); ?></a></small>
 | 
					
						
							| 
									
										
										
										
											2023-07-07 19:33:15 +08:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2023-12-16 06:04:34 +08:00
										 |  |  |                 <div class="mb-3 col-sm-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                     <label for="hrdlogrealtime"><?php echo lang("station_location_hrdlog_realtime_upload"); ?></label>                                                                                                                 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 					<select class="form-select" id="hrdlogrealtime" name="hrdlogrealtime"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                         <option value="1"><?php echo lang("general_word_yes"); ?></option>
 | 
					
						
							|  |  |  |                         <option value="0" selected><?php echo lang("general_word_no"); ?></option>
 | 
					
						
							| 
									
										
										
										
											2023-07-07 19:33:15 +08:00
										 |  |  |                     </select> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-28 03:17:14 +08:00
										 |  |  | 			<div class="alert alert-warning" role="alert"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 				<?php echo "QRZ.com - " . lang("station_location_qrz_subscription"); ?>
 | 
					
						
							| 
									
										
										
										
											2021-01-28 03:17:14 +08:00
										 |  |  | 			</div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |             <div class="row"> | 
					
						
							|  |  |  |                 <div class="mb-3 col-sm-6"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                     <label for="qrzApiKey">QRZ.com Logbook API Key</label>  <!-- This does not need Multilanguage Support --> | 
					
						
							| 
									
										
										
										
											2023-10-11 17:40:17 +08:00
										 |  |  |                     <input type="text" class="form-control" name="qrzapikey" pattern="^([A-F0-9]{4}-){3}[A-F0-9]{4}$" id="qrzApiKey" aria-describedby="qrzApiKeyHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                     <small id="qrzApiKeyHelp" class="form-text text-muted"><?php echo lang("station_location_qrz_hint"); ?></a></small>
 | 
					
						
							| 
									
										
										
										
											2020-11-18 18:50:15 +08:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                 <div class="mb-3 col-sm-6"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                     <label for="qrzrealtime"><?php echo lang("station_location_qrz_realtime_upload"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  |                     <select class="form-select" id="qrzrealtime" name="qrzrealtime"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  |                         <option value="1"><?php echo lang("general_word_yes"); ?></option>
 | 
					
						
							|  |  |  |                         <option value="0" selected><?php echo lang("general_word_no"); ?></option>
 | 
					
						
							| 
									
										
										
										
											2020-11-18 18:50:15 +08:00
										 |  |  |                     </select> | 
					
						
							|  |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2020-05-07 23:35:58 +08:00
										 |  |  |             </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 			<div class="row"> | 
					
						
							|  |  |  | 				<div class="mb-3 col-sm-6"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 					<label for="webadifApiKey"> QO-100 Dx Club API Key </label> <!-- This does not need Multilanguage Support --> | 
					
						
							| 
									
										
										
										
											2023-03-17 02:58:48 +08:00
										 |  |  | 					<input type="text" class="form-control" name="webadifapikey" id="webadifApiKey" aria-describedby="webadifApiKeyHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 					<small id="webadifApiKeyHelp" class="form-text text-muted"><?php echo lang("station_location_qo100_hint"); ?></a></small>
 | 
					
						
							| 
									
										
										
										
											2023-03-17 02:58:48 +08:00
										 |  |  | 				</div> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 				<div class="mb-3 col-sm-6"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 					<label for="webadifrealtime"><?php echo lang("station_location_qo100_realtime_upload"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 					<select class="form-select" id="webadifrealtime" name="webadifrealtime"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 						<option value="1"><?php echo lang("general_word_yes"); ?></option>
 | 
					
						
							|  |  |  | 						<option value="0" selected><?php echo lang("general_word_no"); ?></option>
 | 
					
						
							| 
									
										
										
										
											2023-03-17 02:58:48 +08:00
										 |  |  | 					</select> | 
					
						
							|  |  |  | 				</div> | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 			<div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 				<label for="oqrs"><?php echo lang("station_location_oqrs_enabled"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 				<select class="form-select" id="oqrs" name="oqrs"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 					<option value="0"><?php echo lang("general_word_no"); ?></option>
 | 
					
						
							|  |  |  | 					<option value="1"><?php echo lang("general_word_yes"); ?></option>
 | 
					
						
							| 
									
										
										
										
											2022-11-16 01:29:33 +08:00
										 |  |  | 				</select> | 
					
						
							|  |  |  | 			</div> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 			<div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 						<label for="oqrs"><?php echo lang("station_location_oqrs_email_alert"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 						<select class="form-select" id="oqrsemail" name="oqrsemail"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 						<option value="0"><?php echo lang("general_word_no"); ?></option>
 | 
					
						
							|  |  |  | 						<option value="1"><?php echo lang("general_word_yes"); ?></option>
 | 
					
						
							| 
									
										
										
										
											2022-11-16 01:29:33 +08:00
										 |  |  | 						</select> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 						<small id="oqrsemailHelp" class="form-text text-muted"><?php echo lang("station_location_oqrs_email_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2022-11-16 01:29:33 +08:00
										 |  |  | 					</div> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 			<div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 				<label for="oqrstext"><?php echo lang("station_location_oqrs_text"); ?></label>
 | 
					
						
							| 
									
										
										
										
											2022-11-16 01:29:33 +08:00
										 |  |  | 				<input type="text" class="form-control" name="oqrstext" id="oqrstext" aria-describedby="oqrstextHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 				<small id="oqrstextHelp" class="form-text text-muted"><?php echo lang("station_location_oqrs_text_hint"); ?></small>
 | 
					
						
							| 
									
										
										
										
											2022-11-16 01:29:33 +08:00
										 |  |  | 			</div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-14 15:48:34 +08:00
										 |  |  | 			<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?php echo lang("admin_create"); ?> <?php echo lang("station_location"); ?></button>
 | 
					
						
							| 
									
										
										
										
											2019-01-09 23:18:46 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		</form> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <br> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-01-09 06:25:28 +08:00
										 |  |  | </div> |