/[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

Diff of /inc/section.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ravilov, Thu Jun 28 12:13:11 2001 UTC revision 1.4 by dpavlin, Mon Jul 2 21:15:11 2001 UTC
# Line 4  if ($section == "index") { Line 4  if ($section == "index") {
4          $section="domov";          $section="domov";
5  }  }
6    
7  if ($section == "domov") {  // don't use section, use $m
8    if (!isset($m)) {
9            $m=$section;
10    }
11    
12    if ($m == "domov") {
13          $title = "DOMOV";          $title = "DOMOV";
14          $mpic = "dobrodosli.gif";          $mpic = "dobrodosli.gif";
15          $main_file = "main";          $main_file = "main";
16  } elseif ($section == "o_nas") {  } elseif ($m == "o_nas") {
17          $title="O NAS";          $title="O NAS";
18  } elseif ($section == "products") {  } elseif ($m == "izdelki") {
19          $title="IZDELKI";          $title="IZDELKI";
20  } elseif ($section == "investor") {  } elseif ($m == "nasveti") {
21          $title="NASVETI";          $title="NASVETI";
22          $mpic="investors.gif";  } elseif ($m == "sladkorna") {
 } elseif ($section == "rnd") {  
23          $title="SLADKORNA STRAN";          $title="SLADKORNA STRAN";
24          $tmp = time() % 2;  #       $tmp = time() % 2;
25          $mpic="rnd_u".($tmp+1).".gif";  #       $mpic="rnd_u".($tmp+1).".gif";
26  } elseif ($section == "careers") {  } elseif ($m == "za_zdravnike") {
27          $title="ZA ZDRAVNIKE";          $title="ZA ZDRAVNIKE";
28          $mpic="careers.gif";  } elseif ($m == "novosti") {
29            $title="NOVICE";
30    } elseif ($m == "pisite_nam") {
31            $title="PISITE NAM";
32  }  }
33    
34  ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26