getRow(); $storyId = $defaultData["id"]; $sectionId = $defaultData["section"]; $homePage = 1; } $layout = new spudCore($storyId, $sectionId); $track = new siteTracker($privs->getSessionId(), $privs->getUserId(), $sectionId, $storyId); $layouts; //eval($layout->getLayout('Header')); $layouts = $layouts.$layout->getLayout('Header'); if ($storyId != 0) { if ($homePage || $sectionId == 12) { //eval($layout->getLayout('Story', 'CSS Design Homepage')); $layouts = $layouts.$layout->getLayout('Story', 'CSS Design Homepage'); } else { //eval($layout->getLayout('Story')); $layouts = $layouts.$layout->getLayout('Story'); } } else { //eval($layout->getLayout('Section')); $layouts = $layouts.$layout->getLayout('Section'); } //eval($layout->getLayout('Footer')); $layouts = $layouts.$layout->getLayout('Footer'); eval($layouts); //echo($layouts); ?>