CAdvContract :: SendInfo: Bitrix method

      
<?php 
//  CAdvContract :: SendInfo()
//  /dist/bitrix/modules/advertising/classes/general/advertising.php:464

    
public static function SendInfo()
    {
        
$err_mess = (CAdvContract_all::err_mess())."<br>Function: SendInfo<br>Line: ";
        global 
$DB;
        
$rsContracts CAdvContract::GetList($v1=""$v2="", array("LAMP" => "red""EMAIL_COUNT_2" => "0"), $v3=false"N");
        while (
$arContract $rsContracts->Fetch())
        {
            
CAdvContract::SendEMail($arContract"< ".GetMessage("AD_CONTRACT_NOT_ACTIVE")." >");
            
$arFields = array("EMAIL_COUNT" => "EMAIL_COUNT + 1");
            
$DB->Update("b_adv_contract",$arFields,"WHERE ID='".$arContract["ID"]."'",$err_mess.__LINE__);
        }
        return 
"CAdvContract::SendInfo();";
    }