|
@@ 25-29 (lines=5) @@
|
| 22 |
|
|
| 23 |
|
$op = isset($_GET['op']) ? $_GET['op'] : 'default'; |
| 24 |
|
|
| 25 |
|
if (isset($_GET['id'])) { |
| 26 |
|
$cmdId = (int)$_GET['id']; |
| 27 |
|
} else { |
| 28 |
|
Oledrion_utils::redirect(_OLEDRION_ERROR11, 'index.php', 6); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
if (isset($_GET['pass'])) { |
| 32 |
|
$pass = $_GET['pass']; |
|
@@ 31-37 (lines=7) @@
|
| 28 |
|
Oledrion_utils::redirect(_OLEDRION_ERROR11, 'index.php', 6); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
if (isset($_GET['pass'])) { |
| 32 |
|
$pass = $_GET['pass']; |
| 33 |
|
} else { |
| 34 |
|
if (!Oledrion_utils::isAdmin()) { |
| 35 |
|
Oledrion_utils::redirect(_OLEDRION_ERROR11, 'index.php', 6); |
| 36 |
|
} |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
$order = null; |
| 40 |
|
$order = $h_oledrion_commands->get($cmdId); |