From 512af7511dd3aed235a3770f63c9717465560afe Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Sun, 25 Apr 2021 03:23:39 +0800 Subject: [PATCH] start show exam --- include/functions.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/functions.php b/include/functions.php index 210dc27e..0eb2493e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2596,6 +2596,14 @@ if ($msgalert) msgalert("cheaterbox.php",$text, "blue"); } } + + //show the exam info + $examRepository = new \App\Repositories\ExamRepository(); + $matchExams = $examRepository->listMatchExam($CURUSER['id']); +// if ($matchExams->isNotEmpty()) { +// dd($matchExams); +// } + } if ($offlinemsg) {