$cmbColor = new CComboBox("mark_color", $mark_color); $cmbColor->AddItem(MARK_COLOR_RED, S_AS_RED); $cmbColor->AddItem(MARK_COLOR_GREEN, S_AS_GREEN); $cmbColor->AddItem(MARK_COLOR_BLUE, S_AS_BLUE); $r_header->AddItem(array($cmbColor, SPACE)); } $r_header->AddItem(new CButton("select", "Select")); } else { $r_header = null; } if (($l_header || $r_header) && $_REQUEST['fullscreen'] == 0) { show_table_header($l_header, $r_header); } } else { $txt = new CTag('p', 'yes', $l_header); $txt->Show(); echo "\n"; } $cond_clock = ""; $limit = get_request('limit', 500); // Get the limit variable if given otherwise fall back to default value if ($_REQUEST["action"] == "showvalues") { // If we have showvalues, don't limit the result set $cond_clock = " and h.clock>{$time} and h.clock<{$till}"; $limit = "NO"; } if ($item_type == ITEM_VALUE_TYPE_LOG) { $itemid_lst = ''; if (is_array($_REQUEST["itemid"])) { $itemid_lst = implode(',', $_REQUEST["itemid"]); $item_cout = count($_REQUEST["itemid"]);