68 lines
2.8 KiB
PHP
68 lines
2.8 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-06-22 13:37:30
|
|
from 'C:\xampp\htdocs\hotelcommerce\admin\themes\default\template\controllers\backup\helpers\view\view.tpl' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_6494327a476619_96637687',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'c6c73a137f89bf356b0a7e8f5269748d203eb40c' =>
|
|
array (
|
|
0 => 'C:\\xampp\\htdocs\\hotelcommerce\\admin\\themes\\default\\template\\controllers\\backup\\helpers\\view\\view.tpl',
|
|
1 => 1687433793,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_6494327a476619_96637687 (Smarty_Internal_Template $_smarty_tpl) {
|
|
$_smarty_tpl->_loadInheritance();
|
|
$_smarty_tpl->inheritance->init($_smarty_tpl, true);
|
|
?>
|
|
|
|
|
|
|
|
<?php
|
|
$_smarty_tpl->inheritance->instanceBlock($_smarty_tpl, 'Block_4933835416494327a4411f0_51957190', "override_tpl");
|
|
?>
|
|
|
|
<?php $_smarty_tpl->inheritance->endChild($_smarty_tpl, "helpers/view/view.tpl");
|
|
}
|
|
/* {block "override_tpl"} */
|
|
class Block_4933835416494327a4411f0_51957190 extends Smarty_Internal_Block
|
|
{
|
|
public $subBlocks = array (
|
|
'override_tpl' =>
|
|
array (
|
|
0 => 'Block_4933835416494327a4411f0_51957190',
|
|
),
|
|
);
|
|
public function callBlock(Smarty_Internal_Template $_smarty_tpl) {
|
|
?>
|
|
|
|
<?php if (!(isset($_smarty_tpl->tpl_vars['errors']->value)) || count($_smarty_tpl->tpl_vars['errors']->value) == 0) {?>
|
|
<div class="panel">
|
|
<h3><i class="icon-download"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Download'),$_smarty_tpl ) );?>
|
|
</h3>
|
|
<div class="alert alert-success"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Beginning the download ...'),$_smarty_tpl ) );?>
|
|
</div>
|
|
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Backup files should automatically start downloading.'),$_smarty_tpl ) );?>
|
|
</p>
|
|
<p><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'If not,'),$_smarty_tpl ) );?>
|
|
<b><a href="<?php echo $_smarty_tpl->tpl_vars['url_backup']->value;?>
|
|
" class="btn btn-default"><i class="icon-download"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'please click here!'),$_smarty_tpl ) );?>
|
|
</a></b></p>
|
|
<iframe style="width:0px; height:0px; overflow:hidden; border:none;" src="<?php echo $_smarty_tpl->tpl_vars['url_backup']->value;?>
|
|
"></iframe>
|
|
</div>
|
|
<?php }
|
|
}
|
|
}
|
|
/* {/block "override_tpl"} */
|
|
}
|