diff --git a/partials/base.php b/partials/base.php index 6021cff..766f369 100644 --- a/partials/base.php +++ b/partials/base.php @@ -142,6 +142,7 @@ if (!empty($_GET['hash'])) { $twts = array_reverse($twts, true); } +// Pagnation $page = 1; if (!empty($_GET['page'])) { $page = intval($_GET['page']); diff --git a/partials/timeline.php b/partials/timeline.php index 1cf72af..0c966da 100644 --- a/partials/timeline.php +++ b/partials/timeline.php @@ -49,6 +49,56 @@ "; + +if (!empty($_GET['page'])) { + + if (preg_match('/\?page=/', $page_url)) { + //echo "cotains ?page= so reuse that