<?php
	
function fns_cc()
{
	global $indt, $indp1, $indp2, $indp3, $indp4, $indpa;
	
$security = '<?php
$security = array(
\'security\' =>	\'1\',
);';
	
	file_put_contents('../../cache/cache_security.php', $security);
	
	if(function_exists('opcache_invalidate'))
	opcache_invalidate('../../cache/cache_security.php');

$index = '<!DOCTYPE html>
<html>

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<style type="text/css">
body 
{
    margin: auto;
    margin-top: 40px;
    margin-bottom: 0px;
    width: 100%; 
}
@media (min-width: 768px)
{
	body 
	{
	    width: 68%; 
	}
}
@media (min-width: 1024px)
{
	body 
	{
	    width: 50%; 
	}
}
p 
{
    clear: both;
    float: left;
    width: 98%;
    padding-left: 1%;
    padding-right: 1%;
    font-family: Arial; 
	color: #626262;
	font-size: 1em; 
    margin: 17px 0 17px 0;
}
a
{
	font-family: Arial; 
	color: #462c64;
}
#bloc_content
{   
    clear: both;
    float: left;
    width: 100%;
    background: #eeeeee;
    border: 1px solid #dedede;
    border-left: none;
    border-right: none;
    border-radius: 0;
    text-align: center;
    padding-bottom: 20px;
}
@media (min-width: 768px)
{
	#bloc_content 
	{
	    border: 1px solid #dedede;
	    border-radius: 6px;
	}
}
#p_logo
{
	float: left;
	width: 100%;
	margin-top: 10px;
}
#p_logo img
{
	width: 222px;
	height: 90px;
}
#p_title
{
	clear: both;
	float: left;
	width: 100%;
	font-family: Arial; 
	color: #462c64;
	font-size: 1.2em; 
	margin-bottom: 20px;
}
</style>

<title>'. $indt .'</title>

</head>

<body>

<form method="post" action="install.php" id="bloc_content">
	
	<div id="p_logo">
		<img src="https://www.script-pag.com/images/logo_spb.png" alt="Script PAG" />
	</div>
	
	<div id="p_title">'. $indt .'</div>
	
	<p>'. $indp1 . $indp2 . $indp3 . $indp4 . $indpa .'</p>

</form>

</body>

</html>';
	
	file_put_contents('../../../index.htm', $index);
	
	if(function_exists('opcache_invalidate'))
	opcache_invalidate('../../../index.htm');
}
function fns_del()
{
	if(file_exists('../../cache/cache_security.php'))
	unlink('../../cache/cache_security.php');
	
	if(file_exists('../../../index.htm'))
	unlink('../../../index.htm');
}