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"); |
22 |
$section_name = "Disease & Symptomes"; |
$section_name = "Disease & 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); |