Файл: hostbiter.ru/Core/cron/cron2.php
Строк: 13
<?
require ($_SERVER['DOCUMENT_ROOT'].'/Core/core.php');
$users1 = $db->prepare("SELECT * FROM `users`");
$users1->execute();
$us1 = $users1->fetchAll();
foreach($us1 as $row1){
$tar1 = $db->prepare("SELECT * FROM `tarifs` WHERE `id` = ?");
$tar1->execute([$row1['tarif']]);
$tar1 = $tar1->fetch();
if($row1['balance'] > $tar1['cost'])
$api = file_get_contents($config['PanelUrl']."/ispmgr?authinfo=".$config['RootAccountName'].":".$config['RootAccountPassword']."&func=user.resume&out=xml&elid=".$row1['login']."");
}