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

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

revision 1.26 by dpavlin, Mon Apr 29 13:27:33 2002 UTC revision 1.27 by dpavlin, Tue Apr 30 13:26:33 2002 UTC
# Line 21  if ($section == "investor") { Line 21  if ($section == "investor") {
21          if (! isset($type)) {          if (! isset($type)) {
22                  $sql_where .= " and type='i'";                  $sql_where .= " and type='i'";
23          }          }
         $title.=" : Investors News";  
24  } else {  } else {
         $title="What's New";  
         $lpic="new"; $lext=".jpg";  
         $mpic="new.gif";  
25          $back_url="index.php";          $back_url="index.php";
26          $sql_where.=" and (type='a' or type='c' or type='e' or type='f' or type='i' or type='n' or type='p' or type='r')";              // don't show company profile          $sql_where.=" and (type='a' or type='c' or type='e' or type='f' or type='i' or type='n' or type='p' or type='r')";              // don't show company profile
27  }  }
# Line 55  if (file_exists(find_html_file("news",$m Line 51  if (file_exists(find_html_file("news",$m
51                  } elseif ($type == "c") {                  } elseif ($type == "c") {
52                          $sql_where .= " and type='c'";                          $sql_where .= " and type='c'";
53                  }                  }
                 $title.=" : ".$news_type[$type];  
54          }          }
55    
56          if (! isset($show) && !isset($start)) {          if (! isset($show) && !isset($start)) {
# Line 136  include("common.inc"); Line 131  include("common.inc");
131  $smarty->assign( array(back_url=>$back_url, MAIN=>$main,  $smarty->assign( array(back_url=>$back_url, MAIN=>$main,
132          Section_title=>$title ) );          Section_title=>$title ) );
133    
 include("inc/newsletter.php");  
   
134  $smarty->display("index.tpl");  $smarty->display("index.tpl");
135  ?>  ?>

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.26