Просмотр файла dpforum/arsmile.php
<? $dir = opendir ("sm"); while ( $file = readdir ($dir)) { if (( $file != ".") && ($file != "..")) { $prom=str_replace("+",":",$file); $prom= strtok($prom,'.'); $conv1[]=" $prom "; $conv2[]=" <img src=\"sm/$file\" alt=\"$prom\"/> "; $conv3[]=" [$sssm] "; $sssm++; } } closedir ($dir); ?>