HomeHelpTrac

Ignore:
Timestamp:
05/01/09 01:18:36 (3 years ago)
Author:
Andrey Prikaznov
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/utils.inc.php

    r10361 r10378  
    578578            $sCheckSQL = "SELECT * FROM `sys_ip_list` WHERE `Type`='deny' AND `LastDT` > NOW()"; 
    579579            $vIPRes = db_res($sCheckSQL); 
    580             if (mysql_affected_rows()>0) { 
     580            if (db_affected_rows()>0) { 
    581581                while ( $aCheckIP = mysql_fetch_assoc($vIPRes) ) { 
    582582                    if ($aCheckIP['To']==0 && $aCheckIP['From']==$sCurLongIP) { 
     
    593593            $sCheckSQL = "SELECT * FROM `sys_ip_list` WHERE `Type`='allow' AND `LastDT` > NOW()"; 
    594594            $vIPRes = db_res($sCheckSQL); 
    595             if (mysql_affected_rows()>0) { 
     595            if (db_affected_rows()>0) { 
    596596                while ( $aCheckIP = mysql_fetch_assoc($vIPRes) ) { 
    597597                    if ($aCheckIP['To']==0 && $aCheckIP['From']==$sCurLongIP) { 
Note: See TracChangeset for help on using the changeset viewer.