/[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.18 by dpavlin, Fri Apr 5 09:40:39 2002 UTC revision 1.19 by dpavlin, Mon Apr 29 13:01:49 2002 UTC
# Line 26  while ($row=$sth->fetchrow_hash()) { Line 26  while ($row=$sth->fetchrow_hash()) {
26  }  }
27  $smarty->assign("news",$news);  $smarty->assign("news",$news);
28    
29  $sth = $dbh->prepare("select id,title from news where type='e' and $visible_is_true order by priority desc,date desc limit 5");  $sth = $dbh->prepare("select id,title from news where (type='e' or type='f') and $visible_is_true order by priority desc,date desc limit 5");
30  $sth->execute();  $sth->execute();
31  while ($row=$sth->fetchrow_hash()) {  while ($row=$sth->fetchrow_hash()) {
32          $events[]=$row;          $events[]=$row;

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.26