Your IP : 216.73.216.240


Current Path : /home/juvelize/martine/components/com_easybookreloaded/views/easybookreloaded/tmpl/
Upload File :
Current File : /home/juvelize/martine/components/com_easybookreloaded/views/easybookreloaded/tmpl/all.php

<?php

/**
 * @copyright
 * @package    Easybook Reloaded - EBR for Joomla! 3.x
 * @author     Viktor Vogel <admin@kubik-rubik.de>
 * @version    3.4.1.1-FREE - 2021-08-29
 * @link       https://kubik-rubik.de/ebr-easybook-reloaded
 *
 * @license    GNU/GPL
 * This program 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.
 *
 * This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 */
defined('_JEXEC') || die('Restricted access');

use EasybookReloaded\Helper;
use Joomla\CMS\Language\Text;

?>
<div id="easybook">
    <?php if (Helper::getParams('showPageTitle', true)) : ?>
        <h2 class="componentheading"><?php echo $this->heading ?></h2>
    <?php endif; ?>
    <div class="easy_entrylink">
        <?php if (Helper::getParams('offline')) : ?>
            <?php echo $this->loadTemplate('header'); ?>
            <?php echo Text::_('COM_EASYBOOKRELOADED_GUESTBOOK_OFFLINE_FRONTEND'); ?>
            <?php echo $this->loadTemplate('footer'); ?>
        <?php else : ?>
            <?php echo $this->loadTemplate('header'); ?>
            <?php echo $this->loadTemplate('entries'); ?>
            <?php if (empty($this->entryId)) : ?>
                <?php if (Helper::getParams('showCountEntries', true)) : ?>
                    <div>
                        <strong class='easy_pagination'><?php echo $this->count ?>
                            <?php if ($this->count === 1) : ?>
                                <?php echo Text::_('COM_EASYBOOKRELOADED_ENTRY_IN_THE_GUESTBOOK'); ?>
                            <?php else : ?>
                                <?php echo Text::_('COM_EASYBOOKRELOADED_ENTRIES_IN_THE_GUESTBOOK'); ?>
                            <?php endif; ?>
                        </strong>
                    </div>
                <?php endif; ?>
                <?php if ($this->pagination->total > $this->pagination->limit) : ?>
                    <div class="easy_pagination">
                        <?php echo $this->pagination->getPagesLinks(); ?>
                    </div>
                <?php endif; ?>
            <?php endif; ?>
            <?php echo $this->loadTemplate('footer'); ?>
        <?php endif; ?>
    </div>
</div>