23. januar 2004 - 13:49
#3
<html>
<head>
<style>
body {
background-color: #FFFFFF;
margin : 0px;
scrollbar-3dlight-color: #245981;
scrollbar-arrow-color: #245981;
scrollbar-darkshadow-color: #245981;
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
}
.input {
font-size: 9px;
font-family: Verdana;
background-color: #FFFFFF;
color: #245981;
border: solid 1px #245981;
scrollbar-track-color: #FFFFFF;
}
.button {
font-size: 9px;
font-family: Verdana;
background-color: #FFFFFF;
color: #245981;
border: solid 1px #245981;
cursor: hand;
height: 16px;
}
td {
font-family: Tahoma;
font-size: 10px;
color: #323232;
}
td a:link { color: #646464; text-decoration: none; }
td a:visited { color: #646464; text-decoration: none; }
td a:active { color: #646464; text-decoration: none; }
td a:hover { color: #FF9900; text-decoration: none; }
span.Bold { color: #646464; }
span.Bold a:link { color: #646464; text-decoration: none; }
span.Bold a:visited { color: #646464; text-decoration: none; }
span.Bold a:active { color: #646464; text-decoration: none; }
span.Bold a:hover { color: #245981; text-decoration: none; }
span.txtlink a:link { color: #323232; text-decoration: none; }
span.txtlink a:visited { color: #323232; text-decoration: none; }
span.txtlink a:active { color: #323232; text-decoration: none; }
span.txtlink a:hover { color: #646464; text-decoration: none; }
span.Blue { color: #245981; font-weight: bold; }
span.Blue a:link { color: #245981; text-decoration: none; }
span.Blue a:visited { color: #245981; text-decoration: none; }
span.Blue a:active { color: #245981; text-decoration: none; }
span.Blue a:hover { color: #646464; text-decoration: none; }
span.grey { color: #646464; }
span.trans { color: #969696; }
span.DeniedSlim { color: #FF0000; }
span.Denied { color: #FF0000; font-weight: bold; }
span.Accepted { color: #0000FF; font-weight: bold; }
</style><link rel="stylesheet" style="text/css" href="system/ny-main.css">
<meta name="generator" content="Namo WebEditor v5.0(Trial)">
<title>nyt dokument pis..</title>
<meta name="generator" content="Namo WebEditor v5.0(Trial)">
</head>
<body onload="clA(adId);">
<p align="left"><font face="Tahoma" size="1" color="#0066CC"><b>Tagwall</b></font><font size="1" face="Tahoma" color="#333333"><b><br></b></font><font size="1" color="#333333"><IMG height=11
src="line.gif" width=305>
</font></p>
<p align="left"><?
if ($mode == "opret") {
$navn = ereg_replace("<","<",$navn);
$navn = ereg_replace(">",">",$navn);
$email = ereg_replace("<","<",$email);
$email = ereg_replace(">",">",$email);
$icq = ereg_replace("<","<",$icq);
$icq = ereg_replace(">",">",$icq);
$besked = ereg_replace("<","<",$besked);
$besked = ereg_replace(">",">",$besked);
$besked = ereg_replace("(\n\r|\r\n)","<br>",$besked);
if (ereg_replace("[0-9]","",$icq) == "") {
if ($besked == "") {
Echo "<P align=left><FONT face=Tahoma size=2><STRONG>Du skal nok lige skrive en besked ikk</STRONG></FONT></P>";
}
else {
if ($navn == "") {
Echo "<P align=left><FONT face=Tahoma size=2><STRONG>Du skal nok lige skrive dit navn ikk</STRONG></FONT></P>.";
}
else {
$fil = "tagwall.txt";
$tid = strftime("%d %B %Y", getlastmod()+3600);
$str = "<font face=\"tahoma\" size=\"1\"><b>$navn tilføjede beskeden:</b><br>$besked<br><img src=\"line.gif\"><br></font>";
$fp = fopen($fil, r);
if($fp) {
$filArray = file($fil);
$result = implode("", $filArray);
$result = "$str$result";
fclose($fp);
}
$fp = fopen($fil, w);
if($fp) {
fputs($fp, $result);
fclose($fp);
}
}
}
}
else {
echo "<P align=left><FONT face=Tahoma size=2><STRONG>Dit icq nummer er ugyldigt</STRONG></FONT></P>.";
}
$mode = "";
}
?>
<p align="left"><?
if ($mode == "") {
?>
<P align="left"><a href="tagwall.php?mode=tilfoj"><FONT face=Tahoma size=2>Tilføj besked</FONT></a></P>
<p align="left">
<p align="left">
<p>
<p>
<p><table border="0" align="left">
<?
readfile("tagwall.txt");
?>
</table>
<?
}
?>
<?
if ($mode == "tilfoj") {
?>
<form action="tagwall.php" method="post">
<p align="left"><input type="hidden" name="mode" value="opret">
<div align="left">
<table border="0">
<tr><td>
<p align="left"><FONT face=Tahoma size=2>Navn:</FONT></td><td>
<p align="left"><input type="text" name="navn" style="background-color: white; color: White; font-family: Tahoma; font-size: 10;" class="input"></td></tr>
<tr><td>
<p align="left"><FONT face=Tahoma size=2>Email:</FONT></td><td>
<p align="left"><input type="text" name="email" style="background-color: white; color: White; font-family: Tahoma; font-size: 10;" class="input"></td></tr>
<tr><td>
<p align="left"><FONT face=Tahoma size=2>Icq:</FONT></td><td>
<p align="left"><input type="text" name="icq" style="background-color: white; color: White; font-family: Tahoma; font-size: 10;" class="input"></td></tr>
<tr><td colspan="2">
<p align="left"><textarea name="besked" cols="30" rows="8" style="background-color: white; color: White; font-family: Tahoma; font-size: 10;" class="input"></textarea></td></tr>
<tr><td colspan="2">
<p align="left"><input type="submit" value="Skriv" style="background-color: blac; color: black; font-family: Tahoma; font-size: 10;" class="button"></td></tr>
</table>
</div>
</form>
<p align="left"><?
}
?>
<p align="left"><font size="1" color="#333333"><IMG height=11
src="line.gif" width=305></font></body>
</html>
<!--webbot bot="HTMLMarkup" endspan i-checksum="6731" -->