This is one of my old projects. It was created in time, when I was a beginner with Yii, so don't use this code in production, please.