1<?php 2/** 3 * ThunderSnarf 4 * 5 * @author Ricardo H.F. Sette P. <ricardohfsp@gmail.com> 6 * @link http://www.freebsdbrasil.com.br/ 7 * @copyright Copyright © 2010 - FreeBSD Brasil LTDA 8 * @license licença GNU/GPL v2.0 http://www.gnu.org/licenses/gpl-2.0.html 9 */ 10?> 11<?php 12$this->breadcrumbs=array( 13 'Usuário'=>array('index'), 14 $model->email, 15); 16?> 17 18<h1>Usuário #<?php echo $model->id; ?></h1> 19 20<?php $this->widget('zii.widgets.CDetailView', array( 21 'data'=>$model, 22 'attributes'=>array( 23 'id', 24 'username', 25 'email', 26 'profile', 27 array( 28 'name'=>'last_acess', 29 'value'=>date('d-m-Y H:i:s',$model->last_acess), 30 ), 31 'last_ip', 32 ), 33)); ?> 34