Forum Moderators: coopster
<html>
<head>
<title>Prague - all about Prague.</title>
</head>
<body bgcolor="ffffff">
<table cellpadding="0" cellspacing="0" width="100%" border="1">
<tr>
<td> </td>
<td width="700" bgcolor="#ffffff" align="center">
<table width="570" border="1">
<tr>
<td class="content" bgcolor="aabbcc"><?
// load user settings
require("user.inc.php");
// a suggested mechanism for switching the moderator privileges on
$pword = "123"; // my moderator password
if ($_REQUEST['password'] == $pword) // check if password supplied by query or post
$comment_mod = true; // password supplied, moderator privileges on
else
$comment_mod = false; // no password, moderator privileges off
// general config of comment script
$add_comments = true; // display comment box on page
$comment_file = $comment_folder."/comments_file.txt"; // save comments in this file
// include comment script
include("comment.php");
?></td>
</tr>
</table>
</td>
<td> </td>
</tr>
</table>
</body>
</html>