1 |
<?php |
2 |
|
3 |
if ($section == "index") { |
4 |
$section="domov"; |
5 |
} |
6 |
|
7 |
if ($section == "domov") { |
8 |
$title = "DOMOV"; |
9 |
$mpic = "dobrodosli.gif"; |
10 |
$main_file = "main"; |
11 |
} elseif ($section == "o_nas") { |
12 |
$title="O NAS"; |
13 |
} elseif ($section == "products") { |
14 |
$title="IZDELKI"; |
15 |
} elseif ($section == "investor") { |
16 |
$title="NASVETI"; |
17 |
$mpic="investors.gif"; |
18 |
} elseif ($section == "rnd") { |
19 |
$title="SLADKORNA STRAN"; |
20 |
$tmp = time() % 2; |
21 |
$mpic="rnd_u".($tmp+1).".gif"; |
22 |
} elseif ($section == "careers") { |
23 |
$title="ZA ZDRAVNIKE"; |
24 |
$mpic="careers.gif"; |
25 |
} |
26 |
|
27 |
?> |