Changeset 182 for trunk/blog.header.php
- Timestamp:
- 06/07/2003 04:23:09 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/blog.header.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/blog.header.php
r153 r182 59 59 if ($pagenow != 'b2edit.php') { timer_start(); } 60 60 61 if ($ posts) {62 $ posts = (int)$posts;63 $posts_per_page =$posts;61 if ($showposts) { 62 $showposts = (int)$showposts; 63 $posts_per_page = $showposts; 64 64 } 65 65 // if a month is specified in the querystring, load that month … … 198 198 $poststart = intval($poststart); 199 199 $postend = intval($postend); 200 $ posts = $postend - $poststart;201 $limits = ' LIMIT '.$poststart.','.$ posts;200 $limposts = $postend - $poststart; 201 $limits = ' LIMIT '.$poststart.','.$limposts; 202 202 } elseif ($what_to_show == 'days') { 203 203 $poststart = intval($poststart); 204 204 $postend = intval($postend); 205 $ posts = $postend - $poststart;205 $limposts = $postend - $poststart; 206 206 $lastpostdate = get_lastpostdate(); 207 207 $lastpostdate = mysql2date('Y-m-d 00:00:00',$lastpostdate);
Note: See TracChangeset
for help on using the changeset viewer.