Changeset 606 for trunk/include/category_recent_cats.inc.php
- Timestamp:
- Nov 17, 2004, 12:38:34 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_recent_cats.inc.php
r593 r606 67 67 68 68 $query = ' 69 SELECT id,file,tn_ext,storage_category_id69 SELECT path,file,tn_ext 70 70 FROM '.IMAGES_TABLE.', '.IMAGE_CATEGORY_TABLE.' 71 71 WHERE category_id = '.$row['category_id'].' … … 76 76 LIMIT 0,1 77 77 ;'; 78 $subrow = mysql_fetch_array( pwg_query( $query ));78 $subrow = mysql_fetch_array(pwg_query($query)); 79 79 80 $thumbnail_src = get_thumbnail_src($subrow['file'], 81 $subrow['storage_category_id'], 82 @$subrow['tn_ext']); 80 $thumbnail_src = get_thumbnail_src($subrow['path'], @$subrow['tn_ext']); 83 81 84 82 $url_link = PHPWG_ROOT_PATH.'category.php?cat='.$row['category_id'];
Note: See TracChangeset
for help on using the changeset viewer.