objectid . "'>"; echo $obj->objectname; echo ""; } } class param_page extends page { function Body() { if (!empty($_GET['oid'])) { $res = pg_exec($this->database, "SELECT objectname FROM object WHERE objectid=CAST('" . $_GET['oid']."' AS BIGINT)"); $obj = pg_fetch_object($res, 0); echo "

Parameters for " . $obj->objectname . "

"; $res = pg_exec($this->database, "SELECT paramid, class, name, description FROM parameter " ."WHERE objectid= CAST('" . $_GET['oid'] . "' AS BIGINT) order by class, name"); ?>
'> Compare to object: Show removed parameters
"; echo ""; $row = 0; $start_time = getmicrotime(); while ($row < pg_numrows($res)) { $par = pg_fetch_object($res, $row); $qry ="select change_nature from history where paramid= CAST('"; $qry .= $par->paramid . "' AS BIGINT) order by modified desc"; $rhist = pg_exec($this->database, $qry); $hist = pg_fetch_object($rhist, 0); if ($hist->change_nature != "REMOVED") { ?> "; $duration = getmicrotime() - $start_time; echo "$row parameters in " . round($duration, 3) . " seconds ("; echo round($duration / $row * 1000, 3) . " milliseconds per parameter).
"; } } } $page = new param_page("Gnucomo Parameters"); $page->Showpage(); ?>
class?> name?> description?> database, "SELECT name, value FROM property WHERE paramid=CAST('" . $par->paramid . "' AS BIGINT)"); for ($p = 0; $p < pg_numrows($r); $p++) { $prop = pg_fetch_object($r, $p); echo $prop->name . "=" . $prop->value . " "; } ?>