Example #1
0
                                //j16
                                $db->setQuery("SELECT `enabled` FROM `#__extensions` WHERE `type` = 'plugin' AND `element`='cache' ");
                            }
                            $published = $db->loadResult();
                            if ($published) {
                                jNews::printM('warning', 'ONLY IF YOU USE YOUR OWN SERVER CRON TASK!');
                                jNews::printM('warning', 'You NEED to reduce the cache time on your website in order for the cron task to work properly!');
                                jNews::printM('warning', 'You need to put the cache time less than :' . $GLOBALS[JNEWS . 'cron_max_freq'] * 0.8 . ' minutes');
                                jNews::printM('warning', 'Or increase your jNews scheduler to :' . $cacheTime * 1.2 . ' minutes');
                            }
                        }
                    } else {
                        jnews::printM('error', _JNEWS_NOCRON_USED);
                    }
                    break;
                default:
                    $showPanel = true;
                    break;
            }
        } else {
            $showPanel = true;
        }
        break;
}
echo $message;
if ($showPanel) {
    frontEnd::introduction($subscriberId, $listId, $lisType);
}
frontHTML::_footer();
echo "\n\r" . '<!--  End : ' . jnews::version() . '   -->' . "\n\r";
Example #2
0
 public static function about()
 {
     echo '<table width="100%" align="left"><tr>';
     echo '<td>';
     echo '<form action="index.php" method="post" name="adminForm" id="adminForm">';
     jnews::beginingOfTable('jnewstable');
     jnews::miseEnPage('Description', '', constant('_JNEWS_DESC_' . strtoupper($GLOBALS[JNEWS . 'type'])));
     jnews::miseEnPage('Developers', '', 'Evelyn Lopez, Mary Michelle Piquero, Gerald R. Zalsos, Ebony Grace Ursua, Mary Grace Arabis, Gino Tayo, <br/>Glenn Jaime Chan, Adel Fomar Dulanas, Lalene Cababat, Jhen Bontilao');
     jnews::miseEnPage('Contributor', '', 'Amir Ben Avraham, Christelle Gesset & Adrien Baborier');
     jnews::miseEnPage('Captcha Contributor', '', 'Sorin Rosen');
     jnews::miseEnPage('Designer', '', 'Rochel Abrasaldo');
     jnews::miseEnPage('CB Integration', '', 'Mikko R&ouml;nkk&ouml;');
     jnews::miseEnPage('Add-ons', '', 'Kyle Witt');
     jnews::miseEnPage('Language Translation', '', '');
     jnews::miseEnPage('Brazilian_portuguese', '', 'Navsoft');
     jnews::miseEnPage('Danish', '', 'Joergen Floes');
     jnews::miseEnPage('Dutch', '', 'Tromp Wezelman & Bart Bevers');
     jnews::miseEnPage('Finnish', '', 'Tero Kankaanperä');
     jnews::miseEnPage('French', '', 'Christelle Gesset');
     jnews::miseEnPage('German', '', 'David Freund & Frank Jansen');
     jnews::miseEnPage('Hebrew', '', 'Eszter Somos & Adam Segev');
     jnews::miseEnPage('Hungarian', '', 'Zolt&aacute;n Varanka');
     jnews::miseEnPage('Italian', '', 'Maria Luisa Rossari');
     jnews::miseEnPage('Norwegian', '', '<a href="http://www.timeoffice.com" target="_blank">Irma Rustad</a>');
     jnews::miseEnPage('Polish', '', 'Andrzej Herzberg');
     jnews::miseEnPage('Portuguese', '', 'Ricardo Sim&otilde;es');
     jnews::miseEnPage('Simplified Chinese', '', '<a href="http://www.joomlagate.com" target="_blank">Baijianpeng</a>');
     jnews::miseEnPage('Spanish', '', '<a href="http://www.eaid.org" target="_blank">Jorge Pasco</a>');
     jnews::miseEnPage('Swedish', '', 'Janne Karlsson');
     jnews::miseEnPage('Turkish', '', 'Anonymous');
     jnews::miseEnPage('CSS class to style attribute', '', '<a href="http://classes.verkoyen.eu/css_to_inline_styles" target="_NEW">http://classes.verkoyen.eu/css_to_inline_styles</a>');
     jnews::miseEnPage(' ', '', '   ');
     jnews::miseEnPage(_JNEWS_VERSION, '', jnews::version());
     jnews::miseEnPage(' ', '', '   ');
     jnews::miseEnPage(_JNEWS_DESC_HOME, '', '<a href="' . $GLOBALS[JNEWS . 'homesite'] . '" target="_blank">' . JNEWS_HOME_SITE . '</a>');
     jnews::miseEnPage(_JNEWS_MENU_HELP, '', '<a href="' . JNEWS_HOME_SITE . '/index.php?option=com_content&Itemid=67&catid=93&id=8241&lang=en&view=article" target="_blank">Documentation</a>');
     jnews::miseEnPage(_JNEWS_MENU_LIVE_SUPPORT, '', '<a href="' . JNEWS_HOME_SITE . '/live-support" target="_blank">Help</a>');
     jnews::miseEnPage(_JNEWS_MENU_LEARN, '', '<a href="http://demo.joobi.co/" target="_blank">Education Center</a>');
     jnews::miseEnPage('Copyrights', '', 'jNews <i>Your Communciation Partner</i>, &copy; Joobi Limited');
     jnews::miseEnPage(_JNEWS_LICENSE, '', '<a href="http://www.joobi.co/index.php?option=com_jlinks&controller=redirect&link=single-license" target="_blank">&copy; Joobi Limited</a>');
     jnews::endOfTable();
     backHTML::formEnd();
     echo '</td>';
     echo '<td width="380px">';
     $logo = 'jnews_logo' . (!empty($GLOBALS[JNEWS . 'type']) ? '_' . strtolower($GLOBALS[JNEWS . 'type']) : '') . '.png';
     echo '<a href="http://www.joobi.co" target="_blank"><img src="http://www.joobi.co/images/' . $logo . '" alt="jNews Logo" border="0" align="center" /></a>';
     echo '</td>';
     echo '</tr></table>';
 }