本文整理汇总了PHP中JB_admin_footer函数的典型用法代码示例。如果您正苦于以下问题:PHP JB_admin_footer函数的具体用法?PHP JB_admin_footer怎么用?PHP JB_admin_footer使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了JB_admin_footer函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: dirname
# 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);
}
JB_admin_footer();
示例2: admin_main_page
function admin_main_page()
{
if ($_REQUEST['p'] == 'JobsFiller') {
if (function_exists('JB_admin_header')) {
JB_admin_header('Admin -> List Posts');
}
require_once "../include/posts.inc.php";
$_SESSION['show'] = 'FILLER';
?>
<p>
<b>[POSTS]</b> <span style="background-color: <?php
if ($_SESSION['show'] == 'ALL') {
echo "#FFFFCC";
} else {
echo "#F2F2F2";
}
?>
; border-style:outset; padding:5px; "><a href="posts.php?show=ALL">Approved Posts</a></span>
<span style="background-color: <?php
if ($_SESSION['show'] == 'WA') {
echo "#FFFFCC";
} else {
echo "#F2F2F2";
}
?>
; border-style:outset; padding: 5px;"><a href="posts.php?show=WA">New Posts Waiting</a></span>
<span style="background-color: <?php
if ($_SESSION['show'] == 'NA') {
echo "#FFFFCC";
} else {
echo "#F2F2F2";
}
?>
; border-style:outset; padding: 5px;"><a href="posts.php?show=NA">Non-Approved Posts</a></span>
<span style="background-color: <?php
if ($_SESSION['show'] == 'EX') {
echo "#FFFFCC";
} else {
echo "#F2F2F2";
}
?>
; border-style:outset; padding: 5px;"><a href="posts.php?show=EX">Expired Posts</a></span>
<span style="background-color: <?php
echo "#F2F2F2";
?>
; border-style:outset; padding: 5px;"><a href="post_new.php">Post a Job</a></span>
</p>
<p>'Jobs Filler' - This feature fills your job board with supplementary job posts. These posts get indexed by the search engines, bringing your job board free organic traffic. Your visitor does not have to leave your site to view these jobs, the full content of the job is displayed on your site. This also allows you to insert ads inside the job post - bringing you both ad revenue and free search engine traffic.
<?php
if (function_exists('JB_admin_footer')) {
JB_admin_footer();
}
}
}