Ejemplo n.º 1
0
//print __FILE__ . "<br>";
//print RELPATHTOROOT . "<br>";
$rpr = "";
while (!is_dir($rpr . "_inc")) {
    $rpr .= "../";
}
if (empty($rpr)) {
    $rpr = "./";
}
define("RELPATHTOROOT", $rpr);
define("INCLEVEL", realpath(RELPATHTOROOT) . "/");
include_once INCLEVEL . "classes/core.php";
include_once INCLEVEL . "classes/auth.php";
include_once INCLEVEL . "classes/header.php";
include_once INCLEVEL . "classes/pageNordita.php";
$pageClass = new pageNordita();
$authClass = new auth();
// ----------------------------------------
// Change for each file:
$title = "Nordita Travel Schedule";
$wiki = "Institute";
$id = "1564";
$url = "";
$qstr = "";
$style = "wiki";
// "", "wiki", "application"
$not = "true";
// ----------------------------------------
// Do not touch:
$pagemode = 1;
$pageClass->getHeader($title, $wiki, $id, $url, $qstr, $style, $not);
Ejemplo n.º 2
0
// ----------------------------------------
// Do not touch:
$rpr = "";
while (!is_dir($rpr . "_inc")) {
    $rpr .= "../";
}
if (empty($rpr)) {
    $rpr = "./";
}
define("RELPATHTOROOT", $rpr);
define("INCLEVEL", realpath(RELPATHTOROOT) . "/");
include_once INCLEVEL . "classes/core.php";
include_once INCLEVEL . "classes/auth.php";
include_once INCLEVEL . "classes/header.php";
include_once INCLEVEL . "classes/pageNordita.php";
$pageClass = new pageNordita();
$authClass = new auth();
// ----------------------------------------
// Change for this file:
$use_wiki_page_id = $use_wiki_page_title = 0;
$title = "Sketch of Nordita Travel Schedule";
$style = "";
// "", "wiki", "application"
$not = "true";
//TODO: open menu to this page
// ----------------------------------------
// Do not touch:
$pageClass->getHeader($title, "", "", "", "", $style, $not);
$pageClass->getBody();
$pageClass->getFooter();
// ===========================================================================
Ejemplo n.º 3
0
// INDEX.PHP
// ===========================================================================
// ----------------------------------------
// Do not touch:
$rpr = "";
while (!is_dir($rpr . "_inc")) {
    $rpr .= "../";
}
if (empty($rpr)) {
    $rpr = "./";
}
define("RELPATHTOROOT", $rpr);
define("INCLEVEL", realpath(RELPATHTOROOT) . "/");
include_once INCLEVEL . "classes/core.php";
include_once INCLEVEL . "classes/auth.php";
include_once INCLEVEL . "classes/header.php";
include_once INCLEVEL . "classes/pageNordita.php";
$pageClass = new pageNordita();
$authClass = new auth();
// ----------------------------------------
// Change for this file:
$title = "Research Fields";
$wiki = "Research_Fields";
$id = "1641";
//TODO: open menu to this page
// ----------------------------------------
// Do not touch:
$pageClass->getHeader($title, $wiki, $id);
$pageClass->getBody();
$pageClass->getFooter();
// ===========================================================================