<?php
/* Smarty version 4.5.5, created on 2026-07-01 15:33:01
  from 'cms_template:package_summary_1' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.5.5',
  'unifunc' => 'content_6a456b6db2e868_01954478',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '90a4b792661da065bf3998908950d71a1b63cdc7' => 
    array (
      0 => 'cms_template:package_summary_1',
      1 => 1782680030,
      2 => 'cms_template',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6a456b6db2e868_01954478 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/csmtrave/public_html/cmss/lib/smarty/plugins/modifier.count.php','function'=>'smarty_modifier_count',),1=>array('file'=>'/home/csmtrave/public_html/cmss/lib/plugins/function.uploads_url.php','function'=>'smarty_function_uploads_url',),2=>array('file'=>'/home/csmtrave/public_html/cmss/lib/smarty/plugins/modifier.replace.php','function'=>'smarty_modifier_replace',),));
if (smarty_modifier_count($_smarty_tpl->tpl_vars['items']->value) > 0) {?>
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['items']->value, 'item');
$_smarty_tpl->tpl_vars['item']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->do_else = false;
?>

        <?php $_smarty_tpl->_assignInScope('tt', $_GET['tt']);?>
        <?php if ($_smarty_tpl->tpl_vars['tt']->value == '' || stristr($_smarty_tpl->tpl_vars['item']->value->trip_types,$_smarty_tpl->tpl_vars['tt']->value)) {?>

        <div class="col-xl-3 col-lg-4 col-md-6 col-sm-6 col-12">
            <div class="tour-wrapper radius-10 image-transform border">
                <div class="image-area radius-6">
                    <a href="<?php echo $_smarty_tpl->tpl_vars['item']->value->url;?>
">
                       <?php if (empty($_smarty_tpl->tpl_vars['item']->value->image)) {?>
   <img class="hover-image" src="https://www.csmtravel.com/cmss/uploads/csm/assets/images/breadcrumb/01.webp" alt="Default Breadcrumb" loading="lazy">
<?php } else { ?>
   <img class="hover-image" src="<?php echo smarty_function_uploads_url(array(),$_smarty_tpl);?>
/<?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['item']->value->image,' ','%20');?>
" alt="<?php echo (($tmp = htmlspecialchars((string)$_smarty_tpl->tpl_vars['item']->value->title, ENT_QUOTES, 'UTF-8', true) ?? null)===null||$tmp==='' ? '' ?? null : $tmp);?>
" loading="lazy">
<?php }?>
                        <!-- Grid View keeps Price on the Image Badge -->
                        <span class="tag">$ <?php echo $_smarty_tpl->tpl_vars['item']->value->starting_price;?>
 /pp</span>
                    </a>
                </div>
                <div class="content">
                    <h6 class="title"><a href="<?php echo $_smarty_tpl->tpl_vars['item']->value->url;?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value->title;?>
</a></h6>
                    
                    <ul class="meta-content" style="margin-bottom: 8px;">
                        <li><?php echo $_smarty_tpl->tpl_vars['item']->value->subtitle;?>
</li>
                    </ul>
                    <ul class="meta-content" style="margin-bottom: 8px;">
                        <li><i class="fa-light fa-users"></i> <?php echo $_smarty_tpl->tpl_vars['item']->value->trip_types;?>
</li>
                    </ul>
                    <ul class="meta-content" style="margin-bottom: 12px;">
                        <li><i class="fa-light fa-clock"></i> <?php echo $_smarty_tpl->tpl_vars['item']->value->duration;?>
</li>
                    </ul>
                    
                    
                    <div class="button-area">
                        <a href="<?php echo $_smarty_tpl->tpl_vars['item']->value->url;?>
" class="rts-btn btn-primary border">View Details</a>
                    </div>
                </div>
            </div>
        </div>

        <?php }?>

    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
}
}
