public function add()
 {
     if (IS_POST) {
         //            $salt = md5(base64_encode(time()));
         $password = md5(I('post.password'));
         $this->Admin->add(array('email' => I('post.email'), 'phone' => I('phone'), 'password' => $password, 'group_name' => implode(',', I('post.group_name'))));
         $this->redirect('all');
         exit;
     }
     $this->assign('accessGroup', $this->_getAccessGroup());
     $this->display();
 }