. Афиша развлекательных мероприятий в Москве " /> " />


event_for_export_row as $tit1){ if (iconv("UTF-8","windows-1251", $tit1->category) == $catword){ array_push ($usable, $tit1); $vse++; } } $lastpage = intval($vse/42)+1; foreach ((array_slice($usable, (42*$page)-42, 42)) as $tit){ $titlus = iconv("UTF-8","windows-1251", $tit->title); $region = iconv("UTF-8","windows-1251", $tit->region); $venus = iconv("UTF-8","windows-1251", $tit->venue); $dateus = iconv("UTF-8","windows-1251", $tit->date); $d1 = strtotime($dateus); $date1 = date("Y", $d1); $date5 = date("Y-m-d", $d1); $iudeus = iconv("UTF-8","windows-1251", $tit->id); $imageus = iconv("UTF-8","windows-1251", $tit->image); $imageus = str_replace('218x161', '261x195', $imageus); $imageus = str_replace('http://media.cultserv.ru/media/library/scaled/', 'image/', $imageus); $live = $iudeus.'" class="image fit" style="height: 185px;">

'.$titlus.'

  • '.$region.'
  • '.$venus.'
  • '.$dateus.'
'; $blive = '