Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
include("../Connections/cnx.php");
include("../funcs.php");
include("../espanol/inc_config.php");
require_once('ssi_seguridad.php');
//-----------------------------------------
include("../espanol/_admin_/pop_modificar_foto_script.php");
//-----------------------------------------
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Modificar Archivo</title>
<link href="backend.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function validar()
{
var f = document.form1;
myString = new String(f.foto.value);
if(myString!='')
{
if((myString.indexOf('.jpg') !='-1' || myString.indexOf('.JPG') !='-1' || myString.indexOf('.gif') !='-1' || myString.indexOf('.GIF') !='-1') && f.foto.files[0].size <= 2 * 1024*1024)
{
f.submit();
}
else
{
if (f.foto.files[0].size <= 2 * 1024 * 1024)
alert('Error! Recuerde que la imagen debe tener extension ".jpg"');
else
alert('Error! La imagen no debe superar los 2 MB');
}
}
else
{
f.submit();
}
}
</script>
<link href="basico_backend.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="bordeGris">
<tr>
<td class="tituloPagina"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="bordeGrisFondo">
<tr>
<td width="10" height="40" class="TituloRubro"> </td>
<td height="40" class="tituloCategoriaMenu">MODIFICAR FOTO </td>
</tr>
</table> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center">
<table width="280" border="0" cellpadding="0" cellspacing="0" class="bordeGris">
<tr>
<td width="20"> </td>
<td> </td>
<td width="20"> </td>
</tr>
<tr>
<td width="20"> </td>
<td><div align="center">
<input name="foto" type="file" class="camporFormularioSimple" id="foto" />
</div></td>
<td> </td>
</tr>
<tr>
<td width="20"> </td>
<td> </td>
<td> </td>
</tr>
</table>
<table width="280" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"></div></td>
</tr>
</table>
<table width="280" height="30" border="0" cellpadding="0" cellspacing="0" class="bordeGrisFondo">
<tr>
<td><div align="right">
<input name="foto_vieja" type="hidden" id="foto_vieja" value="<?=$_GET['foto_vieja'];?>" />
<input name="que" type="hidden" id="que" value="<?= $_GET['que'];?>" />
<input name="id" type="hidden" id="id" value="<?php echo $_GET['id'];?>" />
<input name="aceptar" type="button" class="boton" id="aceptar" onclick="javascript:validar();" value="Aceptar" />
</div></td>
<td width="10"> </td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td align="right"> </td>
</tr>
</table>
</form>
</body>
</html>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat