".S_NO_PERMISSIONS.""); show_page_footer(); exit; } ?> "; echo "
| ".S_SORT_ORDER." | "; echo "".S_HOST." | "; echo "".S_PARAMETER." | "; echo "".S_TYPE." | "; echo "".S_COLOR." | "; echo "".S_ACTIONS." | "; echo ""; $sql="select i.itemid,h.host,i.description,gi.gitemid,gi.color,gi.drawtype,gi.sortorder,i.key_". " from hosts h,graphs_items gi,items i where i.itemid=gi.itemid". " and gi.graphid=".$_REQUEST["graphid"]." and h.hostid=i.hostid order by gi.sortorder"; $result=DBselect($sql); $col=0; while($row=DBfetch($result)) { if($col++%2==0) { echo "
| ".$row["sortorder"]." | "; echo "".$row["host"]." | "; echo "".item_description($row["description"],$row["key_"])." | "; echo "".get_drawtype_description($row["drawtype"])." | "; echo "".$row["color"]." | "; echo ""; echo "".S_CHANGE.""; echo " - "; echo "".S_UP.""; echo " - "; echo "".S_DOWN.""; echo " | "; echo "