$temp=str_replace('%2F', '/', rawurlencode($current_dir)).rawurlencode($item);
echo("<tr class=\"$parclass directory\" bgcolor=\"$parcolor\">".
'<td><a href="#up">'.$i.'</a></td><td class="btntd"><a href="?download&playlist&dir='.$temp.'" class="icon iplay">P</a>/'.
'<a href="?download&recursive&playlist&dir='.$temp.'" class="icon irplay">R</a>');
if($GLOBALS['useflash']) echo('/<a href="?f&playlist&dir='.$temp.'" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>');
$temp=str_replace('%2F', '/', rawurlencode($current_dir)).rawurlencode($item);
echo("<tr class=\"$parclass directory\" bgcolor=\"$parcolor\">".
'<td><a href="#up">'.$i.'</a></td><td class="btntd"><a href="?download&playlist&dir='.$temp.'" class="icon iplay">P</a>/'.
'<a href="?download&recursive&playlist&dir='.$temp.'" class="icon irplay">R</a>');
if($GLOBALS['useflash']) echo('/<a href="?f&playlist&dir='.$temp.'" target="'.$GLOBALS['flash_player_frame'].'" class="icon ifplay">F</a>');