bashgid/web/protected/views/article/_view.php

50 lines
1.4 KiB
PHP
Raw Permalink Normal View History

2015-06-26 10:03:20 +00:00
<?php
/* @var $this ArticleController */
/* @var $data Article */
?>
<div class="view">
<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
<?php echo CHtml::encode($data->name); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('type')); ?>:</b>
<?php echo CHtml::encode($data->type); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
<?php echo CHtml::encode($data->title); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('content')); ?>:</b>
<?php echo CHtml::encode($data->content); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('geoLat')); ?>:</b>
<?php echo CHtml::encode($data->geoLat); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('geoLon')); ?>:</b>
<?php echo CHtml::encode($data->geoLon); ?>
<br />
2015-07-02 08:37:15 +00:00
2015-06-26 10:03:20 +00:00
<b><?php echo CHtml::encode($data->getAttributeLabel('externalLink')); ?>:</b>
<?php echo CHtml::encode($data->externalLink); ?>
<br />
<b><?php echo CHtml::encode($data->getAttributeLabel('dateTime')); ?>:</b>
<?php echo CHtml::encode($data->dateTime); ?>
<br />
2015-07-02 08:37:15 +00:00
<b><?php echo CHtml::encode($data->getAttributeLabel('hidden')); ?>:</b>
<?php echo CHtml::encode($data->hidden); ?>
<br />
2015-06-26 10:03:20 +00:00
2015-07-02 08:37:15 +00:00
2015-06-26 10:03:20 +00:00
</div>