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 '
'; } } } }else{ echo __('You have no files','userfiles'); } }else{ echo __('You must log in to view files','userfiles'); } echo $after_widget; ?>

'; //Begin build uploader $current_user = wp_get_current_user(); $user_id = $current_user->ID; if($user_id != 0){ ?>

" method="POST" > M

 


get_results("SELECT * FROM ". $wpdb->prefix."userfile_category" ); ?>