'; if ($handle = opendir('users'.$place)) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { // COLORIZE IT if ($i == 1){ $num = 1; $i = 2; } else { $num = 2; $i = 1; } // TEXT $textFileTypes = array("txt","php","html","js","rb","py"); // IMAGE $imageFileTypes = array("jpg","png","gif"); // MOVIE $movieFileTypes = array("avi","mov","flv"); $fileExtA = explode(".",$file); $ext = $firstarray[sizeOf($firstarray)-1]; if (in_array($ext,$textFileTypes)){ echo "