Changeset 22120 for extensions
- Timestamp:
- Apr 10, 2013, 11:51:16 AM (12 years ago)
- Location:
- extensions/Mail_supervisor
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor/admin/mail_superv_admin.php
r22118 r22120 265 265 WHERE id = '.$group_id.' 266 266 ;'; 267 list($group_name) = mysqli_fetch_row(pwg_query($query));267 list($group_name) = pwg_db_fetch_row(pwg_query($query)); 268 268 } else { 269 269 $group_name=""; … … 338 338 WHERE id = '.$_POST['group'].' 339 339 ;'; 340 list($group_name) = mysqli_fetch_row(pwg_query($query));340 list($group_name) = pwg_db_fetch_row(pwg_query($query)); 341 341 342 342 array_push( … … 358 358 $result = pwg_query($query); 359 359 //---------------------------------------------------------------- 360 while ($row = mysqli_fetch_array($result,MYSQL_ASSOC)) {360 while ($row = pwg_db_fetch_array($result,MYSQL_ASSOC)) { 361 361 $groups[$row['id']] = $row['name']; } 362 362 //--------------------------------------------------------------- -
extensions/Mail_supervisor/include/fonctions.php
r22118 r22120 154 154 155 155 if (!empty($datas)) { 156 while ($group = mysqli_fetch_array($datas,MYSQL_ASSOC)){156 while ($group = pwg_db_fetch_array($datas,MYSQL_ASSOC)){ 157 157 if (!empty($group['email'])){ 158 158 //array_push($groups, format_email($group['username'], $group['email'] )); … … 221 221 $datas=pwg_query($query) ; 222 222 if (!empty($datas)) { 223 list($count) = mysqli_fetch_row($datas);223 list($count) = pwg_db_fetch_row($datas); 224 224 } 225 225 … … 232 232 $datas = pwg_query($query); 233 233 if (!empty($datas)) { 234 while ($row = mysqli_fetch_array($datas,MYSQL_ASSOC)){234 while ($row = pwg_db_fetch_array($datas,MYSQL_ASSOC)){ 235 235 array_push($data,$row); 236 236 } … … 451 451 $result = @pwg_query($query); 452 452 } 453 $datas = mysqli_fetch_array($result,MYSQL_ASSOC);453 $datas = pwg_db_fetch_array($result,MYSQL_ASSOC); 454 454 $nb = $datas['total']|0; 455 455 //======================================================================= … … 515 515 $result = @pwg_query($query); 516 516 } 517 $datas = mysqli_fetch_array($result,MYSQL_ASSOC);517 $datas = pwg_db_fetch_array($result,MYSQL_ASSOC); 518 518 $nb = $datas['total']; 519 519 520 $row = mysqli_fetch_row(pwg_query($query));520 $row = pwg_db_fetch_row(pwg_query($query)); 521 521 $nb = ($row[7]); 522 522 $erreur_message .= $ip0 . ' | ' .$ip . ' | ' . $pays . ' | ' . $region . ' | ' . $ville . ' ' . $nb . ' ==> '; -
extensions/Mail_supervisor/include/save_info.php
r22118 r22120 13 13 ;"; 14 14 //============================================================================== 15 list($count) = mysqli_fetch_row(pwg_query($query));15 list($count) = pwg_db_fetch_row(pwg_query($query)); 16 16 //============================================================================== 17 17 $valeurs=array( 'NULL', … … 49 49 $liste_bl = array(); 50 50 $result = pwg_query($query); 51 while ($row = mysqli_fetch_array($result,MYSQL_ASSOC)) {51 while ($row = pwg_db_fetch_array($result,MYSQL_ASSOC)) { 52 52 array_push($liste_bl,$row); 53 53 } 54 54 //================ Liste IP ============== 55 55 $req = pwg_query('SELECT count(distinct(`IP`)) FROM '.HISTORY_TABLE.' '); 56 $op= mysqli_fetch_row($req);56 $op=pwg_db_fetch_row($req); 57 57 $nbip = array_pop($op) ; 58 58 … … 78 78 $result = pwg_query($query); 79 79 $liste_ip=array(); 80 while ($row = mysqli_fetch_array($result,MYSQL_ASSOC)) {80 while ($row = pwg_db_fetch_array($result,MYSQL_ASSOC)) { 81 81 82 82 array_push($liste_ip, $row); -
extensions/Mail_supervisor/mail_super.inc.php
r22118 r22120 352 352 } 353 353 if ($result) { 354 $data = mysqli_fetch_array($result,MYSQL_ASSOC);354 $data = pwg_db_fetch_array($result,MYSQL_ASSOC); 355 355 } 356 356 //====================================================================================
Note: See TracChangeset
for help on using the changeset viewer.