Фотографии избранных авторов

Auth::userid())); foreach ($followimgs as $f) { $author = new User($p['user_id']); $p = new Photo($f['photo_id']); echo '
620 КБ
'.DB::query('SELECT COUNT(*) FROM photos_views WHERE photo_id=:id', array(':id'=>$p['id']))[0]['COUNT(*)'].'

'.htmlspecialchars($p['place']).'

'.htmlspecialchars($p['postbody']).'

'.Date::zmdate($p['timeupload']).'
Автор: '.htmlspecialchars($author->i('username')).'

'; } ?>