mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Move files to logical positions, no more copying of files.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
require_once './config.php';
|
||||
|
||||
$page = new AdminPage();
|
||||
|
||||
$con = new Console();
|
||||
|
||||
$page->title = "Console List";
|
||||
|
||||
$concount = $con->getCount();
|
||||
|
||||
$offset = isset($_REQUEST["offset"]) ? $_REQUEST["offset"] : 0;
|
||||
$page->smarty->assign('pagertotalitems',$concount);
|
||||
$page->smarty->assign('pageroffset',$offset);
|
||||
$page->smarty->assign('pageritemsperpage',ITEMS_PER_PAGE);
|
||||
$page->smarty->assign('pagerquerybase', WWW_TOP."/console-list.php?offset=");
|
||||
$pager = $page->smarty->fetch("pager.tpl");
|
||||
$page->smarty->assign('pager', $pager);
|
||||
|
||||
$consolelist = $con->getRange($offset, ITEMS_PER_PAGE);
|
||||
|
||||
$page->smarty->assign('consolelist',$consolelist);
|
||||
|
||||
$page->content = $page->smarty->fetch('console-list.tpl');
|
||||
$page->render();
|
||||
Reference in New Issue
Block a user