Parašė ex-it· 2009 Sau. 16 13:01:34
#4
<?php
if (isset($_GET['page'])) {
$page = $_GET['page'];
if (!isNum($page)) $page = 1;
} else {
$page = 1;
}
echo "<center><big><b><a href='".FUSION_SELF."?page_id=".$_GET['page_id']."&page=1'>1</a> | <a href='".FUSION_SELF."?page_id=".$_GET['page_id']."&page=2'>2</a> | <a href='".FUSION_SELF."?page_id=".$_GET['page_id']."&page=3'>3</a></b></big></center>\n";
if ($page == 1) {
echo "Pirmo puslapio turinys";
} elseif ($page == 2) {
echo "Antro puslapio turinys";
} elseif ($page == 3) {
echo "Trečio puslapio turinys";
}
echo "<center><big><b><a href='".FUSION_SELF."?page_id=".$_GET['page_id']."&page=1'>1</a> | <a href='".FUSION_SELF."?page_id=".$_GET['page_id']."&page=2'>2</a> | <a href='".FUSION_SELF."?page_id=".$_GET['page_id']."&page=3'>3</a></b></big></center>\n";
?>