Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/news/components/com_simple_review/templates/default/review/ |
Upload File : |
<?php /** * $Id: template.php 334 2010-11-20 08:10:27Z rowan $ * * Copyright (C) 2005-2010 Rowan Youngson * * This file is part of Simple Review. * * Simple Review is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * Simple Review is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with Simple Review. If not, see <http://www.gnu.org/licenses/>. */ // ensure this file is being included by a parent file defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' ); class TemplateReviewFront extends TemplateReviewFrontBase { function TemplateReviewFront(&$setup) { parent::Addon_Base_Template($setup, __FILE__); $cssUrl = $this->GetUrlToTemplateDirectory().'css/'; $cssFile = $cssUrl.'template.css'; $this->addonManager->Bridge->IncludeCssLink($cssFile); $cssFile = $cssUrl.'review.css'; $this->addonManager->Bridge->IncludeCssLink($cssFile); } function Display() { //Setup the pathway, remove these three lines if you don't want a pathway $categoryModule =& $this->setup->modules->categoryModule; $vm =& $this->setup->viewModel; $categoryModule->displayCategoryPathway($vm->category->id, $vm->name); $epoc = strtotime($vm->createdDate); $isoDate = date("Y-m-d", $epoc); require('template.html.php'); } } ?>