Location: PHPKode > projects > WEBinsta FM Manager > admin/dbar.php
<?php if(!isset($_SESSION["admin"]))
{
echo '<font color="red">You are not authorized to view this page </font>';
return;
}?>
        <tr class="<?php echo $color; ?>">
  <td  align="center"><img src="images/mime/folder.gif"></td>
   <td  ><a href="<?php
     if($rel_dir=="")	 $path=$rel_dir.$dir_list[$i];
	 else $path=$rel_dir.$dir_list[$i];
	echo "admin.php?rel_dir=".$path."/";
	?>" class="slink"><?php
	echo $dir_list[$i];
	?>
    </a> </td>
    <td> </td>	<td> <center><?php echo getPerms(fileperms($base_dir.$path));?></center></td>
	<td><div align="center"><a href="javascript:chmod('<?php echo $base_dir.$path; ?>','<?php echo $rel_dir; ?>');" class="slink"><img src="images/icons/lock.gif" width="19" height="19" border="0" Alt="Change permissions" title="Change permissions"></a></div>
    </td>

    <td> </td>
    <td> </td>
  <td><div align="center"><a href="javascript:dir_del('<?php echo $base_dir.$path; ?>','<?php echo $rel_dir; ?>');" class="slink"><img src="images/icons/delete.gif" width="19" height="19" border="0" Alt="Delete this file" title="Delete this file"></a></div></td>
<td><input name="sel_d[]" type="checkbox" id="seld" value="<?php echo $path; ?>" onClick="javascript:Toggle(this);"> </td>
</tr>
Return current item: WEBinsta FM Manager