Move files to logical positions, no more copying of files.

This commit is contained in:
DariusIII
2015-05-27 00:39:04 +02:00
parent f6632f2679
commit ffa9797126
1472 changed files with 27 additions and 41 deletions
+26
View File
@@ -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();