2022-01-04 15:41:07 +00:00
|
|
|
<?php
|
2023-07-26 09:21:40 +00:00
|
|
|
/*----------------------------------------------------------------------------------| io.vdm.dev |----/
|
|
|
|
Vast Development Method
|
|
|
|
/-------------------------------------------------------------------------------------------------------/
|
2022-01-04 15:41:07 +00:00
|
|
|
|
2023-07-26 09:21:40 +00:00
|
|
|
@package getBible.net
|
2022-01-04 15:41:07 +00:00
|
|
|
|
2023-07-26 09:21:40 +00:00
|
|
|
@created 3rd December, 2015
|
|
|
|
@author Llewellyn van der Merwe <https://getbible.net>
|
|
|
|
@git Get Bible <https://git.vdm.dev/getBible>
|
|
|
|
@github Get Bible <https://github.com/getBible>
|
|
|
|
@support Get Bible <https://git.vdm.dev/getBible/support>
|
|
|
|
@copyright Copyright (C) 2015. All Rights Reserved
|
|
|
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
2022-01-04 15:41:07 +00:00
|
|
|
|
2023-07-26 09:21:40 +00:00
|
|
|
/------------------------------------------------------------------------------------------------------*/
|
2022-01-04 15:41:07 +00:00
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
2024-04-27 20:51:22 +00:00
|
|
|
use Joomla\CMS\Language\Text;
|
2022-01-04 15:41:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
<?php if ($today->scripture): ?>
|
|
|
|
<<?php echo $params->get('name_header', 'h3'); ?>><?php echo $today->name; ?></<?php echo $params->get('name_header', 'h3'); ?>>
|
|
|
|
<ul style="list-style-type: none;">
|
|
|
|
<?php foreach ($today->scripture as $scripture): ?>
|
|
|
|
<li><b><?php echo $scripture->nr; ?></b> <?php echo $scripture->text; ?></li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
2023-11-10 08:31:42 +00:00
|
|
|
<?php if ($params->get('link', 2) == 3): ?>
|
2023-11-10 08:28:35 +00:00
|
|
|
<a href="<?php echo $today->local_link; ?>"><?php echo $today->date; ?></a>
|
|
|
|
<?php elseif ($params->get('link', 2) == 2): ?>
|
2023-07-26 09:21:40 +00:00
|
|
|
<a href="<?php echo $today->getbible; ?>" target="_blank"><?php echo $today->date; ?></a>
|
|
|
|
<?php elseif ($params->get('link', 2) == 1): ?>
|
2022-01-04 15:41:07 +00:00
|
|
|
<a href="https://t.me/s/<?php echo $today->telegram; ?>" target="_blank"><?php echo $today->date; ?></a>
|
|
|
|
<?php else: ?>
|
2023-04-05 23:22:46 +00:00
|
|
|
<p><?php echo $today->date; ?></p>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php if ($today->comments): ?>
|
|
|
|
<?php echo $today->comments; ?>
|
2022-01-04 15:41:07 +00:00
|
|
|
<?php endif; ?>
|
2022-01-05 19:40:59 +00:00
|
|
|
<?php elseif ($params->get('type', 1) == 2 && $today->telegram): ?>
|
|
|
|
<?php echo $today->telegram; ?>
|
2023-04-05 23:22:46 +00:00
|
|
|
<?php if ($today->comments): ?>
|
|
|
|
<?php echo $today->comments; ?>
|
|
|
|
<?php endif; ?>
|
2022-01-04 15:41:07 +00:00
|
|
|
<?php else: ?>
|
2024-04-27 20:51:22 +00:00
|
|
|
<?php echo Text::_('MOD_DAILYSCRIPTURE_THERE_WAS_AN_ERROR_LOADING_THE_DAILY_SCRIPTURE_PLEASE_TRY_AGAIN_LATTER'); ?>
|
2022-01-04 15:41:07 +00:00
|
|
|
<?php endif; ?>
|