We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f8ad2 commit 3a6f9c0Copy full SHA for 3a6f9c0
intropage.php
@@ -36,6 +36,15 @@ function array_column($array,$column_name) {
36
}
37
38
39
+if (empty($_SESSION['login_opts'])) { // potrebuju to mit v session, protoze treba mi zmeni z konzole na tab a pak spatne vykresluju
40
+ $login_opts = db_fetch_cell_prepared('SELECT login_opts
41
+ FROM user_auth
42
+ WHERE id = ?',
43
+ array($_SESSION['sess_user_id']));
44
+
45
+ $_SESSION['login_opts'] = $login_opts;
46
+}
47
48
if ($_SESSION['login_opts'] == 4 || $_SESSION['login_opts'] == 1) { // separated tab, we need header
49
general_header();
50
0 commit comments