connectMySQL(); $refer = getenv("HTTP_REFERER"); if($db->isValidRetailer($_SESSION[rString])){ $header = "retailers/header1.tem.php"; $footer = "footerCMS1.tem.php"; } else { $header = "headerCMS2.tem.php"; $footer= "footerCMS1.tem.php"; } if($_GET[mode]=="detail" && $prod->isValidTrax($_GET[tID])){ $db->cacheHeader(); $detail = $db->getTraxDetail($_GET[tID]); if($db->getTraxArtistCount($_GET[tID])==1){ $aID_Array = $db->getTraxArtistDataArray($_GET[tID]); $aID = $aID_Array[0]; $artist = $db->getArtistDetail($aID); $ot_Array = $prod->getProductArtistOtherProductsDataArray($aID, 0); } else { $aID = $db->getTraxArtistDataArray($_GET[tID]); $artist[aName] = $db->getTraxArtistString($_GET[tID]); $ot_Array = $prod->getProductArtistOtherProductsDataArray($aID, 0); $multipleArtist = 1; } include("$db->newTemplatePath/$header"); include("$db->newTemplatePath/traxCMS.detail.tem.php"); include("$db->newTemplatePath/$footer"); } else { $db->jump(); } $db->disconnectMySQL(); ?>