diff --git a/AXIOS/page.php b/AXIOS/page.php new file mode 100644 index 0000000..aa63904 --- /dev/null +++ b/AXIOS/page.php @@ -0,0 +1,101 @@ +'; +foreach ($portial as $value) { + $str .="
  • $value
  • "; +} +$str .= ''; + +$countPage = intdiv($len , $limit); +// var_dump($countPage); + +$paginator = ''; +for ($i = 0; $i < $countPage; $i++) { + $paginator .= ''.$i.' '; +} + +echo << + + + + + Pangination + + + $str +
    + $paginator +
    + + + + + + +abyr; + + + diff --git a/AXIOS/portial.php b/AXIOS/portial.php new file mode 100644 index 0000000..5d00cbc --- /dev/null +++ b/AXIOS/portial.php @@ -0,0 +1,53 @@ +'; +foreach ($portial as $value) { + $str .="
  • $value
  • "; +} +$str .= ''; + +// $countPage = intdiv($len , $limit); +// // var_dump($countPage); + +// $paginator = ''; +// for ($i = 0; $i < $countPage; $i++) { +// $paginator .= ''.$i.' '; +// } + +header('Content-Type: plan/text; charset=utf-8'); +echo ($str); \ No newline at end of file