<?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/. ########################################################################### include '../config.php'; require dirname(__FILE__) . "/admin_common.php"; require_once '../include/posts.inc.php'; require_once '../include/category.inc.php'; $post_id = (int) $_REQUEST['post_id']; $JBPage = new JBJobPage($post_id, $admin = true); extract($JBPage->get_vars(), EXTR_REFS); // make the $data available JB_admin_header('Admin -> Post Window'); ?> <h2 style="align:center;">Job Post Preview</h2> <p style="align:center;"><input type="button" name="" value="Close" onclick="window.close()"></p> <?php $JBPage->output('HALF'); ?> <p style="align:center;"><input type="button" name="" value="Close" onclick="window.close()"></p> <?php if ($_REQUEST['post_id'] != '' && JB_MAP_DISABLED == "NO") { $pin_y = $DynamicForm->get_value('pin_y'); $pin_x = $DynamicForm->get_value('pin_x'); JB_echo_map_pin_position_js($pin_x, $pin_y);
<?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 dirname(__FILE__) . "/admin_common.php"; $offset = (int) $_REQUEST['offset']; $post_id = (int) $_REQUEST['post_id']; if ($post_id > 0) { $JBPage = new JBJobPage($post_id, $admin = true); } JB_admin_header('Admin -> Applications'); $ALM =& JB_get_ListMarkupObject('JBAppListMarkup'); $ALM->set_list_mode('ADMIN'); $COLSPAN = 5; JBPLUG_do_callback('admin_apply_list_action_colspan', $COLSPAN); // a plugin can also set the colspan $ALM->set_colspan($COLSPAN); $post_id = (int) $_REQUEST['post_id']; $action = jb_alpha($_REQUEST['action']); $apps = $_REQUEST['apps']; if ($_REQUEST['delete']) { for ($i = 0; $i < sizeof($apps); $i++) { $sql = "DELETE FROM `applications` WHERE `app_id`='" . jb_escape_sql($apps[$i]) . "' "; $result = JB_mysql_query($sql) or die(mysql_error()); } if (sizeof($apps)) {
########################################################################### # 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"; include 'login_functions.php'; JB_process_login(); require_once "../include/posts.inc.php"; require_once "../include/category.inc.php"; $show_emp = (int) $_REQUEST['show_emp']; $post_id = (int) $_REQUEST['post_id']; if ($post_id > 0) { // Load the data for displaying a job post $JBPage = new JBJobPage($post_id); } JB_template_candidates_header(); JB_display_dynamic_search_form(1); if ($show_emp) { require_once "../include/profiles.inc.php"; $PrForm =& JB_get_DynamicFormObject(3); $PrForm->load(false, $show_emp); $company_name = JB_get_employer_company_name($show_emp); ?> <br><P style="text-align:center"> <a href="<?php echo htmlentities($_SERVER['PHP_SELF']) . "?{$q_string}&offset={$offset}"; ?> "><b><?php echo $label['index_employer_jobs']; ?>
<?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"; $post_id = (int) $_REQUEST['post_id']; $key = jb_alpha_numeric($_REQUEST['key']); $approve_post = jb_alpha_numeric($_REQUEST['approve_post']); $disapprove_post = jb_alpha_numeric($_REQUEST['disapprove_post']); $reason = $_REQUEST['reason']; if ($post_id > 0) { $JBPage = new JBJobPage($post_id, $admin = true); } global $JBMarkup; echo $JBMarkup->get_admin_doctype(); $JBMarkup->markup_open(); $JBMarkup->head_open(); $JBMarkup->title_meta_tag($title); $JBMarkup->stylesheet_link(JB_get_admin_maincss_url()); $JBMarkup->charset_meta_tag(); $JBMarkup->head_close(); $JBMarkup->body_open(); if ($post_id != '') { $comp_key = md5($post_id . JB_ADMIN_PASSWORD); if ($comp_key === $key) { require_once '../include/posts.inc.php'; if ($approve_post != '') {