// Values that can be used in other PHP code on the page
$paginate_num_pages = 13;
$paginate_num_sections = 70;
$paginate_page_selector = 'page';
$paginate_current_page = $_GET['page'];
// Pin page selector to a valid number (or 'all')
if($paginate_current_page=='')
$paginate_current_page = '1';
if($paginate_current_page != 'all') {
if($paginate_current_page == 'first')
$paginate_current_page = 1;
elseif($paginate_current_page == 'last')
$paginate_current_page = 13;
elseif($paginate_current_page < 1)
$paginate_current_page = 1;
elseif($paginate_current_page > 13)
$paginate_current_page = 13;
$paginate_sections = array( 0
, 4, 8, 13, 18, 23, 27, 32, 37, 42, 46, 52, 60, 70);
$paginate_top_section = $paginate_sections[$paginate_current_page-1]+1;
$paginate_bottom_section = $paginate_sections[$paginate_current_page];
} else {
$paginate_top_section = 1;
$paginate_bottom_section = 70;
}
$paginate_self = '&' . $_SERVER['QUERY_STRING'] . '&';
$paginate_self = preg_replace("/&page=[^&]*&/", "&", $paginate_self);
$paginate_self = substr($paginate_self, 1, strlen($paginate_self) - 1);
if($paginate_self == '&')
$paginate_self = '';
else
$paginate_self = htmlentities($paginate_self);
$paginate_self = basename($_SERVER['PHP_SELF']) . "?${paginate_self}page";
?>
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 90 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 90 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 353 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 353 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 594 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 594 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 870 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 870 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 1167 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 1167 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 1431 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 1431 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 1707 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 1707 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 1993 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 1993 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 2249 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 2249 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 2485 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 2485 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 2723 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 2723 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3061 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3061 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3438 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3438 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3860 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3863 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
All Pages |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
1 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
2 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
3 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
4 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
5 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
6 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
7 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
8 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
9 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
10 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
11 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
12 |
| ( ! ) Notice: Undefined variable: paginate_current_page in C:\AppServ\www\blog\archives\cat_other_think.php on line 3868 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
| ( ! ) Notice: Undefined variable: paginate_self in C:\AppServ\www\blog\archives\cat_other_think.php on line 3871 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0020 | 625880 | {main}( ) | ..\cat_other_think.php:0 |
13