"; ?> "; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; show_table_header("DISPLAYED PARAMETERS"); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $sql="select i.itemid,h.host,i.description,gi.gitemid,gi.color from hosts h,graphs_items gi,items i where i.itemid=gi.itemid and gi.graphid=".$HTTP_GET_VARS["graphid"]." and h.hostid=i.hostid"; $result=DBselect($sql); $col=0; while($row=DBfetch($result)) { if($col++%2==0) { echo ""; } else { echo ""; } echo ""; echo ""; echo ""; echo ""; echo ""; } echo "
HostParameterColorActions
".$row["host"]."".$row["description"]."".$row["color"]."Delete
"; ?> "; echo ""; show_table2_header_begin(); echo "New item for graph"; show_table2_v_delimiter(); echo "
"; if(isset($HTTP_GET_VARS["gitemid"])) { echo ""; } echo "Parameter"; show_table2_h_delimiter(); $result=DBselect("select h.host,i.description,i.itemid from hosts h,items i where h.hostid=i.hostid and h.status in (0,2) and i.status in (0,2) order by h.host,i.description"); echo ""; show_table2_v_delimiter(); echo "Color"; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter2(); echo ""; show_table2_header_end(); ?>