本文整理汇总了PHP中JB_process_login函数的典型用法代码示例。如果您正苦于以下问题:PHP JB_process_login函数的具体用法?PHP JB_process_login怎么用?PHP JB_process_login使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了JB_process_login函数的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: JB_process_login
<?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();
示例2: define
<?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...