{{if($dh = @opendir($_path . 'lang')): while (($file = readdir($dh)) !== false): if(strpos($file, '.') === false && $file != '..' && $file != '.'):}}
  • {{if(file_exists('style/images/'.$file.'.png')):}} {{echo $file}} {{elseif(file_exists('../lang/'.$file.'/icon.png')):}} {{echo $file}} {{else:}}

    {{echo $file}}

    {{endif;}}
  • {{endif;endwhile;@closedir($dh);endif;}}