</td> <td> <?php echo JText::_('GURU_MEDIATYPECHOOSE') . ' ' . JText::_('GURU_MEDIATYPEFILE_'); ?> <br/> <font size="1"> <?php echo JText::_('GURU_MEDIA_UPLOADTO_V_1') . ' ' . $configuration->filesin . JText::_('GURU_MEDIA_UPLOADTO_V_2'); ?> </font> </td> <td id=""> <?php //echo $display_list_of_dir; $now_selected = guruAdminModelguruMedia::now_selected_media($_row->id); if (isset($now_selected)) { echo $now_selected; } ?> <br> <?php echo $display_list_of_files; ?> </td> </tr> <tr> <td></td> <td></td> <td> <div id="filesFolder"><?php
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%"><?php echo JText::_('GURU_MEDIATYPEQUIZ'); ?> :<font color="#ff0000">*</font></td> <td width="80%"> <?php $qid = ''; if ($_row->source > 0) { $qid = $_row->source; } if (isset($_POST['qid'])) { $qid = intval($_POST['qid']); } $quiz_list = guruAdminModelguruMedia::generate_quiz_list($qid); echo $quiz_list; ?> </td> </tr> </table> </td> </tr> <?php } ?> </table> <input type="hidden" name="option" value="com_guru" /> <input type="hidden" name="task" value="editsbox" /> <input type="hidden" name="id" value="<?php
$t = 0; $page_from = ""; $tmpl_comp = ""; $doc = JFactory::getDocument(); $doc->addScript('components/com_guru/js/jquery.DOMWindow.js'); $doc->addScript('components/com_guru/plugins/jw_allvideos/jw_allvideos/includes/js/mediaplayer/jwplayer.min.js'); $doc->addScript('components/com_guru/plugins/jw_allvideos/jw_allvideos/includes/js/wmvplayer/silverlight.js'); $doc->addScript('components/com_guru/plugins/jw_allvideos/jw_allvideos/includes/js/wmvplayer/wmvplayer.js'); $doc->addScript('components/com_guru/plugins/jw_allvideos/jw_allvideos/includes/js/quicktimeplayer/AC_QuickTime.js'); JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('dropdown.init'); $page_from = JRequest::getVar("page_from", ""); $tmpl_comp = JRequest::getVar("tmpl", ""); $all_categs = guruAdminModelguruMedia::getAllMediaCategory(); $configs = guruAdminModelguruMedia::getConfig(); $width = "1000"; $height = "600"; if ($t == 0) { $db = JFactory::getDBO(); $sql = "UPDATE `#__guru_media` set `type`='Article' where `type`='art'"; $db->setQuery($sql); $db->query(); $t = $t + 1; } $lesson_window_size = $configs->lesson_window_size_back; if (trim($lesson_window_size) != "") { $lesson_window_size = explode("x", $lesson_window_size); $width = $lesson_window_size["1"]; $height = $lesson_window_size["0"]; }