Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php //------------------------------------------------------------------------------ ..
Decoded Output download
<?php
//------------------------------------------------------------------------------
//<INFO >
// This file was generated by MyPhpGuard 1.3.0.32623
//
// Date:21/06/2016 15:58:28
//
// </INFO >
//------------------------------------------------------------------------------
/**
*
* @category
* @package
* @author Cristian Frias <[email protected]>
* @copyright 2010 Cristian Frias
* @license
* @version
* @link
*
*/
?>
<?php
session_name("Administrador");session_start();if ($_SESSION["EntityID"] == "")
{header("Location:sessionexpired.php");
}require('Library/Control_Cache.php');require('Library/Open_Conexion.php');require('Library/funciones.php');
$SIGAD1s2235=validaRol(48,$bd);
?>
<fieldset id="Fs_Lista_Cliente" class="" >
<legend>Datos del Cliente: </legend>
<form id="form_editar_cliente" name="form_editar_cliente">
<?php
$SIGAD1s3235=$_GET['Cli_ID'];
$SIGAD1s3236 = "SELECT * FROM clientes WHERE Cli_ID=".$SIGAD1s3235;
$SIGAD1s3237 = 1;
$SIGAD1s3238=$bd->ejecutar($SIGAD1s3236);
if (($SIGAD1s3239 = mysqli_fetch_array($SIGAD1s3238) ))
{
$SIGAD1s3240 = $SIGAD1s3239["Nombre"];$SIGAD1s3241 = $SIGAD1s3239["Direccion"];
$SIGAD1s3242 = $SIGAD1s3239["tipo_cp"];$SIGAD1s3243 = $SIGAD1s3239["Calle_P"];
$SIGAD1s3244 = $SIGAD1s3239["Numeral"];$SIGAD1s3245 = $SIGAD1s3239["Calle_1"];
$SIGAD1s3246 = $SIGAD1s3239["Calle_2"];$SIGAD1s3247 = $SIGAD1s3239["Detalles"];
$SIGAD1s3248 = $SIGAD1s3239["Empresa"];$SIGAD1s3249 = $SIGAD1s3239["empresa_id"];
$SIGAD1s3250 = $SIGAD1s3239["NIT"];$SIGAD1s3251 = $SIGAD1s3239["Razon_Social"];
$Parqueo_ID = $SIGAD1s3239["Parqueo_ID"];
$SIGAD1s3252 = $SIGAD1s3239["latitud"];
if ($SIGAD1s3252 =="")
$SIGAD1s3252 ="-17.388632703682084";
$SIGAD1s3253 = $SIGAD1s3239["longitud"];
if ($SIGAD1s3253 =="")
$SIGAD1s3253 ="-66.18684411048889";
$SIGAD1s3254 = $SIGAD1s3239["Actualizado"];$SIGAD1s3255= $SIGAD1s3239["Parqueo_ID"];
$SIGAD1s3256= $SIGAD1s3239["Credito"];$SIGAD1s3257 = $SIGAD1s3239["Tipo_Cliente"];
$SIGAD1s3258 = $SIGAD1s3239["Promocion"];$SIGAD1s3259 = $SIGAD1s3239["Radio"];
$SIGAD1s3260= $SIGAD1s3239["Nombre_Corto"];if ($SIGAD1s3254)$SIGAD1s3261="checked='checked'";
else
$SIGAD1s3261="";
if ($SIGAD1s3258)
$SIGAD1s3262="checked='checked'";
else
$SIGAD1s3262="";
if ($SIGAD1s3259)
$SIGAD1s3263="checked='checked'";
else
$SIGAD1s3263="";
?>
<table>
<tr>
<td><b>Cliente:</b>
<input type="text" size="30" value="
<?php echo $SIGAD1s3240; ?>
" id="nombre_editar" name="nombre_editar"/>
<!--<input type="hidden" value="
<?php echo $SIGAD1s3252; ?>
" id="latitud_editar" name="latitud_editar"/>
<input type="hidden" value="
<?php echo $SIGAD1s3253; ?>
" id="longitud_editar" name="longitud_editar"/>-->
<input type="hidden" value="(
<?php echo $SIGAD1s3252; ?>
,
<?php echo $SIGAD1s3253; ?>
)" id="latLng" name="latLng" />
Actualizado: <input type="checkbox" id="Actualizado" name="Actualizado"
<?php echo $SIGAD1s3261; ?>
/>
</td></tr>
<tr>
<tr>
<td><b>Direccion:</b>
<input type="radio" id="tipo_cp_editar1" name="tipo_cp_editar"
<?php //if ($SIGAD1s3242=="Calle") echo "checked='checked'"; ?>
value="Calle" checked/> Calle
<input type="radio" id="tipo_cp_editar2" name="tipo_cp_editar"
<?php //if ($SIGAD1s3242=="Avenida") echo "checked='checked'"; ?>
value="Avenida" /> Av.
<input type="radio" id="tipo_cp_editar3" name="tipo_cp_editar"
<?php //if ($SIGAD1s3242=="Pasaje") echo "checked='checked'"; ?>
value="Pasaje" /> Pasaje
<input type="text" size="30" value="
<?php echo $SIGAD1s3243; ?>
" id="Calle_P_editar" name="Calle_P_editar"/> #<input type="text" size="8" value="
<?php echo $SIGAD1s3244; ?>
" id="Numeral_editar" name="Numeral_editar"/>
</td></tr>
<tr>
<td>
<b>Entre:</b><input type="text" size="30" value="
<?php echo $SIGAD1s3245; ?>
" id="Calle_1_editar" name="Calle_1_editar"/>
<b> Y </b> <input type="text" size="30" value="
<?php echo $SIGAD1s3246; ?>
" id="Calle_2_editar" name="Calle_2_editar"/>
</td>
</tr>
<tr><td><b>Detalles:</b><input type="text" size="50" value="
<?php echo $SIGAD1s3247; ?>
" id="Detalles_editar" name="Detalles_editar"/>
</td>
</tr>
<tr><td>
<b>Parqueo:</b>
<select ID='Parqueo_ID' NAME='Parqueo_ID'>
<?php
$SIGAD1s3236 = "SELECT * FROM parqueos WHERE Activo ORDER BY Nombre ";
$SIGAD1s16235=$bd->ejecutar($SIGAD1s3236);
while (($SIGAD1s16236 = mysqli_fetch_array($SIGAD1s16235) ))
{
$SIGAD1s3255 = $SIGAD1s16236["Parqueo_ID"];
$SIGAD1s16237 = $SIGAD1s16236["Nombre"];
$Parqueo_ID_x = $SIGAD1s16236["Parqueo_ID"];
if ($Parqueo_ID_x==$Parqueo_ID)
echo "<option value='$SIGAD1s3255' selected='selected'>$SIGAD1s16237</option>";
else
echo "<option value='$SIGAD1s3255'>$SIGAD1s16237 </option>";
}
mysqli_free_result($SIGAD1s16235);
?>
</select>
<!--<img src="images/spacer.gif" height="1" width="1" onload="$('#Parqueo_ID').val(<?php echo $Parqueo_ID_x;?>)" />-->
<b>Tipo Cliente :</b>
<select id='Tipo_Cliente_editar' name='Tipo_Cliente_editar'
<?php echo $SIGAD1s3261; ?>
>
<option value='1'>Muy Importante</option>
<option value='2'>Importante</option>
<option value='3'>Bueno</option>
<option value='4'>Comun</option>
<option value='5'>Casual</option>
</select>
<img src="images/spacer.gif" height="1" width="1" onload="$('#Tipo_Cliente_editar').val(
<?php echo $SIGAD1s3257;?>
)" />
<?php
if ($SIGAD1s2235){$SIGAD1s3261='';}
else
{$SIGAD1s3261='disabled="disabled"';}
?>
<b>Credito:
<input type="text" size="8" value="
<?php echo $SIGAD1s3256; ?>
" id="Credito_editar" name="Credito_editar"
<?php echo $SIGAD1s3261; ?>
/>
</b></td>
</tr>
<tr>
<td >
<input type="hidden" size="50" value="<?php echo $SIGAD1s3241; ?>" id="Direccion" name="Direccion"/>
Promocion: <input type="checkbox" id="Promocion" name="Promocion"
<?php echo $SIGAD1s3262; ?>
/>
<input type="hidden" value="" id="Destinos_Frecuentes" name="Destinos_Frecuentes" size="50" />
</td>
</tr>
<tr>
<td><b>Razon Social:</b><input type="text" value="
<?php echo $SIGAD1s3251; ?>
" id="Razon_Social_editar" name="Razon_Social_editar" size="40" />
<b>NIT</b> <input type="text" value="
<?php echo $SIGAD1s3250; ?>
" id="NIT_editar" name="NIT_editar" size="20" />
</td></tr>
<tr><td>Radio: <input type="checkbox" id="Radio" name="Radio"
<?php echo $SIGAD1s3263; ?>
/>
Nombre Corto <input type="text" value="
<?php echo $SIGAD1s3260; ?>
" id="Nombre_Corto" name="Nombre_Corto" size="30" /></td></tr>
<tr>
<td>
<div id="Div_Res_Editar_Cliente" name="Div_Res_Editar_Cliente">
<input type="button" id="Boton_Registrar_Cliente" name="Boton_Registrar_Cliente" value="Guardar Cambios" onclick="llamadas_cliente_editar_datos_guardar(
<?php echo $SIGAD1s3235; ?>
);"/>
</div>
</td>
</tr>
</table>
<?php
}
?>
</form>
<fieldset>
<legend>Mapa del Cliente</legend>
<div id="map_canvas" style="width: 700px; height: 300px"></div>
<img src="images/spacer.gif" onload="Autocomplete_Calles();" />
<img src="images/spacer.gif" onload="Inicializar_Mapa_Editar(<?php echo $SIGAD1s3252; ?>,<?php echo $SIGAD1s3253; ?>);" />
</fieldset>
</fieldset>
<?php
require('Library/Close_Conexion.php');
?>
Did this file decode correctly?
Original Code
<?php
//------------------------------------------------------------------------------
//<INFO >
// This file was generated by MyPhpGuard 1.3.0.32623
//
// Date:21/06/2016 15:58:28
//
// </INFO >
//------------------------------------------------------------------------------
/**
*
* @category
* @package
* @author Cristian Frias <[email protected]>
* @copyright 2010 Cristian Frias
* @license
* @version
* @link
*
*/
?>
<?php
session_name("\x41\x64\x6di\x6e\x69\x73t\x72\x61\x64\x6fr");session_start();if ($_SESSION["\x45\x6e\x74i\x74\x79\x49D"] == "")
{header("\x4c\x6f\x63a\x74\x69\x6fn\x3a\x73\x65\x73s\x69\x6f\x6ee\x78\x70\x69r\x65\x64.\x70\x68\x70");
}require('Library/Control_Cache.php');require('Library/Open_Conexion.php');require('Library/funciones.php');
$SIGAD1s2235=validaRol(48,$bd);
?>
<fieldset id="Fs_Lista_Cliente" class="" >
<legend>Datos del Cliente: </legend>
<form id="form_editar_cliente" name="form_editar_cliente">
<?php
$SIGAD1s3235=$_GET['Cli_ID'];
$SIGAD1s3236 = "\x53\x45\x4cE\x43\x54\x20*\x20\x46\x52\x4fM\x20\x63\x6ci\x65\x6e\x74e\x73\x20W\x48\x45\x52\x45\x20C\x6ci\x5fI\x44=".$SIGAD1s3235;
$SIGAD1s3237 = 1;
$SIGAD1s3238=$bd->ejecutar($SIGAD1s3236);
if (($SIGAD1s3239 = mysqli_fetch_array($SIGAD1s3238) ))
{
$SIGAD1s3240 = $SIGAD1s3239["\x4e\x6f\x6db\x72\x65"];$SIGAD1s3241 = $SIGAD1s3239["\x44\x69\x72e\x63\x63\x69o\x6e"];
$SIGAD1s3242 = $SIGAD1s3239["\x74\x69\x70o\x5f\x63\x70"];$SIGAD1s3243 = $SIGAD1s3239["\x43\x61\x6cl\x65\x5f\x50"];
$SIGAD1s3244 = $SIGAD1s3239["\x4e\x75\x6de\x72\x61\x6c"];$SIGAD1s3245 = $SIGAD1s3239["\x43\x61\x6cl\x65\x5f\x31"];
$SIGAD1s3246 = $SIGAD1s3239["\x43\x61\x6cl\x65\x5f\x32"];$SIGAD1s3247 = $SIGAD1s3239["\x44\x65\x74a\x6c\x6c\x65s"];
$SIGAD1s3248 = $SIGAD1s3239["\x45\x6d\x70r\x65\x73\x61"];$SIGAD1s3249 = $SIGAD1s3239["\x65\x6d\x70r\x65\x73\x61_\x69\x64"];
$SIGAD1s3250 = $SIGAD1s3239["\x4e\x49\x54"];$SIGAD1s3251 = $SIGAD1s3239["\x52\x61\x7ao\x6e\x5f\x53o\x63\x69\x61\x6c"];
$Parqueo_ID = $SIGAD1s3239["Parqueo_ID"];
$SIGAD1s3252 = $SIGAD1s3239["\x6c\x61\x74i\x74\x75\x64"];
if ($SIGAD1s3252 =="")
$SIGAD1s3252 ="-17.388632703682084";
$SIGAD1s3253 = $SIGAD1s3239["\x6c\x6f\x6eg\x69\x74\x75d"];
if ($SIGAD1s3253 =="")
$SIGAD1s3253 ="-66.18684411048889";
$SIGAD1s3254 = $SIGAD1s3239["\x41\x63\x74u\x61\x6c\x69z\x61\x64\x6f"];$SIGAD1s3255= $SIGAD1s3239["\x50\x61\x72q\x75\x65\x6f_\x49\x44"];
$SIGAD1s3256= $SIGAD1s3239["\x43\x72\x65d\x69\x74\x6f"];$SIGAD1s3257 = $SIGAD1s3239["\x54\x69\x70o\x5f\x43\x6ci\x65\x6e\x74\x65"];
$SIGAD1s3258 = $SIGAD1s3239["\x50\x72\x6fm\x6f\x63\x69o\x6e"];$SIGAD1s3259 = $SIGAD1s3239["\x52\x61\x64i\x6f"];
$SIGAD1s3260= $SIGAD1s3239["\x4e\x6f\x6db\x72\x65\x5fC\x6f\x72\x74\x6f"];if ($SIGAD1s3254)$SIGAD1s3261="\x63\x68\x65c\x6b\x65\x64=\x27\x63\x68\x65c\x6b\x65\x64'";
else
$SIGAD1s3261="";
if ($SIGAD1s3258)
$SIGAD1s3262="\x63\x68\x65c\x6b\x65\x64=\x27\x63\x68\x65c\x6b\x65\x64'";
else
$SIGAD1s3262="";
if ($SIGAD1s3259)
$SIGAD1s3263="\x63\x68\x65c\x6b\x65\x64=\x27\x63\x68\x65c\x6b\x65\x64'";
else
$SIGAD1s3263="";
?>
<table>
<tr>
<td><b>Cliente:</b>
<input type="text" size="30" value="
<?php echo $SIGAD1s3240; ?>
" id="nombre_editar" name="nombre_editar"/>
<!--<input type="hidden" value="
<?php echo $SIGAD1s3252; ?>
" id="latitud_editar" name="latitud_editar"/>
<input type="hidden" value="
<?php echo $SIGAD1s3253; ?>
" id="longitud_editar" name="longitud_editar"/>-->
<input type="hidden" value="(
<?php echo $SIGAD1s3252; ?>
,
<?php echo $SIGAD1s3253; ?>
)" id="latLng" name="latLng" />
Actualizado: <input type="checkbox" id="Actualizado" name="Actualizado"
<?php echo $SIGAD1s3261; ?>
/>
</td></tr>
<tr>
<tr>
<td><b>Direccion:</b>
<input type="radio" id="tipo_cp_editar1" name="tipo_cp_editar"
<?php //if ($SIGAD1s3242=="\x43\x61\x6cl\x65") echo "\x63\x68\x65c\x6b\x65\x64=\x27\x63\x68\x65c\x6b\x65\x64'"; ?>
value="Calle" checked/> Calle
<input type="radio" id="tipo_cp_editar2" name="tipo_cp_editar"
<?php //if ($SIGAD1s3242=="\x41\x76\x65n\x69\x64\x61") echo "\x63\x68\x65c\x6b\x65\x64=\x27\x63\x68\x65c\x6b\x65\x64'"; ?>
value="Avenida" /> Av.
<input type="radio" id="tipo_cp_editar3" name="tipo_cp_editar"
<?php //if ($SIGAD1s3242=="\x50\x61\x73a\x6a\x65") echo "\x63\x68\x65c\x6b\x65\x64=\x27\x63\x68\x65c\x6b\x65\x64'"; ?>
value="Pasaje" /> Pasaje
<input type="text" size="30" value="
<?php echo $SIGAD1s3243; ?>
" id="Calle_P_editar" name="Calle_P_editar"/> #<input type="text" size="8" value="
<?php echo $SIGAD1s3244; ?>
" id="Numeral_editar" name="Numeral_editar"/>
</td></tr>
<tr>
<td>
<b>Entre:</b><input type="text" size="30" value="
<?php echo $SIGAD1s3245; ?>
" id="Calle_1_editar" name="Calle_1_editar"/>
<b> Y </b> <input type="text" size="30" value="
<?php echo $SIGAD1s3246; ?>
" id="Calle_2_editar" name="Calle_2_editar"/>
</td>
</tr>
<tr><td><b>Detalles:</b><input type="text" size="50" value="
<?php echo $SIGAD1s3247; ?>
" id="Detalles_editar" name="Detalles_editar"/>
</td>
</tr>
<tr><td>
<b>Parqueo:</b>
<select ID='Parqueo_ID' NAME='Parqueo_ID'>
<?php
$SIGAD1s3236 = "\x53\x45\x4cE\x43\x54\x20*\x20\x46\x52\x4fM\x20\x70\x61r\x71\x75\x65o\x73\x20W\x48\x45\x52\x45\x20A\x63t\x69v\x6f \x4fR\x44\x45R\x20B\x59 \x4e\x6f\x6d\x62r\x65 ";
$SIGAD1s16235=$bd->ejecutar($SIGAD1s3236);
while (($SIGAD1s16236 = mysqli_fetch_array($SIGAD1s16235) ))
{
$SIGAD1s3255 = $SIGAD1s16236["\x50\x61\x72q\x75\x65\x6f_\x49\x44"];
$SIGAD1s16237 = $SIGAD1s16236["\x4e\x6f\x6db\x72\x65"];
$Parqueo_ID_x = $SIGAD1s16236["Parqueo_ID"];
if ($Parqueo_ID_x==$Parqueo_ID)
echo "\x3c\x6f\x70t\x69\x6f\x6e \x76\x61\x6c\x75e\x3d\x27$SIGAD1s3255' selected='selected'>$SIGAD1s16237<\x2f\x6f\x70t\x69\x6f\x6e>";
else
echo "\x3c\x6f\x70t\x69\x6f\x6e \x76\x61\x6c\x75e\x3d\x27$SIGAD1s3255'>$SIGAD1s16237 <\x2f\x6f\x70t\x69\x6f\x6e>";
}
mysqli_free_result($SIGAD1s16235);
?>
</select>
<!--<img src="images/spacer.gif" height="1" width="1" onload="$('#Parqueo_ID').val(<?php echo $Parqueo_ID_x;?>)" />-->
<b>Tipo Cliente :</b>
<select id='Tipo_Cliente_editar' name='Tipo_Cliente_editar'
<?php echo $SIGAD1s3261; ?>
>
<option value='1'>Muy Importante</option>
<option value='2'>Importante</option>
<option value='3'>Bueno</option>
<option value='4'>Comun</option>
<option value='5'>Casual</option>
</select>
<img src="images/spacer.gif" height="1" width="1" onload="$('#Tipo_Cliente_editar').val(
<?php echo $SIGAD1s3257;?>
)" />
<?php
if ($SIGAD1s2235){$SIGAD1s3261='';}
else
{$SIGAD1s3261='disabled="disabled"';}
?>
<b>Credito:
<input type="text" size="8" value="
<?php echo $SIGAD1s3256; ?>
" id="Credito_editar" name="Credito_editar"
<?php echo $SIGAD1s3261; ?>
/>
</b></td>
</tr>
<tr>
<td >
<input type="hidden" size="50" value="<?php echo $SIGAD1s3241; ?>" id="Direccion" name="Direccion"/>
Promocion: <input type="checkbox" id="Promocion" name="Promocion"
<?php echo $SIGAD1s3262; ?>
/>
<input type="hidden" value="" id="Destinos_Frecuentes" name="Destinos_Frecuentes" size="50" />
</td>
</tr>
<tr>
<td><b>Razon Social:</b><input type="text" value="
<?php echo $SIGAD1s3251; ?>
" id="Razon_Social_editar" name="Razon_Social_editar" size="40" />
<b>NIT</b> <input type="text" value="
<?php echo $SIGAD1s3250; ?>
" id="NIT_editar" name="NIT_editar" size="20" />
</td></tr>
<tr><td>Radio: <input type="checkbox" id="Radio" name="Radio"
<?php echo $SIGAD1s3263; ?>
/>
Nombre Corto <input type="text" value="
<?php echo $SIGAD1s3260; ?>
" id="Nombre_Corto" name="Nombre_Corto" size="30" /></td></tr>
<tr>
<td>
<div id="Div_Res_Editar_Cliente" name="Div_Res_Editar_Cliente">
<input type="button" id="Boton_Registrar_Cliente" name="Boton_Registrar_Cliente" value="Guardar Cambios" onclick="llamadas_cliente_editar_datos_guardar(
<?php echo $SIGAD1s3235; ?>
);"/>
</div>
</td>
</tr>
</table>
<?php
}
?>
</form>
<fieldset>
<legend>Mapa del Cliente</legend>
<div id="map_canvas" style="width: 700px; height: 300px"></div>
<img src="images/spacer.gif" onload="Autocomplete_Calles();" />
<img src="images/spacer.gif" onload="Inicializar_Mapa_Editar(<?php echo $SIGAD1s3252; ?>,<?php echo $SIGAD1s3253; ?>);" />
</fieldset>
</fieldset>
<?php
require('Library/Close_Conexion.php');
?>
Function Calls
session_name | 1 |
Stats
MD5 | 512d7927fdb2316bc4e182976f9f6a55 |
Eval Count | 0 |
Decode Time | 69 ms |