wachtwoord); $dbstatus = htmlspecialchars($rij->status); if($dbpass == $_COOKIE['user_password']) { $_SESSION['user_id'] = $_COOKIE['user_id']; $_SESSION['user_status'] = $dbstatus; }else{ setcookie("user_id", "", time() - 3600); setcookie("user_password", "", time() - 3600); echo "Cookies incorrect. Cookies verwijderd."; header("Location: inloggen.php"); } }else{ header("Location: inloggen.php"); } } ?>

 

tags etc zijn, en geen stylsheet // Include deze pagina daarom waar je hem wilt hebben als < ? include("lidonline.php"); ? > (zonder spaties bij haakjes) // config.php al eerder geinclude? Maak van de volgende regel dan commentaar (# of //) include("config.php"); echo ", welkom "; $sql = "SELECT naam,status FROM gebruikers WHERE DATE_SUB(NOW(),INTERVAL 1 MINUTE) <= lastactive ORDER BY naam ASC"; $query = mysql_query($sql); $tellen = mysql_num_rows($query); $i = 1; while($rij = mysql_fetch_object($query)) { $naam = htmlspecialchars($rij->naam); $status = htmlspecialchars($rij->status); if($status == 1) { $naam = "".$naam.""; } echo $naam; if($i != $tellen) { echo ", "; } $i++; } ?> Powered by jGallery2-RC4
 Locatie:  Albums / Broesel / 30-3-2013 / Priscilla / Broesel-30-03-2013-022.jpg             
Bestandstype: image/jpeg - Origineel formaat: 739 x 1099 px, 75 kB