Changeset 63 for trunk/action.php
- Timestamp:
- Feb 5, 2009, 8:30:59 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/action.php
r51 r63 15 15 } 16 16 17 if(( @$_POST['Action'] == 'type_translation') and Licence(LICENCE_MODERATOR))17 if((array_key_exists('Action', $_POST)) and ($_POST['Action'] == 'type_translation') and Licence(LICENCE_MODERATOR)) 18 18 { 19 19 if(array_key_exists('1', $_POST)) $check = 1; else $check = 0; … … 55 55 if($Action == 'shoutbox') 56 56 { 57 $shoutbox = $_GET['shoutbox']; 57 if(array_key_exists('shoutbox', $_GET)) $shoutbox = $_GET['shoutbox']; 58 else $shoutbox = ''; 58 59 if($shoutbox == '') 59 60 { 60 echo('<form action="action.php?action=shoutbox&shoutbox=1" method="post"> 61 echo('<form action="action.php?action=shoutbox&shoutbox=1" method="post"><fieldset><legend>Nová zpráva shoutboxu</legend> 61 62 Uživatel: '); 62 63 if(Licence(LICENCE_USER)) echo('<b>'.$_SESSION['User'].'</b><br />'); … … 64 65 echo('Text zprávy: <br> 65 66 <textarea name="text" cols="40"></textarea> <br /> 66 <input type="submit" value="Uložit" /><br /> 67 <input type="submit" value="Uložit" /><br /></fieldset> 67 68 </form>'); 68 69 } else
Note:
See TracChangeset
for help on using the changeset viewer.