Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/j3/components/com_phocacart/layouts/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/j3/components/com_phocacart/layouts/button_public_download.php

<?php
/* @package Joomla
 * @copyright Copyright (C) Open Source Matters. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 * @extension Phoca Extension
 * @copyright Copyright (C) Jan Pavelka www.phoca.cz
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 */
defined('_JEXEC') or die();
$d = $displayData;
?>
<form action="<?php echo $d['linkdownload'];
?>" method="post" id="phPublicDownload<?php echo
(int)$d['id']; ?>"
class="phItemPublicDownloadBoxForm">
	<input type="hidden" name="id" value="<?php
echo (int)$d['id']; ?>" />
	<input type="hidden" name="task"
value="download.downloadpublic" />
	<input type="hidden" name="tmpl"
value="component" />
	<input type="hidden" name="option"
value="com_phocacart" />
	<input type="hidden" name="return"
value="<?php echo $d['return']; ?>" />
	<div class="ph-pull-right">
		<div class="ph-category-item-public-download">
		<button type="submit" class="<?php echo
$d['s']['c']['btn.btn-primary'] ?>
ph-btn"><span class="<?php echo
$d['s']['i']['download']
?>"></span><?php
		if ($d['title'] != '') {
			echo ' '. $d['title'];
		} else {
			echo ' '. JText::_('COM_PHOCACART_DOWNLOAD');
		}
		?></button>
		</div>
	</div>
	<div class="ph-cb"></div>
	<?php echo Joomla\CMS\HTML\HTMLHelper::_('form.token');
?>
</form>