You are not logged in.
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<?php if($_GET['stat']==0){ echo ' <h1 style="font-family:Comic Sans MS;color:#0000CC">Geschäftliches editieren</h1> <form action="index.php?site=AdminMenu&menu=geschaftledit&stat=1" method="post"> <p align="left" valign="top" style="font-family:Comic Sans MS;font-size:11pt;font-weight:bold;color:#0000FF"> <textarea name="mytext" cols="60" rows="20">H"H"H"H"H"H"</textarea><br> <input type="button" name="Verweis" value="Abbruch" onClick=self.location.href="index.php?site=AdminMenu"> <input type="submit" value="weiter >"> </p> </form> '; }elseif($_GET['stat']==1){ $filename="TXTData/geschaftl.txt"; $file=fopen($filename,"w"); fwrite($file,$_POST["mytext"]); fclose($file); echo $_POST["mytext"]; echo ' <h1 style="font-family:Comic Sans MS;color:#0000CC">Fertig</h1> <form> <p style="font-family:Comic Sans MS;color:#0000FF;font-weight:bold"> Der Text wurde editiert<br> <br> <input type="button" name="Verweis" value="Zurück zum Menü" onClick=self.location.href="index.php?site=AdminMenu"> </p> </form> '; } ?> |
-