function showPage() { if (!defined('_JLMS_IFRAMES_REQUIRES')) { define('_JLMS_IFRAMES_REQUIRES', 'This option will not work correctly. Unfortunately, your browser does not support Inline Frames.'); } ?> <link href="<?php echo JLMSCSS::link(); ?> " rel="stylesheet" type="text/css" /> <script language="JavaScript" src="<?php echo JURI::root(); ?> components/com_joomla_lms/includes/js/progressbar.js" type="text/javascript"></script> <div class="joomlalms_sys_message" style="width:450px; margin:auto; margin-top:200px; margin-bottom:5px;">Sending notifications to WL users, placed to course.</div> <div id="mail_wraper" style="margin:auto;width:300px;"> <div id="progress_bar" style="margin:2px;"><!-- --></div> <div id="mailresults" style="width:300px; background-color:#ffffff; color:#555555; font-family:monospace; font-size:9pt;" align="center">Preparing to send notifications</div> <iframe src="index.php?tmpl=component&option=com_joomla_lms&task=mail_iframe&assigned=<?php echo $this->assigned; ?> &redirect=<?php echo urlencode($this->redirect); ?> " style="display:none"> <?php echo _JLMS_IFRAMES_REQUIRES; ?> </iframe> </div> <script language="JavaScript" type="text/javascript"> <!-- var progressbar = new ProgressBar({id:'progress_bar',width:'300',highlight:'150',smooth:'1'}); //--> </script> <?php }
echo ' border-left:1px solid grey;'."\n"; echo '}'."\n"; echo 'tr.jlms_report_fullview_row td, tr.jlms_report_fullview_row_bottom td {'."\n"; echo ' border-top:1px solid grey;'."\n"; echo ' border-right:1px solid grey;'."\n"; echo '}'."\n"; echo 'tr.jlms_report_fullview_row td.first_td, tr.jlms_report_fullview_row_bottom td.first_td {'."\n"; echo ' border-left:1px solid grey;'."\n"; echo '}'."\n"; echo 'tr.jlms_report_fullview_row_bottom td {'."\n"; echo ' border-bottom:1px solid grey;'."\n"; echo '}'."\n"; echo '</style>'."\n"; echo '</head>'."\n"; echo '<body>'."\n";*/ echo '<link rel="stylesheet" href="' . JLMSCSS::link() . '" type="text/css" />'; } //} $id = intval(mosGetParam($_REQUEST, 'id', 0)); $cid = mosGetParam($_POST, 'cid', array(0)); if (!is_array($cid)) { $cid = array(0); } //echo $task; die; switch ($task) { case 'report_access': JLMS_sreportAccess($option, $is_full); break; case 'report_certif': JLMS_sreportCertif($option, $is_full); break;