source: branches/old/test/aktuality/edit.php

Last change on this file was 5, checked in by george, 17 years ago

import

File size: 1.0 KB
Line 
1
2<?
3 include('../global.php');
4 ShowHeader();
5?>
6
7<TABLE width="100%" border="0">
8<TR>
9
10
11<TD width="5%" valign="top">
12
13<TD valign="top">
14<div class='sample'>
15<P style="font-family: Comic Sans MS; font-size: 14px; color:white; ">
16Odkaz vkládejte ve tvaru: &lt;A href="nìco" style="color:#ffff33"&gt;nìco&lt;/A&gt; (pø: &lt;A href="/download_soubory/client.php" style="color:#ffff33"&gt;zde&lt;/A&gt;)
17<br>Jiné styly pøes: &lt;span style="nìco"&gt;nìco&lt;/span&gt;(pø: &lt;span style="color: red"&gt;Nová verze Clientu &lt;/span&gt;)
18</div>
19<?
20if(array_key_exists('text', $_GET))
21{
22 $Soubor = fopen('../aktuality.php', 'w');
23 fputs($Soubor, $_GET['text']);
24 fclose($Soubor);
25
26
27} else
28{
29 echo('
30 <form action="edit.php" method="get">
31 <input type="hidden" name="datum">
32 <textarea name="text" cols="85" rows="25">');
33 include('../aktuality.php');
34 echo('</textarea><br>
35 <input type="submit" value="Edit">
36 </form>
37 ');
38}
39
40?>
41</p>
42</TABLE>
43<?
44 ShowFooter();
45?>
Note: See TracBrowser for help on using the repository browser.