Changeset 587 for trunk/admin/remote_site.php
- Timestamp:
- Oct 30, 2004, 5:42:29 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/remote_site.php
r538 r587 103 103 AND dir IS NOT NULL 104 104 ;'; 105 $result = mysql_query($query);105 $result = pwg_query($query); 106 106 while ($row = mysql_fetch_array($result)) 107 107 { … … 156 156 $query.= ' 157 157 ;'; 158 mysql_query($query);158 pwg_query($query); 159 159 } 160 160 … … 234 234 WHERE id = '.$id_uppercat.' 235 235 ;'; 236 $row = mysql_fetch_array( mysql_query($query));236 $row = mysql_fetch_array(pwg_query($query)); 237 237 238 238 $uppercats = $row['uppercats']; … … 325 325 $query.= ' 326 326 ;'; 327 mysql_query($query);327 pwg_query($query); 328 328 } 329 329 … … 368 368 WHERE storage_category_id = '.$category_id.' 369 369 ;'; 370 $result = mysql_query($query);370 $result = pwg_query($query); 371 371 $to_delete = array(); 372 372 while ($row = mysql_fetch_array($result)) … … 391 391 WHERE storage_category_id = '.$category_id.' 392 392 ;'; 393 $result = mysql_query($query);393 $result = pwg_query($query); 394 394 while ($row = mysql_fetch_array($result)) 395 395 { … … 447 447 WHERE storage_category_id = '.$category_id.' 448 448 ;'; 449 $result = mysql_query($query);449 $result = pwg_query($query); 450 450 while ($row = mysql_fetch_array($result)) 451 451 { … … 460 460 AND image_id IN ('.implode(',', $ids).') 461 461 ;'; 462 mysql_query($query);462 pwg_query($query); 463 463 464 464 $query = ' … … 478 478 $query.= ' 479 479 ;'; 480 mysql_query($query);480 pwg_query($query); 481 481 } 482 482 } … … 537 537 WHERE galleries_url = \''.$page['galleries_url'].'\' 538 538 ;'; 539 $row = mysql_fetch_array( mysql_query($query));539 $row = mysql_fetch_array(pwg_query($query)); 540 540 if ($row['count'] > 0) 541 541 { … … 571 571 (\''.$page['galleries_url'].'\') 572 572 ;'; 573 mysql_query($query);573 pwg_query($query); 574 574 575 575 $template->assign_block_vars( … … 597 597 WHERE id = '.$page['site'].' 598 598 ;'; 599 list($galleries_url) = mysql_fetch_array( mysql_query($query));599 list($galleries_url) = mysql_fetch_array(pwg_query($query)); 600 600 } 601 601 … … 647 647 WHERE galleries_url = \''.addslashes($url).'\' 648 648 ;'; 649 $result = mysql_query($query);649 $result = pwg_query($query); 650 650 if (mysql_num_rows($result) == 0) 651 651 { … … 657 657 (\''.$url.'\') 658 658 ;'; 659 mysql_query($query);659 pwg_query($query); 660 660 $site_id = mysql_insert_id(); 661 661 } … … 699 699 WHERE galleries_url = \''.addslashes($url).'\' 700 700 ;'; 701 list($count) = mysql_fetch_array( mysql_query($query));701 list($count) = mysql_fetch_array(pwg_query($query)); 702 702 if ($count == 0) 703 703 { … … 716 716 WHERE id != 1 717 717 ;'; 718 $result = mysql_query($query);718 $result = pwg_query($query); 719 719 while ($row = mysql_fetch_array($result)) 720 720 {
Note: See TracChangeset
for help on using the changeset viewer.