403Webshell
Server IP : 49.212.180.16  /  Your IP : 3.12.160.196
Web Server : Apache
System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User : utannto ( 1076)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/utannto/www/hironaka.biz/wp-content/plugins/exec-php/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/utannto/www/hironaka.biz/wp-content/plugins/exec-php/includes/usermeta.php
<?php

require_once(dirname(__FILE__).'/const.php');

// -----------------------------------------------------------------------------
// the ExecPhp_UserMeta class handles the loading and storing of the
// plugin settings for each individual article including all needed conversion
// routines
// -----------------------------------------------------------------------------

if (!class_exists('ExecPhp_UserMeta')) :

define('ExecPhp_META_WYSIWYG_WARNING', 'execphp_wysiwyg_warning');

class ExecPhp_UserMeta
{
	var $m_user_id = -1;
	var $m_hide_wysiwyg_warning = false;

	// ---------------------------------------------------------------------------
	// init
	// ---------------------------------------------------------------------------

	function ExecPhp_UserMeta($user_id)
	{
		$this->m_user_id = $user_id;
		$this->load();
	}

	function save()
	{
		update_usermeta($this->m_user_id, ExecPhp_META_WYSIWYG_WARNING,
			$this->m_hide_wysiwyg_warning);
	}

	function load()
	{
		if ($this->m_user_id > 0)
		{
			$this->m_hide_wysiwyg_warning =
				get_usermeta($this->m_user_id, ExecPhp_META_WYSIWYG_WARNING);
		}
	}

	// ---------------------------------------------------------------------------
	// access
	// ---------------------------------------------------------------------------

	function set_from_POST()
	{
		$this->m_hide_wysiwyg_warning
			= isset($_POST[ExecPhp_POST_WYSIWYG_WARNING]);
	}

	function hide_wysiwyg_warning()
	{
		return $this->m_hide_wysiwyg_warning;
	}
}
endif;

?>

Youez - 2016 - github.com/yon3zu
LinuXploit