Changeset 1318 in ExiteCMS for modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_posts.php
- Timestamp:
- 02/27/08 22:01:07 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_posts.php
r1113 r1318 53 53 ); 54 54 $rows = dbrows($result); 55 $variables['rows'] = $rows; 55 56 56 57 // make sure rowstart has a valid value 57 58 if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0; 59 $variables['rowstart'] = $rowstart; 58 60 59 61 $result = dbquery( … … 61 63 INNER JOIN ".$db_prefix."forums tf USING(forum_id) 62 64 WHERE ".groupaccess('forum_access')." AND post_author='".$id."' 63 ORDER BY post_datestamp DESC LIMIT $rowstart,".ITEMS_PER_PAGE 65 ORDER BY post_datestamp DESC 66 LIMIT $rowstart,".ITEMS_PER_PAGE 64 67 ); 65 68 … … 72 75 73 76 // required template variables 74 $variables['rows'] = $rows;75 $variables['rowstart'] = $rowstart;76 77 $variables['pagenav_url'] = FUSION_SELF."?id=".$id."&"; 77 78
Note: See TracChangeset
for help on using the changeset viewer.
