2024-09-06 13:22:36 +00:00
|
|
|
<h1>Klotterplanket</h1>
|
|
|
|
<form action="saveMsg.php" method="post">
|
2024-09-09 12:19:57 +00:00
|
|
|
<?php
|
|
|
|
echo '<label>Namn</label><br>';
|
|
|
|
echo '<input type="text" value="' . $_SESSION['username'] .'" disabled name="name"> <br/>';
|
|
|
|
?>
|
2024-09-06 13:22:36 +00:00
|
|
|
<label>Meddelande</label><br>
|
2024-09-09 12:19:57 +00:00
|
|
|
<textarea name="message" cols="45" rows="5"></textarea> <br/>
|
2024-09-06 13:22:36 +00:00
|
|
|
<input type="submit" value="Skicka">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<?php
|
2024-09-13 12:56:16 +00:00
|
|
|
if(file_exists("../../../userData/M3-06-messages.dat")) {
|
|
|
|
echo file_get_contents("../../../userData/M3-06-messages.dat");
|
2024-09-06 13:22:36 +00:00
|
|
|
}
|
2024-09-09 12:19:57 +00:00
|
|
|
?>
|