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

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

revision 1.9 by dpavlin, Thu Jun 7 09:08:45 2001 UTC revision 1.10 by dpavlin, Tue Sep 18 10:26:46 2001 UTC
# Line 30  $smarty->assign( array ( lpic=>$lpic, le Line 30  $smarty->assign( array ( lpic=>$lpic, le
30    
31  if (! $type) $type="r";  if (! $type) $type="r";
32    
33  $sql="select id,town_date,title,body,pdf from news where type='$type' and visible order by priority desc,date desc";  $sql="select id,town_date,title,body,pdf from news where type='$type' and $visible_is_true order by priority desc,date desc";
34  #       print "$sql";  #       print "$sql";
35  $sth = $dbh->prepare("$sql");  $sth = $dbh->prepare("$sql");
36  $sth->execute();  $sth->execute();

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

  ViewVC Help
Powered by ViewVC 1.1.26