File manager - Edit - /home/jardides/www/Jardi-design/administrator/components/com_templateck/views/template/tmpl/ajaxsaveresponsivecustomcode.php
Back
<?php /** * @name Template Creator CK 3 * @package com_templateck * @copyright Copyright (C) 2013. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Cedric Keiflin - http://www.template-creator.com - http://www.joomlack.fr */ // No direct access to this file defined('_JEXEC') or die('Restricted access'); $app = JFactory::getApplication(); $templateid = $app->input->get('templateid', '', 'int'); $customcodes = $app->input->get('customcodes', '', 'raw'); $db = JFactory::getDbo(); $query = $db->getQuery(true); $fields = array( $db->quoteName('htmlcode_responsive') . '=\'' . $customcodes .'\'' ); $conditions = array( $db->quoteName('id') . '=' . $templateid ); // udpate the table to store the data $query->update($db->quoteName('#__templateck_templates'))->set($fields)->where($conditions); $db->setQuery($query); if ($result = $db->query()) { return true; } else { return false; } die;
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings