Changeset 20461 for extensions/rv_sitemap
- Timestamp:
- Jan 29, 2013, 10:21:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_sitemap/sitemap.php
r17516 r20461 122 122 WHERE max_date_last IS NOT NULL 123 123 ORDER BY global_rank'; 124 $result = pwg_query($query); 125 $categories = array(); 126 while ($row = mysql_fetch_assoc($result)) 127 { 128 $categories[] = $row; 129 } 124 $categories = array_from_query($query); 130 125 usort($categories, 'global_rank_compare'); 131 126 … … 205 200 $result = pwg_query($query); 206 201 $tag_infos = array(); 207 while ($row = mysql_fetch_assoc($result))202 while ($row = pwg_db_fetch_assoc($result)) 208 203 { 209 204 $tag_infos[$row['tag_id']]= max( $row['da'],$row['dc'],$row['dm']); … … 241 236 LIMIT '.$photo_count; 242 237 $result = pwg_query($query); 243 while ($row = mysql_fetch_assoc($result))238 while ($row = pwg_db_fetch_assoc($result)) 244 239 { 245 240 $url = make_picture_url( array(
Note: See TracChangeset
for help on using the changeset viewer.