/[corp_html]/products.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

Contents of /products.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Thu Feb 22 20:51:10 2001 UTC (23 years, 1 month ago) by dpavlin
Branch: MAIN
Changes since 1.2: +1 -0 lines
novi joined izgled news/community/events

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=str_replace(".php","",basename($PHP_SELF));
10 $smarty->assign("section",$section);
11
12 $multi_page=array(
13 "products.php?part=Azithromycin1",
14 "products.php?part=Azithromycin2",
15 "products.php?part=Azithromycin3"
16 );
17
18 $main_file=$section;
19
20 $title="PRODUCTS";
21 $lpic="products"; $lext=".jpg";
22 $mpic="products.gif";
23
24 $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
25
26
27 if (file_exists("html/$part.htm")) {
28 $main=join('',file("html/$part.htm"));
29 } else {
30 $main=$smarty->fetch("$main_file.tpl");
31 }
32
33 include("common.inc");
34
35 $smarty->assign("MAIN",$main);
36
37 $smarty->display("index.tpl");
38 ?>

  ViewVC Help
Powered by ViewVC 1.1.26