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

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

revision 1.14 by dpavlin, Tue Sep 18 10:38:55 2001 UTC revision 1.16 by dpavlin, Fri Oct 12 07:39:37 2001 UTC
# Line 19  $smarty->assign("menu",$menu); Line 19  $smarty->assign("menu",$menu);
19    
20  // fetch news  // fetch news
21    
22  $sth = $dbh->prepare("select id,title from news where type<>'e' and type<>'p' and $visible_is_true order by date desc limit 5");  $sth = $dbh->prepare("select id,title from news where type='n' or type='c' or type='a' or type='i' or type='r' or type='p' and $visible_is_true order by date desc limit 6");
23  $sth->execute();  $sth->execute();
24  while ($row=$sth->fetchrow_hash()) {  while ($row=$sth->fetchrow_hash()) {
25          $news[]=$row;          $news[]=$row;
# Line 35  $smarty->assign("events",$events); Line 35  $smarty->assign("events",$events);
35    
36  #include("debug.inc");  #include("debug.inc");
37    
38    // multipage
39    
40  if ($multi_page) {  if ($multi_page) {
41          $max=count($multi_page);          $max=count($multi_page);
42          $next=$multi_page[$current+1];          $next=$multi_page[$current+1];
# Line 68  if ($multi_page) { Line 70  if ($multi_page) {
70    
71  }  }
72    
73    // banner
74    
75    include("banner.inc");
76    
77  function check_required() {  function check_required() {
78          global $inputs_required;          global $inputs_required;
79          global $inputs_required_type;          global $inputs_required_type;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.26