? 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/board/administrator/components/com_kunena/lib/
File Upload :
Current File : /home/admin/public_html/old/board/administrator/components/com_kunena/lib/kunena.category.class.php

<?php
/**
* @version $Id: kunena.category.class.php 827 2009-06-09 19:53:37Z mahagr $
* Kunena Component
* @package Kunena
*
* @Copyright (C) 2008 - 2009 Kunena Team All rights reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.com
*
* Based on FireBoard Component
* @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.bestofjoomla.com
*
* Based on Joomlaboard Component
* @copyright (C) 2000 - 2004 TSMF / Jan de Graaff / All Rights Reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author TSMF & Jan de Graaff
**/
// ################################################################
// MOS Intruder Alerts
defined( '_JEXEC' ) or die('Restricted access');
// ################################################################

/**
 * A fbCategory Object
 */
class jbCategory {
    var $name;
    var $parent;
    var $locked;
    var $moderated;
    var $published;
    var $review;
    var $desc;
    var $id;
    var $pubaccess;
    var $adminaccess;
    var $pubrecurse;
    var $adminrecurse;
    var $kunena_db;

    function jbCategory(&$kunena_db,$id) {
        $this->database=$kunena_db;
        $kunena_db->setQuery("SELECT id,pub_access,pub_recurse,admin_access,admin_recurse,parent,name,locked,moderated,published,description,review FROM #__fb_categories WHERE id='{$id}'");
        $cat = $kunena_db->loadObject();
        if ($cat)
		{
        $this->setName($cat->name);
        $this->setParent($cat->parent);
        $this->setLocked($cat->locked);
        $this->setModerated($cat->moderated);
        $this->setPublished($cat->published);
        $this->setDescription($cat->description);
        $this->setReview($cat->review);
        $this->setPubAccess($cat->pub_access);
        $this->setPubRecurse($cat->pub_recurse);
        $this->setAdminAccess($cat->admin_access);
        $this->setAdminRecurse($cat->admin_recurse);
        $this->setId($cat->id);
		}
    }
    function setPubAccess($pubaccess) {
        $this->pubaccess=$pubaccess;
    }
    function getPubAccess() {
        return $this->pubaccess;
    }
    function setAdminAccess($adminaccess) {
        $this->adminaccess=$adminaccess;
    }
    function getAdminAccess() {
        return $this->adminaccess;
    }
    function setPubRecurse($pubrecurse) {
        $this->pubrecurse=$pubrecurse;
    }
    function getPubRecurse() {
        return $this->pubrecurse;
    }
    function setAdminRecurse($pubrecurse) {
        $this->adminrecurse=$pubrecurse;
    }
    function getAdminRecurse() {
        return $this->adminrecurse;
    }
    function setReview($bool)  {
        $this->review=$bool;
    }
    function getReview() {
        return $this->review;
    }
    function setParent($id) {
        $this->parent=$id;
    }
    function getParent() {
        return $this->parent;
    }
    function setId($id) {
        $this->id=$id;
    }
    function getId() {
        return $this->id;
    }
    function setName($name) {
        $this->name=$name;
    }
    function getName() {
        return $this->name;
    }
    function setLocked($lock) {
        $this->locked=$lock;
    }
    function getLocked() {
        return $this->locked;
    }
    function setModerated($moderated) {
        $this->moderated=$moderated;
    }
    function getModerated() {
        return $this->moderated;
    }
    function setPublished($published) {
        $this->published=$published;
    }
    function getPublished() {
        return $this->published;
    }
    function setDescription($desc) {
        $this->desc=$desc;
    }
    function getDescription() {
        return $this->desc;
    }
}
?>

T1KUS90T
  root-grov@210.1.60.28:~$