<?php ########################################################################### # Copyright Jamit Software 2012, http://www.jamit.com # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. ########################################################################### require "../config.php"; require '../include/help_functions.php'; include 'login_functions.php'; JB_process_login(); JB_template_employers_header(); $data = JB_load_help('E'); JB_render_box_top(80, $data['title']); echo trim($data['message']); if (!trim($data['message'])) { echo "This page can be edited from Admin->Help Pages"; } JB_render_box_bottom(); JB_template_employers_footer();
<?php ########################################################################### # Copyright Jamit Software 2012, http://www.jamit.com # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. ########################################################################### define('NO_HOUSE_KEEPING', true); require "../config.php"; include 'login_functions.php'; JB_process_login(false); echo $JBMarkup->get_doctype(); $JBMarkup->markup_open(); $JBMarkup->head_open(); $JBMarkup->charset_meta_tag(); $JBMarkup->no_robots_meta_tag(); $JBMarkup->stylesheet_link(JB_get_maincss_url()); $JBMarkup->head_close(); $JBMarkup->body_open('style="background-color:white; background-image: none;"'); require_once "../include/resumes.inc.php"; $resume_id = (int) $_REQUEST["resume_id"]; $RForm = JB_get_DynamicFormObject(2); $data = $RForm->load($resume_id); $sql = "SELECT * FROM `users` WHERE `ID`='" . jb_escape_sql($data['user_id']) . "' "; $c_result = JB_mysql_query($sql) or die(mysql_error()); $c_row = mysql_fetch_array($c_result); $CANDIDATE_EMAIL = trim($RForm->get_raw_template_value("RESUME_EMAIL")); if (!JB_validate_mail($CANDIDATE_EMAIL)) { $CANDIDATE_EMAIL = trim($c_row['Email']); # email is invalid. Attempt to grab email form employer...