$value) {
// item_coeff = To calculate your individual carbon footprint use the Carbon Footprint Calculator. You will need the following information: (Source: How We Can Save the Planet, Mayer Hillman)
";
$footprint .= "Your total share of CO2 emissions is $total_emissions_tonnes2 tonnes per annum";
if($subtotal < 0) {
$message_title = 'Error
';
$message = 'Either you are a tree or you made an error filling in the form, try again!';
}
elseif($subtotal == 0) {
$message_title = 'Error
';
$message = 'Either you live in the forest or you forgot to fill in the form, try again!';
}
elseif($subtotal < 1000) {
$message_title = 'Congratulations
';
$message = ' Your total CO2 emmissions are under a tonne, if everybody lived like you then solving the global warming issue would be easy!.';
}
elseif($subtotal < 1600) {
$message_title = 'Congratulations
';
$message = ' You are using no more than your fair share of CO2 emmissions for a sustainable world, keep up the good work!';
}
elseif($subtotal < $averge_kg/2) {
$message_title = 'Congratulations
';
$message = ' Your carbon footprint is less than half the UK average, while still not truly sustainable in the long term, you can give yourself a pat on the back for getting this far; keep up the good work!';
}
elseif($subtotal < $averge_kg*(3/4)) {
$message_title = 'Not Bad
';
$message = 'While your carbon footprint is less than the UK average, there is still plenty of room for improvement! The Actions Pledge offers 13 ideas for actions which could make a real difference.';
}
elseif($subtotal < $averge_kg*(5/4)) {
$message_title = 'Average
';
$message = 'Your carbon footprint is above the UK average. This is far from sustainable. The Actions Pledge offers 13 ideas for actions which would make a real difference.';
}
elseif($subtotal < $averge_kg*2) {
$message_title = 'Warning
';
$message = 'Your carbon footprint is significantly above the UK average. Your lifestyle is very seriously damaging the planet. Please read the Climate Change Facts. The Actions Pledge offers 13 ideas for actions which would make a real difference.';
}
else {
$message_title = 'Danger
';
$message = 'Your carbon footprint is more than double the UK average. Your high carbon lifestyle is a very seriously endangering the planet. Please read the Climate Change Facts. The Actions Pledge offers 13 ideas for actions which would make a real difference.';
}
} else {
foreach( array(
'total_kilograms_emissions',
'total_tonnes_emissions',
'total_emissions_tonnes',
'electricity_emissions',
'gas_emissions',
'heating_oil_emissions',
'petrol_car_emissions',
'diesel_car_emissions',
'rail_intercity_emissions',
'rail_other_services_emissions',
'rail_underground_emissions',
'bus_london_emissions',
'bus_outside_london_emissions',
'express_coach_emissions',
'bicycle_emissions',
'walking_emissions',
'airplane_europe_emissions',
'airplane_outside_europe_emissions',
'total_emissions_kg',
'total_emissions_tonnes',
) as $var )
{
// if(!isset($$var)) $$var = '???';
}
}
if($total_emissions_tonnes) $total_emissions_tonnes .= "***";
if($message) {
$results_text .=<<
MESSAGE;
}
$content =<<
Seasonal variations mean that multipling your last bill by 4 will not give an accurate picture of usage.
Annual carbon dioxide emissions (kgCO2) | ||||||||
---|---|---|---|---|---|---|---|---|
Kilograms co-efficient |
Your usage |
Your emissions |
Average individual |
|||||
In the household (for each kilowatt hour) | ||||||||
Electricity * | x 0.45 | kw/h | $electricity_emissions | 870 | ||||
Gas | x 0.19 | kw/h | $gas_emissions | 1,480 | ||||
Heating Oil (per litre) | x 2.975 | litres | $heating_oil_emissions | |||||
In Travel (for each kilometre) | ||||||||
Petrol Car (as driver) | x 0.20 | km | $petrol_car_emissions | { 1,050 | ||||
Diesel Car (as driver) | x 0.14 | km | $diesel_car_emissions | |||||
Rail (Intercity) | x 0.11 | km | $rail_intercity_emissions | { 90 | ||||
Rail (Other Services) | x 0.16 | km | $rail_other_services_emissions | |||||
Rail (Underground) | x 0.07 | km | $rail_underground_emissions | |||||
Bus (London) | x 0.09 | km | $bus_london_emissions | { 100 | ||||
Bus (Outside London) | x 0.17 | km | $bus_outside_london_emissions | |||||
Express Coach | x 0.08 | km | $express_coach_emissions | |||||
Bicycle | x 0 | km | $bicycle_emissions | { 0 | ||||
Walking | x 0 | km | ${walking_emissions} | |||||
Convert Miles to Kilometres km = miles | ||||||||
Airplane: Within Europe** | x.0.51 | km | $airplane_europe_emissions | { 1,830 | ||||
Airplane: Outside Europe | x 0.32 | km | $airplane_outside_europe_emissions | |||||
|
one-way km return km |
|||||||
Totals | ||||||||
Kilograms CO2 | $total_emissions_kg | 5,420 | ||||||
Tonnes CO2 | $total_emissions_tonnes | 5.4*** |
* The calculation of the carbon dioxide emission co-efficient is based on the current fuel mix for electricity generation.
** Although varying by region and by altitude, these carbon dioxide emissions have been multiplied by an average factor of three to take account of the warming effect equivalent of other greenhouse gases in the upper atmosphere.
*** Multiply by 2 to take account of the per-capita share of emissions from industrial, commercial, agricultural and public sectors, which create our goods and services
HTML; // $menus[] = 'Climate Facts'; // include_once('templates/actionearth.php'); ?>