forked from nuBuilder/nuBuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nubuilder4.sql
2543 lines (2388 loc) · 550 KB
/
nubuilder4.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- phpMyAdmin SQL Dump
-- version 5.3.0-dev+20220715.346923e20a
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 31, 2022 at 10:24 AM
-- Server version: 10.4.22-MariaDB
-- PHP Version: 8.1.2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `nubuilder4`
--
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_access`
--
CREATE TABLE `zzzzsys_access` (
`zzzzsys_access_id` varchar(25) NOT NULL DEFAULT '',
`sal_code` varchar(50) DEFAULT NULL,
`sal_description` varchar(200) DEFAULT NULL,
`sal_group` varchar(80) DEFAULT NULL,
`sal_zzzzsys_form_id` varchar(25) DEFAULT NULL,
`sal_use_2fa` varchar(1) DEFAULT NULL,
`sal_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_access_form`
--
CREATE TABLE `zzzzsys_access_form` (
`zzzzsys_access_form_id` varchar(25) NOT NULL DEFAULT '',
`slf_zzzzsys_access_id` varchar(25) DEFAULT NULL,
`slf_zzzzsys_form_id` varchar(25) DEFAULT NULL,
`slf_add_button` varchar(1) DEFAULT NULL,
`slf_save_button` varchar(1) DEFAULT NULL,
`slf_delete_button` varchar(1) DEFAULT NULL,
`slf_clone_button` varchar(1) DEFAULT NULL,
`slf_new_button` varchar(1) DEFAULT NULL,
`slf_print_button` varchar(1) DEFAULT NULL,
`slf_data_mode` varchar(2) DEFAULT NULL,
`slf_form_type` varchar(2) DEFAULT NULL,
`slf_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_access_php`
--
CREATE TABLE `zzzzsys_access_php` (
`zzzzsys_access_php_id` varchar(25) NOT NULL,
`slp_zzzzsys_access_id` varchar(25) DEFAULT NULL,
`slp_zzzzsys_php_id` varchar(25) DEFAULT NULL,
`slp_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_access_report`
--
CREATE TABLE `zzzzsys_access_report` (
`zzzzsys_access_report_id` varchar(25) NOT NULL,
`sre_zzzzsys_access_id` varchar(25) DEFAULT NULL,
`sre_zzzzsys_report_id` varchar(25) DEFAULT NULL,
`srp_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_browse`
--
CREATE TABLE `zzzzsys_browse` (
`zzzzsys_browse_id` varchar(25) NOT NULL DEFAULT '',
`sbr_zzzzsys_form_id` varchar(25) DEFAULT NULL,
`sbr_title` varchar(100) DEFAULT NULL,
`sbr_display` varchar(512) DEFAULT NULL,
`sbr_align` char(1) DEFAULT NULL,
`sbr_format` varchar(300) DEFAULT NULL,
`sbr_order` int(11) DEFAULT NULL,
`sbr_width` int(11) DEFAULT NULL,
`sbr_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_browse`
--
INSERT INTO `zzzzsys_browse` (`zzzzsys_browse_id`, `sbr_zzzzsys_form_id`, `sbr_title`, `sbr_display`, `sbr_align`, `sbr_format`, `sbr_order`, `sbr_width`, `sbr_json`) VALUES
('nu5bad6cb3746cc1b', 'nuuser', 'Language', 'sus_language', 'l', '', 50, 95, NULL),
('nu5bad6cb3747d41c', 'nuuser', 'Username', 'sus_login_name', 'l', '', 20, 120, NULL),
('nu5bad6cb37487772', 'nulaunchform', 'Type', 'sfo_type', 'l', '', 10, 100, NULL),
('nu5bad6cb3749102a', 'nulaunchform', 'Code', 'sfo_code', 'l', '', 20, 150, NULL),
('nu5bad6cb3749a37d', 'nulaunchform', 'Description', 'sfo_description', 'l', '', 30, 250, NULL),
('nu5bad6cb374a3c61', 'nutablookup', 'Tab', 'syt_title', 'l', '', 10, 200, NULL),
('nu5bad6cb374ae1fc', 'nutablookup', 'Form', 'sfo_description', 'l', '', 20, 150, NULL),
('nu5bad6cb374b7c3b', 'nutablookup', 'Code', 'sfo_code', 'l', '', 30, 160, NULL),
('nu5bad6cb374c102f', 'nutablookup', 'Type', 'sfo_type', 'l', '', 40, 100, NULL),
('nu5bad6cb374ca5aa', 'nuform', 'Code', 'sfo_code', 'l', '', 30, 250, NULL),
('nu5bad6cb374d3dbc', 'nuform', 'Description', 'sfo_description', 'l', '', 40, 440, NULL),
('nu5bad6cb374dd13c', 'nutab', 'Form', 'sfo_description', 'l', '', 20, 150, NULL),
('nu5bad6cb374f3729', 'nutab', 'Tab', 'syt_title', 'l', '', 10, 200, NULL),
('nu5bad6cb37505eea', 'nuobject', 'Form', 'sfo_description', 'l', '', 60, 210, NULL),
('nu5bad6cb37547640', 'nuobject', 'Tab', 'syt_title', 'l', '', 70, 135, NULL),
('nu5bad6cb375a3782', 'nuobject', 'Object', 'sob_all_id', 'l', '', 30, 235, NULL),
('nu5bad6cb375afa75', 'nuobject', 'Type', 'sob_all_type', 'l', '', 10, 65, NULL),
('nu5bad6cb375bd72e', 'nuobject', 'Label', 'sob_all_label', 'l', '', 50, 220, NULL),
('nu5bad6cb375c8f2a', 'nutab', 'Type', 'sfo_type', 'l', '', 40, 100, NULL),
('nu5bad6cb375d23fd', 'nunonsystemform', 'Code', 'sfo_code', 'l', '', 20, 150, NULL),
('nu5bad6cb375dbd9c', 'nunonsystemform', 'Description', 'sfo_description', 'l', '', 30, 250, NULL),
('nu5bad6cb375e5588', 'nunonsystemform', 'Type', 'sfo_type', 'l', '', 10, 100, NULL),
('nu5bad6cb375eeb8e', 'nuaccess', 'Code', 'sal_code', 'l', '', 10, 285, NULL),
('nu5bad6cb375f8259', 'nuaccess', 'Description', 'sal_description', 'l', '', 20, 350, NULL),
('nu5bad6cb376017c8', 'nuuser', 'Name', 'sus_name', 'l', '', 10, 150, NULL),
('nu5bad6cb3760ae9a', 'nuuser', 'Email', 'sus_email', 'l', '', 30, 225, NULL),
('nu5bad6cb376141d0', 'nuuser', 'Access Level', 'CONCAT(sal_code,\' : \',sal_description) ', 'l', '', 40, 250, NULL),
('nu5bad6cb3761e561', 'nuphp', 'Code', 'sph_code', 'l', '', 10, 300, NULL),
('nu5bad6cb37627eb1', 'nuphp', 'Description', 'sph_description', 'l', '', 20, 580, NULL),
('nu5bad6cb37631164', 'nubuildreport', 'Code', 'sre_code', 'l', '', 10, 150, NULL),
('nu5bad6cb3763a5b4', 'nubuildreport', 'Description', 'sre_description', 'l', '', 20, 345, NULL),
('nu5bad6cb3764389f', 'nuform', 'Type', 'sfo_type', 'l', '', 20, 80, NULL),
('nu5bad6cb3764cb3b', 'nubuildreport', 'Launch From', 'CONCAT(sfo_code, \' - \', sfo_description)', 'l', '', 40, 300, NULL),
('nu5bad6cb376560e0', 'nurun', 'Type', 'type', 'l', '', 10, 100, NULL),
('nu5bad6cb3765f712', 'nurun', 'Code', 'code', 'l', '', 20, 100, NULL),
('nu5bad6cb37668ca4', 'nurun', 'Description', 'description', 'l', '', 30, 100, NULL),
('nu5bad6cb37672072', 'nurunlist', 'Type', 'run', 'l', '', 10, 100, NULL),
('nu5bad6cb3767b4d5', 'nurunlist', 'Code', 'code', 'l', '', 20, 150, NULL),
('nu5bad6cb376849b6', 'nurunlist', 'Description', 'description', 'l', '', 30, 250, NULL),
('nu5bad6cb3768dd0c', 'nudebug', 'Message', 'deb_message', 'l', '', 10, 700, NULL),
('nu5bad6cb37697a01', 'nuaccesslevelreport', '1', '1', 'l', '', 10, 1, NULL),
('nu5bad6cb376a1655', 'nutab', 'Code', 'sfo_code', 'l', '', 30, 100, NULL),
('nu5bad6cb376aaab5', 'nubrowse', 'Title', 'sbr_title', 'l', '', 20, 240, NULL),
('nu5bad6cb376b3dd7', 'nubuildreport', 'Group', 'sre_group', 'l', '', 30, 150, NULL),
('nu5bad6cb376bd159', 'nuphp', 'Group', 'sph_group', 'l', '', 30, 175, NULL),
('nu5bad6cb376c65d3', 'nurunreport', 'Code', 'sre_code', 'l', '', 20, 150, NULL),
('nu5bad6cb376cf902', 'nurunreport', 'Description', 'sre_description', 'l', '', 30, 250, NULL),
('nu5bad6cb376d900a', 'nurunreport', 'Group', 'sre_group', 'l', '', 40, 150, NULL),
('nu5bad6cb376e2688', 'nurunphp', 'Code', 'sph_code', 'l', '', 20, 205, NULL),
('nu5bad6cb376eb9d6', 'nurunphp', 'Description', 'sph_description', 'l', '', 30, 420, NULL),
('nu5bad6cb376f4f5f', 'nurunphp', 'Group', 'sph_group', 'l', '', 40, 150, NULL),
('nu5bad6cb376fe259', 'nurunreport', 'Form', 'sre_zzzzsys_form_id', 'l', '', 10, 0, NULL),
('nu5bad6cb37707660', 'nurunphp', 'PHP', 'sph_zzzzsys_form_id', 'l', '', 10, 0, NULL),
('nu5bad6cb3771115d', 'nuobject', 'Form Id', 'zzzzsys_form_id', 'l', '', 40, 0, NULL),
('nu5bad6cb3771b003', 'nuphp', 'Launch From', 'CONCAT(sfo_code, \' - \', sfo_description)', 'l', '', 40, 405, NULL),
('nu5bad6cb37724836', 'nutimezone', 'Time Zone', 'stz_timezone', 'l', '', 10, 350, NULL),
('nu5bad6cb3772dd22', 'nutranslate', 'Language', 'trl_language', 'l', '', 10, 100, NULL),
('nu5bad6cb37737185', 'nutranslate', 'English', 'trl_english', 'l', '', 20, 345, NULL),
('nu5bad6cb377406bb', 'nutranslate', 'Translation', 'trl_translation', 'l', '', 30, 430, NULL),
('nu5bad6cb37749ba7', 'nucalcobjects', 'object.subform', 'CONCAT(thechild,IF(theparent = \'\',\'\',\'.\'),theparent)', 'c', '', 10, 200, NULL),
('nu5bad6cb377531c6', 'nucalcobjects', ' ', 'theform', 'l', '', 30, 0, NULL),
('nu5bad6cb37765e82', 'nucalcobjects', ' ', 'thevalue', 'l', '', 40, 2, NULL),
('nu5bad6cb3777c5ee', 'nucalcobjects', 'Object', 'thechild', 'l', '', 20, 0, NULL),
('nu5bad6cb377899bf', 'nuformat', 'Type', 'srm_type', 'l', '', 20, 150, NULL),
('nu5bad6cb3779593d', 'nuformat', 'Format', 'srm_format', 'l', '', 10, 190, NULL),
('nu5bad6cb377a01b0', 'nuobject', 'Input Type', 'sob_input_type', 'l', '', 20, 110, NULL),
('nu5bad6cb377a9e19', 'nubrowse', 'join', 'sbr_zzzzsys_form_id', 'l', '', 10, 0, NULL),
('nu5bad6cb377b6a58', 'nuform', 'Table', 'sfo_table', 'l', '', 50, 270, NULL),
('nu5bad6cb377c33ea', 'nufile', 'Code', 'sfi_code', 'l', '', 10, 200, NULL),
('nu5bad6cb377d2981', 'nufile', 'Description', 'sfi_description', 'l', '', 20, 350, NULL),
('nu5bad6cb3781d394', 'nufile', 'JSON', 'sfi_json', 'l', '', 30, 0, NULL),
('nu5bad6cb3783715c', 'nufile', 'Image', 'NULL', 'c', '', 40, 170, NULL),
('nu5bad6cb37849637', 'nufile', 'Group', 'sfi_group', 'l', '', 50, 150, NULL),
('nu5bad6cb3786de92', 'nuselect', 'Description', 'sse_description', 'l', '', 20, 350, NULL),
('nu5bad6cb3787ca71', 'nulaunchable', 'Type', 'sfo_type', 'l', '', 10, 80, NULL),
('nu5bad6cb37889036', 'nulaunchable', 'Code', 'sfo_code', 'l', '', 20, 100, NULL),
('nu5bad6cb3789662e', 'nulaunchable', 'Description', 'sfo_description', 'l', '', 30, 400, NULL),
('nu5bad6cb378aa4cf', 'nulaunchable', 'Table', 'sfo_table', 'l', '', 40, 200, NULL),
('nu5bad6cb378b79f4', 'nudebug', 'When', 'deb_added', 'l', '', 20, 130, NULL),
('nu5bad6cb378c316b', 'nubuildtable', 'Code', 'code', 'l', '', 10, 100, NULL),
('nu5bad6cb378cf278', 'nubuildtable', 'Description', 'description', 'l', '', 20, 300, NULL),
('nu5f9aaac9719b88c', 'nucloner', 'Source Form', 'clo_form_source', 'l', '', 10, 190, NULL),
('nu5f9aaac971c84e2', 'nucloner', 'Destination Form', 'clo_form_dest', 'l', '', 20, 190, NULL),
('nu5f9aaac971ec977', 'nucloner', 'Dump SQL', 'REPLACE(REPLACE(clo_dump,1,\'✔\'),0,\'\')', 'l', '', 30, 75, NULL),
('nu5f9aaac971fc30c', 'nucloner', 'Without Objects', 'REPLACE(REPLACE(clo_objects,1,\'✔\'),0,\'\')', 'l', '', 40, 175, NULL),
('nu5f9c04dbab4da92', 'nucloner', 'Notes', 'clo_notes', 'l', '', 50, 350, NULL),
('nu5fd29810a628f4f', 'nunotes', 'Notes', 'not_title', 'l', '', 20, 720, NULL),
('nu5fd29810a62a421', 'nunotes', 'Category', 'noc_name', 'l', '', 10, 150, NULL),
('nu5fd3b22fa460a12', 'nunotescategroy', 'Category', 'noc_name', 'l', '', 10, 400, NULL),
('nu5fd3bb4dc0d2841', 'nunotes', 'Updated on', 'not_updated_on', 'l', '', 30, 145, NULL),
('nu5fd5b7fc8c163a3', 'nuuser', 'Code', 'sus_code', 'l', '', 60, 55, NULL),
('nu5fd5b7fc8de0c57', 'nuuser', 'Position', 'sus_position', 'l', '', 70, 125, NULL),
('nu5fd5b7fc8fad224', 'nuuser', 'Team', 'sus_team', 'l', '', 90, 100, NULL),
('nu5fd8d2459834722', 'nutranslate', 'Added by User', 'IF(zzzzsys_translate_id like \'nu%\',\'\',\'✔\')', 'l', '', 40, 140, NULL),
('nu5fd8ed3051616cd', 'nusession', 'Login Name', 'login', 'l', '', 20, 150, NULL),
('nu5fd8ed305162c77', 'nusession', 'Username', 'user', 'l', '', 30, 150, NULL),
('nu5fd8ed3051639e7', 'nusession', 'Login Time', 'login_time', 'l', '', 10, 150, NULL),
('nu5fdb1b5b3fd1be7', 'nucodesnippet', 'Code', 'cot_code', 'l', '', 20, 215, NULL),
('nu5fdb1b5b407a6f1', 'nucodesnippet', 'Description', 'cot_description', 'l', '', 30, 700, NULL),
('nu5fdb1b5b408a860', 'nucodesnippet', 'Language', 'cot_language', 'l', '', 10, 85, NULL),
('nu5fdb668a2947958', 'nuobject', 'Access', 'REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(sob_all_access,0,\'Editable\'),1,\'Readonly\'),2,\'Hidden\'),3,\'Hidden (User)\'),\'4\',\'Hidden (User) + Readonly\')', 'l', '', 80, 95, NULL),
('nu5fdb67accbbfa6d', 'nuobject', 'Validation', 'REPLACE(REPLACE(REPLACE(REPLACE(sob_all_validate, 0,\'None\'),1,\'No Blanks\'),2,\'No Duplicates\'),3,\'No Duplicates/Blanks\')', 'l', '', 90, 150, NULL),
('nu5fdb689731ed0db', 'nuobject', 'Align', 'CONCAT(UCASE(LEFT(sob_all_align, 1)),SUBSTRING(LOWER(sob_all_align),2))', 'l', '', 100, 60, NULL),
('nu5fdcc69ceb26325', 'nucodesnippet', 'Changed On', 'cot_updated_on', 'l', '', 40, 130, NULL),
('nu5fdfd91ab3a0d63', 'nusession', 'IP Address', 'ip', 'l', '', 40, 120, NULL),
('nu5fe0352637b2e4f', 'nuuser', 'Expires On', 'sus_expires_on', 'l', 'D|yyyy-mm-dd', 100, 90, NULL),
('nu5fe035b0d058339', 'nuuser', 'Department', 'sus_department', 'l', '', 80, 100, NULL),
('nu5fe179294648601', 'nuform', ' ', 'null', 'l', '', 10, 50, NULL),
('nu5fed7ae8d82586a', 'nuobjectgrid', 'Code', 'sfo_code', 'l', '', 10, 250, NULL),
('nu5ff0df492665285', 'nuaccess', 'Home', 'sfo_code', 'l', '', 40, 300, NULL),
('nu60fd004179b7f95', 'nuselect', 'Code', 'sse_code', 'l', '', 10, 150, NULL),
('nu61bb9991f1c4d45', 'nudebug', 'User', 'IFNULL(sus_name, deb_user_id)', 'l', '', 30, 170, NULL),
('nu61d7d0231fff5c5', 'nuaccess', 'Group', 'sal_group', 'l', NULL, 30, 205, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_cloner`
--
CREATE TABLE `zzzzsys_cloner` (
`zzzzsys_cloner_id` varchar(25) NOT NULL,
`clo_form_source` varchar(25) DEFAULT NULL,
`clo_form_dest` varchar(25) DEFAULT NULL,
`clo_tabs` varchar(1000) DEFAULT NULL,
`clo_dump` tinyint(1) DEFAULT NULL,
`clo_objects` tinyint(1) DEFAULT NULL,
`clo_subforms_include` tinyint(1) DEFAULT NULL,
`clo_subforms` varchar(1000) DEFAULT NULL,
`clo_iframe_forms_include` tinyint(1) DEFAULT NULL,
`clo_iframe_forms` text DEFAULT NULL,
`clo_new_pks` tinyint(1) DEFAULT NULL,
`clo_notes` text DEFAULT NULL,
`clo_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_code_snippet`
--
CREATE TABLE `zzzzsys_code_snippet` (
`zzzzsys_code_snippet_id` varchar(25) NOT NULL,
`cot_code` varchar(50) DEFAULT NULL,
`cot_description` text DEFAULT NULL,
`cot_url` varchar(500) DEFAULT NULL,
`cot_source_code` text DEFAULT NULL,
`cot_language` varchar(20) DEFAULT NULL,
`cot_scope` varchar(50) DEFAULT NULL,
`cot_updated_on` timestamp NULL DEFAULT current_timestamp(),
`cot_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_code_snippet`
--
INSERT INTO `zzzzsys_code_snippet` (`zzzzsys_code_snippet_id`, `cot_code`, `cot_description`, `cot_url`, `cot_source_code`, `cot_language`, `cot_scope`, `cot_updated_on`, `cot_json`) VALUES
('nu5fdb1a7c5b3d3b2', 'nuBeforeSave', 'Before a record is saved, nuBuilder checks for the existance of a function called nuBeforeSave().\nIf this exists it will use its return value to decide whether to continue saving the record.', 'https://wiki.nubuilder.net/nubuilderforte/index.php/Javascript#nuBeforeSave', 'function nuBeforeSave(){\n\n if( $(\'#cus_name\').val() === \'something\' ){ /* condition(s) here */ \n \n nuMessage([\'Message here.\']);\n\n // Cancel saving \n return false;\n\n }\n\n // Continue Saving\n return true;\n \n} ', 'JavaScript', '[\"0\"]', '2020-12-15 21:23:13', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_config`
--
CREATE TABLE `zzzzsys_config` (
`zzzzsys_config_id` varchar(25) NOT NULL,
`zzzzsys_setup_id` varchar(25) NOT NULL DEFAULT '1',
`cfg_order` int(11) DEFAULT NULL,
`cfg_category` varchar(50) DEFAULT NULL,
`cfg_setting` varchar(1000) DEFAULT NULL,
`cfg_value` varchar(1000) DEFAULT NULL,
`cfg_description` varchar(1000) DEFAULT NULL,
`cfg_type` tinyint(4) NOT NULL DEFAULT 1,
`cfg_effective` varchar(1) NOT NULL DEFAULT '1',
`cfg_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_config`
--
INSERT INTO `zzzzsys_config` (`zzzzsys_config_id`, `zzzzsys_setup_id`, `cfg_order`, `cfg_category`, `cfg_setting`, `cfg_value`, `cfg_description`, `cfg_type`, `cfg_effective`, `cfg_json`) VALUES
('nu62a0a02104dee61', '1', 110, 'Users', '$nuConfigDBGlobeadminUsers', '', 'User Ids with \'globeadmin\' permission, separated by comma', 1, '1', NULL),
('nu62a0a02104dfbee', '1', 10, 'Settings', '$nuConfigTitle', 'nuBuilder 4.5', 'nuBuilder Title', 1, '1', NULL),
('nu62a0a02104e08d7', '1', 20, 'Settings', '$nuConfigTimeOut', '1440', 'Session Timeout. Default: 1440 (24h)', 3, '1', NULL),
('nu62a0a02104e1480', '1', 30, 'Settings', '$nuConfigIsDemo', 'false', 'Demo Mode: Restricted rights. Saving not permitted.', 2, '3', NULL),
('nu62a0a02104e283a', '1', 40, 'Settings', '$nuConfigDemoDBGlobeadminUsername', '', 'Demo Mode: Specify a Demo Username and Password if $nuConfigIsDemo is set to true', 1, '1', NULL),
('nu62a0a02104e340b', '1', 50, 'Settings', '$nuConfigDemoDBGlobeadminPassword', '', 'Demo Mode: Demo User Password', 1, '1', NULL),
('nu62a0a02104e45bc', '1', 60, 'Settings', '$nuConfigDemoSavingAllowedIds', '', 'Demo Mode: Saving allowed in the specified form Ids. Separated by comma.', 1, '1', NULL),
('nu62a0a02104e542c', '1', 70, 'Settings', '$nuConfigUserAdditional1Label', '', 'User Form: If not blank, rename the Label of \'Additional 1\' on the user form', 1, '1', NULL),
('nu62a0a02104e64e6', '1', 80, 'Settings', '$nuConfigUserAdditional2Label', '', 'User Form: If not blank, rename the Label of \'Additional 2\' on the user form', 1, '1', NULL),
('nu62a0a02104e72e8', '1', 90, 'Settings', '$nuConfigUserCodeLabel', '', 'User Form: If not blank, rename the Label of \'Code\' on the user form', 1, '1', NULL),
('nu62a0a02104e8621', '1', 100, 'Settings', '$nuConfigBackupLocation', '', 'Backup location: Default: If left blank, backups are stored in /core/libs/mysqldump/dumps. Make sure to turn off directory listing!', 1, '1', NULL),
('nu62a0a02104e96df', '1', 120, 'Options', '$nuConfigEnableDatabaseUpdate', 'true', 'Enable updating the database within nuBuilder', 2, '1', NULL),
('nu62a0a02104ea45f', '1', 130, 'Options', '$nuConfigKeepSessionAlive', 'true', 'Use a timer to keep the session alive', 2, '2', NULL),
('nu62a0a02104eb409', '1', 140, 'Options', '$nuConfigKeepSessionAliveInterval', '600', 'Keep-alive interval. Default 600 s (10 min)', 1, '2', NULL),
('nu62a0a02104ec632', '1', 150, 'Options', '$nuUseMd5PasswordHash', 'false', 'If set to true, MD5 is used to hash passwords, otherwise password_hash(), which is recommended.', 2, '1', NULL),
('nu62a0a02104ed59e', '1', 160, '2FA', '$nuConfig2FAAdmin', 'false', 'Use 2FA authentication for administrator', 2, '1', NULL),
('nu62a0a02104ee392', '1', 170, '2FA', '$nuConfig2FAUser', 'false', 'Use 2FA authentication for users', 2, '1', NULL),
('nu62a0a02104ef4e4', '1', 180, '2FA', '$nuConfig2FAFormID', 'nuauthentication', '2FA form ID. Default id: nuauthentication', 1, '1', NULL),
('nu62a0a02104f06aa', '1', 190, '2FA', '$nuConfig2FATokenValidityTime', '168', '2FA Token Validity Time. Default: 7 days (7 * 24 hours)', 3, '1', NULL),
('nu62a0a02104f17ad', '1', 200, '2FA', '$nuConfig2FAShowRememberMe', 'false', 'Show a checkbox \'Remember me for X days\' in the authentication form', 2, '1', NULL),
('nu62a0a02104f230f', '1', 210, 'Includes', '$nuConfigIncludeTinyMCE', 'true', 'Include TinyMCE WYSIWYG', 2, '1', NULL),
('nu62a0a02104f3db0', '1', 220, 'Includes', '$nuConfigIncludeGoogleCharts', 'true', 'Include external link to www.gstatic.com', 2, '2', NULL),
('nu62a0a02104f4b8c', '1', 230, 'Includes', '$nuConfigIncludeApexCharts', 'false', 'Include apex charts (libs/apexcharts)', 2, '2', NULL),
('nu62a0a02104f8bad', '1', 250, 'nuUXOptions', 'nuEnableBrowserBackButton', 'true', 'Enable the browser\'s Back button ', 2, '1', NULL),
('nu62a0a02104f9b3c', '1', 260, 'nuUXOptions', 'nuPreventButtonDblClick', 'true', 'Disable a button for 1 5 s to prevent a double click', 2, '1', NULL),
('nu62a0a02104fab5f', '1', 270, 'nuUXOptions', 'nuShowPropertiesOnMiddleClick', 'true', 'Show the Object Properties on middle mouse click', 2, '1', NULL),
('nu62a0a02104fba72', '1', 280, 'nuUXOptions', 'nuAutosizeBrowseColumns', 'true', 'Autosize columns to fit the document width', 2, '1', NULL),
('nu62a0a02104fc425', '1', 290, 'nuUXOptions', 'nuShowBackButton', 'false', 'Show a Back Button', 2, '1', NULL),
('nu62a0a02104fd939', '1', 300, 'nuUXOptions', 'nuBrowsePaginationInfo', 'default', 'Default Format is= \'{StartRow} - {EndRow} \' + nuTranslate(\'of\') + \' \' + \'{TotalRows}\'.', 1, '1', NULL),
('nu62a0a02104fe599', '1', 310, 'nuUXOptions', 'nuShowNuBuilderLink', 'true', 'Show the link to nubuilder com', 2, '1', NULL),
('nu62a0a02104ff0bf', '1', 320, 'nuUXOptions', 'nuShowLoggedInUser', 'false', 'Show the logged in User', 2, '1', NULL),
('nu62a0a02104ffe04', '1', 330, 'nuUXOptions', 'nuShowBrowserTabTitle', 'true', 'Show the Form Title in the Browser Tab', 2, '1', NULL),
('nu62a0a02105011e4', '1', 340, 'nuUXOptions', 'nuDebugMode', 'true', 'If true, a warning is output in the Developer Console if an element does not exist when using nuGetValue() or nuSetValue()', 2, '1', NULL),
('nu62a0a0210501e50', '1', 350, 'nuUXOptions', 'nuBrowserTabTitlePrefix', 'nuBuilder', 'Prefix in the Browser Tab', 1, '1', NULL),
('nu62a0a0210502912', '1', 360, 'nuUXOptions', 'nuMobileView', 'true', 'Optimise view for mobile devices', 2, '1', NULL),
('nu62a0a0210503956', '1', 370, 'nuUXOptions', 'nuCalendarType', 'nuBuilder', 'Type of the calendar: nuBuilder or VanillaJS', 1, '3', NULL),
('nu62a0a0210503957', '1', 380, 'nuUXOptions', 'nuCalendarStartOfWeek', '0', 'nuCalendar: Start day of the week. 0:Sunday, 1:Monday', 3, '1', NULL),
('nu62a0a021050464c', '1', 390, 'nuUXOptions', 'nuSelect2Theme', 'default', 'select2 theme (default, classic) Default: default', 1, '0', NULL),
('nu62a0a021050536a', '1', 400, 'nuUXOptions', 'nuDefaultUseQuill', 'false', 'Use quill as default WYSIWYG editor', 2, '1', NULL),
('nu62a0a0210505b68', '1', 410, 'nuAdminButtons', 'nuDebug', 'true', 'Show Debug icon for administrator', 2, '1', NULL),
('nu62a0a02105062e5', '1', 420, 'nuAdminButtons', 'nuPHP', 'true', 'Show PHP icons for administrator', 2, '1', NULL),
('nu62a0a0210506a8f', '1', 430, 'nuAdminButtons', 'nuRefresh', 'true', 'Show Refresh icons for administrator', 2, '1', NULL),
('nu62a0a02105071cb', '1', 440, 'nuAdminButtons', 'nuObjects', 'true', 'Show Objects (Obj) icon for administrator', 2, '1', NULL),
('nu62a0a02105079da', '1', 450, 'nuAdminButtons', 'nuProperties', 'true', 'Show Properties (Prop) icon for administrator', 2, '1', NULL),
('nu62bdc792e1efb3a', '1', 41, 'Settings', '$nuConfigGlobeadminHome', 'nuhomecompact', 'Home form ID for administrator. Default: nuhome', 1, '3', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_debug`
--
CREATE TABLE `zzzzsys_debug` (
`zzzzsys_debug_id` varchar(25) NOT NULL,
`deb_message` longtext DEFAULT NULL,
`deb_added` int(11) DEFAULT NULL,
`deb_user_id` varchar(25) DEFAULT NULL,
`deb_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_event`
--
CREATE TABLE `zzzzsys_event` (
`zzzzsys_event_id` varchar(25) NOT NULL,
`sev_zzzzsys_object_id` varchar(25) DEFAULT NULL,
`sev_event` varchar(100) DEFAULT NULL,
`sev_javascript` varchar(3000) DEFAULT NULL,
`sev_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_event`
--
INSERT INTO `zzzzsys_event` (`zzzzsys_event_id`, `sev_zzzzsys_object_id`, `sev_event`, `sev_javascript`, `sev_json`) VALUES
('nu5bad6cb378ec061', 'nu5a3e518de1c9d39', 'afterinsertrow', 'nuChart(\'chart\', \'ComboChart\', \'nuSubformObject(\"sfa\").chartData\', \'1\', \'44\', \'\', \'bars\', false);', NULL),
('nu5bad6cb378f8a07', 'nu5a441af14f14218', 'afterinsertrow', 'nuChart(\'chart\', \'ComboChart\', \'nuSubformObject(\"sfa\").chartData\', \'1\', \'44\', \'\', \'bars\', false);', NULL),
('nu5bad6cb37904b65', 'nu5bad6cb366576fb', 'afterinsertrow', 'nuTestChart();', NULL),
('nu5bad6cb37911d4e', 'nu5bad6cb363bb5b7', 'onchange', 'nuTestChart();', NULL),
('nu5bad6cb3791fc33', 'nu5bad6cb3647b4cb', 'onchange', 'nuTestChart();', NULL),
('nu5bad6cb3792a2a1', 'nu5bad6cb364add63', 'onchange', 'nuTestChart();', NULL),
('nu5bad6cb37933f0c', 'nu5bad6cb36568f2b', 'onchange', 'nuTestChart();', NULL),
('nu5bad6cb3793d45a', 'nu5bad6cb328be090', 'afterinsertrow', '$(\"[id$=\'syt_help\']\").addClass(\'js\')', NULL),
('nu5bad6cb37947239', 'nu5bad6cb3625fd05', 'onclick', 'window.open(\"http://wiki.nubuilder.net/nubuilderforte/index.php/\" + window.nuHelp);', NULL),
('nu5bad6cb37957561', 'nu5bad6cb36283501', 'onclick', 'window.open(\"http://wiki.nubuilder.net/nubuilderforte/index.php/\" + window.nuHelp);', NULL),
('nu5bad6cb37966261', 'nu5bad6cb35cce14b', 'onclick', 'nuVendorLogin(\'PMA\');', NULL),
('nu5bad6cb3797b0a7', 'nu5bad6cb32930450', 'onclick', 'window.open(\'core/nureportdesigner.php?tt=\' + $(\"#sre_zzzzsys_php_id\").val() + \'&launch=\' + $(\"#sre_zzzzsys_form_id\").val());', NULL),
('nu5bad6cb3798566b', 'nu5bad6cb329fdf13', 'onchange', 'nuTypeChanged();', NULL),
('nu5bad6cb3798ef56', 'nu5bad6cb3263f2a8', 'onchange', 'nuTypeChanged();', NULL),
('nu5bad6cb379988c5', 'nu5bad6cb34c005d7', 'onclick', 'nuPopPHP(event, \'BE\');', NULL),
('nu5bad6cb379a3d0a', 'nu5bad6cb34c4775c', 'onclick', 'nuPopPHP(event, \'BS\');', NULL),
('nu5bad6cb379b055d', 'nu5bad6cb34d23de5', 'onclick', 'nuPopPHP(event, \'AS\');', NULL),
('nu5bad6cb379bcdcc', 'nu5bad6cb34d7e1db', 'onclick', 'nuPopPHP(event, \'BD\');', NULL),
('nu5bad6cb379ec280', 'nu5bad6cb34e2eaec', 'onclick', 'nuPopPHP(event, \'AD\');', NULL),
('nu5bad6cb37a13d93', 'nu5bad6cb329136ba', 'onclick', 'nuPopPHP(event, \'BB\');', NULL),
('nu5bad6cb37a4de1d', 'nu5bad6cb34b050a0', 'onclick', 'nuPopPHP(event, \'AB\');', NULL),
('nu5bad6cb37a6a213', 'nu5bad6cb34e5cc53', 'onclick', 'nuPreview()', NULL),
('nu5bad6cb37af380e', 'nu5bad6cb34fa79c0', 'onchange', 'nuSetFormatType(1)', NULL),
('nu5bad6cb37b01a0f', 'nu5bad6cb32c4d9de', 'onchange', 'nuInputTypeChanged(this.value)', NULL),
('nu5bad6cb37b0e5e5', 'nu5bad6cb3518a9c0', 'onclick', 'nuPreview(1)', NULL),
('nu5bad6cb37b274c5', 'nu5bad6cb325c8954', 'afterinsertrow', '$(\"[id$=\'sev_javascript\']\").addClass(\'js\')', NULL),
('nu5bad6cb37b32126', 'nu5bad6cb32b77005', 'onclick', 'nuPopPHP(event, \'BB\');', NULL),
('nu5bad6cb37b42053', 'nu5bad6cb32b9715a', 'onclick', 'nuPopPHP(event, \'BB\');', NULL),
('nu5bad6cb37b5e79f', 'nu5bad6cb35304ffd', 'onkeydown', 'nuFORM.scrollList(event, window.nuObjectFields);', NULL),
('nu5bad6cb37b6ab21', 'nu5bad6cb3568c736', 'onclick', 'nuPopup(\'nusample\',\'-1\');', NULL),
('nu5bad6cb37b75849', 'nu5bad6cb35a0a29e', 'onclick', 'nuResizeSQL();', NULL),
('nu5bad6cb37b853f4', 'nu5bad6cb35a52325', 'onchange', 'nuAddSQLTable(event);', NULL),
('nu5bad6cb37b91ff1', 'nu5bad6cb35b23983', 'onchange', '$(\'#sqlframe\').contents().find(\'body\').css(\'zoom\', this.value / 100)', NULL),
('nu5bad6cb37ba5b09', 'nu5bad6cb35ab1f0a', 'onchange', 'nuWhereClauses();$(\'#sqlframe\')[0].contentWindow.nuSQL.buildSQL()', NULL),
('nu5bad6cb37bb54ac', 'nu5bad6cb35afa1d0', 'onchange', '$(\'#sqlframe\')[0].contentWindow.nuSQL.buildSQL()', NULL),
('nu5bad6cb37bc1b7a', 'nu5bad6cb35ad7f0a', 'onchange', '$(\'#sqlframe\')[0].contentWindow.nuSQL.buildSQL()', NULL),
('nu5bad6cb37bcc8fb', 'nu5bad6cb35b860e2', 'onchange', '$(\'#sqlframe\')[0].contentWindow.nuSQL.buildSQL()', NULL),
('nu5bad6cb37bd72d2', 'nu5bad6cb35a8885a', 'onchange', '$(\'#sqlframe\')[0].contentWindow.nuSQL.buildSQL()', NULL),
('nu5bad6cb37beca3a', 'nu5bad6cb34ebf5bd', 'onfocus', 'onColumnPicker(event);\n$(\'#available_columns\').prop(\'selectedIndex\',-1);\nnuShowAvailableFields(true);', NULL),
('nu5bad6cb37c0be93', 'nu5bad6cb34f0470a', 'afterinsertrow', 'nuSetFFTable();\nnuDisableLastFFRow();\n\nlet l = nuSubformObject(\'obj_sf\').rows.length;\n\nvar rowPrefix = \'obj_sf\' + nuPad3(l == 1 ? 0 : l - 1);\nnuSetFFTypeOptionsColor(rowPrefix + \'ff_type\');\nnuSelectRemoveEmpty(rowPrefix + \'ff_type\',\'-1\');\n\nnuEnableFFDataType();', NULL),
('nu5bad6cb37c22211', 'nu5bad6cb35cf61c0', 'onclick', 'nuPopSQL(event, \'BR\');', NULL),
('nu5bad6cb37c317ec', 'nu5bad6cb35d26e8f', 'onclick', 'nuPopSQL(event, \'DI\');', NULL),
('nu5bad6cb37c45b5b', 'nu5bad6cb35d48819', 'onclick', 'nuPopSQL(event, \'SE\');', NULL),
('nu5bad6cb37c5a112', 'nu5bad6cb35d6b273', 'onfocus', 'nuFocusFFObject(event);', NULL),
('nu5bad6cb37c67eb0', 'nu5a2f31a336db937', 'onclick', 'alert(\'Do Something!\')', NULL),
('nu5bad6cb37c73e80', 'nu5bad6cb35dadfc5', 'onchange', 'nuOnFormTypeChanged(); \nif (this.value == \'launch\') { \n nuSetValue(\'fastform_table\',\'\');\n nuShowAvailableFields(false);\n} ', NULL),
('nu5bad6cb37ca3577', 'nu5bad6cb35b23983', 'afterinsertrow', 'nuSetSFCB();', NULL),
('nu5bad6cb37cba151', 'nu5bad6cb35ebbc60', 'onclick', 'nuGetCSV();', NULL),
('nu5bad6cb37ccc397', 'nu5bad6cb35ff457a', 'onclick', 'nuPopPHP(event, \'BB\');', NULL),
('nu5bad6cb37cda28d', 'nu5bad6cb366e865e', 'onchange', 'nuSetFFTable();', NULL),
('nu5bad6cb37ce6dae', 'nu5bad6cb3670b7db', 'onclick', 'nuPickTableType();', NULL),
('nu5bd8f419d886e17', 'nu5bad6cb327ab3b8', 'afterinsertrow', 'default_description();\n\nlet l = nuSubformObject(\'zzzzsys_browse_sf\').rows.length;\nvar rowPrefix = \'zzzzsys_browse_sf\' + nuPad3(l == 1 ? 0 : l - 1);\nnuUpdateDisplayDatalists(rowPrefix + \'sbr_display\');', NULL),
('nu5f7129d5424e73c', 'nu5f711b9351ae752', 'onchange', 'nuCSVTransfer(this.value)', NULL),
('nu5fab41c055475d8', 'nu5bad6cb3513b16c', 'onchange', 'nuAddToFormat();', NULL),
('nu5fab41d07a80c9b', 'nu5fab2f8952634e4', 'onchange', 'nuAddToFormat();', NULL),
('nu5fab41e0265f1e4', 'nu5fab2fa48a504e4', 'onchange', 'nuAddToFormat();', NULL),
('nu5fab41f0d3d7845', 'nu5fab2fb6e66f19b', 'onchange', 'nuAddToFormat();', NULL),
('nu5fd6f92d9463a40', 'nu5fd6f828a1e42b1', 'onclick', 'nuSetSelectIndex(\'sob_all_cloneable\',1)', NULL),
('nu5fd6f95baab794b', 'nu5fd6f7819d659bc', 'onclick', 'nuSetSelectIndex(\'sob_all_cloneable\',2);', NULL),
('nu5fd6fa042a999b1', 'nu5fd6fa0428adcd3', 'onclick', 'nuSetSelectIndex(\'sob_all_align\',1);', NULL),
('nu5fd6fbe95e24346', 'nu5fd6fbe95c2c61d', 'onclick', 'nuSetSelectIndex(\'sob_all_align\',2);', NULL),
('nu5fd6fc4a7f52ae6', 'nu5fd6fc4a7ccf484', 'onclick', 'nuSetSelectIndex(\'sob_all_align\',3);', NULL),
('nu5fd6fdad3ae76f5', 'nu5fd6fdad38e8f5d', 'onclick', 'nuSetSelectIndex(\'sob_all_validate\',2);', NULL),
('nu5fd6fddaeb44cc3', 'nu5fd6fddae953fd3', 'onclick', 'nuSetSelectIndex(\'sob_all_access\',3);', NULL),
('nu5fd6ff14af381f2', 'nu5fd6ff14ad0870d', 'onclick', 'nuSetSelectIndex(\'sob_all_access\',1);', NULL),
('nu5fd6ff6a110d480', 'nu5fd6ff6a0ef6017', 'onclick', 'nuSetSelectIndex(\'sob_all_access\',2);', NULL),
('nu5fd757f92870577', 'nu5fd757f9266ea99', 'onclick', 'nuSetSelectIndex(\'sob_all_validate\',1);', NULL),
('nu5fd7583fbf9bde0', 'nu5fd7583fbdb0750', 'onclick', 'nuSetSelectIndex(\'sob_all_validate\',3);', NULL),
('nu5fdbe04a014fa', 'nu5fdbe049f365a', 'onclick', 'if (nuIsSaved()) { var fid = nuSubformRowId(this); nuPopup(\'nuObject\', fid);} else { nuMessage([\"Please save any changes before leaving this form.\"])} ', NULL),
('nu5fdcde23d59bc7a', 'nu5fdcde23d2db265', 'onchange', 'nuFormColor();', NULL),
('nu5fddb7fc8b5b539', 'nu5bad6cb32a1c004', 'oninput', 'nuShowDataType();', NULL),
('nu5fdf83039b7f6d6', 'nu5fee9ff762770', 'afterinsertrow', 'nuUpdateAclCount();', NULL),
('nu5fe039482957fb0', 'nu5fe038d847fbb70', 'onchange', 'nuTogglePasswordVisibility();', NULL),
('nu5fe06a07c9e9567', 'nu5fe0547b841fb32', 'onclick', 'nu2FAVerify();', NULL),
('nu5fe1b140081ce8c', 'nu5fe1aeac3363ae7', 'onclick', 'inDBVersion();', NULL),
('nu5fe1b155b2648e4', 'nu5fe1b155aed9e46', 'onclick', 'inFilesVersion();', NULL),
('nu5fecdc0b9678ebf', 'nu5fa249be5df47ad', 'onclick', 'cloSubformsChecked();', NULL),
('nu5fecde321f82513', 'nu5fa959f97244564', 'onclick', 'cloIframeFormsChecked();', NULL),
('nu5fed986754a8a23', 'nu5fed8c73e475b16', 'onclick', 'nuForm(\"nuobjectgrid\",nuCurrentProperties().record_id,\"\", \"\", 2)', NULL),
('nu5ff0364d11e7498', 'nu5ff0352f501ba8c', 'onclick', 'if ($(this).prop(\'checked\')) { nuEnable(\'sob_calc_formula\'); $(\'#sob_calc_formula\').focus(); } else { nuDisable(\'sob_calc_formula\'); }', NULL),
('nu5ff0b31354688aa', 'nu5bad6cb32e1a66a', 'onchange', 'nuSetLookupWidth()', NULL),
('nu5ff0b329e242e25', 'nu5bad6cb32e47d18', 'onchange', 'nuSetLookupWidth()', NULL),
('nu5ff32fdade879d8', 'nu5ff32fdadb8f46f', 'onclick', 'var form_id = $(\'#sob_lookup_zzzzsys_form_id\').val(); if (form_id !== \'\') { nuForm(\'nuform\',form_id,\'\',\'\',2);} else { nuMessage([nuTranslate(\'Select a (Lookup) Form first.\')]); }', NULL),
('nu5ff4a8cb2258088', 'nu5ff4a82b76d96d6', 'onclick', 'if (!nuIsSaved()) {\n nuTranslate(\'Save the settings first\');\n} else {\n nuPopup(\'nuemailtest\',\'-1\')\n}', NULL),
('nu5ff4b6479adf58a', 'nu5ff4b5f53f85f69', 'onclick', 'loadDatafromLS();', NULL),
('nu5ff4b67643ec503', 'nu5ff4b56934a1973', 'onclick', 'saveDatatoLS();', NULL),
('nu5ff5b7b1bb92f1a', 'nu5ff5b7b1b918a4b', 'onclick', 'var form_id = $(\'#sob_run_zzzzsys_form_id\').val(); if (form_id !== \'\') { nuForm(\'nuform\',form_id,\'\',\'\',2);} else { nuMessage([nuTranslate(\'Select a (Run) Form first.\')]); }', NULL),
('nu5ff727ad73226b8', 'nu5ff727ad6f17b85', 'onclick', 'nuForm(\'nuaccess\',sus_zzzzsys_access_id.value,\'\',\'\',2);', NULL),
('nu60013e0629f72ae', 'nu60013e0626d80ce', 'onclick', 'var form_id = $(\'#sob_subform_zzzzsys_form_id\').val(); if (form_id !== \'\') { nuForm(\'nuform\',form_id,\'\',\'\',2);} else { nuMessage([nuTranslate(\'Select a Form (Subform) first.\')]); }', NULL),
('nu60028804f2e662b', 'nu60028804f043b86', 'onclick', 'var objType = nuGetValue(\'sob_all_type\',\'text\')\nif (objType !== \'\') { \n nuSelectTabByTitle(objType); \n}', NULL),
('nu60510d8a0a1478a', 'nu60510d8a0496fd5', 'onclick', 'nu2FASendToken();', NULL),
('nu605b66293122778', 'nu605b522d65c642a', 'onclick', 'nuSetSelectIndex(\'sob_all_validate\',4);', NULL),
('nu606590a77f7de08', 'nu5bad6cb32d8ec39', 'onchange', 'runMethodChanged();', NULL),
('nu6065ae6429db0bd', 'nu5bad6cb32a1c004', 'onblur', '$(this).val($(this).val().replace(/\\s/g,\"\"));', NULL),
('nu6065aed581aba95', 'nu5bad6cb326a4367', 'onblur', '$(this).val($(this).val().replace(/\\s/g,\"\"));', NULL),
('nu6067332158fd9bb', 'nu5bad6cb32a36c23', 'onblur', 'if (this.value == \'\') $(this).val(\' \').change();', NULL),
('nu606acbb9c729da3', 'nu5bad6cb327ca554', 'onchange', 'default_description();\nonTitleDisplayChanged(event);', NULL),
('nu606ad5daa5324de', 'nu5bad6cb327ee8dc', 'onchange', 'onTitleDisplayChanged(event);', NULL),
('nu606adc62e50275d', 'nu5bad6cb327ee8dc', 'onblur', 'onDisplayBlur(event);', NULL),
('nu606c4b2a1170912', 'nu606c448e53cd465', 'onclick', 'nuAvailableFieldsOnClick(event, this);', NULL),
('nu606c7f4b120254f', 'nu606c448e53cd465', 'onblur', 'nuShowAvailableFields(false);', NULL),
('nu606c9e7a0af15b3', 'nu5bad6cb34ebf5bd', 'onkeyup', 'nuShowAvailableFields(true);\nnuSetDataUserModified(this, event);\nif (nuSubformHandleArrowKeyEvent(window.event)) window.event.preventDefault(); \n', NULL),
('nu606eec916480f6b', 'nu5bad6cb34ebf5bd', 'onblur', 'nuOnBlurFFField(this, event);', NULL),
('nu606f29e74fa90bc', 'nu5bad6cb34ee220e', 'onblur', 'nuOnBlurFFLabel(this, event);', NULL),
('nu606f64f83b36dbd', 'nu5bad6cb34ee220e', 'onkeydown', 'nuSetDataUserModified(this, event);', NULL),
('nu606f7854568b337', 'nu606f399ea7b558f', 'onchange', 'if(this.value.length !== 1){\n nuChangePrefix(this.value);\n}\n', NULL),
('nu6072b7075d65a8e', 'nu5bad6cb34ee220e', 'onkeyup', 'if (nuSubformHandleArrowKeyEvent(window.event)) {\n window.event.preventDefault(); \n}', NULL),
('nu607459b941be49a', 'nu60741457ef6f315', 'onchange', 'nuOnChangeFFType(this, event);', NULL),
('nu60758a15ecc02aa', 'nu5bad6cb34f0470a', 'clickdelete', 'nuClickDelete(event);', NULL),
('nu607eae9f18b8597', 'nu5bad6cb32a1c004', 'onchange', 'nuShowDataType();', NULL),
('nu60dc7ad44f85974', 'nu5bad6cb328dde63', 'onchange', 'onTabsTitleChanged(event) ', NULL),
('nu60e4d4c999e5e4a', 'nu5bad6cb3278653c', 'onchange', 'nuUpdateDisplayDatalists();', NULL),
('nu60e61e9c56651ae', 'nu5bad6cb327ee8dc', 'ondblclick', 'nuOpenAce(\'SQL\', this.id);', NULL),
('nu60e96ee3e5dcc3f', 'nu60e96ee3e51e1bb', 'onclick', 'var n = Number(sob_all_top.value) + (event.ctrlKey ? -27 : 27);\n$(\'#sob_all_top\').val(n < 0 ? 0 : n).change();', NULL),
('nu60e9719f5e49e66', 'nu60e9719f5d9bc8b', 'onclick', 'nuSetValue(\'sob_all_height\', this.innerHTML)', NULL),
('nu60e971e1683aaa1', 'nu60e971e1676ca2d', 'onclick', 'nuSetValue(\'sob_all_height\', this.innerHTML)', NULL),
('nu60e97221bc52ce0', 'nu60e97221bb95958', 'onclick', 'nuSetValue(\'sob_all_height\', this.innerHTML)', NULL),
('nu60e9724c20900a9', 'nu60e9724c1fdd7c5', 'onclick', 'nuSetValue(\'sob_all_height\', this.innerHTML)', NULL),
('nu60e9732db35a7f1', 'nu60e9732db2a4125', 'onclick', 'nuSetValue(\'sob_all_width\', this.innerHTML)', NULL),
('nu60e973518b05887', 'nu60e973518a26f21', 'onclick', 'nuSetValue(\'sob_all_width\', this.innerHTML)', NULL),
('nu60e97365095aa8c', 'nu60e9736508a9b31', 'onclick', 'nuSetValue(\'sob_all_width\', this.innerHTML)', NULL),
('nu60e973b671d891a', 'nu60e973b6711a030', 'onclick', '$(\'#sob_all_width\').val(400).change();', NULL),
('nu60e974dd2eac661', 'nu60e974dd2df427c', 'onclick', 'nuSetValue(\'sob_all_width\', this.innerHTML)', NULL),
('nu60e97510251557f', 'nu60e975102462aff', 'onclick', 'nuSetValue(\'sob_all_height\', this.innerHTML)', NULL),
('nu60e9756969dff71', 'nu60e97569692fac5', 'onclick', 'nuSetValue(\'sob_all_width\', this.innerHTML)', NULL),
('nu60e975e9337f224', 'nu60e975e932d74ef', 'onclick', 'var n = Number(sob_all_left.value) + (event.ctrlKey ? -50 : 50);\n$(\'#sob_all_left\').val(n < 0 ? 0 : n).change();', NULL),
('nu60f12beaa7107fe', 'nu60f12beaa64b371', 'onclick', 'nuRunBackup();', NULL),
('nu62cca90dc177496', 'nu62cca90dbd7f63c', 'onclick', 'menuReportClick(this, event);', NULL),
('nu60f3f95b6727658', 'nu60f3f95b66732d1', 'onclick', 'nuRunPHPHidden(\'nusetrefreshcache\', 0);', NULL),
('nu60f901bdb3a8e1c', 'nu60f8fd56e325e76', 'onclick', 'var n = Number(sob_all_top.value) + (event.ctrlKey ? -50 : 50);\n$(\'#sob_all_top\').val(n < 0 ? 0 : n).change();', NULL),
('nu6105ea043106d4b', 'nu5bad6cb34ebf5bd', 'onchange', 'nuOnChangeFFField(this,event);', NULL),
('nu6106cb38a3b8fd9', 'nu6106cb38a30a9b5', 'onclick', 'nuSubformSetHeight(\'obj_sf\');', NULL),
('nu610a662e2f1de1c', 'nu610a662e2e599c2', 'onclick', 'nuJSSelectCustomCode(this,\'sfo_javascript\');', NULL),
('nu610a6655102c6ab', 'nu610a66550f61129', 'onclick', 'nuJSSelectCustomCode(this,\'sfo_browse_javascript\');', NULL),
('nu610a667b9cc7d66', 'nu610a667b9beba56', 'onclick', 'nuJSSelectCustomCode(this,\'sfo_edit_javascript\');', NULL),
('nu61b4d4cd893e097', 'nu61b4c3e0687b434', 'onchange', 'onAttributeChanged(this.value);', NULL),
('nu61b84e0ed3b2a22', 'nu61b8493549e0d7b', 'oninput', 'this.value = this.value.toLowerCase();\n', NULL),
('nu61b9eafed4466bc', 'nu61b9eafed36e281', 'onclick', 'nuForm(\'nuform\', id, \'\', \'\', 2);', NULL),
('nu61c81c6a559567c', 'nu606f399ea7b558f', 'onblur', 'if(this.value.length == 1){\n nuMessage(\'The Prefix must be at least 2 characters long.\'); \n this.focus();\n}', NULL),
('nu61ca74b0dc425d6', 'nu5bad6cb326a4367', 'onchange', 'sfo_primary_key.value = \'\';\nnuRefreshDisplayObject(\'sfo_primary_key_display\');\n', NULL),
('nu61cac33aabe71c9', 'nu61cac33aab3fc06', 'onclick', 'nuSubformSetHeight(\'zzzzsys_browse_sf\');', NULL),
('nu61cf1475d8871f4', 'nu6167e23e89d6ec8', 'onchange', 'if (this.value.trim() != \'\' && sob_all_style_type.value == \'\') {\n nuSetValue(\'sob_all_style_type\',\'CSS\');\n}', NULL),
('nu61d08c62cd26c2d', 'nu5fa0ff78688e2c5', 'onclick', '$(\'#clo_subforms_include\').click();', NULL),
('nu61d6c2af30be52d', 'nu61d6c2590b6dac1', 'onclick', 'nuCopyText(\'sfo_table\');\n', NULL),
('nu61e55e8e6e3d2db', 'nu61e55dd85d03afb', 'onchange', 'nuPreviewIcon(\'sob_input_icon_preview_html\',this.value);', NULL),
('nu61e9302bbe52aee', 'nu5bad6cb33b84bf4', 'onchange', '$(\'#sus_name\').addClass(\'nuEdited\');', NULL),
('nu61ea6d91bab0c60', 'nu61ea6d4bd6e9a49', 'onclick', 'setJSON();', NULL),
('nu6257b7628d3112d', 'nu6257b7628ac46ea', 'onclick', 'nuJSSelectCustomCode(this,\'sfo_style\');', NULL),
('nu6291b8c4eb47d59', 'nu5f9aaac963ecc49', 'onchange', 'enableDisableCheckboxes();', NULL),
('nu62b14c52a3c3649', 'nu62aee449c676cfb', 'onchange', 'onConfigValueChanged(this);\n', NULL),
('nu62b550a365d0303', 'nu62aee449c676cfb', 'onkeydown', 'if (nuSubformHandleArrowKeyEvent(event)) {\n event.preventDefault(); \n}', NULL),
('nu62b3336a1c13144', 'nu62b331e0b311799', 'onclick', 'if (confirm(nuTranslate(\"Import settings from nuconfig.php.\") + \"\\r\\n\" + nuTranslate(\"All existing configuration settings will be overwritten. Continue?\")) === true) {\n nuSetValue(\'configImport\',1);\n window.configImport = 1;\n nuSaveAction();\n}', NULL),
('nu62cca90dc17fd49', 'nu62cca90dbda09a7', 'onclick', 'menuProcedureClick(this, event);', NULL),
('nu62cca90dc182849', 'nu62cca90dbe23269', 'onclick', 'nuVendorLogin(\'PMA\');', NULL),
('nu62cca90dc184bd2', 'nu62cca90dbe72fcf', 'onclick', 'menuFormClick(this, event);', NULL),
('nu62cca90dc186d3d', 'nu62cca90dbe7d11b', 'onclick', 'menuDatabaseClick(this, event);', NULL),
('nu62cca90dc1890d7', 'nu62cca90dbea4053', 'onclick', 'menuSetupClick(this, event);', NULL),
('nu62da0f388a43beb', 'nu62da06d4b6a76ab', 'onchange', 'addFileUploadScript();', NULL),
('nu62da3b074d493bc', 'nu62da3b0748467b1', 'onclick', 'nuVendorLogin(\'TFM\');', NULL),
('nu62daaffe4387423', 'nu62daaede874a146', 'onclick', 'nuVendorLogin(\'TFM\');', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_file`
--
CREATE TABLE `zzzzsys_file` (
`zzzzsys_file_id` varchar(25) NOT NULL,
`sfi_code` varchar(300) DEFAULT NULL,
`sfi_description` varchar(300) DEFAULT NULL,
`sfi_group` varchar(300) DEFAULT NULL,
`sfi_json` longtext DEFAULT NULL,
`sfi_system` char(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_file`
--
INSERT INTO `zzzzsys_file` (`zzzzsys_file_id`, `sfi_code`, `sfi_description`, `sfi_group`, `sfi_json`, `sfi_system`) VALUES
('nu5bad6cb37d02d01', 'nubuilder', 'Logo', 'nubuilder', '{\"file\":\"ZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFLc0FBQUErQ0FZQUFBQlVRK3ZwQUFBQUNYQklXWE1BQUJZbEFBQVdKUUZKVWlUd0FBQUFCM1JKVFVVSDRRa2FGaklXSW5lSjd3QUFEaU5KUkVGVWVOcnRuWHQwVmRXZHh6Ky9jMjRTREkvY1JHUUVIL1d4ckFwVDYyUFZCMUt4dGVPcWRvb1FHclNEdFlJSWdWbXVsclpNeHlrelZNZDIydFdwenVCQURRWE1XTmU0SkNhcHNUaUY2Um9meXlxMkkzMkF1S3d3Z3c5SUVEQTNQQkx1NDV6Zi9ISE92ZmZrNXB4N0UvSzg1SHl6ZHU2OVorK3p6MzU4OTIvLzltOC9qcWdxSVVJVUE0eXdDRUtFWkEwUklpUnJpSkNzSVVLTWNFUUNmZXJsUmt4bVlISm1qMUEyWUNGWVlMdWZKQkVTUUJ4SUlDUVFrb0RTYVJqczRoaFBzMXFQcEtPNHJWbm1Zek94VzhzUnVrVDR1U3EzV2pERlVNb1JmbTladlBaY2plNERxRzZXMHkyYk8zT1Rxd1p2dE16UlYyWTF5YWRFbWQ0am84S214bXB0bFliMmN6SGxpUUxsWWlQU2h0cnZnL0VPWlRUcUZ5cmFCNk1DcExIOVI0aDh5dGZUaXQ2RTJiRUE5RTUvZjN1WjFsVHRLdmlNaG8rbVlocHJnMnBhcTZQMXhVdldmNWUvb1pUWm1DaW1LMys5TXRoeTcweUJZVGtrVlVXd2tReVJEY1Q5UTJFR1k2bVdsYktJaHh6U2lYS2pDaGQwSTV5aU5ud0pNQVZRQWVBNncyVHBiVTN5WXBuRjkxTXdRVXhtNVNiWlZMcUFWeFF1RXVucG4xUitCYlJpMk9WZ3ppeFlNcXFBQUFweGVWU2FZMCtUc3I2ak5hZnZHK0MrN1RLVWZPazVId0w4amNqNFhqM0RaRUpnSFBCQzhhb0JUOGpWbERLYkVwUVNvQlIxdjJ2bWUvWWFSRkJLWGZLbXlaMzk3V25lVExSdHZwMlhINExrM09YRmpWM0NqY05UVERvRzVhdVk1Z3ZTY21oSzJDR1BGTEthWEVQRUpWMEpTZ1F5cEhSK3AwbnFYSE5KS3FiN1BRSVlLQ2FLUVRjanJpaFg4WUJFVGpheHBuREpNSmZYUmFRaXpTRnRSZ3BaRFNaaWRDZWlLMDNKa0RGTjVyVDBkTDlMbXFDRzUzbzN0bElLUkFOMUswVWpjS2R0ODQrKzhnM0tCcjFFUko0Q1hzNFQ0bXBwT0ZJMWNFSmJPb0dqQVM1RVhwMjFCTWtRemNnUWxveVVORnk5RkJSRlhISm1QMDBQVWRPNnJ1MkpQNDRFMWh0ME5GWnI2N3dHMGZod2xZaHRQNGxkdVFVenRoczR6NytKVzljQ3p3OElWNnVqYy9LMm5hYVFwUGtIV09KS3g2elRqSlJVbkpHSG5ia3VwTnl4aU5lbDViYjBQVkh4TXBUVThCV0sxbUJKTTYrZ0FXUVZZNHBEcFBZZmdwemhJNTBQNkp5Sys1MHdzZThDNS9xVThSR2RFLzI2Tk1XK0NVenpmYzZPNkNJKzBjc09vZVhRZUZLUmUwQ3ZCVGtIbFE0TWJjWG1aZFI0dHk5R1NtazVOQVVyY2pzMjV5Rk1BYzVFaUtPMEFXM0FUcXprTTFwenhyRnU5elczejBmbHBvQSsvRUVzbllISVRGVE9RblE4OEM3SWk1eFc4VE85aGZqSmtqWDdLVDZrRTFlSzVpb1Q0aE5Ic1VMcHhhSUorUkowdDJpNGxvUjNnUHZkZUc1RHVOd24vZ1BBMXhHOUdaV2JmYU9meXIyOUl0ZlBPNjdDam13RnFqSUZMNG9yVmhZaXhIdE4wcFQ1TUVUbUFwRnVkWmhiR21iSmFtbUsxV05GdjZVMUpGeVY1aHBnUVlBeGNEWWlsWm0wT1pnQk9wK3UyRXBwa3M5cWRjWC85azFuOVNaTVBYWlY3ZWFrVzlkdUIyUW94T0NyMkM4U3dkYm5IYUlHb3FDdUx3MEh4NUdLL0FMa2R2TFozN01ZRDl4SHBLTmVIdWlWM0s3TTQvY3gwSmErRDdEd2tOR3htWUx0R3Y0ZEp4bnkycDd2ZnM0T0NUem9PQno3QkRDcC93cGg1QitBSy9yZUErbVh1U3cyZXdCeU1rMmFZaC9yRzFsVEdWTGlNZktuWjZ5OHY4a1FXblBDcGovMVZDWHI4STMvZXRhZ1RNd2pMOTlDNVhiZ3VjSlpNbVlFRFNGQTdrWDFuL1BjZkczaExrQzNJbndOcEMzUDZIWnkzOGhxWjV3emNFcGxQaDJYY0srbHAxblQvaGFvN2M1aVdSNUNGeTlaeS9PWW05NHFqaXpZVCtyY2lrMElQODdMb3djd1FDOFA4SDVWcXl2V1UxNjUwbVdBWDNsY1hyZ3htQ3QxVG5RMW9rK2ZkTHYwbGF4WkFqcnoreW1FcE92UzF4eVhEZWNsdEkyZ2J0aGkxQU1iRHA0SjNCTGcvUVoyeGUrS0l5UFM1UkRGenQ4VHpNUUFUZ3RRQ1k4RHVLUDFaRUFNcFlYSm11cDBFM1Zzd0V4WGRoSXhzbU4remRoVnhaV1JYbjAyVGRRRXFFUHd0TFROcWhORngxUlppMWx5anI4K0w5dXdqTHUxcGloelZ2U0krRWxXQlJGRnNaR01uZFZycXJKYzBycWsxTFRrVGJuU051MktFMzVLL241VXY4M082SC9vcW01MmtCRERTdGE0SXpsZC9SUEp6bEIxTjJPbGRWU3YycEJ3cFd1eVNLVnFNRjRIUG1KcTBWdVBpeG85dTdvRTJmV29jZEFFb25GRVQ3Z3VrWFVrTXBJVWQvMnF1SnBOTVZmcVFaOXJjeERaakJsN1dSbzZ6ZzlwTTFJa2F5S2psMmJuK3IxVHFHUWxhMmJ0YXNwRDJtU1JTeC9WdXpHTnQ3SFpDVG9teDNjNkpzOUwvZDRyOU83elRvd0toZ2dYdTFQRzRLeS82MmY1SnRjZ2tRWmZ2MlBKM1gwbHEyVE1WdWtGS2VJWllLVUhXWDVrUFVXNmZwMWRzVWVhWXY4SitDd3kwVXVZRUwwRHFCOGxBdTBpWU5XQWxXMzF4RmFnZFdBa2E5TFZPM05YVHVXMk55dEh1ZzZ6UGRWU3hnSVl5dGdCa3UzSDhraWJ5d2t4QXRRQW0rTUlqcTAwU1hZUlMzYzFRRTVxS2xWUnloeTczWUQzVnNKTnN4dWxIT0hxSVNpM2FFaWRFVUJXUTNoVFliYUh2Rmw1MG4vczVidmEyWjhJVXVQWVg5S0ZSYytsM2FlcDhObXdTZ2NjT3hGZGsxOEl5Zjdoa2F5SDJheFYzQ0hDaFFNdS9VeFc5emVPNTIvUitHMk4wb0J3Ujhpam9WRGcyYXZWbFk4QlNIUHNWNmp2Q3E3ZkF5MURUOVk2VFJwL0swdHNXQzdDcDRFSi9WY24yVzNBR2g3UzE3S0RidDVTaU9WMDVjY0FyR01rakRLMjkyekF2QWZRTXBmMVgyeGloeWpUUlppdU1FR2h6WUJmbyt5MzRZYmNlMDF6Y05TUFVVYmM2ZmhQeXc3SjBOcC8zZUlQdE1NQXgxeXhRc1l5cmg4cXdIN2lVcWM5NXBTZm5hc1BCOTN5aTcvU2RtQkZIdFZYcVdZYnNFMlFSMm9hTURiVnFMZkFuZ3VaTlJvR1dMbjRrUjRmMlkxZGxYQ3VmbFFnUEQ0b0dHUHl0SkJEWWZHRVpCMFJrTTBkbFFRdkVRVFZOM3BOZEpHeVljdUl1ak53dGpFbWI3aVhzRUg4WitURVdkY3JEWlFTUElPVkdCbHF3T2hydmc4VDEvUEp0MGJUam13dkVNczUwaHhianNweDBFc0htWkY1aUNMenBUbjJOZ1pmelJ2REtteHA0bmZBZFQ1eFRKZkdqbm1ZZW1rZ1gxVC9FSkxWQjh0azR5ejdKSXp5SmllYTF1aXl3Z3QvVlM0dUVPSlJyUm4vdHZ2OUVINjdXeDFWNGVFaDJTWmhwcmFUaXZqWm5RR21vVFQya3ZTditwTlZ4eUFVV04xdmJBdko2aWZVME84QmY5N25ycDJ5bDhnM2hkcTdDdDFDVmVVM1BKSCtFdTNuak5tWEc5OC9ONTdzY1RoYUVxeldUVXNMcDJqV3hLUFMyTDRSa1h2N3g0VFVBNlFpbndNKzJiZUMxVTNzaURZek55VHJTTUdicUR6SXp1Z3ozUlpmSDR3K3hNVFlWSnlURC8zd29hdm5CVzVEbmhaUG5ET0Rzcy9rWHUvQ092cEVyMXR3NVZMTVdCeW9EYTVUMlFaNkRRRXprVHByNGxGcCt1Z3Z3WGdFWndHUFdlQ3B4MEdlWUV4MCtWQXRTRC9GeUtyYlFaN3g4MGxpT1JNUVJ1bEJzRmNVanNydXhEWjJZN0NiSFJWN2RSVjJydlRReFNTRjZEeWFZcDlHOVU1RUxuVExkQzhpT3pDVGRWaVJPU0NUZk9NSHp2YWMrTkM5WXNSa0Y4bzArNWVZUnNEWnNJbjN3RGxCQnFMM1NjdWhmeUpwTGtEa1Vwd2REMTBvZjBKbzFPcUtGNlN4WXg1R3p1a3dsdlZxSmtuVlZSOEFOZEwwMGRtSWVRZTJ1aWV5eUdSRVQ2RFNCdG9HOGlaZDFpYWRYM1drZTZPUlp6R2RpWnNlS0NrNTBPK0JiN0c5cmFWV051eklvd2JVUDZiM0xPaHRYRXRrWGJsQjZTU3dLa0VyRlV6RlBGeUNmZmdNUHRpM1NsZWxmTzZaREtXKzI1L0hNblkzUUNmSHpqZXdUbGUwSEl3UFN4aXpaN1hPUCtLSjQwSW9kVWJacE9wQnJ2U0p6bExNSzdMcVQ2cjlwN3JvZzl4QWQ4blB4cFlSbjFRQ1ZTbk1Tb2ZvVnJ1RkhZdVFPdEFyUGIxSU1PclVnTCtXdGVOc3lwYUIzaXFZMXl0V0pLMkFPdjl0VWtBclp4K3RsUTB2SzdvWjdQVjF1ampwK0J2THdmS1Z6SjBjZVFXNEVpaTNQVXZWRXB4STFNcUdMWXExdkU0WDd4SE1lckJtZUovck4zUVNyRDltQjRqRzQ4QkNnSHRrNC9nSTNDZm9yZVZ3SFlqaEhEMW11OFFXQkJNTDA2NlZEYjhWWkt0SjVGLy9UZTg2WE55R21sR0VKYkx1UW91eTF4VitxTWpNQW8xMVBQQUZRZGFDK1Q5TFpGMXZ6b2FkZ2Y5NUE2WEFGd1h6dDB0a1hYay9yU0VYUk5EWHhSbG9YbCtnRGczZ0drWC9Qa1Z5K3pKWmYxa29XWXNHNWdwZ2FwQUtBWklBWGR6VGtzQmxZTndQK2UyVndCOFV0b2t6NERyZHg3L1N4TGpLUnVzVU5ydXgxNHIvamxwYjBlOTRmdTl3TEdMNkxZRUEyNjA4RHBvQzN3UGR6cldSRmNCWFFySVdCM3lQWTFSNHQ4N1ZkV3RsNHcyZ1BsTFUrSHd2aGdCTDYzVGhhMHRsL1dGRi9zNHZSQXJUV0tjTG52VG80TGZpVDFhclRoZjlvR2RhNVRNQjl0di9lMHdYTG5Uam5BbDgzQ2ZNRGFGa0hUbTRybFkyclBHcDRHZnFkT0VMRWpEZkwzaVBoQXc2eDBvTGxwVWljVWRuNU1UZzdaclVnS2xUeWNtRCtEWEtTRWpXa1lPTFhaZERSdjBUUmZSV2toRGhBQ3RFa2VOVW14VFlaQkw1V3U3Vm81aEhoMVlDbEc2MHNiYjYrWTJoZEpCT0lOUXphMlc5dTIxSXpnckpPdUlobld2MDdyYmhUc1ZQOUs1OXdMNGhmbXdVNUw1UURRZ1JJcFNzSVFZUWUwcVFHd0FTNkYrQVZ2UWNhQnJIUTdLR0dBa3FVUEpSWGJnZm9GYldmeE9reDB1SkZOMFBiQWpWZ0JBaFFyS2UraEl4d0tOa3NmejA0Mkg1akY0MTRBUGdiSi9yazViSXV2SjJLbE5WeU9TQTZjeEJXckZrdHdhdHZESXduMTBxRzdjcWVoQjB6Mk82NkNuWHluQmV6OUQ2WjkrUWh0TlN0TmxRSHZUV2swTWhXWXNFaWpTSi8ydHdvb0o1b0lvak5nRW4wQWpTTWpocE1uWUZIOEdvbHlqcE40SExPOEJUenR0YzlYcWZ3SldkSFBrUXlnUHpZQ0RQaG1wQWtXQUs3LzlZMEpYZ3V3MWpYRkFsSzlTZHdGZzVHR2t5aWY4RUFsYlgrMkF5Ny84THpubXAyc2M4UEhLWThRK0ZrblVvTlR4a2kyTHZDcWlRMytTN2Q1V3Vzb0h2TFpUSDE1V2hOK09ZZU01U3BCSm5uMVNKUXJ1QnRpc2NBSGxKc2JiVTZlSTlubWorQ0xySm4zZ2E2MnQrMXVyUzlublNjRUVsUjI4QyswcEJvdXJzM3EwUTFDTk1wTldUaHdmdmxmVjFCdko1Z2M4Qms0RXFoU3B4U053T3hBUmFGZmx2SmZWZmRicjR2V0lYTmtXM3JTVkVhQTBJRVNJa2E0Z1FJVmxEaEdRTkVXS2s0djhCd2cxQWNlSk1iSU1BQUFBQVNVVk9SSzVDWUlJPQ==\",\"name\":\"logo.png\",\"size\":3716,\"type\":\"image/png\"}', '');
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_form`
--
CREATE TABLE `zzzzsys_form` (
`zzzzsys_form_id` varchar(25) NOT NULL,
`sfo_type` varchar(300) DEFAULT NULL,
`sfo_code` varchar(300) DEFAULT NULL,
`sfo_description` varchar(300) DEFAULT NULL,
`sfo_breadcrumb_title` varchar(100) DEFAULT NULL,
`sfo_table` varchar(300) DEFAULT NULL,
`sfo_primary_key` varchar(300) DEFAULT NULL,
`sfo_browse_redirect_form_id` varchar(300) DEFAULT NULL,
`sfo_browse_row_height` int(11) DEFAULT NULL,
`sfo_browse_rows_per_page` int(11) DEFAULT NULL,
`sfo_browse_title_multiline` varchar(1) DEFAULT '0',
`sfo_browse_autoresize_columns` varchar(1) DEFAULT NULL,
`sfo_browse_sql` text DEFAULT NULL,
`sfo_javascript` longtext DEFAULT NULL,
`sfo_browse_javascript` mediumtext DEFAULT NULL,
`sfo_edit_javascript` mediumtext DEFAULT NULL,
`sfo_style` mediumtext DEFAULT NULL,
`sfo_mobile_view` varchar(1) DEFAULT NULL,
`sfo_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_form`
--
INSERT INTO `zzzzsys_form` (`zzzzsys_form_id`, `sfo_type`, `sfo_code`, `sfo_description`, `sfo_breadcrumb_title`, `sfo_table`, `sfo_primary_key`, `sfo_browse_redirect_form_id`, `sfo_browse_row_height`, `sfo_browse_rows_per_page`, `sfo_browse_title_multiline`, `sfo_browse_autoresize_columns`, `sfo_browse_sql`, `sfo_javascript`, `sfo_browse_javascript`, `sfo_edit_javascript`, `sfo_style`, `sfo_mobile_view`, `sfo_json`) VALUES
('nu5fdb9ffd45aaa', 'subform', 'nuobjectsubform', 'Forms Objects', NULL, 'zzzzsys_object', 'zzzzsys_object_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_object \nORDER BY sob_all_zzzzsys_tab_id, sob_all_order', NULL, NULL, NULL, NULL, NULL, NULL),
('nu5fdb9ffd45efe', 'subform', 'nuaccesssubform', 'Accessible Forms', NULL, 'zzzzsys_access_form', 'zzzzsys_access_form_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_access_form', NULL, NULL, NULL, NULL, NULL, NULL),
('nu5feb9ffd45efe', 'subform', 'nuaccesssubform_rep', 'Accessible Reports', NULL, 'zzzzsys_access_report', 'zzzzsys_access_report_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_access_report', NULL, NULL, NULL, NULL, NULL, NULL),
('nu5fee9ffd45efe', 'subform', 'nuaccesssubform_php', 'Accessible PHP procs', NULL, 'zzzzsys_access_php', 'zzzzsys_access_php_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_access_php', NULL, NULL, NULL, NULL, NULL, NULL),
('nu61e9969a239c033', 'subform', 'nuobjectjsonsubform', 'Object JSON', NULL, 'zzzzsys_object_json', 'zzzzsys_object_json_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_object_json', NULL, NULL, NULL, NULL, NULL, NULL),
('nu62aee4493239e3a', 'subform', 'nuconfigsettingssubform', 'config settings subform', NULL, 'zzzzsys_config', 'zzzzsys_config_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_config \nORDER BY cfg_order', NULL, NULL, NULL, NULL, NULL, NULL),
('nuaccess', 'browseedit', 'nuaccess', 'Access Levels', '#sal_code#|New', 'zzzzsys_access', 'zzzzsys_access_id', '', 0, 17, '0', NULL, 'SELECT zzzzsys_access.*, zzzzsys_form.sfo_code FROM zzzzsys_access\nLEFT JOIN zzzzsys_form \nON sal_zzzzsys_form_id = zzzzsys_form_id\nORDER BY sal_code\n', NULL, NULL, 'function nuBeforeSave() {\n\n const dupF = nuSubformColumnUnique(\'accform\', \'slf_zzzzsys_form_id\', \'Forms\');\n const dupP = nuSubformColumnUnique(\'accphp\', \'slp_zzzzsys_php_id\', \'Procedures\');\n const dupR = nuSubformColumnUnique(\'accreport\', \'sre_zzzzsys_report_id\', \'Reports\');\n\n if (dupF !== true || dupP !== true || dupR !== true) {\n \n let a = [];\n if (!dupF) a.push(dupF);\n if (!dupP) a.push(dupP);\n if (!dupR) a.push(dupR);\n \n nuMessage(a);\n return false;\n }\n\n return true;\n\n}\n\nfunction addSfFilter() {\n\n let sfFilter = {};\n sfFilter.accform = {\n \'slf_zzzzsys_form_id\': {\n type: \'search\',\n float: \'left\',\n placeholder: nuTranslate(\'Search\')}\n };\n\n nuSubformAddFilter(sfFilter);\n\n}\n\n\n$(\'#sal_zzzzsys_form_id_open_button\').toggleClass(\'input_button nuButton nuLookupButton\');\nif (nuIsNewRecord()) nuHide(\'sal_zzzzsys_form_id_open_button\');\n\nnuAccessFormSetButtonIcons();\naddSfFilter();', '', '1', NULL),
('nuaccessforms', 'edit', 'nuaccessforms', 'Accessible Forms', NULL, 'zzzzsys_access_form', 'zzzzsys_access_form_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_access_form\nLEFT JOIN zzzzsys_form ON zzzzsys_form_id = slf_zzzzsys_form_id\nORDER BY sfo_code\n', NULL, NULL, NULL, NULL, NULL, NULL),
('nuaccessgroup', 'subform', 'nuaccessgroup', 'Groups Access Level', NULL, 'zzzzsys_user_group_access_level', 'zzzzsys_user_group_access_level_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_user_group_access_level', NULL, NULL, NULL, NULL, NULL, NULL),
('nuaccesslevelreport', 'browseedit', 'nuaccesslevelreport', 'Access To Report', NULL, 'zzzzsys_access_report', 'zzzzsys_access_report_id', '', 0, 0, '0', NULL, 'SELECT * \nFROM zzzzsys_access_report\nJOIN zzzzsys_report ON zzzzsys_report_id = sre_zzzzsys_report_id\nORDER BY sre_code', NULL, NULL, NULL, NULL, NULL, NULL),
('nuaccessreport', 'browseedit', 'nuaccessreport', 'Access To Procedures', NULL, 'zzzzsys_access_php', 'zzzzsys_access_php_id', '', 0, 0, '0', NULL, 'SELECT * \nFROM zzzzsys_access_php\nJOIN zzzzsys_php ON zzzzsys_php_id = slp_zzzzsys_php_id\nORDER BY sph_code', NULL, NULL, NULL, NULL, NULL, NULL),
('nuaddattribute', 'launch', 'nuaddattribute', 'Add attribute', NULL, '', '', '', 0, 0, '0', NULL, 'SELECT * FROM Launch Form 0', '/*\n 0|autocomplete|\n 1|accesskey|\n 2|data-something|\n 3|maxlength|\n 4|placeholder|\n 5|spellcheck|\n 6|title\n 7|title\n*/\n\nnuHide(\'plh_value_select\');\nnuHide(\'plh_attribute_name\');\nnuHideTabs(0);\nnuSelectRemoveEmpty(\'plh_attribute\', \'-1\');\nnuAddActionButton(\'nuAddAttribute\', \'Add\', \'addAttribute();\');\n\nif (typeObj().val() !== \'input\') {\n nuSelectRemoveOption(\'plh_attribute\', \'7\').val(\'\');\n}\n\nfunction onAttributeChanged(value) {\n\n nuShow(\'plh_value_select\', value === \'0\' || value === \'5\');\n nuShow(\'plh_value_text\', !(value === \'0\' || value === \'5\'));\n nuShow(\'plh_attribute_name\', value === \'2\');\n \n nuSetValue(\'plh_value_text\',\'\');\n\n if (value === \'0\') {\n $(\"#plh_value_select\").empty();\n addSelectOption(\'0\', \'on\');\n addSelectOption(\'1\', \'off\');\n } else if (value === \'5\') {\n $(\"#plh_value_select\").empty();\n addSelectOption(\'0\', \'true\');\n addSelectOption(\'1\', \'false\');\n } else if (value === \'4\') {\n nuSetPlaceholder(\'plh_value_text\', \'Placeholder text\');\n } else if (value === \'6\') {\n nuSetPlaceholder(\'plh_value_text\', \'Tooltip text\');\n } else if (value === \'2\') {\n nuSetPlaceholder(\'plh_value_text\', \'String value\');\n $(\'#plh_attribute_name\').focus();\n } else if (value === \'1\') {\n nuSetPlaceholder(\'plh_value_text\', \'Single character\');\n } else if (value === \'3\') {\n nuSetPlaceholder(\'plh_value_text\', \'Number value\');\n } else if (value === \'7\') {\n nuSetPlaceholder(\'plh_value_text\', \'String\');\n } \n\n}\n\nfunction addSelectOption(value, text) {\n $(\'#plh_value_select\').append(\'<option value=\"\' + value + \'\">\' + text + \'</option>\');\n}\n\nfunction attributesObj() {\n return $(\"#sob_input_attribute\", window.parent.document);\n}\n\nfunction typeObj() {\n return $(\"#sob_all_type\", window.parent.document);\n}\n\n\nfunction valueObjText() {\n return $(\'#plh_value_text\').is(\":visible\") ? nuGetValue(\'plh_value_text\') : nuGetValue(\'plh_value_select\', \'text\');\n}\n\nfunction addAttribute() {\n \n let v = valueObjText();\n let an = nuGetValue(\'plh_attribute_name\');\n\n if (v === \'\') {\n nuMessage(\'Missing value\');\n return;\n }\n\n if (an === \'\' && nuGetValue(\'plh_attribute\') == \'2\') { // data-\n nuMessage(\'Missing name\');\n return;\n } \n\n let t = attributesObj();\n let k = nuGetValue(\'plh_attribute\', \'text\') + an;\n let kEquals = k + \'=\"\';\n\n if (t.val().includes(kEquals)) {\n nuMessage(\'The attribute already exists.\');\n return;\n }\n\n let kv = kEquals + v + \'\"\';\n\n if (t.val() === \'\') {\n t.val(kv).change();\n } else {\n t.val(t.val() + \',\' + kv).change();\n }\n\n}', NULL, NULL, NULL, '1', NULL),
('nuadddbcolumn', 'launch', 'nuadddbcolumn', 'Add Database Column', NULL, '', '', '', 0, 0, '0', NULL, '', 'function getDataType(t, i, selectMultiple) {\n\n let dt = \'VARCHAR(100)\';\n\n if (t == \'lookup\') { dt = \'VARCHAR(25)\'; }\n if (t == \'select\' && ! selectMultiple) { dt = \'VARCHAR(100)\'; }\n if (t == \'select\' && selectMultiple) { dt = \'VARCHAR(1000)\'; }\n if (t == \'calc\') { dt = \'DECIMAL(12,4)\'; }\n if (t == \'textarea\') { dt = \'TEXT\'; }\n \n if (t == \'input\') {\n let dtInput = \'\';\n if (i == \'date\' || i == \'nuDate\') { dtInput = \'DATE\'; }\n if (i == \'number\') { dtInput = \'INT\'; }\n if (i == \'nuAutoNumber\') { dtInput = \'BIGINT UNSIGNED\'; }\n if (i == \'nuNumber\') { dtInput = \'DECIMAL(12,4)\'; }\n if (i == \'file\') { dtInput = \'LONGTEXT\'; }\n dt = dtInput != \'\' ? dtInput : \'VARCHAR(100)\';\n \n }\n\n return dt;\n}\n\n\nvar table = parent.$(\'#sob_all_table\').val();\nvar id = parent.$(\'#sob_all_id\').val();\nvar type = parent.$(\'#sob_all_type\').val();\nvar input = parent.$(\'#sob_input_type\').val();\nvar selectMultiple = parent.nuGetValue(\'sob_select_multiple\')\nvar dataType = getDataType(type, input);\n\nvar qry = \'`$column` $type NULL DEFAULT NULL\';\nqry = qry.replace(\'$column\', id);\nqry = qry.replace(\'$type\', dataType);\n\nvar start = \'ALTER TABLE `$table` ADD\'\nstart = start.replace(\'$table\', table);\n\n$(\'#sql_query_word\').html(start);\n$(\'#sql_query\').val(qry);\n\nnuAddActionButton(\'Run\', \'Run\', \'nuRunPHPHidden(\"NURUNADDDBCOLUMN\")\');\n\n$(\'#sql_query\').addClass(\'sql\');\n$(\'.sql\').dblclick(function() { nuOpenAce(\'SQL\', this.id); });\n\nnuSetProperty(\'sob_all_table\',table);\nnuRefreshSelectObject(\'sql_after_column\');', NULL, NULL, NULL, '1', NULL),
('nuauthentication', 'launch', 'nuauthentication', 'Authentication', NULL, '', '', '', 0, 0, '0', NULL, '', 'function nuGet2FAProcedure() {\n var d = nuDevMode();\n var p = \'nuAuthentication2FA\';\n return d ? p + \'_Template\' : p;\n}\n\nfunction nu2FAVerify() {\n nuSetProperty(\'auth_code_verify\', $(\'#auth_code\').val());\n nuSetProperty(\"nuauthcommand\",\"verify\");\n var p = nuGet2FAProcedure();\n nuRunPHPHidden(p ,0);\n}\n\nfunction nu2FASendToken() {\n nuSetProperty(\"nuauthcommand\",\"send\");\n var p = nuGet2FAProcedure();\n nuRunPHPHidden(p ,0);\n}\n\nfunction handleEnterKey() {\n\n $(\'#auth_code\').on(\'keydown\', function(evt) {\n if (evt.key === \'Enter\') {\n evt.preventDefault();\n nu2FAVerify();\n }\n });\n\n}\n\nhandleEnterKey();\nnuHideHolders(0,2);\n\n\n\n// Prevent [DOM] Password field is not contained in a form:\n$(\"#auth_code_verify\").wrap(\"<form id=\'nuFromVerif\' action=\'#\' method=\'post\' onsubmit=\'return false\'>\");', NULL, NULL, NULL, '1', NULL),
('nublank', 'launch', 'nublank', 'Blank', NULL, '', '', '', 0, 0, '0', NULL, '', '\nnuSetTitle(nuFORM.getCurrent().run_description);\n', NULL, NULL, NULL, NULL, NULL),
('nubrowse', 'subform', 'nubrowse', 'Browse Columns', NULL, 'zzzzsys_browse', 'zzzzsys_browse_id', '', 0, 5, '0', NULL, 'SELECT * FROM zzzzsys_browse\nORDER BY sbr_order\n', '$(\'#nuSearchButton\').remove();\n$(\'#nuSearchField\').remove();\n$(\'#nuPrintButton\').remove();\n\nnuSetTitle($(\'#sbr_title\').val());\n\nvar pid = parent.nuFORM.getCurrent().record_id;\n\nif(nuFORM.getCurrent().record_id == -1){\n $(\'#sbr_zzzzsys_form_id\').val(pid).change();\n}\n', NULL, NULL, NULL, NULL, NULL),
('nubuildreport', 'browseedit', 'nubuildreport', 'Build Report', NULL, 'zzzzsys_report', 'zzzzsys_report_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_report\nLEFT JOIN zzzzsys_form ON zzzzsys_form_id = sre_zzzzsys_form_id', 'if (nuFormType() == \'edit\') {\n\n $(\'#sre_layout\').addClass(\'nuEdited\'); \n nuAttachButtonImage(\'open_builder\',\'RD\');\n \n if (! nuIsNewRecord()) {\n// nuAddActionButton(\'Run\', \'Run\', \'nuRunReport(\"\'+ $(\'#sre_code\').val() +\'\")\'); \n }\n \n}\n\nfunction nuPickTableType(){\n \n var i = $(\'#sre_zzzzsys_php_id\').val();\n \n var f = \'\';\n var r = \'\';\n \n if(i.substr(0,10) == \'PROCEDURE:\'){\n \n f = \'nuphp\';\n r = i.substr(10);\n \n }\n \n if(i === \'\'){\n \n nuMessage([nuTranslate(\'Table selected must be an SQL or Procedure\')]);\n return;\n\n }\n \n if(i.substr(0,6) == \'TABLE:\'){\n \n nuMessage(nuTranslate([\'To edit a table go to the Database Button\']));\n return;\n\n }\n \n if(i.substr(0,4) == \'SQL:\'){\n \n f = \'nuselect\';\n r = i.substr(4);\n\n }\n \n nuPopup(f,r);\n \n}\n\nfunction nuUpdateAclCount() {\n var l = $(\"[data-nu-field=\'sre_zzzzsys_access_id\']\").length -2;\n var t = l <= 0 ? \'\' : \' (\' + l + \')\';\n $(\'#nuTab1\').html(nuTranslate(\'Access Level\') + t);\n}', 'if (parent.nuCurrentProperties().form_id == \'nuaccess\') {\n $(\'#nuBreadcrumb0\').html(nuTranslate(\'Reports\'));\n}', NULL, NULL, '1', NULL),
('nubuildtable', 'browse', 'nubuildtable', 'PHP or SELECT or TABLE', NULL, 'zzzzsys_report_data', 'id', 'nuselect', 0, 16, '0', NULL, 'SELECT * FROM zzzzsys_report_data', NULL, NULL, NULL, NULL, NULL, NULL),
('nucalcobjects', 'browse', 'nucalcobjects', 'Calc values On This Form And Its Subforms', NULL, '#TABLE_ID#', 'thevalue', '', 0, 4, '0', NULL, 'SELECT * FROM #TABLE_ID#', '\nwindow.nuBrowseFunction = \'nuSelectCalcField\';\n\nfunction nuSelectCalcField(e){\n\n var row = e.target.id.substr(0,8);\n var fld = $(\'#\' + row + \'003\').html();\n var frm = $(\'#sob_calc_formula\', parent.window.document).val();\n\n $(\'#sob_calc_formula\', parent.window.document)\n .val(frm + \'nuTotal(\"\' + fld + \'\")\')\n .trigger(\'change\');\n\n}\n\n', NULL, NULL, NULL, NULL, NULL),
('nuclause', 'subform', 'nuclause', 'Select Clauses', NULL, 'zzzzsys_select_clause', 'zzzzsys_select_clause_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_select_clause\nORDER BY ssc_type, ssc_order', NULL, NULL, NULL, NULL, NULL, NULL),
('nucloner', 'browseedit', 'nucloner', 'Cloner', NULL, 'zzzzsys_cloner', 'zzzzsys_cloner_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_cloner\nORDER BY clo_form_source', 'function nuSelectObjectRefreshed(o, f) {\n\n nuSelectRemoveEmpty();\n if (f == \'clo_tabs\') {\n $(\'select#\' + f + \' > option\').prop(\'selected\', \'selected\');\n } \n}\n\nfunction addRunButton() {\n nuAddActionButton(\'nuRunPHPHidden\', \'Run\', \'runCloner()\');\n $(\'#nunuRunPHPHiddenButton\').css(\'background-color\', \'#117A65\');\n}\n\nfunction selectToIndexArray(id) {\n\n var a = [];\n $(\'#\' + id + \' option:selected\').each(function(index) {\n if ($(this).text() !== \'\') {\n a.push($(this).index() + 1);\n }\n });\n return a;\n \n}\n\nfunction selectToValueArray(id) {\n\n var a = [];\n $(\'#\' + id + \' option:selected\').each(function(index) {\n if ($(this).text() !== \'\') {\n a.push($(this).text())\n }\n });\n\n return a;\n\n}\n\n\nfunction runCloner() {\n\n if ($(\'#clo_form_source\').val() === \'\') {\n nuMessage([nuTranslate(\'Source Form cannot be left blank.\')]);\n return;\n }\n\n if ($(\'#clo_tabs :selected\').length === 0) {\n nuMessage([nuTranslate(\'Select at least 1 Tab.\')]);\n return;\n }\n\n nuSetProperty(\'cloner_refresh_selectId\', \'\');\n\n var tabs = selectToIndexArray(\'clo_tabs\');\n nuSetProperty(\'cloner_tabs\', tabs.length === 0 ? \'\' : JSON.stringify(tabs));\n\n var subforms = $(\'#clo_subforms_include\').is(\':checked\');\n var clo_subforms = selectToValueArray(\'clo_subforms\');\n nuSetProperty(\'cloner_subforms\', subforms === false || clo_subforms.length === 0 ? \'0\' : JSON.stringify(clo_subforms));\n\n var formsRunIFrame = selectToValueArray(\'clo_iframe_forms\');\n nuSetProperty(\'cloner_iframe_forms\', nuGetValue(\'clo_subforms_include\') == false|| formsRunIFrame.length === 0 ? \'0\' : JSON.stringify(formsRunIFrame));\n\n var dump = $(\'#clo_dump\').is(\':checked\');\n nuSetProperty(\'cloner_dump\', dump ? \'1\' : \'0\');\n\n var noObjects = $(\'#clo_objects\').is(\':checked\');\n nuSetProperty(\'cloner_objects\', noObjects ? \'0\' : \'1\');\n\n var newPks = $(\'#clo_new_pks\').is(\':checked\');\n nuSetProperty(\'cloner_new_pks\', newPks ? \'1\' : \'0\');\n \n var replaceInto = $(\'#clo_sql_replace_into\').is(\':checked\');\n nuSetProperty(\'cloner_replace_into\', replaceInto ? \'1\' : \'0\');\n\n nuSetProperty(\'cloner_form_source\', $(\'#clo_form_source\').val());\n nuSetProperty(\'cloner_form_dest\', $(\'#clo_form_dest\').val());\n nuSetProperty(\'cloner_notes\', \'#clo_notes#\');\n\n dump ? nuRunPHP(\'nucloner\', \'\', 1) : nuRunPHPHidden(\'nucloner\', 0);\n\n}\n\nfunction setTitle() {\n\n if (!nuIsNewRecord()) {\n nuSetTitle($(\'#clo_form_source\').val());\n }\n\n}\n\nfunction setDefaultValues() {\n\n if (nuIsNewRecord()) {\n $(\'#clo_new_pks\').prop(\'checked\', true).change();\n $(\'#clo_dump\').prop(\'checked\', true).change();\n }\n\n}\n\nfunction setParentFormId() {\n\n if (parent.$(\'#nuModal\').length > 0 && $(\'#clo_form_source\').val() === \'\') {\n nuGetLookupId(window.parent.nuCurrentProperties().form_id, \'clo_form_source\');\n }\n\n}\n\nfunction cloSubformsChecked() {\n\n var c = $(\'#clo_subforms_include\').is(\':checked\');\n c ? nuEnable(\'clo_subforms\') : nuDisable(\'clo_subforms\');\n nuSelectSelectAll(\'clo_subforms\', c);\n\n}\n\nfunction cloIframeFormsChecked() {\n\n var c = $(\'#clo_iframe_forms_include\').is(\':checked\');\n c ? nuEnable(\'clo_iframe_forms\') : nuDisable(\'clo_iframe_forms\');\n nuSelectSelectAll(\'clo_iframe_forms\', c);\n\n}\n\nfunction selectObjectPopuplated(formId, selectId, count) {\n\n if (selectId == \'clo_tabs\') {\n nuSelectSelectAll(\'clo_tabs\', true);\n }\n\n var chk;\n if (selectId == \'clo_iframe_forms\') {\n chk = $(\'#clo_iframe_forms_include\');\n var c = chk.is(\':checked\');\n if (c) {\n nuSelectSelectAll(\'clo_iframe_forms\', true);\n }\n count === 0 ? nuDisable(\'clo_iframe_forms_include\') : nuEnable(\'clo_iframe_forms_include\');\n if (count === 0) chk.prop(\'checked\', false).change();\n }\n\n\n if (selectId == \'clo_subforms\') {\n\n chk = $(\'#clo_subforms_include\');\n var s = chk.is(\':checked\');\n if (s) {\n nuSelectSelectAll(\'clo_subforms\', true);\n }\n count === 0 ? nuDisable(\'clo_subforms_include\') : nuEnable(\'clo_subforms_include\');\n if (count === 0) chk.prop(\'checked\', false).change();\n }\n\n\n\n}\n\nfunction enableDisableCheckboxes() {\n var v = nuGetValue(\'clo_dump\');\n if (v == \'0\') {\n nuSetValue(\'clo_sql_replace_into\', 0);\n nuDisable(\'clo_sql_replace_into\');\n nuSetValue(\'clo_new_pks\', 1);\n nuDisable(\'clo_new_pks\');\n } else {\n nuEnable(\'clo_new_pks\');\n nuEnable(\'clo_sql_replace_into\');\n }\n}\n\nif (nuFormType() == \'edit\') {\n\n if (nuIsNewRecord()) {\n $(\'#clo_tabs\').empty();\n $(\'#clo_subforms\').empty();\n $(\'#clo_iframe_forms\').empty();\n }\n \n enableDisableCheckboxes();\n \n // clo_dummy required to adjust correct popup width\n nuHide(\'clo_dummy\');\n nuSelectRemoveEmpty();\n\n $(\'#clo_subforms\').nuLabelOnTop(-18, 25)\n $(\'#clo_iframe_forms\').nuLabelOnTop(-18, 25)\n $(\'#clo_tabs\').nuLabelOnTop();\n \n $(\'#label_clo_subforms\').prop(\'for\',\'clo_subforms_include\');\n $(\'#label_clo_iframe_forms\').prop(\'for\',\'clo_iframe_forms_include\');\n \n cloSubformsChecked();\n cloIframeFormsChecked();\n\n setParentFormId();\n setDefaultValues();\n\n addRunButton();\n setTitle();\n\n nuHasNotBeenEdited();\n}\n', NULL, NULL, NULL, '1', NULL),
('nucodesnippet', 'browseedit', 'nucodesnippet', 'Code Snippets', '#cot_code#|New', 'zzzzsys_code_snippet', 'zzzzsys_code_snippet_id', '', 35, 10, '0', NULL, 'SELECT * FROM zzzzsys_code_snippet WHERE (\n\n (IFNULL(cot_scope,\'\') LIKE \'%0%\' AND \'#IS_CUSTOM_CODE#\' = \'1\') OR\n (IFNULL(cot_scope,\'\') LIKE \'%1%\' AND \'#IS_SETUP_HEADER#\' = \'1\') OR\n (IFNULL(cot_scope,\'\') LIKE \'%2%\' AND \'#IS_SQL#\' = \'1\') OR\n (IFNULL(cot_scope,\'\') LIKE \'%2%\' AND \'#IS_PHP#\' = \'1\') OR\n\n (\n\n LOCATE(\'#\', \'#IS_SETUP_HEADER#\') = 1 AND \n LOCATE(\'#\', \'#IS_CUSTOM_CODE#\') = 1 AND\n LOCATE(\'#\', \'#IS_PHP#\') = 1 AND \n LOCATE(\'#\', \'#IS_SQL#\') = 1 \n\n ) \n)\n\nORDER BY cot_code ', 'if (nuFormType() == \'edit\') {\n\n var sc = $(\'#cot_source_code\');\n sc.addClass(\'js\');\n\n sc.css(\'padding\', \'3px 3px 3px 3px\')\n\n // Add ACE event handlers\n sc .dblclick(function() {\n nuOpenAce(nuGetSourceLangage(), this.id);\n });\n\n // Code Snippets form\n nuSetProperty(\'IS_SETUP_HEADER\',0);\n nuSetProperty(\'IS_CUSTOM_CODE\',1);\n\n // Disable nu-records\n if (nuCurrentProperties().record_id.startsWith(\'nu\')) {\n nuDisableAllObjects();\n $(\'#nuSaveButton\').hide();\n }\n\n}\n\nfunction nuOnClone(){\n nuEnableAllObjects();\n $(\'#nuSaveButton\').show();\n}\n\n\nfunction nuGetSourceLangage() {\n \n var l = $(\'#cot_language\').val();\n return l === \'\' ? \'Javascript\' : l;\n \n}\n\n', NULL, NULL, NULL, '1', NULL),
('nucsvtransfer', 'launch', 'nucsvtransfer', 'CSV Transfer', NULL, '', '', '', 0, 0, '0', NULL, '', '\n\nfunction nuCheckCSV(){\n\n var csvTo = $(\'#csv_to\').val();\n var csvFrom = $(\'#csv_from\').val();\n var csvDelimiter = $(\'#csv_delimiter\').val();\n\n if($(\'#csv_transfer\').val() === \'\' || csvFrom === \'\' || csvTo === \'\' || csvDelimiter === \'\'){\n nuMessage([nuTranslate(\'No fields can be left blank\') + \'...\']);\n }else{\n \n if($(\'#csv_transfer\').val() == \'export\'){\n \n if(nuFORM.getJustTables().includes(csvFrom)){\n nuRunPHP(\"CSVTRANSFER\")\n }else{\n nuMessage([nuTranslate(\'No such tablename\')+\'...\']);\n }\n \n }\n \n if($(\'#csv_transfer\').val() == \'import\'){\n \n if(nuCSVfiles.includes(csvFrom)){\n\n if (csvTo == \'zzzzsys_user\') {\n nuImportUsersFromCSV(csvFrom, csvDelimiter);\n } else {\n if(nuFORM.getJustTables().includes(csvTo)){\n nuMessage([nuTranslate(\'There is already a table named\'), \'<b>\' + csvTo + \'</b>\']);\n }else{\n nuRunPHP(\"CSVTRANSFER\")\n }\n }\n \n }else{\n nuMessage([nuTranslate(\'File not found\'), \'\', nuTranslate(\'CSV File must be located in the temp directory of the nubuilder directory\')]);\n }\n \n }\n \n }\n \n}\n \n\n\nnuAddActionButton(\'transfer\', \"Transfer\", \'nuCheckCSV()\', \'\');\n\n$(\'#csv_transfer\').val(\'export\');\n$(\'#csv_delimiter\').val(\'44\');\n\nnuHide(\'csv_delete_after_import\');\n\nnuCSVTransfer(\'export\');\n\nfunction nuCSVTransfer(t){\n\n if(t == \'export\'){\n \n $(\'#label_csv_from\').html(nuTranslate(\'Export From (Table)\'));\n $(\'#label_csv_to\').html(nuTranslate(\'Export To CSV File\'));\n \n $( \'#csv_from\' ).addClass(\'input_nuScroll nuScroll\').off(\'keydown\').keydown(function() {\n nuFORM.scrollList(event, nuFORM.getJustTables());\n }); \n \n nuHide(\'csv_delete_after_import\');\n \n }else{\n\n $(\'#label_csv_from\').html(nuTranslate(\'Import From CSV File\'));\n $(\'#label_csv_to\').html(nuTranslate(\'Import To (Table)\'));\n\n $( \'#csv_from\' ).addClass(\'input_nuScroll nuScroll\').off(\'keydown\').keydown(function() {\n nuFORM.scrollList(event, nuCSVfiles);\n });\n \n nuShow(\'csv_delete_after_import\');\n\n }\n \n}', NULL, NULL, NULL, '1', NULL),
('nudebug', 'browseedit', 'nudebug', 'nuDebug Results', NULL, 'zzzzsys_debug', 'zzzzsys_debug_id', '', 25, 14, '0', NULL, 'SELECT * FROM zzzzsys_debug\nLEFT JOIN zzzzsys_user on zzzzsys_user_id = deb_user_id\nORDER BY zzzzsys_debug_id DESC', '$(\'#deb_message\')\n .css(\'font-size\', 10)\n .css(\'background-color\', \'#FFEEA6\')\n .prop(\'readonly\', true)\n .dblclick(function() {\n nuOpenAce(\'Text\', this.id);\n });\n\n\n$(\'#delete_option\').val(0);\n$(\'#nuAddButton\').remove();\n$(\'#nuOptions\').remove();\n\nvar mess = String($(\'#deb_message\').val());\nvar i = mess.indexOf(\'<br>\');\nvar m = mess.substr(i + 6);\nvar t = mess.substr(0,i);\n\nnuSetTitle(mess.substr(0, i));\n\n$(\'#nuTab0\').remove();\n\n$(\'#nuBreadcrumb2\')\n.css(\'text-align\', \'center\')\n.css(\'width\', \'95%\')\n.css(\'color\', \'black\')\n.css(\'padding\', \'5px\')\n.html(t + \' :: \' + nuWhen(nuEscapeHTML($(\'#deb_added\').val())))\n.appendTo(\"#nuTabHolder\");\n\n$(\'#deb_message\').val(m);\n\n\n$(\"[data-nu-column=\'1\']\").each(function( index ) {\n \n if($(this).html().trim() !== \'\'){\n \n const nuhtm = nuWhen(Number($(this).html()));\n \n $(this).html(nuhtm);\n \n }\n \n});\n\nif(nuFORM.getCurrent().record_id !== \'\'){\n\n $(\'.nuActionButton\').remove();\n nuAddActionButton(\'Delete\');\n nuAddActionButton(\'DeleteAll\',\'Delete All\', \'nuDeleteAllAction()\');\n\n}else{\n nuAddActionButton(\'DeleteAll\',\'Delete All\', \'nuDeleteAllAction()\');\n}\n\n', NULL, NULL, NULL, '', NULL),
('nuemailtest', 'launch', 'nuemailtest', 'Send Test Email', NULL, '', '', '', 0, 0, '0', NULL, '', 'nuAddActionButton(\'nuRuntestemail\', nuTranslate(\'Send\'), \'nuRunPHPHidden(\"NUTESTEMAIL\", 0)\');\n\nif (parent.$(\'#nuModal\').length > 0) {\n\n var p = window.parent;\n $(\'#set_smtp_from_address\').val(p.set_smtp_from_address.value);\n $(\'#ema_to\').val(p.set_smtp_from_address.value);\n $(\'#set_smtp_from_name\').val(p.set_smtp_from_name.value);\n $(\'#ema_body\').val(\'nuBuilder <b>Email<br> Test\');\n $(\'#ema_subject\').val(\'nuBuilder Test - \' + new Date().toLocaleString());\n\n}\n\n\nnuSetToolTip(\'ema_load_data\',nuTranslate(\'Load from Local Storage\'));\nnuSetToolTip(\'ema_save_data\',nuTranslate(\'Save to Local Storage\'));\n\n\nfunction saveDatatoLS() {\n\n $(\'input[type=text], textarea\').each(function() { \n localStorage.setItem(this.id, $(this).val());\n });\n\n}\n\n\nfunction loadDatafromLS() {\n\n $(\'input[type=\"text\"], textarea\').each(function(){\n var key = $(this).attr(\'id\');\n \n var value = localStorage.getItem( key );\n if (value || value === \'\') {\n $(this).val( value );\n } else {\n nuMessage([\"There\'s no Data to load in Local Storage\"])\n }\n \n }); \n}\n\n', NULL, NULL, NULL, NULL, NULL),
('nuevent', 'edit', 'nuevent', 'Object Events', NULL, 'zzzzsys_event', 'zzzzsys_event_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_event', NULL, NULL, NULL, NULL, NULL, NULL),
('nufastformobjects', 'subform', 'nufastformobjects', 'Fast Form Objects', NULL, 'zzzzsys_debug', 'zzzzsys_debug_id', '', 0, 0, '0', NULL, ' SELECT count()* FROM zzzzsys_debug', NULL, NULL, NULL, NULL, NULL, NULL),
('nufastreportobjects', 'subform', 'nufastreportobjects', 'Fast Report Objects', NULL, 'zzzzsys_debug', 'zzzzsys_debug_id', '', 0, 0, '0', NULL, 'SELECT count(*) FROM zzzzsys_debug', NULL, NULL, NULL, NULL, NULL, NULL),
('nufflaunch', 'launch', 'nufflaunch', 'Form Builder', NULL, '', '', '', 0, 0, '0', NULL, '', 'nuInit();\n\nfunction nuInit() {\n\n $(\"[id$=\'ff_browse\']\").nuHide();\n $(\'.nuActionButton\').nuHide();\n\n nuHide([\'fastform_prefix\', \'nuFFAvailableColumnsWord\', \'check_nulog\', \'nuFFAvailableColumns\']);\n nuDisable(\'nuFFAvailableColumns\');\n\n nuSelectRemoveMultiple();\n nuSelectRemoveEmpty(\'obj_sf000ff_type\', \'-1\');\n nuSelectRemoveEmpty(\'fastform_type\', \'-1\');\n nuMoveFieldPrefixToSubform();\n nuSetValue(\'fastform_type\',\'browseedit\');\n\n nuAddActionButton(\'nuRunPHPHidden\', \'Build Fast Form\', \'nuRunPHPHidden(\"RUNFF\");\');\n nuSetToolTip(\'fastform_table\', nuTranslate(\'Either pick an existing table or enter a new table name.\'), true);\n nuSubformEnableMultiPaste(\"obj_sf\", \"#obj_sf000ff_label\");\n nuSetFFTypeOptionsColor(\'obj_sf000ff_type\');\n\n nuSetFK();\n nuDisableLastFFRow();\n\n $(\"#fastform_type > option\").each(function() {\n $(this).addClass(\'nu_\' + this.value);\n });\n \n $(\'#fastform_prefix\').on(\'click\', function(e) {\n e.stopPropagation();\n });\n \n // Show all items again when clicking on the datalist arrow down button\n $(\'#fastform_table\')\n .on(\'click\', function(e) {\n var t = $(this);\n var inpLeft = t.offset().left;\n var inpWidth = t.width();\n var clickedLeft = e.clientX;\n var clickedInpLeft = clickedLeft - inpLeft;\n var arrowBtnWidth = 12;\n if ((inpWidth - clickedInpLeft) < arrowBtnWidth) {\n if (t.val() !== \"\") {\n t.val(\'\');\n }\n }\n })\n\n .on(\'input\', function() {\n\n nuSetFFTable();\n nuShowAvailableFields(false);\n\n var selectedOption = $(\'option[value=\"\' + $(this).val() + \'\"]\');\n if (selectedOption.length) {\n\n nuSetProperty(\'available_columns\', $(\'#fastform_table\').val());\n nuSetProperty(\'assigned_columns\', \'\');\n\n $(\'#nuFFAvailableColumns\').empty();\n nuAvailableColumnsSetLoading();\n nuRefreshSelectObject(\'nuFFAvailableColumns\', \'\', true);\n\n }\n });\n \n $(\'#fastform_table\').focus();\n\n}\n\nfunction nuNoStoreObject(text) {\n return [\'Word\', \'Subform\', \'Image\', \'HTML\', \'Button\' ].indexOf(text) !== -1;\n}\n\nfunction nuNoBrowseObject(text) {\n return [\'Display\', \'File\', \'Multiselect\'].indexOf(text) !== -1 || nuNoStoreObject(text)\n}\n\nfunction nuSetFFCheckboxes(type) {\n \n let checkboxes = $(\"[id$=\'ff_browse\']:checkbox\");\n if (type.startsWith(\'browse\')) {\n\n const l = checkboxes.length;\n checkboxes.each(function(index) {\n if (index !== l - 1 && !$(this).is(\"[data-nu-no-browse]\")) {\n $(this).show();\n }\n });\n\n } else {\n checkboxes.hide();\n }\n \n}\n\nfunction nuOnFormTypeChanged() {\n\n var type = nuGetValue(\'fastform_type\');\n\n $(\'#fastform_type\').removeClass().addClass(\'nu_\' + type);\n $(\'#fastform_table\').nuShow(type !== \'launch\');\n\n nuSetFFCheckboxes(type);\n\n $(\"[data-nu-field=\'ff_datatype\']\").nuShow(type !== \'launch\');\n nuShow(\'title_obj_sfff_browse\', type.startsWith(\'browse\'));\n\n nuSetFK();\n\n}\n\nvar tableExists = false;\n\nfunction nuSetFFTable() {\n\n tableExists = nuFORM.getTables().indexOf(nuGetValue(\'fastform_table\')) !== -1;\n \n $(\"[id$=\'ff_column_picker\']\")\n .prop(\'disabled\', !tableExists)\n .toggleClass(\'nuReadonly\', tableExists);\n\n nuShow([\'fastform_prefix\',\'check_nulog\'], !tableExists);\n\n let c = $(\'#nuFFAvailableColumns\');\n\n let l;\n let rl;\n let title = \'\';\n \n if (tableExists) {\n l = c.cssNumber(\'left\') + c.cssNumber(\'width\') + 30;\n rl = \'1473px\';\n title = $(\'#obj_sf000ff_field\').attr(\'title\');\n } else {\n l = c.cssNumber(\'left\');\n }\n\n $(\'#obj_sf\').css(\'left\', l);\n $(\'#ffwrd\').css(\'left\', l);\n $(\'#ff_resize\').css(\'left\', rl);\n $(\"[data-nu-field=\'ff_field\']\").attr(\'title\', title);\n\n let bl = $(\"[id$=\'ff_browse\']\").length - 2;\n $(\'#obj_sf\' + nuPad3(bl) + \'ff_browse\').hide();\n\n nuEnableFFDataType();\n nuSetFK();\n\n}\n\nfunction nuSetFK() {\n\n nuHide(\'fastform_fk\');\n\n let table = nuGetValue(\'fastform_table\');\n if (table !== \'\' && nuFORM.getTables().indexOf(table) == -1 && nuGetValue(\'fastform_type\') == \'subform\') {\n nuShow(\'fastform_fk\');\n }\n\n}\n\nfunction nuShowFFO(e) {\n\n let t = $(\'#\' + e.target.id).attr(\'data-nu-prefix\');\n let i = nuGetValue(t + \'ff_id\');\n let l = nuGetValue(t + \'ff_label\');\n let f = nuGetValue(t + \'ff_field\');\n let fff = \'fromfastform|\' + f + \'|\' + l;\n\n nuPopup(\'nuobject\', i, fff);\n\n}\n\n\nfunction nuGetFFDataType(h) {\n\n let t = \"VARCHAR(1000)\";\n \n if (h == \'Checkbox\') t = \"VARCHAR(1)\";\n if (h == \'Display\') t = \"VARCHAR(50)\";\n if (h == \'Lookup\') t = \"VARCHAR(25)\";\n if (h == \'Textarea\') t = \"TEXT\";\n if (h == \'Calc\') t = \"DECIMAL\";\n if (h == \'nuDate\') t = \"DATE\";\n if (h == \'File\') t = \"LONGTEXT\";\n if (h == \'nuAutoNumber\') t = \"BIGINT UNSIGNED\";\n if (h == \'Number\') t = \"INT\";\n if (h == \'nuNumber\') t = \"DECIMAL(12,4)\";\n if (h == \'Button\' || h == \'HTML\' || h == \'Image\' || h == \'Word\' || h == \'Subform\') t = null;\n\n return t;\n\n}\n\nfunction nuEnableFFDataType() {\n\n $(\"[data-nu-field=\'ff_datatype\']\").not(\".nuTabHolder\").each(function() {\n\n var typeId = nuSubformRowObject(this.id, \'ff_type\').attr(\'id\');\n var sel = $(\"#\" + typeId + \" option:selected\").text();\n var noBrowse = nuNoBrowseObject(sel);\n\n $(this).nuEnable(sel !== \'\' && !tableExists && !noBrowse && nuFFFormType() !== \'launch\');\n if (nuFFFormType() == \'launch\') $(this).val(\'\');\n\n });\n\n}\n\nfunction nuSetFFDataType(id, h) {\n\n var dataType = nuGetFFDataType(h);\n var noStoreObject = nuNoStoreObject(h);\n var t;\n\n if (tableExists && !noStoreObject) {\n let index = nuSERVERRESPONSE.tableSchema[fastform_table.value].names.indexOf(\'cot_code\')\n t = index !== -1 ? nuSERVERRESPONSE.tableSchema[fastform_table.value].types[index] : \'\';\n } else\n if (dataType !== null && !tableExists && !noStoreObject && nuFFFormType() !== \'launch\') {\n t = dataType;\n } else {\n t = \'\';\n }\n\n nuEnableFFDataType();\n $(id).val(t);\n\n}\n\nfunction nuFFFormType() {\n return nuGetValue(\'fastform_type\');\n}\n\nfunction nuSelectFFObjects(e) {\n\n if ($(\'#fastform_table\').val().trim() == \'\' && nuFFFormType() !== \'launch\') {\n nuMessage(fastform_table.title);\n $(\'#fastform_table\').focus();\n return;\n }\n\n var id = e.target.id;\n var rowno = nuPad3($(\"[id^=\'obj_sf\'][id$=\'ff_label\']\", document).length - 1);\n var rowsuf = nuPad2(rowno);\n var sfrow = \'#obj_sf\' + rowno;\n var h = String(e.target.innerHTML).split(\':\');\n var label = h[h.length - 1] + rowsuf;\n\n nuSetPlaceholder(sfrow.substring(1) + \'ff_label\', label);\n\n $(sfrow + \'ff_label\').val(label).nuEnable().change();\n $(sfrow + \'ff_id\').val(id);\n $(sfrow + \'ff_type\').val(id).nuEnable();\n $(sfrow + \'ff_field\').nuEnable().attr(\'data-nu-picked\', true);\n $(sfrow + \'nuDelete\').nuEnable();\n\n var r = $(\'#\' + sfrow.substring(1) + \'ff_type\');\n nuSetFFTypeColor(r[0]);\n\n if (nuNoBrowseObject(e.target.innerHTML)) {\n $(sfrow + \'ff_browse\').hide().attr(\'data-nu-no-browse\',\'\');\n } else {\n $(sfrow + \'ff_browse\').show().removeAttr(\'data-nu-no-browse\');\n }\n\n $(\'#fastform_type\').change();\n\n nuSetFFDataType(sfrow + \'ff_datatype\', h);\n\n $(sfrow + \'ff_field\').focus();\n\n}\n\nfunction nuOnChangeFFType(t, event) {\n\n let target = event.target;\n let i = target.id;\n\n let id = nuSubformRowObject(i, \'ff_id\');\n let browse = nuSubformRowObject(i, \'ff_browse\');\n let label = nuSubformRowObject(i, \'ff_label\');\n let field = nuSubformRowObject(i, \'ff_field\');\n let dataType = nuSubformRowObject(i, \'ff_datatype\');\n let objType = nuSubformRowObject(i, \'ff_type\');\n let typeText = $(target).find(\"option:selected\").text();\n let number = $(label).attr(\'placeholder\').justNumbers();\n\n nuSetPlaceholder(label.attr(\'id\'), typeText + number);\n\n if (field.val() == \'\') {\n label.val(typeText + number);\n }\n\n id.val(t.value);\n\n let noStoreObj = nuNoStoreObject(typeText);\n if (noStoreObj || nuFFFormType() === \'launch\') {\n $(browse).hide().attr(\'data-nu-no-browse\',\'\').prop(\'checked\', 0);\n nuSetValue(browse.id, true);\n } else {\n $(browse).show();\n }\n\n let objTypeText = nuGetValue($(objType).attr(\'id\'),\'text\');\n nuSetFFDataType(\'#\' + $(dataType).attr(\'id\'), objTypeText);\n\n nuEnableFFDataType();\n nuSetFFTypeColor(t);\n\n}\n\nfunction nuOnChangeFFField(t, event) {\n\n if (tableExists) {\n \n let i = nuSERVERRESPONSE.tableSchema[fastform_table.value].names.indexOf(t.value);\n let dataType = i === -1 ? \'\' : nuSERVERRESPONSE.tableSchema[fastform_table.value].types[i].toUpperCase();\n nuSubformRowObject(event.target.id, \'ff_datatype\').val(dataType);\n \n }\n\n\n}\n\nvar selectedField = null;\n\nfunction onColumnPicker(event) {\n\n let id = event.target.id;\n if (id != \'\') {\n selectedField = nuSubformRowObject(id, \'ff_field\');\n if ($(selectedField).attr(\'data-nu-picked\')) {\n $(\"[id$=\'ff_field\']\").removeClass(\'nuHighlight\');\n $(selectedField).addClass(\'nuHighlight\');\n }\n }\n\n}\n\nfunction nuShowAvailableFields(v) {\n\n let ac = [\'nuFFAvailableColumns\',\'nuFFAvailableColumnsWord\'];\n if (!tableExists) {\n nuHide(ac);\n return;\n }\n\n nuShow(ac);\n\n if (v) {\n let arr = nuSubformColumnArray(\'obj_sf\', \'ff_field\');\n arr.push(\'\');\n disableFromSelect(\'nuFFAvailableColumns\', arr);\n $(\'#nuFFAvailableColumns\').prop(\'disabled\', false).removeClass(\'nuReadonly\');\n } else {\n if ($(\'#nuFFAvailableColumns option\').not(\"[value=\'\']\").length !== 0) {\n $(\'#nuFFAvailableColumns\').prop(\'disabled\', true).addClass(\'nuReadonly\');\n }\n }\n}\n\nfunction disableFromSelect(id, arrOptionsVal) {\n\n $(\"#nuFFAvailableColumns\").children(\'option\').attr(\"disabled\", false);\n $(\'#\' + id).find(\'option\').filter(function() {\n return arrOptionsVal.indexOf(this.value) != -1;\n }).attr(\"disabled\", true);\n\n}\n\nfunction nuSelectObjectRefreshed(o, f, c) {\n if (c == 0) nuShowAvailableFields(false);\n}\n\nfunction nuMoveFieldPrefixToSubform() {\n\n let title = $(\'#title_obj_sfff_field\');\n title.html(title.html() + \'<br>\');\n let prefix = $(\'#fastform_prefix\');\n title.append(prefix);\n nuSetPlaceholder(\'fastform_prefix\', \'Prefix\', true);\n prefix.css({\n \'top\': \'1px\',\n \'left\': \'0px\',\n \'position\': \'relative\',\n \'background-color\': \'#afe9ff\'\n });\n\n}\n\nfunction nuSetLabel(field, label) {\n\n let i = field.indexOf(\'_\');\n if (i == 2 || i == 3) {\n field = field.substring(i + 1);\n }\n\n label.val(field.replaceAll(\'_\', \' \').capitalise().toTitleCase()).change();\n\n}\n\nfunction nuAvailableFieldsOnClick(event, t) {\n\n if (selectedField !== null) {\n\n let v = t.value;\n $(selectedField).val(v).change();\n\n let label = $(\'#\' + $(selectedField).attr(\'id\').replace(\'field\', \'label\'));\n if (label.is(\'[data-user-modified]\')) {\n let answer = window.confirm(nuTranslate(\'Overwrite the Label?\'));\n if (!answer) return;\n }\n\n nuSetLabel(v, label);\n\n nuSubformMoveFocus(selectedField, 1);\n\n }\n\n nuShowAvailableFields(true);\n}\n\nfunction nuGetStringAfterSubstring(parentString, substring) {\n return parentString.substring(parentString.indexOf(substring) + substring.length)\n}\n\nfunction nuAvailableColumnsSetLoading() {\n $(\'#nuFFAvailableColumns\').prepend(\'<option disabled=\"disabled\">\' + nuTranslate(\'Loading\') + \'...\' + \'</option>\');\n}\n\nfunction nuChangePrefix(prefix) {\n\n prefix = prefix.trim() === \'\' ? \'\' : prefix + \'_\';\n let fieldArr = nuSubformColumnArray(\'obj_sf\', \'ff_field\');\n\n for (var i = 0; i < fieldArr.length; i++) {\n var n = fieldArr[i].indexOf(\"_\");\n if (n == -1 || n == 2 || n == 3) {\n\n var f = $(\'#obj_sf\' + nuPad3(i) + \'ff_field\');\n if (f.val() !== \'\') {\n f.val(prefix + nuGetStringAfterSubstring(f.val(), \'_\')).change();\n }\n\n }\n }\n\n}\n\nfunction nuDisableLastFFRow() {\n\n let l = nuSubformObject(\'obj_sf\').rows.length;\n\n let rowPrefix = \'#obj_sf\' + nuPad3(l == 1 ? 0 : l - 1);\n $(rowPrefix + \'ff_label\').nuDisable();\n $(rowPrefix + \'ff_field\').nuDisable();\n $(rowPrefix + \'ff_type\').nuDisable();\n $(rowPrefix + \'ff_type\').nuDisable();\n $(rowPrefix + \'ff_datatype\').nuDisable();\n\n}\n\nfunction nuButtonClass(id) {\n return $(\'#\' + id).attr(\'class\').split(\' \')[1];\n}\n\nfunction nuSetFFTypeOptionsColor(id) {\n\n $(\"#\" + id + \" > option\").each(function() {\n if (this.value !== \'\') {\n $(this).addClass($(\'#\' + this.value).attr(\'class\').split(\' \')[1]);\n }\n });\n\n}\n\nfunction nuSetFFTypeColor(t) {\n\n let x = \'#\' + t.value;\n if (t.value !== \'\') {\n let id = $(x);\n $(t).removeClass().addClass(id.attr(\'class\').split(\' \')[1]);\n }\n\n}\n\nfunction nuSetDataUserModified(t, event) {\n\n if ([37, 38, 39, 40, 9, 13].indexOf(event.keyCode) === -1) {\n $(t).attr(\'data-user-modified\', \'\');\n }\n\n}\n\nfunction nuOnBlurFFLabel(t, event) {\n\n if (!tableExists) {\n\n let ff_field = nuSubformRowObject(event.target.id, \'ff_field\');\n if (!ff_field.is(\'[data-user-modified]\') && $(t).is(\'[data-user-modified]\')) {\n let v = $(t).val();\n if (v !== \'\') {\n let prefix = $(\'#fastform_prefix\').val();\n ff_field.val((prefix === \'\' ? \'\' : prefix + \'_\') + v.toLowerCase().replaceAll(\' \', \'_\')).change();\n }\n }\n }\n\n}\n\nfunction nuOnBlurFFField(t, event) {\n\n var v = $(t).val().trim();\n if (v !== \'\') {\n\n let prefix = $(\'#fastform_prefix\').val();\n if (!v.startsWith(prefix)) {\n v = prefix + \'_\' + v;\n $(t).val(v);\n }\n\n let label = nuSubformRowObject(event.target.id, \'ff_label\');\n if (!label.is(\'[data-user-modified]\')) {\n nuSetLabel(v, label);\n }\n }\n\n}\n\nfunction nuClickDelete(event) {\n\n let id = event.target.id;\n let sf = $(\'#\' + id).attr(\'data-nu-checkbox\');\n let row = id.substring(sf.length, sf.length + 3);\n let checked = $(\'#\' + id).is(\":checked\");\n\n $(\'[id^=\' + sf + nuPad3(row) + \']\')\n .not(\':button, :checkbox\')\n .toggleClass(\'nuSubformDeleteTicked\', checked)\n .toggleClass(\'nuReadonly\', checked)\n .nuEnable(!checked);\n\n}\n\nfunction nuFFInvalidColumns() {\n\n let msg =\'\';\n let table = nuGetValue(\'fastform_table\');\n \n if (nuFORM.getTables().indexOf(table) == -1) return \'\';\n\n let sf = nuSubformObject(\'obj_sf\');\n for (let i = 0; i < sf.rows.length; i++) {\n \n let field = sf.rows[i][2];\n let type = nuGetValue(\'obj_sf\' + nuPad3(i) + \'ff_type\',\'text\');\n let exists = nuFORM.tableSchema[table].names.indexOf(field);\n if (sf.deleted[i] != 1 && exists == -1 && !nuNoStoreObject(type)) {\n msg += nuTranslate(\'Invalid Field Name\') + \' <b>\' + field + \'</b><br>\'\n }\n\n }\n\n return msg;\n\n}\n\nfunction nuBeforeSave() {\n\n let table = nuGetValue(\'fastform_table\');\n let type = nuGetValue(\'fastform_type\');\n let fk = nuGetValue(\'fastform_fk\');\n \n if (table === \'\' && type !== \'launch\') {\n\n nuMessage([\'<b>\' + nuTranslate(\'Table Name\') + \'</b> \' + nuTranslate(\'cannot be left blank\')]);\n return false;\n\n }\n\n if (type === \'\') {\n\n nuMessage([\'<b>\' + nuTranslate(\'Form Type\') + \'</b> \' + nuTranslate(\'cannot be left blank\')]);\n return false;\n\n }\n\n if (type.startsWith(\'browse\') && $(\"[data-nu-field=\'ff_browse\']:checked\").length === 0) {\n\n nuMessage([nuTranslate(\'At least 1 Browse needs to be checked\')]);\n return false;\n\n }\n\n let fieldArr = nuSubformColumnArray(\'obj_sf\', \'ff_field\');\n if (fieldArr.includes(\'\') || !nuArrayIsUnique(fieldArr)) {\n\n nuMessage(nuTranslate(\'The Field Names must be both unique and not blank\'));\n return false;\n\n }\n\n let pk = table + \'_id\'; \n if (fieldArr.includes(pk)) {\n \n nuMessage(nuTranslate(\'The Primary Key %s must not be entered.\').replace(\'%s\', \'<b>\' + pk + \'</b>\'));\n return false;\n \n }\n\n if (type === \'subform\' && table !== \'\' && nuFORM.getTables().indexOf(table) === -1 && fk === \'\') {\n\n nuMessage([\'<b>\' + nuTranslate(\'Foreign Key Field Name\') + \'</b> \' + nuTranslate(\'cannot be left blank\')]);\n return false;\n\n }\n\n let a = [];\n for (var i = 0; i < nuSubformObject(\'obj_sf\').rows.length; i++) {\n a.push(nuSubformObject(\'obj_sf\').rows[i][2]);\n }\n\n if (fk !== \'\' && a.indexOf(fk) > -1 && type === \'subform\') {\n\n nuMessage([\'<b>\' + nuTranslate(\'Foreign Key Field Name\') + \'</b> \' + nuTranslate(\'is already used\')]);\n return false;\n\n }\n \n if (nuGetValue(\'obj_sf000ff_field\') == \'\') {\n \n nuMessage(nuTranslate(\' At least one Field must be specified\'));\n return false;\n\n }\n \n let invalidColumns = nuFFInvalidColumns();\n if (invalidColumns !== \'\') {\n \n nuMessage(invalidColumns);\n return false;\n \n }\n\n return true;\n\n}\n', NULL, NULL, NULL, '1', NULL),
('nufile', 'browseedit', 'nufile', 'Stored Files', '#sfi_code#|New', 'zzzzsys_file', 'zzzzsys_file_id', '', 150, 3, '0', NULL, 'SELECT * FROM zzzzsys_file\nORDER BY sfi_code', NULL, 'showBrowseImages();\nscaleImages();\n$(\'#nuBrowseTitle3\').css(\'text-align\', \'left\');\nnuSetNoSearchColumns([2, 3]);\n\n$(\'[data-nu-column=\"0\"]\').each(function(index) {\n var code = \'#nucell_\' + index + \'_\';\n window.nuImages[$(code + \'0\').text()] = $(code + \'2\').text();\n});\n\nfunction showBrowseImages() {\n\n $(\'[data-nu-column=\"0\"]\').each(function(index) {\n\n var p = $(this).attr(\'id\');\n var r = String(p).split(\'_\')[1];\n var i = \"nucell_\" + r + \"_2\";\n var e = \"nucell_\" + r + \"_3\";\n var h = $(\'#\' + i).html();\n\n if (h !== \'\' && h !== undefined) {\n\n nuEmbedObject(h, e, 140, 140);\n\n }\n\n });\n\n}\n\n\nfunction scaleImages() {\n\n $(\"[data-nu-column=\'3\']\").each(function(index) {\n\n var t = $(this);\n if (t.html().trim() !== \'\') {\n\n var embed = t.find(\'embed\');\n if (t.length == 1) {\n\n var p = new Image();\n p.src = embed.attr(\'src\');\n\n if (p.width < t.outerWidth() && p.height < t.outerHeight()) {\n embed.css({\n \'width\': p.width,\n \'height\': p.height\n });\n embed.css(\'height\', p.height);\n }\n\n }\n }\n\n });\n\n}', 'nuShowFile();\nnuSetToolTip(\'sfi_json_file_file\', nuTranslate(\'Max. 300Kb\'));\n\nif (nuIsNewRecord()) { \n nuHide(\'view_image\'); \n}\n\nfunction nuBeforeSave() {\n\n var f = $(\'#sfi_json_file\').val();\n\n if (f !== \'\') {\n\n $(\'#sfi_json\')\n .val(f)\n .change();\n\n }\n\n return true;\n\n}\n\nfunction nuShowFile() {\n\n var j = $(\'#sfi_json\').val();\n\n nuEmbedObject(j, \'view_image\', -1, -1); // auto-size\n\n}', NULL, '1', NULL);
INSERT INTO `zzzzsys_form` (`zzzzsys_form_id`, `sfo_type`, `sfo_code`, `sfo_description`, `sfo_breadcrumb_title`, `sfo_table`, `sfo_primary_key`, `sfo_browse_redirect_form_id`, `sfo_browse_row_height`, `sfo_browse_rows_per_page`, `sfo_browse_title_multiline`, `sfo_browse_autoresize_columns`, `sfo_browse_sql`, `sfo_javascript`, `sfo_browse_javascript`, `sfo_edit_javascript`, `sfo_style`, `sfo_mobile_view`, `sfo_json`) VALUES
('nuform', 'browseedit', 'nuform', 'nuBuilder Form', '#sfo_code#|New', 'zzzzsys_form', 'zzzzsys_form_id', '', 0, 40, '1', NULL, 'SELECT * FROM zzzzsys_form\nINNER JOIN #TABLE_ID# ON zzzzsys_form_id = theid\nORDER BY sfo_code\n', 'function colorObjectTypes() {\n\n // Color Types\n $(\'select[id$=sob_all_type]\').find(\'option\').each(function(index, element) {\n $(element).addClass(\'nu_\' + element.value);\n });\n\n $(\'select[id$=sob_all_type]\').each(function(index, element) {\n\n $(element).removeClass();\n $(element).addClass(\'nu_\' + element.value);\n });\n\n}\n\nfunction nuSetControlsVisibility() {\n\n var pb = \'previewbrowse\';\n var pe = \'previewedit\';\n var js = \'sfo_javascript\';\n\n var bb = \'bb_event\';\n var be = \'be_event\';\n var bs = \'bs_event\';\n var as = \'as_event\';\n var bd = \'bd_event\';\n var ad = \'ad_event\';\n\n nuEnable([pb, pe, bb, be, bs, as, bd, ad, js]);\n\n var t = String($(\'#sfo_type\').val());\n\n if (t == \'browseedit\') {\n nuEnable([\'js_edit\', \'js_browse\', \'js_browse_edit\']);\n } else\n if (t == \'browse\') {\n nuDisable([pe, be, bs, as, bd, ad, \'js_edit\']);\n nuEnable([\'js_browse\', \'js_browse_edit\']);\n } else\n if (t == \'edit\') {\n nuDisable([pb, pb, bb, \'js_browse\']);\n nuEnable([\'js_edit\', \'js_browse_edit\']);\n } else\n if (t == \'launch\') {\n nuDisable([pb, bb, bs, as, bd, ad, \'js_browse\', \'js_edit\']);\n nuEnable(\'js_browse_edit\');\n } else\n if (t == \'subform\') {\n nuDisable([pb, bb, be, bs, as, bd, ad, js, \'js_browse\', \'js_edit\', \'js_browse_edit\']);\n $(\'#js_browse_edit\').html(\'Launch\');\n }\n\n for (let i = 1; i <= 3; i++) {\n nuShow(\'nuTab\' + i, t !== \'subform\' || i == 1);\n }\n\n}\n\nfunction afterinsertrowObjects() {\n colorObjectTypes();\n}\n\nfunction JsMod(i) {\n\n var js = $(\'#\' + i);\n\n js.css(\'padding\', \'3px 3px 3px 3px\')\n\n if (js.val() !== \'\') {\n $(\'#nuTab2\').css(\'font-weight\', \'bold\');\n }\n\n js.addClass(\'js\');\n\n}\n\nif (nuFormType() == \'edit\') {\n\n $(\'#sfo_code_snippet_sql_lookupbutton\').on(\'click\', function() {\n nuSetSnippetFormFilter(0, 0, 1, 0); // Custom Code\n });\n\n $(\'#sfo_code_snippet_lookupbutton\').on(\'click\', function() {\n nuSetSnippetFormFilter(1, 0, 0, 0); // SQL\n });\n\n colorObjectTypes();\n\n $(\'#title_objformbtnOpenDetails\').html(nuTranslate(\'Details\'));\n\n nuHide(\'sfo_code_snippet_lookupcode\');\n nuHide(\'sfo_code_snippet_sql_lookupcode\');\n nuHide(\'label_sfo_browse_sql\');\n\n nuSetPlaceholder(\'sfo_javascript\', \'JavaScript\');\n nuSetPlaceholder(\'sfo_browse_javascript\', \'JavaScript\');\n nuSetPlaceholder(\'sfo_edit_javascript\', \'JavaScript\');\n\n $(\'#title_zzzzsys_tab_sfsyt_help\').attr(\'id\', \'help_title\');\n $(\"[id$=\'syt_help\']\").addClass(\'js\');\n\n nuAttachButtonImage(\'previewbrowse\', \'PB\',\'nuButtonImageSmall\');\n nuAttachButtonImage(\'previewedit\', \'PE\',\'nuButtonImageSmall\');\n nuAttachButtonImage(\'bb_event\', \'BB\',\'nuButtonImageSmall\');\n nuAttachButtonImage(\'be_event\', \'BE\',\'nuButtonImageSmall\');\n nuAttachButtonImage(\'bs_event\', \'BS\',\'nuButtonImageSmall\');\n nuAttachButtonImage(\'as_event\', \'AS\',\'nuButtonImageSmall\');\n nuAttachButtonImage(\'bd_event\', \'BD\',\'nuButtonImageSmall\');\n nuAttachButtonImage(\'ad_event\', \'AD\',\'nuButtonImageSmall\');\n nuAttachButtonImage(\'icon_js\', \'JS\');\n nuAttachButtonImage(\'icon_sql\', \'SQL\');\n nuAttachButtonImage(\'icon_php\', \'PHP\');\n nuAttachButtonImage(\'icon_style\', \'CSS\');\n\n JsMod(\'sfo_edit_javascript\');\n JsMod(\'sfo_browse_javascript\');\n JsMod(\'sfo_javascript\');\n\n nuHide(\'sfo_edit_javascript\');\n nuHide(\'sfo_browse_javascript\');\n nuHide(\'sfo_style\'); \n\n $(\'#sfo_style\').addClass(\'css\');\n \n $(\'#sfo_browse_sql\').addClass(\'sql\').css(\'font-size\', 10);\n\n if (!nuIsNewRecord()) {\n nuUpdateAclCount();\n }\n\n default_description();\n\n // Add ACE event handlers\n $(\'.js\').dblclick(function() {\n nuOpenAce(\'JavaScript\', this.id);\n });\n\n $(\'.sql\').dblclick(function() {\n nuOpenAce(\'SQL\', this.id);\n });\n\n $(\'.html\').dblclick(function() {\n nuOpenAce(\'HTML\', this.id);\n });\n\n $(\'.css\').dblclick(function() {\n nuOpenAce(\'CSS\', this.id);\n });\n\n nuUpdateDisplayDatalists();\n\n nuTypeChanged();\n\n let js = nuGetProperty(\'js\');\n if (js !== undefined) {\n let js_button = nuGetProperty(\'js_button\');\n nuJSSelectCustomCode(\'#\' + js_button, js);\n } else {\n if ($(\'#sfo_javascript\').val() == \'\' && $(\'#sfo_edit_javascript\').val() == \'\' && $(\'#sfo_browse_javascript\').val() !== \'\') {\n nuJSSelectCustomCode(\'#js_browse\', \'sfo_browse_javascript\');\n } else if ($(\'#sfo_javascript\').val() == \'\' && $(\'#sfo_browse_javascript\').val() == \'\' && $(\'#sfo_edit_javascript\').val() !== \'\') {\n nuJSSelectCustomCode(\'#js_edit\', \'sfo_edit_javascript\');\n } else {\n nuJSSelectCustomCode(\'#js_browse_edit\', \'sfo_javascript\');\n }\n }\n\n nuHighlightJSButtons();\n\n\n} else { // FormType() = browse\n\n $(\"[data-nu-column=\'1\']\").each(function() {\n $(this).addClass(\'nu_\' + this.textContent);\n });\n\n // Adjust Padding-Top for Preview Button\n $(\"[data-nu-column=\'0\']\").each(function() {\n $(this).css(\'padding-top\', \'2px\');\n });\n\n addRowButtons(0);\n\n}\n\nif (window.filter == \'justjs\') {\n\n $(\'#nuDeleteButton\').remove();\n $(\'#nuCloneButton\').remove();\n $(\'#nuTab0\').remove();\n $(\'#nuTab1\').remove();\n $(\'#nuTab2\').click();\n $(\'#nuTab2\').remove();\n\n nuSetTitle($(\'#sfo_description\').val());\n\n}\n\n\n$(\'#user_home\')\n .css({\n \'color\': \'white\',\n \'font-size\': 13,\n \'display\': \'inline\',\n \'border-style\': \'solid\',\n \'height\': 30,\n \'text-shadow\': \'0 1px 2px #9AB973\',\n \'border-color\': \'#9AB973\',\n \'border-width\': \'0px 0px 1px 0px\',\n \'background-color\': \'#88cb51\'\n });\n\nfunction nuTypeChanged() {\n\n var t = String($(\'#sfo_type\').val());\n\n var pb = \'previewbrowse\';\n var pe = \'previewedit\';\n\n var bb = \'bb_event\';\n var be = \'be_event\';\n var bs = \'bs_event\';\n var as = \'as_event\';\n var bd = \'bd_event\';\n var ad = \'ad_event\';\n\n nuEnable([pb, pe, bb, be, bs, as, bd, ad]);\n\n if (t == \'browse\') {\n nuDisable([pe, be, bs, as, bd, ad]);\n } else\n if (t == \'edit\') {\n nuDisable([pb, pb, bb]);\n } else\n if (t == \'launch\') {\n nuDisable([pb, bb, bs, as, bd, ad]);\n } else\n if (t == \'subform\') {\n nuDisable([pb, bb, be, bs, as, bd, ad]);\n nuDisable(\'sfo_javascript\');\n }\n\n var h = $(\'#sfo_type\').addClass(\'nuEdited\');\n\n var o = [];\n o.browse = [0, 1, 2];\n o.edit = [0, 2];\n o.browseedit = [0, 1, 2];\n o.launch = [0, 2];\n o.subform = [0, 1];\n\n $(\'#sfo_type\').removeClass();\n $(\'#sfo_type\').addClass(\'nu_\' + $(\'#sfo_type\').val());\n\n if (h) {\n $(\'#sfo_type\').addClass(\'nuEdited\');\n }\n\n $(\"#sfo_type > option\").each(function() {\n $(this).addClass(\'nu_\' + this.value);\n });\n\n for (var i = 0; i < 7; i++) {\n $(\'#nuTab\' + i).removeClass(\'nuRelatedTab\');\n }\n\n t = o[$(\'#sfo_type\').val()];\n if (t !== undefined) {\n\n for (i = 0; i < t.length; i++) {\n $(\'#nuTab\' + t[i]).addClass(\'nuRelatedTab\');\n }\n\n }\n\n nuSetControlsVisibility();\n\n}\n\nfunction nuEventList() {\n\n if ($(\'sob_all_type\').val() == \'subform\') {\n return [\'onchange\', \'onadd\'];\n } else {\n return [\'onblur\', \'onchange\', \'onfocus\', \'onkeydown\'];\n }\n\n}\n\n\nfunction onDisplayBlur(event) {\n\n var id = event.target.id;\n \n var obj;\n obj = nuSubformRowObject(id, \'sbr_display\');\n var dispValue = obj.val();\n if (dispValue !== \'\' && (dispValue.charAt(3) == \'_\' || dispValue.charAt(2) == \'_\')) {\n\n let idx = dispValue.indexOf(\'_\');\n if (idx == 2 || idx == 3) {\n dispValue = dispValue.substring(idx + 1);\n }\n\n const title = dispValue.replaceAll(\'_\', \' \').capitalise().toTitleCase();\n\n let objTitle = nuSubformRowObject(id, \'sbr_title\');\n if (objTitle.val() == \'\') objTitle.val(title).change();\n }\n\n}\n\nfunction onTitleDisplayChanged(event) {\n\n var obj;\n var id = event.target.id;\n\n if (nuSubformRowObject(id, \'sbr_display\').val().trim() == \'\' && nuSubformRowObject(id, \'sbr_title\').val().trim()) return;\n\n obj = nuSubformRowObject(id, \'sbr_width\');\n if (obj.val() == \'\') obj.val(100).change();\n\n obj = nuSubformRowObject(id, \'sbr_align\');\n if (obj.prop(\"selectedIndex\") < 2) obj.prop(\"selectedIndex\", 1).change();\n\n obj = nuSubformRowObject(id, \'sbr_order\');\n if (obj.val() == \'\') {\n\n var max = 0;\n $(\'[data-nu-field=sbr_order]\').each(function() {\n var v = parseInt($(this).val());\n max = (v > max) ? v : max;\n });\n\n obj.val(max + 10).change();\n }\n\n}\n\nfunction onTabsTitleChanged(event) {\n\n var obj;\n var id = event.target.id;\n\n if (nuSubformRowObject(id, \'syt_title\').val().trim() == \'\' && nuSubformRowObject(id, \'syt_title\').val().trim()) return;\n\n obj = nuSubformRowObject(id, \'syt_order\');\n if (obj.val() == \'\') {\n\n var max = 0;\n $(\'[data-nu-field=syt_order]\').each(function() {\n var v = parseInt($(this).val());\n max = (v > max) ? v : max;\n });\n\n obj.val(max + 10).change();\n }\n\n}\n\nfunction default_description() {\n\n var s = \'zzzzsys_browse_sf\';\n var r = nuSubformObject(s).rows.length - 1;\n var o = s + nuPad3(r) + \'sbr_title\';\n\n nuSetPlaceholder(o, \'Something\');\n\n}\n\nfunction nuUpdateAclCount() {\n var l = $(\"[data-nu-field=\'slf_zzzzsys_access_id\']\").length - 2;\n var t = l <= 0 ? \'\' : \' (\' + l + \')\';\n $(\'#nuTab3\').html(nuTranslate(\'Access Levels\') + t);\n}\n\n\nfunction nuSelectBrowseMainForm(e, t) {\n // If a button is clicked, don\'t open the Edit Screen. \n var col = $(e.target).attr(\'data-nu-column\');\n if (col !== \'0\' && typeof col !== \"undefined\") {\n var r = $(e.target).attr(\'data-nu-primary-key\');\n nuForm(\'nuform\', r, \'\', \'\', 0);\n }\n\n return false;\n}\n\n\nfunction nuSelectBrowseNew(e, t) {\n if (nuMainForm()) {\n nuSelectBrowseMainForm(e, t);\n } else {\n _nuSelectBrowse(e, t);\n }\n}\n\n\nif (nuFormType() == \'browse\') {\n\n if (!nuMainForm()) {\n nuSetBrowseColumnSize(0, 0);\n } // Hide Preview\n\n var _nuSelectBrowse = window.nuSelectBrowse;\n var nuSelectBrowse = function(e, t) {\n nuSelectBrowseNew(e, t);\n };\n\n $(\"[data-nu-column=\'1\']\").addClass(\'nuCellColored\');\n\n}\n\nfunction createButton(target, pk, formType) {\n\n var btn = $(\"<button id=\'nuPreviewButton\' type=\'button\' data-form-type=\'\" + formType + \"\' class=\'nuActionButton\'><i class=\'fa fa-search\'></i> </button>\");\n\n $(target).html(btn).attr(\'title\', nuTranslate(\'Preview Form\'));\n btn.on(\'click\', function() {\n const ft = $(this).attr(\"data-form-type\");\n const r = ft == \'launch\' || ft == \'edit\' || ft == \'subform\' ? \'-1\' : \'\';\n nuForm(pk, r, \'\', \'\');\n });\n}\n\nfunction addRowButtons(column) {\n\n $(\"[data-nu-column=\'\" + column + \"\']\").each(function(index) {\n\n var pk = $(this).attr(\'data-nu-primary-key\');\n var r = $(this).attr(\'data-nu-row\');\n var formType = $(\'#nucell_\' + r + \'_1\').html();\n\n if (typeof pk !== \"undefined\") {\n createButton(this, pk, formType);\n }\n })\n\n}\n\nfunction nuUpdateDisplayDatalists(i) {\n var a = nuFORM.SQLFields($(\'#sfo_browse_sql\').val());\n\n var selector = i === undefined ? \"[id$=\'sbr_display\']\" : \"#\" + i;\n\n $(selector).each(function() {\n nuAddDatalist($(this).attr(\'id\'), a);\n });\n}\n\nfunction nuBeforeSave() {\n\n var dupDisplay = nuSubformColumnUnique(\'zzzzsys_browse_sf\', \'sbr_display\', \'Display (Browse)\');\n\n if (dupDisplay !== true) {\n\n nuMessage(dupDisplay);\n return false;\n }\n\n return true;\n\n}\n\nfunction nuJSSelectCustomCode(t, obj) {\n\n $(\'[data-custom-code-textarea-button]\').removeClass(\'nuButtonSelected\');\n $(t).addClass(\'nuButtonSelected\');\n nuSetProperty(\'js\', obj);\n nuSetProperty(\'js_button\', $(t).attr(\'id\'));\n\n $(\'[data-custom-code-textarea]\').nuHide();\n nuShow(obj);\n\n nuHighlightJSButtons()\n\n}\n\nfunction nuHighlightJSButtons() {\n\n $(\'#js_edit\').toggleClass(\'nuButtonHighlighted\', $(\'#sfo_edit_javascript\').val() !== \'\');\n $(\'#js_browse\').toggleClass(\'nuButtonHighlighted\', $(\'#sfo_browse_javascript\').val() !== \'\');\n $(\'#js_browse_edit\').toggleClass(\'nuButtonHighlighted\', $(\'#sfo_javascript\').val() !== \'\');\n $(\'#css_style\').toggleClass(\'nuButtonHighlighted\', $(\'#sfo_style\').val() !== \'\');\n \n}', NULL, 'if ($(\'#zzzzsys_tab_sf000syt_access\').val() !== \'\') {\n nuMessage(nuTranslate(\'The first tab must not be set to hidden\'));\n}\n\nfunction nuDisplayObjectRefreshed(obj) {\n\n let v = nuGetValue(obj);\n if (v != \'\' && sfo_primary_key.value !== v) {\n nuSetValue(\'sfo_primary_key\',v);\n }\n}\n\nnuAccessFormSetButtonIcons();', NULL, '1', NULL),
('nuformat', 'browseedit', 'nuformat', 'Input Formats', NULL, 'zzzzsys_format', 'zzzzsys_format_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_format', '\n$(\'#sign\').css(\'font-style\', \'bold\').css(\'font-size\', 18);\n$(\'#separator\').css(\'font-style\', \'bold\').css(\'font-size\', 18);\n$(\'#decimal\').css(\'font-style\', \'bold\').css(\'font-size\', 18);\n$(\'#places\').css(\'font-style\', \'bold\').css(\'font-size\', 18);\n$(\'#srm_format\').addClass(\'nuReadonly\').css(\'font-size\', 22);\n\nnuSetFormatType();\n\n\nfunction nuAddToFormat(e){\n \n if($(\'#srm_type\').val() == \'Date\'){\n \n var v = String(e.target.innerHTML);\n \n if(v == \'Space\'){\n v = \' \';\n }\n \n $(\'#srm_format\').val($(\'#srm_format\').val() + v).change();\n \n }else{\n \n var si = $(\'#sign\').val();\n var se = $(\'#separator\').val();\n var pl = $(\'#places\').val();\n var de = Number(pl) > 0 ? $(\'#decimal\').val() : \'\';\n var cu = JSON.stringify([si,se,de,pl]);\n \n var space = si !== \'\' ? \' \' : \'\';\n $(\'#srm_format\').val(si + space + \'1\' + se + \'000\' + de + String(0).repeat(pl)).change();\n \n $(\'#srm_currency\').val(cu).change();\n\n }\n \n}\n\n\nfunction nuSetFormatType(a){\n\n nuHide(\'nucalculator\');\n nuHide(\'sign\');\n nuHide(\'separator\');\n nuHide(\'decimal\');\n nuHide(\'places\');\n \n if(arguments.length == 1){\n $(\'#srm_format\').val(\'\');\n }\n \n if($(\'#srm_type\').val() == \'Date\'){\n \n if(arguments.length == 1){\n $(\'#srm_format\').val(\'\');\n }\n \n nuShow(\'nucalculator\');\n }\n \n if($(\'#srm_type\').val() == \'Number\'){\n\n if(arguments.length == 1){\n $(\'#srm_format\').val(\'1000\');\n nuAddToFormat();\n }\n \n nuShow(\'sign\');\n nuShow(\'separator\');\n nuShow(\'decimal\');\n nuShow(\'places\');\n \n }\n\n}\n\n\n\n', NULL, NULL, NULL, '1', NULL),
('nufrlaunch', 'launch', 'nufrlaunch', 'Fast Report', NULL, '', '', '', 0, 0, '0', NULL, '', '\n$(\'#wrdaddable\').css({\'font-size\' : 14, \'font-weight\' : 700, \'padding\' : 5}).addClass(\'nuTabHolder\');\n$(\'#frwrd\').css({\'font-size\' : 14, \'font-weight\' : 700, \'padding\' : 5}).addClass(\'nuTabHolder\');\n$(\'#nufr\').css({\'text-align\' : \'left\', \'height\' : 410, \'background-color\': \'#ebebeb\'});\n\n$(\'#list\').addClass(\'nuScroll\').removeClass(\'nuReadonly\');\n\n$(\'.nuActionButton\').hide();\nnuAddActionButton(\'nuRunPHPHidden\', \'Build Fast Report\', \'nuRunPHPHidden(\"RUNFR\")\');\n\n\nfunction nuAddReportField(t){\n\n var f = nuPad3($(\"[data-nu-label=\'Field Name\']\").length - 1);\n\n $(\'#fast_report_sf\' + f + \'field\').val($(t).html()).change();\n $(\'#fast_report_sf\' + f + \'width\').val(100).change();\n $(\'#fast_report_sf\' + f + \'sum\').val(\'no\').change();\n $(\'#fast_report_sf\' + f + \'title\').val($(t).html()).change().select();\n \n}\n\n\nfunction nuBeforeSave(){\n \n if($(\'#table\').val() === \'\'){\n \n nuMessage([\'<b>Table Data</b>\', nuTranslate(\'Cannot be left blank...\')])\n return false;\n \n }\n \n \n if($(\'#orderby\').val() === \'\'){\n \n nuMessage([\'<b>Order By</b>\', nuTranslate(\'Cannot be left blank...\')])\n return false;\n \n }\n \n nuBuildFastReport();\n \n return true;\n \n}\n\n', NULL, NULL, NULL, NULL, NULL),
('nuhome', 'launch', 'nuhome', 'Home', NULL, '', '', '', 0, 0, '0', NULL, '', '$(\'#user_home\').addClass(\'nuUserHomeButton\');\n$(\'.nuActionButton\').hide();\n$(\'#open_database\').attr(\'title\', \'PHPMyAdmin\')\n\nnuGetStartingTab();\n\n// Change the button height to 45px for certain languages:\nvar l = nuUserLanguage();\nif (l == \'Vietnamese\' || l == \'Armenian\' || l == \'Tamil\') {\n $(\'.nuButton\').css(\'height\', \'45\');\n} else if (l == \'Portuguese\') {\n $(\'.nuButton\').css(\'height\', \'38\');\n}\n\nif (nuSERVERRESPONSE.is_demo) {\n $(\'#run_session\').remove();\n}', NULL, '', '.nuButton {\n padding-left: 15px;\n}', '1', NULL),
('nulaunchable', 'browse', 'nulaunchable', 'Launchable Forms', NULL, 'zzzzsys_form', 'zzzzsys_form_id', '', 0, 16, '0', NULL, 'SELECT * FROM zzzzsys_form\nWHERE sfo_type IN (\'edit\', \'browseedit\', \'launch\')\nAND (\n SUBSTRING(zzzzsys_form_id, 1, 2) != \'nu\'\n OR zzzzsys_form_id = \'nublank\'\n OR zzzzsys_form_id = \'nuuserhome\'\n )\nORDER BY sfo_code\n', '$(\'#sfo_breadcrumb_title\').addClass(\'sql\');\n$(\'#sfo_browse_sql\').addClass(\'sql\');\n$(\'#sfo_javascript\').addClass(\'js\');\n\nnuSetTitle($(\'#sfo_table\').val());\n\n$(\'.js\').dblclick(function() {\n nuOpenAce(\'Javascript\', this.id);\n});\n\n$(\'.sql\').dblclick(function() {\n nuOpenAce(\'SQL\', this.id);\n});\n\n$(\'.html\').dblclick(function() {\n nuOpenAce(\'HTML\', this.id);\n});\n\n$(\'.php\').dblclick(function() {\n nuOpenAce(\'PHP\', this.id);\n});\n\nif(window.filter == \'justjs\'){\n \n $(\'#nuDeleteButton\').remove();\n $(\'#nuCloneButton\').remove();\n $(\'#nuTab0\').remove();\n $(\'#nuTab1\').remove();\n $(\'#nuTab2\').click();\n $(\'#nuTab2\').remove();\n \n nuSetTitle($(\'#sfo_description\').val());\n \n}\n\n\n\nfunction nuFormColor(){\n\n var t = String($(\'#sfo_type\').val());\n\n var pb = \'previewbrowse\';\n var pe = \'previewedit\';\n\n var bb = \'bb_event\';\n var be = \'be_event\';\n var bs = \'bs_event\';\n var as = \'as_event\';\n var bd = \'bd_event\';\n var ad = \'ad_event\';\n \n if(t == \'browse\'){\n nuDisable([pe, be, bs, as, bd, ad]);\n }\n \n if(t == \'edit\'){\n nuDisable([pb, bb]);\n }\n\n if(t == \'launch\'){\n nuDisable([pb, bb, as, as, bd, ad]);\n }\n \n if(t == \'subform\'){\n nuDisable([pb, bb, be, bs, as, bd, ad, \'sfo_javascript\']);\n }\n\n var h = $(\'#sfo_type\').addClass(\'nuEdited\');\n \n var o = [];\n o.browse = [0,1,2];\n o.edit = [0,2];\n o.browseedit = [0,1,2];\n o.launch = [0,2];\n o.subform = [0,1];\n \n $(\'#sfo_type\').removeClass();\n $(\'#sfo_type\').addClass(\'nu_\'+$(\'#sfo_type\').val());\n \n if(h){\n $(\'#sfo_type\').addClass(\'nuEdited\');\n }\n \n $(\"#sfo_type > option\").each(function() {\n $(this).addClass(\'nu_\'+this.value);\n });\n\n for(let i = 0 ; i < 7 ; i++){\n $(\'#nuTab\' + i).removeClass(\'nuRelatedTab\');\n }\n \n const oType = o[$(\'#sfo_type\').val()];\n\n if(oType !== undefined){\n \n for(let i = 0 ; i < t.length ; i++){\n $(\'#nuTab\' + oType[i]).addClass(\'nuRelatedTab\'); \n }\n \n }\n \n}\n\nnuFormColor();\n\n$(\"[data-nu-column=\'nucolumn000\']\").each(function() {\n $(this).addClass(\'nu_\'+this.textContent);\n});\n\nfunction nuEventList(){\n \n if($(\'sob_all_type\').val() == \'subform\'){\n return [\'onchange\',\'onadd\'];\n }else{\n return [\'onblur\',\'onchange\',\'onfocus\',\'onkeydown\'];\n }\n \n}\n\n\n', NULL, NULL, NULL, NULL, NULL),
('nulaunchdates', 'launch', 'nulaunchdates', 'Between 2 Dates', NULL, '', '', '', 0, 0, '0', NULL, '', '\nnuSetTitle(nuFORM.getCurrent().run_description);', NULL, NULL, NULL, NULL, NULL),
('nulaunchform', 'browse', 'nulaunchform', 'nuBuilder non-System Forms', NULL, 'zzzzsys_form', 'zzzzsys_form_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_form\nWHERE sfo_type != \'subform\' AND zzzzsys_form_id != \'nuhome\'\nORDER BY sfo_code\n', '$(\"[data-nu-column=\'0\']\").each(function() {\n $(this).addClass(\'nu_\'+this.textContent);\n});\n\n$(\'#nuAddButton\').remove();\n$(\'#nuPrintButton\').remove();\n\n', NULL, NULL, NULL, NULL, NULL),
('nunonsystemform', 'browse', 'nunonsystemform', 'nuBuilder non-System Forms', NULL, 'zzzzsys_form', 'zzzzsys_form_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_form\nWHERE ((zzzzsys_form_id NOT LIKE \'nu%\' AND sfo_type != \'subform\')\nOR zzzzsys_form_id IN (\'nuaccess\', \'nuuser\', \'nulaunchdates\', \'nutranslate\', \'nupassword\', \'nufile\', \'nuuserhome\', \'nublank\', \'nurunreport\'))\nORDER BY sfo_code', '$(\"[data-nu-column=\'0\']\").each(function() {\n $(this).addClass(\'nu_\'+this.textContent);\n});\n\n$(\'#nuAddButton\').remove();\n$(\'#nuPrintButton\').remove();\n\n', NULL, NULL, NULL, NULL, NULL),
('nunotes', 'browseedit', 'nunotes', 'Notes', '#not_title#|New', 'zzzzsys_note', 'zzzzsys_note_id', '', 0, 0, '0', NULL, 'SELECT\n zzzzsys_note.*, noc_name\nFROM\n zzzzsys_note\nLEFT JOIN zzzzsys_note_category ON not_zzzzsys_note_category_id = zzzzsys_note_category.zzzzsys_note_category_id\nORDER BY\n not_title ASC', NULL, NULL, 'nuHide(\'label_not_title\');\nnuSetPlaceholder(\'not_title\', nuTranslate(\'Title\'));\n\nnuHide(\'label_not_zzzzsys_note_category_id\');\nnuSetPlaceholder(\'not_zzzzsys_note_category_idcode\', nuTranslate(\'Category\'));\n\nhandleKeys();\n\nfunction handleKeys() {\n\n $(\'#not_title\').on(\'keydown\', function(evt) {\n if (evt.key === \'Enter\') {\n evt.preventDefault(); \n\n $(\'.ql-editor\').focus();\n\n let tinyB = tinyMCE.get(\'not_content_container\').getBody();\n if (tinyB !== null) tinyB.focus();\n\n }\n });\n\n}\n\n', '', '', NULL),
('nunotescategroy', 'browseedit', 'nunotescategory', 'Category', NULL, 'zzzzsys_note_category', 'zzzzsys_note_category_id', '', 0, 15, '0', NULL, 'SELECT * FROM zzzzsys_note_category\nORDER BY noc_name', 'nuHide(\'nuPrintButton\');', NULL, NULL, NULL, '1', NULL),
('nuobject', 'browseedit', 'nuobject', 'Object', '#sob_all_id#|New', 'zzzzsys_object', 'zzzzsys_object_id', '', 0, 30, '1', NULL, 'SELECT * FROM zzzzsys_object\nJOIN #TABLE_ID# ON zzzzsys_object_id = theid\nJOIN zzzzsys_tab ON zzzzsys_tab_id = sob_all_zzzzsys_tab_id\nJOIN zzzzsys_form ON zzzzsys_form_id = syt_zzzzsys_form_id \n\nWHERE (\n (sob_all_type = \'#nuBrowseTitle0_select#\' OR \'#nuBrowseTitle0_select#\' = \'\' OR \'#nuBrowseTitle0_select#\' LIKE \'#%\' )\n AND\n (sob_input_type = \'#nuBrowseTitle1_select#\' OR \'#nuBrowseTitle1_select#\' = \'\' OR \'#nuBrowseTitle1_select#\' LIKE \'#%\' )\n)\n\nORDER BY sfo_description, sob_input_type, sob_all_id', NULL, 'var a = [[\"\",\"\"],[\"calc\",\"Calc\"],[\"display\",\"Display\"],[\"contentbox\",\"ContentBox\"],[\"editor\",\"WYSIWYG Editor\"],[\"html\",\"HTML\"],[\"image\",\"Image\"],[\"input\",\"Input\"],[\"lookup\",\"Lookup\"],[\"run\",\"Run\"],[\"select\",\"Select\"],[\"subform\",\"Subform\"],[\"textarea\",\"Textarea\"],[\"word\",\"Word\"]];\nnuAddBrowseTitleSelect(0, a);\n\n$(\'#nuBrowseTitle9_select\').parent().unbind(\"touchstart\");\n\na = [[\"\",\"\"],[\"nuDate\",\"nuDate\"],[\"nuNumber\",\"nuNumber\"],[\"nuScroll\",\"nuScroll\"],[\"nuAutoNumber\",\"nuAutoNumber\"],[\"button\",\"Button\"],\n [\"checkbox\",\"Checkbox\"],[\"color\",\"Color\"],[\"datetime-local\",\"Datetime-Local\"],[\"email\",\"Email\"],[\"file\",\"File\"],\n [\"image\",\"Image\"],[\"month\",\"Month\"],[\"number\",\"Number\"],[\"password\",\"Password\"],[\"radio\",\"Radio\"],[\"range\",\"Range\"],\n [\"reset\",\"Reset\"],[\"search\",\"Search\"],[\"tel\",\"Telephone\"],[\"text\",\"Text\"],[\"time\",\"Time\"],[\"url\",\"URL\"],[\"week\",\"Week\"]];\n\nnuAddBrowseTitleSelect(1, a);\n$(\'#nuBrowseTitle1_select\').parent().unbind(\"touchstart\");\n\n\n$(\"[data-nu-column=\'0\']\").each(function() {\n $(this).addClass(\'nu_\' + this.textContent).addClass(\'nuCellColored\');\n});\n\n\n$(\"[data-nu-column=\'4\']\").each(function() {\n $(this).html(stripHTMLTags($(this).html()).replace(/ /g, \' \').trim());\n});\n\n\nfunction stripHTMLTags(s) {\n return s == \'\' ? \'\' : s.replace(/<\\/?[^>]+(>|$)/g, \"\");\n}\n', 'if (! nuDevMode()) {\n nuHideTabById(\'nu61e9964c9bf5e13\'); // JSON\n}\n\n// Code Snippets form\nnuSetSnippetFormFilter(0, 0, 1, 0); // SQL\n\nnuHide(\'sob_code_snippet_display_lookupcode\');\nnuHide(\'sob_code_snippet_select_lookupcode\');\nnuHide(\'label_zzzzsys_event_sf\');\nnuHide(\'label_sob_html_code\');\nnuShow(\'sob_run_zzzzsys_form_open_button\', sob_run_zzzzsys_form_id.value !== \'\');\nnuShow(\'sob_lookup_zzzzsys_form_open_button\', sob_lookup_zzzzsys_form_id.value !== \'\');\nnuDisplayInputIcon();\n\n\nnuDisable(\'sob_calc_formula\');\nnuSetToolTip(\'sob_all_id_create_button\', nuTranslate(\'Add database column\'));\n\nvar tabIdDescLeft = $(\'#sob_all_zzzzsys_tab_iddescription\').cssNumber(\'left\') + 11;\n$(\'#sob_all_zzzzsys_tab_iddescription\').css(\'left\', tabIdDescLeft + \'px\');\n\n$(\'#zzzzsys_event_sfsev_javascript\').attr(\'id\', \'jsfuntitle\');\n$(\'#sob_calc_formula\').addClass(\'nuCalculatorCurrency\').css(\'font-size\', 12);\n$(\'#sob_all_display_condition\').addClass(\'sql\');\n$(\'#sob_all_default_value_sql\').addClass(\'sql\');\n$(\'#sob_display_sql\').addClass(\'sql\');\n$(\'#sob_input_datalist\').addClass(\'sql\');\n$(\'#sob_select_sql\').addClass(\'sql\');\n$(\'#sob_lookup_javascript\').addClass(\'js\');\n$(\'#sob_input_javascript\').addClass(\'js\');\n$(\'#sob_html_javascript\').addClass(\'js\');\n$(\'#sob_lookup_php\').addClass(\'php\');\n$(\'#sob_html_code\').addClass(\'html\');\n$(\'#sob_all_style\').addClass(\'css\');\n$(\'#sob_input_attribute\').addClass(\'css\');\n$(\"[id$=\'sev_javascript\']\").addClass(\'js\');\n$(\"#title_zzzzsys_event_sfsev_javascript\").removeClass(\'js\');\n$(\'#sob_run_zzzzsys_form_open_button\').toggleClass(\'input_button nuButton nuLookupButton\');\n$(\'#sob_lookup_zzzzsys_form_open_button\').toggleClass(\'input_button nuButton nuLookupButton\');\n$(\'#sob_subform_zzzzsys_form_open_button\').toggleClass(\'input_button nuButton nuLookupButton\');\n$(\'#sob_all_type_open_button\').toggleClass(\'input_button nuButton nuLookupButton\');\n\nnuPreviewIcon(\'sob_input_icon_preview_html\',nuGetValue(\'sob_input_icon\'));\n\n\n$(\'#sob_select_sql\').focus(function() {\n $(this).attr(\'placeholder\', \'1. SQL: A valid SQL query that returns 2 columns:\\n\\n SELECT table_id, description FROM table\\n\\nOr:\\n\\n2. List: A list delimited by a |\\n\\n1|First|\\n2|Second|\\n3|Third\');\n}).blur(function() {\n $(this).attr(\'placeholder\', \'\');\n});\n\n$(\'#nuTab8\').click(function() {\n nuTestChart();\n});\n\nnuAttachButtonImage(\'icon_lujs\', \'LUJS\');\nnuAttachButtonImage(\'icon_html\', \'HTML\');\nnuAttachButtonImage(\'ab_event\', \'AB\',\'nuButtonImageSmall\');\n// nuAttachButtonImage(\'di_sql\', \'SQL\',\'nuButtonImageSmall\');\n// nuAttachButtonImage(\'se_sql\', \'SQL\',\'nuButtonImageSmall\');\n\n$(\'#viewflowchart\')\n .css(\'padding\', \'46px 0px 0px 3px\')\n .css(\'text-align\', \'left\')\n .css(\'background-size\', \'75px\');\n\n\nif ($(\'#zzzzsys_event_sf000sev_event\').val() !== \'\') {\n $(\'#nuTab10\').css(\'font-weight\', \'bold\');\n}\n\nnuInputTypeChanged(nuGetValue(\'sob_input_type\'));\nnuHideCalcObjects();\nnuPopulateHTML();\nnuAddDataListToRunId();\n\n$(\"button[id*=\'_btn_\']\").addClass(\'nuQuickButton\').removeClass(\'input_button nuButton\');\n\nvar filter = String(window.filter).split(\'|\');\n\nif (filter[0] == \'fromfastform\') {\n\n $(\'#nuDeleteButton\').remove();\n $(\'#nuCloneButton\').remove();\n $(\'#nuSaveButton\').remove();\n $(\'#sob_all_id\').val(filter[1]).addClass(\'nuHighlight\');\n $(\'#sob_all_label\').val(filter[2]).addClass(\'nuHighlight\');\n\n}\n\n$(\'.js\').dblclick(function() {\n nuOpenAce(\'JavaScript\', this.id);\n});\n$(\'.sql\').dblclick(function() {\n nuOpenAce(\'SQL\', this.id);\n});\n$(\'.html\').dblclick(function() {\n nuOpenAce(\'HTML\', this.id);\n});\n$(\'.php\').dblclick(function() {\n nuOpenAce(\'PHP\', this.id);\n});\n$(\'.css\').dblclick(function() {\n nuOpenAce(\'CSS\', this.id);\n});\n\nnuHide(\'sob_input_format\');\nvar sit = nuGetValue(\'sob_input_type\');\nnuShow(\'sob_input_format\', sit == \'nuDate\' || sit == \'nuNumber\');\nnuShow(\'sob_input_javascript\', sit == \'nuScroll\');\n\nnuObjectColor();\nnuGetStartingTab();\n\n\nif (!nuIsNewRecord()) {\n\n nuMaximiseParentifDragOptionsBox();\n nuDisplayIncHeightButtons();\n nuShowDataType();\n\n} else {\n\n nuSetValue(\'sob_all_top\', 0);\n nuSetValue(\'sob_all_left\', 60);\n nuSetValue(\'sob_all_height\', 22);\n nuSetValue(\'sob_all_width\', 100);\n nuSetValue(\'sob_all_validate\',0);\n nuSetValue(\'sob_all_access\',0);\n nuSetValue(\'sob_all_align\',\'left\');\n nuSetValue(\'sob_all_cloneable\',\'1\');\n\n nuHide(\'sob_all_type_open_button\');\n nuHide(\'sob_all_type_input\'); \n nuHide(\'sob_all_id_create_button\');\n\n if (nuIsIframe()) {\n let pTab = nuSelectedTabId(parent);\n if (pTab !== null) {\n nuGetLookupId(pTab, \'sob_all_zzzzsys_tab_id\', false);\n } else {\n if (nuGetValue(\'sob_all_zzzzsys_tab_id\') === \'\' && parent.nuCurrentProperties().form_code == \'nuuserhome\') {\n nuGetLookupId(\'nufastforms\', \'sob_all_zzzzsys_tab_id\', false);\n }\n }\n $(\'#sob_all_label\').focus();\n nuSetValue(\'sob_all_type\', \'input\');\n nuSetValue(\'sob_input_type\', \'text\');\n }\n\n}\n\nnuUpdateLookupDescriptionDatalist();\nnuUpdateIdDatalist();\nrunMethodChanged();\nnuHasNotBeenEdited();\n\n\nfunction nuMaximiseParentifDragOptionsBox() {\n\n let db = parent.parent.$(\'.nuDragOptionsBox\');\n if (db.length === 0) return;\n \n let dd = db.parent(); // nuDragDialog\n let l = parseInt(dd.css(\'left\'), 10);\n \n if(l == 2) return; // already maximised\n \n let dt = db.nextAll(\'.nuDialogTitle\').find(\'#dialogTitleWords\');\n if (dt.length !== 0) {\n var e = {target: { id: \"dialogTitleWords\" }}\n parent.parent.nuResizeWindow(e);\n }\n\n}\n\nfunction nuColumnDataType(table, id) {\n\n let s = nuFORM.tableSchema[table];\n let i = -1;\n if (typeof s !== \"undefined\") {\n i = s.names.indexOf(id.val());\n }\n\n return i > -1 ? s.types[i] : \'\';\n\n}\n\nfunction nuShowDataType() {\n\n let id = $(\'#sob_all_id\');\n let iDataType = $(\'#sob_all_id_datatype\');\n\n let table = nuGetValue(\"sob_all_table\");\n let dataType = \'\';\n\n if (table !== \'\' && id.val() !== \'\') {\n dataType = nuColumnDataType(table, id);\n\n }\n\n iDataType.val(dataType);\n nuDisplayCreateButton();\n\n}\n\nfunction nuObjectNoId() {\n return [\'word\', \'html\', \'button\', \'run\', \'subform\', \'contentbox\'].indexOf(nuGetValue(\'sob_all_type\')) !== -1;\n}\n\nfunction nuDisplayCreateButton() {\n\n let dataType = nuColumnDataType(nuGetValue(\"sob_all_table\"), $(\'#sob_all_id\'));\n nuShow(\'sob_all_id_create_button\', dataType === \'\' && nuGetValue(\'sob_all_id\') !== \'\' && nuGetValue(\'sob_all_table\') !== \'\' && !nuObjectNoId());\n\n}\n\nfunction nuDisplayIncHeightButtons() {\n\n var showButtons = [\'html\', \'textarea\', \'subform\', \'image\', \'contentbox\'].indexOf(nuGetValue(\'sob_all_type\')) !== -1;\n\n $(\'[id^=sob_height_btn_set]\').nuShow(showButtons);\n}\n\n\nfunction nuTestChart() {\n\n let g = nuGetValue(\'sob_html_chart_type\');\n\n if (g === \'\' || nuGetValue(\'sob_all_type\') !== \'html\') {\n $(\'#google_chart\').html(\'\');\n return;\n }\n\n let c = \'ComboChart\';\n let t = nuGetValue(\'sob_html_title\');\n let x = nuGetValue(\'sob_html_vertical_label\');\n let y = nuGetValue(\'sob_html_horizontal_label\');\n let l = \'bars\';\n let s = false;\n\n let a = [\n [\'Month\', \'Shane\', \'Dave\', \'Adam\', \'Paul\', \'Chris\'],\n [\'2019\', 100, 200, 300, 400, 500],\n [\'2020\', 165, 238, 322, 498, 550],\n [\'2021\', 165, 938, 522, 998, 450],\n [\'2022\', 135, 1120, 599, 1268, 288]\n ];\n\n if (g == \'p\') c = \'PieChart\';\n if (g == \'l\') l = \'lines\';\n if (g == \'bh\') c = \'BarChart\';\n if (g == \'bhs\') c = \'BarChart\';\n if (g == \'bs\') s = true;\n if (g == \'bhs\') s = true;\n\n nuChart(\'google_chart\', c, a, t, x, y, l, s);\n\n}\n\nfunction nuChartOnReady(i, wrapper) {\n // let wrapper = window[\"google_chart_wrapper\"];\n var options = { seriesType: wrapper.m.seriesType, chartArea : {left:\"10%\", width:\"65%\"} };\n wrapper.setOptions(options);\n wrapper.draw(); \n}\n\nfunction nuAddDataListToRunId() {\n\n let arrRecordId = [\n [\" \", nuTranslate(\"Leave blank to open a Browse or Launch Form\")],\n [\"-1\", nuTranslate(\"Open a new Record\")],\n [\"#EXAMPLE_HASH_COOKIE#\", nuTranslate(\"Use a Hash Cookie\")]\n ];\n\n nuAddDatalist(\'sob_run_id\', arrRecordId);\n\n $(\'#sob_run_id\').on(\'input\', function() {\n if ($(this).val() == \' \') {\n $(this).val(\'\').change();\n }\n\n });\n\n}\n\nfunction nuObjectColor(){\n \n $(\'.nuValidate\').removeClass(\'nuValidate\');\n\n let e = $(\'#sob_all_type\').hasClass(\'nuEdited\');\n let o = [];\n\n o.run = 1;\n o.display = 2;\n o.select = 3;\n o.lookup = 4;\n o.subform = 5;\n o.image = 6;\n o.input = 7;\n o.html = 8;\n o.calc = 9;\n \n $(\'#sob_all_type\').removeClass();\n \n if(e){ //-- keep class if edited\n $(\'#sob_all_type\').addClass(\'nuEdited\');\n }\n \n $(\'#sob_all_type\').addClass(\'nu_\'+$(\'#sob_all_type\').val());\n \n $(\"#sob_all_type > option\").each(function() {\n $(this).addClass(\'nu_\'+this.value);\n });\n\n let t = o[$(\'#sob_all_type\').val()];\n \n $(\"[id^=\'nuTab\']\").removeClass(\'nuRelatedTab\');\n \n for(let i = 1 ; i < o.length ; i++){\n $(\'#nuTab\' + i).removeClass(\'nuRelatedTab\');\n }\n \n $(\'#nuTab0\').addClass(\'nuRelatedTab\');\n $(\'#nuTab\' + t).addClass(\'nuRelatedTab\');\n \n} \n\nfunction nuAddToFormula(e) {\n\n var fld = e.target.innerHTML;\n var frm = $(\'#sob_calc_formula\').val();\n\n if (fld == \'Clear\') {\n\n $(\'#sob_calc_formula\')\n .val(\'\')\n .addClass(\'nuEdited\');\n return;\n\n }\n\n $(\'#sob_calc_formula\')\n .addClass(\'nuEdited\')\n .val(frm + fld);\n\n nuHasBeenEdited();\n\n}\n\nfunction nuDisplayAllTypeInput() {\n\n let v = nuGetValue(\'sob_input_type\', \'text\');\n v = nuGetValue(\'sob_all_type\') == \'input\' ? v : \'\';\n $(\'#sob_all_type_input\').val(v);\n\n}\n\nfunction nuTypeChanged() {\n\n nuShow(\'sob_all_type_open_button\', sob_all_type.value !== \'\');\n nuShow(\'sob_all_type_input\', sob_all_type.value !== \'\'); \n \n nuObjectColor();\n nuDisplayCreateButton();\n nuDisplayIncHeightButtons();\n nuDisplayAllTypeInput();\n nuDisplayInputIcon();\n\n}\n\nfunction nuInputTypeChanged(t) {\n\n nuHide(\'sob_input_format\');\n nuHide(\'sob_input_count\');\n nuHide(\'sob_input_javascript\');\n nuHide(\'sob_input_datalist\');\n nuHide(\'sob_input_file_target\');\n\n\n if (t == \'nuScroll\') {\n nuShow(\'sob_input_javascript\');\n }\n \n if (t == \'file\') {\n nuShow(\'sob_input_file_target\');\n\n if (nuGetValue(\'sob_input_file_target\') == \'\') {\n nuSetValue(\'sob_input_file_target\',\'0\');\n }\n\n addFileUploadScript();\n } \n\n if (t == \'nuAutoNumber\') {\n\n nuShow(\'sob_input_count\');\n $(\'#sob_input_javascript\').val(\'\').addClass(\'nuEdited\');\n\n }\n\n if (t == \'nuDate\' || t == \'nuNumber\' || t == \'number\' || t == \'text\' || t == \'email\' || t == \'search\' || t == \'month\') {\n nuShow(\'sob_input_datalist\');\n if ($(\'#sob_input_datalist\').val() == \'\' && $(\'#sob_all_id_datatype\').val() !== \'\') {\n // $(\'#sob_input_datalist\').val(\"SELECT DISTINCT `\" + $(\"#sob_all_id\").val() + \"` FROM `\" + $(\'#sob_all_table\').val() + \"` ORDER BY 1\").change();\n }\n }\n\n if (t == \'nuDate\' || t == \'nuNumber\') {\n\n nuShow(\'sob_input_format\');\n\n $(\'#sob_input_format\').children().each(function(index) {\n\n $(this).show();\n\n if ($(this).val()[0] == \'D\' && t != \'nuDate\') {\n $(this).hide();\n }\n if ($(this).val()[0] == \'N\' && t != \'nuNumber\') {\n $(this).hide();\n }\n\n });\n\n }\n\n nuDisplayInputIcon(); \n nuDisplayAllTypeInput();\n\n}\n\n\nfunction nuDisplayInputIcon() {\n nuShow(\'sob_input_icon\', sob_input_type.value == \'button\' || sob_all_type.value == \'run\' || sob_all_type.value == \'word\');\n}\n\n\nfunction nuHideCalcObjects() {\n\n var f = $(\'#sob_all_zzzzsys_form_id\').val();\n\n $(\'#add_total\').children().each(function(index) {\n\n\n if ($(this).val() != f) {\n $(this).hide();\n }\n if ($(this).text() == $(\'#sob_all_id\').val()) {\n $(this).hide();\n }\n\n });\n\n}\n\n\nfunction nuAddCalcObject(t) {\n\n var f = $(\'#sob_calc_formula\').val();\n var i = $(t).attr(\'data-nu-ids\');\n var s = f + \"nuTotal(\'\" + i + \"\')\";\n\n if (i == \'\') {\n return;\n }\n\n $(\'#sob_calc_formula\')\n .addClass(\'nuEdited\')\n .val(s);\n\n $(\'#add_total\').val(\'\');\n\n nuHasBeenEdited();\n\n}\n\n\nfunction nuPopulateHTML() {\n\n var o = nuCalcObjects();\n var a = [];\n\n for (var i = 0; i < o.length; i++) {\n\n var ids = String(o[i].ids);\n var ty = o[i].type;\n var id = String(o[i].ids).split(\'.\');\n var sp = \' \';\n\n if (id.length == 1) {\n a.push(\'<tr><td><div title=\"\' + ty + \'\" style=\"overflow:hidden;width:305px;text-align:left;padding:2px\" onclick=\"nuAddCalcObject(this);\" class=\"nuCalculatorButton nu_\' + o[i].type + \'\" data-nu-ids=\"\' + ids + \'\">\' + ids + \'</div></td></tr>\');\n } else {\n\n var h = \'<span title=\"subform\" class=\"nu_subform\">\' + id[0] + \'</span>.<span title=\"\' + ty + \'\" class=\"nu_input\" style=\"padding:7px 5px 7px 5px\">\' + id[1] + sp.repeat(200) + \'</span>\';\n a.push(\'<tr><td><div style=\"overflow:hidden;width:305px;text-align:left;padding:2px;height:28px\" onclick=\"nuAddCalcObject(this);\" class=\"nuCalculatorButton nu_subform\" data-nu-ids=\"\' + ids + \'\">\' + h + \'</div></td></tr>\');\n\n }\n\n }\n\n $(\'#add_total\').html(\'<table>\' + a.join(\'\') + \'</table>\');\n\n}\n\n\nfunction nuSetSelectIndex(i, index) {\n\n $(\"#\" + i).prop(\"selectedIndex\", index).change();\n\n}\n\nfunction nuSetLookupWidth() {\n var w = $(\'#sob_lookup_description\').val() == $(\'#sob_lookup_code\').val() ? 0 : 150;\n var cw = $(\'#sob_lookup_description_width\').val();\n if (cw == 0 || cw == 150 || w == 0) $(\'#sob_lookup_description_width\').val(w).change();\n}\n\n\nfunction subFormRowsCount(subform, fieldname) {\n\n var sf = nuSubformObject(subform);\n var col = sf.fields.indexOf(fieldname);\n var c = 0;\n for (var row = 0; row < sf.rows.length; row++) {\n if (sf.deleted[row] == 0 && sf.rows[row][col].trim() != \'\') c++;\n }\n\n return c;\n\n}\n\nfunction nuBeforeSave() {\n\n runMethodChanged();\n adjustProperties();\n\n if ($(\'#sob_all_type\').val() == \'select\') {\n $(\'#sob_select_multiple\').addClass(\'nuEdited\');\n }\n\n $(\"#sob_all_event\").prop(\'checked\', subFormRowsCount(\'zzzzsys_event_sf\', \'sev_event\') > 0).change();\n\n}\n\nfunction adjustProperties() {\n\n let type = nuGetValue(\'sob_all_type\');\n let access = nuGetValue(\'sob_all_access\'); \n let validation = nuGetValue(\'sob_all_validate\'); \n let inputType = nuGetValue(\'sob_input_type\'); \n let inputFormat = nuGetValue(\'sob_input_format\');\n\n if (type !== \'input\') {\n if (inputType !== \'\') nuSetValue(\'sob_input_type\',\'\');\n if (inputFormat !== \'\') nuSetValue(\'sob_input_format\',\'\');\n }\n \n if (type.containsAny([\'word\', \'html\', \'image\', \'contentbox\', \'contentbox\'])) {\n if (validation !== \'0\') nuSetValue(\'sob_all_validate\', \'0\'); // validation --> none\n if (access == \'1\') nuSetValue(\'sob_all_access\', \'0\'); // readonly --> editable\n }\n\n if (type === \'word\') {\n if (access == \'1\') nuSetValue(\'sob_all_access\', \'0\'); // readonly --> editable\n if (validation !== \'0\') nuSetValue(\'sob_all_validate\', \'0\'); // validation --> none\n nuSetValue(\'sob_input_type\',\'\');\n nuSetValue(\'sob_input_format\',\'\');\n }\n \n if (type === \'display\') {\n if (access == \'1\') nuSetValue(\'sob_all_access\', \'0\'); // readonly --> editable\n }\n\n}\n\nfunction runMethodChanged() {\n\n var m = nuGetValue(\'sob_run_method\');\n nuEnable(\'sob_run_target\', m == \'b\');\n\n if ($(\'#sob_run_target\').prop(\"selectedIndex\") > 0 && m == \'b\') {\n return;\n }\n\n if (m == \'b\' || m == \'i\') {\n $(\'#sob_run_target\').prop(\"selectedIndex\", m == \'b\' ? 1 : 0).change();\n }\n\n}\n\nfunction nuOnClone() {\n nuHide(\'sob_all_id_create_button\');\n}\n\nfunction nuUpdateIdDatalist() {\n var t = nuFORM.tableSchema[nuGetValue(\"sob_all_table\")];\n nuAddDatalist(\'sob_all_id\', typeof t !== \"undefined\" ? t.names : []);\n}\n\nfunction nuUpdateLookupDescriptionDatalist() {\n let arr = nuFORM.tableSchema[nuGetValue(\"sob_lookup_table\")]?nuFORM.tableSchema[nuGetValue(\"sob_lookup_table\")].names:[];\n nuAddDatalist(\'sob_lookup_description\',arr);\n}\n\nfunction setJSON() {\n\n const data = {\n \n \"type\": {\n \n \"version\": \"1.0\",\n \"mobile\": {\n \"version\": \"1.0\",\n \"name\": \"test1\",\n \"visible\": true,\n \"location\": {\n \"top\" : sob_all_top.value,\n \"left\" : sob_all_left.value\n },\n \"size\": {\n \"width\" : sob_all_width.value,\n \"height\" : sob_all_height.value\n },\n \"class\" : [\"nuMobileInput\"] \n }\n }\n \n }\n \n \n var obj = JSON.stringify(data);\n nuSetValue(\'sob_all_json\', obj);\n\n}\n\n\nfunction nuPreviewIcon(i, s) {\n \n s = nuEscapeHTML(s);\n\n let $i = $(\'#\'+i);\n\n $i.html(\'\');\n\n if (s.startsWith(\'fas \') || s.startsWith(\'fa \') || s.startsWith(\'far \')) {\n\n $i.append(\'<i class=\"\' + s + \' fa-2x\' + \'\"></i>\');\n } else if (s.startsWith(\'<i class=\"fa\')) {\n let i = s.indexOf(\'>\', 10);\n $i.append(s.nuInsertString(i-1,\' fa-2x\'));\n \n } else {\n $i.append(s);\n }\n \n}\n\n\nfunction addFileUploadScript() {\n\n let htmlCode = $(\'#sob_html_code\');\n \n if (! htmlCode.val().includes(\'new Uppy.Core\') && nuGetValue(\'sob_input_file_target\') == \'0\') {\n \n const uppyScript = `\n<div id=\"#uppy_div#\"></div>\n\n<script>\n \n nuInitUppy();\n \n function nuInitUppy() {\n\n const $objId= $(\'#\' + \'#this_object_id#\');\n const target = \'#\' + \'#uppy_div#\';\n \n let uppy = new Uppy.Core();\n \n uppy.use(Uppy.Dashboard, {\n inline: true\n , bundle: true\n , height: $objId.cssNumber(\'height\')\n , width: $objId.cssNumber(\'width\')\n , target: target\n , showProgressDetails: true\n , replaceTargetContent: true\n , method: \'post\'\n })\n .use(Uppy.XHRUpload, {\n endpoint: \'core/nuapi.php\'\n })\n \n uppy.setMeta({ procedure: \'NUUPLOADFILE_TEMPLATE\', session_id: window.nuSESSION })\n \n uppy.on(\'complete\', (result) => {\n \n if (window.nuOnFileUploadComplete) {\n nuOnFileUploadComplete(\'FS\', $objId.attr(\'id\'), result);\n }\n \n })\n\n }\n\n</script>\n`;\n \n \n nuSetValue(\'sob_html_code\', htmlCode.val() + uppyScript);\n\n if (sob_all_height.value < 30) nuSetValue(\'sob_all_height\', \'250\');\n \n }\n \n \n \n}\n', NULL, '1', NULL);
INSERT INTO `zzzzsys_form` (`zzzzsys_form_id`, `sfo_type`, `sfo_code`, `sfo_description`, `sfo_breadcrumb_title`, `sfo_table`, `sfo_primary_key`, `sfo_browse_redirect_form_id`, `sfo_browse_row_height`, `sfo_browse_rows_per_page`, `sfo_browse_title_multiline`, `sfo_browse_autoresize_columns`, `sfo_browse_sql`, `sfo_javascript`, `sfo_browse_javascript`, `sfo_edit_javascript`, `sfo_style`, `sfo_mobile_view`, `sfo_json`) VALUES
('nuobjectgrid', 'browseedit', 'nuobjectgrid', 'nuBuilder Form', NULL, 'zzzzsys_form', 'zzzzsys_form_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_form\nINNER JOIN #TABLE_ID# ON zzzzsys_form_id = theid\nORDER BY sfo_code\n', 'function colorObjectTypes() {\n\n // Color Types\n $(\'select[id$=sob_all_type]\').find(\'option\').each(function(index,element){\n $(element).addClass(\'nu_\' + element.value);\n });\n \n $(\'select[id$=sob_all_type]\').each(function(index,element){\n \n $(element).removeClass();\n $(element).addClass(\'nu_\' + element.value);\n });\n\n}\n\nfunction afterinsertrowObjects() {\n colorObjectTypes();\n}\n\nfunction nuSortSubform(s, c, e){\n}\n\nif (nuFormType() == \'edit\') {\n\n\n const OPTION_ALL = \'(\' + nuTranslate(\'All\') + \')\';\n \n var sfFilter = {};\n sfFilter[\'objform\'] = {\n \'sob_all_zzzzsys_tab_id\': {type: \'select\', blank: false, all: OPTION_ALL},\n \'sob_all_id\': {type: \'search\', placeholder: nuTranslate(\'Search\')},\n \'sob_all_type\': {type: \'select\', blank: false, all: OPTION_ALL},\n \'sob_all_label\': {type: \'search\', placeholder: nuTranslate(\'Search\')}\n };\n \n nuSubformAddFilter(sfFilter);\n\n $(\'#nuCloneButton\').remove();\n $(\'#nuDeleteButton\').remove();\n\n colorObjectTypes();\n\n $(\'#title_objformbtnOpenDetails\').html(nuTranslate(\'Details\'));\n\n if (nuIsNewRecord()) {\n nuSetTitle(nuTranslate(\'New\'));\n } else {\n var frmInfo = $(\'#sfo_description\').val() + \' (\'+ $(\'#sfo_code\').val()+\')\';\n if (window.nuFORM.breadcrumbs.length == 1) $(\'#nuTab0\').html(frmInfo);\n nuSetTitle(frmInfo);\n nuUpdateAclCount();\n }\n}\n\nfunction nuFormColor() {\n\n var t = String($(\'#sfo_type\').val());\n\n var pb = \'previewbrowse\';\n var pe = \'previewedit\';\n\n var bb = \'bb_event\';\n var be = \'be_event\';\n var bs = \'bs_event\';\n var as = \'as_event\';\n var bd = \'bd_event\';\n var ad = \'ad_event\';\n\n if (t == \'browse\') {\n nuDisable([pe, be, bs, as, bd, ad]);\n } else\n if (t == \'edit\') {\n nuDisable([pb, pb]);\n } else\n if (t == \'launch\') {\n nuDisable([pb, bb, bs, as, bd, ad]);\n } else\n if (t == \'subform\') {\n nuDisable([pb, bb, be, bs, as, bd, ad]);\n nuDisable(\'sfo_javascript\');\n }\n\n var h = $(\'#sfo_type\').addClass(\'nuEdited\');\n var o = [];\n o.browse = [0, 1, 2];\n o.edit = [0, 2];\n o.browseedit = [0, 1, 2];\n o.launch = [0, 2];\n o.subform = [0, 1];\n\n $(\'#sfo_type\').removeClass();\n $(\'#sfo_type\').addClass(\'nu_\' + $(\'#sfo_type\').val());\n\n if (h) {\n $(\'#sfo_type\').addClass(\'nuEdited\');\n }\n\n $(\"#sfo_type > option\").each(function() {\n $(this).addClass(\'nu_\' + this.value);\n });\n\n for (var i = 0; i < 7; i++) {\n $(\'#nuTab\' + i).removeClass(\'nuRelatedTab\');\n }\n\n t = o[$(\'#sfo_type\').val()];\n if (t !== undefined) {\n\n for (i = 0; i < t.length; i++) {\n $(\'#nuTab\' + t[i]).addClass(\'nuRelatedTab\');\n }\n\n }\n\n}\n\nfunction nuEventList() {\n\n if ($(\'sob_all_type\').val() == \'subform\') {\n return [\'onchange\', \'onadd\'];\n } else {\n return [\'onblur\', \'onchange\', \'onfocus\', \'onkeydown\'];\n }\n\n}\n\nfunction default_description() {\n\n var s = \'zzzzsys_browse_sf\';\n var r = nuSubformObject(s).rows.length - 1;\n var o = s + nuPad3(r) + \'sbr_title\';\n \n nuSetPlaceholder(o, \'Something\');\n \n}\n\nfunction nuUpdateAclCount() {\n var l = $(\"[data-nu-field=\'slf_zzzzsys_access_id\']\").length -2;\n var t = l <= 0 ? \'\' : \' (\' + l + \')\';\n $(\'#nuTab4\').html(nuTranslate(\'Access Level\') + t);\n}\n\n\nfunction createButton(target, pk, formType) {\n \n var btn = $(\"<button id=\'nuPreviewButton\' type=\'button\' data-form-type=\'\"+ formType +\"\' class=\'nuActionButton\'><i class=\'fa fa-search\'></i> </button>\");\n\n $(target).html(btn).attr(\'title\',nuTranslate(\'Preview Form\'));\n btn.on(\'click\',function(){\n var formType = $(this).attr(\"data-form-type\");\n var r = formType == \'launch\' || formType == \'edit\' || formType == \'subform\' ? \'-1\' : \'\';\n nuForm(pk,r,\'\',\'\');\n });\n}\n\nfunction addRowButtons(column) {\n \n $(\"[data-nu-column=\'\" + column + \"\']\").each(function(index) {\n \n var pk = $(this).attr(\'data-nu-primary-key\');\n var r = $(this).attr(\'data-nu-row\');\n var formType = $(\'#nucell_\'+ r + \'_1\').html();\n \n if (typeof pk !== \"undefined\") {\n createButton(this, pk, formType);\n }\n })\n\n}\n\n', NULL, NULL, NULL, NULL, NULL),
('nupassword', 'launch', 'nupassword', 'Change Password', NULL, '', '', '', 0, 0, '0', NULL, '', '$(\'#nuTab0\').hide();\n\n\nnuAddActionButton(\'nuRunPHPHidden\', nuTranslate(\'Save\'), \'nuRunPHPHidden(\"NUCHANGEPASSWORD\", 0)\');', NULL, NULL, NULL, '1', NULL),
('nuphp', 'browseedit', 'nuphp', 'Build Procedure', '#sph_code#|New', 'zzzzsys_php', 'zzzzsys_php_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_php\nLEFT JOIN zzzzsys_form ON zzzzsys_form_id = sph_zzzzsys_form_id\nWHERE ((sph_system != \'1\' OR sph_system IS NULL) \nOR (\'#nuDevMode#\' = \'1\' AND LEFT(RIGHT(sph_code, 3),1) <> \'_\'))\nORDER BY sph_code\n', NULL, 'if (parent.nuCurrentProperties().form_id == \'nuaccess\') {\n $(\'#nuBreadcrumb0\').html(nuTranslate(\'Procedures\'));\n}\n\n\nnuDevMode();', 'nuHide(\'sph_code_snippet_select_lookupcode\');\n\n// Code Snippets form\nnuSetSnippetFormFilter(0, 0, 0, 1); // PHP Code\n\nvar recordId = nuRecordId();\nvar recordIdSuffix = recordId.slice(-2);\nvar justPHP = window.filter == \'justphp\';\n\nwindow.nuImages = parent.nuImages;\n\nif (justPHP) {\n\n window.nuHelp = \'Functions\';\n\n nuHideTabById(\'nu5fdf7df2d873dd1\'); // Access Levels\n $(\'#nuCloneButton\').remove();\n\n if (nuIsIframe()) {\n var ev = eventName(recordIdSuffix) ;\n var formInfo = ev == \'After Browse\' ? $(\'#sob_all_label\', window.parent.document).val(): sph_form_code.value;\n $(\'#nuBreadcrumb0\').html(ev + \' - \' + formInfo);\n }\n\n\n nuAttachButtonImage(\'icon\', recordIdSuffix);\n\n nuSetValue(\'sph_code\', recordId);\n nuSetValue(\'sph_description\', \'System PHP\');\n nuSetValue(\'sph_system\', \'1\');\n\n nuHide(\'sph_code\');\n nuHide(\'sph_description\');\n nuHide(\'sph_zzzzsys_form_id\');\n nuHide(\'sph_group\');\n nuHide(\'sph_system\');\n nuHide(\'sph_run\');\n\n setStyles();\n\n $(\'.nuSaveButtonEdited\').removeClass(\'nuSaveButtonEdited\');\n\n\n\n} else {\n\n window.nuHelp = \'Procedures\';\n\n if (! recordId.startsWith(\'nu\')) {\n nuSetValue(\'sph_system\', \'0\');\n nuSetValue(\'sph_hide\', \'\');\n }\n\n if (!nuIsNewRecord()) {\n nuUpdateAclCount();\n nuAddActionButton(\'runProcedure\', \'Run\', \'runProcedure();\');\n }\n\n\n}\n\n$(\'#sph_php\')\n.addClass(\'php\')\n.dblclick(function() {\n nuOpenAce(\'PHP\', this.id);\n});\n\n$(function() {\n $(\'#sph_php\').scrollTop(window.scrollTop);\n});\n\nnuHasNotBeenEdited();\n\nfunction eventName(recordIdSuffix) {\n\n const ev = [];\n\n ev.BB = \'Before Browse\';\n ev.BE = \'Before Edit\';\n ev.BS = \'Before Save\';\n ev.AS = \'After Save\';\n ev.BD = \'Before Delete\';\n ev.AD = \'After Delete\';\n ev.AB = \'After Browse\';\n\n return ev[recordIdSuffix];\n\n}\n\n\nfunction setStyles() {\n\n $(\'#label_sph_code_snippet_select_lookup\').css({\n \'top\': \'30px\', \'left\': \'740px\'\n });\n\n $(\'#sph_code_snippet_select_lookupbutton\').css({\n \'top\': \'30px\', \'left\': \'845px\'\n });\n\n $(\'#label_sph_php\').css(\'top\', \'40px\').css(\'left\', \'20px\');\n\n $(\'#wiki\').css(\'left\', \'670px\');\n\n $(\'#sph_php\')\n .css(\'padding\', \'3px 3px 3px 3px\')\n .css(\'top\', \'60px\')\n .css(\'left\', \'90px\')\n .focus();\n\n}\n\nfunction runProcedure() {\n\n if (sph_run.value == \'window\') {\n nuRunPHP(sph_code.value, \'\', 0);\n } else {\n nuRunPHPHidden(sph_code.value, 0);\n }\n\n}\n\nfunction nuUpdateAclCount() {\n\n const l = $(\"[data-nu-field=\'slp_zzzzsys_access_id\']\").length -2;\n const t = l <= 0 ? \'\': \' (\' + l + \')\';\n $(\'#nuTab1\').html(nuTranslate(\'Access Level\') + t);\n\n}\n\nfunction onCloneTemplate() {\n\n const code = sph_code.value;\n\n if ($(\'#sph_group\').val() == \'nubuilder\' && code.nuEndsWith(\'Template\', true)) {\n nuSetValue(\'sph_code\', code.substring(0, code.length-9));\n nuSetValue(\'sph_group\', \'\');\n }\n\n}\n\nfunction nuOnClone() {\n\n if (window.filter !== \'justphp\') {\n onCloneTemplate();\n }\n\n}\n\nfunction nuBeforeSave() {\n\n if (nuFormType() == \'edit\') {\n window.scrollTop = $(\'#sph_php\').scrollTop();\n }\n\n return true;\n\n}', NULL, '1', NULL),
('nurunlist', 'browse', 'nurunlist', 'Run Form, Report or Procedure', NULL, 'zzzzsys_run_list', 'id', '', 0, 16, '0', NULL, 'SELECT * FROM zzzzsys_run_list \nORDER BY code', '\n$(\"[data-nu-column=\'nucolumn000\']\").each(function() {\n\n $(this).addClass(\'nu_\'+this.innerHTML);\n\n});', NULL, NULL, NULL, NULL, NULL),
('nurunphp', 'browse', 'nurunphp', 'Run Procedure', NULL, 'zzzzsys_php', 'zzzzsys_php_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_php\nJOIN zzzzsys_form ON zzzzsys_form_id = sph_zzzzsys_form_id\nWHERE (sph_system != \'1\' || sph_system IS NULL)\nORDER BY sph_code', '$(\'#nuAddButton\').remove();\n$(\'#nuPrintButton\').remove();\n\nfunction nuSelectBrowse(e) {\n\n var r = $(\'#\' + e.target.id).attr(\'data-nu-row\');\n var p = $(\'#nucell_\' + r + \'_0\').html();\n var f = $(\'#\' + e.target.id).attr(\'data-nu-primary-key\');\n\n nuGetPHP(p, f);\n\n}', NULL, NULL, NULL, NULL, NULL),
('nurunreport', 'browse', 'nurunreport', 'Run Report', NULL, 'zzzzsys_report', 'zzzzsys_report_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_report\nLEFT JOIN zzzzsys_form ON zzzzsys_form_id = sre_zzzzsys_form_id\nORDER BY sre_code', 'nuSetTitle(nuFORM.getCurrent().run_description);\n\n$(\'#nuAddButton\').remove();\n$(\'#nuPrintButton\').remove();\n\nfunction nuSelectBrowse(e) {\n\n var r = $(\'#\' + e.target.id).attr(\'data-nu-row\');\n var f = $(\'#nucell_\' + r + \'_0\').html();\n var p = $(\'#\' + e.target.id).attr(\'data-nu-primary-key\');\n\n nuGetReport(f, p);\n\n}', NULL, NULL, NULL, NULL, NULL),
('nusample', 'launch', 'nusample', 'Default Fast Form Objects', NULL, '', '', '', 0, 0, '0', NULL, '', '//$(\'#nuBreadcrumbHolder\').remove();\n$(\'#nuActionHolder\').remove();\n//$(\'#nuTabHolder\').remove();\n\n$(\'#nuOptions\').hide();\n\n$(\'#inputtextsample\').val(\'text\');\n$(\'#inputnumbersample\').val(4);\n$(\'#inputnunumbersample\').val(\'$ 1,234.56\');\n$(\'#inputnudatesample\').val(\'23-Jan-2021\');\n$(\'#inputnuscrollsample\').val(\'East\');\n$(\'#calcsample\').val(\'$ 1,238.56\');\n\n$(\'#selectsample\').val(1);\n$(\'#selectmultiselectsample\').val(0);\n$(\'#textareasample\').val(\"text-area\");\n\n$(\"[id^=\'label\']\").addClass(\'nu_input\').css({width:120, left:10, \'text-align\':\'center\'});\n\n$(\'#label_imagesample\').addClass(\'nu_image\').removeClass(\'nu_input\');\n$(\'#label_textareasample\').addClass(\'nu_textarea\').removeClass(\'nu_input\');\n$(\'#label_displaysample\').addClass(\'nu_display\').removeClass(\'nu_input\');\n$(\'#label_htmlsample\').addClass(\'nu_html\').removeClass(\'nu_input\');\n$(\'#label_calcsample\').addClass(\'nu_calc\').removeClass(\'nu_input\');\n$(\'#label_selectsample\').addClass(\'nu_select\').removeClass(\'nu_input\');\n$(\'#label_selectmultiselectsample\').addClass(\'nu_select\').removeClass(\'nu_input\');\n$(\'#label_lookupsample\').addClass(\'nu_lookup\').removeClass(\'nu_input\');\n$(\'#labelword\').addClass(\'nu_word\').removeClass(\'nu_input\');\n$(\'#label_subformsample\').addClass(\'nu_subform\').removeClass(\'nu_input\').css({left:10});\n\n$(\"[id^=\'label\']\")\n.addClass(\'nuCalculatorButton\')\n.removeClass(\'nuWord\')\n.css({\'height\':30, \'width\':220});\n\n\n\n\n', NULL, NULL, NULL, NULL, NULL),
('nusamplesubformform', 'launch', 'nusamplesubformform', 'Sample Subform Form', NULL, '', '', '', 0, 0, '0', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL),
('nuselect', 'browseedit', 'nuselect', 'SQL Builder', '#sse_description#|New', 'zzzzsys_select', 'zzzzsys_select_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_select \r\nWHERE (sse_system != 1 OR sse_system IS NULL)\r\nORDER BY sse_description ASC\r\n\r\n', '\nnuSetToolTip(\'sse_resize\',\'Resize\');\n$(\'#sse_sql\').css(\'z-index\', 1);\nnuLabelOnTop([\'nusvg\']);\n\n\n\nif(nuIsNewRecord()){\n $(\'#sse_edit\').val(0);\n}\n\n$(\"#sse_edit option[value=\'\']\").remove();\n\n$(\'#sse_sql\')\n.css(\'font-size\', 10)\n.addClass(\'sql\')\n.dblclick(function() {\n nuOpenAce(\'SQL\', this.id);\n});\n\n$(\'#label_sse_sql\').remove();\nnuHide(\'sse_code_snippet_lookupcode\');\nnuSetSnippetFormFilter(0,0,1);\n\n$(\'#sse_resize\').addClass(\'nuAllowDblClick\');\n\nnuSetSFCB();\n\nif(window.filter == \'justsql\'){\n\n var sid = String(nuFORM.getCurrent().record_id);\n var from = sid.substring(sid.length-2);\n var targ = \'#sfo_browse_sql\';\n\n $(\'#nuDeleteButton\').remove();\n $(\'#nuCloneButton\').remove();\n $(\'#sse_description\').val(sid);\n \n nuHide(\'sse_description\');\n \n if(nuFORM.getCurrent().record_id != -1){\n \n $(\'#nuSaveButton\').hide();\n \n if(from == \'BR\'){\n nuAddActionButton(\'SaveToTextarea\', \'Copy to Form Browse SQL\', \'nuCopySQL(\"sfo_browse_sql\")\');\n }\n \n if(from == \'SE\'){\n nuAddActionButton(\'SaveToTextarea\', \'Copy to Select Object SQL\', \'nuCopySQL(\"sob_select_sql\")\');\n }\n \n\n if(from == \'DI\'){\n nuAddActionButton(\'SaveToTextarea\', \'Copy to Display Object SQL\', \'nuCopySQL(\"sob_display_sql\")\');\n }\n \n }\n\n}\n\n\n\n\n\n$(\'#sse_sql\').css(\'overflow-x\',\'scroll\');\n\n\nnuWhereClauses();\n\n\nfunction nuCopySQL(target){\n \n var s = $(\'#sse_sql\').val();\n \n parent.$(\'#\' + target).val(s).change();\n \n parent.$(\'#dialogClose\').click();\n\n}\n\n\nfunction nuTempPHP(){\n \n var p = [];\n \n p.push(\'\');\n p.push(\'$sql = \"\');\n p.push(\'\');\n p.push(\'CREATE TABLE #TABLE_ID#\');\n p.push($(\'#sse_sql\').val());\n p.push(\'\');\n p.push(\'\";\');\n p.push(\'\');\n p.push(\"nuRunQuery($sql);\");\n p.push(\'\');\n nuMessage(p);\n\n $(\"#nuMessageDiv\").css(\'text-align\', \'left\');\n\n}\n\nfunction nuBeforeSave(){\n \n $(\'#sqlframe\')[0].contentWindow.nuSQL.buildSQL();\n return true;\n \n}\n\n\n\n\nfunction nuWhereClauses(){\n\n $(\"[id$=\'ssc_type\']select\").each(function(index){\n \n var p = $(this).attr(\'data-nu-prefix\');\n var t = $(this).val();\n \n if(t == 2 || t == 3){\n \n if($(\'#\' + p + \'ssc_sort\').val() == \'\'){\n $(\'#\' + p + \'ssc_sort\').val(\'ASC\');\n }\n \n $(\'#\' + p + \'ssc_clause\').hide();\n $(\'#\' + p + \'ssc_sort\').show();\n \n }else{\n \n $(\'#\' + p + \'ssc_clause\').show();\n $(\'#\' + p + \'ssc_sort\').hide();\n \n }\n\n });\n\n}\n\n\nfunction nuWhereClausesold(){\n\n $(\"[id$=\'ssc_type\']select\").each(function(index){\n \n var p = $(this).attr(\'data-nu-prefix\');\n var t = $(this).val();\n \n if(t == 2 || t == 3){\n \n if($(\'#\' + p + \'ssc_sort\').val() == \'\'){\n $(\'#\' + p + \'ssc_sort\').val(\'ASC\');\n }\n \n $(\'#\' + p + \'ssc_clause\').hide();\n $(\'#\' + p + \'ssc_sort\').show();\n \n }else{\n \n $(\'#\' + p + \'ssc_clause\').show();\n $(\'#\' + p + \'ssc_sort\').hide();\n \n }\n\n });\n\n}\n\n\nfunction nuAddSQLTable(e){\n \n var s = $(\'#sqlframe\')[0].contentWindow.nuSQL;\n \n s.addBox(e.target.value);\n e.target.value = \'\';\n s.buildSQL();\n\n}\n\n\nfunction nuSFCB(){\n \n nuWhereClauses();\n $(\'#sqlframe\')[0].contentWindow.nuSQL.buildSQL();\n\n}\n\n\nfunction nuSetSFCB(){\n \n $(\'.nuSubformCheckbox.zzzzsys_select_clause\')\n .click(function(){\n nuSFCB();\n });\n \n}\n\n\n\nfunction nuResizeSQL(){\n\n if($(\'#sqlframe\').css(\'height\') == \'460px\'){\n $(\'#sqlframe\').css(\'height\', 700);\n }else{\n $(\'#sqlframe\').css(\'height\', 460);\n }\n \n}\n\n\n', NULL, NULL, NULL, '1', NULL),
('nusession', 'browse', 'nusession', 'Sessions', NULL, 'zzzzsys_session', 'zzzzsys_session_id', '', 0, 0, '0', NULL, 'SELECT *\nFROM (\n SELECT zzzzsys_session_id,\n TRIM(BOTH \'\"\' FROM JSON_EXTRACT(sss_access, \'$.session.zzzzsys_user_id\')) AS login,\n NULL AS user,\n sss_login_time AS login_time,\n TRIM(BOTH \'\"\' FROM JSON_EXTRACT(sss_access, \'$.session.ip_address\')) AS ip\n FROM zzzzsys_session\n WHERE TRIM(BOTH \'\"\' FROM JSON_EXTRACT(sss_access, \'$.session.global_access\')) = \'1\'\n \n UNION ALL\n \n SELECT zzzzsys_session_id AS ses_id,\n sus_login_name AS login,\n sus_name AS name,\n sss_login_time AS login_time,\n TRIM(BOTH \'\"\' FROM JSON_EXTRACT(sss_access, \'$.session.ip_address\')) AS ip\n FROM zzzzsys_user\n JOIN zzzzsys_session\n WHERE zzzzsys_user_id = TRIM(BOTH \'\"\' FROM json_extract(sss_access, \'$.session.zzzzsys_user_id\'))\n AND TRIM(BOTH \'\"\' FROM json_extract(sss_access, \'$.session.global_access\')) = \'0\' ) T \nWHERE (1)\n \nORDER BY login_time DESC', 'nuHide(\'nuAddButton\');\n\n', NULL, NULL, NULL, NULL, NULL),
('nusetup', 'edit', 'nusetup', 'Setup', NULL, 'zzzzsys_setup', 'zzzzsys_setup_id', '', 0, 0, '0', NULL, '', '\nif (window.configImport == \'1\') {\n configEffectiveMsg();\n}\n\nif (set_smtp_username.value == \'1\') {\n nuHide(\'set_nuemailtest_button\');\n}\n\n$(function() {\n $(\'#set_header\').scrollTop(window.scrollTop);\n});\n\n$(\'#set_header\').addClass(\'js\');\n$(\'#set_style\').addClass(\'css\');\n\n$(\'.js\').dblclick(function() {\n nuOpenAce(\'JavaScript\', this.id);\n});\n\n$(\'.css\').dblclick(function() {\n nuOpenAce(\'CSS\', this.id);\n});\n\n$(\'#nuDeleteButton\').remove();\n$(\'#nuCloneButton\').remove();\n\n\nnuSetToolTip(\'set_denied\', nuTranslate(\'Disallow access to nuBuilder\\\'s core forms.\'), true);\n\nnuHide(\'set_code_snippet_lookupcode\');\nnuAttachButtonImage(\'icon_js\', \'JS\');\nnuAttachButtonImage(\'icon_css\', \'CSS\');\n\nnuSetProperty(\'set_header_current\', $(\'#set_header\').val());\nnuSetProperty(\'set_language_current\', $(\'#set_language\').val());\n\n// Code Snippets form\nnuSetSnippetFormFilter(0, 1, 0, 0);\n\nsetConfigDatalist(\'$nuConfigGlobeadminHome\', [\'nuhome\',\'nuhomecompact\']);\nsetConfigDatalist(\'nuCalendarType\', [\'nuBuilder\',\'VanillaJS\']);\n\n\nvar lang = $(\"#set_language\");\nif (lang.val() === \'\') {\n lang.append($(\'<option>\', {\n value: 1,\n text: nuTranslate(\"English\"),\n disabled: true,\n selected: true,\n hidden: true\n }));\n}\n\nnuSelectMultiWithoutCtrl(\'set_languages_included\');\n\nvar d = nuDevMode();\nif (!d) {\n nuHideTabById(\'nu5fe19e93306dd6e\'); // dev\n}\n\n$(\'#set_files_version_user\').val(nuGetFilesVersion());\n\nfunction incVersion(i) {\n \n var dbv = $(\'#\' + i).val();\n var dbvSplit = dbv.split(\"-\");\n const major = dbvSplit[0];\n const date = dbvSplit[1].slice(0, -3)\n let build = parseInt(dbv.split(/[. ]+/).pop(), 10);\n\n let today = nuCurrentDate(\'yyyy.mm.dd\');\n\n build++;\n if (date !== today) {\n build = 0;\n }\n\n return major + \'-\' + today + \'.\' + nuPad2(build);\n}\n\nfunction inDBVersion() {\n var dbInc = incVersion(\'set_db_version\');\n $(\'#set_db_version_inc\').val(dbInc);\n}\n\nfunction inFilesVersion() {\n var filesInc = incVersion(\'set_files_version\');\n $(\'#set_files_version_inc\').val(filesInc);\n}\n\n\nfunction selectToValueArray(id) {\n\n var a = [];\n $(\'#\' + id + \' option:selected\').each(function(index) {\n if ($(this).text() !== \'\') {\n a.push($(this).val())\n }\n });\n\n return a;\n\n}\n\n\nfunction nuBeforeSave() {\n\n\n if ($(\'#set_language\').hasClass(\'nuEdited\')) {\n $(\"#set_languages_included option[value=\'\" + $(\'#set_language\').val() + \"\']\").prop(\"selected\", true);\n $(\'#set_languages_included\').change();\n }\n\n var v = \'\';\n if (!$(\'#set_languages_included\').hasClass(\'nuEdited\')) v = \'-1\';\n\n if (v === \'\') {\n var languagesIncluded = selectToValueArray(\'set_languages_included\');\n v = languagesIncluded.length === 0 ? \'\': JSON.stringify(languagesIncluded);\n }\n\n nuSetProperty(\'set_languages_included_json\', v);\n window.scrollTop = $(\'#set_header\').scrollTop();\n\n nuBeforeSaveConfig();\n\n return true;\n\n}\n\n// Config\n\nfunction nuAfterSave() {\n\n configEffectiveMsg();\n \n nuAddCSSStyle(set_style.value);\n}\n\nfunction configEffectiveMsg() {\n\n if (window.configEffective == \'2\') {\n nuMessage(nuTranslate(\'You will need to log in again for the changes to take effect.\'));\n } else if (window.configEffective == \'3\' || window.configImport == \'1\') {\n nuMessage(nuTranslate(\'You may need to restart your browser for the changes to take effect.\'));\n }\n\n window.configEffective = \'1\';\n window.configImport = \'0\';\n\n}\n\n// Settings:\n\nsfAddFilters();\nsfChangeValueObjectTypes();\nsfSetDescriptionTitle();\nsfStoreInitialValues();\n\n$(\'#nuCloneButton\').remove();\n$(\'#nuDeleteButton\').remove();\n\n\nfunction nuOnSetSaved(v) {\n if (v === false) {\n nuDisable(\'button_import\');\n }\n}\n\nfunction sfStoreInitialValues() {\n $(\'[id ^=nuconfigsettings][id $=cfg_value]\').each(function() {\n $(this).attr(\'data-org-value\', nuBase64encode(this.value));\n });\n}\n\nfunction onConfigValueChanged(t) {\n let orgValue = nuBase64decode($(t).attr(\'data-org-value\'));\n if (orgValue !== t.value) {\n $(t).addClass(\'changedCgfValue\');\n } else {\n $(t).removeClass(\'changedCgfValue\');\n }\n}\n\nfunction sfSetDescriptionTitle() {\n\n let fieldArr = nuSubformColumnArray(\'nuconfigsettings\', \'cfg_description\');\n\n for (var i = 0; i < fieldArr.length; i++) {\n\n var f = $(\'#nuconfigsettings\' + nuPad3(i) + \'cfg_description\');\n if (f.val() !== \'\') {\n f.attr(\'title\', f.val());\n }\n\n\n }\n\n}\n\nfunction sfAddFilters() {\n\n const OPTION_ALL = \'(\' + nuTranslate(\'All\') + \')\';\n\n var sfFilter = {};\n sfFilter.nuconfigsettings = {\n \'cfg_setting\': {\n type: \'search\',\n float: \'left\'\n },\n \'cfg_category\': {\n type: \'select\',\n blank: false,\n all: OPTION_ALL\n }\n };\n\n nuSubformAddFilter(sfFilter);\n\n}\n\n\nfunction changeObjectTypeToSelectBoolean(i) {\n\n const el = $(\'#\' + i);\n\n el.replaceWith($(\'<select />\').attr({\n id: el.attr(\'id\'),\n name: el.attr(\'name\'),\n class: el.attr(\'class\'),\n }));\n\n let elSelect = $(\'#\' + i);\n\n elSelect.css({\n top: el.cssNumber(\'top\'),\n left: el.cssNumber(\'left\'),\n width: el.cssNumber(\'width\'),\n height: el.cssNumber(\'height\'),\n position: \'absolute\'\n });\n\n copyAttributes(el[0], elSelect[0]);\n\n return elSelect;\n\n}\n\nfunction copyAttributes(source, target) {\n\n return Array.from(source.attributes).forEach(attribute => {\n target.setAttribute(\n attribute.nodeName === \'id\' ? \'data-id\': attribute.nodeName,\n attribute.nodeValue\n );\n });\n\n}\n\n\nfunction selectAddBooleanOptions(el, val) {\n\n el.append(\"<option value=\'\" + \'true\' + \"\'>\" + \'true\' + \"</option>\");\n el.append(\"<option value=\'\" + \'false\' + \"\'>\" + \'false\' + \"</option>\");\n\n let index = val == \'true\' ? 0: (val == \'false\' ? 1: -1);\n\n el.prop(\'selectedIndex\', index);\n\n}\n\nfunction sfChangeValueObjectTypes() {\n\n const sfName = \'nuconfigsettings\';\n const sf = nuSubformObject(sfName);\n const typeCol = sf.fields.indexOf(\'cfg_type\');\n\n for (let i = 0; i < sf.rows.length; i++) {\n\n const el = sfName + nuPad3(i) + \'cfg_value\';\n const obj = $(\'#\'+ el);\n const val = obj.val();\n const type = sf.rows[i][typeCol];\n\n if (type == \'2\') {\n let selectObj = changeObjectTypeToSelectBoolean(el);\n selectAddBooleanOptions(selectObj, val);\n\n } else if (type == \'3\') {\n document.getElementById(el).type = \'number\';\n\n }\n\n }\n}\n\n\nfunction nuBeforeSaveConfig() {\n\n window.configEffective = \'1\';\n\n $(\'.nuEdited\').each(function() {\n const rowId = this.id.replace(\'nuconfigsettings\', \'\').slice(0, 3);\n const effective = $(\'#nuconfigsettings\' + rowId + \'cfg_effective\').val();\n\n if (effective == \'2\' || effective == \'3\') { // log in again or restart browser\n window.configEffective = effective;\n return false;\n }\n\n })\n\n}\n\n\nfunction setConfigDatalist(cfgItem, arrDatalist) {\n\n const input = $(\'input\').filter((i,v) => v.value == cfgItem);\n if (input.length == 1) {\n const valueId = input.attr(\'id\').replace(\'cfg_setting\',\'cfg_value\');\n nuAddDatalist(valueId, arrDatalist);\n }\n\n}\n\n', NULL, '', '.changedCgfValue {\n background-color: #dfe9ff;\n}', '1', NULL),
('nutab', 'browse', 'nutab', 'Form Tab', NULL, 'zzzzsys_tab', 'zzzzsys_tab_id', '', 0, 0, '0', NULL, 'SELECT * FROM zzzzsys_tab\nJOIN zzzzsys_form ON zzzzsys_form_id = syt_zzzzsys_form_id\nORDER BY syt_order', '\n$(\"[data-nu-column=\'3\']\").each(function() {\n $(this).addClass(\'nu_\'+this.textContent);\n});\n\n', NULL, NULL, NULL, NULL, NULL),
('nutablookup', 'browse', 'nutablookup', 'Form Tab Lookup', NULL, 'zzzzsys_tab', 'zzzzsys_tab_id', '', 0, 16, '0', NULL, 'SELECT * FROM zzzzsys_tab\nJOIN zzzzsys_form ON zzzzsys_form_id = syt_zzzzsys_form_id\nJOIN #TABLE_ID# ON zzzzsys_form_id = theid\nORDER BY sfo_description, syt_order\n\n ', 'function getParentFormCode() {\n \n return parent.parent.nuCurrentProperties().form_code;\n \n}\n\nif(nuFormType() == \'browse\'){\n \n if ( getParentFormCode() !== \'nuobject\' && window.filtered !== 1) {\n nuAddActionButton(\'nuFilterCurrentForm\', \'Current Form only\', \'nuSearchAction(\"\", \"\'+getParentFormCode()+\'\");window.filtered = 1;\'); \n }\n\n //-- run as the Form is loaded \n\n $(\"[data-nu-column=\'3\']\").each(function() {\n $(this).addClass(\'nu_\'+this.textContent);\n });\n \n $(\'#nuAddButton\').remove();\n $(\'#nuPrintButton\').remove();\n\n\n}\n \n\n', NULL, NULL, NULL, NULL, NULL),
('nutimezone', 'browse', 'nutimezone', 'Time Zone', NULL, 'zzzzsys_timezone', 'zzzzsys_timezone_id', '', 0, 16, '0', NULL, 'SELECT * \nFROM zzzzsys_timezone\nORDER BY stz_timezone', NULL, NULL, NULL, NULL, NULL, NULL),
('nutranslate', 'browseedit', 'nutranslate', 'Translation', '#trl_english#|New', 'zzzzsys_translate', 'zzzzsys_translate_id', '', 0, 0, '1', NULL, 'SELECT * \nFROM zzzzsys_translate\nWHERE (\n\n (trl_language = \'#nuBrowseTitle0_select#\' OR \'#nuBrowseTitle0_select#\' LIKE \'#%\' OR \'#nuBrowseTitle0_select#\' = \'\')\n\n AND\n \n (IF(zzzzsys_translate_id like \'nu%\',\'\',\'✔\') = \'#nuBrowseTitle3_select#\' OR \'#nuBrowseTitle3_select#\' LIKE \'#%\' OR \'#nuBrowseTitle3_select#\' = \'\')\n\n)\n\nORDER BY trl_language, trl_english', NULL, '\n$(function() {\n \n nuAddBrowseTitleSelect(0, getLanguage()); \n $(\'#nuBrowseTitle0_select\').parent().unbind(\"touchstart\");\n \n nuAddBrowseTitleSelect(3, [\"\",\"✔\"], 50);\n $(\'#nuBrowseTitle3_select\').parent().unbind(\"touchstart\");\n\n});\n', ' if (nuCurrentProperties().record_id.startsWith(\'nu\')) {\n $(\'#nuSaveButton\').remove();\n $(\'#nuDeleteButton\').remove();\n }', NULL, '1', NULL),
('nuupdate', 'launch', 'nuupdate', 'Update', NULL, '', '', '', 0, 0, '0', NULL, '', 'nuHideHolders(0,2);\nnuHideTabs(0);', NULL, NULL, NULL, '1', NULL),
('nuuser', 'browseedit', 'nuuser', 'User', '#sus_name#|New', 'zzzzsys_user', 'zzzzsys_user_id', '', 0, 0, '1', NULL, 'SELECT *\nFROM zzzzsys_user\nINNER JOIN zzzzsys_access ON zzzzsys_access_id = sus_zzzzsys_access_id\nWHERE\n(\n\n (\n (\'#nuBrowseTitle9_select#\' LIKE \'#%\' AND (sus_expires_on > NOW() OR sus_expires_on IS NULL)) OR\n (\'#nuBrowseTitle9_select#\' = \'Expired\' AND sus_expires_on < NOW()) OR\n (\'#nuBrowseTitle9_select#\' = \'\')\n )\n\n AND\n\n (sus_team = \'#nuBrowseTitle8_select#\' OR \'#nuBrowseTitle8_select#\' LIKE \'#%\' OR \'#nuBrowseTitle8_select#\' = \'\')\n\n AND\n\n (sus_position = \'#nuBrowseTitle6_select#\' OR \'#nuBrowseTitle6_select#\' LIKE \'#%\' OR \'#nuBrowseTitle6_select#\' = \'\')\n\n AND\n\n (sus_department = \'#nuBrowseTitle7_select#\' OR \'#nuBrowseTitle7_select#\' LIKE \'#%\' OR \'#nuBrowseTitle7_select#\' = \'\')\n\n AND\n\n (sus_language = \'#nuBrowseTitle4_select#\' OR \'#nuBrowseTitle4_select#\' LIKE \'#%\' OR \'#nuBrowseTitle4_select#\' = \'\')\n\n AND\n\n (CONCAT(sal_code,\' : \',sal_description) = \'#nuBrowseTitle3_select#\' OR \'#nuBrowseTitle3_select#\' LIKE \'#%\' OR \'#nuBrowseTitle3_select#\' = \'\')\n\n)\n\nORDER BY sus_name', NULL, '$(function() {\n\n nuAddBrowseTitleSelect(9, [\"\", \"Expired\"]); \n $(\'#nuBrowseTitle9_select\').parent().unbind(\"touchstart\");\n\n nuAddBrowseTitleSelect(3, getAccessLevel()); \n $(\'#nuBrowseTitle3_select\').parent().unbind(\"touchstart\");\n\n nuAddBrowseTitleSelect(4, getLanguage()); \n $(\'#nuBrowseTitle4_select\').parent().unbind(\"touchstart\");\n \n nuAddBrowseTitleSelect(6, getPosition()); \n $(\'#nuBrowseTitle6_select\').parent().unbind(\"touchstart\");\n\n nuAddBrowseTitleSelect(7, getDepartment()); \n $(\'#nuBrowseTitle7_select\').parent().unbind(\"touchstart\");\n\n nuAddBrowseTitleSelect(8, getTeam()); \n $(\'#nuBrowseTitle8_select\').parent().unbind(\"touchstart\");\n\n});\n', 'nuSetPlaceholder(\'sus_code\', nuTranslate(\'(Optional)\'));\nnuSetToolTip(\'sus_code\', nuTranslate(\'E.g. Employee Id, Foreign Id etc. Leaving blank will set the \"Login Name\"\'));\nnuSetToolTip(\'sus_language\', nuTranslate(\'Leaving blank will use English\'));\nif (nuIsNewRecord()) nuHide(\'sus_zzzzsys_access_id_open_button\');\n$(\'#sus_zzzzsys_access_id_open_button\').toggleClass(\'input_button nuButton nuLookupButton\')\n\n$(function() {\n setTimeout(function() {\n nuEnable(\'sus_name\');\n nuEnable(\'sus_login_name\');\n nuEnable(\'new_password\');\n nuEnable(\'check_password\');\n }, 800);\n});\n\nfunction nuTogglePasswordVisibility() {\n\n let p1 = $(\"#new_password\");\n let p2 = $(\"#check_password\");\n\n if (p1.prop(\"type\") === \"password\") {\n p1[0].type = \"text\";\n p2[0].type = \"text\";\n } else {\n p1[0].type = \"password\";\n p2[0].type = \"password\";\n }\n\n}\n\nfunction nuBeforeSave() {\n\n let code = $(\'#sus_code\');\n if (code.val() === \'\') {\n code.nuSetValue(nuGetValue(\'sus_login_name\'));\n }\n\n return true;\n\n}', '', '1', NULL),
('nuuserhome', 'launch', 'nuuserhome', 'User Home', NULL, '', '', '', 0, 0, '0', NULL, '', 'function openNuObject() {\n\n $(\'#nuMessageDiv\').remove();\n nuPopup(\'nuobject\', \'-1\', window.nuFORM.getCurrent().form_id);\n\n}\n\nif (nuSERVERRESPONSE.objects.length === 0 && window.global_access) {\n\n var headings = \'<h2>\' + nuTranslate(\'Information\') + \'<h2>\';\n var message = nuTranslate(\'Currently there are no objects on this Form\') + \'. <a href=\"javascript:openNuObject();\">\'+ nuTranslate(\'Start adding some\') + \'</a>.\';\n nuMessage([headings, message]);\n\n}', NULL, NULL, NULL, NULL, NULL),
('nuhomecompact', 'launch', 'nuhomecompact', 'Home', NULL, '', '', '', 0, 0, '0', NULL, '', '$(\'#user_home\').addClass(\'nuUserHomeButton\');\n$(\'.nuActionButton\').hide();\nnuHideTabs(0);\nnuGetStartingTab();\n\nfunction openForm(f, r, event) {\n n = event.ctrlKey ? \'2\': \'0\';\n nuForm(f, r, \'\', \'\', n);\n}\n\nfunction openMenu(event, menu, element) {\n event.stopPropagation();\n ctxmenu.show(menu, element);\n}\n\nfunction menuProcedureClick(element, event) {\n\n const menu = [{\n text: nuTranslate(\"Procedure\")\n },\n\n {\n text: nuContextMenuItemText(\"Run\", \"fa fa-play\"),\n action: () => openForm(\'nurunphp\', \'\', event)\n },\n {\n text: nuContextMenuItemText(\"Add\", \"fa fas fa-plus\"),\n action: () => openForm(\'nuphp\', \'-1\', event)\n }]\n\n openMenu(event, menu, element);\n\n}\n\nfunction menuReportClick(element, event) {\n\n const menu = [{\n text: nuTranslate(\"Report\")\n },\n\n {\n text: nuContextMenuItemText(\"Run\", \"fa fa-play\"),\n action: () => openForm(\'nurunreport\', \'\', event)\n },\n {\n text: nuContextMenuItemText(\"Add\", \"fa fas fa-plus\"),\n action: () => openForm(\'nubuildreport\', \'-1\', event)\n },\n {\n text: nuContextMenuItemText(\"Fast Report\", \"fa fa-bolt\"),\n action: () => openForm(\'nufrlaunch\', \'\', event)\n }]\n\n openMenu(event, menu, element);\n\n}\n\nfunction menuFormClick(element, event) {\n\n const menu = [{\n text: nuTranslate(\"Form\")\n },\n\n {\n text: nuContextMenuItemText(\"Add\", \"fa fas fa-plus\"),\n action: () => openForm(\'nuform\', \'-1\', event)\n },\n {\n text: nuContextMenuItemText(\"Fast Form\", \"fa fa-bolt\"),\n action: () => openForm(\'nufflaunch\', \'\', event)\n }]\n\n openMenu(event, menu, element);\n\n}\n\nfunction menuDatabaseClick(element, event) {\n\n\n let menuSession =\n\n {\n conditional: true,\n text: nuContextMenuItemText(\"Sessions\", \"fas fa-key\"),\n action: () => openForm(\'nusession\', \'\', event)\n };\n\n\n\n let menu = [{\n text: nuTranslate(\"Database\")\n },\n {\n text: nuContextMenuItemText(\"CSV Transfer\", \"fas fa-file-csv\"),\n action: () => openForm(\'nucsvtransfer\', \'\', event)\n },\n menuSession,\n {\n text: nuContextMenuItemText(\"Backup\", \"backup far fa-hdd\"),\n action: () => nuRunBackup()\n },\n\n {\n text: nuContextMenuItemText(\"Cloner\", \"far fa-clone\"),\n action: () => openForm(\'nucloner\', \'\', event)\n },\n {\n text: nuContextMenuItemText(\"Update\", \"fas fa-cloud-download-alt\"),\n action: () => openForm(\'nuupdate\', \'\', event)\n }]\n\n\n\n if (nuSERVERRESPONSE.is_demo) {\n menuProcedure = menuProcedure .filter((item) => item.conditional !== true);\n }\n\n openMenu(event, menu, element);\n\n}\n\n\nfunction menuSetupClick(element, event) {\n\n const menu = [{\n text: nuTranslate(\"Setup\")\n },\n {\n text: nuContextMenuItemText(\"Format\", \"fa fa-calendar\"),\n action: () => openForm(\'nuFormat\', \'\', event)\n },\n\n {\n text: nuContextMenuItemText(\"Translation\", \"fa fa-globe\"),\n action: () => openForm(\'nutranslate\', \'\', event)\n }]\n\n openMenu(event, menu, element);\n\n}', NULL, '', '.nuButtonX {\n padding-left: 15px;\n}', '1', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_format`
--
CREATE TABLE `zzzzsys_format` (
`zzzzsys_format_id` varchar(25) NOT NULL,
`srm_type` varchar(10) DEFAULT NULL,
`srm_format` varchar(300) DEFAULT NULL,
`srm_currency` varchar(25) DEFAULT NULL,
`srm_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_format`
--
INSERT INTO `zzzzsys_format` (`zzzzsys_format_id`, `srm_type`, `srm_format`, `srm_currency`, `srm_json`) VALUES
('nu59e28f061a779da', 'Number', '$ 1,000.00', '[\"$\",\",\",\".\",\"2\"]', NULL),
('nu5d8a9b303b55b6d', 'Date', 'dd-mm-yy', NULL, NULL),
('nu5d8a9b47ac4f5ae', 'Number', ' 1000.00', '[\"\",\"\",\".\",2]', NULL),
('nu5fdfc72e7021ccf', 'Date', 'yyyy-mm-dd', NULL, NULL),
('nu62fb20c1f13fd44', 'Date', 'dd.mm.yyyy', NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_info`
--
CREATE TABLE `zzzzsys_info` (
`zzzzsys_info_id` varchar(25) NOT NULL DEFAULT '',
`inf_code` varchar(255) DEFAULT NULL,
`inf_details` varchar(255) DEFAULT NULL,
`inf_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_info`
--
INSERT INTO `zzzzsys_info` (`zzzzsys_info_id`, `inf_code`, `inf_details`, `inf_json`) VALUES
('nu5fe23e83aea3466', 'nuDBVersion', 'V.4.5-2022.08.31.00', NULL),
('nu5fe23e83aea3467', 'nuFilesVersion', 'V.4.5-2022.08.31.00', NULL);
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_note`
--
CREATE TABLE `zzzzsys_note` (
`zzzzsys_note_id` varchar(25) NOT NULL,
`not_title` varchar(60) NOT NULL,
`not_content` mediumtext DEFAULT NULL,
`not_updated_on` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`not_zzzzsys_note_category_id` varchar(25) DEFAULT NULL,
`not_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_note_category`
--
CREATE TABLE `zzzzsys_note_category` (
`zzzzsys_note_category_id` varchar(25) NOT NULL,
`noc_name` varchar(1000) DEFAULT NULL,
`hoc_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- Table structure for table `zzzzsys_object`
--
CREATE TABLE `zzzzsys_object` (
`zzzzsys_object_id` varchar(25) NOT NULL,
`sob_all_zzzzsys_form_id` varchar(25) DEFAULT NULL,
`sob_all_table` varchar(300) DEFAULT NULL,
`sob_all_type` varchar(20) DEFAULT NULL,
`sob_all_id` varchar(300) DEFAULT NULL,
`sob_all_label` varchar(1000) DEFAULT NULL,
`sob_all_zzzzsys_tab_id` varchar(25) DEFAULT NULL,
`sob_all_order` int(11) DEFAULT 0,
`sob_all_top` int(11) DEFAULT NULL,
`sob_all_left` int(11) DEFAULT NULL,
`sob_all_width` int(11) DEFAULT NULL,
`sob_all_height` int(11) DEFAULT NULL,
`sob_all_cloneable` varchar(1) DEFAULT NULL,
`sob_all_align` varchar(10) DEFAULT NULL,
`sob_all_validate` varchar(1) DEFAULT NULL,
`sob_all_access` varchar(1) DEFAULT NULL,
`sob_all_event` varchar(1) DEFAULT NULL,
`sob_all_style_type` varchar(15) DEFAULT NULL,
`sob_all_style` varchar(1000) DEFAULT NULL,
`sob_calc_formula` varchar(3000) DEFAULT NULL,
`sob_calc_format` varchar(30) DEFAULT NULL,
`sob_run_zzzzsys_form_id` varchar(50) DEFAULT NULL,
`sob_run_filter` varchar(300) DEFAULT NULL,
`sob_run_method` varchar(1) DEFAULT NULL,
`sob_run_target` varchar(1) DEFAULT NULL,
`sob_run_type` varchar(1) DEFAULT NULL,
`sob_run_id` varchar(50) DEFAULT NULL,
`sob_display_sql` text DEFAULT NULL,
`sob_select_multiple` varchar(1) DEFAULT NULL,
`sob_select_2` varchar(1) DEFAULT '0',
`sob_select_sql` text DEFAULT NULL,
`sob_lookup_code` varchar(50) DEFAULT NULL,
`sob_lookup_description` varchar(300) DEFAULT NULL,
`sob_lookup_description_width` varchar(4) DEFAULT NULL,
`sob_lookup_autocomplete` varchar(1) DEFAULT NULL,
`sob_lookup_zzzzsys_form_id` varchar(50) DEFAULT NULL,
`sob_lookup_javascript` text DEFAULT NULL,
`sob_lookup_php` varchar(25) DEFAULT NULL,
`sob_lookup_table` varchar(500) DEFAULT NULL,
`sob_subform_zzzzsys_form_id` varchar(50) DEFAULT NULL,
`sob_subform_foreign_key` varchar(100) DEFAULT NULL,
`sob_subform_add` varchar(1) DEFAULT NULL,
`sob_subform_delete` varchar(1) DEFAULT NULL,
`sob_subform_type` varchar(10) DEFAULT NULL,
`sob_subform_table` varchar(300) DEFAULT NULL,
`sob_input_count` bigint(20) DEFAULT 0,
`sob_input_format` varchar(30) DEFAULT NULL,
`sob_input_type` varchar(30) DEFAULT NULL,
`sob_input_icon` varchar(50) DEFAULT NULL,
`sob_input_javascript` text DEFAULT NULL,
`sob_input_datalist` text DEFAULT NULL,
`sob_input_attribute` varchar(1000) DEFAULT NULL,
`sob_input_file_target` varchar(1) NOT NULL DEFAULT '0',
`sob_html_code` longtext DEFAULT NULL,
`sob_html_chart_type` varchar(70) DEFAULT NULL,
`sob_html_javascript` varchar(1000) DEFAULT NULL,
`sob_html_title` varchar(70) DEFAULT NULL,
`sob_html_vertical_label` varchar(70) DEFAULT NULL,
`sob_html_horizontal_label` varchar(70) DEFAULT NULL,
`sob_image_zzzzsys_file_id` varchar(25) DEFAULT NULL,
`sob_all_json` mediumtext DEFAULT NULL,
`sob_json` mediumtext DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- Dumping data for table `zzzzsys_object`
--
INSERT INTO `zzzzsys_object` (`zzzzsys_object_id`, `sob_all_zzzzsys_form_id`, `sob_all_table`, `sob_all_type`, `sob_all_id`, `sob_all_label`, `sob_all_zzzzsys_tab_id`, `sob_all_order`, `sob_all_top`, `sob_all_left`, `sob_all_width`, `sob_all_height`, `sob_all_cloneable`, `sob_all_align`, `sob_all_validate`, `sob_all_access`, `sob_all_event`, `sob_all_style_type`, `sob_all_style`, `sob_calc_formula`, `sob_calc_format`, `sob_run_zzzzsys_form_id`, `sob_run_filter`, `sob_run_method`, `sob_run_target`, `sob_run_type`, `sob_run_id`, `sob_display_sql`, `sob_select_multiple`, `sob_select_2`, `sob_select_sql`, `sob_lookup_code`, `sob_lookup_description`, `sob_lookup_description_width`, `sob_lookup_autocomplete`, `sob_lookup_zzzzsys_form_id`, `sob_lookup_javascript`, `sob_lookup_php`, `sob_lookup_table`, `sob_subform_zzzzsys_form_id`, `sob_subform_foreign_key`, `sob_subform_add`, `sob_subform_delete`, `sob_subform_type`, `sob_subform_table`, `sob_input_count`, `sob_input_format`, `sob_input_type`, `sob_input_icon`, `sob_input_javascript`, `sob_input_datalist`, `sob_input_attribute`, `sob_input_file_target`, `sob_html_code`, `sob_html_chart_type`, `sob_html_javascript`, `sob_html_title`, `sob_html_vertical_label`, `sob_html_horizontal_label`, `sob_image_zzzzsys_file_id`, `sob_all_json`, `sob_json`) VALUES
('nu59e446589a1fc46', 'nusample', '', 'html', 'htmlsample', '|HTML', 'nu5bad6cb370eb06a', 120, 224, 261, 176, 45, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'N|$ 1,000.00', '', NULL, '', NULL, NULL, '0', '<div id=\'adiv\' style=\'text-align:center;width:117px;height:45px;border:1px solid red;\' class=\'nuBreadcrumb\'>\n Hello World\n</div>', '', '', '', '', '', '', NULL, NULL),
('nu59e446589a370ca', 'nusample', '', 'input', 'inputtextsample', '|Text', 'nu5bad6cb373c384f', 10, 227, 238, 300, 22, '1', 'left', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589a4d76a', 'nusample', '', 'display', 'displaysample', '|Display', 'nu5bad6cb370eb06a', 130, 129, 261, 137, 22, '1', 'right', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', 'SELECT COUNT(*) FROM zzzzsys_debug', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'N|$ 1,000.00', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589a6400f', 'nusample', '', 'select', 'selectsample', '|Select', 'nu5bad6cb370eb06a', 200, 274, 261, 80, 22, '1', 'left', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '0|No|1|Yes', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589a848cc', 'nusample', '', 'word', 'bottomcorner', ' ', 'nu5bad6cb370eb06a', 220, 588, 595, 20, 22, '1', 'left', '0', '2', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589a9b145', 'nusample', '', 'select', 'selectmultiselectsample', '|Multiselect', 'nu5bad6cb370eb06a', 210, 331, 261, 117, 56, '1', 'left', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '1', '0', 'SELECT zzzzsys_format_id, srm_format FROM zzzzsys_format ORDER BY srm_type', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589ab1797', 'nusample', '', 'lookup', 'lookupsample', '|Lookup', 'nu5bad6cb370eb06a', 140, 177, 261, 70, 22, '1', 'left', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', 'sal_zzzzsys_form_id', 'sal_code', '150', '', 'nuaccess', '', '', 'zzzzsys_access', '', '', '', '', '', '', 0, '', '', NULL, '[\'North\',\'South\',\'East\',\'West\']', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589ac75be', 'nusample', '', 'word', 'wordsample', '|Word', 'nu5bad6cb370eb06a', 180, 33, 261, 117, 22, '1', 'center', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589adce4d', 'nusample', '', 'input', 'inputbuttonsample', '|Run', 'nu5bad6cb373c384f', 90, 42, 238, 117, 31, '1', 'center', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'N|$ 1,000.00', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589af5d86', 'nusample', '', 'input', 'inputnumbersample', '|Number', 'nu5bad6cb373c384f', 40, 467, 238, 55, 22, '1', 'right', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'N|$ 1,000.00', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589b0af4c', 'nusample', '', 'input', 'inputnudatesample', '|nuDate', 'nu5bad6cb373c384f', 20, 347, 238, 95, 22, '1', 'left', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'D|dd-mm-yyyy', 'nuDate', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589b20a14', 'nusample', '', 'input', 'inputnunumbersample', '|nuNumber', 'nu5bad6cb373c384f', 30, 407, 238, 90, 22, '1', 'right', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'N|1000.00', 'nuNumber', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589b3714b', 'nusample', '', 'calc', 'calcsample', '|Calc', 'nu5bad6cb370eb06a', 170, 81, 261, 98, 22, '1', 'right', '0', '0', NULL, NULL, NULL, 'nuTotal(\'inputnunumbersample\') + nuTotal(\'inputnumbersample\')', 'N|1000.00', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589b4c69b', 'nusample', '', 'input', 'inputcheckboxsample', '|Checkbox', 'nu5bad6cb373c384f', 70, 107, 238, 16, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'N|$ 1,000.00', 'checkbox', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589b61190', 'nusample', '', 'input', 'inputnuscrollsample', '|nuScroll', 'nu5bad6cb373c384f', 80, 287, 238, 176, 22, '1', 'left', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'N|$ 1,000.00', 'nuScroll', NULL, '[\'North\',\'South\',\'East\',\'West\']', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589b75a6d', 'nusample', '', 'textarea', 'textareasample', '|Textarea', 'nu5bad6cb370eb06a', 150, 407, 261, 195, 64, '1', 'left', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '[\'North\',\'South\',\'East\',\'West\']', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589b8b4a1', 'nusample', '', 'word', 'labelword', '|Word', 'nu5bad6cb370eb06a', 190, 33, 214, 40, 22, '1', 'right', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589bce3d7', 'nusample', '', 'input', 'inputnuautonumbersample', '|nuAutoNumber', 'nu5bad6cb373c384f', 50, 167, 238, 73, 22, '1', 'right', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 1000, 'N|$ 1,000.00', 'nuAutoNumber', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589cf91a2', 'nusample', '', 'input', 'inputfilesample', '|File', 'nu5bad6cb373c384f', 60, 527, 238, 300, 66, '1', 'right', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 89, 'N|$ 1,000.00', 'file', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e446589d1c64d', 'nusample', '', 'image', 'imagesample', '|Image', 'nu5bad6cb370eb06a', 160, 507, 261, 156, 85, '1', 'left', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', 'nu5bad6cb37d02d01', NULL, NULL),
('nu59e44658a0c7724', 'nusample', '', 'subform', 'subformsample', 'Subform', 'nu5bad6cb3732c76e', 110, 53, 260, 300, 250, '1', 'right', '0', '0', NULL, NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', 'nusamplesubformform', 'zzzzsys_debug_id', '1', '1', 'g', '', 89, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu59e44658a2b25af', 'nusample', '', 'word', 'labelbutton', '|Button', 'nu5bad6cb373c384f', 100, 42, 114, 40, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb325c8954', 'nuobject', 'zzzzsys_object', 'subform', 'zzzzsys_event_sf', ' ', 'nu5bad6cb370b409e', 1200, 30, 24, 966, 507, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', 'b', '0', NULL, '', '', '0', '0', NULL, '', '', '', '0', '', '', '', 'zzzzsys_tab', 'nuevent', 'sev_zzzzsys_object_id', '1', '1', 'g', 'zzzzsys_event', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32600c97', 'nuhome', '', 'run', 'run_access', 'Access Levels', 'nu5bad6cb367c5125', 50, 99, 270, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nuaccess', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fa fa-unlock', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb326243f9', 'nupassword', 'zzzzsys_user', 'display', 'the_user', ' ', 'nu5bad6cb36ed494f', 10, 57, 218, 200, 22, '1', 'center', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', 'SELECT sus_login_name\nFROM zzzzsys_user\nWHERE zzzzsys_user_id = \'#USER_ID#\'', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3263f2a8', 'nuform', 'zzzzsys_form', 'select', 'sfo_type', 'Form Type', 'nu5bad6cb36791fd5', 20, 42, 182, 140, 22, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'browse|Browse|\nedit|Edit|browseedit|\nBrowse and Edit|\nlaunch|Launch|\nsubform|Subform', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3265cea1', 'nuform', 'zzzzsys_form', 'input', 'sfo_code', 'Code', 'nu5bad6cb36791fd5', 30, 69, 182, 285, 22, '1', 'left', '3', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32680d97', 'nuform', 'zzzzsys_form', 'input', 'sfo_description', 'Description', 'nu5bad6cb36791fd5', 40, 96, 182, 377, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb326a4367', 'nuform', 'zzzzsys_form', 'select', 'sfo_table', 'Table Name', 'nu5bad6cb36791fd5', 60, 150, 182, 292, 22, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', 'n', NULL, '', '', '0', '1', 'SELECT table_name as a, table_name as b \nFROM INFORMATION_SCHEMA.TABLES \nWHERE table_schema = DATABASE()\nORDER BY table_name', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb326ddb36', 'nuform', 'zzzzsys_form', 'display', 'sfo_primary_key_display', 'Primary Key', 'nu5bad6cb36791fd5', 80, 183, 182, 285, 22, '1', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', 'n', NULL, '', 'SELECT column_name\nFROM information_schema.columns\nWHERE table_name = \'#sfo_table#\'\nAND table_schema = database()\nAND COLUMN_KEY = \'PRI\'', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb327181a4', 'nuform', 'zzzzsys_form', 'input', 'sfo_browse_row_height', 'Row Height', 'nu5bad6cb36757b92', 190, 42, 145, 50, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32737662', 'nuform', 'zzzzsys_form', 'input', 'sfo_browse_rows_per_page', 'Rows Per Page', 'nu5bad6cb36757b92', 200, 42, 351, 50, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3275e50e', 'nuform', 'zzzzsys_form', 'lookup', 'sfo_browse_redirect_form_id', 'Redirect To', 'nu5bad6cb36757b92', 230, 318, 145, 180, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'sfo_code', 'sfo_description', '280', '', 'nuform', '', '', 'zzzzsys_form', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3278653c', 'nuform', 'zzzzsys_form', 'textarea', 'sfo_browse_sql', 'SQL', 'nu5bad6cb36757b92', 170, 385, 145, 993, 139, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb327ab3b8', 'nuform', 'zzzzsys_form', 'subform', 'zzzzsys_browse_sf', 'Columns', 'nu5bad6cb36757b92', 260, 78, 145, 993, 228, '1', 'right', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', 'nubrowse', 'sbr_zzzzsys_form_id', '1', '1', 'g', 'zzzzsys_browse', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb327ca554', 'nubrowse', 'zzzzsys_browse', 'input', 'sbr_title', 'Title', 'nu5bad6cb3683fa36', 10, 8, 69, 300, 20, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb327ee8dc', 'nubrowse', 'zzzzsys_browse', 'input', 'sbr_display', 'Display', 'nu5bad6cb3683fa36', 20, 34, 69, 346, 22, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'search', NULL, '', '[]', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb328350f1', 'nubrowse', 'zzzzsys_browse', 'select', 'sbr_align', 'Align', 'nu5bad6cb3683fa36', 30, 60, 69, 65, 20, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'l|Left|r|Right|c|Center', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32856f55', 'nubrowse', 'zzzzsys_browse', 'select', 'sbr_format', 'Format', 'nu5bad6cb3683fa36', 40, 86, 69, 100, 20, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT \n CONCAT(LEFT(srm_type, 1), \'|\', TRIM(srm_format)) AS a, \n srm_format AS b \nFROM zzzzsys_format\nORDER BY srm_type', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb328796fe', 'nubrowse', 'zzzzsys_browse', 'input', 'sbr_width', 'Width', 'nu5bad6cb3683fa36', 50, 112, 69, 50, 20, '1', 'right', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3289c6f6', 'nubrowse', 'zzzzsys_browse', 'input', 'sbr_order', 'Order', 'nu5bad6cb3683fa36', 60, 138, 69, 50, 20, '1', 'right', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb328be090', 'nuform', 'zzzzsys_form', 'subform', 'zzzzsys_tab_sf', 'Tabs', 'nu5bad6cb36791fd5', 110, 270, 182, 952, 232, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', 'nutab', 'syt_zzzzsys_form_id', '1', '1', 'g', 'zzzzsys_tab', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb328dde63', 'nutab', 'zzzzsys_tab', 'input', 'syt_title', 'Title', 'nu5bad6cb36c9250f', 10, 10, 100, 180, 20, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb328f889b', 'nutab', 'zzzzsys_tab', 'input', 'syt_order', 'Order', 'nu5bad6cb36c9250f', 20, 31, 100, 46, 20, '1', 'right', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb329136ba', 'nuform', 'zzzzsys_form', 'input', 'bb_event', 'Before Browse', 'nu5bad6cb37026348', 360, 237, 42, 177, 29, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32930450', 'nubuildreport', 'zzzzsys_report', 'input', 'open_builder', 'Report Designer', 'nu5bad6cb36804778', 70, 204, 236, 186, 40, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3295b165', 'nubuildreport', 'zzzzsys_report', 'textarea', 'sre_layout', 'Layout', 'nu5bad6cb36804778', 90, 253, 236, 300, 100, '1', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32976d5d', 'nuform', 'zzzzsys_form', 'textarea', 'sfo_javascript', ' ', 'nu5bad6cb37026348', 310, 60, 266, 858, 467, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false,data-custom-code-textarea', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3299aecf', 'nuphp', 'zzzzsys_php', 'lookup', 'sph_zzzzsys_form_id', 'Launch From', 'nu5bad6cb36b27343', 70, 118, 142, 283, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\r\nFROM zzzzsys_form\r\nORDER BY sfo_code', 'sfo_code', 'sfo_description', '300', '', 'nulaunchable', '', '', 'zzzzsys_form', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb329b8805', 'nuhome', '', 'run', 'object_button', 'Objects', 'nu5bad6cb367c5125', 30, 155, 53, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nuobject', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fas fa-cubes', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb329dcb6e', 'nuobject', 'zzzzsys_object', 'lookup', 'sob_all_zzzzsys_tab_id', 'Form Tab', 'nu5bad6cb3686cb0d', 60, 30, 159, 140, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', 'syt_title', 'sfo_description', '272', '0', 'nutablookup', 'nuUpdateIdDatalist();', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb329fdf13', 'nuobject', 'zzzzsys_object', 'select', 'sob_all_type', 'Type', 'nu5bad6cb3686cb0d', 70, 57, 159, 144, 22, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'input|Input|\nselect|Select|\nlookup|Lookup|\nrun|Run|\ntextarea|Textarea|\nword|Word|\ncalc|Calc|\ndisplay|Display|\nhtml|HTML|\nimage|Image|\nsubform|Subform|\ncontentbox|ContentBox|\neditor|WYSIWYG Editor', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32a1c004', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_id', 'ID', 'nu5bad6cb3686cb0d', 90, 111, 159, 324, 22, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', 'n', NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'search', NULL, '', '[]', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32a36c23', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_label', 'Label', 'nu5bad6cb3686cb0d', 80, 84, 159, 439, 22, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32a5798c', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_order', 'Tabbing Order', 'nu5bad6cb3686cb0d', 50, 57, 0, 72, 22, '1', 'right', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32a7637b', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_top', 'Top', 'nu5bad6cb3686cb0d', 120, 206, 159, 50, 22, '1', 'right', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32a9998f', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_left', 'Left', 'nu5bad6cb3686cb0d', 130, 235, 159, 50, 22, '1', 'right', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32abf6a9', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_width', 'Width', 'nu5bad6cb3686cb0d', 140, 264, 159, 50, 22, '1', 'right', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32ae0077', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_height', 'Height', 'nu5bad6cb3686cb0d', 150, 293, 159, 50, 22, '1', 'right', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32b06a65', 'nuobject', 'zzzzsys_object', 'select', 'sob_all_cloneable', 'Cloneable', 'nu5bad6cb3686cb0d', 190, 453, 159, 182, 22, '1', 'right', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '0|No|1|Yes', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32b263c1', 'nuobject', 'zzzzsys_object', 'select', 'sob_all_align', 'Align', 'nu5bad6cb3686cb0d', 170, 395, 159, 182, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'left|Left|right|Right|center|Center', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32b417d0', 'nuobject', 'zzzzsys_object', 'select', 'sob_all_validate', 'Validation', 'nu5bad6cb3686cb0d', 180, 424, 159, 182, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '0|None|1|No Blanks|2|No Duplicates|3|No Duplicates/Blanks', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32b5c449', 'nuobject', 'zzzzsys_object', 'select', 'sob_all_access', 'Access', 'nu5bad6cb3686cb0d', 160, 366, 159, 182, 22, '1', 'center', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '0|Editable|\n1|Readonly|\n2|Hidden|\n3|Hidden (User)|\n4|Hidden (User) + Readonly', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32b77005', 'nuobject', 'zzzzsys_object', 'word', 'calctotwrd', 'Objects', 'nu5bad6cb36f99a7e', 1160, 192, 80, 343, 17, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32b9715a', 'nuobject', 'zzzzsys_object', 'word', 'calcfldwrd', 'Operators', 'nu5bad6cb36f99a7e', 1180, 192, 540, 151, 17, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32bd0b0a', 'nuobject', 'zzzzsys_object', 'textarea', 'sob_html_code', 'HTML', 'nu5bad6cb36a71012', 1110, 306, 148, 814, 213, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32bf6285', 'nuobject', 'zzzzsys_object', 'textarea', 'sob_display_sql', 'SQL', 'nu5bad6cb36974818', 670, 114, 114, 801, 384, '1', 'left', '0', '0', '0', 'CSS', 'padding:5px', '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32c14343', 'nuobject', 'zzzzsys_object', 'textarea', 'sob_select_sql', 'SQL<br>or<br>List', 'nu5bad6cb369a6ee3', 700, 114, 114, 801, 384, '1', 'left', '0', '0', '0', 'CSS', 'padding:5px', '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32c2f35b', 'nuobject', 'zzzzsys_object', 'input', 'sob_select_multiple', 'Multiple', 'nu5bad6cb369a6ee3', 710, 50, 114, 16, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'checkbox', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32c4d9de', 'nuobject', 'zzzzsys_object', 'select', 'sob_input_type', 'Input Type (and class)', 'nu5bad6cb36a4af06', 990, 50, 239, 161, 22, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '1', 'text|Text|\nnuNumber|nuNumber|\nnumber|Number|\nnuDate|nuDate|\nbutton|Button|\ncheckbox|Checkbox|\nimage|Image|\nsearch|Search|\nnuScroll|nuScroll|\nnuAutoNumber|nuAutoNumber|\ncolor|Color|\ndatetime-local|Datetime-Local|\nemail|Email|\nfile|File|\nhidden|Hidden|\nmonth|Month|\npassword|Password|\nradio|Radio|\nrange|Range|\nreset|Reset|\ntel|Telephone|\ntime|Time|\nurl|URL|\nweek|Week', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32c708be', 'nuobject', 'zzzzsys_object', 'select', 'sob_input_format', 'Format', 'nu5bad6cb36a4af06', 970, 84, 239, 161, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT \n CONCAT(LEFT(srm_type, 1), \'|\', TRIM(srm_format)) AS a, \n srm_format AS b \nFROM zzzzsys_format\nORDER BY srm_type\n', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32c9102c', 'nuobject', 'zzzzsys_object', 'lookup', 'sob_subform_zzzzsys_form_id', 'Form', 'nu5bad6cb36a1c024', 870, 38, 178, 202, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'sfo_code', 'sfo_description', '250', '', 'nuform', 'nuRefreshSelectObject(\'sob_subform_foreign_key\');', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32cb28dd', 'nuobject', 'zzzzsys_object', 'select', 'sob_subform_foreign_key', 'Foreign Key', 'nu5bad6cb36a1c024', 880, 68, 178, 207, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '1', 'SELECT column_name, column_name\nFROM information_schema.columns\nWHERE table_name = \'#sob_subform_table#\'\nAND table_schema = database()\nAND COLUMN_KEY <> \'PRI\'', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32cd0b84', 'nuobject', 'zzzzsys_object', 'select', 'sob_subform_add', 'Addable', 'nu5bad6cb36a1c024', 900, 101, 178, 60, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '0|No|1|Yes', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32ced09b', 'nuobject', 'zzzzsys_object', 'select', 'sob_subform_delete', 'Deleteable', 'nu5bad6cb36a1c024', 910, 131, 178, 60, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '0|No|1|Yes', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32d07376', 'nuobject', 'zzzzsys_object', 'select', 'sob_subform_type', 'Type', 'nu5bad6cb36a1c024', 920, 161, 178, 60, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'g|Grid|f|Form', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32d22215', 'nuobject', 'zzzzsys_object', 'lookup', 'sob_run_zzzzsys_form_id', 'Run', 'nu5bad6cb368d9c40', 570, 34, 103, 271, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'code', 'CONCAT(run, \' - \', description)', '324', '', 'nurunlist', 'nuShow(\'sob_run_zzzzsys_form_open_button\', sob_run_zzzzsys_form_id.value !== \'\');', '', 'zzzzsys_run_list', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32d3ef22', 'nuobject', 'zzzzsys_object', 'input', 'sob_run_filter', 'Filter', 'nu5bad6cb368d9c40', 580, 64, 103, 271, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32d6add9', 'nuobject', 'zzzzsys_object', 'input', 'sob_run_id', 'Record ID', 'nu5bad6cb368d9c40', 590, 94, 103, 276, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'search', NULL, '', '[]', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32d8ec39', 'nuobject', 'zzzzsys_object', 'select', 'sob_run_method', 'Method', 'nu5bad6cb368d9c40', 600, 124, 103, 80, 22, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'b|Button|i|iFrame', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32dcbcb4', 'nuobject', 'zzzzsys_object', 'lookup', 'sob_lookup_zzzzsys_form_id', 'Form', 'nu5bad6cb369d0088', 780, 33, 113, 337, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'sfo_code', 'sfo_description', '250', '', 'nuform', 'nuShow(\'sob_lookup_zzzzsys_form_open_button\', sob_lookup_zzzzsys_form_id.value !== \'\');\n\nnuUpdateLookupDescriptionDatalist();\nnuRefreshSelectObject(\'sob_lookup_code\');\n', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32e1a66a', 'nuobject', 'zzzzsys_object', 'select', 'sob_lookup_code', 'Code', 'nu5bad6cb369d0088', 790, 61, 113, 237, 22, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '1', 'SELECT column_name, column_name\nFROM information_schema.columns\nWHERE table_name = \'#sob_lookup_table#\'\nAND table_schema = database()\nAND COLUMN_KEY <> \'PRI\'', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32e47d18', 'nuobject', 'zzzzsys_object', 'input', 'sob_lookup_description', 'Description', 'nu5bad6cb369d0088', 800, 92, 113, 446, 22, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'search', NULL, '', '[]', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32e8733c', 'nuobject', 'zzzzsys_object', 'input', 'sob_lookup_description_width', 'Width', 'nu5bad6cb369d0088', 810, 92, 757, 50, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb32ec104d', 'nuobject', 'zzzzsys_object', 'textarea', 'sob_lookup_javascript', ' ', 'nu5bad6cb369d0088', 820, 217, 113, 838, 255, '1', 'left', '0', '0', '0', 'CSS', 'padding:5px', '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3313ae2f', 'nuhome', '', 'run', 'form_button', 'Forms', 'nu5bad6cb367c5125', 20, 99, 53, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nuform', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fab fa-wpforms', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3316ef87', 'nuevent', 'zzzzsys_event', 'textarea', 'sev_javascript', 'JavaScript', 'nu5bad6cb36aaa539', 20, 1, 255, 751, 141, '1', 'left', '1', '0', '0', '', '', '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', 'sev_zzzsys_object_id', '1', '1', 'g', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb331a6d3e', 'nuevent', 'zzzzsys_event', 'input', 'sev_event', 'Event', 'nu5bad6cb36aaa539', 10, 1, 55, 150, 20, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'drag|drag|dragend|dragend|dragenter|dragenter|dragexit|dragexit|dragleave|dragleave|dragover|dragover|dragstart|dragstart|drop|drop|onclick|onclick|onblur|onblur|onchange|onchange|onfocus|onfocus|onkeydown|onkeydown', '', '', '', '', '', '', '', '', '', 'sev_zzzsys_object_id', '1', '1', 'g', '', 0, '', 'search', NULL, '', 'nuChooseEventList()', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3351b6a4', 'nuaccess', 'zzzzsys_access', 'lookup', 'sal_zzzzsys_form_id', 'Home', 'nu5bad6cb36ac903f', 20, 67, 156, 200, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'sfo_code', 'sfo_description', '350', '', 'nulaunchform', 'nuShow(\'sal_zzzzsys_form_id_open_button\', sal_zzzzsys_form_id.value !== \'\');', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3364460a', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_zzzzsys_form_id', 'Form ID', 'nu5bad6cb3686cb0d', 500, 13, 0, 72, 22, '1', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '0', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb336a9f96', 'nuaccess', 'zzzzsys_access', 'input', 'sal_code', 'Code', 'nu5bad6cb36ac903f', 30, 94, 156, 200, 22, '1', 'left', '3', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33715015', 'nuaccessforms', 'zzzzsys_access_form', 'lookup', 'slf_zzzzsys_form_id', 'Form', 'nu5bad6cb36b994d2', 10, 20, 87, 280, 20, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'sfo_code', 'sfo_description', '300', '', 'nunonsystemform', '', '', 'zzzzsys_form', '', '', '1', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33762770', 'nuaccess', 'zzzzsys_access', 'subform', 'accform', ' ', 'nu5bad6cb36af0c58', 80, 20, 30, 1168, 540, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', 'nuaccessforms', 'slf_zzzzsys_access_id', '1', '1', 'g', 'zzzzsys_access_form', 0, '', '', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb337ab8d0', 'nuaccessforms', 'zzzzsys_access_form', 'input', 'slf_add_button', '<br>  <span class=\'nuActionButton\'>Add</span>', 'nu5bad6cb36b994d2', 20, 75, 87, 53, 18, '1', 'left', '0', '0', '0', '', '', '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', 'checkbox', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb338330bb', 'nuaccessforms', 'zzzzsys_access_form', 'input', 'slf_save_button', '<br> <span class=\'nuActionButton\'>Save</span>', 'nu5bad6cb36b994d2', 40, 127, 87, 53, 18, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', 'checkbox', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb338c7612', 'nuaccessforms', 'zzzzsys_access_form', 'input', 'slf_delete_button', '<br> <span class=\'nuActionButton\'>Delete</span>', 'nu5bad6cb36b994d2', 60, 101, 87, 53, 18, '1', 'center', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', 'checkbox', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3399c9cf', 'nuaccessforms', 'zzzzsys_access_form', 'input', 'slf_clone_button', '<br> <span class=\'nuActionButton\'>Clone</span>', 'nu5bad6cb36b994d2', 50, 153, 87, 53, 18, '1', 'center', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', 'checkbox', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33a00c7d', 'nuaccess', 'zzzzsys_access', 'word', 'button_title', 'Enable Buttons...', 'nu5bad6cb36af0c58', 90, 27, 692, 200, 22, '1', 'center', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'nu-mobileview-hidden', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33a4e07f', 'nuaccessforms', 'zzzzsys_access_form', 'input', 'slf_print_button', '<br> <span class=\'nuActionButton\'>Print</span>', 'nu5bad6cb36b994d2', 30, 49, 87, 53, 18, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', 'checkbox', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33a9d661', 'nuhome', '', 'run', 'run_user', 'Users', 'nu5bad6cb367c5125', 60, 155, 270, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nuuser', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fa fa fa-user', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33ad88b7', 'nuuser', 'zzzzsys_user', 'input', 'sus_name', 'Name', 'nu5bad6cb36b63cae', 30, 59, 217, 329, 22, '0', 'left', '3', '0', '0', NULL, NULL, '', '', '', '', '', 'n', NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', '', '', NULL, 'autocomplete=\"off\"', '0', '', '', '', '', '', '', '', '{\"type\":{\"version\":\"1.0\",\"mobile\":{\"version\":\"1.0\",\"name\":\"test1\",\"visible\":true,\"location\":{\"top\":\"65\",\"left\":\"52\"},\"size\":{\"width\":\"250\",\"height\":\"25\"},\"class\":[\"nuMobileInput\"]}}}', NULL),
('nu5bad6cb33b1013c', 'nuuser', 'zzzzsys_user', 'input', 'sus_email', 'Email', 'nu5bad6cb36b63cae', 100, 303, 217, 329, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', '{\"type\":{\"version\":\"1.0\",\"mobile\":{\"version\":\"1.0\",\"name\":\"test1\",\"visible\":true,\"location\":{\"top\":\"455\",\"left\":\"52\"},\"size\":{\"width\":\"250\",\"height\":\"25\"},\"class\":[\"nuMobileInput\"]}}}', NULL),
('nu5bad6cb33b42890', 'nuuser', 'zzzzsys_user', 'input', 'sus_login_name', 'Login Name', 'nu5bad6cb36b63cae', 50, 113, 217, 238, 22, '0', 'left', '3', '1', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', '', '', NULL, 'autocomplete=\"off\"', '0', '', '', '', '', '', '', '', '{\"type\":{\"version\":\"1.0\",\"mobile\":{\"version\":\"1.0\",\"name\":\"test1\",\"visible\":true,\"location\":{\"top\":\"195\",\"left\":\"52\"},\"size\":{\"width\":\"250\",\"height\":\"25\"},\"class\":[\"nuMobileInput\"]}}}', NULL),
('nu5bad6cb33b84bf4', 'nuuser', 'zzzzsys_user', 'input', 'new_password', 'Password', 'nu5bad6cb36b63cae', 60, 140, 217, 238, 22, '1', 'left', '0', '1', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'password', '', '', NULL, 'autocomplete=\"new-password\"', '0', '', '', '', '', '', '', '', '{\"type\":{\"version\":\"1.0\",\"mobile\":{\"version\":\"1.0\",\"name\":\"test1\",\"visible\":true,\"location\":{\"top\":\"245\",\"left\":\"52\"},\"size\":{\"width\":\"250\",\"height\":\"25\"},\"class\":[\"nuMobileInput\"]}}}', NULL),
('nu5bad6cb33d2481a', 'nuuser', 'zzzzsys_user', 'input', 'check_password', 'Confirm Password', 'nu5bad6cb36b63cae', 70, 167, 217, 238, 22, '1', 'left', '0', '1', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'password', '', '', NULL, 'autocomplete=\"new-password\"', '0', '', '', '', '', '', '', '', '{\"type\":{\"version\":\"1.0\",\"mobile\":{\"version\":\"1.0\",\"name\":\"test1\",\"visible\":true,\"location\":{\"top\":\"295\",\"left\":\"52\"},\"size\":{\"width\":\"250\",\"height\":\"25\"},\"class\":[\"nuMobileInput\"]}}}', NULL),
('nu5bad6cb33d99a4b', 'nuuser', 'zzzzsys_user', 'lookup', 'sus_zzzzsys_access_id', 'Access Level', 'nu5bad6cb36b63cae', 40, 86, 217, 329, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', 'sal_code', 'sal_description', '300', '', 'nuaccess', 'nuShow(\'sus_zzzzsys_access_id_open_button\',sus_zzzzsys_access_id.value !== \'\');', '', 'zzzzsys_access', '', '', '', '', '', '', 0, '', '', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', '{\"type\":{\"version\":\"1.0\",\"mobile\":{\"version\":\"1.0\",\"name\":\"test1\",\"visible\":true,\"location\":{\"top\":\"115\",\"left\":\"52\"},\"size\":{\"width\":\"250\",\"height\":\"25\"},\"class\":[\"nuMobileInput\"]}}}', NULL),
('nu5bad6cb33e17c28', 'nuphp', 'zzzzsys_php', 'input', 'sph_code', 'Code', 'nu5bad6cb36b27343', 10, 37, 142, 283, 22, '1', 'left', '3', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'search', NULL, '', '[\"nuBeforeSave\",\"nuAfterSave\",\"nuBeforeEdit\",\"nuBeforeBrowse\",\"nuBeforeDelete\",\"nuAfterDelete\",\"nuStartup\",\"nuCheckPasswordPolicy\",\"nuInvalidLogin\",\"nuAfterUpdate\"]', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33e77084', 'nusetup', 'zzzzsys_setup', 'contentbox', 'contentbox_auth', 'Auth SMTP Information', 'nu5bad6cb36e31edf', 190, 39, 40, 539, 400, '1', 'center', '0', '0', '0', '', '', '', '', '', '', '', '', '', '', '', '0', '0', '', '', '', '', NULL, '', '', NULL, '', '', '', '', '', '', '', 0, '', '', NULL, '', '', 'nu-mobileview-hidden', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33ed5ffe', 'nuphp', 'zzzzsys_php', 'textarea', 'sph_php', 'PHP', 'nu5bad6cb36b27343', 90, 172, 142, 781, 358, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33f2e9ce', 'nuhome', '', 'run', 'edit_php', 'Procedure', 'nu5bad6cb36efb50c', 150, 43, 270, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nuphp', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fa fa-code', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33fc3e37', 'nuhome', '', 'run', 'edit_report', 'Report', 'nu5bad6cb36efb50c', 140, 155, 53, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nubuildreport', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'far fa-file-pdf', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb33fe854c', 'nuphp', 'zzzzsys_php', 'input', 'sph_description', 'Description', 'nu5bad6cb36b27343', 30, 64, 142, 541, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL);
INSERT INTO `zzzzsys_object` (`zzzzsys_object_id`, `sob_all_zzzzsys_form_id`, `sob_all_table`, `sob_all_type`, `sob_all_id`, `sob_all_label`, `sob_all_zzzzsys_tab_id`, `sob_all_order`, `sob_all_top`, `sob_all_left`, `sob_all_width`, `sob_all_height`, `sob_all_cloneable`, `sob_all_align`, `sob_all_validate`, `sob_all_access`, `sob_all_event`, `sob_all_style_type`, `sob_all_style`, `sob_calc_formula`, `sob_calc_format`, `sob_run_zzzzsys_form_id`, `sob_run_filter`, `sob_run_method`, `sob_run_target`, `sob_run_type`, `sob_run_id`, `sob_display_sql`, `sob_select_multiple`, `sob_select_2`, `sob_select_sql`, `sob_lookup_code`, `sob_lookup_description`, `sob_lookup_description_width`, `sob_lookup_autocomplete`, `sob_lookup_zzzzsys_form_id`, `sob_lookup_javascript`, `sob_lookup_php`, `sob_lookup_table`, `sob_subform_zzzzsys_form_id`, `sob_subform_foreign_key`, `sob_subform_add`, `sob_subform_delete`, `sob_subform_type`, `sob_subform_table`, `sob_input_count`, `sob_input_format`, `sob_input_type`, `sob_input_icon`, `sob_input_javascript`, `sob_input_datalist`, `sob_input_attribute`, `sob_input_file_target`, `sob_html_code`, `sob_html_chart_type`, `sob_html_javascript`, `sob_html_title`, `sob_html_vertical_label`, `sob_html_horizontal_label`, `sob_image_zzzzsys_file_id`, `sob_all_json`, `sob_json`) VALUES
('nu5bad6cb3400c80a', 'nubuildreport', 'zzzzsys_report', 'lookup', 'sre_zzzzsys_form_id', 'Launch From', 'nu5bad6cb36804778', 60, 166, 236, 186, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'sfo_code', 'sfo_description', '200', '', 'nulaunchable', '', '', 'zzzzsys_form', 'nuform', '', '1', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb340c5469', 'nubuildreport', 'zzzzsys_report', 'input', 'sre_code', 'Code', 'nu5bad6cb36804778', 10, 54, 236, 186, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb340fb412', 'nubuildreport', 'zzzzsys_report', 'input', 'sre_description', 'Description', 'nu5bad6cb36804778', 30, 82, 236, 300, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34130517', 'nuaccessgroup', 'zzzzsys_user_group_access_level', 'lookup', 'gal_zzzzsys_access_id', 'Access To..', 'nu5bad6cb36bdec72', 40, 40, 107, 70, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT \ncolor_id,\ncol_description\nFROM color\nORDER BY col_description', 'sal_code', 'sal_description', '300', '', 'nuaccess', '', '', 'zzzzsys_access', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3416c803', 'nudebug', 'zzzzsys_debug', 'textarea', 'deb_message', ' ', 'nu5bad6cb36bf8d38', 10, 16, 30, 786, 432, '0', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb341ba4c3', 'nuphp', 'zzzzsys_php', 'select', 'sph_run', 'Run', 'nu5bad6cb36b27343', 80, 145, 142, 136, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'hide|Hidden|\r\nwindow|In a new window', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb341fdfc3', 'nuaccessreport', 'zzzzsys_access_php', 'lookup', 'slp_zzzzsys_php_id', 'Procedure', 'nu5bad6cb36c55179', 0, 20, 100, 280, 20, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '', 'sph_code', 'sph_description', '300', '', 'nuphp', '', '', 'zzzzsys_php', '', '', '1', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34231992', 'nuaccess', 'zzzzsys_access', 'subform', 'accphp', ' ', 'nu5bad6cb36c16b42', 100, 20, 30, 675, 540, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', 'nuaccessreport', 'slp_zzzzsys_access_id', '1', '1', 'g', 'zzzzsys_access_php', 0, '', '', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb342620ba', 'nuaccess', 'zzzzsys_access', 'subform', 'accreport', ' ', 'nu5bad6cb36c39fc8', 110, 20, 30, 675, 540, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', 'nuaccesslevelreport', 'sre_zzzzsys_access_id', '1', '1', 'g', 'zzzzsys_access_report', 0, '', '', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb342de027', 'nuaccesslevelreport', 'zzzzsys_access_report', 'lookup', 'sre_zzzzsys_report_id', 'Report', 'nu5bad6cb36c75655', 30, 47, 163, 280, 20, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', 'sre_code', 'sre_description', '300', '0', 'nubuildreport', '', '', 'zzzzsys_report', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb343a3176', 'nubuildreport', 'zzzzsys_report', 'input', 'sre_group', 'Group', 'nu5bad6cb36804778', 40, 110, 236, 186, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34460b5f', 'nuhome', '', 'run', 'run_report', 'Run Report', 'nu5bad6cb367c5125', 80, 99, 488, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nurunreport', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', 'nurunreport', '', '0', '0', '', '', 0, '', '', 'fa fa-play', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34489ea2', 'nuhome', '', 'run', 'run_php', 'Run Procedure', 'nu5bad6cb367c5125', 70, 43, 488, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nurunphp', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fa fa-play', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb344b93ac', 'nulaunchdates', '', 'input', 'from_date', 'Between', 'nu5bad6cb36cfbbfa', 10, 72, 115, 90, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'D|dd-mmm-yyyy', 'nuDate', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb344dffcc', 'nulaunchdates', '', 'input', 'to_date', 'And', 'nu5bad6cb36cfbbfa', 20, 72, 243, 90, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 'D|dd-mmm-yyyy', 'nuDate', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb345094c6', 'nubuildreport', 'zzzzsys_report', 'lookup', 'sre_zzzzsys_php_id', 'Table', 'nu5bad6cb36804778', 50, 138, 236, 186, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'code', 'description', '200', '', 'nubuildtable', '', '', 'zzzzsys_report_data', 'nuform', '', '1', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3452cdfe', 'nuphp', 'zzzzsys_php', 'input', 'sph_group', 'Group', 'nu5bad6cb36b27343', 40, 91, 142, 283, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3454ed08', 'nuhome', '', 'run', 'run_setup', 'Setup', 'nu5bad6cb367c5125', 40, 43, 270, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nusetup', '', 'b', '0', 'F', '1', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fas fa-cog', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb345bcd24', 'nusetup', 'zzzzsys_setup', 'lookup', 'set_zzzzsys_timezone_id', 'Time Zone', 'nu5bad6cb36d97acd', 110, 179, 227, 330, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', 'stz_timezone', 'stz_timezone', '0', '', 'nutimezone', '', '', 'zzzzsys_timezone', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3462cd79', 'nuuser', 'zzzzsys_user', 'select', 'sus_language', 'Language', 'nu5bad6cb36b63cae', 90, 276, 217, 153, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT trl_language, trl_language AS a \nFROM zzzzsys_translate\nGROUP BY trl_language ', '', '', '', '', '', '', '', 'zzzzsys_timezone', '', '', '', '', '', '', 0, '', '', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', '{\"type\":{\"version\":\"1.0\",\"mobile\":{\"version\":\"1.0\",\"name\":\"test1\",\"visible\":true,\"location\":{\"top\":\"405\",\"left\":\"52\"},\"size\":{\"width\":\"250\",\"height\":\"25\"},\"class\":[\"nuMobileInput\"]}}}', NULL),
('nu5bad6cb346642c0', 'nusetup', 'zzzzsys_setup', 'select', 'set_smtp_use_authentication', 'Use Authentication', 'nu5bad6cb36e31edf', 260, 295, 245, 59, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '0|No|1|Yes', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb346a7c3b', 'nusetup', 'zzzzsys_setup', 'input', 'set_smtp_username', 'User Name', 'nu5bad6cb36e31edf', 200, 97, 245, 235, 22, '1', 'left', '1', '0', '0', '', '', '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb346df926', 'nusetup', 'zzzzsys_setup', 'input', 'set_smtp_password', 'Password', 'nu5bad6cb36e31edf', 210, 131, 245, 235, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34701820', 'nusetup', 'zzzzsys_setup', 'input', 'set_smtp_host', 'Host', 'nu5bad6cb36e31edf', 220, 163, 245, 235, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34724534', 'nusetup', 'zzzzsys_setup', 'input', 'set_smtp_from_address', 'Address', 'nu5bad6cb36e31edf', 230, 196, 245, 235, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3475031f', 'nusetup', 'zzzzsys_setup', 'input', 'set_smtp_from_name', 'From Name', 'nu5bad6cb36e31edf', 240, 229, 245, 235, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3477c73b', 'nusetup', 'zzzzsys_setup', 'input', 'set_smtp_port', 'Port', 'nu5bad6cb36e31edf', 250, 262, 245, 82, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'search', NULL, '', '[25,465,587,2525]', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb347da00e', 'nusetup', 'zzzzsys_setup', 'textarea', 'set_header', ' ', 'nu5bad6cb36e9143a', 10, 69, 81, 1300, 500, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT trl_language, trl_language AS a \nFROM zzzzsys_translate\nGROUP BY trl_language ', '', '', '', '', '', '', '', 'zzzzsys_timezone', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb347fc49c', 'nuhome', '', 'run', 'run_lang', 'Translation', 'nu5bad6cb36efb50c', 180, 43, 488, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nutranslate', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fa fa-globe', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3482a7d5', 'nutranslate', 'zzzzsys_translate', 'input', 'trl_language', 'Language', 'nu5bad6cb36eb07f0', 10, 54, 142, 100, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'nuScroll', NULL, 'nuLanguages()', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3498f4e8', 'nutranslate', 'zzzzsys_translate', 'input', 'trl_english', 'English', 'nu5bad6cb36eb07f0', 20, 90, 142, 572, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb349c926f', 'nutranslate', 'zzzzsys_translate', 'input', 'trl_translation', 'Translation', 'nu5bad6cb36eb07f0', 40, 117, 142, 572, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34a11c21', 'nupassword', 'zzzzsys_user', 'input', 'new_password_check', 'Confirm New Password', 'nu5bad6cb36ed494f', 50, 144, 218, 200, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'password', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34a592fd', 'nupassword', 'zzzzsys_user', 'input', 'new_password', 'New Password', 'nu5bad6cb36ed494f', 40, 115, 218, 200, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'password', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34a8d913', 'nupassword', 'zzzzsys_user', 'input', 'old_password', 'Current Password', 'nu5bad6cb36ed494f', 20, 86, 218, 200, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', 'SELECT CONCAT(\'( \', sus_login_name, \' )\')\nFROM zzzzsys_user\nWHERE zzzzsys_user_id = \'#RECORD_ID#\'', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'password', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34b050a0', 'nuobject', 'zzzzsys_object', 'input', 'ab_event', 'After Browse', 'nu5bad6cb369d0088', 840, 170, 113, 167, 29, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34c005d7', 'nuform', 'zzzzsys_form', 'input', 'be_event', 'Before Edit', 'nu5bad6cb37026348', 370, 271, 42, 177, 29, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34c4775c', 'nuform', 'zzzzsys_form', 'input', 'bs_event', 'Before Save', 'nu5bad6cb37026348', 380, 305, 42, 177, 29, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34d23de5', 'nuform', 'zzzzsys_form', 'input', 'as_event', 'After Save', 'nu5bad6cb37026348', 390, 339, 42, 177, 29, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34d7e1db', 'nuform', 'zzzzsys_form', 'input', 'bd_event', 'Before Delete', 'nu5bad6cb37026348', 400, 373, 42, 177, 29, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34e2eaec', 'nuform', 'zzzzsys_form', 'input', 'ad_event', 'After Delete', 'nu5bad6cb37026348', 410, 407, 42, 177, 29, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34e5cc53', 'nuform', 'zzzzsys_form', 'input', 'previewedit', 'Preview Edit Form', 'nu5bad6cb36791fd5', 140, 151, 933, 201, 48, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34e80d7e', 'nuobject', 'zzzzsys_object', 'input', 'sob_lookup_table', 'Code', 'nu5bad6cb369d0088', 830, 19, 9, 50, 22, '1', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34ea0b99', 'nuhome', '', 'run', 'run_fast_form', 'Fast Form', 'nu5bad6cb36efb50c', 120, 43, 53, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nufflaunch', '', 'b', '0', 'F', '-1', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fa fa-bolt', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34ebf5bd', 'nufastformobjects', 'zzzzsys_object', 'input', 'ff_field', 'Field Name', 'nu5bad6cb36f72f8e', 20, 72, 23, 250, 20, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'search', NULL, '', '', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34ee220e', 'nufastformobjects', 'zzzzsys_object', 'input', 'ff_label', 'Label', 'nu5bad6cb36f72f8e', 10, 46, 23, 220, 20, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34f0470a', 'nufflaunch', '', 'subform', 'obj_sf', ' ', 'nu5bad6cb36f36433', 140, 152, 328, 913, 429, '1', 'right', '0', '0', '1', NULL, NULL, '', '', 'nuffcustomobjects', '', 'i', '', NULL, '', '', '', '0', '', '', '', '', '', '', '', '', 'zzzzsys_object', 'nufastformobjects', 'deb_message', '1', '1', 'g', 'zzzzsys_debug', 0, '', '', '', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34f26ff6', 'nuobject', 'zzzzsys_object', 'html', 'nucalculator', ' ', 'nu5bad6cb36f99a7e', 1190, 212, 540, 151, 210, '1', 'right', '0', '1', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '<table>\n <tr>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>1</td>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>2</td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>3</td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\' title=\'Add a Space\'> </td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> + </td>\n </tr>\n <tr>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>4</td>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>5</td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>6</td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>.</td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> - </td> \n </tr>\n <tr>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>7</td>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>8</td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>9</td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'>0</td>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> * </td>\n </tr>\n <tr>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> ? </td>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> : </td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> = </td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> ! </td> \n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> / </td>\n </tr>\n <tr>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> ( </td>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\'> ) </td>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\' colspan=3>Clear</td>\n </tr>\n <tr>\n <td onclick=\'nuAddToFormula(event)\' class=\'nuCalculatorButton\' colspan=5> Math.round( </td>\n </tr>\n</table>', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34f4618a', 'nuobject', 'zzzzsys_object', 'textarea', 'sob_calc_formula', 'Formula', 'nu5bad6cb36f99a7e', 1150, 81, 80, 603, 83, '1', 'left', '0', '0', '0', 'CSS', 'padding:5px', ' +', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, 'spellcheck=false', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34f64fa1', 'nuobject', 'zzzzsys_object', 'input', 'sob_all_table', 'Table', 'nu5bad6cb3686cb0d', 40, 35, 0, 72, 22, '1', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34f8418a', 'nuhome', '', 'run', 'run_format', 'Format', 'nu5bad6cb36efb50c', 170, 155, 270, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nuformat', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fa fa-calendar', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34fa79c0', 'nuformat', 'zzzzsys_format', 'select', 'srm_type', 'Input Type', 'nu5bad6cb36fcbc18', 10, 45, 115, 100, 22, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'Number|nuNumber|\nDate|nuDate', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34fcb8ad', 'nuformat', 'zzzzsys_form', 'input', 'srm_format', 'Format', 'nu5bad6cb36fcbc18', 30, 83, 115, 498, 35, '0', 'left', '1', '1', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb34feb6d2', 'nuobject', 'zzzzsys_object', 'input', 'sob_input_javascript', 'JavaScript Array', 'nu5bad6cb36a4af06', 1000, 81, 239, 436, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3502b8ec', 'nuobject', 'zzzzsys_object', 'select', 'sob_calc_format', 'Format', 'nu5bad6cb36f99a7e', 1130, 47, 80, 143, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT \n CONCAT(LEFT(srm_type, 1), \'|\', TRIM(srm_format)) AS a, \n srm_format AS b \nFROM zzzzsys_format\nWHERE srm_type = \'Number\'', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3507cf3f', 'nuformat', 'zzzzsys_format', 'html', 'nucalculator', ' ', 'nu5bad6cb36fcbc18', 80, 135, 115, 499, 32, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '<table id=\'tof\' class=\'nuEditBody\' style=\'width:500px\'>\n <tr>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>yy</td>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>yyyy</td>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>pp</td>\n </tr>\n <tr>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>dd</td>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>ddd</td> \n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>dddd</td> \n </tr>\n <tr>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>mm</td>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>mmm</td> \n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>mmmm</td>\n </tr>\n <tr>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>hh</td> \n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>nn</td>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>ss</td>\n </tr>\n <tr>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>-</td>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>:</td> \n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>/</td> \n </tr>\n <tr>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>.</td>\n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>Space</td> \n <td onclick=\'nuAddToFormat(event)\' class=\'nuCalculatorButton date\' width=\'100%\'>,</td> \n </tr>\n</table>\n', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3513b16c', 'nuformat', 'zzzzsys_format', 'input', 'sign', 'Sign', 'nu5bad6cb36fcbc18', 40, 136, 115, 52, 30, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', '[\"$\", \"£\", \"€\", \"¢\"]', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3518a9c0', 'nuform', 'zzzzsys_form', 'input', 'previewbrowse', 'Preview Browse Form', 'nu5bad6cb36791fd5', 130, 89, 933, 201, 48, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3526def5', 'nuobject', 'zzzzsys_object', 'html', 'add_total', ' ', 'nu5bad6cb36f99a7e', 1170, 212, 80, 343, 322, '1', 'right', '0', '0', '0', 'CSS', 'overflow-y: scroll; background-color: #ebebeb', '', '', '', '', '', NULL, NULL, '', '', '1', '0', 'SELECT \n sob_all_zzzzsys_form_id AS theform,\n sob_all_id as b\nFROM zzzzsys_object \nWHERE sob_input_type = \'nuNumber\'\nOR sob_input_type = \'number\'\nOR sob_all_type = \'calc\'\n\nUNION \n\nSELECT \n su.sob_all_zzzzsys_form_id AS theform,\n CONCAT(su.sob_all_id, \'.\', inp.sob_all_id) as b\nFROM zzzzsys_object AS su\nJOIN zzzzsys_object AS inp ON su.sob_subform_zzzzsys_form_id = inp.sob_all_zzzzsys_form_id\nWHERE su.sob_all_type = \'subform\'\nAND (\n inp.sob_input_type = \'nuNumber\' OR \n inp.sob_input_type = \'number\' OR \n inp.sob_all_type = \'calc\'\n )', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', ' ', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3528f51c', 'nuobject', 'zzzzsys_object', 'input', 'sob_subform_table', 'Code', 'nu5bad6cb36a1c024', 890, 3, 3, 50, 22, '1', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb352b1230', 'nufflaunch', '', 'word', 'ffwrd', 'New Fast Form', 'nu5bad6cb36f36433', 110, 107, 328, 881, 22, '1', 'center', '0', '0', '0', 'CSS', 'font-weight: 700; font-size: 14px', '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb352dce42', 'nufflaunch', '', 'input', 'fastform_table', 'Table Name', 'nu5bad6cb36f36433', 30, 56, 136, 267, 22, '1', 'left', '1', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'search', NULL, 'nuFORM.getJustTables()', 'SHOW TABLES', NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35304ffd', 'nufastformobjects', 'zzzzsys_object', 'input', 'ff_id', ' ', 'nu5bad6cb36f72f8e', 30, 20, 23, 5, 22, '1', 'left', '1', '2', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3532d677', 'nufflaunch', '', 'input', 'new_id', 'New ID', 'nu5bad6cb36f36433', 90, 9, -4, 10, 22, '1', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3565664f', 'nufflaunch', '', 'html', 'nucalculator', ' ', 'nu5bad6cb36f36433', 100, 152, 16, 302, 365, '1', 'left', '0', '1', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', NULL, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '\n<table id=\'tof\' style=\'width:300px\'>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589a370ca\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>Text</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589ac75be\' class=\'nuCalculatorButton nu_word\' style=\'font-size:18px\' width=\'100%\'>Word</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589adce4d\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>Button</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589b3714b\' class=\'nuCalculatorButton nu_calc\' style=\'font-size:18px\' width=\'100%\'>Calc</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589b4c69b\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>Checkbox</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589a4d76a\' class=\'nuCalculatorButton nu_display\' style=\'font-size:18px\' width=\'100%\'>Display</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589bce3d7\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>nuAutoNumber</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589ab1797\' class=\'nuCalculatorButton nu_lookup\' style=\'font-size:18px\' width=\'100%\'>Lookup</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589b61190\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>nuScroll</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589a1fc46\' class=\'nuCalculatorButton nu_html\' style=\'font-size:18px\' width=\'100%\'>HTML</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589b0af4c\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>nuDate</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589a6400f\' class=\'nuCalculatorButton nu_select\' style=\'font-size:18px\' width=\'100%\'>Select</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589b20a14\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>nuNumber</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589a9b145\' class=\'nuCalculatorButton nu_select\' style=\'font-size:18px\' width=\'100%\'>Multiselect</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589af5d86\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>Number</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589b75a6d\' class=\'nuCalculatorButton nu_textarea\' style=\'font-size:18px\' width=\'100%\'>Textarea</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589cf91a2\' class=\'nuCalculatorButton nu_input\' style=\'font-size:18px\' width=\'100%\'>File</td>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e446589d1c64d\' class=\'nuCalculatorButton nu_image\' style=\'font-size:18px\' width=\'100%\'>Image</td>\n </tr>\n <tr>\n <td onclick=\'nuSelectFFObjects(event)\' id=\'nu59e44658a0c7724\' class=\'nuCalculatorButton nu_subform\' style=\'font-size:18px\' width=\'100%\' colspan=\"2\">Subform</td>\n </tr>\n</table>\n', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3568c736', 'nufflaunch', '', 'input', 'run_sam', '?', 'nu5bad6cb36f36433', 160, 125, 288, 21, 21, '1', 'center', '1', '0', '1', NULL, NULL, '', '', '', '', 'b', NULL, NULL, '-1', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb356dfe23', 'nuobject', 'zzzzsys_object', 'input', 'sob_input_count', 'Next Number', 'nu5bad6cb36a4af06', 980, 84, 239, 50, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT \n CONCAT(LEFT(srm_type, 1), \'|\', TRIM(srm_format)) AS a, \n srm_format AS b \nFROM zzzzsys_format\nORDER BY srm_type\n', '', '', '', '', '', '', '', 'zzzzsys_tab', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb357033c6', 'nuhome', '', 'run', 'run_file', 'Files', 'nu5bad6cb367c5125', 100, 99, 703, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nufile', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fas fa-image', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35724861', 'nufile', 'zzzzsys_file', 'input', 'sfi_code', 'Code', 'nu5bad6cb3719774c', 20, 110, 153, 200, 22, '1', 'left', '3', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3574909c', 'nufile', 'zzzzsys_file', 'input', 'sfi_description', 'Description', 'nu5bad6cb3719774c', 40, 137, 153, 322, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35772a8c', 'nufile', 'zzzzsys_file', 'input', 'sfi_json_file', 'Upload File', 'nu5bad6cb3719774c', 30, 46, 153, 322, 50, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'file', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb357973bf', 'nufile', 'zzzzsys_file', 'html', 'view_image', 'View', 'nu5bad6cb3719774c', 70, 206, 153, 321, 267, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '<style>\nimg#theview{\n width:100%;\n max-width:600px;\n max-height:600px;\n}\n</style>\n\n<img id=\"theview\">\n\n', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb357ff16d', 'nufile', 'zzzzsys_file', 'input', 'sfi_group', 'Group', 'nu5bad6cb3719774c', 50, 164, 153, 200, 22, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3582c2ca', 'nuobject', 'zzzzsys_object', 'lookup', 'sob_image_zzzzsys_file_id', 'Image', 'nu5bad6cb371c865e', 950, 50, 108, 150, 22, '1', 'right', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', 'SELECT zzzzsys_form_id, CONCAT(sfo_code, \' - \', sfo_description)\nFROM zzzzsys_form\nORDER BY sfo_code', 'sfi_code', 'sfi_description', '250', '', 'nufile', '', '', 'zzzzsys_file', 'nuform', '', '1', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb359524be', 'nuphp', 'zzzzsys_php', 'input', 'sph_system', 'Group', 'nu5bad6cb36b27343', 50, 1, 1, 100, 22, '1', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35977ed6', 'nudebug', 'zzzzsys_debug', 'input', 'deb_added', ' ', 'nu5bad6cb36bf8d38', 10, 1, 1, 100, 22, '0', 'left', '0', '2', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb3599e41f', 'nuselect', 'zzzzsys_select', 'input', 'sse_description', 'Description', 'nu5bad6cb371e2de7', 20, 10, 469, 313, 22, '1', 'left', '3', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb359c1b05', 'nuhome', '', 'run', 'run_sql', 'SQL', 'nu5bad6cb36efb50c', 160, 99, 270, 200, 30, '1', 'left', '0', '0', '0', NULL, NULL, '', '', 'nuselect', '', 'b', '0', 'F', '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', 'fa fa-table', '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb359e7a1a', 'nuselect', 'zzzzsys_select', 'html', 'nusvg', 'Fields and Relationships', 'nu5bad6cb371e2de7', 90, 68, 801, 500, 200, '1', 'left', '0', '0', '0', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '<iframe id=\'sqlframe\' src=\'core/nuselect.php\' style=\'height:460px;width:700px\'></iframe>', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35a0a29e', 'nuselect', 'zzzzsys_select', 'input', 'sse_resize', ' ', 'nu5bad6cb371e2de7', 60, 32, 1470, 29, 26, '1', 'center', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'button', 'fa fa-arrows-alt', '', NULL, 'nu-mobileview-hidden', '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35a52325', 'nuselect', 'zzzzsys_select', 'select', 'addtable', 'Add Table', 'nu5bad6cb371e2de7', 50, 34, 1163, 294, 22, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '1', 'SELECT table_name as a, table_name as b \nFROM INFORMATION_SCHEMA.TABLES \nWHERE table_schema = DATABASE()\nORDER BY table_name', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35a8885a', 'nuclause', 'zzzzsys_select_clause', 'input', 'ssc_order', 'Order', 'nu5bad6cb37296979', 50, 154, 122, 45, 20, '1', 'right', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', 'browse|Browse|edit|Edit|browseedit|Browse and Edit|criteria|Criteria or Home|procedure|Procedure|report|Report', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'number', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35ab1f0a', 'nuclause', 'zzzzsys_select_clause', 'select', 'ssc_type', 'Type', 'nu5bad6cb37296979', 10, 58, 122, 100, 20, '1', 'right', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '1|WHERE|\n2|GROUP BY|\n3|ORDER BY|\n4|HAVING\n', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35ad7f0a', 'nuclause', 'zzzzsys_select_clause', 'input', 'ssc_clause', 'Clause', 'nu5bad6cb37296979', 30, 122, 122, 189, 20, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '10|WHERE|\n20|ORDER BY|\n30|GROUP BY|\n40|HAVING', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'text', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35afa1d0', 'nuclause', 'zzzzsys_select_clause', 'input', 'ssc_field', 'Field', 'nu5bad6cb37296979', 20, 90, 122, 220, 20, '1', 'left', '1', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '0', '0', '10|WHERE|\n20|ORDER BY|\n30|GROUP BY|\n40|HAVING', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, '', 'nuScroll', NULL, 'nuFORM.selectFields()', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),
('nu5bad6cb35b23983', 'nuselect', 'zzzzsys_select', 'subform', 'zzzzsys_select_clause_sf', 'Clauses', 'nu5bad6cb371e2de7', 80, 361, 85, 700, 160, '1', 'left', '0', '0', '1', NULL, NULL, '', '', '', '', '', NULL, NULL, '', '', '', '0', '', '', '', '', '', '', '', '', '', 'nuclause', 'ssc_zzzzsys_select_id', '1', '1', 'g', 'zzzzsys_select_clause', 0, '', '', NULL, '', NULL, NULL, '0', '', '', '', '', '', '', '', NULL, NULL),