<?php include("sass/icon_for_datepicker_and_datatable.php");?>
              
        <div class="wrapper row-offcanvas row-offcanvas-left">
            <!-- Left side column. contains the logo and sidebar -->
            <?php include("sass/sidebar.php");?>

            <!-- Right side column. Contains the navbar and content of the page -->
               <aside class="right-side">
                <!-- Content Header (Page header) -->
                <section class="content-header">
                    <h1>
                       <?php echo $company_name ; ?>
                        <small>Control panel</small>
                    </h1>
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                        <li class="active">Dashboard</li>
                    </ol>
                </section>
                 <section class="content">
                 	 <div class="row">
                        <div class="col-md-12" id="formdiv">
                 <!---Main Content--->

	<?php
$errMsg=""; 
if(isset($_POST['submit'])) // To check 'submmited or not' by if(isset($_POST['submit'])) 
{
	$products_name = $_POST['products_name'];
	$products_price = $_POST['products_price'];
	$products_txt1 = $_POST['products_txt1'];
	$products_txt2 = $_POST['products_txt2'];
	$products_txt3 = $_POST['products_txt3'];
	$products_txt4 = $_POST['products_txt4'];
	$products_txt5 = $_POST['products_txt5'];
	$products_txt6 = $_POST['products_txt6'];
	$products_txt7 = $_POST['products_txt7'];
	
	$products_txt8 = $_POST['products_txt8'];
	$products_txt9 = $_POST['products_txt9'];
	$products_txt10 = $_POST['products_txt10'];
	$products_txt11 = $_POST['products_txt11'];
	$products_txt12 = $_POST['products_txt12'];
	$products_txt13 = $_POST['products_txt13'];
	$products_txt14 = $_POST['products_txt14'];
	$products_txt15 = $_POST['products_txt15'];
	$head_design = $_POST['head_design'];
	$product_type = $_POST['product_type'];
	
	
	
	if(empty($products_name)) $errMsg="enter products name";
	if(empty($errMsg))
	{
		
		$check=mysqli_query($connection,"select * from products where products_name='$products_name'");
		$checkrows=mysqli_num_rows($check);
		if($checkrows>0){$errMsg="You have entered this products Name before";}
		
		else{
		
		mysqli_query($connection,"INSERT INTO`products`(`products_name`, `products_price`, `products_txt1`, `products_txt2`, `products_txt3`, `products_txt4`, `products_txt5`, `products_txt6`, `products_txt7`, `products_txt8`, `products_txt9`, `products_txt10`, `products_txt11`, `products_txt12`, `products_txt13`, `products_txt14`, `products_txt15`, `head_design`, `product_type`) VALUES ('$products_name', '$products_price', '$products_txt1', '$products_txt2', '$products_txt3', '$products_txt4', '$products_txt5', '$products_txt6', '$products_txt7', '$products_txt8', '$products_txt9', '$products_txt10', '$products_txt11', '$products_txt12', '$products_txt13', '$products_txt14', '$products_txt15', '$head_design', '$product_type') ")
		or die(mysqli_error()); 
		$errMsg="radio hosting 100 entered successfully";
	}
}
}



 if(isset($_POST['update']))
    {
	
$products_id = $_POST['products_id'];
$products_name = $_POST['products_name'];
	$products_price = $_POST['products_price'];
	$products_txt1 = $_POST['products_txt1'];
	$products_txt2 = $_POST['products_txt2'];
	$products_txt3 = $_POST['products_txt3'];
	$products_txt4 = $_POST['products_txt4'];
	$products_txt5 = $_POST['products_txt5'];
	$products_txt6 = $_POST['products_txt6'];
	$products_txt7 = $_POST['products_txt7'];
	
	$products_txt8 = $_POST['products_txt8'];
	$products_txt9 = $_POST['products_txt9'];
	$products_txt10 = $_POST['products_txt10'];
	$products_txt11 = $_POST['products_txt11'];
	$products_txt12 = $_POST['products_txt12'];
	$products_txt13 = $_POST['products_txt13'];
	$products_txt14 = $_POST['products_txt14'];
	$products_txt15 = $_POST['products_txt15'];
	$head_design = $_POST['head_design'];


mysqli_query($connection,"UPDATE products SET products_name ='$products_name', products_price ='$products_price', products_txt1 ='$products_txt1' 
, products_txt2 ='$products_txt2', products_txt3 ='$products_txt3', products_txt4 ='$products_txt4', products_txt5 ='$products_txt5', products_txt6 ='$products_txt6', products_txt7 ='$products_txt7', products_txt8 ='$products_txt8', products_txt9 ='$products_txt9', products_txt10 ='$products_txt10', products_txt11 ='$products_txt11', products_txt12 ='$products_txt12', products_txt13 ='$products_txt13', products_txt14 ='$products_txt14', products_txt15 ='$products_txt15', head_design ='$head_design' WHERE products_id = '$products_id'")
			or die(mysqli_error());  
	$errMsg="Package Name Successfully Updated";
	}

?>
                 <?php
							if (!empty($errMsg))
							{echo "<div class='alert alert-warning alert-dismissible' role='alert'>$errMsg";
							echo "<button type='button' class='close' data-dismiss='alert'><span aria-hidden='false'>&times;</span><span class='sr-only'>		Close</span></button>
                        </div>";}
                        ?>
                 			<div class="box box-primary">
                                <div class="box-header">
                                    <h3 class="box-title">Radio Hosting 100 products_price List Entry</h3>
                                </div><!-- /.box-header -->
                                <!-- form start -->
                                
                            
                                <form role="form"  action="<?php echo "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; ?>" method="post" id="login_form">
                                    <div class="box-body">
                                    	<div class="col-md-12">
                                        <div class="col-md-6">
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Name</label>
                                            <input type="text" class="form-control" name="products_name" id="" placeholder="enter Radio Hosting 100 Name">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Price</label>
                                            <input type="text" class="form-control" name="products_price" id="" placeholder="Radio Hosting 100 price">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 1</label>
                                            <input type="text" class="form-control" name="products_txt1" id="" placeholder="enter Radio Hosting 100_txt1">
                                        </div>
                                        
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 2</label>
                                            <input type="text" class="form-control" name="products_txt2" id="" placeholder="enter Radio Hosting 100 Text 2">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 3</label>
                                            <input type="text" class="form-control" name="products_txt3" id="" placeholder="enter Radio Hosting 100 Text 3">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 4</label>
                                            <input type="text" class="form-control" name="products_txt4" id="" placeholder="enter Radio Hosting 100 Text 4">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 5</label>
                                            <input type="text" class="form-control" name="products_txt5" id="" placeholder="enter Radio Hosting 100 Text 5">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 6</label>
                                            <input type="text" class="form-control" name="products_txt6" id="" placeholder="enter Radio Hosting 100 Text 6">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 7</label>
                                            <input type="text" class="form-control" name="products_txt7" id="" placeholder="enter Radio Hosting 100 Text 7">
                                        </div>
                                        </div>
                                        
                                        
                                        
                                        <div class="col-md-6">
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 8</label>
                                            <input type="text" class="form-control" name="products_txt8" id="" placeholder="enter Radio Hosting 100 Text 8">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 9</label>
                                            <input type="text" class="form-control" name="products_txt9" id="" placeholder="Radio Hosting 100 Text 9">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 10</label>
                                            <input type="text" class="form-control" name="products_txt10" id="" placeholder="enter Radio Hosting 100 Text 10">
                                        </div>
                                        
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 11</label>
                                            <input type="text" class="form-control" name="products_txt11" id="" placeholder="enter Radio Hosting 100 Text 11">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 12</label>
                                            <input type="text" class="form-control" name="products_txt12" id="" placeholder="enter Radio Hosting 100 Text 12">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 13</label>
                                            <input type="text" class="form-control" name="products_txt13" id="" placeholder="enter Radio Hosting 100 Text 13">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 14</label>
                                            <input type="text" class="form-control" name="products_txt14" id="" placeholder="enter Radio Hosting 100 Text 14">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Radio Hosting 100 Text 15</label>
                                            <input type="text" class="form-control" name="products_txt15" id="" placeholder="enter Radio Hosting 100 Text 15">
                                        </div>
                                        <div class="form-group">
                                            <label for="exampleInputEmail1">Head Design</label>
                                            <select class="form-control" name="head_design">
                                            	<option value="p1"> Black </option>
                                                <option value="p2"> Blue </option>
                                                <option value="p3"> Green </option>
                                                <option value="p4"> Pink </option>
                                                </select>  
                                                </div>
                                                
                                                 <input type="hidden" class="form-control" name="product_type" value="radioHosting100">
                                                
                                                
                                        </div>
									</div>
												<!-- /.box-body -->

                                    <div class="box-footer">
                                        <button type="submit" name="submit" class="btn btn-primary">Submit</button>
                                    </div>
                                </form>
                            </div>
                 
                 		</div>
                    </div>
                                          <img src="img/ajax-loader1.gif" style="display: none; margin-left:30%;" id="loading_image" width="50%">      
                 
                 
                 </section>
                 
                 
                 
                 <section class="content">
					<div class="box-body table-responsive" id="tbldiv">

                                    <table id="example1" class="table table-bordered table-striped">
                                        <thead>
                                            <tr>
                                                <th>Radio Hosting 100 Name</th>
                                                <th>Radio Hosting 100_price</th> 
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                      
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                                      
                                                <th>Action</th>
                                            </tr>

                                        </thead>
                                        <tbody>
										<?php
                                        
                                        $query = "SELECT * FROM products where branch_id  = '$branch_id_for_header_user'";
                                        $result = mysqli_query($connection,$query);
                                        
										 $i=0;
                                        while($row=mysqli_fetch_array($result))
                                        {
                                        
                                         $i++;
										 $products_id = $row['products_id'];
											$products_name = $row['products_name'];
											$products_price = $row['products_price'];
											$products_txt1 = $row['products_txt1'];
											$products_txt2 = $row['products_txt2'];
											$products_txt3 = $row['products_txt3'];
											$products_txt4 = $row['products_txt4'];
											$products_txt5 = $row['products_txt5'];
											$products_txt6 = $row['products_txt6'];
											$products_txt7 = $row['products_txt7'];
											$products_txt8 = $row['products_txt8'];
											$products_txt9 = $row['products_txt9'];
											$products_txt10 = $row['products_txt10'];
											$products_txt11 = $row['products_txt11'];
											$products_txt12 = $row['products_txt12'];
											$products_txt13 = $row['products_txt13'];
											$products_txt14 = $row['products_txt14'];
											$products_txt15 = $row['products_txt15'];
											$head_design = $row['head_design'];
											
											if($head_design=="p1")
											{
											$headtxt = "Black";
											}
											elseif($head_design=="p2")
											{
											$headtxt = "Blue";
											}
										
											elseif($head_design=="p3")
											{
											$headtxt = "Green";
											}
											elseif($head_design=="p4")
											{
											$headtxt = "Pink";
											}
                                        
                                        
                                        echo "<tr>
                                        <td>$products_name
										<input type='hidden' id='products_name$i' value='$products_name'/>
										</td>
                                        <td>$products_price
										<input type='hidden' id='products_price$i' value='$products_price'/>
										</td>
                                        <td>$products_txt1
										<input type='hidden' id='products_txt1$i' value='$products_txt1'/>
										</td>
                                        <td>$products_txt2
										<input type='hidden' id='products_txt2$i' value='$products_txt2'/>
										</td>
                                        <td>$products_txt3
										<input type='hidden' id='products_txt3$i' value='$products_txt3'/>
										</td>
                                        <td>$products_txt4
										<input type='hidden' id='products_txt4$i' value='$products_txt4'/>
										</td>
                                        <td>$products_txt5
										<input type='hidden' id='products_txt5$i' value='$products_txt5'/>
										</td>
                                        <td>$products_txt6
										<input type='hidden' id='products_txt6$i' value='$products_txt6'/>
										</td>
                                        <td>$products_txt7
										<input type='hidden' id='products_txt7$i' value='$products_txt7'/>
										</td>
                                        <td>$products_txt8
										<input type='hidden' id='products_txt8$i' value='$products_txt8'/>
										</td>
                                        <td>$products_txt9
										<input type='hidden' id='products_txt9$i' value='$products_txt9'/>
										</td>
                                        <td>$products_txt10
										<input type='hidden' id='products_txt10$i' value='$products_txt10'/>
										</td>
                                        <td>$products_txt11
										<input type='hidden' id='products_txt11$i' value='$products_txt11'/>
										</td>
                                        <td>$products_txt13
										<input type='hidden' id='products_txt12$i' value='$products_txt13'/>
										</td>
                                        <td>$products_txt13
										<input type='hidden' id='products_txt13$i' value='$products_txt13'/>
										</td>
                                        <td>$products_txt14
										<input type='hidden' id='products_txt14$i' value='$products_txt14'/>
										</td>
                                        <td>$products_txt15
										<input type='hidden' id='products_txt15$i' value='$products_txt15'/>
										</td>
                                        <td>$headtxt
										<input type='hidden' id='head_design$i' value='$head_design'/>
										</td>
                                        <td>
                                       <input type='hidden' id='zipsearch$i' value='$products_id'/> <button type='button' class='btn btn-primary' data-toggle='modal' data-target='#myModal' onClick='sync$i()'><i class='fa fa-edit'></i> &nbsp;Edit</button>
									   
									   <button type='button' class='btn btn-danger' data-toggle='modal' data-target='#delmodel$i'><i class='fa fa-times'></i> &nbsp;Delete</button>
                                        </td> 
                                        </tr>";
										
										
										echo "<script>
function sync$i()
{
  var collect = document.getElementById('zipsearch$i');
  var entry = document.getElementById('xpaytype');
  
  
  var products_namecollect = document.getElementById('products_name$i');
  var products_nameentry = document.getElementById('products_name');
  
  
  var products_pricecollect = document.getElementById('products_price$i');
  var products_priceentry = document.getElementById('products_price');
  
  
  var products_txt1collect = document.getElementById('products_txt1$i');
  var products_txt1entry = document.getElementById('products_txt1');
  
  
  var products_txt2collect = document.getElementById('products_txt2$i');
  var products_txt2entry = document.getElementById('products_txt2');
  
  
  var products_txt3collect = document.getElementById('products_txt3$i');
  var products_txt3entry = document.getElementById('products_txt3');
  
  
  var products_txt4collect = document.getElementById('products_txt4$i');
  var products_txt4entry = document.getElementById('products_txt4');
  
  
  var products_txt5collect = document.getElementById('products_txt5$i');
  var products_txt5entry = document.getElementById('products_txt5');
  
  
  var products_txt6collect = document.getElementById('products_txt6$i');
  var products_txt6entry = document.getElementById('products_txt6');
  
  
  var products_txt7collect = document.getElementById('products_txt7$i');
  var products_txt7entry = document.getElementById('products_txt7');
  
   var products_txt8collect = document.getElementById('products_txt8$i');
  var products_txt8entry = document.getElementById('products_txt8');
  
   var products_txt9collect = document.getElementById('products_txt9$i');
  var products_txt9entry = document.getElementById('products_txt9');
  
   var products_txt10collect = document.getElementById('products_txt10$i');
  var products_txt10entry = document.getElementById('products_txt10');
  
   var products_txt11collect = document.getElementById('products_txt11$i');
  var products_txt11entry = document.getElementById('products_txt11');
  
   var products_txt12collect = document.getElementById('products_txt12$i');
  var products_txt12entry = document.getElementById('products_txt12');
  
   var products_txt13collect = document.getElementById('products_txt13$i');
  var products_txt13entry = document.getElementById('products_txt13');
  
   var products_txt14collect = document.getElementById('products_txt14$i');
  var products_txt14entry = document.getElementById('products_txt14');
  
   var products_txt15collect = document.getElementById('products_txt15$i');
  var products_txt15entry = document.getElementById('products_txt15');
   var head_designcollect = document.getElementById('head_design$i');
  var head_designentry = document.getElementById('head_design');
  
  
  entry.value = collect.value;
  products_nameentry.value = products_namecollect.value;
  products_priceentry.value = products_pricecollect.value;
  products_txt1entry.value = products_txt1collect.value;
  products_txt2entry.value = products_txt2collect.value;
  products_txt3entry.value = products_txt3collect.value;
  products_txt4entry.value = products_txt4collect.value;
  products_txt5entry.value = products_txt5collect.value;
  
  
  products_txt6entry.value = products_txt6collect.value;
  
  products_txt7entry.value = products_txt7collect.value;
  
   products_txt8entry.value = products_txt8collect.value;
   
    products_txt9entry.value = products_txt9collect.value;
	
	 products_txt10entry.value = products_txt10collect.value;
	 
	  products_txt11entry.value = products_txt11collect.value;
	  
	   products_txt12entry.value = products_txt12collect.value;
	   
	    products_txt13entry.value = products_txt13collect.value;
		
		 products_txt14entry.value = products_txt14collect.value;
		 
		  products_txt15entry.value = products_txt15collect.value;
		  head_designentry.value = head_designcollect.value;
}
</script> ";

echo "<div class='modal fade' id='delmodel$i' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
  <div class='modal-dialog'>
    <div class='modal-content'>
      <div class='modal-header'>
        <button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>
        <h4 class='modal-title' id='myModalLabel'>Delete Package</h4>
      </div>
      <div class='modal-body'>
    Are You sure you want to delete  $products_name ?
      </div>
      <div class='modal-footer'>
        <button type='button' class='btn btn-default' data-dismiss='modal'>No</button>
        <a href='delete.php?tbl=products&idcol=products_id&id=$products_id&redirect=radio_hosting_100'><button type='button' class='btn btn-danger'>Yes</button></a>
      </div>
    </div>
  </div>
</div>";

										
										}	
                                        ?>

                                        </tbody>
                                        <tfoot>
                                            <tr>
                                                <th>Radio Hosting 100 Name</th>
                                                <th>Radio Hosting 100_price</th> 
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                      
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                    
                                                <th>Header</th>                                      
                                                <th>Action</th>
                                            </tr>

                                        </tfoot>
                                    </table>
                                    
                                    
                                   <form method='post' action='<?php echo $_SERVER['SCRIPT_NAME']; ?>'>
										<div class='modal fade' id='myModal' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
  <div class='modal-dialog'>
    <div class='modal-content'>
      <div class='modal-header'>
        <button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>
        <h4 class='modal-title' id='myModalLabel'>Update Radio Hosting 100 Price List</h4>
      </div>
      <div class='modal-body'>
      <input type="hidden" id='xpaytype' name='products_id' class='form-control'/>
        
                    <div class="form-group">
                        <input type="text" id='products_name' name="products_name" class="form-control" placeholder="Movie Name"/>
                    </div>
                    <div class="form-group">
                        <input type="text" id='products_price' name="products_price" class="form-control" placeholder="products_price"/>
                    </div>
                    <div class="form-group">
                        <input type="text" id='products_txt1' name="products_txt1" class="form-control" placeholder="products_txt1"/>
                    </div>
                    <div class="form-group">
                 	
                     <input type="text" id='products_txt2' name="products_txt2" class="form-control" placeholder="products_txt1"/>
                        
                    </div>
                    <div class="form-group">
                    <input type="text" id='products_txt3' name="products_txt3" class="form-control" placeholder="Release Year"/>
                    </div>
                    <div class="form-group">
                      <input type="text" id='products_txt5' name="products_txt5" class="form-control" placeholder="products_txt1"/>  
                 	
                    </div>
                    <div class="form-group">
                        <input type="text" id='products_txt4' name="products_txt4" class="form-control" placeholder="Movie Full Name (With Extention)"/>
                    </div>
                    
                    <div class="form-group">
                        <input type="text" id='products_txt6' name="products_txt6" class="form-control" placeholder="Movie Full Name (With Extention)"/>
                    </div>
                    
                    <div class="form-group">
                        <input type="text" id='products_txt7' name="products_txt7" class="form-control" />
                    </div>
                    
                    
                    <div class="form-group">
                        <input type="text" id='products_txt8' name="products_txt8" class="form-control" />
                    </div>
                    
                    
                    <div class="form-group">
                        <input type="text" id='products_txt9' name="products_txt9" class="form-control" />
                    </div>
                    
                    
                    <div class="form-group">
                        <input type="text" id='products_txt10' name="products_txt10" class="form-control" />
                    </div>
                    
                    
                    <div class="form-group">
                        <input type="text" id='products_txt11' name="products_txt11" class="form-control" />
                    </div>
                    
                    
                    <div class="form-group">
                        <input type="text" id='products_txt12' name="products_txt12" class="form-control" />
                    </div>
                    
                    
                    <div class="form-group">
                        <input type="text" id='products_txt13' name="products_txt13" class="form-control" />
                    </div>
                    
                    
                    <div class="form-group">
                        <input type="text" id='products_txt14' name="products_txt14" class="form-control" />
                    </div>
                    
                    
                    <div class="form-group">
                        <input type="text" id='products_txt15' name="products_txt15" class="form-control" />
                    </div>
                    
                    <div class="form-group">
                        <select class="form-control" name="head_design" id='head_design' >
                            <option value="p1"> Black </option>
                            <option value="p2"> Blue </option>
                            <option value="p3"> Green </option>
                            <option value="p4"> Pink </option>
                        </select>
                    </div>
      </div>
      <div class='modal-footer'>
        <button type='button' class='btn btn-default' data-dismiss='modal'>Close</button>
        <button type='submit'  name="update" class='btn btn-primary'>Save</button>
      </div>
    </div>
  </div>
</div>
</form>








                                  
                                </div>
                </section>
                 
                </aside>
                <!-- /.right-side -->
        </div><!-- ./wrapper -->

        <!-- add new calendar event modal -->
<script type="text/javascript">
	 $('#login_form').submit(function() {
	$('#formdiv').hide();
	$('#tbldiv').hide();
    $('#loading_image').show(); // show animation
    return true; // allow regular form submission
});
 </script>

        <!-- jQuery 2.0.2 -->
         <?php include("sass/footer_for_datepicker_and_datatable.php");?>

    </body>
</html>