Your IP : 216.73.216.84


Current Path : /home/helpink/www/libraries/astroid/framework/frontend/blog/
Upload File :
Current File : /home/helpink/www/libraries/astroid/framework/frontend/blog/quote.php

<?php
/**
 * @package   Astroid Framework
 * @author    Astroid Framework Team https://astroidframe.work
 * @copyright Copyright (C) 2023 AstroidFrame.work.
 * @license https://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
 * 	DO NOT MODIFY THIS FILE DIRECTLY AS IT WILL BE OVERWRITTEN IN THE NEXT UPDATE
 *  You can easily override all files under /frontend/ folder.
 *	Just copy the file to ROOT/templates/YOURTEMPLATE/html/frontend/blog/ folder to create and override
 */
// No direct access.
defined('_JEXEC') or die;
extract($displayData);

$params = $article->params;
$text = $params->get('astroid_article_quote_text', '');
$author = $params->get('astroid_article_quote_author', '');
if (empty($text) && empty($author)) {
   return;
}
?>
<div class="article-quote-area">
   <blockquote class="blockquote">
      <?php if (!empty($text)) { ?>
         <p><?php echo $text; ?></p>
      <?php } ?>
      <?php if (!empty($author)) { ?>
         <footer class="blockquote-footer"><cite title="<?php echo $author; ?>"><?php echo $author; ?></cite></footer>
         <?php } ?>
   </blockquote>
</div>