Changeset 1861 for trunk/include/category_cats.inc.php
- Timestamp:
- Feb 27, 2007, 2:56:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r1851 r1861 36 36 $query = ' 37 37 SELECT 38 id, name, representative_picture_id, comment, nb_images, uppercats,38 id, name, representative_picture_id, comment, nb_images, uppercats, 39 39 date_last, max_date_last, count_images, count_categories, global_rank 40 40 FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.' … … 58 58 $query = ' 59 59 SELECT 60 id, name, representative_picture_id, comment, nb_images,60 id, name, representative_picture_id, comment, nb_images, 61 61 date_last, max_date_last, count_images, count_categories 62 62 FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.' 63 63 ON id = cat_id and user_id = '.$user['id'].' 64 64 WHERE id_uppercat '. 65 (!isset($page['category']) ? 'is NULL' : '= '.$page['category'] ).'65 (!isset($page['category']) ? 'is NULL' : '= '.$page['category']['id']).' 66 66 '.get_sql_condition_FandF 67 67 ( … … 207 207 'URL' => make_index_url( 208 208 array( 209 'category' => $category['id'], 210 'cat_name' => $category['name'], 209 'category' => $category 211 210 ) 212 211 ), … … 259 258 'U_IMG_LINK' => make_index_url( 260 259 array( 261 'category' => $category['id'], 262 'cat_name' => $category['name'], 260 'category' => $category 263 261 ) 264 262 ),
Note: See TracChangeset
for help on using the changeset viewer.