0) { $access_denied = true; } }elseif ($current_user["graph_policy"] == "2") { if (sizeof($user_auth) == 0) { $access_denied = true; } } if ($access_denied == true) { print "ACCESS DENIED"; exit; } } /* make sure the graph requested exists (sanity) */ if (!(db_fetch_cell("select local_graph_id from graph_templates_graph where local_graph_id=" . $_GET["local_graph_id"]))) { print "GRAPH DOES NOT EXIST"; exit; } $rras = db_fetch_assoc("select id,name from rra $sql_where order by steps"); $graph_title = get_graph_title($_GET["local_graph_id"]); print ""; print ""; $i = 0; if (sizeof($rras) > 0) { foreach ($rras as $rra) { print ""; $i++; } } print "
Viewing Graph '$graph_title'
"; print "
$graph_title
\n
" . $rra["name"] . " [source]

\n"; print "
"; print "

"; include_once ("include/bottom_footer.php"); ?>