Changeset 5431 for extensions/lmt/lmt_aip.class.inc.php
- Timestamp:
- Mar 28, 2010, 9:19:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/lmt/lmt_aip.class.inc.php
r4396 r5431 376 376 $sql="SELECT count(element_id) FROM ".CADDIE_TABLE." WHERE user_id = '".$user['id']."'"; 377 377 $result=pwg_query($sql); 378 $nbphotos= mysql_fetch_array($result);378 $nbphotos=pwg_db_fetch_row($result); 379 379 380 380 $author_list_values = array(0); … … 384 384 if($result) 385 385 { 386 while($row= mysql_fetch_array($result))386 while($row=pwg_db_fetch_assoc($result)) 387 387 { 388 388 $author_list_values[]=$row['id']; … … 511 511 if($result) 512 512 { 513 while($row= mysql_fetch_array($result))513 while($row=pwg_db_fetch_assoc($result)) 514 514 { 515 515 $lmt_licence_default_author_values[]=$row['id']; … … 616 616 if($result) 617 617 { 618 if( mysql_affected_rows()==1)618 if(pwg_db_changes()==1) 619 619 { 620 620 $this->display_result(l10n("lmt_author_deleted"), true); … … 625 625 if($result) 626 626 { 627 $nbimages= mysql_affected_rows();627 $nbimages=pwg_db_changes(); 628 628 if($nbimages>0) 629 629 { … … 684 684 if($result) 685 685 { 686 while($row= mysql_fetch_array($result))686 while($row=pwg_db_fetch_assoc($result)) 687 687 { 688 688 $datas["author_list"][]=array( … … 715 715 if($result) 716 716 { 717 while($row= mysql_fetch_array($result))717 while($row=pwg_db_fecth_assoc($result)) 718 718 { 719 719 $datas=array( … … 879 879 if($result) 880 880 { 881 while($row = mysql_fetch_array($result))881 while($row = pwg_db_fetch_assoc($result)) 882 882 { 883 883 $filenfo = pathinfo($row['path']); … … 919 919 $sql="select FOUND_ROWS()"; 920 920 $result=pwg_query($sql); 921 $nb= mysql_fetch_array($result);921 $nb=pwg_db_fetch_row($result); 922 922 923 923 $pages_navigation = new pages_navigation(); … … 982 982 if($result) 983 983 { 984 while($row = mysql_fetch_array($result))984 while($row = pwg_db_fetch_assoc($result)) 985 985 { 986 986 $filenfo = pathinfo($row['path']); … … 1021 1021 $sql="select FOUND_ROWS()"; 1022 1022 $result=pwg_query($sql); 1023 $nb= mysql_fetch_array($result);1023 $nb=pwg_db_fetch_row($result); 1024 1024 1025 1025 $pages_navigation = new pages_navigation();
Note: See TracChangeset
for help on using the changeset viewer.