# ------------------------------------------------------------------------ # author iJoomla # copyright Copyright (C) 2013 ijoomla.com. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://www.ijoomla.com # Technical Support: Forum - http://www.ijoomla.com/forum/index/ -------------------------------------------------------------------------*/ JHtml::_('behavior.framework'); defined('_JEXEC') or die("Go away."); $doc = JFactory::getDocument(); $doc->addScript('components/com_guru/js/jquery.DOMWindow.js'); $k = 0; $task = JRequest::getVar("task", ''); $n = count($this->programs); $programs = $this->programs; $configs = guruAdminModelguruProgram::getConfigs(); $currency = $configs->currency; $currencypos = $configs->currencypos; $character = trim(JText::_("GURU_CURRENCY_" . $currency)); $tmpl = JRequest::getVar("tmpl", ""); if (trim($tmpl) != "") { JRequest::setVar("tmpl", "component"); } $listDirn = "asc"; $listOrder = "ordering"; $saveOrderingUrl = 'index.php?option=com_guru&controller=guruPrograms&task=saveOrderAjax&tmpl=component'; JHtml::_('sortablelist.sortable', 'articleList', 'adminForm', strtolower($listDirn), $saveOrderingUrl); JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('dropdown.init'); ?>
# author iJoomla # copyright Copyright (C) 2013 ijoomla.com. All Rights Reserved. # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL # Websites: http://www.ijoomla.com # Technical Support: Forum - http://www.ijoomla.com/forum/index/ -------------------------------------------------------------------------*/ // no direct access defined('_JEXEC') or die('Restricted access'); JHtml::_('behavior.calendar'); $program = $this->program; $lists = $this->lists; jimport('joomla.html.pane'); $pane = JPane::getInstance('tabs'); $editorul = JFactory::getEditor(); $mmediam = $this->mmediam; $configuration = guruAdminModelguruProgram::getConfigs(); $course_config = json_decode($configuration->ctgpage); $full_image_size = $course_config->ctg_image_size; $full_image_proportional = $course_config->ctg_image_size_type == "0" ? "w" : "h"; $db = JFactory::getDBO(); $sql = "Select datetype FROM #__guru_config where id=1 "; $db->setQuery($sql); $format_date = $db->loadColumn(); $dateformat = $format_date[0]; $format = "%m-%d-%Y"; switch ($dateformat) { case "d-m-Y H:i:s": $format = "%d-%m-%Y %H:%M:%S"; break; case "d/m/Y H:i:s": $format = "%d/%m/%Y %H:%M:%S";