Diff for /db/prgsrc/db.cgi between versions 1.148 and 1.149

version 1.148, 2008/06/15 07:16:42 version 1.149, 2008/11/09 20:02:36
Line 1512  $output.="</span>" Line 1512  $output.="</span>"
   
         }          }
         $output=~s/\(pic: ([^\)]*)\)/<p><img src="\/znatoki\/images\/db\/$1"><p>/g unless $text;          $output=~s/\(pic: ([^\)]*)\)/<p><img src="\/znatoki\/images\/db\/$1"><p>/g unless $text;
           $output=~s/\(aud: ([^\)]*)\)/<p><embed src="\/znatoki\/sounds\/db\/$1"><\/embed><p>/g unless $text;
   
         $output=~s/›/\&iuml;/g;          $output=~s/›/\&iuml;/g;
         $output=~s/“/\&Iuml;/g;          $output=~s/“/\&Iuml;/g;
   
Line 2006  MAIN: Line 2008  MAIN:
                 };                  };
         $dbh->do("set names koi8r");          $dbh->do("set names koi8r");
   
         if (param('qid') && (param('qid')=~/^\d+$/) || $tour && $tour=~/^\d+$/) {  #       if (param('qid') && (param('qid')=~/^\d+$/) || $tour && $tour=~/^\d+$/) {
 #          my $destination='http://chgk.zaba.ru/search.html';  #          my $destination='http://chgk.zaba.ru/search.html';
 #               print header (-'Content-Type' => 'text/html',  #               print header (-'Content-Type' => 'text/html',
 #                -'Location:'=> 'http:\\db.chgk.info');  #                -'Location:'=> 'http:\\db.chgk.info');
                 Redirect($destination);  #               Redirect($destination);
                 exit  #                exit
         }  #       }
   
         if (0 && $tour && !param('qnumber') && (!param('answers')||(param('answers')<=1)))          if (0 && $tour && !param('qnumber') && (!param('answers')||(param('answers')<=1)))
         {                 {       

Removed from v.1.148  
changed lines
  Added in v.1.149


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>