#!/usr/bin/perl require "/usr/local/bin/woda/woda-uk.pl" unless defined &main; # # Database definition: # $WBB{'dbTitle'} = 'actualites'; $WBB{'recordTitle'} = 'article'; $WBB{'dataDir'} = '/home/novonet/dheage/data/actualite'; $WBB{'homeURL'} = '/cgi-bin/actualite'; $WBB{'requireFile'} = '/home/novonet/dheage/HTML/cgi-bin/html'; $WBB{'tables'} = 'html'; $WBB{'userTable'} = 'gestion'; $WBB{'formatName1'} = 'Chapeau'; $WBB{'formatHead1'} = ''; $WBB{'formatRow1'} = <<'EOM'; &PIC(); "\n" EOM $WBB{'formatFoot1'} = '
$rec{date}    $rec{titre}
$pic{chapeau}  - (suite)
'; $WBB{'formatName3'} = 'Titre et date'; $WBB{'formatHead3'} = '
    '; $WBB{'formatRow3'} = <<'EOM'; "
  1. $rec{titre}  $rec{date}\n" EOM $WBB{'formatFoot3'} = '
'; # article complet $WBB{'detail'}= <<'EOM'; &PIC(); "

$rec{titre}

$rec{date}

$pic{chapeau}

$pic{texte}

" EOM # # Field definitions: # $i=1000; # counter # add-in functions are here: require "$WBB{'requireFile'}" if $WBB{'requireFile'}; # for the compiled version dump START if $ARGV[0] eq '-dump'; START: # call the real thing do main();