Mini Shell

Direktori : /home/sicomercio/domains/sicomerciomppa.com.br/public_html/adm/
Upload File :
Current File : /home/sicomercio/domains/sicomerciomppa.com.br/public_html/adm/addfotogaleria.php

<?
 

$categoria = $_GET["categoria"];

?>


<!DOCTYPE html>
<html>
  <head>
<title>ENVIO DE BANNER</title>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style type="text/css">
      img {border-width: 0}
      * {font-family:'Lucida Grande', sans-serif;}
    </style>
<link href="css/uploadfilemulti.css" rel="stylesheet">
<script src="js/jquery-1.8.0.min.js"></script>
<script src="js/jquery.fileuploadmulti.min.js"></script>

</head>
  <body>
  <center>
  Envie as fotos em JPG 
<div id="mulitplefileuploader">ENVIAR</div>

<div id="status"></div>
</center>



<script>

$(document).ready(function()
{

var settings = {
	url: "uploadfotosgaleria.php?categoria=<? echo $categoria ; ?>",
	method: "POST",
	allowedTypes:"jpg,png,jpeg",
	fileName: "myfile",
	multiple: true,
	onSuccess:function(files,data,xhr)
	{
		$("#status").html("<font color='green'>ENVIADO COM SUCESSO</font>");
		
	},
    afterUploadAll:function()
    {
        alert("ENVIADO COM SUCESSO!!");
 
     parent.location.reload(true); 
	  window.parent.jQuery.fancybox.close();
 
 



 
 
 
 
 
		
    },
	onError: function(files,status,errMsg)
	{		
		$("#status").html("<font color='red'>ERRO NO ENVIO</font>");
	}
}
$("#mulitplefileuploader").uploadFile(settings);

});
</script>
</body>
</html>

Zerion Mini Shell 1.0