Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <? session_start();?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <?
- $domain = "http://".$_SERVER['SERVER_NAME'];
- ?>
- <title>Wen kennst Du - Wer kennt dich - Vernetze dich mit anderen</title>
- <script type="text/javascript" src="<?echo $domain;?>/design/JS.js"></script>
- <script type="text/javascript" src="<?echo $domain;?>/design/bbcode.js"></script>
- <script type="text/javascript" src="<?echo $domain;?>/design/suche_username.js"></script>
- <link rel="stylesheet" type="text/css" href="<?echo $domain;?>/design/standart.css">
- </head>
- <?
- include("connect.inc.php");
- include("inc/onlinestatus.inc.php");
- include("inc/status.inc.php");
- $usernasme_session = $_SESSION["username"];
- $username_get = $_GET["username"];
- if($username_session == $username_get){$s = "mp";}
- ###################User Daten###########################
- $abfrage_ud = "SELECT * FROM member WHERE username = '$username_session'";
- $ergebnis_ud = mysql_query($abfrage_ud);
- $user_daten = mysql_fetch_object($ergebnis_ud) ;
- ?>
- <body>
- <center><img src=../../../icon_start/head.jpg></center>
- <div id="all">
- <div id="header">
- <!--Buttons-->
- <div id="navitop">
- <ul>
- <?
- if($_SESSION["asdfghjkl"]== "dd"){
- if($_GET["s"]== "start"){echo "<li class='b_aktiv'><a href='$domain/startseite_/' title=''>Neues</a></li>";}else {echo "<li><a href='$domain/startseite_/' title=''>Neues</a></li>";}
- if($s == "mp"){echo "<li class='b_aktiv'><a href='$domain/$username_session' title=''>Ich</a></li>";}else {echo "<li><a href='$domain/$username_session' title=''>Ich</a></li>";}
- if($_GET["s"]== "s"){echo "<li class='b_aktiv'><a href='$domain/mitglieder/suchen/' title=''>Suchen</a></li>";} else {echo "<li><a href='$domain/mitglieder/suchen/' title=''>Suchen</a></li>";}
- if($_GET["s"]== "nachrichten"){echo "<li class='b_aktiv'><a href='$domain/nachrichten/'>Nachrichten</a></li>";} else {echo "<li><a href='$domain/nachrichten/'>Nachrichten</a></li>";}
- if($_GET["s"]== "st"){echo "<li class='b_aktiv'><a href='$domain/stadt/'>In Deiner Stadt</a></li>";} else {echo "<li><a href='$domain/stadt/'>In Deiner Stadt</a></li>";}
- if($_GET["s"]== "f"){echo "<li class='b_aktiv'><a href='$domain/meinefreunde/' title=''>Freunde</a></li>";} else {echo "<li><a href='$domain/meinefreunde/' title=''>Freunde</a></li>";}
- if($_GET["s"]== "g"){echo "<li class='b_aktiv'><a href='$domain/gruppen/' title=''>Gruppen</a></li>";} else {echo "<li><a href='$domain/gruppen/' title=''>Gruppen</a></li>";}
- if($_GET["s"]== "v"){echo "<li class='b_aktiv'><a href='$domain/veranstaltungen/' title=''>Events</a></li>";} else {echo "<li><a href='$domain/veranstaltungen/' title=''>Events</a></li>";}
- }
- else
- {
- if($_GET["s"]== "start" XOR $seite == "index"){echo "<li class='b_aktiv'><a href='$domain' title=''>Startseite</a></li>";} else {echo "<li><a href='$domain' title=''>Startseite</a></li>";}
- if($_GET["s"]== "mw"){echo "<li class='b_aktiv'><a href='$domain/anmelden/' title=''>Anmelden</a></li>";} else {echo "<li><a href='$domain/anmelden/' title=''>Anmelden</a></li>";}
- }
- ?>
- </ul>
- <?if($_SESSION["asdfghjkl"]== "dd"){?>
- <div style="float:right;margin-right:20px;margin-top:5px;">
- <span>Hallo <?echo $username_session;?></span>
- <span style="margin-left:7px;margin-right:7px;">|</span>
- <span><a href="<?echo $domain;?>/logout/">Ausloggen</a></span>
- </div>
- <?}
- else{?>
- <div style="float:right;margin-right:20px;margin-top:5px;">
- <span>Nicht eingeloggt</span>
- </div>
- <?}?>
- </div>
- </div>
- <!--Links-->
- <div id="links">
- <?
- if($_SESSION["asdfghjkl"]== "dd")
- {
- include("inc/zentrale.inc.php");
- }
- else{?>
- <div class="standart-box">
- <div class="boxheader-r">
- <div class="boxheader-l" style="width:140px;">Login für Mitglieder</div>
- </div>
- <div class="box-content" style="padding:10px;">
- <form action="<?echo $domain;?>/login/" method="post">
- <ul class="loginfeld">
- <li>Username:</li>
- <li><input class="login_maske" type="text" name="username" value="Benutzername" onBlur="if(this.value=='') this.value='Benutzername';" onFocus="if(this.value=='Benutzername') this.value='';"></input></li>
- <li>Passwort:</li>
- <li><input class="login_maske" type="password" name="passwort" value="Passwort" onBlur="if(this.value=='') this.value='Passwort';" onFocus="if(this.value=='Passwort') this.value='';"></input></li>
- <li><input type="hidden" name="ok"></input><input class="form_button" type="submit" value="Login" src="design/images/login_button.gif"></input></li>
- <li><a href="<?echo $domain;?>/passwort/">Passwort vergessen?</a></li>
- <li><a href="<?echo $domain;?>/anmelden/">Jetzt anmelden?</a></li>
- </ul>
- </form>
- <div class="clear"></div>
- </div>
- <div class="boxfooter-r">
- <div class="boxfooter-l"></div>
- </div>
- </div>
- <?}
- ?>
- <div id="links">
- <?
- if($_SESSION["asdfghjkl"]== "dd")
- {
- }
- else{?>
- <div class="standart-box">
- <div class="boxheader-r">
- <div class="boxheader-l" style="width:140px;">Vielleicht kennst Du :</div>
- </div>
- <div class="box-content" style="padding:10px;">
- <?
- include("inc/bidlerwand.inc.php");
- ?>
- <div class="clear"></div>
- </div>
- <div class="boxfooter-r">
- <div class="boxfooter-l"></div>
- </div>
- </div>
- <?}
- ?>
- </div></div>
- <div id="rechts">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement