Esempio n. 1
0
<?php

require_once 'theme_functions.php';
MenuUtil::setArea(THEME_HOME);
TileSet::init("Home", "index");
include_once 'template.php';
Esempio n. 2
0
<?php

require_once 'theme_functions.php';
MenuUtil::setArea(THEME_SEARCH);
TileSet::init("Archives", "archive");
include_once 'template.php';
Esempio n. 3
0
<?php

require_once 'theme_functions.php';
MenuUtil::setArea(THEME_INFO);
TileSet::init("Archives", "theme-info");
include_once 'template.php';
Esempio n. 4
0
<?php

require_once 'theme_functions.php';
$f = $_REQUEST['f'];
if (isset($f) && $f == 'xml') {
    include 'tiles/news/fetch-news.php';
} else {
    if (isset($_REQUEST['c']) && $_REQUEST['c'] == 1) {
        include "tiles/news/fetch-comments.php";
    } else {
        MenuUtil::setArea(THEME_NEWS);
        NewsUtil::setCurrentNewsPage();
        TileSet::init("News", "news");
        include_once 'template.php';
    }
}
Esempio n. 5
0
<?php

$f = $_REQUEST['f'];
if (isset($f) && $f == 'xml') {
    require_once 'theme_functions.php';
    include 'tiles/album/fetch-thumbs.php';
} else {
    require_once 'theme_functions.php';
    MenuUtil::setArea(THEME_GALLERY);
    TileSet::init(getAlbumTitle(), "album");
    include_once 'template.php';
}