<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="nl" xml:lang="nl">
<head>
<title>...:: Welkom! ::... || © ¤ DaVeY ¤</title>
<link type="text/css" rel=stylesheet href=halloween.css></link>
</head>
<body onload="window.status='...:: Welkom! ::...'" bgcolor="
#272727">
<center>
<table width=800 cellpadding=0 cellspacing=0>
<tr>
<td height="200" colspan="4" style="background-image:url(images/headerHalloween.jpg)"></td>
</tr>
<tr>
<td width="196"><table style="height: 100%" cellpadding="0" cellspacing="0">
<tr>
<td width=36 class="balk_li"></td><td>
</tr>
</table>
<td width=390 valign=top>
<?php
include "config.php";
if ( isset ( $_GET['id'] ) && !empty ( $_GET['id'] ) ) {
$bb = mysql_query("SELECT * FROM nieuws WHERE id='".$_GET['id']."'"); ?>
<table cellpadding=0 cellspacing=0 class=td width=100%>
<tr>
<td style='border-bottom:' solid='' black='' bgcolor='#515151'
align='center' class='titel'>
<b><?=$bb->titel?></b> || <?=$bb->tijd?> </td>
</tr>
<tr>
<td height=57><center>
<?=$topics?><br /><br />
<b><em>Gepost door</em></b><em>:
<?=$bb->naam?>
</em>
</center></td>
</tr>
</table><br /><br />
...:: Reacties ::...<br />
<?php
$msel = mysql_query("SELECT * FROM nieuws_reacties WHERE nieuwsid='".$_GET['id']."'ORDER BY reactieid DESC") or
die(mysql_error()); ?>
<table cellpadding=0 cellspacing=0 class=td width=100%>
<tr>
<td style=border-bottom: 'solid black 1px;' bgcolor='#515151' align=center class=titel>
<b><?=$mem['reactienaam']?></b><?php if($mem['reactieemail'] == "")
{
}
else
{
print " || ".$mem['reactieemail'].""; }
?> </td>
</tr>
<tr>
<td height=57><center>
<?=$topic?><br />
</center></td>
</tr>
</table><br />
<?php
}
?>
<table cellpadding='0' cellspacing='0' class='td' width='36%'>
<tr>
<td style='border-bottom:' solid='' black='' bgcolor='#515151'
align='center' class='titel'><b>Reactie</b></td>
</tr>
<tr>
<td height='57'>
<form name='Reactie' method='post' action='check.php?reactie=post'
id='Reactie'>
<input type=hidden name=nieuwsid size=15 value=$_GET[id]></input><br />
Naam:<br />
<input type=text name=reactienaam size=15></input>*<br />
E-Mail:<br />
<input type=text name=reactieemail size=15></input><br />
Bericht:<br />
<table width=32% border=0 cellspacing=0 cellpadding=0>
<tr>
<td align=center height=10 colspan=4></td>
</tr>
<tr>
<td align='center' height='11' colspan='4'><input type='button'
name='b' value='B' style='font-weight:' onclick=
javascript:Invoegen('[b]...[/b]');> <input type='button' name='
url' value='Url' onclick=
javascript:Invoegen('[url]...[/url]');> <input type='button'
name='i' value='I' style='font-style:' onclick=
javascript:Invoegen('[i]...[/i]');> <input type='button' name='u'
value='U' style='text-decoration:' onclick=
javascript:Invoegen('[u]...[/u]');> <input type='button' name='
center' value='Center' onclick=
javascript:Invoegen('[center]...[/center]');> <input type='
button' name='heen' value='Heen' onclick=
javascript:Invoegen('[heen]...[/heen]');> <input type='button'
name='terug' value='Terug' onclick=
javascript:Invoegen('[terug]...[/terug]');></td>
</td>
</tr>
<tr>
<td align=center height=21 colspan=4><small><i><b>Smileys:</b></i></small></td>
</tr>
<tr>
<td height='41' width='24%' valign='middle' align='center'><a href='
javascript:smiley();' onclick=javascript:Invoegen(':)')><img src='
smileys/blij.gif' width='20' border='0'></a></td>
<td height='41' width='24%' align='center' valign='middle'><a href='
javascript:smiley();' onclick=
javascript:Invoegen(':D');><img src='smileys/tanden.gif' width='
20' height='20' border='0'></a></td>
<td height='41' width='23%' valign='middle' align='center'><a href='
javascript:smiley();' onclick=
javascript:Invoegen(':P');><img src='smileys/tong.gif' width='20'
height='20' border='0'></a></td>
<td height='41' width='29%' valign='middle' align='center'><a href='
javascript:smiley();' onclick=
javascript:Invoegen(';)');><img src='smileys/knipoog.gif' width='
20' height='20' border='0'></a></td>
</tr>
<tr>
<td height='36' width='24%' valign='middle' align='center'><a href='
javascript:smiley();' onclick=
javascript:Invoegen(':cool:');><img src='smileys/cool.gif' width='
20' height='20' border='0'></a></td>
<td height='36' width='24%' align='center' valign='middle'><a href='
javascript:smiley();' onclick=
javascript:Invoegen(':s');><img src='smileys/verward.gif' width='
20' height='20' border='0'></a></td>
<td height='36' width='23%' valign='middle' align='center'><a href='
javascript:smiley();' onclick=
javascript:Invoegen(':omg:');><img src='smileys/omg.gif' width='
20' height='20' border='0'></a></td>
<td height='36' width='29%' valign='middle' align='center'><a href='
javascript:smiley();' onclick=
javascript:Invoegen(':(');><img src='smileys/droevig.gif' width='
20' height='20' border='0'></a></td>
</tr>
</table><br />
<textarea name=reactiebericht cols=40 rows=10></textarea>
*<br />
<br />
<input type=submit value=Verzenden name=submit></input> <input type=reset value=Wissen></input>
</form><br />* verplichte velden!
</tr>
</table>
</td>
</tr>
</table>
<?php
}else{
print "Er zijn: <b>".$aantal."</b> blogs<br /><br />"; ?>
<table cellpadding=0 cellspacing=0 class=td width=43%>
<tr><td style='border-bottom: solid black 1px;' align=center class=titel bgcolor='#515151'>
<b>Blogs</b>
</td></tr>
<tr><td>
<?php
$tsel = mysql_query("SELECT * FROM nieuws ORDER BY id DESC LIMIT 3"); // AFKORTEN VAN AANTAL TEKENS BEGINT HIER
$aantal = 10;
if(strlen($topic[titel
]) > $aantal) {
$topic[titel
]= substr($topic[titel
], 0, $aantal)."..."; }
// AFKORTEN VAN AANTAL TEKENS EINDIGD HIER
print "<b>".$topic[tijd
]."</b><br />"; print "<a href='?id=".$topic[id
]."'>".$topic[titel
]."</a><br /><br />"; }
print "<a href='lezen.php'>Meer nieuws... </a><br />"; print "<a href='beheerder.php'>Beheerder</a><br />"; ?>
</td></tr>
</table><br />
<?php
}
?><tr>
<td width=172 valign=top></tr><tr>
<td width=36 valign=top style="background-image:url(images/rechts.jpg)"></tr>
<tr><td height="50" colspan="4" style="background-image:url(images/onder.jpg)"></td>
</tr>
</table>
</center>
<br />
</body>
</html>