fanat21,
if (preg_match("/download/i", $_SERVER['PHP_SELF'])) {
// ...
} elseif (preg_match("/mainpage/i", $_SERVER['PHP_SELF'])) {
// ...
} else {
// ...
} fanat21,
if (preg_match("/download/i", $_SERVER['PHP_SELF'])) {
// ...
} elseif (preg_match("/mainpage/i", $_SERVER['PHP_SELF'])) {
// ...
} else {
// ...
}