/[pliva-si]/inc/section.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /inc/section.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations)
Tue Nov 20 17:44:16 2001 UTC (17 years, 6 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +2 -0 lines
autorizacija korisnika

1 <?php
2
3 if ($section == "index") {
4 $section="domov";
5 }
6
7 // don't use section, use $m
8 if (!isset($m)) {
9 $m=$section;
10 }
11
12 if ($title) $old_title=$title;
13
14 if ($m == "domov") {
15 $title = "DOMOV";
16 $mpic = "dobrodosli.jpg";
17 $main_file = "main";
18 } elseif ($m == "o_nas") {
19 $title="O NAS";
20 } elseif ($m == "izdelki") {
21 $title="IZDELKI";
22 } elseif ($m == "nasveti") {
23 $title="NASVETI";
24 } elseif ($m == "sladkorna") {
25 $title="SLADKORNA STRAN";
26 } elseif ($m == "otroci") {
27 $title="SLADKORNA STRAN : OTROCI";
28 } elseif ($m == "za_zdravnike") {
29 $title="ZDRAVILA";
30 } elseif ($m == "novosti") {
31 $title="O NAS";
32 $m="o_nas"; // use o_nas menu in Novice!
33 } elseif ($m == "pisite_nam") {
34 $title="PIĀ©ITE NAM";
35 } elseif ($m == "prijava") {
36 $title="ZDRAVILA";
37 } elseif ($m == "najdi") {
38 $title="NAJDI";
39 }
40
41 if ($old_title) $title.=$old_title;
42
43 ?>

  ViewVC Help
Powered by ViewVC 1.1.26