1 |
dpavlin |
1.1 |
<?php |
2 |
dpavlin |
1.4 |
|
3 |
dpavlin |
1.1 |
require("Smarty.class.php"); |
4 |
|
|
require("conn.inc"); |
5 |
|
|
|
6 |
|
|
$smarty = new Smarty; |
7 |
|
|
|
8 |
|
|
$smarty->assign( array ( Title=>"Pliva d.d." ) ); |
9 |
|
|
|
10 |
|
|
$main_file=$section; |
11 |
|
|
|
12 |
dpavlin |
1.3 |
include("section.inc"); |
13 |
dpavlin |
1.1 |
|
14 |
|
|
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
15 |
|
|
|
16 |
|
|
include("common.inc"); |
17 |
|
|
|
18 |
|
|
$main=$smarty->fetch("$main_file.tpl"); |
19 |
|
|
$smarty->assign("MAIN",$main); |
20 |
|
|
|
21 |
|
|
$smarty->display("index.tpl"); |
22 |
|
|
?> |