AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.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 : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/w/e/awebpaca/blog/administrator/components/com_jabuilder/controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/w/e/awebpaca/blog/administrator/components/com_jabuilder/controllers/pages.php
<?php

/**
 * ------------------------------------------------------------------------
 * JA Builder Component
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
 */

defined('_JEXEC') or die;

class JabuilderControllerPages extends JControllerAdmin {

	public function getModel($name = 'Page', $prefix = 'JabuilderModel', $config = array('ignore_request' => true)) {

		$model = parent::getModel($name, $prefix, $config);
		return $model;
	}

	public function delete() {
		// Check for request forgeries
		JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
		$cid = JFactory::getApplication()->input->get('cid', array(), 'array');
		foreach ($cid as $id) {
			$this->deleteMenu($id);
		}
		parent::delete();
	}

	public function deleteMenu($id) {
		$q = "DELETE FROM #__menu WHERE link = 'index.php?option=com_jabuilder&view=page&id=$id' AND home != 1";
		$db = JFactory::getDbo();
		$db->setQuery($q);
		$db->execute();
	}

}

Anon7 - 2022
AnonSec Team