Spade

Mini Shell

Directory:~$ /home/lmsyaran/www/administrator/components/com_phocacart/views/phocacartorderview/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/www/administrator/components/com_phocacart/views/phocacartorderview/view.html.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();
jimport( 'joomla.application.component.view' );

class PhocaCartCpViewPhocacartOrderView extends JViewLegacy
{
	public function display($tpl = null) {

		$app			= JFactory::getApplication();
		$this->t		= PhocacartUtils::setVars('orderview');
		$this->r		= new PhocacartRenderAdminview();
		$id				= $app->input->get('id', 0, 'int');
		$type			= $app->input->get('type', 0, 'int');
		$format			= $app->input->get('format', '',
'string');

		$order	= new PhocacartOrderRender();
		$o = $order->render($id, $type, $format);
		echo $o;



		$media = new PhocacartRenderAdminmedia();

		parent::display($tpl);
	}

}
?>