<?php $pagcurrent = 1; $paglast = 1023; $pagesToDisplay = 10; $start = $pagcurrent; if($start >= $pagesToDisplay) $start = $start - ($paglast % $pagesToDisplay); $end = $start + $pagesToDisplay; for ($i = $start; $i < $end; $i++) { echo "$i\n"; }
You have javascript disabled. You will not be able to edit any code.
This script was stopped while abusing our resources
Value for `_results` contains invalid data `array`