m9 (04.03.2011/19:17)
How to edit this code, so that guest can't view archive:
if ($prg == "zip") {
echo "<a href='?act=zip&file=" . $file . "'>View the archive</a>
";
}
if ($user_id && $prg == "zip") {
echo "<a href='?act=zip&file=" . $file . "'>View the archive</a><br/>";
}