<?php
// Generiraj hash za lozinku
$password = 'admin123';  // Promijeni ako želiš drugu lozinku
$hash = password_hash($password, PASSWORD_DEFAULT);

echo "Lozinka: $password<br>";
echo "Hash: $hash<br><br>";
echo "SQL za copy/paste:<br>";
echo "<textarea rows='3' cols='80'>";
echo "UPDATE admin_users SET password = '$hash' WHERE username = 'admin';";
echo "</textarea>";
?>