A ticket system using Yii