Leaderboard


Popular Content

Showing content with the highest reputation on 01/18/21 in all areas

  1. 1 point
    apps/yandexrealty_parser/admin/admin.php $imgs = array(); $imgfiles = $offer->imagefile; if (!empty($imgfiles)) { foreach ($imgfiles as $if) { $imgs[] = array('preview' => (string) $if->image[0], 'normal' => (string) $if->image[1]); } } else { $imgfiles = $offer->image; if (!empty($imgfiles)) { foreach ($imgfiles as $if) { $imgs[] = (string) $if; } } }