本文整理汇总了PHP中Clients::getUsersListing方法的典型用法代码示例。如果您正苦于以下问题:PHP Clients::getUsersListing方法的具体用法?PHP Clients::getUsersListing怎么用?PHP Clients::getUsersListing使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Clients
的用法示例。
在下文中一共展示了Clients::getUsersListing方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: AdminLogin
require_once SOURCE_ROOT . 'classes/class.client.php';
require_once '../classes/class.adminlogin.php';
require_once SOURCE_ROOT . 'classes/class.extra.php';
$objAdminLogin = new AdminLogin();
$objAdminLogin->isValidAdmin();
$objExtra = new Extra();
$arrClmn = array('ClientExtra1', 'ClientExtra2');
$extra = $objExtra->getExtraListing(TABLE_EXTRA_SETTINGS, $arrClmn, '');
if ($_GET['n_id'] == '') {
header($_SESSION['sessRedirectURL']);
die;
}
$objClients = new Clients();
$arrUsersFlds = array();
$varWhere = ' pkClientID = \'' . $_GET['n_id'] . '\'';
$arrUsersRecord = $objClients->getUsersListing(TABLE_CLIENTS, $arrUsersFlds, '', $varWhere);
if ($_SESSION['sessNewsDetail'] != '') {
@extract($_SESSION['sessUsersDetail']);
}
//var_dump($arrUsersRecord);die;
$varUsersID = $_GET['n_id'];
@extract($arrUsersRecord[0]);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Client Details</title>
<link href="css/menu.css" rel="stylesheet" type="text/css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="css/form.css" rel="stylesheet" type="text/css" />
示例2: ClientsLogin
require_once '../common/config/config.inc.php';
require_once '../classes/class.client.php';
require_once '../classes/class.clients_login.php';
require_once '../classes/class.extra.php';
$objClientsLogin = new ClientsLogin();
$objClientsLogin->isValidClients();
$objClients = new Clients();
$objExtra = new Extra();
$arrClmn = array('ClientExtra1', 'ClientExtra2');
$extra = $objExtra->getExtraListing(TABLE_EXTRA_SETTINGS, $arrClmn, '');
$clientID = $_SESSION['sessClientID'];
$varWhr = "AND pkClientID = '" . $_SESSION['sessClientID'] . "'";
$arrResult = $objClientsLogin->getClientsEmail($varWhr);
$varExtraWhr = "1 AND pkClientID =" . $_SESSION['sessClientID'];
$arrClmn = array('ClientExtra1', 'ClientExtra2');
$arrExtraRecord = $objClients->getUsersListing(TABLE_CLIENTS, $arrClmn, '', $varExtraWhr);
if ($_SESSION["arrPost"] != '') {
@extract($_SESSION["arrPost"]);
$varAdminEmail = $frmAdminEmail;
$varAdminSupportEmail = $frmSupportEmail;
}
if ($arrResult) {
$varClientEmailAddress = $arrResult[0]['ClientEmailAddress'];
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
示例3: Niches
require_once SOURCE_ROOT . 'classes/class.niches.php';
require_once SOURCE_ROOT . 'classes/class.client.php';
$objNiches = new Niches();
$objClients = new Clients();
$arrClientFlds = array();
if (isset($_POST)) {
$arrNichesRecord = $objNiches->getNiches($_POST);
}
if ($arrNichesRecord == NULL) {
$_SESSION['window2'] = "{$objCore->setErrorMsg}('<b>This niche is not found in the registry.</b>')";
$objCore->setErrorMsg('<b>This niche is not found in the registry.</b>');
$objCore->standardRedirect('index.php');
}
$fkClientID = $arrNichesRecord[0]['fkClientID'];
$varClientWhere = ' pkClientID = ' . $fkClientID;
$arrClientRecord = $objClients->getUsersListing(TABLE_CLIENTS, $arrClientFlds, '', $varClientWhere);
@extract($arrNichesRecord[0]);
@extract($arrClientRecord[0]);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Niche</title>
<link href="common/css/layout.css" rel="stylesheet" type="text/css" />