Ignore:
Timestamp:
04/10/13 11:51:16 (7 years ago)
Author:
cljosse
Message:

[extensions] mail_superviseur update to piwigo 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Mail_supervisor/include/save_info.php

    r22118 r22120  
    1313        ;"; 
    1414    //============================================================================== 
    15   list($count) = mysqli_fetch_row(pwg_query($query)); 
     15  list($count) = pwg_db_fetch_row(pwg_query($query)); 
    1616  //============================================================================== 
    1717  $valeurs=array( 'NULL', 
     
    4949    $liste_bl = array(); 
    5050 $result = pwg_query($query); 
    51         while ($row = mysqli_fetch_array($result,MYSQL_ASSOC))   { 
     51        while ($row = pwg_db_fetch_array($result,MYSQL_ASSOC))   { 
    5252                 array_push($liste_bl,$row); 
    5353                } 
    5454//================ Liste IP ============== 
    5555$req = pwg_query('SELECT count(distinct(`IP`)) FROM '.HISTORY_TABLE.'    '); 
    56 $op=mysqli_fetch_row($req);  
     56$op=pwg_db_fetch_row($req);  
    5757$nbip =  array_pop($op) ; 
    5858 
     
    7878    $result = pwg_query($query); 
    7979    $liste_ip=array(); 
    80     while ($row = mysqli_fetch_array($result,MYSQL_ASSOC))   { 
     80    while ($row = pwg_db_fetch_array($result,MYSQL_ASSOC))   { 
    8181 
    8282              array_push($liste_ip, $row); 
Note: See TracChangeset for help on using the changeset viewer.