Nieuw lid |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<head>
<title>Welcome @ P-town::..</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body {
background-color: #333333;
}
body,td,th {
color: #FFFFFF;
}
.style1 {
font-family: "Courier New", Courier, mono;
font-size: x-small;
}
.style2 {
font-size: small;
color: #CC3300;
font-weight: bold;
}
.style3 {
font-size: xx-small;
font-weight: bold;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: underline;
color: #CC3300;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}
.style4 {font-size: x-small}
-->
</style></head>
<?php
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$starttime = $mtime;
mysql_connect ("localhost","websiteforum","");
mysql_select_db("websiteforum_nl_db");
function ip() {
if(getenv("HTTP_X_FORWARDED_FOR")) {
$IPadres = getenv("HTTP_X_FORWARDED_FOR");
} elseif(getenv("HTTP_CLIENT_IP")) {
$IPadres = getenv("HTTP_CLIENT_IP");
} else {
$IPadres = $_SERVER["REMOTE_ADDR"];
}
return $IPadres;
}
//Operating system
function haal_os()
{
if(eregi("(win|windows)[ ]*((nt)*[ /]*([0-9]+(.?[0-9]+))*)", $_SERVER["HTTP_USER_AGENT"]))
{
if(eregi("(win|windows)[ ](95)", $_SERVER["HTTP_USER_AGENT"]))
{
return "Windows 95";
}
elseif(eregi("(win|windows)[ ](9x)[ ](4.90)", $_SERVER["HTTP_USER_AGENT"]))
{
return "Windows ME";
}
elseif(eregi("(win|windows)[ ](98)", $_SERVER["HTTP_USER_AGENT"]))
{
return "Windows 98";
}
elseif(eregi("(win|windows)[ ](NT)", $_SERVER["HTTP_USER_AGENT"]))
{
if(eregi("(win|windows)[ ](NT)[ ](5.1)", $_SERVER["HTTP_USER_AGENT"]))
{
return "Windows XP";
}
elseif(eregi("(win|windows)[ ](NT)[ ](5.0)", $_SERVER["HTTP_USER_AGENT"]))
{
return "Windows 2000";
}
else
{
return "Windows NT";
}
}
else
{
return "Windows";
}
}
elseif(stristr($_SERVER["HTTP_USER_AGENT"], "Linux"))
{
return "Linux";
}
elseif(stristr($_SERVER["HTTP_USER_AGENT"], "Unix"))
{
return "Unix";
}
elseif(stristr($_SERVER["HTTP_USER_AGENT"], "Mac"))
{
return "MacOs";
}
elseif(stristr($_SERVER["HTTP_USER_AGENT"], "PPC"))
{
return "MacOs";
}
elseif(stristr($_SERVER["HTTP_USER_AGENT"], "HP"))
{
return "HPuX";
}
elseif(stristr($_SERVER["HTTP_USER_AGENT"], "SunOS"))
{
return "SunOS";
}
else
{
return "Onbekend";
}
}
?>
<body>
<p> </p>
<p> </p>
<!-- hier kan je dan je tabel zetten: -->
<table width="80%" cellpadding="0" cellspacing="0" border="1" div align="center">
<tr>
<td colspan="2" vAlign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="54%" align="left" valign="top">
<p align="center"><img src="../websiteforum/images/main-image.jpg" width="577" height="115"></td>
<td width="46%" bgcolor="#CC3300"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="style1"><?php
include ("config.php");
echo "<marquee width=70% style=\"cursor: default\" onmouseover=\"this.stop()\" onmouseout=\"this.start()\">";
$sql1 = "SELECT * FROM berichtenbalk ORDER BY id DESC LIMIT $hoeveel"; //ophalen van de berichten
$query1 = mysql_query($sql1);
while ($list = mysql_fetch_object($query1))
{
$naam1 = $list->naam;
$bericht1 = $list->bericht; //stuksje ubb
$bericht1 = nl2br($bericht1);
$bericht1 = htmlspecialchars($bericht1);
$bericht1 = str_replace(":)","<img src=\"smileys/smile.gif\">",$bericht1);
$bericht1 = str_replace(":s","<img src=\"smileys/wacko.gif\">",$bericht1);
$bericht1 = str_replace(":P","<img src=\"smileys/emotie38.gif\">",$bericht1);
$bericht1 = str_replace(";)","<img src=\"smileys/wink.gif\">",$bericht1);
$bericht1 = str_replace("(h)","<img src=\"smileys/emotie9.gif\">",$bericht1);
$bericht1 = str_replace(":@","<img src=\"smileys/mad.gif\">",$bericht1);
echo "<b>$naam1</b>: $bericht1 $teken "; //uiteindelijk het tone van de berichten
}
echo "</marquee><br>";
echo "<a href=index.php?pagina=toevoegen>Bericht plaatsen</a>"; //de link op een bericht te plaatsen
?></td>
</tr>
<tr>
<td width="25%">
<table width="100%" border="0" class="style1">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><div align="left"><strong class="style2">Menu::..</strong> </div></th>
</tr>
<tr>
<th scope="col"><div align="left" class="style1"><a href="index.php?pagina=home"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Home</a><br>
<a href="index.php?pagina=albumlist"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Fotos</a><br>
<a href="index.php?pagina=toevoegen"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Berichtenbalk</a> <br>
<a href="index.php?pagina=gastenboek"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Gastenboek</a><br>
<a href="index.php?pagina=forum"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Forum</a><br>
<a href="index.php?pagina=crew"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Crew..::About Us:..</a><br>
<a href="index.php?pagina=links"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Links</a> </div></th>
</tr>
</table></td>
</tr>
<tr>
<td><?php
$dir = "Terschelling%202004/.JPG";
$teller=-1;
if ($handle = opendir($dir)) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
$teller++;
$img[$teller] = $file;
}
}
closedir($handle);
}
$random = rand(0, count($img));
echo "<a href=$dir$img[$random] TARGET=_blank><img src=\"$dir$img[$random]\" width=140 height=170 border=0></a>";
?></td>
</tr>
<tr>
<td></td>
</tr>
</table>
<table border="0" width="100%">
<tr>
<td> </td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th align="left" valign="top" scope="col"><p class="style1"><span class="style2">Statistieken::.. </span></p> </th>
</tr>
<tr>
<th align="left" valign="top" scope="col"><strong><span class="style1">
<img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0"><?php include('bezoekers.php'); ?>
<br>
<img src="../websiteforum/images/pijl.gif" width="8" height="7"><?php
echo ip();
?>
</span></strong><span class="style1"><br>
<strong>
<img src="../websiteforum/images/pijl.gif" width="8" height="7"><?php
echo haal_os();
?>
</strong><br>
<strong class="style1">
<img src="../websiteforum/images/pijl.gif" width="8" height="7"><?php
// dag van de week array
$Dag = array("Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag");
// maand array
$Maand = array("Niet", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Julli", "Augustus", "September", "Oktober", "November", "December");
$w = date("w");
$j = date("j");
$n = date("n");
$Y = date("Y");
echo $Dag[$w] . ", " . $j . " " . $Maand[$n] . " " . $Y . " "; //datum laten zien
?>
<br>
<img src="../websiteforum/images/pijl.gif" width="8" height="7"><?php
$sinds = "1 September 2004"; // vul hier de datum in, van wanneer de teller telt
$bestand = "teller.log";
if (file_exists($bestand)) {
$actie = fopen($bestand, "r+");
$aantal = fgets($actie, 6);
$aantal++;
rewind($actie);
fputs($actie, $aantal, 6);
fclose($actie);
}else{
$actie = fopen($bestand, "w");
$aantal = "1";
fputs($actie, $aantal, 6);
fclose($actie);
}
echo "U bent bezoeker <b>$aantal</b> sinds $sinds";
?>
</strong></span></th>
</tr>
</table></td>
</tr>
<tr>
</table>
</td>
<td width="*" align="left" valign="top">
<!-- hier komt dan de inhoud van de pagina -->
<?php
if($pagina == 'gastenboek')
$pagina = '../websiteforum/gbookv1/';
include(''.$pagina.'.php');
?>
<!-- eindigt hier -->
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" vAlign="middle">
<table border="0" width="100%">
<tr><td>
<p align="center" class="style3 style4">@ 2004 | Pim, Harm, Jazz-man, Sebazle, Paddyboy | <?php
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$endtime = $mtime;
$totaltime = ($endtime - $starttime);
printf("Pagina geladen in %f seconden.", $totaltime);
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> <html> <head> <title>Welcome @ P-town::..</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"> <!-- body { background-color: #333333; } body,td,th { color: #FFFFFF; } .style1 { font-family: "Courier New", Courier, mono; font-size: x-small; } .style2 { font-size: small; color: #CC3300; font-weight: bold; } .style3 { font-size: xx-small; font-weight: bold; } a:link { color: #FFFFFF; text-decoration: none; } a:visited { text-decoration: none; color: #FFFFFF; } a:hover { text-decoration: underline; color: #CC3300; } a:active { text-decoration: none; color: #FFFFFF; } .style4 {font-size: x-small} --> </style></head> <?php $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; function ip() { if(getenv("HTTP_X_FORWARDED_FOR")) { $IPadres = getenv("HTTP_X_FORWARDED_FOR"); } elseif(getenv("HTTP_CLIENT_IP")) { $IPadres = getenv("HTTP_CLIENT_IP"); } else { $IPadres = $_SERVER["REMOTE_ADDR"]; } return $IPadres; } //Operating system function haal_os() { if(eregi("(win|windows)[ ]*((nt)*[ /]*([0-9]+(.?[0-9]+))*)", $_SERVER["HTTP_USER_AGENT"])) { if(eregi("(win|windows)[ ](95)", $_SERVER["HTTP_USER_AGENT"])) { return "Windows 95"; } elseif(eregi("(win|windows)[ ](9x)[ ](4.90)", $_SERVER["HTTP_USER_AGENT"])) { return "Windows ME"; } elseif(eregi("(win|windows)[ ](98)", $_SERVER["HTTP_USER_AGENT"])) { return "Windows 98"; } elseif(eregi("(win|windows)[ ](NT)", $_SERVER["HTTP_USER_AGENT"])) { if(eregi("(win|windows)[ ](NT)[ ](5.1)", $_SERVER["HTTP_USER_AGENT"])) { return "Windows XP"; } elseif(eregi("(win|windows)[ ](NT)[ ](5.0)", $_SERVER["HTTP_USER_AGENT"])) { return "Windows 2000"; } else { return "Windows NT"; } } else { return "Windows"; } } elseif(stristr($_SERVER["HTTP_USER_AGENT"], "Linux")) { return "Linux"; } elseif(stristr($_SERVER["HTTP_USER_AGENT"], "Unix")) { return "Unix"; } elseif(stristr($_SERVER["HTTP_USER_AGENT"], "Mac")) { return "MacOs"; } elseif(stristr($_SERVER["HTTP_USER_AGENT"], "PPC")) { return "MacOs"; } elseif(stristr($_SERVER["HTTP_USER_AGENT"], "HP")) { return "HPuX"; } elseif(stristr($_SERVER["HTTP_USER_AGENT"], "SunOS")) { return "SunOS"; } else { return "Onbekend"; } } ?> <body> <p> </p> <p> </p> <!-- hier kan je dan je tabel zetten: --> <table width="80%" cellpadding="0" cellspacing="0" border="1" div align="center"> <tr> <td colspan="2" vAlign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td width="54%" align="left" valign="top"> <p align="center"><img src="../websiteforum/images/main-image.jpg" width="577" height="115"></td> <td width="46%" bgcolor="#CC3300"> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" class="style1"><?php include ("config.php"); echo "<marquee width=70% style=\"cursor: default\" onmouseover=\"this.stop()\" onmouseout=\"this.start()\">"; $sql1 = "SELECT * FROM berichtenbalk ORDER BY id DESC LIMIT $hoeveel"; //ophalen van de berichten { $naam1 = $list->naam; $bericht1 = $list->bericht; //stuksje ubb $bericht1 = nl2br($bericht1); $bericht1 = str_replace(":)","<img src=\"smileys/smile.gif\">",$bericht1); $bericht1 = str_replace(":s","<img src=\"smileys/wacko.gif\">",$bericht1); $bericht1 = str_replace(":P","<img src=\"smileys/emotie38.gif\">",$bericht1); $bericht1 = str_replace(";)","<img src=\"smileys/wink.gif\">",$bericht1); $bericht1 = str_replace("(h)","<img src=\"smileys/emotie9.gif\">",$bericht1); $bericht1 = str_replace(":@","<img src=\"smileys/mad.gif\">",$bericht1); echo "<b>$naam1</b>: $bericht1 $teken "; //uiteindelijk het tone van de berichten } echo "<a href=index.php?pagina=toevoegen>Bericht plaatsen</a>"; //de link op een bericht te plaatsen ?></td> </tr> <tr> <td width="25%"> <table width="100%" border="0" class="style1"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th scope="col"><div align="left"><strong class="style2">Menu::..</strong> </div></th> </tr> <tr> <th scope="col"><div align="left" class="style1"><a href="index.php?pagina=home"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Home</a><br> <a href="index.php?pagina=albumlist"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Fotos</a><br> <a href="index.php?pagina=toevoegen"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Berichtenbalk</a> <br> <a href="index.php?pagina=gastenboek"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Gastenboek</a><br> <a href="index.php?pagina=forum"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Forum</a><br> <a href="index.php?pagina=crew"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Crew..::About Us:..</a><br> <a href="index.php?pagina=links"><img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0">Links</a> </div></th> </tr> </table></td> </tr> <tr> <td><?php $dir = "Terschelling%202004/.JPG"; $teller=-1; while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { $teller++; $img[$teller] = $file; } } } echo "<a href=$dir$img[$random] TARGET=_blank><img src=\"$dir$img[$random]\" width=140 height=170 border=0></a>"; ?></td> </tr> <tr> <td></td> </tr> </table> <table border="0" width="100%"> <tr> <td> </td> </tr> <tr> <td></td> </tr> <tr> <td> </td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <th align="left" valign="top" scope="col"><p class="style1"><span class="style2">Statistieken::.. </span></p> </th> </tr> <tr> <th align="left" valign="top" scope="col"><strong><span class="style1"> <img src="../websiteforum/images/pijl.gif" width="8" height="7" border="0"><?php include('bezoekers.php'); ?> <br> <img src="../websiteforum/images/pijl.gif" width="8" height="7"><?php ?> </span></strong><span class="style1"><br> <strong> <img src="../websiteforum/images/pijl.gif" width="8" height="7"><?php ?> </strong><br> <strong class="style1"> <img src="../websiteforum/images/pijl.gif" width="8" height="7"><?php // dag van de week array $Dag = array("Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"); // maand array $Maand = array("Niet", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Julli", "Augustus", "September", "Oktober", "November", "December"); echo $Dag[$w] . ", " . $j . " " . $Maand[$n] . " " . $Y . " "; //datum laten zien ?> <br> <img src="../websiteforum/images/pijl.gif" width="8" height="7"><?php $sinds = "1 September 2004"; // vul hier de datum in, van wanneer de teller telt $bestand = "teller.log"; $actie = fopen($bestand, "r+"); $aantal = fgets($actie, 6); $aantal++; fputs($actie, $aantal, 6); }else{ $actie = fopen($bestand, "w"); $aantal = "1"; fputs($actie, $aantal, 6); } echo "U bent bezoeker <b>$aantal</b> sinds $sinds"; ?> </strong></span></th> </tr> </table></td> </tr> <tr> </table> </td> <td width="*" align="left" valign="top"> <!-- hier komt dan de inhoud van de pagina --> <?php if($pagina == 'gastenboek') $pagina = '../websiteforum/gbookv1/'; include(''.$pagina.'.php'); ?> <!-- eindigt hier --> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2" vAlign="middle"> <table border="0" width="100%"> <tr><td> <p align="center" class="style3 style4">@ 2004 | Pim, Harm, Jazz-man, Sebazle, Paddyboy | <?php $mtime = $mtime[1] + $mtime[0]; $endtime = $mtime; $totaltime = ($endtime - $starttime); printf("Pagina geladen in %f seconden.", $totaltime); ?> </td> </tr> </table> </td> </tr> </table> </body> </html>
WAAROM OPENT DIE DE PAGINA NIET?
|