当前位置: 首页>>代码示例>>PHP>>正文


PHP Clients::getUsersListing方法代码示例

本文整理汇总了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" />
开发者ID:saurabhs4,项目名称:niches,代码行数:31,代码来源:client_detail.php

示例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>
开发者ID:saurabhs4,项目名称:niches,代码行数:31,代码来源:settings_frm_uil.php

示例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" />
开发者ID:saurabhs4,项目名称:niches,代码行数:31,代码来源:niches_particulars.php


注:本文中的Clients::getUsersListing方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。