/[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.4 by ravilov, Mon Aug 27 09:17:40 2001 UTC revision 1.5 by ravilov, Thu Aug 30 16:35:36 2001 UTC
# Line 1  Line 1 
1  <?php  <?php
2          include_once("inc/global.php");          include_once("inc/global.php");
3            include_once("inc/util.php");
4          $picdir = dirname($PHP_SELF)."/img/news";          $picdir = dirname($PHP_SELF)."/img/news";
5          $syspicdir = $HTTP_SERVER_VARS["DOCUMENT_ROOT"].$picdir;          $syspicdir = $HTTP_SERVER_VARS["DOCUMENT_ROOT"].$picdir;
6          include_once("inc/Smarty.class.php");          include_once("inc/Smarty.class.php");
# Line 21  Line 22 
22                  $section_name = "Disease &amp; Symptomes";                  $section_name = "Disease &amp; Symptomes";
23                  include_once("inc/menuDS.php");                  include_once("inc/menuDS.php");
24                  $inc = "inc/pgDS".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgDS".($section_menu?"-$section_menu":"").".php";
25          } else if ($section == "conditions") {          } else if ($section == "stanja") {
26                  $section_name = "Conditions";                  $section_name = "Stanja";
27                  include_once("inc/menuConditions.php");                  include_once("inc/menuStanja.php");
28                  $inc = "inc/pgConditions".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgStanja".($section_menu?"-$section_menu":"").".php";
29          } else if ($section == "lifestyle") {          } else if ($section == "lifestyle") {
30                  $section_name = "Lifestyle";                  $section_name = "Lifestyle";
31                  include_once("inc/menuLifestyle.php");                  include_once("inc/menuLifestyle.php");
32                  $inc = "inc/pgLifestyle".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgLifestyle".($section_menu?"-$section_menu":"").".php";
33          } else if ($section == "library") {          } else if ($section == "knjiznica") {
34                  $section_name = "Library";                  $section_name = "Knjižnica";
35                  include_once("inc/menuLibrary.php");                  include_once("inc/menuKnjiznica.php");
36                  $inc = "inc/pgLibrary".($section_menu?"-$section_menu":"").".php";                  $inc = "inc/pgKnjiznica".($section_menu?"-$section_menu":"").".php";
37          }          }
38          if ($inc && file_exists($inc)) include_once($inc);          if ($inc && file_exists($inc)) include_once($inc);
39          $tpl->assign("isedit", $isEdit);          $tpl->assign("isedit", $isEdit);

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

  ViewVC Help
Powered by ViewVC 1.1.26