Location: PHPKode > scripts > Navigation > navigation/index.php
<?php
include_once('config.php');

$p = (int)$_GET['p'];
if (empty($p) || !is_int($p) || ($p <= 0)) {
    $p = 1;
}

$nav->setLevel($p - 1);
$nav->push("?p=$p", "page $p");
?>
<html>
<head>
    <title>Page <?= $p ?></title>
    <link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
    <p><?= $nav->html() ?></p>
    <p>&nbsp;</p>
    <p><?= "Content $p Content $p Content $p Content $p Content $p Content $p Content $p Content $p Content $p" ?></p>
    <p><?= "Content $p Content $p Content $p Content $p Content $p Content $p Content $p Content $p Content $p" ?></p>
    <p><?= "Content $p Content $p Content $p Content $p Content $p Content $p Content $p Content $p Content $p" ?></p>
    <p><?= "Content $p Content $p Content $p Content $p Content $p Content $p Content $p Content $p Content $p" ?></p>
    <p>&nbsp;</p>    
    <p><a href="?p=<?= $p + 1 ?>">[next]</a>
</body>
</html>
Return current item: Navigation