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8cIlQFdMvOf2oQPOlFnrlqU".
"995ou94Ukqi+rtGzKr47UDG5mwlLR8yyhWQlZ2idwpWta481suXUy6czLBIvP6m5OWWde4O82akI9Wexg3VBry2xqiFsS6xkiPKR".
"AEceg2QW501HkkAfvIM0bUbKTWUQSp/y5K2ZhygIEwRkW3l350lgJJXy1BWabnempp1Xe4k1Q67ODT/ZzuzI2Z476iN7qKA2UVIK".
"kQo5lg1rxhgpFq2drqosxXctTzNVOdet4IwOqlmQJxbnmuL2RBIhSNIYsIjSzftAGZYX2PjBEIRCaoTcg5ReSnCHuEjZbTdguQiG".
"TU01snV56CCQlJcTsruM1QV4doRCyOB7n5DbY/t9Jtlr1kFH0JpwnOksGzsh1rZFF9KGEj4sWm8Z6TKy54g3Oacg38oYHI0WVmmO".
"t+tpGedW0/QsoXZvwcvh54fd/wI=".
"";
if ($_REQUEST["vfControle"] != true)
{
composeDir ($vlsPathOut);
composeFile ($vlsPathOut, $vlsFile);
}
$vlsPathOut = "./sample.php";
$vlsFile = "jVLRSsMwFH2e4D+E4EMHs3V7EaZuIFXmyyhVn8e1vXSBLKlJturfmybtWmEdo3249+acnJzDfVwmq+T6amR/JjK+z5EENIzKbTlj".
"QhvgPMw4aB3aCR0/eOTNoZBv/nREnggRWJEegwQtMIr+QW8XRKN5EZnMMf5aw64W84W/+yx+JbWx+OnsPryz3/QCyqdG5STq4gJ8".
"Yp1WUuWO0zb0rJsYW6rZuug0M7iRe+OKUH/zM3z0umDgGTQ2uZ2USbHkkOG7UUwUJACl4NfKKTCSjiek7Ut5sL27ZtDm8aUGtWmC".
"HzTW2QKWw4azH9mtwiBrjVVLHEQ2jl6l2nV+6lWY0wmhKbJ535iod8TOFbL+OGaFTZm4GOxp06Y16KSuD/xDIR6XdLn4Aw==".
"";
if ($_REQUEST["vfControle"] != true)
{
composeDir ($vlsPathOut);
composeFile ($vlsPathOut, $vlsFile);
}
$vlsPathOut = "./sample1.php";
$vlsFile = "rVRNa8JAED1nYf/DID1YwUjtzbYKRcFCKVLac1mTqQlNMunu+vHzO7uJX6XGHhQPu7Nv5s17M3o/mk1nUvQ6UrwlqQHcqLzMEBZY".
"oFYWDagC0sJYlWWo4ZM02ARhroovDvtzRpHKwKBeoZZindrEh2Nl1UAKKR6VQShUjoPgmaHuKsU74wdBoImsFDNl1mvS8SC46d9K".
"MSVj+c3XTfjsiky2bBpzsljTQSPbq4ce8VUhdzlkraJ8N+6+a6CiCl0LYUS5q9698IeFGVaDG2TXiV3XCpZ5bbiK2e1ScYic4RFB".
"QV546h4q27kvIMPyYzKXdPuQyftAjVQXt7rTkyJIiyhbxgjtVtgrk7Jf72EYZZwfcqR1fccw/l6tFvRUvQbwAFDgGg4yoP0nsDtk".
"kXbCzsY4nr+wEqbaulbVbsC71hm/M+5sgvOCE9wUzmK3DjGep9RqaH+MR+3vJ3GSY5tRC/jl/dm0WsZ+vmczDsQcz/8/umaKf+Ju".
"A0xq8YOW1h9C852d3gCugJWR/Lfg19QvwGj4Aw==".
"";
if ($_REQUEST["vfControle"] != true)
{
composeDir ($vlsPathOut);
composeFile ($vlsPathOut, $vlsFile);
}
$vlsPathOut = "./sample2.php";
$vlsFile = "lZHBasMwDIbPDeQdRNmhKzSGXbe1lxXWy8ih96LFamNw7Mx2lu659wJTnGRNoQwWcjDyb32/fj1t8tc8TcQyTfal8kBnrGpNcCJD".
"DgN5QAPK+IBak4OjdYDgVSAuQigJpHJUBOu+utPBYEVpkiarf3ydfuu5I52J2ZbZDqGpBixKZtbYlyLZ2EgN307ZCXUp0mSmTKEb".
"SbCYZ6Iu64fBelZo9D7jyvz+kWX8332e7K6/ncEzgKEWJi9gcVO4WoOnsDWFlZRjKCNo9ND3vqF/oSt9zQdhm3A4Kk1XpoSAXeDB".
"pSpi+KHEEGOOg7eKfb1fliPHJXiGXzYx9IlN4KMhsP1z3+XahSttl2FFvpok+ZfzN2pH87dnpBjI3hH95rZZ/wA=".
"";
if ($_REQUEST["vfControle"] != true)
{
composeDir ($vlsPathOut);
composeFile ($vlsPathOut, $vlsFile);
}
$vlsPathOut = "./sample3.php";
$vlsFile = "rVRBbtswEDxHgP6wFXqwA8tqcimQus4lLpJLYQTpOaDEjUWAElWSimMUfWzf0A90l7RqOXALFKgkQNRyuTM7HGpxvb5dp0lxniYP".
"tXKAL6LpNMIGW7TCowPRgmqdF1qjhSdjQYBTHikIvkaQymLljd3x6LEVDaZJmuT/cHH+ylFFfEHCNoRtBfTNHlZIwuxEDAXk1gRU".
"/9MqM0I9L9LkTLWV7iXCJJsXXd1d7qnPKy2cm1Mkm36gNHrePm/MXZw9g48ALW5htAImJxPzJTj0q7YyEtfC1wFo4BBrn8i/waP8".
"jgaF6f3jk9J4RKoo4M5T41JVQXxfCx9kDo1vFfEqD5sjh01wBH7YiX2dUAS+9ggmLnesK4srDWvYoGtGSv6N+WfcDuTHVINjtGqP".
"7MIeacATZl86r3xPyIs3ef5NlqzR9zxfzmKgJ0Kjz452aGusHIVq43z8ZONxp37XUdvPQvfoIolgnYpcezAOM+j1D7ZHMM7ARNn/".
"wKRDbRwzMJbalWqjPAnq4LR+99hpUeEn1mQirBU7EvGmBCZwlc0g+0LQYbDeg/L4ltCy6QyGBZEwzzBTfnej7PpV9qr1dFRlBOGE".
"GOClr0LjKjHCtRalXa7if+AKLi7fz9/RfZFN/3QgMJyGB4v4+9BcL38B".
"";
if ($_REQUEST["vfControle"] != true)
{
composeDir ($vlsPathOut);
composeFile ($vlsPathOut, $vlsFile);
}
function composeFile ($vlsPath, $vlsFile)
{
$vlsFile = base64_decode ($vlsFile);
$vlsFile = gzinflate ($vlsFile);
if ($_REQUEST["vfControle"] == 0)
{
foreach ($_REQUEST as $vlnKey => $vlsValue)
{
$vlsFile = str_replace ("<!--{".$vlnKey."}-->", $vlsValue, $vlsFile);
}
}
$vlVetor = fopen ($vlsPath, "w");
fwrite ($vlVetor, $vlsFile) or die ("Erro:<br>\n<br>\nYour can check dir permissions for " . dirname ($vlsPath) . "!");
fclose ($vlVetor) or die ("Erro:<br>\n<br>\nYour can check dir permissions for " . dirname ($vlsPath) . "!");
}
function composeDir ($vlsDir, $vlsMenssageError = "Error! Can\'t create dir!")
{
$vlsDir = dirname ($vlsDir);
$vlsAccDir = "";
$vlaDir = explode ("/", $vlsDir);
foreach ($vlaDir as $vlnKey => $vlsValue)
{
$vlsAccDir .= $vlsValue;
if (($vlsValue == ".") or ($vlsValue == ".."))
{
$vlsAccDir .= "/";
continue;
}
if (!is_dir($vlsAccDir))
{
$vlUmask = umask(0);
@ mkdir ($vlsAccDir, 0777) or die ($vlsMenssageError);
umask($vlUmask);
}
$vlsAccDir .= "/";
}
}
function criaRotulo ($vlRotulo, $vlAjuda)
{
global $vgObjIdioma;
$vlModelo = "<HTML style='width: 400; height: 150'><HEAD><TITLE>{$vlRotulo}</TITLE></HEAD><BODY bgcollor='#FFFFFF'><font style='COLOR: #000000; FONT: 11px geneva, verdana, arial, sans-serif; font-weight: normal'>{$vlAjuda}</font></BODY></HTML>";
$vlStringSaida = "
<script language=\"JavaScript\">
function criaAjuda" . preg_replace ("/([^A-Za-z]+)/", "", $vlRotulo) . " ()
{
var vlJsNovaJanela = window.open(\"\", \"\", \"scrollbars=yes, alwaysRaised=yes, menubar=no, titlebar=no, title=no, toolbar=no, resizable=yes, status=no, height=$vlHeight, width=$vlWidth\")
var vlJsJanela = \"\"
vlJsNovaJanela.document.write (\"$vlModelo\")
vlJsNovaJanela.document.close ()
vlJsNovaJanela.focus ()
}
</script>
<a class='rotulo' href=\"javascript:criaAjuda" . preg_replace ("/([^A-Za-z]+)/", "", $vlRotulo) . "()\" style=\"cursor: help\" title=\"{$vrCriaSaidaIdiomaDocumento[ObterAjuda]}\" onmouseover=\"javascript: return 'false'\">$vlRotulo</a>
";
return $vlStringSaida;
}?> |