$_COOKIE['pp_auth'])); $dossier = $POD->getContent(array('stub'=>$_GET['d'])); if ($dossier->success()) { $POD->currentDocumentId = $dossier->id; if ($_GET['mode']!='raw') { $POD->header($dossier->headline); $dossier->output('dossier.view'); $POD->footer(); } else { $dossier->output('dossier.raw'); } } else { header("HTTP/1.0 404 Not Found"); header("Location: /404"); }