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

Annotation of /rnd.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Tue Feb 20 11:37:21 2001 UTC (18 years, 5 months ago) by dpavlin
Branch: dbp
CVS Tags: alpha
Changes since 1.1: +0 -0 lines
alpha

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     $multi_page=array(
10     "rnd.php?part=MIXIS-HomePR",
11     "rnd.php?part=MIXIS-Sci-TechPR"
12     );
13    
14     $section=str_replace(".php","",basename($PHP_SELF));
15     $smarty->assign("section",$section);
16    
17     $title="R&amp;D";
18     $lpic="rnd"; $lext=".gif";
19     $tmp = time() % 2;
20     $mpic="rnd_u".($tmp+1).".gif";
21     $main_file="./html/";
22     if (file_exists($main_file.$part.".htm")) {
23     $main_file.=$part.".htm";
24     $main=join('',file($main_file));
25     } else {
26     $main=$smarty->fetch("rnd.tpl");
27     }
28    
29    
30     $smarty->assign( array ( lpic=>$lpic, lext=>$lext, mpic=>$mpic, Section_title=>$title ) );
31    
32     include("common.inc");
33     $smarty->assign("MAIN",$main);
34    
35     $smarty->display("index.tpl");
36    
37     ?>

  ViewVC Help
Powered by ViewVC 1.1.26