SHARE
TWEET

Untitled

a guest Sep 27th, 2011 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <? session_start();?>
  2. <?php echo '<?xml version="1.0" encoding="ISO-8859-1"?>'."\n"; ?>
  3.  
  4. <?
  5.         include("connect.inc.php");
  6.         include("inc/onlinestatus.inc.php");
  7.         include("inc/status.inc.php");
  8.  
  9. $username_session = $_SESSION["username"];
  10. $username_get = $_GET["username"];
  11.  
  12.         if($username_session == $username_get){$s = "mp";}
  13.  
  14. ###################User Daten###########################
  15. $abfrage_ud = "SELECT * FROM member WHERE username = '$username_session'";
  16. $ergebnis_ud = mysql_query($abfrage_ud);
  17. $user_daten = mysql_fetch_object($ergebnis_ud) ;
  18.  
  19. #########Datenabfrage anhand des Usernames##############
  20. $abfrage = "SELECT * FROM member WHERE username = '$username_get'";
  21. $ergebnis = mysql_query($abfrage);
  22. $daten = mysql_fetch_object($ergebnis);
  23.  
  24. //Datenbankabfrage mit der ermittelten ID
  25. $abfrage = "SELECT * FROM member WHERE id = '$id'";
  26. $ergebnis = mysql_query($abfrage);
  27. $row = mysql_fetch_object($ergebnis);
  28.  
  29. //Profilbild Aktiv / Inaktiv
  30. if($user_daten->profilbild_aktiv == 0){$profilbild = "np.gif";}
  31. else{$profilbild = $user_daten->bild;}
  32. ?>
  33. <?
  34.         $domain =  "http://".$_SERVER['SERVER_NAME'];
  35. ?>
  36.  
  37. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  38. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
  39. <head>
  40.         <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/>
  41.         <meta http-equiv="Content-Style-Type" content="text/css" />
  42.        
  43.         <title>WakeStars makes the Difference!</title>
  44.        
  45.         <script type="text/javascript" src="<?echo $domain;?>/design/JS.js"></script>
  46.         <script type="text/javascript" src="<?echo $domain;?>/design/bbcode.js"></script>
  47.         <script type="text/javascript" src="<?echo $domain;?>/design/suche_username.js"></script>
  48.        
  49.         <link rel="stylesheet" type="text/css" href="http://wakestars.de/design/standart.css"/>
  50.         <link rel="stylesheet" type="text/css" href="http://wakestars.de/design/head.css"/>
  51.         <link rel="stylesheet" type="text/css" href="http://wakestars.de/design/suche.css"/>
  52.         <link rel="stylesheet" type="text/css" href="http://wakestars.de/design/template.css"/>
  53. </head>
  54. <body>
  55. <div id="page_shadow"></div>
  56. <div id="page_main">
  57. <div id="header-website">
  58.  
  59. <div id="header-text">
  60.         <p><b>WakeStars makes the Difference!</b><br/><br/>Hier treffen sich alle Wassersportler wie z.B. Wakeboarder, Wakeskater und Kitesurfer wieder.</p>
  61. </div>
  62.  
  63.  
  64. <div style="width:990px; margin: 35px auto auto;">
  65. <div id="zentrierer" style="display: none;">
  66. </div>
  67.  
  68. <div id="navigation" class="round">
  69.         <form class="search" action="<?echo $domain;?>/Suchen.php" method="post">
  70.         <input name="suche" class="field" type="text" size="20"/>
  71.         <input alt="Absenden" src="<?echo $domain;?>/images/icon_header/icon_search.gif" class="button" type="image"/>
  72. </form>
  73.  
  74.  
  75. <div class="bildHochladen">
  76.         <a href="Forum" class="navi sonst">
  77.         <img src="<?echo $domain;?>/images/icon_header/icon_more.gif" alt="Tutorials" style="margin-top: 6px; width: 11px; height: 7px;" /></a>
  78.  
  79. <ul style="margin-left: 32px;" class="bildHochladenDown round">
  80.         <li><a class="extra forums" href="<?echo $domain;?>/Forum/">Forum</a></li>
  81.         <li><a class="extra tut" href="<?echo $domain;?>/suchen.php/">Suchen</a></li>
  82.         <li><a class="extra down" href="<?echo $domain;?>/partner.php/">Partner</a></li>
  83.         <li><a class="extra markt" href="<?echo $domain;?>/logout.php/">Logout</a></li>
  84. </ul>
  85. </div>
  86.  
  87. <?php if ($username_session !== null) { ?>
  88.         <a class="navi wallpaper" href="<?echo $domain;?>/gruppen/" style="text-decoration: none">Gruppen</a>
  89.         <a class="navi wallpaper" href="<?echo $domain;?>/veranstaltungen/" style="text-decoration: none">Events</a>
  90.         <a class="navi wallpaper" href="<?echo $domain;?>/nachrichten/" style="text-decoration: none">Nachrichten</a>
  91.         <a class="navi wallpaper" href="<?echo $domain;?>/meinefreunde/" style="text-decoration: none">Freunde</a>
  92.         <a class="navi wallpaper" href="<?echo $domain;?>/news.php/" style="text-decoration: none">News</a>
  93.         <a class="navi wallpaper" href="<?echo $domain;?>/chat/" style="text-decoration: none">Chat</a>
  94.         <a class="navi wallpaper" href="<?echo $domain.'/'.$user_daten->username;?>" style="text-decoration: none">Profil</a>
  95. <?php } else { ?>
  96.  
  97.         <a href="<?echo $domain;?>/impressum.php" class="navi sonst" style="text-decoration: none">Impressum</a>
  98.         <a href="<?echo $domain;?>/Forum/" class="navi zeich" style="text-decoration: none">Forum</a>
  99.         <a class="navi wallpaper" href="<?echo $domain;?>/hilfe.php/" style="text-decoration: none">Hilfe</a>
  100.         <a class="navi dim" href="<?echo $domain;?>/login/" style="text-decoration: none">Login</a>
  101.         <a class="navi digku" href="<?echo $domain;?>/anmelden/" style="text-decoration: none">Anmelden</a>
  102. <?php } ?>
  103.  
  104.         <a class="navi foto" href="<?echo $domain;?>/webseite.php" style="text-decoration: none">Startseite</a>
  105.  
  106.  
  107.         <a class="navi uebersicht" href="<?echo $domain;?>">
  108.         <img src="<?echo $domain;?>/images/icon_header/icon_home.gif" alt="WakeStars" width="16" height="16"/></a>
  109. </div>
  110.  
  111. <ul class="color">
  112.         <li class="red">&nbsp;</li>
  113.         <li class="orange">&nbsp;</li>
  114.         <li class="yellow">&nbsp;</li>
  115.         <li class="green">&nbsp;</li>
  116.         <li class="mh">&nbsp;</li>
  117.         <li class="blue">&nbsp;</li>
  118. </ul>
  119.                 </div></div>
  120.         </div>
  121. </body>
  122. </html>
  123.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top