which is considered copyrighted (c) material of the original comment or credit authors. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ /** * User Rank module * * @copyright XOOPS Project (http://xoops.org) * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) * @package userrank * @since 2.6.0 * @author Cointin Maxime (AKA Kraven30) * @version $Id$ */ include __DIR__ . '/header.php'; $xoops = Xoops::getInstance(); $xoops->header(); $admin_page = new \Xoops\Module\Admin(); $admin_page->displayNavigation('index.php'); $userrank_handler = $xoops->getModuleHandler('rank', 'userrank'); $admin_page->addInfoBox(_USERRANK_MI_USERRANK); $count_all = $userrank_handler->getCount(); $admin_page->addInfoBoxLine(sprintf(_AM_USERRANK_NBTOTAL, '<span class="red">' . $count_all . '</span>')); $criteria = new CriteriaCompo(); $criteria->add(new Criteria('rank_special', 1)); $count_special = $userrank_handler->getCount($criteria); $admin_page->addInfoBoxLine(sprintf(_AM_USERRANK_NBSPECIAL, '<span class="red">' . $count_special . '</span>')); $admin_page->displayIndex(); $xoops->footer();
<?php /* You may not change or alter any portion of this comment or credits of supporting developers from this source code or any supporting source code which is considered copyrighted (c) material of the original comment or credit authors. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ /** * @copyright XOOPS Project (http://xoops.org) * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) * @package debugbar * @since * @author XOOPS Development Team */ include_once __DIR__ . '/admin_header.php'; $moduleAdmin = new \Xoops\Module\Admin(); $moduleAdmin->displayNavigation('index.php'); $moduleAdmin->displayIndex(); include_once __DIR__ . '/admin_footer.php';
<?php /* You may not change or alter any portion of this comment or credits of supporting developers from this source code or any supporting source code which is considered copyrighted (c) material of the original comment or credit authors. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ /** * @copyright 2015-2016 XOOPS Project (http://xoops.org) * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) * @author Richard Griffith <*****@*****.**> */ require __DIR__ . '/admin_header.php'; $indexAdmin = new \Xoops\Module\Admin(); $indexAdmin->displayNavigation('index.php'); $max_time = ini_get('max_execution_time'); $indexAdmin->addConfigBoxLine(sprintf('For full function, max_execution_time should be at least 120. (Currently %d)', $max_time), $max_time < 120 ? 'warning' : 'accept'); $indexAdmin->displayIndex(); $xoops->footer();
<?php /* You may not change or alter any portion of this comment or credits of supporting developers from this source code or any supporting source code which is considered copyrighted (c) material of the original comment or credit authors. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ /** * @copyright 2014 XOOPS Project (http://xoops.org) * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) * @author Richard Griffith <*****@*****.**> */ require __DIR__ . '/admin_header.php'; $modAdmin = new \Xoops\Module\Admin(); $modAdmin->displayNavigation('index.php'); $modAdmin->displayIndex(); require __DIR__ . '/admin_footer.php';