AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.216.86
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/c/o/o/coopiak/amisdesseniors-fr/plugins/content/jlexreview/elements/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/c/o/o/coopiak/amisdesseniors-fr/plugins/content/jlexreview/elements/vmoverride.php
<?php
defined ('_JEXEC') or die;

$j5 = JPATH_ROOT.'/administrator/components/com_jlexreview/libs/j5.php';
if(file_exists($j5))
    require_once $j5;

jimport('joomla.form.formfield');

class JFormFieldVMOverride extends JFormField
{
	protected $type = 'VMOverride';

	protected function getInput()
	{
		$doc = JFactory::getDocument();
		JHtml::_("jquery.framework");
		
		$js = '
		(function($){
			$(document).ready(function(){
				var sf=$(\'input[name="jform[params][vm]"]:checked\').val();

				Joomla.submitbutton=function(task){
					if(task=="plugin.apply"||task=="plugin.save")
					{
						var s=$(\'input[name="jform[params][vm]"]:checked\').val();
						if(s!=sf)
						{
							$("body").append(\'<div style="position: fixed; background: rgba(0,0,0,0.3); top: 0; left: 0; bottom: 0; right: 0; z-index: 99999;"></div>\');
							$.post("'.JUri::base(true).'/index.php", {option:"com_ajax", plugin:"jlexreview", format:"json", group:"content", status:s}, function(d){
								
								Joomla.submitform(task, $(\'[name=adminForm]\')[0]);
							}, "json");
							return false;
						}

						Joomla.submitform(task, $(\'[name=adminForm]\')[0]);
						return;
					}

					Joomla.submitform(task, $(\'[name=adminForm]\')[0]);
				}
			});
		})(jQuery);';

		$doc->addScriptDeclaration($js);
	}
}

Anon7 - 2022
AnonSec Team