$vk_stats = json_decode(file_get_contents('https://api.vk.com/method/stats.get?group_id='.$_GET['id'].'&stats_groups=reach&interval=day&intervals_count=14&extended=0&access_token='.$token.'&v='.$v), true);
foreach ($vk_stats['response'] as $vk_stats_res) {
$summ+= $vk_stats_res['reach'];
echo $summ;
}