Changeset 28 for global.php
- Timestamp:
- Feb 13, 2008, 1:59:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.php
r13 r28 11 11 $Database->Prefix = $Config['Database']['Prefix']; 12 12 $Database->charset($Config['Database']['Charset']); 13 14 // SQL injection hack protection 15 foreach($_POST as $Index => $Item) $_POST[$Index] = addslashes($Item); 16 foreach($_GET as $Index => $Item) $_GET[$Index] = addslashes($Item); 13 17 14 18 function ShowPage($Content) … … 57 61 $Class = $Classes[$ClassName]; 58 62 $Table = array( 59 'Header' => array('Polo ka', 'Hodnota'),63 'Header' => array('Položka', 'Hodnota'), 60 64 'Rows' => array(), 61 65 ); … … 81 85 array_push($Table['Rows'], array($Item['Caption'], $Edit)); 82 86 } 83 $Output = '<h3>Tabulka '.$ClassName.'</h3>'.Table($Table).MakeLink('?Operation=Add2', 'P øidat');87 $Output = '<h3>Tabulka '.$ClassName.'</h3>'.Table($Table).MakeLink('?Operation=Add2', 'Přidat'); 84 88 return($Output); 85 89 }
Note:
See TracChangeset
for help on using the changeset viewer.