Просмотр поста

.
Str@nnik

elkol, да, на главную. Это не катит.

if (file_exists(($rootpath . '/files/users/photo/' . $user['id'] . '_small.jpg')))
    echo '<a href="' . $set ['homeurl'] . '/files/users/photo/
' . $user['id'] . '.jpg"><img src="../files/users/photo/' . $user['id'] . '_small.jpg" alt="' . $user['name'] . '" border="0" /></a>';