/[health_html]/index.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 /index.php

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

revision 1.7 by ravilov, Tue Sep 4 09:48:51 2001 UTC revision 1.8 by ravilov, Tue Sep 4 09:52:42 2001 UTC
# Line 15  Line 15 
15          if ($section == "home") {          if ($section == "home") {
16                  $section_name = "Home";                  $section_name = "Home";
17                  $mnu = "inc/menuHome.php";                  $mnu = "inc/menuHome.php";
18                  $inc = "inc/pgHome".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgHome";
19          } else if ($section == "bolesti") {          } else if ($section == "bolesti") {
20                  $section_name = "Bolesti";                  $section_name = "Bolesti";
21                  $mnu = "inc/menuBolesti.php";                  $mnu = "inc/menuBolesti.php";
22                  $inc = "inc/pgBolesti".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgBolesti";
23          } else if ($section == "simptomi") {          } else if ($section == "simptomi") {
24                  $section_name = "Simptomi";                  $section_name = "Simptomi";
25                  $mnu = "inc/menuSimptomi.php";                  $mnu = "inc/menuSimptomi.php";
26                  $inc = "inc/pgSimptomi".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgSimptomi";
27          } else if ($section == "stanja") {          } else if ($section == "stanja") {
28                  $section_name = "Stanja";                  $section_name = "Stanja";
29                  $mnu = "inc/menuStanja.php";                  $mnu = "inc/menuStanja.php";
30                  $inc = "inc/pgStanja".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgStanja";
31          } else if ($section == "lifestyle") {          } else if ($section == "lifestyle") {
32                  $section_name = "Lifestyle";                  $section_name = "Lifestyle";
33                  $mnu = "inc/menuLifestyle.php";                  $mnu = "inc/menuLifestyle.php";
34                  $inc = "inc/pgLifestyle".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgLifestyle";
35          } else if ($section == "knjiznica") {          } else if ($section == "knjiznica") {
36                  $section_name = "Knjižnica";                  $section_name = "Knjižnica";
37                  $mnu = "inc/menuKnjiznica.php";                  $mnu = "inc/menuKnjiznica.php";
38                  $inc = "inc/pgKnjiznica".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgKnjiznica";
39          }          }
40          if ($section_name) array_push($PATH, MyUpper($section_name));          if ($section_name) array_push($PATH, MyUpper($section_name));
41          if ($section_menu_name) array_push($PATH, MyUpper($section_menu_name));          if ($section_menu_name) array_push($PATH, MyUpper($section_menu_name));
42          if ($mnu && file_exists($mnu)) {          if ($mnu && file_exists($mnu)) {
43                  include_once($mnu);                  include_once($mnu);
44                  include_once("inc/menu.php");                  include_once("inc/menu.php");
45                    $inc = $inc.($section_menu?"-$section_menu":"").".php";
46          }          }
47          if ($inc && file_exists($inc)) include_once($inc);          if ($inc && file_exists($inc)) include_once($inc);
48          $tpl->assign("isedit", $isEdit);          $tpl->assign("isedit", $isEdit);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.26