Beispiel #1
0
            $getnewestgame = $releases->getNewestGames();
            $page->smarty->assign('newest', $getnewestgame);
            $page->smarty->assign('goto', 'games');
            break;
        case 'Audio':
            $getnewestmp3 = $releases->getnewestMP3s();
            $page->smarty->assign('newest', $getnewestmp3);
            $page->smarty->assign('goto', 'music');
            break;
        case 'Books':
            $getnewestbooks = $releases->getNewestBooks();
            $page->smarty->assign('newest', $getnewestbooks);
            $page->smarty->assign('goto', 'books');
            break;
        case 'TV':
            $getnewesttv = $releases->getNewestTV();
            $page->smarty->assign('newest', $getnewesttv);
            $page->smarty->assign('goto', 'series');
            break;
        case 'Recent':
            $recent = $releases->getRecentlyAdded();
            $page->smarty->assign('newest', $recent);
            $page->smarty->assign('goto', 'browse');
            break;
        default:
            $error = "ERROR: Invalid ?t parameter (" . $_REQUEST['t'] . ").";
    }
}
$page->title = 'New ' . $_REQUEST['t'] . ' Releases';
$page->meta_title = $_REQUEST['t'] . ' Poster Wall';
$page->meta_keywords = "view,new,releases,posters,wall";