echo CHtml::submitButton('Finish', Yii::app()->session['userid']==0 ? array('disabled'=>'disabled') : array('name' => 'cartfinal', 'class'=>'btn btn-primary'));