Help for this page

Select Code to Download


  1. or download this
    
    <html>
    ...
    
    </html>
    
  2. or download this
    use Fcntl qw(:DEFAULT :flock);
    use CGI;
    use CGI::Carp qw(fatalsToBrowser);
    use tseek;
    
  3. or download this
    
        $main_template =~ s/%%keywords%%/$fields{'keywords'}/g;
        $main_template =~ s/%%searcresults%%/$pitem/g;
    
  4. or download this
        $main_template =~ s/%%keywords%%/$fields{'keywords'}/g;
        $main_template =~ s/%%premiumlistings%%/$premiumitem/g;
    
  5. or download this
    sub normal_search
    {
    ...
    
     if ($file_locking ne "No"){flock (SIDX, LOCK_SH) or die "Can't set 
    lock for file: $data_dir/search.idx, $data_dir/search2.idx $!\n";}
    
  6. or download this
        while (defined($line=<SIDX>))
        {
    ...
    close (SIDX);
    
    }
    
  7. or download this
        $resultline[$rcc] =                 $row[0] . "\t" .
                                    $row[1] . "\t" .
    ...
    $dbh->disconnect;
    
    }
    
  8. or download this
    sub get_search_ready
    {
    ...
    return ($reline);
    }