game statistics using yii framework