ID;
if($user_id != 0){
if ($handle = @opendir($upload_dir['basedir'].'/file_uploads/'.$user_id)) {
while (false !== ($file = readdir($handle))) {
if ($file!=".") {
if ($file!="..") {
$ext = pathinfo($file, PATHINFO_EXTENSION);
$tExt= SetIcon($ext);
echo ' '.pathinfo($file, PATHINFO_FILENAME).'
';
echo '
'; //Begin build uploader $current_user = wp_get_current_user(); $user_id = $current_user->ID; if($user_id != 0){ ?>