2005-09-10 19:25:43 +02:00
|
|
|
<?php
|
|
|
|
|
2005-11-06 01:44:48 +01:00
|
|
|
if( !isset($Page["Public"])) $Page["Public"]="N";
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
$Page["Name"] = substr( $_SERVER['PHP_SELF'], strlen($ENGEL_ROOT) );
|
2005-11-06 01:44:48 +01:00
|
|
|
if( isset( $_SESSION['CVS'][ $Page["Name"] ]))
|
|
|
|
$Page["CVS"] = $_SESSION['CVS'][ $Page["Name"] ];
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
if( $DEBUG )
|
|
|
|
{
|
2005-10-21 20:50:26 +02:00
|
|
|
// echo "UserID:". $_SESSION["UID"]. "<br>";
|
|
|
|
// echo "Nick:". $_SESSION["Nick"]. "<br>";
|
|
|
|
|
|
|
|
foreach( $_SESSION as $k => $v)
|
|
|
|
echo "$k = $v<br>\n";
|
|
|
|
|
2005-09-10 19:25:43 +02:00
|
|
|
if( strlen($Page["CVS"]) == 0 )
|
|
|
|
echo "<h1><u> CVS ERROR, on page '". $Page["Name"]. "'</u></h1>";
|
|
|
|
else
|
|
|
|
echo "CVS: ". $Page["Name"]. " => '". $Page["CVS"]. "'<br>";
|
|
|
|
|
|
|
|
if( $Page["Public"] == "Y")
|
|
|
|
echo "<h3>Page is Public !!!</h3>";
|
|
|
|
else
|
|
|
|
echo "<h4>Page is non Public</h4>";
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|