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 |
|
|
$section="investor"; |
10 |
|
|
|
11 |
|
|
$title="INVESTOR'S PAGE"; |
12 |
|
|
$lpic="investor"; $lext=".jpg"; |
13 |
|
|
$mpic="investors.gif"; |
14 |
|
|
|
15 |
|
|
$main_file="results"; |
16 |
|
|
|
17 |
|
|
$smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) ); |
18 |
|
|
|
19 |
|
|
|
20 |
|
|
$main=$smarty->fetch("$main_file.tpl"); |
21 |
|
|
|
22 |
|
|
include("common.inc"); |
23 |
|
|
$smarty->assign( array(back_url=>"$section.php", MAIN=>$main)); |
24 |
|
|
|
25 |
|
|
$smarty->display("index.tpl"); |
26 |
|
|
?> |