<HTML>
<HEAD>
<meta name="author" content="Vegras">
<LINK HREF="style.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" SCROLLING="no" STYLE="overflow: hidden;">
<IFRAME SRC="shout.html" HEIGHT=300 WIDTH=250 HSPACE=0 VSPACE=0 FRAMEBORDER=0 HSCROLLING="no"></IFRAME>
<form action="shout.php" method="POST">
<TABLE border=0 WIDTH=240><TR><TD>
<FONT CLASS="cont_text">Name:</FONT>
</TD><TD WIDTH=5></TD><TD>
<INPUT TYPE="text" NAME="name" maxlength="15">
</TD></TR>
<TR><TD>
<FONT CLASS="cont_text">Message:</FONT>
</TD><TD WIDTH=5></TD><TD>
<INPUT TYPE="text" NAME="message" maxlength="85">
</TD></TR>
<TR><TD></TD><TD WIDTH=5></TD><TD>
<input type="submit" value="Send message!">
</TD></TR></TABLE>
</FORM>
</BODY>
</HTML>
<?php
$file = "shout.html";
$msg = $_POST['message'];
$name = $_POST['name'];
if($msg=="")
return false;
if($name==""||$name=="Vegras"||$name=="vegras")
$name="Guest";
$filename = file($file);
$hd = "</BODY><HEAD><LINK HREF='style.css' REL='stylesheet' TYPE='text/css'></HEAD><BODY>";
$poster = "$hd <FONT COLOR='#545454'>$name</FONT>: <FONT COLOR='#000000'>$msg</FONT><BR><HR>";
$total = 1000;
$filename = file($file);
$openfile = fopen($file,"w");
fputs($openfile, "$poster");
for($i = 0; $i < ($total-1); $i++)
fputs($openfile,$filename[$i]);
fclose($openfile);
?>