$objClientLogin->isValidClients(); $objUrns = new Urns(); $objNiches = new Niches(); $objSessionRedirectUrl = new SessionRedirectUrl(); $arrUrnsFlds = array(); $arrUrnsRecds = array('pkNicheID', 'NicheTitle', 'NicheFirstName', 'NicheLastName'); if (isset($_GET['n_id'])) { $varWhere = ' pkUrnID = \'' . $_GET['n_id'] . '\''; $arrUrnsRecord = $objUrns->getUrnsListing(TABLE_URNS, $arrUrnsFlds, '', $varWhere); $table = "niches JOIN urns ON niches.pkNicheID=urns.fkNicheID"; $arrUrnsList = $objUrns->getUrnsListing($table, $arrUrnsRecds, '', $varWhere); $clientID = $_SESSION['sessClientID']; //print_r($arrUrnsList[0]);die; $arrNichesFlds = array('Section', 'row', 'columns'); $varWhere = ' fkNicheID = \'' . $arrUrnsList[0]['pkNicheID'] . '\''; $arrNichesRecord = $objNiches->getNichesLocationListing(TABLE_NICHE_LOCATIONS, $arrNichesFlds, '', $varWhere); //var_dump($_SESSION['sessClientLoginID']);die; //var_dump($arrNichesRecord[0]["Section"]);die; } //var_dump($arrUrnsList[0]['NicheTitle']);die; @extract($arrUrnsRecord[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>Urns 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" /> <link href="css/tables.css" rel="stylesheet" type="text/css" />