Nincs jogod belépni!!!','Kedves ' . $data["memberName"] . '! Fingom nincs, hogy hogy jutottál ide, de Te NEM vagy admin, ezért húzz el melegebb éghajlatokra!!!'));
}
//Nem vagy bejelentkezve
} else {
print(msg('error','Nem vagy bejelentkezve!','Kedves látogató! Jelentkezz be!'));
}
//Ha nem adminra akar menni
} else {
//Karbantartás???
if ( $karban == "0" ) {
//Admin???
if((defined("admin") && admin) || (defined("rendszer") && rendszer)) {
//Van-e egyáltalán kérés???
if (isset($_GET['action']) and $_GET['action'] != '') {
$isLoginDir = false;
if(substr($_GET['action'], 0, 6) == "login/") {
$isLoginDir = true;
$_GET['action'] = substr($_GET['action'], 6);
}
$_GET['action'] = ($isLoginDir ? "login/" : "") . str_replace(array('..'), '', $_GET['action']);
if (is_file($_GET["action"] . ".php")) {
include($_GET["action"] . ".php");
} else {
include("error404.php");
}
//Nincsen action lérés, főoldal
} else {
include ("fo.php");
}
//Nem admin
} else {
print (msg('error', 'Karbantartás', 'A webhely karbantartás alatt áll. Megértésüket köszönjük!'));
print '
';
include ('login/_login.php');
}
//Ezek szerint nem karbantartás, van-e egyáltalán kérés???
} else if (isset($_GET['action']) and $_GET['action'] != '') {
$isLoginDir = false;
if(substr($_GET['action'], 0, 6) == "login/") {
$isLoginDir = true;
$_GET['action'] = substr($_GET['action'], 6);
}
$_GET['action'] = ($isLoginDir ? "login/" : "") . str_replace(array('..'), '', $_GET['action']);
if (is_file($_GET["action"] . ".php")) {
include($_GET["action"] . ".php");
} else {
include("error404.php");
}
//Nincsen action lérés, főoldal
} else {
include ("fo.php");
}
//Ha vége
}
?>
Impresszum Kapcsolat Tárhely
© Coypright 2008 Balf honlapja ♦ Minden jog fenntartva! Designed and Coded by Homoki-Farkas Dániel & honlapkészítés-javítás weboldalszerviz.hu 2011 |