| Server IP : 104.21.84.107 / Your IP : 104.23.243.196 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/investigaciones2025/components/com_customtables/ |
Upload File : |
<?php
/**
* CustomTables Joomla! 3.x/4.x/5.x Component
* @package Custom Tables
* @author Ivan Komlev <[email protected]>
* @link https://joomlaboat.com
* @copyright (C) 2018-2024. Ivan Komlev
* @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html
**/
// no direct access
defined('_JEXEC') or die();
use CustomTables\common;
use Joomla\CMS\MVC\Controller\BaseController;
class CustomTablesController extends BaseController
{
function display($cachable = false, $urlparams = array())
{
$file = common::inputGetString('file');
if ($file != '') {
//Load file instead
$processor_file = CUSTOMTABLES_LIBRARIES_PATH . DIRECTORY_SEPARATOR . 'fieldtypes' . DIRECTORY_SEPARATOR . '_type_file.php';
require_once($processor_file);
CT_FieldTypeTag_file::process_file_link($file);
common::inputSet('view', 'files');
parent::display();
return;
}
// Make sure we have the default view
if (common::inputGetCmd('view') == '') {
common::inputSet('view', 'catalog');
parent::display();
} else {
$view = common::inputGetCmd('view');
switch ($view) {
case 'log' :
require_once('controllers/log.php');
break;
case 'edititem' :
require_once('controllers/save.php');
break;
case ($view == 'home' || $view == 'catalog') :
require_once('controllers/catalog.php');
break;
case 'editphotos' :
require_once('controllers/editphotos.php');
break;
case 'editfiles' :
require_once('controllers/editfiles.php');
break;
case 'createuser':
case 'resetuserpassword':
case 'paypal':
case 'a2checkout':
case 'files':
case 'fileuploader':
case 'structure' :
parent::display();
break;
case 'details' :
require_once('controllers/details.php');
break;
}
}
}
}