<?php

include "header.php";
include "menu.php";
$registration_id = $_REQUEST['registration_id'];
/*...........................................................*/
$result = $conn->query("select a.*,b.* from job_registration a,job_profile b where a.id='{$registration_id}' and b.registration_id='{$registration_id}'");
$row = $result->fetch_assoc();
/*...........................get area of interest.....................................*/
$result1 = $conn->query("select * from job_area_of_interest where registration_id='{$registration_id}'");
while ($row1 = $result1->fetch_assoc()) {
    $interest .= getInterest($conn, $row1['area_of_interest']) . ",";
}
?>
<!-- -------------------------------- container starts ------------------------------ -->
<div class="page_title"><span>Profile Details</span></div>


<div class="inner_conainer">
    <!--Horizontal Tab START-->
    <div class="tab_wrapper_other">
      <!--Horizontal Tab-->
      <div id="horizontalTab">
        <ul class="resp-tabs-list">
          <li>PERSONAL INFO </li>
          <li>PROFILE INFO</li>
          <li>EDUCATIONAL INFO</li>
          <li>EMPLOYEMENT INFO</li>
        </ul>
        <div class="resp-tabs-container">
          <!-- ----------------- tab 1 starts ----------- -->
Exemplo n.º 2
0
         }
     }
 } elseif ($action == "getImageFromGallary") {
     $id = $_GET['id'];
     $result = getImageFromGallary($id);
     header('content-type:application/json');
     echo json_encode($result);
 } elseif ($action == "deleteFromGalary") {
     $id = $_GET['id'];
     $result = deleteFromGalary($id);
     echo $result;
 } elseif ($action == "getInterestID") {
     $result = getInterestID();
     echo $result;
 } elseif ($action == "getInterest") {
     $result = getInterest();
     header('content-type:application/json');
     echo json_encode($result);
 } elseif ($action == "getMyclinics") {
     $result = getMyclinics();
     header('content-type:application/json');
     echo json_encode($result);
 } elseif ($action == "getClinicsServices") {
     $spid = $_GET['spid'];
     $result = getClinicsServices($spid);
     header('content-type:application/json');
     echo json_encode($result);
 } else {
     if ($action == "getAllServicesFromInterest") {
         $result = getAllServicesFromInterest();
         header('content-type:application/json');
Exemplo n.º 3
0
        </div>
        <div class="posted_job">
          <div class="marquee_1">
            <!----  Start getting list of training offered by jobready  ---->
            <?php 
$results = $conn->query("select * from job_student_training_interest where trainer_registraion_id='{$registration_id}'");
while ($rows = $results->fetch_assoc()) {
    ?>
            <div class="job_disc">
              <div class="name"><?php 
    echo getUserName($conn, $rows['registration_id']);
    ?>
</div>
              <span>- </span>
              <div class="place"><?php 
    echo getInterest($conn, getTrainerDetails($conn, $rows['training_id'], 'area_of_interest'));
    ?>
</div>
            </div>
            <?php 
}
?>
          </div>
          <div class="clear"></div>
        </div>
        <a class="more" href="training_requests_from_candidates.php"></a> </div>
      <div class="dashbox purple_bg">
        <div class="title"><img src="images/icon_feedback_big.png" />Candidates feedback
          <div class="clear"></div>
        </div>
        <div class="posted_job">
?>
        <?php 
while ($row = $result->fetch_assoc()) {
    ?>
            <tr class="paginate">

            <td colspan="3">
              <h2 style="float: left;padding-bottom: 5px;"><a href="training_profile_detail.php?id=<?php 
    echo $row['id'];
    ?>
" target="_blank"><?php 
    echo $row['title'];
    ?>
</a></h2> 
              <span style="float:left;padding:7px;">(<?php 
    echo getInterest($conn, $row['area_of_interest']);
    ?>
)</span>
			  <?php 
    if (isset($_SESSION['registration_id'])) {
        ?>
              <?php 
        if (actor_type($conn, $registration_id) == "S") {
            ?>
<p data-title="Action">
                            <a href="#" class="showinterest <?php 
            echo $row['id'] . " " . $row['registration_id'] . " " . $registration_id;
            ?>
 contact" style="float: right;padding-right: 25px;margin-bottom: 5px;">Contact</a></p>
                    <?php 
        } else {
Exemplo n.º 5
0
function getUserInterest($conn, $registration_id)
{
    $sql = "SELECT area_of_interest FROM  job_area_of_interest  where registration_id='{$registration_id}'";
    $result = $conn->query($sql);
    $num = $result->num_rows;
    $i = 1;
    while ($row = $result->fetch_assoc()) {
        if ($i < $num) {
            $intrest .= getInterest($conn, $row['area_of_interest']) . ",";
        } else {
            $intrest .= getInterest($conn, $row['area_of_interest']);
        }
        $i++;
    }
    return $intrest;
}
Exemplo n.º 6
0
          <?php 
echo $row['job_from'];
?>
        </div>
      </div>
      <div class="textfield mar_left"> <span>Reporting  to<sup></sup></span>:
        <div class="fields">
         <?php 
echo $row['job_to'];
?>
        </div>
      </div>
	  <div class="textfield"> <span>Job Category</span>:
        <div class="fields">
			<?php 
echo getInterest($conn, $aoi);
?>
        </div>
      </div>
      
	  <div class="textfield mar_left"> <span>Location</span>:
        <div class="fields">
        <?php 
echo getCityName($conn, $location);
?>
        </div>
      </div>
	  <div class="textfield"> <span>Min. Experience</span>:
        <div class="fields">
          <?php 
echo $row['min_exp'];