Changeset 20207 for extensions
- Timestamp:
- Jan 17, 2013, 2:39:41 PM (12 years ago)
- Location:
- extensions/lightbox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/lightbox/admin/functions.inc.php
r3298 r20207 140 140 $result = pwg_query($query); 141 141 142 while ($row = mysql_fetch_assoc($result))142 while ($row = pwg_db_fetch_assoc($result)) 143 143 { 144 144 if ($row['lightbox'] == 'true') -
extensions/lightbox/functions.inc.php
r17487 r20207 60 60 $result = pwg_query($query); 61 61 $pictures = array(); 62 while ($row = mysql_fetch_assoc($result))62 while ($row = pwg_db_fetch_assoc($result)) 63 63 { 64 64 $row['rank'] = $rank_of[ $row['id'] ]; -
extensions/lightbox/get_content.php
r17487 r20207 18 18 } 19 19 20 $image_id = mysql_real_escape_string($_GET['imgid']);20 $image_id = pwg_db_real_escape_string($_GET['imgid']); 21 21 22 22 $query = ' -
extensions/lightbox/save_history.php
r5734 r20207 36 36 if (!empty($_POST['section'])) 37 37 { 38 $page['section'] = mysql_real_escape_string($_POST['section']);38 $page['section'] = pwg_db_real_escape_string($_POST['section']); 39 39 } 40 40 if (!empty($_POST['catid'])) 41 41 { 42 $page['category']['id'] = mysql_real_escape_string($_POST['catid']);42 $page['category']['id'] = pwg_db_real_escape_string($_POST['catid']); 43 43 } 44 44 if ('tags'==@$page['section'] and !empty($_POST['tagids'])) 45 45 { 46 $tags_string = mysql_real_escape_string($_POST['tagids']);46 $tags_string = pwg_db_real_escape_string($_POST['tagids']); 47 47 } 48 48
Note: See TracChangeset
for help on using the changeset viewer.