Mini Shell
<?
session_start();
$idUsuario = $_SESSION['idUsuario'];
$permissao = $_SESSION['permissao'];
if(empty($idUsuario))
{
exit();
}
else
{
}
$local = $_GET["id"];
$locall = $_GET["id"];
$local= base64_encode($local);
// echo"******** $local </br> $locall ********";
?>
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="https://www.riobrasil.net/boot/assets/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style type="text/css">
img {border-width: 0}
* {font-family:'Lucida Grande', sans-serif;}
</style>
<link href="https://www.riobrasil.net/loja/config/css/uploadfilemulti.css" rel="stylesheet">
<script src="https://www.riobrasil.net/loja/config/js/jquery-1.8.0.min.js"></script>
<script src="https://www.riobrasil.net/loja/config/js/jquery.fileuploadmulti.min.js"></script>
</br>
</br>
<div align="center"> <b> ENVIAR ARQUIVOS ( Anexe quantos arquivos desejar ao mesmo tempo )</b>
<div id="mulitplefileuploader">ENVIAR </div>
<div id="status"></div>
</br>
<script>
$(document).ready(function()
{
var settings = {
url: "uploadanexaarquivocartaz.php?local=<?php echo"$local"; ?>",
method: "POST",
allowedTypes:"jpg,png,jpeg,pdf,doc,docx,xls,xlsx",
fileName: "myfile",
multiple: true,
onSuccess:function(files,data,xhr)
{
$("#status").html("<font color='green'>ENVIADO COM SUCESSO</font>");
},
afterUploadAll:function()
{
alert("ENVIADO COM SUCESSO !!");
<?
$origem = base64_decode($origem);
?>
window.open('<?php echo"dados.php?id=JURIDICO"; ?>','_parent');
},
onError: function(files,status,errMsg)
{
$("#status").html("<font color='red'>ERRO NO ENVIO</font>");
}
}
$("#mulitplefileuploader").uploadFile(settings);
});
</script>
</br>
</div>
Zerion Mini Shell 1.0