Code for my new project in php and yii framework