/**
  * Manages all models.
  */
 public function actionAdmin()
 {
     if ($this->menu_use[3]) {
         $model = new NewsType('search');
         $model->unsetAttributes();
         // clear any default values
         if (isset($_GET['NewsType'])) {
             $model->attributes = $_GET['NewsType'];
         }
         $this->render('admin', array('model' => $model));
     } else {
         $this->redirect(array('site/index'));
     }
 }