55 行
		
	
	
	
		
			2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			55 行
		
	
	
	
		
			2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<div class="container lotw">
 | 
						|
 | 
						|
	<h2><?php echo $this->lang->line('lotw_title'); ?></h2>
 | 
						|
 | 
						|
	<!-- Card Starts -->
 | 
						|
	<div class="card">
 | 
						|
		<div class="card-header">
 | 
						|
			<?php echo $this->lang->line('lotw_title_upload_p12_cert'); ?>
 | 
						|
		</div>
 | 
						|
 | 
						|
		<div class="card-body">
 | 
						|
			<?php if($error != " ") { ?>
 | 
						|
				<div class="alert alert-danger" role="alert">
 | 
						|
			  	<?php echo $error; ?>
 | 
						|
				</div>
 | 
						|
	    	<?php } ?>
 | 
						|
 | 
						|
	    	<div class="alert alert-info" role="alert">
 | 
						|
		    	<h5><?php echo $this->lang->line('lotw_title_export_p12_file_instruction'); ?></h5>
 | 
						|
 | 
						|
		    	<ul>
 | 
						|
		    		<li><?php echo $this->lang->line('lotw_p12_export_step_one'); ?></li>
 | 
						|
		    		<li><?php echo $this->lang->line('lotw_p12_export_step_two'); ?></li>
 | 
						|
		    		<li><?php echo $this->lang->line('lotw_p12_export_step_three'); ?></li>
 | 
						|
		    		<li><?php echo $this->lang->line('lotw_p12_export_step_four'); ?></li>
 | 
						|
		    	</ul>
 | 
						|
	    	</div>
 | 
						|
 | 
						|
			<?php echo form_open_multipart('lotw/do_cert_upload');?>
 | 
						|
				<div class="form-group">
 | 
						|
				    <label for="exampleFormControlFile1"><?php echo $this->lang->line('lotw_title_upload_p12_cert'); ?></label>
 | 
						|
				    <input type="file" name="userfile" class="form-control-file" id="exampleFormControlFile1">
 | 
						|
				 </div>
 | 
						|
 | 
						|
				<div class="form-group">
 | 
						|
					<label for="stationDXCCInput"><?php echo $this->lang->line('lotw_certificate_dxcc'); ?></label>
 | 
						|
						<?php if ($dxcc_list->num_rows() > 0) { ?>
 | 
						|
						<select class="form-control" id="dxcc_select" name="dxcc" aria-describedby="stationCallsignInputHelp">
 | 
						|
						<option value=""></option>
 | 
						|
						<?php foreach ($dxcc_list->result() as $dxcc) { ?>
 | 
						|
						<option value="<?php echo $dxcc->name; ?>"><?php echo $dxcc->name; ?></option>
 | 
						|
						<?php } ?>
 | 
						|
						</select>
 | 
						|
						<?php } ?>
 | 
						|
					<small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo $this->lang->line('lotw_certificate_dxcc_help_text'); ?></small>
 | 
						|
				</div>
 | 
						|
 | 
						|
				<button type="submit" value="upload" class="btn btn-primary"><?php echo $this->lang->line('lotw_btn_upload_file'); ?></button>
 | 
						|
			</form>
 | 
						|
 | 
						|
	    </div>
 | 
						|
	</div>
 | 
						|
	<!-- Card Ends -->
 | 
						|
 | 
						|
</div>
 |