/[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

Diff of /rnd.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dpavlin, Wed Feb 21 11:47:52 2001 UTC revision 1.10 by dpavlin, Tue Oct 2 09:59:03 2001 UTC
# Line 7  $smarty = new Smarty; Line 7  $smarty = new Smarty;
7  $smarty->assign( array ( Title=>"Pliva d.d." ) );  $smarty->assign( array ( Title=>"Pliva d.d." ) );
8    
9  $sub_part=substr($part,0,strpos($part,"-"));  $sub_part=substr($part,0,strpos($part,"-"));
 print "$sub_part";  
10    
11  if ($sub_part == "MIXIS") {  if ($sub_part == "MIXIS") {
12          $multi_page=array(          $multi_page=array(
# Line 19  if ($sub_part == "MIXIS") { Line 18  if ($sub_part == "MIXIS") {
18                  "rnd.php?part=Technology-HighThroughput",                  "rnd.php?part=Technology-HighThroughput",
19                  "rnd.php?part=Technology-Microarrays"                  "rnd.php?part=Technology-Microarrays"
20                  );                  );
21    } elseif ($sub_part == "Profile") {
22            $multi_page=array(
23                    "rnd.php?part=Profile-antiinfectives1",
24                    "rnd.php?part=Profile-antiinfectives2"
25                    );
26    } else {
27            $multi_page=array(
28                    "rnd.php?part=Azithromycin1",
29                    "rnd.php?part=Azithromycin2",
30                    "rnd.php?part=Azithromycin3"
31                    );
32  }  }
33    
34  $section=str_replace(".php","",basename($PHP_SELF));  include("section.inc");
 $smarty->assign("section",$section);  
35    
 $title="R&D";  
 $lpic="rnd"; $lext=".gif";  
 $tmp = time() % 2;  
 $mpic="rnd_u".($tmp+1).".gif";  
36  $main_file="./html/";  $main_file="./html/";
37  if (file_exists($main_file.$part.".htm")) {  if (file_exists($main_file.$part.".htm")) {
38          $main_file.=$part.".htm";          $main_file.=$part.".htm";
39          $main=join('',file($main_file));          $main=join('',file($main_file));
40  } else {  } else {
41          $main=$smarty->fetch("rnd.tpl");          $main=join('',file("./html/RnD-Main.htm"));
42  }  }
43    
44    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.26