Includes plugins that you place in the same folder.
Creates div's from them for CSS markup.

PHP Code:
<?php

//Open directory
$location=opendir("./");

//List items in directory
while(($directory=readdir($location)) !== false) {

//Directory filter
if($directory!= '.' && $directory!= '..'){
if(
is_dir($directory)){

//Include index files from directories
echo "<div id='".$directory."'>"; include($directory.'/index.php'); echo "</div>\n";}}}
closedir($location);

?>