Changeset 6498
- Timestamp:
- Jun 9, 2010, 11:38:43 AM (14 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upload.inc.php
r6385 r6498 27 27 28 28 // current date 29 list($dbnow) = mysql_fetch_row(pwg_query('SELECT NOW();'));29 list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();')); 30 30 list($year, $month, $day) = preg_split('/[^\d]/', $dbnow, 4); 31 31 … … 121 121 ); 122 122 123 $image_id = mysql_insert_id();123 $image_id = pwg_db_insert_id(); 124 124 125 125 if (isset($categories) and count($categories) > 0) -
trunk/admin/photos_add_direct.php
r6363 r6498 238 238 WHERE id = '.$image_id.' 239 239 ;'; 240 $image_infos = mysql_fetch_assoc(pwg_query($query));240 $image_infos = pwg_db_fetch_assoc(pwg_query($query)); 241 241 242 242 $thumbnail['file'] = $image_infos['file']; … … 298 298 WHERE category_id = '.$category_id.' 299 299 ;'; 300 list($count) = mysql_fetch_row(pwg_query($query));300 list($count) = pwg_db_fetch_row(pwg_query($query)); 301 301 $category_name = get_cat_display_name_from_id($category_id, 'admin.php?page=cat_modify&cat_id='); 302 302
Note: See TracChangeset
for help on using the changeset viewer.