<?
if (user_access('obmen_file_delete'))
{
if (isset($_GET['act']) && $_GET['act']=='delete' && $l!='/')
{
echo "<div class=\"err\">";
echo "Удалить файл \"$file_id[name]\"?<br />\n";
echo "<a href='?showinfo&amp;act=delete&amp;ok'>Да</a> \n";
echo "<a href='?showinfo'>Нет</a><br />\n";
echo "</div>";
}
else
{
echo "<div class=\"foot0\">\n";
echo "<img src='/images/Back.gif' alt='' class='icon'/> <a href='?showinfo&amp;act=delete'>Удалить файл</a><br />\n";
echo "</div>\n";
}
}
?>