/[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.5 - (show annotations)
Mon Oct 1 14:05:16 2001 UTC (22 years, 6 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -8 lines
banner support, new multi-page support (with back-end)

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

  ViewVC Help
Powered by ViewVC 1.1.26