echo MSmarty::date_format($post->publication_post, '%H:%M'); ?> </h4> </div> </div> <div class="row"> <div class="col-md-3"> <h4 class="h4-label"><?php echo $post->getAttributeLabel('status_id'); ?> </h4> </div> <div class="col-md-9"> <h4><?php echo CHtml::encode(BlogPosts::LabelsStatus($post->status_id)); ?> </h4> </div> </div> <div class="row"> <div class="col-md-3"> <h4 class="h4-label"><?php echo $post->getAttributeLabel('can_read'); ?> </h4> </div> <div class="col-md-9"> <h4><?php echo CHtml::encode(BlogPosts::LabelsRead($post->can_read));
echo CHtml::label(Yii::t('app', 'Рубрика'), 'body', array('class' => 'col-md-3 control-label', 'style' => 'float:left; padding:10px; width: 8%;')); ?> <div class="col-md-9" style = "float:left; padding:10px"> <?php echo CHtml::listBox('filterrubric', array_key_exists('filterrubric', $filter) ? $filter['filterrubric'] : (string) FALSE, BlogPosts::LabelsRubrics(), array('empty' => '-', 'size' => (int) TRUE, 'class' => 'form-control input-large', 'style' => 'width:255px')); ?> </div> </div> <div class="clear"></div> <div class="form-group"> <?php echo CHtml::label(Yii::t('app', 'Статус'), 'body', array('class' => 'col-md-3 control-label', 'style' => 'float:left; padding:10px; width: 8%;')); ?> <div class="col-md-9" style = "float:left; padding:10px"> <?php echo CHtml::listBox('filterstatus', array_key_exists('filterstatus', $filter) ? $filter['filterstatus'] : (string) FALSE, BlogPosts::LabelsStatus(), array('empty' => '-', 'size' => (int) TRUE, 'class' => 'form-control input-large', 'style' => 'width:255px')); ?> </div> </div> <div class="clear"></div> <div class="form-group"> <?php echo CHtml::label(Yii::t('app', 'Могут читать'), 'body', array('class' => 'col-md-3 control-label', 'style' => 'float:left; padding:10px; width: 8%;')); ?> <div class="col-md-9" style = "float:left; padding:10px"> <?php echo CHtml::listBox('filtercanread', array_key_exists('filtercanread', $filter) ? $filter['filtercanread'] : (string) FALSE, BlogPosts::LabelsRead(), array('empty' => '-', 'size' => (int) TRUE, 'class' => 'form-control input-large', 'style' => 'width:255px')); ?> </div> </div> </div>