Campaigns


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 "); ?>
Climate
Pushing for change to protect our climate.

Food
You are what you eat, so let's make sure we eat well.

General
General campaigns or those that cover more than one area.

GMO
Stopping unproven Genetically Modified Organisms from running riot in the environment.

Nuclear
Why nuclear when there are cleaner, safer, more economical alternatives.

Recycling
Come on let's get more recycling done.

Slavery
Always was evil, still is, stop it.

Toxics
Toxics are everywhere, lets stop using them, test all chemicals for safety and label products properly.

Wildlife
Once there gone there gone, preserve our wildlife for the future.