<?php require_once 'common/config/config.inc.php'; 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" />