2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
20 $this->colours = array(
"blue",
"gray",
"gray",
"purple",
"brown",
"blue",
"purple");
21 $this->quotecolour =
"blue";
22 $this->blockcommentcolour =
"green";
23 $this->linecommentcolour =
"green";
27 $this->indent = array(
"begin");
28 $this->unindent = array(
"end");
32 $this->stringchars = array();
33 $this->delimiters = array(
"~",
"!",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
38 $this->linecommenton = array(
"--");
39 $this->blockcommenton = array(
"/*");
40 $this->blockcommentoff = array(
"*/");
44 $this->keywords = array(
51 "arith_overflow" =>
"1",
55 "authorization" =>
"1",
64 "char_convert" =>
"1",
119 "identity_insert" =>
"1",
120 "identity_start" =>
"1",
136 "max_rows_per_page" =>
"1",
143 "nonclustered" =>
"1",
146 "numeric_transaction" =>
"1",
171 "processexit" =>
"1",
177 "reconfigure" =>
"1",
199 "syb_identity" =>
"1",
200 "syb_restree" =>
"1",
207 "transaction" =>
"1",
213 "unpartition" =>
"1",
217 "user_option" =>
"1",
241 "char_length" =>
"7",
243 "character_length" =>
"2",
249 "constraints" =>
"2",
250 "corresponding" =>
"2",
252 "current_date" =>
"2",
253 "current_time" =>
"2",
254 "current_timestamp" =>
"2",
255 "current_user" =>
"2",
264 "diagnostics" =>
"2",
284 "insensitive" =>
"2",
306 "octet_length" =>
"2",
322 "session_user" =>
"2",
331 "system_user" =>
"2",
335 "timezone_hour" =>
"2",
336 "timezone_minute" =>
"2",
339 "translation" =>
"2",
390 "referencing" =>
"3",
401 "sqlexception" =>
"3",
412 "sp_activeroles" =>
"4",
413 "sp_addalias" =>
"4",
414 "sp_addauditrecord" =>
"4",
415 "sp_addaudittable" =>
"4",
416 "sp_addextendedproc" =>
"4",
417 "sp_addexternlogin" =>
"4",
418 "sp_addgroup" =>
"4",
419 "sp_addlanguage" =>
"4",
420 "sp_addlogin" =>
"4",
421 "sp_addmessage" =>
"4",
422 "sp_addobjectdef" =>
"4",
423 "sp_addremotelogin" =>
"4",
424 "sp_add_resource_limit" =>
"4",
425 "sp_addsegment" =>
"4",
426 "sp_addserver" =>
"4",
427 "sp_addthreshold" =>
"4",
428 "sp_add_time_range" =>
"4",
430 "sp_addumpdevice" =>
"4",
432 "sp_altermessage" =>
"4",
433 "sp_autoconnect" =>
"4",
434 "sp_bindcache" =>
"4",
435 "sp_bindefault" =>
"4",
437 "sp_bindrule" =>
"4",
438 "sp_cacheconfig" =>
"4",
439 "sp_cachestrategy" =>
"4",
440 "sp_changedbowner" =>
"4",
441 "sp_changegroup" =>
"4",
442 "sp_checknames" =>
"4",
443 "sp_checkreswords" =>
"4",
444 "sp_checksource" =>
"4",
445 "sp_chgattribute" =>
"4",
446 "sp_clearstats" =>
"4",
447 "sp_commonkey" =>
"4",
448 "sp_countmetadata" =>
"4",
449 "sp_cursorinfo" =>
"4",
450 "sp_column_privileges" =>
"4",
452 "sp_configure" =>
"4",
453 "sp_databases" =>
"4",
454 "sp_datatype_info" =>
"4",
455 "sp_dbcc_alterws" =>
"4",
456 "sp_dbcc_configreport" =>
"4",
457 "sp_dbcc_createws" =>
"4",
458 "sp_dbcc_deletedb" =>
"4",
459 "sp_dbcc_deletehistory" =>
"4",
460 "sp_dbcc_differentialreport" =>
"4",
461 "sp_dbcc_evaluatedb" =>
"4",
462 "sp_dbcc_faultreport" =>
"4",
463 "sp_dbcc_fullreport" =>
"4",
464 "sp_dbcc_runcheck" =>
"4",
465 "sp_dbcc_statisticsreport" =>
"4",
466 "sp_dbcc_summaryreport" =>
"4",
467 "sp_dbcc_updateconfig" =>
"4",
468 "sp_dboption" =>
"4",
469 "sp_defaultloc" =>
"4",
471 "sp_diskdefault" =>
"4",
472 "sp_displayaudit" =>
"4",
473 "sp_displaylevel" =>
"4",
474 "sp_displaylogin" =>
"4",
475 "sp_displayroles" =>
"4",
476 "sp_dropalias" =>
"4",
477 "sp_dropdevice" =>
"4",
478 "sp_dropexeclass" =>
"4",
479 "sp_dropextendedproc" =>
"4",
480 "sp_dropexternlogin" =>
"4",
481 "sp_dropglockpromote" =>
"4",
482 "sp_dropgroup" =>
"4",
484 "sp_droplanguage" =>
"4",
485 "sp_droplogin" =>
"4",
486 "sp_dropmessage" =>
"4",
487 "sp_dropobjectdef" =>
"4",
488 "sp_dropremotelogin" =>
"4",
489 "sp_drop_resource_limit" =>
"4",
490 "sp_dropsegment" =>
"4",
491 "sp_dropserver" =>
"4",
492 "sp_dropthreshold" =>
"4",
493 "sp_drop_time_range" =>
"4",
494 "sp_droptype" =>
"4",
495 "sp_dropuser" =>
"4",
496 "sp_estspace" =>
"4",
497 "sp_extendsegment" =>
"4",
498 "sp_familylock" =>
"4",
499 "sp_forceonline_db" =>
"4",
500 "sp_forceonline_page" =>
"4",
501 "sp_foreignkey" =>
"4",
503 "sp_getmessage" =>
"4",
504 "sp_grantlogin" =>
"4",
506 "sp_helpartition" =>
"4",
507 "sp_helpcache" =>
"4",
508 "sp_helpconfig" =>
"4",
509 "sp_helpconstraint" =>
"4",
511 "sp_helpdevice" =>
"4",
512 "sp_helpextendedproc" =>
"4",
513 "sp_helpexternlogin" =>
"4",
514 "sp_helpgroup" =>
"4",
515 "sp_helpindex" =>
"4",
516 "sp_helpjoins" =>
"4",
518 "sp_helplanguage" =>
"4",
520 "sp_helpobjectdef" =>
"4",
521 "sp_helpremotelogin" =>
"4",
522 "sp_help_resource_limit" =>
"4",
523 "sp_helprotect" =>
"4",
524 "sp_helpsegment" =>
"4",
525 "sp_helpserver" =>
"4",
526 "sp_helpsort" =>
"4",
527 "sp_helptext" =>
"4",
528 "sp_helpthreshold" =>
"4",
529 "sp_helpuser" =>
"4",
530 "sp_hidetext" =>
"4",
531 "sp_indsuspect" =>
"4",
532 "sp_listsuspect_db" =>
"4",
533 "sp_listsuspect_page" =>
"4",
535 "sp_locklogin" =>
"4",
536 "sp_logdevice" =>
"4",
537 "sp_loginconfig" =>
"4",
538 "sp_logininfo" =>
"4",
539 "sp_logiosize" =>
"4",
540 "sp_modifylogin" =>
"4",
541 "sp_modify_resource_limit" =>
"4",
542 "sp_modify_time_range" =>
"4",
543 "sp_modifythreshold" =>
"4",
545 "sp_monitorconfig" =>
"4",
546 "sp_passthru" =>
"4",
547 "sp_password" =>
"4",
548 "sp_placeobject" =>
"4",
549 "sp_plan_dbccdb" =>
"4",
550 "sp_primarykey" =>
"4",
551 "sp_processmail" =>
"4",
552 "sp_procqmode" =>
"4",
553 "sp_procxmode" =>
"4",
554 "sp_recompile" =>
"4",
555 "sp_remoteoption" =>
"4",
556 "sp_remotesql" =>
"4",
558 "sp_renamedb" =>
"4",
559 "sp_reportstats" =>
"4",
560 "sp_revokelogin" =>
"4",
562 "sp_serveroption" =>
"4",
563 "sp_setlangalias" =>
"4",
564 "sp_setpglockpromote" =>
"4",
565 "sp_setsuspect_granularity" =>
"4",
566 "sp_setsuspect_threshold" =>
"4",
567 "sp_spaceused" =>
"4",
570 "sp_unbindcache" =>
"4",
571 "sp_unbindcache_all" =>
"4",
572 "sp_unbindefault" =>
"4",
573 "sp_unbindmsg" =>
"4",
574 "sp_unbindrule" =>
"4",
575 "sp_volchanged" =>
"4",
578 "sp_server_info" =>
"4",
579 "sp_special_columns" =>
"4",
580 "sp_sproc_columns" =>
"4",
581 "sp_statistics" =>
"4",
582 "sp_stored_procedures" =>
"4",
583 "sp_table_privileges" =>
"4",
585 "xp_cmdshell" =>
"4",
586 "xp_deletemail" =>
"4",
587 "xp_enumgroups" =>
"4",
588 "xp_findnextmsg" =>
"4",
589 "xp_logevent" =>
"4",
590 "xp_readmail" =>
"4",
591 "xp_sendmail" =>
"4",
592 "xp_startmail" =>
"4",
593 "xp_stopmail" =>
"4",
598 "sysalternates" =>
"5",
599 "sysattributes" =>
"5",
600 "syscharsets" =>
"5",
602 "syscomments" =>
"5",
603 "sysconfigures" =>
"5",
604 "sysconstraints" =>
"5",
605 "syscurconfigs" =>
"5",
606 "sysdatabases" =>
"5",
613 "syslanguages" =>
"5",
614 "syslisteners" =>
"5",
616 "sysloginroles" =>
"5",
619 "syslogshold" =>
"5",
620 "sysmessages" =>
"5",
621 "sysmonitors" =>
"5",
623 "syspartitions" =>
"5",
624 "sysprocedures" =>
"5",
625 "sysprocesses" =>
"5",
626 "sysprotects" =>
"5",
627 "sysreferences" =>
"5",
628 "sysremotelogins" =>
"5",
629 "sysresourcelimits" =>
"5",
631 "syssecmechs" =>
"5",
632 "syssegments" =>
"5",
634 "syssrvroles" =>
"5",
635 "sysstatistics" =>
"5",
636 "systabstats" =>
"5",
638 "systhresholds" =>
"5",
639 "systimeranges" =>
"5",
642 "sysusermessages" =>
"5",
644 "sybsystemprocs" =>
"5",
646 "@@connections" =>
"6",
653 "@@isolation" =>
"6",
656 "@@ncharsize" =>
"6",
657 "@@nestlevel" =>
"6",
665 "@@servername" =>
"6",
666 "@@sqlstatus" =>
"6",
667 "@@textcolid" =>
"6",
669 "@@textobjid" =>
"6",
676 "@@tranchained" =>
"6",
690 "curunreservedpgs" =>
"7",
708 "is_sec_service_on" =>
"7",
713 "mut_excl_roles" =>
"7",
715 "object_name" =>
"7",
720 "ptn_data_pgs" =>
"7",
724 "reserved_pgs" =>
"7",
726 "role_contain" =>
"7",
733 "show_sec_services" =>
"7",
749 "valid_user" =>
"7");
758 $this->linkscripts = array(