<?php
/* Smarty version 4.5.5, created on 2026-07-25 12:44:49
  from 'cms_template:Simplex News Detail' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.5',
  'unifunc' => 'content_6a6493a11a0bd6_51352044',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '46857f6fa4ac45aba5ed5681333f747921b419a1' => 
    array (
      0 => 'cms_template:Simplex News Detail',
      1 => '1539596259',
      2 => 'cms_template',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6a6493a11a0bd6_51352044 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/tnsmborg/public_html/lib/plugins/modifier.cms_date_format.php','function'=>'smarty_modifier_cms_date_format',),));
if ((isset($_smarty_tpl->tpl_vars['entry']->value->canonical))) {?>
  <?php $_smarty_tpl->_assignInScope('canonical', $_smarty_tpl->tpl_vars['entry']->value->canonical ,false ,32);?>
  <?php $_smarty_tpl->_assignInScope('main_title', $_smarty_tpl->tpl_vars['entry']->value->title ,false ,32);
}?>

<?php if ($_smarty_tpl->tpl_vars['entry']->value->summary) {?>
    <?php echo $_smarty_tpl->tpl_vars['entry']->value->summary;?>

<?php }?>
    <?php echo $_smarty_tpl->tpl_vars['entry']->value->content;?>

<?php if ($_smarty_tpl->tpl_vars['entry']->value->extra) {?>
        <?php echo $_smarty_tpl->tpl_vars['extra_label']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['entry']->value->extra;?>

<?php }
if ($_smarty_tpl->tpl_vars['return_url']->value != '') {?>
    <br />
        <span class='back'>&#8592; <?php echo $_smarty_tpl->tpl_vars['return_url']->value;
if ($_smarty_tpl->tpl_vars['category_name']->value != '') {?> - <?php echo $_smarty_tpl->tpl_vars['category_link']->value;
}?></span>
<?php }?>

<?php if ((isset($_smarty_tpl->tpl_vars['entry']->value->fields))) {?>
  <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['entry']->value->fields, 'field');
$_smarty_tpl->tpl_vars['field']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['field']->value) {
$_smarty_tpl->tpl_vars['field']->do_else = false;
?>
     <div>
        <?php if ($_smarty_tpl->tpl_vars['field']->value->type == 'file') {?>
                <img src='<?php echo $_smarty_tpl->tpl_vars['entry']->value->file_location;?>
/<?php echo $_smarty_tpl->tpl_vars['field']->value->value;?>
' alt='' />
        <?php } else { ?>
          <?php echo $_smarty_tpl->tpl_vars['field']->value->name;?>
: <?php echo $_smarty_tpl->tpl_vars['field']->value->value;?>

        <?php }?>
     </div>
  <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>
    <footer class='news-meta'>
    <?php if ($_smarty_tpl->tpl_vars['entry']->value->postdate) {?>
        <?php echo smarty_modifier_cms_date_format($_smarty_tpl->tpl_vars['entry']->value->postdate);?>

    <?php }?>
    <?php if ($_smarty_tpl->tpl_vars['entry']->value->category) {?>
        <strong><?php echo $_smarty_tpl->tpl_vars['category_label']->value;?>
</strong> <?php echo $_smarty_tpl->tpl_vars['entry']->value->category;?>

    <?php }?>
    <?php if ($_smarty_tpl->tpl_vars['entry']->value->author) {?>
        <strong><?php echo $_smarty_tpl->tpl_vars['author_label']->value;?>
</strong> <?php echo $_smarty_tpl->tpl_vars['entry']->value->author;?>

    <?php }?>
    </footer><?php }
}
