<?php
$theuri = $_SERVER['REQUEST_URL'];
if ( ($theuri =="/") or ($theuri =="/index.php") )
{
<span class="style6">.: <a href="index.php">Home</a></span><br>
<span class="style6">.: <a href="index2.php">Aktuell</a></span><br>
<span class="style6">.: <a href="index3.php">Stadtmarketing</a></span><br>
<span class="style6">.: <a href="index4.php">Kontakt</a></span><br>
<span class="style6">.: <a href="auth/sample.php" target="_blank">Login</a></span> ";
}
elseif ( ($theuri =="/index2.php") or ($theuri =="/index2.php?gwl") )
{
<span class="style6">.: <a href="index.php">Home</a></span><br>
<span class="style6">.: <a href="index2.php">Die GWL</a></span><br>
- <a href="index.php?gwl=wer">Über uns</a><br>
- <a href="index2.php?gwl=formulare">Formulare</a><br>
- <a href="index2.php?gwl=mitglieder">Mitglieder</a><br>
- <a href="index2.php?gwl=branche">Branchenregister</a><br>
- <a href="index2.php?gwl=termine">Wichtige Termine</a><br>
- <a href="index2.php?gwl=kalender">Jahreskalender</a><br>
- <a href="index2.php?gwl=leistungsschau">Leistungsschau</a><br>
- <a href="index2.php?gwl=kummerkasten">Kummerkasten</a><br>
<span class="style6">.: <a href="index3.php">Stadtmarketing</a></span><br>
<span class="style6">.: <a href="index4.php">Kontakt</a></span><br>
<span class="style6">.: <a href="auth/sample.php" target="_blank">Login</a></span> ";
}
?>
Cuś takiego sklepałem....tylko, że nie pojawia sie na stronie

... Chodzi mi dokładnie o to, żeby skrypt pobierał adres url i w zależnosci od adresu zmienialo sie menu...
Dobra..dalem sobie rade sam

...