Beispiel #1
0
<?php

/**
 * @package Freestyle Joomla
 * @author Freestyle Joomla
 * @copyright (C) 2013 Freestyle Joomla
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
?>

<?php 
echo FST_Helper::PageStyle();
echo FST_Helper::PageTitle("TESTIMONIALS", $this->product['title']);
$hideprodlink = 1;
$product =& $this->product;
include JPATH_SITE . DS . 'components' . DS . 'com_fst' . DS . 'views' . DS . 'test' . DS . 'snippet' . DS . '_prod.php';
//include "components/com_fst/views/test/snippet/_prod.php"
?>
<div class="fst_spacer"></div>
<div class="fst_clear"></div>
<?php 
$count = $this->comments->DisplayComments();
if ($count == 0) {
    ?>
	<?php 
    if ($product['id'] == 0) {
        ?>
		<?php 
        if ($product['title'] != "") {
            ?>
Beispiel #2
0
<?php

/**
 * @package Freestyle Joomla
 * @author Freestyle Joomla
 * @copyright (C) 2013 Freestyle Joomla
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
defined('_JEXEC') or die;
?>

<?php 
echo $this->tmpl ? FST_Helper::PageStylePopup() : FST_Helper::PageStyle();
?>


	<?php 
echo $this->tmpl ? FST_Helper::PageTitlePopup("TESTIMONIALS", "ADD_A_TESTIMONIAL") : FST_Helper::PageTitle("TESTIMONIALS", "ADD_A_TESTIMONIAL");
?>
	<div class='fst_kb_comment_add' id='add_comment'>
		<?php 
$this->comments->DisplayAdd();
?>
	</div>

	<div id="comments"></div>

	<div class='fst_comments_result_<?php 
echo $this->comments->uid;
?>
'></div>