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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Thu Aug 30 16:35:36 2001 UTC (22 years, 8 months ago) by ravilov
Branch: MAIN
Changes since 1.1: +15 -1 lines
Started major site rearrangement. Minor bugfixes.

1 ravilov 1.1 <?php
2 ravilov 1.2 $mn = array(
3     array("name" => "sex", "caption" => "Sex"),
4     array("name" => "zdrava", "caption" => "Zdrava prehrana"),
5     array("name" => "bmi", "caption" => "BMI"),
6     array("name" => "ovulacija", "caption" => "Kalendar ovulacije"),
7     array("name" => "fitness", "caption" => "Fitness")
8     );
9     if (!$section_menu) $section_menu = $mn[0]["name"];
10     $section_menu_name = "";
11     while (list($k, $v) = each($mn)) {
12     if ($v["name"] == $section_menu)
13     $section_menu_name = $v["caption"];
14     }
15     $tpl->assign("MENU", $mn);
16     $fname = eregi_replace("(".$tpl->tpl_file_ext.")$", "-$section_menu\\1", $fname);
17 ravilov 1.1 ?>

  ViewVC Help
Powered by ViewVC 1.1.26