Beispiel #1
0
$lesson_size = $result["0"]["lesson_window_size"];
$lesson_size = explode("x", $lesson_size);
$lesson_height = $lesson_size["0"];
$lesson_width = $lesson_size["1"];
$document = JFactory::getDocument();
$document->addScript("components/com_guru/js/programs.js");
$guruModelguruTask = new guruModelguruTask();
$guruModelguruOrder = new guruModelguruOrder();
$configs = $guruModelguruTask->getConfig();
if (isset($step) && $step != false) {
    $skip_modules_course = $guruModelguruTask->getSkipAction($step->pid);
} else {
}
$module_pozition = "0";
$certificates = $guruModelguruTask->getCertificate();
$is_final = $guruModelguruTask->getIsFinal($step->id);
if ($is_final == "") {
    $is_final = 0;
}
$db = JFactory::getDBO();
$sql = "select avg_certc from #__guru_program where id=" . $step->pid;
$db->setQuery($sql);
$db->query();
$avg_certif = $db->loadResult();
?>

<script type="text/javascript" language="javascript">
	document.body.className = document.body.className.replace("modal", "");
</script>

<script>