Пример #1
0
 /**
  * 发送Email 警告用户
  * 显示发送页面
  */
 function warn_user()
 {
     $log_record = new LoginRecordModel();
     $username = trim($_POST['user_record_name']);
     $userinfo = $log_record->getByUsername($username);
     $email = $userinfo['email'];
     $id = $userinfo['id'];
     $this->assign('emal_to', $email);
     $this->assign('id', $id);
     $this->display();
 }