<?php session_start(); ob_start(); include 'db.inc.php'; include 'functions.php'; $employer_registraion_id = $_GET['employer_registraion_id']; $registration_id = $_GET['candidate_id']; ?> <!-- -------------------------------- container starts ------------------------------ --> <?php $emp_refid = getReferenceId($conn, $employer_registraion_id); $result = $conn->query("select job_id,employer_registraion_id,registration_id,comment,comment_date from job_student_job_interest where employer_registraion_id in (select id from job_registration where (id='{$emp_refid}' or refer_registration_id='{$emp_refid}')) and registration_id ='{$registration_id}' and comment!=''"); ?> <div class="add_training" style="min-width: 320px;"> <div class="pop_head">Feedback (<?php echo getUserName($conn, $registration_id); ?> )</div> <table class="table-bordered-job table-striped table-condensed-job cf dataTable no-footer"> <thead bgcolor="black" style="color: #fff;padding-bottom: 10px;"> <th align="center">Job Code</th> <th align="center">Recruiter Name</th> <th align="center">Date</th> <td align="center" colspan="2">Comment</td> </thead> <?php while ($row = $result->fetch_assoc()) { $comment = $row['comment'];
function getCompanyProfile($conn, $registration_id) { $registration_id = getReferenceId($conn, $registration_id); $sql = "SELECT company_profile FROM job_profile where registration_id='{$registration_id}'"; $result = $conn->query($sql); $row = $result->fetch_assoc(); return $row['company_profile']; }
$error_msg = ""; $id = $_POST['id']; if ($conn->query("update job_student_job_interest set candidate_interviewed='Y' where id='{$id}'") == TRUE) { $error_msg = "success"; } else { $error_msg = ""; $url = "error.php"; } echo json_encode(array('url' => $url, 'error_msg' => $error_msg)); } if ($action == "addRecruiter") { $url = "employer_recruiter_listing.php"; $error_msg = ""; $registration_id = $_SESSION['registration_id']; $registration_type = $_POST['registration_type']; $referenceId = getReferenceId($conn, $registration_id); $check_name = check_string($_POST['name']); if ($check_name == 1 || $_POST['name'] == "Name") { $error_msg .= "<li>Please enter name</li>"; } else { $name = $_POST['name']; } $check_company_name = check_string($_POST['company']); if ($check_company_name == 1 || $_POST['company'] == "Company") { $error_msg .= "<li>Please Enter Company Name</li>"; } else { $company = $_POST['company']; } $check_designation = check_string($_POST['designation']); if ($check_designation == 1 || $_POST['designation'] == "Designation") { $error_msg .= "<li>Please enter designation</li>";