Changeset 4325 for trunk/admin/history.php
- Timestamp:
- Nov 20, 2009, 3:17:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/history.php
r4304 r4325 111 111 '*', 112 112 '%', 113 mysql_real_escape_string($_POST['filename'])113 pwg_db_real_escape_string($_POST['filename']) 114 114 ); 115 115 } … … 137 137 pwg_query($query); 138 138 139 $search_id = mysql_insert_id();139 $search_id = pwg_db_insert_id(); 140 140 141 141 redirect( … … 178 178 WHERE id = '.$page['search_id'].' 179 179 ;'; 180 list($serialized_rules) = mysql_fetch_row(pwg_query($query));180 list($serialized_rules) = pwg_db_fetch_row(pwg_query($query)); 181 181 182 182 $page['search'] = unserialize($serialized_rules); … … 199 199 pwg_query($query); 200 200 201 $search_id = mysql_insert_id();201 $search_id = pwg_db_insert_id(); 202 202 203 203 redirect( … … 258 258 259 259 $username_of = array(); 260 while ($row = mysql_fetch_assoc($result))260 while ($row = pwg_db_fetch_assoc($result)) 261 261 { 262 262 $username_of[$row['id']] = stripslashes($row['username']); … … 306 306 307 307 $result = pwg_query($query); 308 while ($row = mysql_fetch_assoc($result))308 while ($row = pwg_db_fetch_assoc($result)) 309 309 { 310 310 $label_of_image[ $row['id'] ] = $row['label']; … … 342 342 343 343 $result = pwg_query($query); 344 while ($row = mysql_fetch_assoc($result))344 while ($row = pwg_db_fetch_assoc($result)) 345 345 { 346 346 $name_of_tag[ $row['id'] ] = $row['name'];
Note: See TracChangeset
for help on using the changeset viewer.