/[nn.old]/trunk/search/nn2-search.cgi
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 /trunk/search/nn2-search.cgi

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

revision 58 by dpavlin, Mon Feb 11 11:41:18 2002 UTC revision 60 by dpavlin, Tue Feb 12 19:25:41 2002 UTC
# Line 27  if (param('search') && param('type')) { Line 27  if (param('search') && param('type')) {
27                  -select => 'select br,god,aname,nr,title from nn where __WHERE__ order by god desc,br desc,nr asc'                  -select => 'select br,god,aname,nr,title from nn where __WHERE__ order by god desc,br desc,nr asc'
28                  );                  );
29    
30          $query->prepare(param('search'));          my $s=param('search');
31            $s=~tr/Ў/Ю/;  # 1250 -> iso8859-2
32            $s=~tr/ƾ/sSdDcCcCzZ/;
33            $query->prepare($s);
34    
35  #       print "--",$query->matchstring();  #       print "--",$query->matchstring();
36    

Legend:
Removed from v.58  
changed lines
  Added in v.60

  ViewVC Help
Powered by ViewVC 1.1.26