0) { foreach ($imSettings['guestbook']['public_folders'] as $folder) { if ($folder == "") $folder = "./."; if ($dh = @opendir($folder)) { if ($folder == "./.") $folder = ""; else $folder .= "/"; while (($file = @readdir($dh)) !== false) { if (!is_dir($folder . $file) && preg_match("/^gb([0-9a-z]+)$/", $file, $out) > 0) { $guestbook_ids[] = $out[1]; $guestbook_files[$out[1]] = $folder; } } @closedir($dh); } } } if (count($guestbook_ids) == 0) { ?>
approveComment($_POST['guestbook_id'],$_POST['comment_id'],$_POST['approved']); else $r = $guestbook->removeComment($_POST['guestbook_id'],$_POST['comment_id']); } ?>
getComments($_POST['guestbook_id']); if (count($c) > 0) { for($i = count($c)-1;$i >= 0 && $c != -1; $i--) { ?>
" . $l10n['admin_comment_abuse'] . "
"; } ?>
" . $c[$i]['name'] . "" : $c[$i]['name']) . " (" . $c[$i]['email'] . ")"?>
formatTimestamp($c[$i]['timestamp'])?>