<?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"; include 'login_functions.php'; require_once '../include/posts.inc.php'; require_once '../include/category.inc.php'; JB_process_login(); JB_template_employers_header(); echo JBEmployer::JB_get_special_offer_msg(); if ($_REQUEST['action'] == 'delete' || $_REQUEST['delete'] != '') { $_REQUEST['post_id'] = (int) $_REQUEST['post_id']; if ($_REQUEST['post_id']) { $_REQUEST['posts'][] = $_REQUEST['post_id']; } if (sizeof($_REQUEST['posts']) > 0) { $i = 0; foreach ($_REQUEST['posts'] as $post_id) { $sql = "SELECT user_id FROM posts_table where post_id='" . jb_escape_sql($post_id) . "' "; $result = JB_mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_array($result, MYSQL_ASSOC); if ($row['user_id'] == $_SESSION['JB_ID']) { $i++; JB_delete_post($post_id); } }
echo '<p>' . $label['employer_resume_more_details'] . '</p>'; } else { ?> <p> </p> <center> <h3><?php echo $label['employer_resume_browse']; ?> </h3> <?php $label["employer_resume_must_sub"] = str_replace("%SITE_NAME%", JB_SITE_NAME, $label["employer_resume_must_sub"]); echo '<div class="explanation_note">' . $label['employer_resume_must_sub'] . '</div>'; ?> <p> <?php $offer_active_msg = JBEmployer::JB_get_special_offer_msg(); echo $offer_active_msg; ?> <a href="subscriptions.php"><IMG src="<?php echo JB_THEME_URL; ?> images/<?php echo $label['subscribe_now_button_img']; ?> " width="187" height="41" border="0" alt=""></a> </center> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p>