Articles


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 "); ?>
Finance
Ethical finance and money. Investment with a conscience.

Climate
News and information about what is affecting our climate both good and bad.

Food
News and information about what we eat and drink and the affects on ourselves and the environment.

GMO
News and information about Genetically Modified Organisms.

General
General environmental and ethical news and information. If you can't find what you are looking for under the other headings try here.

Nuclear
News and information on all things nuclear from power to bombs.

Recycling
News and information from the recycling world.

Slavery
Unfortunately not a thing of the past, this section brings you news and information of this evil trade. WARNING!! some articles in this section can be deeply distressing.

Toxics
Toxics,Toxics everywhere, we bring you news and information on toxic chemicals all around us.

Wildlife
News and information on wildlife, the disasters and triumphs from around the world.


Back

Send to a Friend