Changeset 2091 for trunk/include
- Timestamp:
- Sep 14, 2007, 1:30:46 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r2079 r2091 164 164 MAX(date_creation) AS date_creation_max 165 165 FROM '.IMAGE_CATEGORY_TABLE.' 166 INNER JOIN '.USER_CACHE_CATEGORIES_TABLE.'167 ON category_id = cat_id and user_id = '.$user['id'].'168 166 INNER JOIN '.IMAGES_TABLE.' ON image_id = id 169 WHERE category_id IN ('.implode(',', $category_ids).') 167 WHERE category_id IN ('.implode(',', $category_ids).') 170 168 '.get_sql_condition_FandF 171 169 ( … … 173 171 ( 174 172 'visible_categories' => 'category_id', 175 'visible_images' => 'i mage_id'173 'visible_images' => 'id' 176 174 ), 177 175 'AND' … … 187 185 ); 188 186 } 189 // echo '<pre>'; print_r($dates_of_category); echo '</pre>';190 187 } 191 188 } … … 264 261 ), 265 262 'DESCRIPTION' => 266 trigger_event('render_category_literal_description', 267 trigger_event('render_category_description', 263 trigger_event('render_category_literal_description', 264 trigger_event('render_category_description', 268 265 @$category['comment'])), 269 266 'NAME' => $name, … … 277 274 $from = $dates_of_category[ $category['id'] ]['from']; 278 275 $to = $dates_of_category[ $category['id'] ]['to']; 279 276 280 277 if (!empty($from)) 281 278 { 282 279 $info = ''; 283 280 284 281 if ($from == $to) 285 282 {
Note: See TracChangeset
for help on using the changeset viewer.