/[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.4 - (show annotations)
Mon Mar 5 15:36:16 2001 UTC (23 years ago) by dpavlin
Branch: MAIN
Changes since 1.3: +1 -0 lines
nuke debug

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 if ($menu_item) $title.=" : $menu_item";
22 $lpic="products"; $lext=".jpg";
23 $mpic="products.gif";
24
25 $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
26
27
28 if (file_exists("html/$part.htm")) {
29 $main=join('',file("html/$part.htm"));
30 } else {
31 $main=$smarty->fetch("$main_file.tpl");
32 }
33
34 include("common.inc");
35
36 $smarty->assign("MAIN",$main);
37
38 $smarty->display("index.tpl");
39 ?>

  ViewVC Help
Powered by ViewVC 1.1.26