Changeset 16 for page_action.php
- Timestamp:
- Sep 30, 2008, 10:24:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
page_action.php
r4 r16 10 10 } 11 11 12 if (array_key_exists('admin_check', $_GET) and Licence(2)) { 13 $ID = $_GET['ID']; 14 $admin_check = $_GET['admin_check']; 15 $entry = mysql_fetch_array($Database->SQLCommand("SELECT entry FROM page_text Where ID = $ID")); 16 $Database->SQLCommand("UPDATE page_text SET admin_check = '0' WHERE entry = '".$entry['entry']."' AND Language <> '0'"); 17 $Database->SQLCommand("UPDATE page_text SET admin_check = '$admin_check' WHERE ID = '$ID' AND Language <> '0'"); 18 if ($admin_check = 1) { 19 echo 'Pøeklad byl zkontrolován!'; 20 WriteLog('Pøeklad byl zkontrolován! <a href="form.php?ID='.$ID.'">'.$ID.'</a>', 4); 21 } else { 22 echo 'U pøekladu bylo zrueno zkontrolování!'; 23 WriteLog('U pøekladu bylo zrueno zkontrolování! <a href="form.php?ID='.$ID.'">'.$ID.'</a>', 4); 24 } 25 } 26 12 27 if (array_key_exists('NotComplete', $_GET) and Licence(1)) { 13 28 $page_ID = $_GET['ID'];
Note:
See TracChangeset
for help on using the changeset viewer.