403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Old Sites/moke/administrator/components/com_myrssreader/tables/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Old Sites/moke/administrator/components/com_myrssreader/tables/category.php
<?php
/**
* @package      My RSS Reader
* @copyright    Copyright (C) 2010 FalsinSoft. All rights reserved.
* @license      GNU/GPL
* @website      http://falsinsoft.blogspot.com
* @email        falsinsoft@gmail.com
* 
*/

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

class TableCategory extends JTable
{
    var $id = null;
    var $title = null;
    var $description = null;
    var $checked_out = null;
    var $checked_out_time = null;
    
    function __construct(&$db)
    {
        parent::__construct('#__myrssreader_category', 'id', $db);
    }
    
    function getCategoryList($category_start = 0, $category_number = 0)
    {
        $db = &JFactory::getDBO();
        
        $query = 'SELECT id, title, checked_out, checked_out_time '
				.'FROM #__myrssreader_category ORDER BY title';
				
		if($category_number > 0) $query .= ' LIMIT '.$category_start.','.$category_number;
              
        $db->setQuery($query);
        
        return $db->loadObjectList();
    } 
	
	function getCategoryNumber()
    {
        $db = &JFactory::getDBO();
        
        $query = 'SELECT COUNT(id) AS number FROM #__myrssreader_category';
              
        $db->setQuery($query);
        
        return $db->loadResult();
    }
	
	function deteleCategory($cid)
    {
        $db = &JFactory::getDBO();
        
        $cids = implode(',', $cid);
		
		$db->setQuery('DELETE FROM #__myrssreader_category_rss WHERE category_id IN ('.$cids.')');
		$db->query();
        
        $db->setQuery('DELETE FROM #__myrssreader_category WHERE id IN ('.$cids.')');		
		return $db->query();
    }
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit