<?php
$this->widget('zii.widgets.jui.CJuiButton', array(
		'buttonType'=>'link',
		'name'=>'btnGo777',
		'url'=>Yii::app()->createUrl("/tAccount/closingPeriodExecution"),
		'caption'=>'Closing Period',
		'options'=>array('icons'=>'js:{secondary:"ui-icon-extlink"}'),
));
?>
</p>
<br/>
*/
?>

<?php 
$this->widget('DropDownRedirect', array('data' => tAccount::accountDetail(), 'url' => $this->createUrl($this->route, array_merge($_GET, array('acc' => '__value__'))), 'select' => isset($_GET['acc']) ? $_GET['acc'] : "ALL"));
echo CHtml::link('Refresh', $this->createUrl($this->route, $_GET));
?>

<br />
<?php 
if (isset($_GET['acc'])) {
    if ($_GET['acc'] != null) {
        echo "<b><p style='display: block;margin: 5px 0;padding: 2px;background-color: yellow;'>";
        echo "Current Filter :  " . tAccount::model()->findByPk((int) $_GET['acc'])->account_name;
        echo "</p></b>";
        echo "</br>";
    }
}
?>
</b>