PATH:
root
/
mbmadmin1234teksty
<?php if(!isset($_SESSION["id_konta"])) { header("Location: ../index.php"); } ?> <header> <h1>Teksty <?php /* echo "<pre>"; var_dump($p); echo "</pre>"; */ ?></h1> <a href="index.php?logout=1"><span>wyloguj</span><img src="images/close.jpg" alt="wyloguj"/></a> </header> <div id="content"> <?php echo $p->renderTable($renderTable + $options, [], [], $renderTableSort); if (isset($count) && isset($_GET['perPage']) && $count > $_GET['perPage']) { $pages = Utils::pagingArray([ 'page' => $_GET['page'], 'perPage' => $_GET['perPage'], 'items' => $count, 'allPages' => true ]); echo "<div class=\"paginator\">"; foreach ($pages as $p) { $getQuery = $_GET; $getQuery['page'] = $p; $getQuery = http_build_query($getQuery); if ($p !== false) echo "<a class=\"page" . ($p == $_GET['page'] ? " active" : "") . "\" href=\"{$_SERVER['PHP_SELF']}?{$getQuery}\">{$p}</a>"; else echo "<a class=\"page\">...</a>"; } echo "</div>"; } ?> </div>
[+]
..
[-] tekst.php
[edit]
[-] dodaj_tekst.php
[edit]
[-] index.php
[edit]