public function actionCreate()
{
$model = new Article();
// Uncomment the following line if AJAX validation is needed
// $this->performAjaxValidation($model);if (isset($_POST['Article'])) {
$model->attributes = $_POST['Article'];
if ($model->save()) {
$this->redirect(array('admin'));
}
$this->render('create', array('model' => $model));
}