Changeset 4325 for trunk/include/category_cats.inc.php
- Timestamp:
- Nov 20, 2009, 3:17:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r4265 r4325 76 76 $image_ids = array(); 77 77 78 while ($row = mysql_fetch_assoc($result))78 while ($row = pwg_db_fetch_assoc($result)) 79 79 { 80 80 $row['is_child_date_last'] = @$row['max_date_last']>@$row['date_last']; … … 109 109 ;'; 110 110 $subresult = pwg_query($query); 111 if ( mysql_num_rows($subresult) > 0)111 if (pwg_db_num_rows($subresult) > 0) 112 112 { 113 list($image_id) = mysql_fetch_row($subresult);113 list($image_id) = pwg_db_fetch_row($subresult); 114 114 } 115 115 } … … 137 137 ;'; 138 138 $subresult = pwg_query($query); 139 if ( mysql_num_rows($subresult) > 0)139 if (pwg_db_num_rows($subresult) > 0) 140 140 { 141 list($image_id) = mysql_fetch_row($subresult);141 list($image_id) = pwg_db_fetch_row($subresult); 142 142 } 143 143 } … … 179 179 ;'; 180 180 $result = pwg_query($query); 181 while ($row = mysql_fetch_assoc($result))181 while ($row = pwg_db_fetch_assoc($result)) 182 182 { 183 183 $dates_of_category[ $row['category_id'] ] = array( … … 203 203 ;'; 204 204 $result = pwg_query($query); 205 while ($row = mysql_fetch_assoc($result))205 while ($row = pwg_db_fetch_assoc($result)) 206 206 { 207 207 $thumbnail_src_of[$row['id']] = get_thumbnail_url($row);
Note: See TracChangeset
for help on using the changeset viewer.