About Green-i


You are here>> "; # What file do you want to not print a link to? (drop the .php suffix & capitalize the filename) $ignore = array("Index","Home"); ####################################### # Do not modify beneath this point unless you know what you're doing! function check_ignore($ignore,$referer){ if (count($ignore)){ global $errors; $found = true; #$referer = $path[$number]; for ($x=0; $x < count($ignore); $x++){ if ($ignore[$x] == $referer){ $found = false; } } return $found; } else { return true; //Not a good idea, if empty, it will allow it. } } #Splits the path into an array using a forward slash $path = explode ("/", $originalpath); #Counts How many elements are in the array so the loop below knows how long to loop $totalelements = count ($path); # Print out the Link to the Homepage printf("%s", $urlbase, $roottitle); # Loops thru the array printing out the link to the respective directory or file for($number=1; $number<$totalelements-1 ; $number++) { #Appends the next directory or file down to the URL $urlbase = $urlbase . "/" . $path[$number]; # Do Some Formatting on the Link Text #Replace Triple Underscore with Ampersand Surrounded By Underscores to be later converted to spaces $path[$number] = str_replace("___", "_&_", $path[$number]); #Replace Underscore with Space $path[$number] = str_replace("_", " ", $path[$number]); #Replace Tilde with Question Mark $path[$number] = str_replace("~", "?", $path[$number]); #Erase .php file extension $path[$number] = str_replace(".php", "", $path[$number]); #Capitalize All Words $path[$number] = ucwords($path[$number]); # Print Out The URL With The Formatted Link Text if(check_ignore($ignore,$path[$number])){ printf("%s%s", $seperator, $urlbase, $path[$number]); } } print ("> Current Page "); ?>

History

Green-i was inspired by an article in Which! Magazine about chemicals in the home. This article talked about various toxic chemicals which can be found in common household items. After reading the article my wife and I decided to find out more. The article had given several sites on the Internet where you could find more information.  I then spent the next day or two trawling round the net to find more info. It was after this marathon trawl that the idea for Green-i was born; a place to gather together articles of interest to the ethical/environmental consumer and to find and offer alternatives to products of dubious safety/ethics.

Aims

 The main aims of Green-i are

These specific aims may change and evolve but the basic concept will remain the same. To promote and facilitate a change in the way we treat each other and our planet for the better.

Who are we?

 We are Tony and Michelle Hook. We live in London with our three children Hannah (8), Chrissie (~2), Billy (~3mths), 2 dogs, 2 cats, a Rabbit and a host of fish. Tony is employed as an  IT Operations Manager for a large newspaper group and Michelle is a self employed accountant/book-keeper.