Открываем индекс.пых и ищем
Code
default:
if ($userrow["currentaction"] == $idioma['in_town'])
{
include('includes/funciones/verciudad.php');
}
elseif ($userrow["currentaction"] == $idioma['explore'])
{
$title = $idioma['explore'];
$template= gettemplate("explorando");
$page=parsetemplate($template,$idioma);
display($page, $title);
}
elseif ($userrow["currentaction"] == $idioma['fight'])
{
header("Location: index.php?ir=lucha");
}
elseif ($userrow["currentaction"] == $idioma['castle'])
{
header("Location: index.php?ir=castillo");
}
;
}
?>
заменяем на
Code
default:
if ($userrow["currentaction"] == $idioma['explore'])
{
$title = $idioma['explore'];
$template= gettemplate("explorando");
$page=parsetemplate($template,$idioma);
display($page, $title);
}
elseif ($userrow["currentaction"] == $idioma['fight'])
{
header("Location: index.php?ir=lucha");
}
elseif ($userrow["currentaction"] == $idioma['castle'])
{
header("Location: index.php?ir=castillo");
}
else
{
include('includes/funciones/verciudad.php');
}
;
}
?>
далее ищем
Code
if($_GET["ir"] != 'trabajo') {
if($_GET["ir"] == 'salir')
заменяем на
Code
if(isset($_GET["ir"]) != 'trabajo'){
if(isset($_GET["ir"]) == 'salir')
Надеюсь поможет...