[insert_php]
global $wpdb;
$myuser = get_current_user_id();

$sql = “SELECT exam_id FROM wp_watupro_taken_exams WHERE user_id = ‘$myuser'”;

$myExams = $wpdb->get_results($sql);

foreach ($myExams as $myExam) {
if ($myExam->exam_id == 40) { $module13 = “true”; }
if ($myExam->exam_id == 5) { $module13 = “true”; }
if ($myExam->exam_id == 7) { $module13 = “true”; }
if ($myExam->exam_id == 8) { $module13 = “true”; }
if ($myExam->exam_id == 37) { $module13 = “true”; }

if ($myExam->exam_id == 39) { $module14 = “true”; }
if ($myExam->exam_id == 46) { $module1 = “true”; }
if ($myExam->exam_id == 2) { $module2 = “true”; }
}
[/insert_php]

The course structure is as presented below.


0000_uefgm_symbols_uefgm_elearning_seperated_foundation-01

FOUNDATION MODULES are required for all categories.
_______________________________________________________

MODULE 01: Introduction to Female Genital Mutilation (FGM)[insert_php]
if ($module1 == “true”) { echo ‘‘; }
[/insert_php]
MODULE 02: FGM: Understanding Gender and Social Dynamics[insert_php]
if ($module2 == “true”) { echo ‘‘; }
[/insert_php]

 

0000_uefgm_symbols_uefgm_elearning_seperated-06

 

MODULE 13: Elective[insert_php]
if ($module13 == “true”) { echo ‘‘; }
[/insert_php]

MODULE 14: Communication and Reporting about FGM[insert_php]
if ($module14 == “true”) { echo ‘‘; }
[/insert_php]

 

 


You may be also interested in:
0000_UEFGM_SYMBOLS_UEFGM_ELEARNING_SEPERATED-02