/[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.8 - (show annotations)
Thu Nov 8 21:43:55 2001 UTC (22 years, 5 months ago) by dpavlin
Branch: MAIN
Changes since 1.7: +3 -1 lines
search

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="ZA ZDRAVNIKE";
30 } elseif ($m == "novosti") {
31 $title="NOVICE";
32 } elseif ($m == "pisite_nam") {
33 $title="pisite nam";
34 } elseif ($m == "najdi") {
35 $title="NAJDI";
36 }
37
38 if ($old_title) $title.=$old_title;
39
40 ?>

  ViewVC Help
Powered by ViewVC 1.1.26