Changeset 2515 for trunk/include/category_cats.inc.php
- Timestamp:
- Sep 10, 2008, 3:16:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r2433 r2515 33 33 $query = ' 34 34 SELECT 35 id, name, permalink, representative_picture_id, comment, nb_images, uppercats, 36 date_last, max_date_last, count_images, count_categories, global_rank 37 FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.' 35 c.*, nb_images, date_last, max_date_last, count_images, count_categories 36 FROM '.CATEGORIES_TABLE.' c INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.' 38 37 ON id = cat_id and user_id = '.$user['id'].' 39 38 WHERE date_last >= SUBDATE( … … 55 54 $query = ' 56 55 SELECT 57 id, name, permalink, representative_picture_id, comment, nb_images, uppercats, 58 date_last, max_date_last, count_images, count_categories 59 FROM '.CATEGORIES_TABLE.' INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.' 56 c.*, nb_images, date_last, max_date_last, count_images, count_categories 57 FROM '.CATEGORIES_TABLE.' c INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.' 60 58 ON id = cat_id and user_id = '.$user['id'].' 61 59 WHERE id_uppercat '. … … 246 244 'ID' => $category['id'], 247 245 'TN_SRC' => $thumbnail_src_of[$category['representative_picture_id']], 248 ' ALT' => strip_tags($category['name']),249 'ICON ' => $icon_ts,246 'TN_ALT' => strip_tags($category['name']), 247 'ICON_TS' => $icon_ts, 250 248 251 249 'URL' => make_index_url(
Note: See TracChangeset
for help on using the changeset viewer.