<?php require_once "../config.php"; verify_access($list_modules); $lessApr = false; $lessRej = false; $lesson = new lesson(); $list_pend_lessons = $lesson->list_pend_lessons($user->id); if ($_POST['action'] == 'Eval') { if (isset($_POST['hdIdAR'])) { $lesson->change_status($_POST['hdIdAR'], $_POST['hdEval'], $_POST['obs']); if ($_POST['hdEval'] == '2') { $lessApr = true; } else { if ($_POST['hdEval'] == '3') { $lessRej = true; } } $list_pend_lessons = $lesson->list_pend_lessons($user->id); } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="shortcut icon" href="../img/icon.png"> <title>Lessons | FOLearn</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="" />