Parent Directory | Revision Log
banner support, new multi-page support (with back-end)
1 | dpavlin | 1.1 | <?php |
2 | require("Smarty.class.php"); | ||
3 | require("conn.inc"); | ||
4 | |||
5 | $smarty = new Smarty; | ||
6 | |||
7 | $smarty->assign( array ( Title=>"Pliva d.d." ) ); | ||
8 | |||
9 | $main_file=$section; | ||
10 | |||
11 | dpavlin | 1.3 | include("section.inc"); |
12 | dpavlin | 1.1 | |
13 | $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); | ||
14 | |||
15 | include("common.inc"); | ||
16 | |||
17 | $main=$smarty->fetch("$main_file.tpl"); | ||
18 | $smarty->assign("MAIN",$main); | ||
19 | |||
20 | $smarty->display("index.tpl"); | ||
21 | ?> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |