<?php
/* Smarty version 3.1.34-dev-7, created on 2023-04-11 22:04:32
  from '/disk2/home/areastec/public_html/phpsch/lang/en_us/ReservationDeleted.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.34-dev-7',
  'unifunc' => 'content_6435d97030a081_75214942',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'd9f8d3d2eff88d349df7b39d19e71f95a2e1f4d8' => 
    array (
      0 => '/disk2/home/areastec/public_html/phpsch/lang/en_us/ReservationDeleted.tpl',
      1 => 1601985272,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6435d97030a081_75214942 (Smarty_Internal_Template $_smarty_tpl) {
?><p><strong>Reservation Details:</strong></p>

<p>
	<strong>Start:</strong> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formatdate'][0], array( array('date'=>$_smarty_tpl->tpl_vars['StartDate']->value,'key'=>'reservation_email'),$_smarty_tpl ) );?>
<br/>
	<strong>End:</strong> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formatdate'][0], array( array('date'=>$_smarty_tpl->tpl_vars['EndDate']->value,'key'=>'reservation_email'),$_smarty_tpl ) );?>
<br/>
	<strong>Title:</strong> <?php echo $_smarty_tpl->tpl_vars['Title']->value;?>
<br/>
	<strong>Description:</strong> <?php echo nl2br($_smarty_tpl->tpl_vars['Description']->value);?>

    <?php if (count($_smarty_tpl->tpl_vars['Attributes']->value) > 0) {?>
	<br/>
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['Attributes']->value, 'attribute');
$_smarty_tpl->tpl_vars['attribute']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['attribute']->value) {
$_smarty_tpl->tpl_vars['attribute']->do_else = false;
?>
	<div><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['control'][0], array( array('type'=>"AttributeControl",'attribute'=>$_smarty_tpl->tpl_vars['attribute']->value,'readonly'=>true),$_smarty_tpl ) );?>
</div>
    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>
</p>

<p>
    <?php if (count($_smarty_tpl->tpl_vars['ResourceNames']->value) > 1) {?>
		<strong>Resources (<?php echo count($_smarty_tpl->tpl_vars['ResourceNames']->value);?>
):</strong>
		<br/>
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ResourceNames']->value, 'resourceName');
$_smarty_tpl->tpl_vars['resourceName']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['resourceName']->value) {
$_smarty_tpl->tpl_vars['resourceName']->do_else = false;
?>
            <?php echo $_smarty_tpl->tpl_vars['resourceName']->value;?>

			<br/>
        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
    <?php } else { ?>
		<strong>Resource:</strong>
        <?php echo $_smarty_tpl->tpl_vars['ResourceName']->value;?>

		<br/>
    <?php }?>
</p>

<?php if ($_smarty_tpl->tpl_vars['ResourceImage']->value) {?>
	<div class="resource-image"><img alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['ResourceName']->value, ENT_QUOTES, 'UTF-8', true);?>
" src="<?php echo $_smarty_tpl->tpl_vars['ScriptUrl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['ResourceImage']->value;?>
"/></div>
<?php }?>

<?php if (count($_smarty_tpl->tpl_vars['RepeatRanges']->value) > 0) {?>
	<br/>
	<strong>The reservation occurs on the following dates (<?php echo count($_smarty_tpl->tpl_vars['RepeatRanges']->value);?>
):</strong>
	<br/>
    <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['RepeatRanges']->value, 'date', false, NULL, 'dates', array (
));
$_smarty_tpl->tpl_vars['date']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['date']->value) {
$_smarty_tpl->tpl_vars['date']->do_else = false;
?>
        <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formatdate'][0], array( array('date'=>$_smarty_tpl->tpl_vars['date']->value->GetBegin()),$_smarty_tpl ) );?>

        <?php if (!$_smarty_tpl->tpl_vars['date']->value->IsSameDate()) {?> - <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formatdate'][0], array( array('date'=>$_smarty_tpl->tpl_vars['date']->value->GetEnd()),$_smarty_tpl ) );
}?>
		<br/>
    <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}?>

<p>
    <?php if (!empty($_smarty_tpl->tpl_vars['CreatedBy']->value)) {?>
		<strong>Deleted by:</strong>
        <?php echo $_smarty_tpl->tpl_vars['CreatedBy']->value;?>

		<br/>
		<strong>Delete Reason: <?php echo nl2br($_smarty_tpl->tpl_vars['DeleteReason']->value);?>
</strong>
    <?php }?>
</p>

<p><strong>Reference Number:</strong> <?php echo $_smarty_tpl->tpl_vars['ReferenceNumber']->value;?>
</p>

<a href="<?php echo $_smarty_tpl->tpl_vars['ScriptUrl']->value;?>
">Log in to <?php echo $_smarty_tpl->tpl_vars['AppTitle']->value;?>
</a><?php }
}
