コード例 #1
0
ファイル: newposterwall.php プロジェクト: EeGgSs/nZEDb
     $getnewestxxx = $releases->getNewestXXX();
     $page->smarty->assign('newest', $getnewestxxx);
     $page->smarty->assign('goto', 'xxx');
     break;
 case 'PC':
     $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'] . ").";