*/ function add_magic_quotes($array) { foreach ($array as $k => $v) { if (is_array($v)) { $array[$k] = add_magic_quotes($v); } else { $array[$k] = addslashes($v); } } return $array; } if (!get_magic_quotes_gpc()) { $HTTP_GET_VARS = add_magic_quotes($HTTP_GET_VARS); $HTTP_POST_VARS = add_magic_quotes($HTTP_POST_VARS); $HTTP_COOKIE_VARS = add_magic_quotes($HTTP_COOKIE_VARS); } $b2varstoreset = array('action','standalone','redirect','profile','error','warning','a','file'); for ($i=0; $i.' if comments under $file = "notes.html.comment2"; // change from notes to whichever page it is your comments are on } if ( !ereg('^/usr', $file ) ) $file = ANNOTATE_DIR . $project . '/' . $file; if (!is_file($file)) $error = 1; $file = stripslashes($file); if (!$error) { $f = fopen($file,"r"); $content = fread($f,filesize($file)); $content = htmlspecialchars($content); } echo $blankline; ?>
$file".$warning; if ($a == "te") echo " [ file edited ! ]"; if (!$error) { ?>

"; } else { echo ""; } ?>
oops, no such file !

"; } echo $tablebottom; ?>


*/ ?>