$('.fotobox').css({"height": $('.imgfoto').height()});
.fotobox{
transition: all 0.5s ease-in 0s;
}
$builder=Yii::app()->db->schema->commandBuilder;
$command=$builder->createMultipleInsertCommand('tbl_post', array(
array('title' => 'record 1', 'text' => 'text1'),
array('title' => 'record 2', 'text' => 'text2'),
));
$command->execute();