Esempio n. 1
0
File: bubs.php Progetto: philum/cms
function bub_timetravel()
{
    req('spe,art');
    $r = timetravel();
    $travel = date('Y', ses('daya'));
    $ret[] = bub_l(date('Y'), 'link', '/reload/' . ses('qb'), '', 'logout');
    //nms(83)
    foreach ($r as $k => $v) {
        $ret[] = bub_l($k, 'link', target_date($v), '', 'time');
    }
    return $ret;
}
Esempio n. 2
0
File: mod.php Progetto: philum/cms
function timetravel_m()
{
    $r = timetravel();
    $travel = date('Y', ses('daya'));
    foreach ($r as $k => $v) {
        $c = $k == $travel ? 'active' : '';
        $ret .= lkc($c, target_date($v), $k) . ' ';
    }
    $ret = lkc('popdel', '/reload/' . ses('qb'), nms(82)) . ' ' . btn('nbp', $ret);
    return $ret;
}