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

Annotation of /index.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Wed Jul 11 11:59:57 2001 UTC (22 years, 9 months ago) by ravilov
Branch: MAIN, pliva
CVS Tags: a0, HEAD
Changes since 1.1: +0 -0 lines
initial import

1 ravilov 1.1 <?php
2     include_once("inc/Smarty.class.php");
3     include_once("inc/Smarty.addons.php");
4     $tpl = new Smarty();
5     if (!$section) $section = "home";
6     if ($section == "home") {
7     $section_name = "HOME";
8     } else if ($section == "d_s") {
9     $section_name = "DISEASE &amp; SYMPTOMES";
10     } else if ($section == "conditions") {
11     $section_name = "CONDITIONS";
12     } else if ($section == "lifestyle") {
13     $section_name = "LIFESTYLE";
14     } else if ($section == "library") {
15     $section_name = "LIBRARY";
16     }
17     $tpl->assign("section", $section);
18     $tpl->assign("section_name", $section_name);
19     $main = $tpl->fetch("$section.tpl");
20     $tpl->assign("MAIN", $main);
21     $tpl->display("index.tpl");
22     ?>

  ViewVC Help
Powered by ViewVC 1.1.26