2 |
if ($redir) { |
if ($redir) { |
3 |
if ($redir == "harrison") include_once("inc/harrison.php"); |
if ($redir == "harrison") include_once("inc/harrison.php"); |
4 |
else { |
else { |
5 |
|
include_once("inc/global.php"); |
6 |
|
include_once("inc/util.php"); |
7 |
include_once("inc/banneri.php"); |
include_once("inc/banneri.php"); |
8 |
// Sad tu neki brojac klikova ili nesto... |
// Sad tu neki brojac klikova ili nesto... |
9 |
Header("Location: ".$banneri[$redir - 1]["url"]); |
$loc = $banneri[$redir - 1]["url"]; |
10 |
|
if (!$loc) $loc = "?section=home"; |
11 |
|
Header("Location: $loc"); |
12 |
} |
} |
13 |
exit; |
exit; |
14 |
} |
} |
15 |
|
Header("Pragma: no-cache"); |
16 |
|
Header("Cache-Control: no-cache"); |
17 |
|
Header("Cache-Policy: no-cache"); |
18 |
include_once("inc/global.php"); |
include_once("inc/global.php"); |
19 |
include_once("inc/util.php"); |
include_once("inc/util.php"); |
20 |
$picdir = str_replace("//", "/", dirname($PHP_SELF)); |
$picdir = str_replace("//", "/", dirname($PHP_SELF)); |
139 |
$mnu = $inc = ""; |
$mnu = $inc = ""; |
140 |
} |
} |
141 |
} |
} |
142 |
|
$push_menu = true; |
143 |
if ($mnu && file_exists("inc/$mnu")) { |
if ($mnu && file_exists("inc/$mnu")) { |
144 |
$keep_template = false; |
$keep_template = false; |
145 |
include_once("inc/$mnu"); |
include_once("inc/$mnu"); |
158 |
} |
} |
159 |
$inc .= ".php"; |
$inc .= ".php"; |
160 |
if ($section_name) array_push($PATH, MyUpper($section_name)); |
if ($section_name) array_push($PATH, MyUpper($section_name)); |
161 |
if ($section_menu_name) array_push($PATH, MyUpper($section_menu_name)); |
if ($section_menu_name && $push_menu) array_push($PATH, MyUpper($section_menu_name)); |
162 |
if ($section_menu2_name) array_push($PATH, MyUpper($section_menu2_name)); |
if ($section_menu2_name) array_push($PATH, MyUpper($section_menu2_name)); |
163 |
if ($inc && file_exists("inc/$inc")) include_once("inc/$inc"); |
if ($inc && file_exists("inc/$inc")) include_once("inc/$inc"); |
164 |
if ($isMed) { |
if ($isMed) { |