Hi slaver on your new update mor precise on the file adm/SearchingPage.php
you have a funcion calling this "DeleteSelectedPlanet" but you dont havet
so i had that to the "DeleteSelectedUser" in includs/funcions
function DeleteSelectedPlanet ($ID)
{
global $lang, $db;
$QueryPlanet = $db->fetch_array($db->query("SELECT
galaxy,planet,system,planet_type FROM ".PLANETS." WHERE id = '".$ID."';"));
if ($QueryPlanet['planet_type'] == '3')
{
$db->query("DELETE FROM ".PLANETS." WHERE id = '".$ID."';");
$db->query("UPDATE ".PLANETS." SET id_luna = 0 WHERE id_luna = '".$ID."';");
}
else
{
$db->query("DELETE FROM ".PLANETS." WHERE galaxy =
'".$QueryPlanet['galaxy']."' AND system = '".$QueryPlanet['system']."' AND
planet = '".$QueryPlanet['planet']."'");
$db->query("DELETE FROM ".PLANETS." WHERE id_planet = '".$ID."'");
}
}