Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <? session_start();?>
- <?php echo '<?xml version="1.0" encoding="ISO-8859-1"?>'."\n"; ?>
- <?
- include("connect.inc.php");
- include("inc/onlinestatus.inc.php");
- include("inc/status.inc.php");
- $username_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) ;
- #########Datenabfrage anhand des Usernames##############
- $abfrage = "SELECT * FROM member WHERE username = '$username_get'";
- $ergebnis = mysql_query($abfrage);
- $daten = mysql_fetch_object($ergebnis);
- //Datenbankabfrage mit der ermittelten ID
- $abfrage = "SELECT * FROM member WHERE id = '$id'";
- $ergebnis = mysql_query($abfrage);
- $row = mysql_fetch_object($ergebnis);
- //Profilbild Aktiv / Inaktiv
- if($user_daten->profilbild_aktiv == 0){$profilbild = "np.gif";}
- else{$profilbild = $user_daten->bild;}
- ?>
- <?
- $domain = "http://".$_SERVER['SERVER_NAME'];
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/>
- <meta http-equiv="Content-Style-Type" content="text/css" />
- <title>WakeStars makes the Difference!</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="http://wakestars.de/design/standart.css"/>
- <link rel="stylesheet" type="text/css" href="http://wakestars.de/design/head.css"/>
- <link rel="stylesheet" type="text/css" href="http://wakestars.de/design/suche.css"/>
- <link rel="stylesheet" type="text/css" href="http://wakestars.de/design/template.css"/>
- </head>
- <body>
- <div id="page_shadow"></div>
- <div id="page_main">
- <div id="header-website">
- <div id="header-text">
- <p><b>WakeStars makes the Difference!</b><br/><br/>Hier treffen sich alle Wassersportler wie z.B. Wakeboarder, Wakeskater und Kitesurfer wieder.</p>
- </div>
- <div style="width:990px; margin: 35px auto auto;">
- <div id="zentrierer" style="display: none;">
- </div>
- <div id="navigation" class="round">
- <form class="search" action="<?echo $domain;?>/Suchen.php" method="post">
- <input name="suche" class="field" type="text" size="20"/>
- <input alt="Absenden" src="<?echo $domain;?>/images/icon_header/icon_search.gif" class="button" type="image"/>
- </form>
- <div class="bildHochladen">
- <a href="Forum" class="navi sonst">
- <img src="<?echo $domain;?>/images/icon_header/icon_more.gif" alt="Tutorials" style="margin-top: 6px; width: 11px; height: 7px;" /></a>
- <ul style="margin-left: 32px;" class="bildHochladenDown round">
- <li><a class="extra forums" href="<?echo $domain;?>/Forum/">Forum</a></li>
- <li><a class="extra tut" href="<?echo $domain;?>/suchen.php/">Suchen</a></li>
- <li><a class="extra down" href="<?echo $domain;?>/partner.php/">Partner</a></li>
- <li><a class="extra markt" href="<?echo $domain;?>/logout.php/">Logout</a></li>
- </ul>
- </div>
- <?php if ($username_session !== null) { ?>
- <a class="navi wallpaper" href="<?echo $domain;?>/gruppen/" style="text-decoration: none">Gruppen</a>
- <a class="navi wallpaper" href="<?echo $domain;?>/veranstaltungen/" style="text-decoration: none">Events</a>
- <a class="navi wallpaper" href="<?echo $domain;?>/nachrichten/" style="text-decoration: none">Nachrichten</a>
- <a class="navi wallpaper" href="<?echo $domain;?>/meinefreunde/" style="text-decoration: none">Freunde</a>
- <a class="navi wallpaper" href="<?echo $domain;?>/news.php/" style="text-decoration: none">News</a>
- <a class="navi wallpaper" href="<?echo $domain;?>/chat/" style="text-decoration: none">Chat</a>
- <a class="navi wallpaper" href="<?echo $domain.'/'.$user_daten->username;?>" style="text-decoration: none">Profil</a>
- <?php } else { ?>
- <a href="<?echo $domain;?>/impressum.php" class="navi sonst" style="text-decoration: none">Impressum</a>
- <a href="<?echo $domain;?>/Forum/" class="navi zeich" style="text-decoration: none">Forum</a>
- <a class="navi wallpaper" href="<?echo $domain;?>/hilfe.php/" style="text-decoration: none">Hilfe</a>
- <a class="navi dim" href="<?echo $domain;?>/login/" style="text-decoration: none">Login</a>
- <a class="navi digku" href="<?echo $domain;?>/anmelden/" style="text-decoration: none">Anmelden</a>
- <?php } ?>
- <a class="navi foto" href="<?echo $domain;?>/webseite.php" style="text-decoration: none">Startseite</a>
- <a class="navi uebersicht" href="<?echo $domain;?>">
- <img src="<?echo $domain;?>/images/icon_header/icon_home.gif" alt="WakeStars" width="16" height="16"/></a>
- </div>
- <ul class="color">
- <li class="red"> </li>
- <li class="orange"> </li>
- <li class="yellow"> </li>
- <li class="green"> </li>
- <li class="mh"> </li>
- <li class="blue"> </li>
- </ul>
- </div></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement