<div> <div class="quest_box fade_anim"> <div class="info_wrap"> <div class="info"> <div class="head">Areas Of Interest</div> <div class="dvdr">:</div> <div class="det"><?php echo $interest; ?> </div> </div> <div class="info"> <div class="head">Prefered Location</div> <div class="dvdr">:</div> <div class="det"><?php echo ucfirst(getCityName($conn, $row['preffered_location'])); ?> </div> </div> <div class="info"> <div class="head">Brief Profile</div> <div class="dvdr">:</div> <div class="det"><?php echo ucfirst($row['brief_profile']); ?> </div> </div> <div class="info"> <div class="head">Skills / Kew words</div> <div class="dvdr">:</div> <div class="det"><?php
"><?php echo $row['fname']; ?> </a> </td> <?php } ?> <td data-title="Designation"><?php echo $row['last_designation']; ?> </td> <td data-title="Location"><?php echo getCityName($conn, $row['city']); ?> </td> <td data-title="Area of Interest"><?php echo getUserInterest($conn, $row['id']); ?> </td> <?php if (isset($_SESSION['registration_id'])) { ?> <?php if (actor_type($conn, $registration_id) == "F") { ?> <td data-title=""> <a href="#" class="showcandidateinterest <?php
$num = $result->num_rows; while ($row = $result->fetch_assoc()) { ?> <tr> <!--<td data-title="Candidates Name"><img src="images/company_logo.jpg" /></td>--> <td data-title="Interest"><?php echo $row['job_desc']; ?> </td> <td data-title="Candidates Name"><?php echo $row['designation']; ?> </td> <td data-title="Email id"><?php echo getCityName($conn, $row['job_location']); ?> </td> <?php $employer_acceptance = getJobAcceptance($conn, $row['id'], $registration_id); if ($employer_acceptance == "Y" || $employer_acceptance == "P") { ?> <td data-title="Action"><a href="#">Interested</a></td> <?php } else { ?> <td data-title="Action"><a href="#" class="showjobinterest <?php echo $row['id'] . " " . $row['registration_id'] . " " . $row['admin_id'] . " " . $registration_id; ?>
<div class="span4"><?php echo $pincode; ?> </div> </div> <div class="row mysrow" style="padding:1px 0px;"> <div class="span2"><strong>Brief Profile :</strong></div> <div class="span4"><?php echo $profile; ?> </div> </div> <div class="row mysrow" style="padding:1px 0px;"> <div class="span2"><strong>Preferred Location :</strong></div> <div class="span4"><?php echo getCityName($location); ?> </div> </div> <div class="row mysrow" style="padding:1px 0px;"> <div class="span2"><strong>Skill :</strong></div> <div class="span4"><?php echo $skill; ?> </div> </div> <div class="row mysrow" style="padding:1px 0px;"> <div class="span2"><strong>CV :</strong></div> <div class="span4"><?php echo $cv; ?>
<?php /** * @Author: prabhakar * @Date: 2016-03-18 23:13:45 * @Last Modified by: Prabhakar Gupta * @Last Modified time: 2016-03-19 01:54:51 */ require_once '../../inc/connection.inc.php'; require_once '../../inc/constants.inc.php'; require_once '../../inc/function.inc.php'; require_once 'lib/twitteroauth.php'; $city_id = @(int) $_GET['city']; $yahoo_url = "http://where.yahooapis.com/v1/places"; if ($city_id > 0) { $city_name = getCityName($connection, $city_id); if (isset($city_name)) { $city_name = trim($city_name['city_name']); $url = $yahoo_url . ".q('" . $city_name . "')?appid=" . YAHOO_WOEID_KEY; $response = curl_URL_call($url); $xml = simplexml_load_string($response); $woeid_city1 = (int) $xml->place->woeid; $xml = $xml->place->admin1; foreach ($xml->attributes() as $a => $b) { if ($a == "woeid") { $woeid_city2 = (int) $b; break; } } $twitter_connection = new TwitterOAuth(TWITTER_CONSUMER_KEY, TWITTER_CONSUMER_SECRET, TWITTER_OAUTH_TOKEN, TWITTER_OAUTH_TOKEN_SECRET); $response = $twitter_connection->get("https://api.twitter.com/1.1/trends/place.json?id=" . $woeid_city1);
?> </td> <td data-title="Job Code" align="center"><?php echo getJobDetails($conn, $row['job_id'], 'job_code'); ?> </td> <td data-title="Job Description" align="center"><?php echo getJobDetails($conn, $row['job_id'], 'job_desc'); ?> </td> <td data-title="Designation" align="center"><?php echo getJobDetails($conn, $row['job_id'], 'designation'); ?> </td> <td data-title="Location" align="center"><?php echo getCityName($conn, getJobDetails($conn, $row['job_id'], 'job_location')); ?> </td> </tr> <?php } ?> </tbody> </table> <div class="clear"></div> </div> <div class="clear"></div> </div> <div class="clear"></div> </div> <!-- -------------------------------- container ends ------------------------------ -->
} //Отправляем всю инфу об конкретном адвокате. if (isset($_POST['getLawyerInfo'])) { $lawyerId = $_POST['id']; for ($i = 0; $i < count($lawyersInfo['lawyers']); $i++) { if ($lawyersInfo['lawyers'][$i]['id'] == $lawyerId) { $countryId = $lawyersInfo['lawyers'][$i]['country_id']; $cityId = $lawyersInfo['lawyers'][$i]['city_id']; $lawyerId = $lawyersInfo['lawyers'][$i]['id']; $lawyerName = $lawyersInfo['lawyers'][$i]['name']; $lawyerSecondName = $lawyersInfo['lawyers'][$i]['second_name']; $lawyerSkype = $lawyersInfo['lawyers'][$i]['skype']; $lawyerEmail = $lawyersInfo['lawyers'][$i]['email']; $lawyerHangout = $lawyersInfo['lawyers'][$i]['hangout']; $lawyerCountry = getCountryName($countryId, $lawyersInfo); $lawyerCity = getCityName($cityId, $lawyersInfo); $lawyerResume = file_get_contents(SITE_URL . 'store/lawyers-info/resumes/resume_' . $lawyerId . '.html'); $result = array('id' => $lawyerId, 'name' => $lawyerName, 'secondName' => $lawyerSecondName, 'skype' => $lawyerSkype, 'email' => $lawyerEmail, 'hangout' => $lawyerHangout, 'country' => $lawyerCountry, 'city' => $lawyerCity, 'resume' => $lawyerResume); } } echo json_encode($result); } //Когда приходит запрос на изменение информации о конкретном юристе. if (isset($_POST['changeLawyerInfo'])) { $database->connect(); //Определяем значения для заполнения $lawyerId = $_POST["id"]; $lawyerName = $_POST["name"]; $lawyerSecondName = $_POST["second-name"]; $lawyerSkype = $_POST["skype"]; $lawyerEmail = $_POST["email"];
//echo print_r($cheap); if (array_key_exists('success', $results) && $results['success'] == 1 && array_key_exists('data', $results)) { echo '<table><tr><th>Direction</th><th>Airline</th><th>Date Departure</th><th>Date Return</th><th>Price Rub</th><th>Average Price</th></tr>'; foreach ($results['data'] as $direction => $flights) { $color = false; foreach ($flights as $flight) { $departureDate = substr($flight['departure_at'], 0, 7); $returnDate = substr($flight['return_at'], 0, 7); $average = getAverage($origin, $direction, $departureDate); if ($color) { echo '<tr class="colored">'; } else { echo '<tr>'; } $color = !$color; echo '<td>' . $direction . ' - ' . getCityName($direction) . '</td>'; echo '<td>' . $flight['airline'] . '</td>'; echo '<td>' . $flight['departure_at'] . '</td>'; echo '<td>' . $flight['return_at'] . '</td>'; if ($flight['price'] / $average < 0.9) { echo '<td class="highlighted">' . $flight['price'] . '</td>'; } else { echo '<td>' . $flight['price'] . '</td>'; } echo '<td>' . round($average) . '</td>'; echo '</tr>'; } } echo '</table>'; } else { echo 'Error: ' . $results['message'] . '</br>';
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']; ?> Years </div> </div> <div class="textfield mar_left"> <span>No. Of Jobs</span>: <div class="fields"> <?php echo $row['no_job'];
function isHiddenCity($city) { return getCityName($city) == "Aimeeville" || $city->archived == 1 || $city->deleted == 1; }