<?php

$this->breadcumbs();
?>
	
<h3>Lihat : <?php 
echo $model->post_name;
?>
</h3>
<?php 
$this->alert();
$webUrl = Yii::app()->FrontUrl->createUrl('/photo/index/', array('id' => $model->ID, 'slug' => $model->post_link));
$mobileUrl = Yii::app()->FrontMobileUrl->createUrl('/photo/index/', array('id' => $model->ID, 'slug' => $model->post_link));
$link = "Web Url : " . $webUrl . " - " . CHtml::Link('Go to Link', $webUrl) . "<br>";
$link .= frontendMobileUrl == '' ? "" : "Mobile url : " . $mobileUrl . " - " . CHtml::Link('Go to Link', $mobileUrl);
$this->widget('bootstrap.widgets.TbDetailView', array('data' => $model, 'attributes' => array('ID', 'post_name', 'post_title', array('name' => 'post_link', 'type' => 'raw', 'value' => $link), array('name' => 'photometa.photo', 'type' => 'raw', 'value' => array($this, 'Photometa')), array('name' => 'post_excerpt', 'type' => 'raw'), array('name' => 'post_content', 'type' => 'raw'), 'post_source', 'post_source_link', array('name' => 'post_status', 'type' => 'raw', 'value' => array($this, 'Status')), array('label' => 'Author', 'name' => 'authors.username'), array('label' => 'Editor', 'name' => 'editors.username'), array('name' => 'tags.name', 'type' => 'raw', 'value' => Tag::makeValue($model)), array('label' => 'Category', 'type' => 'raw', 'value' => Category::makeValue($model)), array('label' => 'Category Photo', 'type' => 'raw', 'value' => PhotoCategory::makeValue($model)), 'post_created', 'post_modified', 'post_meta_key', 'post_meta_desc')));
<?php

$this->breadcumbs();
?>
	
<h3>Lihat : <?php 
echo $model->post_name;
?>
</h3>
<?php 
$this->alert();
$webUrl = Yii::app()->FrontUrl->createUrl('/single/index/', array('id' => $model->ID, 'slug' => $model->post_link));
$mobileUrl = Yii::app()->FrontMobileUrl->createUrl('/single/index/', array('id' => $model->ID, 'slug' => $model->post_link));
$link = "Web Url : " . $webUrl . " - " . CHtml::Link('Go to Link', $webUrl) . "<br>";
$link .= frontendMobileUrl == '' ? "" : "Mobile url : " . $mobileUrl . " - " . CHtml::Link('Go to Link', $mobileUrl);
$this->widget('bootstrap.widgets.TbDetailView', array('data' => $model, 'attributes' => array('ID', 'post_name', 'post_title', array('name' => 'post_link', 'type' => 'raw', 'value' => $link), array('name' => 'post_image', 'type' => 'raw', 'value' => CHtml::image(Helper::getThumb('content', $model->post_image, 'medium'))), 'post_image_by', 'post_image_credit', 'post_excerpt', array('name' => 'post_content', 'type' => 'raw'), 'post_source', 'post_source_link', array('name' => 'post_status', 'type' => 'raw', 'value' => array($this, 'Status')), array('label' => 'Author', 'name' => 'authors.username'), array('label' => 'Editor', 'name' => 'editors.username'), array('name' => 'tags.name', 'type' => 'raw', 'value' => Tag::makeValue($model)), array('label' => 'Category', 'type' => 'raw', 'value' => Category::makeValue($model)), array('name' => 'labels.name', 'type' => 'raw', 'value' => Label::makeValue($model)), array('label' => 'Topic', 'type' => 'raw', 'value' => Topic::makeValue($model)), 'post_created', 'post_modified', 'post_meta_key', 'post_meta_desc')));