<?php include ('header1f.php');?>
<script src="js/jquery-3.5.1.min.js"></script>
<link rel="stylesheet" href="jquery-ui.css">
<script src="jquery.min.js"></script>
<script src="jquery-ui.js"></script>

<?php 
ob_start();   
session_start();
include ('connection.php') ;

  if (!isset($_SESSION['is_logged_in'])) {
    header("Location:login.php");
    die();
    }
	date_default_timezone_set('Asia/Calcutta');
$today = date("d/m/Y");
$today3 = date("Y-m-d");
$today1 = date("d/m");

?> 
<div class="content-page">
    <div class="content">
      <div class="container">
	  	  
        
        <div class="row">
          <div class="col-md-6">
            <div class="panel panel-primary">
              <div class="panel-heading">
                <h3 class="panel-title">Add Event</h3>
              </div>	
		
			
              <div class="panel-body">
                                    <div class="row"> 

               <form name="frm_add_category"  id="frm_add_category" method="post"action="insert_event.php" >			

                        <div class="box-body">
						
							<div class="row">
							
							
							
							
							<div class="col-sm-12 col-xs-12">
                                            <div class="m-t-20">
							   <div class="form-group">
                                <label for="middle_name" class="control-label">Event Name</label>
                				<input class="form-control" type="text" name="event_name" placeholder="Event Name"/>

                            </div>
</div></div>

<div class="col-sm-12 col-xs-12">
                                            <div class="m-t-20">
							   <div class="form-group">
                                <label for="middle_name" class="control-label">School Name</label>
                				<input class="form-control" type="text" name="school_name" placeholder="School Name"/>

                            </div>
</div></div>
                     
					 <div class="col-sm-12 col-xs-12">
                                            <div class="m-t-20">       <div class="form-group">

                               <label for="last_name" class="control-label">Date</label>
                	
					<input type="text" class="dt1 form-control CLinputbox"  name="Edate" >
<script>
$(".dt1").datepicker({
inline: true,
minDate: 0,

nextText: '?',
prevText: '?',
showOtherMonths: true,
changeMonth: true,
changeYear: true,
dateFormat: 'yy-mm-dd',
dayNamesMin: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
showAnim: "slide"

});
</script>

                            </div></div></div>
							
								 <div class="col-sm-12 col-xs-12">
                                            <div class="m-t-20">       <div class="form-group">

                               <label for="last_name" class="control-label">Place</label>
                	<input class="form-control" type="text" name="Eplace" placeholder="Place" required />

                            </div></div></div>
							
							<div class="col-sm-12 col-xs-12">
                                            <div class="m-t-20">       <div class="form-group">

                               <label for="last_name" class="control-label">Program</label>
                	<select name="program"  required class="form-control">
			<option value="">Select</option>
			<option value="kanakveda_registration">Kanakveda Registration</option>
			<option value="height_Increasing_program">Height Increasing Program</option>
			<option value="immunity_booster_program">Immunity Booster Program Registrartion</option>
                  </select>	

                            </div></div></div>
							
							
							 <div class="col-sm-12 col-xs-12">
                                            <div class="m-t-20">       <div class="form-group">

                               <label for="last_name" class="control-label">Coupon </label>
                	<input class="form-control" type="text" name="coupon_name" placeholder="Coupon" required />

                            </div></div></div>
							
							
							 <div class="col-sm-12 col-xs-12">
                                            <div class="m-t-20">       <div class="form-group">

                               <label for="last_name" class="control-label">Coupon Discount %</label>
                	<input class="form-control" type="text" name="coupon_discount" placeholder="Discount" required />

                            </div></div></div>
							
							
							</div>
							
							
							
							
                            
						
							
							
                            <div class="col-sm-12 col-xs-12">
                                           
                                            <div class="m-t-20">
                                                    <div class="form-group">
                                                        <div>
                                                            <button type="submit" class="btn btn-primary waves-effect waves-light" style="float:right"> Submit </button>
							
															
                                                           
                                                        </div>
                                                    </div>
                                               
                                            </div>
                                        </div>

</div>

                    </form></div></div>
									
                                        
												
													


													
                                                    
                                        
                              </div>
            </div>
          </div>
      </div>
    </div>
   	<?php include 'footer1a.php';?>
