Changeset 1719 for trunk/include/category_cats.inc.php
- Timestamp:
- Jan 13, 2007, 4:13:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r1677 r1719 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 6PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | branch : BSF (Best So Far) … … 38 38 SELECT 39 39 id,name, representative_picture_id, comment, nb_images, uppercats, 40 date_last, max_date_last, count_images, count_categories 40 date_last, max_date_last, count_images, count_categories, global_rank 41 41 FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.' 42 42 ON id = cat_id and user_id = '.$user['id'].' … … 152 152 } 153 153 154 if ($page['section']=='recent_cats') 155 { 156 usort($categories, 'global_rank_compare'); 157 } 154 158 if (count($categories) > 0) 155 159 {
Note: See TracChangeset
for help on using the changeset viewer.