<?php /* Smarty version 3.1.27, created on 2025-03-06 17:42:49
         compiled from "my:security" */ ?>
<?php
/*%%SmartyHeaderCode:202387481067c9de99de8c99_72780884%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e3d20f289b0ccb51b335a89fa831634d79a918b4' => 
    array (
      0 => 'my:security',
      1 => 1741282969,
      2 => 'my',
    ),
  ),
  'nocache_hash' => '202387481067c9de99de8c99_72780884',
  'variables' => 
  array (
    'frm' => 0,
    'dirs' => 0,
    'd' => 0,
    'fchk' => 0,
    'f' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_67c9de99e6bfa1_72529129',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_67c9de99e6bfa1_72529129')) {
function content_67c9de99e6bfa1_72529129 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '202387481067c9de99de8c99_72780884';
?>
 <?php echo $_smarty_tpl->getSubTemplate ("my:admin_header", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>
 <h3>Security</h3> <?php if ($_smarty_tpl->tpl_vars['frm']->value['say'] == "invalid_passphrase") {?> <div class="alert alert-danger">Invalid Alternative Passphrase. No data has been updated.</div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['frm']->value['say'] == "done") {?> <div class="alert alert-success">Security settings has been updated.</div> <?php }?> <?php if ($_smarty_tpl->tpl_vars['dirs']->value) {?> <div class="alert alert-danger"> <b>Security Warning:</b><br><br> Please upload the .htaccess file to the following folders:<br> <?php
$_from = $_smarty_tpl->tpl_vars['dirs']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['d'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['d']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['d']->value) {
$_smarty_tpl->tpl_vars['d']->_loop = true;
$foreach_d_Sav = $_smarty_tpl->tpl_vars['d'];
?><li><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['d']->value, ENT_QUOTES, 'UTF-8', true);?>
</li><?php
$_smarty_tpl->tpl_vars['d'] = $foreach_d_Sav;
}
?> You can find the .htaccess files in the latest archive with the hyip manager script. </div> <?php }?>  <h3>Monitor Template Files Change:</h3> <div class="alert alert-info"> This function will monitor template files and once it changed, admin will receive e-mail about changes. It will protect your website against unauthorized changes of your template files. Note: files are checking once in minute if one user is browsing your website atleast. </div> <br> <?php if ($_smarty_tpl->tpl_vars['fchk']->value['enabled'] == 0) {?> <table class=form> <tr> <th>Status</th> <td><span class="badge sticker badge-danger">Off</span> <a href="?a=security&action=monitor_files&status=1" class="sbmt btn btn-info">Turn on</a> </td> </tr> </table> <?php } else { ?> <table class=form> <tr> <th>Status</th> <td><span class="badge sticker badge-success">On</span> <a href="?a=security&action=monitor_files&status=0&k=<?php echo $_smarty_tpl->tpl_vars['fchk']->value['update_key'];?>
" class="sbmt btn btn-danger">Turn Off</a> </td> </tr> <tr> <th>Start Date</th> <td><?php echo $_smarty_tpl->tpl_vars['fchk']->value['start_date'];?>
</td> </tr> <tr> <th>Files Monitored</th> <td><?php echo intval($_smarty_tpl->tpl_vars['fchk']->value['nfiles']);?>
</td> </tr> <tr> <th style="vertical-align:top">Last Updated Files:</th> <td> <?php
$_from = $_smarty_tpl->tpl_vars['fchk']->value['files'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['f'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['f']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['f']->value) {
$_smarty_tpl->tpl_vars['f']->_loop = true;
$foreach_f_Sav = $_smarty_tpl->tpl_vars['f'];
?> <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['f']->value['filename'], ENT_QUOTES, 'UTF-8', true);?>
 <small><?php echo $_smarty_tpl->tpl_vars['f']->value['date'];?>
</small><br> <?php
$_smarty_tpl->tpl_vars['f'] = $foreach_f_Sav;
}
if (!$_smarty_tpl->tpl_vars['f']->_loop) {
?> No files change detected. <?php
}
?> </td> </tr> </table> <?php }?> <?php echo $_smarty_tpl->getSubTemplate ("my:admin_footer", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0);
?>
 <?php }
}
?>