/[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.14 by ravilov, Fri Sep 28 23:34:37 2001 UTC revision 1.16 by ravilov, Sat Sep 29 12:56:31 2001 UTC
# Line 2  Line 2 
2          if ($redir) {          if ($redir) {
3                  if ($redir == "harrison") include_once("inc/harrison.php");                  if ($redir == "harrison") include_once("inc/harrison.php");
4                  else {                  else {
5                            include_once("inc/global.php");
6                            include_once("inc/util.php");
7                          include_once("inc/banneri.php");                          include_once("inc/banneri.php");
8                          // Sad tu neki brojac klikova ili nesto...                          // Sad tu neki brojac klikova ili nesto...
9                          Header("Location: ".$banneri[$redir - 1]["url"]);                          $loc = $banneri[$redir - 1]["url"];
10                            if (!$loc) $loc = "?section=home";
11                            Header("Location: $loc");
12                  }                  }
13                  exit;                  exit;
14          }          }
15            Header("Pragma: no-cache");
16            Header("Cache-Control: no-cache");
17            Header("Cache-Policy: no-cache");
18          include_once("inc/global.php");          include_once("inc/global.php");
19          include_once("inc/util.php");          include_once("inc/util.php");
20          $picdir = str_replace("//", "/", dirname($PHP_SELF));          $picdir = str_replace("//", "/", dirname($PHP_SELF));
# Line 132  Line 139 
139                          $mnu = $inc = "";                          $mnu = $inc = "";
140                  }                  }
141          }          }
142            $push_menu = true;
143          if ($mnu && file_exists("inc/$mnu")) {          if ($mnu && file_exists("inc/$mnu")) {
144                  $keep_template = false;                  $keep_template = false;
145                  include_once("inc/$mnu");                  include_once("inc/$mnu");
# Line 150  Line 158 
158          }          }
159          $inc .= ".php";          $inc .= ".php";
160          if ($section_name) array_push($PATH, MyUpper($section_name));          if ($section_name) array_push($PATH, MyUpper($section_name));
161          if ($section_menu_name) array_push($PATH, MyUpper($section_menu_name));          if ($section_menu_name && $push_menu) array_push($PATH, MyUpper($section_menu_name));
162          if ($section_menu2_name) array_push($PATH, MyUpper($section_menu2_name));          if ($section_menu2_name) array_push($PATH, MyUpper($section_menu2_name));
163          if ($inc && file_exists("inc/$inc")) include_once("inc/$inc");          if ($inc && file_exists("inc/$inc")) include_once("inc/$inc");
164          if ($isMed) {          if ($isMed) {

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.26