if (isset($_GET['lang']))
{ $lang = $_GET['lang']; }
else
{ $lang = "EN"; }
if ( $lang == "DK" )
{
echo "
Statistik - Antal etiketter fra hvert land";
}
{
echo "Statistics - Number of labels from each country";
}
?>
include "include/header.txt" ?>
include "include/bodystart.txt" ?>
include "include/statistikmenu.txt" ?>
include "include/database.php" ?>
// include "include/directoryfunktioner.php" ?>
function overskrift( $bogstav )
{
echo "";
echo " $bogstav | ";
echo ' | ';
echo ' | ';
echo "
";
}
function total_linie( $sprog, $bogstav, $ant_oel, $ant_vand )
{
echo " | |
| ";
echo '
Total ';
echo $bogstav;
echo ' | ';
if ( $ant_oel > 0 )
echo $ant_oel;
echo ' | ';
if ( $ant_vand > 0 )
echo $ant_vand;
echo " ";
echo " |
";
$tot_ant = $ant_oel + $ant_vand;
return $tot_ant;
}
function grand_total_linie( $sprog, $ant_oel, $ant_vand )
{
echo " | |
| ";
echo '
Grandtotal ';
echo ' | ';
if ( $ant_oel > 0 )
echo $ant_oel;
echo ' | ';
if ( $ant_vand > 0 )
echo $ant_vand;
echo " ";
echo " |
";
$tot_ant = $ant_oel + $ant_vand;
return $tot_ant;
}
function open_database( )
{
if (!( $connection = @ mysql_connect("192.168.1.1","tommy","tommyholm")))
showerror();
if (!( mysql_select_db("beerlabels", $connection)))
showerror();
return $connection;
}
?>
Statistik - etiketter pr. bryggeri |
|
|
if ( $lang == "DK" )
{
echo "Etiketter pr. land";
echo "Nedenfor ses hvor mange etiketter der findes på beerlabels.dk Vælg land for at se bryggerier derfra. ";
}
else
{
echo "Labels from each country";
echo "Below you can see how many labels you can find on beerlabels.dk Select country to see breweries from selected country. ";
}
?>
Bryggeri |
Antal øl |
Antal mineralvand |
if ( $lang != "EN" && $lang != "DK" )
$lang = "EN";
$connection = open_database();
$grand_total_oel = 0;
$grand_total_vand = 0;
$tot_ant_oel = 0;
$tot_ant_vand = 0;
if ( $lang == "EN" )
{
overskrift( "A" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "AL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "AN", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "AR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "AU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "OS", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "B" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "BA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "BL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "BE", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "BO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "BR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "C" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CN", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CV", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CI", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CH", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "CZ", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "D" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "DO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "E" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "EG", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "ES", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "F" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "FJ", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "FI", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "FR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "G" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "GE", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "GH", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "GR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "GU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "H" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "NL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "I" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "IS", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "ID", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "IN", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "IR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "IL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "IT", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "IC", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "J" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "JA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "K" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "KE", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "L" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "LA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "LE", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "LI", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "LT", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "LU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "M" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "MA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "MX", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "MO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "MZ", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "MY", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "N" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "NA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "NZ", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "NI", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "NO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "P" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "PA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "PE", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "PL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "PO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "PT", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "PR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "R" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "RE", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "RO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "RU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "S" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "SL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "SN", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "SA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "SP", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "SR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "VI", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "SV", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "SU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "SW", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "T" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "TC", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "TH", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "TT", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "U" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "UK", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "UR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "US", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "V" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "VE", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "Z" );
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "ZA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( $lang, "ZM", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
total_linie( $lang, "C", $tot_ant_oel, $tot_ant_vand );
$grand_total_oel += $tot_ant_oel;
$grand_total_vand += $tot_ant_vand;
grand_total_linie( $lang, $grand_total_oel, $grand_total_vand );
mysql_close($connection);
}
if ( $lang == "DK" )
{
overskrift( "A" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "AU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "B" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "BR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "C" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "CA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "CV", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "E" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "IC", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "ES", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "F" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "FR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "G" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "GR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "H" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "NL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "BL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "I" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "IS", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "IR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "IL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "IT", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "L" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "LA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "LT", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "LU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "M" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "MA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "N" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "NA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "NZ", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "NO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "P" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "PL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "PO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "R" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "RO", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "RU", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "S" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "SL", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "SN", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "UK", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "SA", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "SP", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "SV", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "SW", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "T" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "TC", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "CZ", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "GE", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "U" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "UR", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "US", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "Z" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "ZM", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
overskrift( "Ø" );
list ($ant_oel, $ant_vand) = antal_pr_land( "DK", "OS", $connection);
list ($tot_ant_oel, $tot_ant_vand) = beregn_total( $ant_oel, $ant_vand, $tot_ant_oel, $tot_ant_vand);
$grand_total_oel += $tot_ant_oel;
$grand_total_vand += $tot_ant_vand;
grand_total_linie( "DK", $grand_total_oel, $grand_total_vand );
mysql_close($connection);
}
?>
|
include "include/script.txt" ?>
|
include "include/footer.txt" ?>