[ SYSTEM ]: Windows NT SWD-ELEARN-11 10.0 build 20348 (Windows Server 2016) AMD64
[ SERVER ]: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 | PHP: 7.3.9
[ USER ]: Elearn | IP: 10.201.204.156
GEFORCE FILE MANAGER
/
C:
/
xampp
/
htdocs
/
Ajaji
/
components
/
com_gridbox
/
controllers
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 account.php
2,588 B
SET
[ EDIT ]
|
[ DEL ]
📄 associations.php
1,615 B
SET
[ EDIT ]
|
[ DEL ]
📄 calendar.php
2,300 B
SET
[ EDIT ]
|
[ DEL ]
📄 fonts.php
3,768 B
SET
[ EDIT ]
|
[ DEL ]
📄 icons.php
2,865 B
SET
[ EDIT ]
|
[ DEL ]
📄 index.html
33 B
SET
[ EDIT ]
|
[ DEL ]
📄 pages.php
1,524 B
SET
[ EDIT ]
|
[ DEL ]
📄 reviews.php
11,665 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: associations.php
<?php /** * @package Gridbox * @author Balbooa http://www.balbooa.com/ * @copyright Copyright @ Balbooa * @license http://www.gnu.org/licenses/gpl.html GNU/GPL */ defined('_JEXEC') or die; // import Joomla controllerform library jimport('joomla.application.component.controllerform'); class gridboxControllerAssociations extends JControllerForm { public function __construct($config = array()) { parent::__construct($config); } public function getModel($name = '', $prefix = '', $config = array('ignore_request' => true)) { return parent::getModel($name, $prefix, array('ignore_request' => false)); } public function setCookie() { $key = $this->input->get('key', '', 'string'); $value = $this->input->get('value', '', 'string'); setcookie($key, $value, time()+7200); exit; } public function getLinks() { $id = $this->input->get('id', 0, 'int'); $type = $this->input->get('type', '', 'string'); $model = $this->getModel(); $data = $model->getLinks($id, $type); $str = json_encode($data); echo $str; exit; } public function saveLinks() { if (JLanguageAssociations::isEnabled()) { $id = $this->input->get('id', 0, 'int'); $type = $this->input->get('type', '', 'string'); $items = $this->input->get('items', [], 'array'); $model = $this->getModel(); $model->saveLinks($id, $type, $items); } exit; } }