| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | <div class="container" id="create_contest"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <br> | 
					
						
							|  |  |  | 	<?php if($this->session->flashdata('message')) { ?>
 | 
					
						
							|  |  |  | 		<!-- Display Message --> | 
					
						
							|  |  |  | 		<div class="alert-message error"> | 
					
						
							|  |  |  | 		  <p><?php echo $this->session->flashdata('message'); ?></p>
 | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?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(); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-07 02:24:14 +08:00
										 |  |  | 		<form> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		<div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-06 04:02:26 +08:00
										 |  |  | 		    <label for="contestInput"><?php echo lang('admin_contest_menu_name'); ?></label>
 | 
					
						
							| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="contestname" id="contestInput" aria-describedby="contestInputHelp" required> | 
					
						
							| 
									
										
										
										
											2023-10-06 04:02:26 +08:00
										 |  |  | 		    <small id="contestInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_name_of_contest'); ?></small>
 | 
					
						
							| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		  <div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2023-10-06 04:02:26 +08:00
										 |  |  | 		    <label for="adifcontestInput"><?php echo lang('admin_contest_menu_adif'); ?></label>
 | 
					
						
							| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 		    <input type="text" class="form-control" name="adifcontestname" id="adifcontestInput" aria-describedby="adifcontestInputHelp"> | 
					
						
							| 
									
										
										
										
											2023-10-06 04:02:26 +08:00
										 |  |  | 		    <small id="adifcontestInputHelp" class="form-text text-muted"><?php echo lang('admin_contest_name_of_adif'); ?></small>
 | 
					
						
							| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 		  </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-06 04:02:26 +08:00
										 |  |  | 			<button type="button" onclick="createContest(this.form);" class="btn btn-primary btn-sm"><i class="fas fa-plus-square"></i> <?php echo lang('admin_contest_create'); ?></button>
 | 
					
						
							| 
									
										
										
										
											2021-02-13 06:27:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		</form> | 
					
						
							|  |  |  | </div> |