forked from edwardjrp/license_manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
customers_maintcontent_events.php
executable file
·1787 lines (1471 loc) · 67.3 KB
/
customers_maintcontent_events.php
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
<?php
// //Events @1-F81417CB
//customers_maintcontent_alm_customers_os_workstations_BeforeShow @24-D9733E7F
function customers_maintcontent_alm_customers_os_workstations_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_os_workstations_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_os_workstations_BeforeShow
//Custom Code @55-2A29BDB7
// -------------------------
// Write your own code here.
$os_workstations = explode(",",$customers_maintcontent->alm_customers->os_workstations->GetValue());
$customers_maintcontent->alm_customers->os_workstations->Multiple = true;
$customers_maintcontent->alm_customers->os_workstations->SetValue($os_workstations);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_os_workstations_BeforeShow @24-FA2ABD33
return $customers_maintcontent_alm_customers_os_workstations_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_os_workstations_BeforeShow
//customers_maintcontent_alm_customers_os_servers_BeforeShow @25-43111B38
function customers_maintcontent_alm_customers_os_servers_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_os_servers_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_os_servers_BeforeShow
//Custom Code @56-2A29BDB7
// -------------------------
// Write your own code here.
$os_servers = explode(",",$customers_maintcontent->alm_customers->os_servers->GetValue());
$customers_maintcontent->alm_customers->os_servers->Multiple = true;
$customers_maintcontent->alm_customers->os_servers->SetValue($os_servers);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_os_servers_BeforeShow @25-4D9218EA
return $customers_maintcontent_alm_customers_os_servers_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_os_servers_BeforeShow
//customers_maintcontent_alm_customers_servers_type_BeforeShow @28-D786DCB0
function customers_maintcontent_alm_customers_servers_type_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_servers_type_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_servers_type_BeforeShow
//Custom Code @64-2A29BDB7
// -------------------------
// Write your own code here.
$servers_type = explode(",",$customers_maintcontent->alm_customers->servers_type->GetValue());
$customers_maintcontent->alm_customers->servers_type->Multiple = true;
$customers_maintcontent->alm_customers->servers_type->SetValue($servers_type);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_servers_type_BeforeShow @28-FD88D118
return $customers_maintcontent_alm_customers_servers_type_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_servers_type_BeforeShow
//customers_maintcontent_alm_customers_mailservers_BeforeShow @29-06D5F203
function customers_maintcontent_alm_customers_mailservers_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_mailservers_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_mailservers_BeforeShow
//Custom Code @65-2A29BDB7
// -------------------------
// Write your own code here.
$mailservers = explode(",",$customers_maintcontent->alm_customers->mailservers->GetValue());
$customers_maintcontent->alm_customers->mailservers->Multiple = true;
$customers_maintcontent->alm_customers->mailservers->SetValue($mailservers);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_mailservers_BeforeShow @29-6679E6ED
return $customers_maintcontent_alm_customers_mailservers_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_mailservers_BeforeShow
//customers_maintcontent_alm_customers_proxyserver_BeforeShow @30-0D9CFE42
function customers_maintcontent_alm_customers_proxyserver_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_proxyserver_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_proxyserver_BeforeShow
//Custom Code @66-2A29BDB7
// -------------------------
// Write your own code here.
$proxyserver = explode(",",$customers_maintcontent->alm_customers->proxyserver->GetValue());
$customers_maintcontent->alm_customers->proxyserver->Multiple = true;
$customers_maintcontent->alm_customers->proxyserver->SetValue($proxyserver);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_proxyserver_BeforeShow @30-97CAB76B
return $customers_maintcontent_alm_customers_proxyserver_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_proxyserver_BeforeShow
//customers_maintcontent_alm_customers_lbgoback_BeforeShow @6-7B6AB7B6
function customers_maintcontent_alm_customers_lbgoback_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_lbgoback_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_lbgoback_BeforeShow
//Custom Code @7-2A29BDB7
// -------------------------
// Write your own code here.
$remove = array("guid","tab");
$querystring = CCGetQueryString("QueryString",$remove);
if (strlen($querystring) > 0)
$newlink = "?".$querystring;
else
$newlink = $querystring;
$sender->setValue($newlink);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_lbgoback_BeforeShow @6-49B2E2A0
return $customers_maintcontent_alm_customers_lbgoback_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_lbgoback_BeforeShow
//customers_maintcontent_alm_customers_content_filter_BeforeShow @39-F28EA9F1
function customers_maintcontent_alm_customers_content_filter_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_content_filter_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_content_filter_BeforeShow
//Custom Code @81-2A29BDB7
// -------------------------
// Write your own code here.
$content_filter = explode(",",$customers_maintcontent->alm_customers->content_filter->GetValue());
$customers_maintcontent->alm_customers->content_filter->Multiple = true;
$customers_maintcontent->alm_customers->content_filter->SetValue($content_filter);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_content_filter_BeforeShow @39-3D6C177C
return $customers_maintcontent_alm_customers_content_filter_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_content_filter_BeforeShow
//customers_maintcontent_alm_customers_branches_connectivity_BeforeShow @84-55AA4164
function customers_maintcontent_alm_customers_branches_connectivity_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_branches_connectivity_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_branches_connectivity_BeforeShow
//Custom Code @85-2A29BDB7
// -------------------------
// Write your own code here.
$branches_connectivity = explode(",",$customers_maintcontent->alm_customers->branches_connectivity->GetValue());
$customers_maintcontent->alm_customers->branches_connectivity->Multiple = true;
$customers_maintcontent->alm_customers->branches_connectivity->SetValue($branches_connectivity);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_branches_connectivity_BeforeShow @84-AC71ED5D
return $customers_maintcontent_alm_customers_branches_connectivity_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_branches_connectivity_BeforeShow
//customers_maintcontent_alm_customers_branches_bandwidth_BeforeShow @91-D291E45A
function customers_maintcontent_alm_customers_branches_bandwidth_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_branches_bandwidth_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_branches_bandwidth_BeforeShow
//Custom Code @92-2A29BDB7
// -------------------------
// Write your own code here.
$branches_bandwidth = explode(",",$customers_maintcontent->alm_customers->branches_bandwidth->GetValue());
$customers_maintcontent->alm_customers->branches_bandwidth->Multiple = true;
$customers_maintcontent->alm_customers->branches_bandwidth->SetValue($branches_bandwidth);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_branches_bandwidth_BeforeShow @91-2BC5B7C2
return $customers_maintcontent_alm_customers_branches_bandwidth_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_branches_bandwidth_BeforeShow
//customers_maintcontent_alm_customers_os_workstations_hw_BeforeShow @93-E67C7135
function customers_maintcontent_alm_customers_os_workstations_hw_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_os_workstations_hw_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_os_workstations_hw_BeforeShow
//Custom Code @94-2A29BDB7
// -------------------------
// Write your own code here.
$os_workstations_hw = explode(",",$customers_maintcontent->alm_customers->os_workstations_hw->GetValue());
$customers_maintcontent->alm_customers->os_workstations_hw->Multiple = true;
$customers_maintcontent->alm_customers->os_workstations_hw->SetValue($os_workstations_hw);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_os_workstations_hw_BeforeShow @93-8A0AC7F9
return $customers_maintcontent_alm_customers_os_workstations_hw_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_os_workstations_hw_BeforeShow
//customers_maintcontent_alm_customers_os_servers_hw_BeforeShow @96-828C5AD8
function customers_maintcontent_alm_customers_os_servers_hw_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_os_servers_hw_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_os_servers_hw_BeforeShow
//Custom Code @97-2A29BDB7
// -------------------------
// Write your own code here.
$os_servers_hw = explode(",",$customers_maintcontent->alm_customers->os_servers_hw->GetValue());
$customers_maintcontent->alm_customers->os_servers_hw->Multiple = true;
$customers_maintcontent->alm_customers->os_servers_hw->SetValue($os_servers_hw);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_os_servers_hw_BeforeShow @96-1E98BAE3
return $customers_maintcontent_alm_customers_os_servers_hw_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_os_servers_hw_BeforeShow
//customers_maintcontent_alm_customers_database_security_BeforeShow @107-FEC94E26
function customers_maintcontent_alm_customers_database_security_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_database_security_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_database_security_BeforeShow
//Custom Code @108-2A29BDB7
// -------------------------
// Write your own code here.
$database_security = explode(",",$customers_maintcontent->alm_customers->database_security->GetValue());
$customers_maintcontent->alm_customers->database_security->Multiple = true;
$customers_maintcontent->alm_customers->database_security->SetValue($database_security);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_database_security_BeforeShow @107-F329EE24
return $customers_maintcontent_alm_customers_database_security_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_database_security_BeforeShow
//customers_maintcontent_alm_customers_security_events_BeforeShow @111-085302AA
function customers_maintcontent_alm_customers_security_events_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_security_events_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_security_events_BeforeShow
//Custom Code @112-2A29BDB7
// -------------------------
// Write your own code here.
$security_events = explode(",",$customers_maintcontent->alm_customers->security_events->GetValue());
$customers_maintcontent->alm_customers->security_events->Multiple = true;
$customers_maintcontent->alm_customers->security_events->SetValue($security_events);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_security_events_BeforeShow @111-98635836
return $customers_maintcontent_alm_customers_security_events_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_security_events_BeforeShow
//customers_maintcontent_alm_customers_changecontrol_BeforeShow @122-35CE32F9
function customers_maintcontent_alm_customers_changecontrol_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_changecontrol_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_changecontrol_BeforeShow
//Custom Code @123-2A29BDB7
// -------------------------
// Write your own code here.
$changecontrol = explode(",",$customers_maintcontent->alm_customers->changecontrol->GetValue());
$customers_maintcontent->alm_customers->changecontrol->Multiple = true;
$customers_maintcontent->alm_customers->changecontrol->SetValue($changecontrol);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_changecontrol_BeforeShow @122-5D813713
return $customers_maintcontent_alm_customers_changecontrol_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_changecontrol_BeforeShow
//customers_maintcontent_alm_customers_hidcontact_guid_BeforeShow @141-B795070B
function customers_maintcontent_alm_customers_hidcontact_guid_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_hidcontact_guid_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_hidcontact_guid_BeforeShow
//Retrieve Value for Control @143-CA69CB9B
$Container->hidcontact_guid->SetValue(CCGetFromGet("contact_guid", ""));
//End Retrieve Value for Control
//Close customers_maintcontent_alm_customers_hidcontact_guid_BeforeShow @141-0251F386
return $customers_maintcontent_alm_customers_hidcontact_guid_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_hidcontact_guid_BeforeShow
//customers_maintcontent_alm_customers_businesspartner_BeforeShow @186-88BBC9A9
function customers_maintcontent_alm_customers_businesspartner_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_businesspartner_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_businesspartner_BeforeShow
//Custom Code @187-2A29BDB7
// -------------------------
// Write your own code here.
$businesspartner = explode(",",$customers_maintcontent->alm_customers->businesspartner->GetValue());
$customers_maintcontent->alm_customers->businesspartner->Multiple = true;
$customers_maintcontent->alm_customers->businesspartner->SetValue($businesspartner);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_businesspartner_BeforeShow @186-EDA67EF7
return $customers_maintcontent_alm_customers_businesspartner_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_businesspartner_BeforeShow
//customers_maintcontent_alm_customers_virtualization_BeforeShow @190-286A1F2F
function customers_maintcontent_alm_customers_virtualization_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_virtualization_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_virtualization_BeforeShow
//Custom Code @191-2A29BDB7
// -------------------------
// Write your own code here.
$virtualization = explode(",",$customers_maintcontent->alm_customers->virtualization->GetValue());
$customers_maintcontent->alm_customers->virtualization->Multiple = true;
$customers_maintcontent->alm_customers->virtualization->SetValue($virtualization);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_virtualization_BeforeShow @190-C0F3F3C1
return $customers_maintcontent_alm_customers_virtualization_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_virtualization_BeforeShow
//customers_maintcontent_alm_customers_email_protection_BeforeShow @194-DB20FC45
function customers_maintcontent_alm_customers_email_protection_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_email_protection_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_email_protection_BeforeShow
//Custom Code @195-2A29BDB7
// -------------------------
// Write your own code here.
$email_protection = explode(",",$customers_maintcontent->alm_customers->email_protection->GetValue());
$customers_maintcontent->alm_customers->email_protection->Multiple = true;
$customers_maintcontent->alm_customers->email_protection->SetValue($email_protection);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_email_protection_BeforeShow @194-195A252C
return $customers_maintcontent_alm_customers_email_protection_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_email_protection_BeforeShow
//customers_maintcontent_alm_customers_vurnerabilities_BeforeShow @41-2EF60C56
function customers_maintcontent_alm_customers_vurnerabilities_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_vurnerabilities_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_vurnerabilities_BeforeShow
//Custom Code @106-2A29BDB7
// -------------------------
// Write your own code here.
$vurnerabilities = explode(",",$customers_maintcontent->alm_customers->vurnerabilities->GetValue());
$customers_maintcontent->alm_customers->vurnerabilities->Multiple = true;
$customers_maintcontent->alm_customers->vurnerabilities->SetValue($vurnerabilities);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_vurnerabilities_BeforeShow @41-EBF17830
return $customers_maintcontent_alm_customers_vurnerabilities_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_vurnerabilities_BeforeShow
//customers_maintcontent_alm_customers_firewalls_BeforeShow @36-04595FCC
function customers_maintcontent_alm_customers_firewalls_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_firewalls_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_firewalls_BeforeShow
//Custom Code @74-2A29BDB7
// -------------------------
// Write your own code here.
$firewalls = explode(",",$customers_maintcontent->alm_customers->firewalls->GetValue());
$customers_maintcontent->alm_customers->firewalls->Multiple = true;
$customers_maintcontent->alm_customers->firewalls->SetValue($firewalls);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_firewalls_BeforeShow @36-E108373A
return $customers_maintcontent_alm_customers_firewalls_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_firewalls_BeforeShow
//customers_maintcontent_alm_customers_backupsystem_BeforeShow @35-F98C3DBA
function customers_maintcontent_alm_customers_backupsystem_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_backupsystem_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_backupsystem_BeforeShow
//Custom Code @73-2A29BDB7
// -------------------------
// Write your own code here.
$backupsystem = explode(",",$customers_maintcontent->alm_customers->backupsystem->GetValue());
$customers_maintcontent->alm_customers->backupsystem->Multiple = true;
$customers_maintcontent->alm_customers->backupsystem->SetValue($backupsystem);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_backupsystem_BeforeShow @35-175A6E0B
return $customers_maintcontent_alm_customers_backupsystem_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_backupsystem_BeforeShow
//customers_maintcontent_alm_customers_antivirus_BeforeShow @34-CF1133A0
function customers_maintcontent_alm_customers_antivirus_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_antivirus_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_antivirus_BeforeShow
//Custom Code @198-2A29BDB7
// -------------------------
// Write your own code here.
$antivirus = explode(",",$customers_maintcontent->alm_customers->antivirus->GetValue());
$customers_maintcontent->alm_customers->antivirus->Multiple = true;
$customers_maintcontent->alm_customers->antivirus->SetValue($antivirus);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_antivirus_BeforeShow @34-742BBBFA
return $customers_maintcontent_alm_customers_antivirus_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_antivirus_BeforeShow
//customers_maintcontent_alm_customers_encryption_BeforeShow @199-0A9D853C
function customers_maintcontent_alm_customers_encryption_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_encryption_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_encryption_BeforeShow
//Custom Code @200-2A29BDB7
// -------------------------
// Write your own code here.
$encryption = explode(",",$customers_maintcontent->alm_customers->encryption->GetValue());
$customers_maintcontent->alm_customers->encryption->Multiple = true;
$customers_maintcontent->alm_customers->encryption->SetValue($encryption);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_encryption_BeforeShow @199-99A5B08E
return $customers_maintcontent_alm_customers_encryption_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_encryption_BeforeShow
//customers_maintcontent_alm_customers_app_control_BeforeShow @203-1A8C472A
function customers_maintcontent_alm_customers_app_control_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_app_control_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_app_control_BeforeShow
//Custom Code @204-2A29BDB7
// -------------------------
// Write your own code here.
$app_control = explode(",",$customers_maintcontent->alm_customers->app_control->GetValue());
$customers_maintcontent->alm_customers->app_control->Multiple = true;
$customers_maintcontent->alm_customers->app_control->SetValue($app_control);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_app_control_BeforeShow @203-0FFC3374
return $customers_maintcontent_alm_customers_app_control_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_app_control_BeforeShow
//customers_maintcontent_alm_customers_mobility_BeforeShow @40-AEAD4ED2
function customers_maintcontent_alm_customers_mobility_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_mobility_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_mobility_BeforeShow
//Custom Code @102-2A29BDB7
// -------------------------
// Write your own code here.
$mobility = explode(",",$customers_maintcontent->alm_customers->mobility->GetValue());
$customers_maintcontent->alm_customers->mobility->Multiple = true;
$customers_maintcontent->alm_customers->mobility->SetValue($mobility);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_mobility_BeforeShow @40-3A4759E1
return $customers_maintcontent_alm_customers_mobility_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_mobility_BeforeShow
//customers_maintcontent_alm_customers_datalostprevention_BeforeShow @207-6A22E96B
function customers_maintcontent_alm_customers_datalostprevention_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_datalostprevention_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_datalostprevention_BeforeShow
//Custom Code @208-2A29BDB7
// -------------------------
// Write your own code here.
$datalostprevention = explode(",",$customers_maintcontent->alm_customers->datalostprevention->GetValue());
$customers_maintcontent->alm_customers->datalostprevention->Multiple = true;
$customers_maintcontent->alm_customers->datalostprevention->SetValue($datalostprevention);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_datalostprevention_BeforeShow @207-95DA4C01
return $customers_maintcontent_alm_customers_datalostprevention_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_datalostprevention_BeforeShow
//customers_maintcontent_alm_customers_networkips_BeforeShow @211-492DDF45
function customers_maintcontent_alm_customers_networkips_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_networkips_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_networkips_BeforeShow
//Custom Code @212-2A29BDB7
// -------------------------
// Write your own code here.
$networkips = explode(",",$customers_maintcontent->alm_customers->networkips->GetValue());
$customers_maintcontent->alm_customers->networkips->Multiple = true;
$customers_maintcontent->alm_customers->networkips->SetValue($networkips);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_networkips_BeforeShow @211-FD70E4A9
return $customers_maintcontent_alm_customers_networkips_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_networkips_BeforeShow
//customers_maintcontent_alm_customers_networkac_BeforeShow @215-BFB476B6
function customers_maintcontent_alm_customers_networkac_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_networkac_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_networkac_BeforeShow
//Custom Code @216-2A29BDB7
// -------------------------
// Write your own code here.
$networkac = explode(",",$customers_maintcontent->alm_customers->networkac->GetValue());
$customers_maintcontent->alm_customers->networkac->Multiple = true;
$customers_maintcontent->alm_customers->networkac->SetValue($networkac);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_networkac_BeforeShow @215-96E93A21
return $customers_maintcontent_alm_customers_networkac_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_networkac_BeforeShow
//customers_maintcontent_alm_customers_wireless_security_BeforeShow @219-5D9F7D81
function customers_maintcontent_alm_customers_wireless_security_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_wireless_security_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_wireless_security_BeforeShow
//Custom Code @220-2A29BDB7
// -------------------------
// Write your own code here.
$wireless_security = explode(",",$customers_maintcontent->alm_customers->wireless_security->GetValue());
$customers_maintcontent->alm_customers->wireless_security->Multiple = true;
$customers_maintcontent->alm_customers->wireless_security->SetValue($wireless_security);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_wireless_security_BeforeShow @219-70B71957
return $customers_maintcontent_alm_customers_wireless_security_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_wireless_security_BeforeShow
//customers_maintcontent_alm_customers_socialmedia_security_BeforeShow @223-50917B6F
function customers_maintcontent_alm_customers_socialmedia_security_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_socialmedia_security_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_socialmedia_security_BeforeShow
//Custom Code @224-2A29BDB7
// -------------------------
// Write your own code here.
$socialmedia_security = explode(",",$customers_maintcontent->alm_customers->socialmedia_security->GetValue());
$customers_maintcontent->alm_customers->socialmedia_security->Multiple = true;
$customers_maintcontent->alm_customers->socialmedia_security->SetValue($socialmedia_security);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_socialmedia_security_BeforeShow @223-E0C7ADE3
return $customers_maintcontent_alm_customers_socialmedia_security_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_socialmedia_security_BeforeShow
//customers_maintcontent_alm_customers_isp_BeforeShow @37-A94E3E6E
function customers_maintcontent_alm_customers_isp_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_isp_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_isp_BeforeShow
//Custom Code @80-2A29BDB7
// -------------------------
// Write your own code here.
$isp = explode(",",$customers_maintcontent->alm_customers->isp->GetValue());
$customers_maintcontent->alm_customers->isp->Multiple = true;
$customers_maintcontent->alm_customers->isp->SetValue($isp);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_isp_BeforeShow @37-AB636904
return $customers_maintcontent_alm_customers_isp_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_isp_BeforeShow
//customers_maintcontent_alm_customers_network_monitor_BeforeShow @118-13E55577
function customers_maintcontent_alm_customers_network_monitor_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_network_monitor_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_network_monitor_BeforeShow
//Custom Code @119-2A29BDB7
// -------------------------
// Write your own code here.
$network_monitor = explode(",",$customers_maintcontent->alm_customers->network_monitor->GetValue());
$customers_maintcontent->alm_customers->network_monitor->Multiple = true;
$customers_maintcontent->alm_customers->network_monitor->SetValue($network_monitor);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_network_monitor_BeforeShow @118-B9F30831
return $customers_maintcontent_alm_customers_network_monitor_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_network_monitor_BeforeShow
//customers_maintcontent_alm_customers_networking_BeforeShow @231-26604995
function customers_maintcontent_alm_customers_networking_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_networking_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_networking_BeforeShow
//Custom Code @232-2A29BDB7
// -------------------------
// Write your own code here.
$networking = explode(",",$customers_maintcontent->alm_customers->networking->GetValue());
$customers_maintcontent->alm_customers->networking->Multiple = true;
$customers_maintcontent->alm_customers->networking->SetValue($networking);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_networking_BeforeShow @231-2B7FD0E4
return $customers_maintcontent_alm_customers_networking_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_networking_BeforeShow
//customers_maintcontent_alm_customers_lbreturn_BeforeShow @235-2021293A
function customers_maintcontent_alm_customers_lbreturn_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_lbreturn_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_lbreturn_BeforeShow
//Custom Code @236-2A29BDB7
// -------------------------
// Write your own code here.
$mr = trim(CCGetFromGet("mr","customers.php"));
switch ($mr) {
case "licensing" :
$sender->SetValue("licensing.php");
break;
case "customers" :
default:
$sender->SetValue("customers.php");
break;
}
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_lbreturn_BeforeShow @235-8DB6E739
return $customers_maintcontent_alm_customers_lbreturn_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_lbreturn_BeforeShow
//customers_maintcontent_alm_customers_databases_BeforeShow @247-23EE01D0
function customers_maintcontent_alm_customers_databases_BeforeShow(& $sender)
{
$customers_maintcontent_alm_customers_databases_BeforeShow = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_databases_BeforeShow
//Custom Code @248-2A29BDB7
// -------------------------
// Write your own code here.
$databases = explode(",",$customers_maintcontent->alm_customers->databases->GetValue());
$customers_maintcontent->alm_customers->databases->Multiple = true;
$customers_maintcontent->alm_customers->databases->SetValue($databases);
// -------------------------
//End Custom Code
//Close customers_maintcontent_alm_customers_databases_BeforeShow @247-530714CF
return $customers_maintcontent_alm_customers_databases_BeforeShow;
}
//End Close customers_maintcontent_alm_customers_databases_BeforeShow
//Used because the last_user_id query on afterinsert was not working
$lastguid = "";
//customers_maintcontent_alm_customers_BeforeInsert @8-0FC4D880
function customers_maintcontent_alm_customers_BeforeInsert(& $sender)
{
$customers_maintcontent_alm_customers_BeforeInsert = true;
$Component = & $sender;
$Container = & CCGetParentContainer($sender);
global $customers_maintcontent; //Compatibility
//End customers_maintcontent_alm_customers_BeforeInsert
//Custom Code @47-2A29BDB7
// -------------------------
// Write your own code here.
$guid = uuid_create();
global $lastguid;
$lastguid = $guid;
$userid = CCGetUserID();
$os_workstations = CCGetFromPost("os_workstations",array());
$os_workstations_list = "";
foreach($os_workstations as $workstation) {
$os_workstations_list .= $workstation.",";
}
$os_servers = CCGetFromPost("os_servers",array());
$os_servers_list = "";
foreach($os_servers as $server) {
$os_servers_list .= $server.",";
}
$servers_type = CCGetFromPost("servers_type",array());
$servers_type_list = "";
foreach($servers_type as $servertype) {
$servers_type_list .= $servertype.",";
}
$mailservers = CCGetFromPost("mailservers",array());
$mailservers_list = "";
foreach($mailservers as $mailserver) {
$mailservers_list .= $mailserver.",";
}
$proxyserver = CCGetFromPost("proxyserver",array());
$proxyserver_list = "";
foreach($proxyserver as $proxy) {
$proxyserver_list .= $proxy.",";
}
$antivirus = CCGetFromPost("antivirus",array());
$antivirus_list = "";
foreach($antivirus as $antiviru) {
$antivirus_list .= $antiviru.",";
}
$backupsystem = CCGetFromPost("backupsystem",array());
$backupsystem_list = "";
foreach($backupsystem as $backupsys) {
$backupsystem_list .= $backupsys.",";
}
$firewalls = CCGetFromPost("firewalls",array());
$firewalls_list = "";
foreach($firewalls as $firewall) {
$firewalls_list .= $firewall.",";
}
$isp = CCGetFromPost("isp",array());
$isp_list = "";
foreach($isp as $isp1) {
$isp_list .= $isp1.",";
}
$content_filter = CCGetFromPost("content_filter",array());
$content_filter_list = "";
foreach($content_filter as $contentfilter) {
$content_filter_list .= $contentfilter.",";
}
$branches_connectivity = CCGetFromPost("branches_connectivity",array());
$branches_connectivity_list = "";
foreach($branches_connectivity as $branchesconnect) {
$branches_connectivity_list .= $branchesconnect.",";
}
$branches_bandwidth = CCGetFromPost("branches_bandwidth",array());
$branches_bandwidth_list = "";
foreach($branches_bandwidth as $branches_bw) {
$branches_bandwidth_list .= $branches_bw.",";
}
$os_workstations_hw = CCGetFromPost("os_workstations_hw",array());
$os_workstations_hw_list = "";
foreach($os_workstations_hw as $os_ws_hw) {
$os_workstations_hw_list .= $os_ws_hw.",";
}
$os_servers_hw = CCGetFromPost("os_servers_hw",array());
$os_servers_hw_list = "";
foreach($os_servers_hw as $os_serverhw) {
$os_servers_hw_list .= $os_serverhw.",";
}
$mobility = CCGetFromPost("mobility",array());
$mobility_list = "";
foreach($mobility as $mobile) {
$mobility_list .= $mobile.",";
}
$vurnerabilities = CCGetFromPost("vurnerabilities",array());
$vurnerabilities_list = "";
foreach($vurnerabilities as $vurnerability) {
$vurnerabilities_list .= $vurnerability.",";
}
$database_security = CCGetFromPost("database_security",array());
$database_security_list = "";
foreach($database_security as $dbsec) {
$database_security_list .= $dbsec.",";
}
$security_events = CCGetFromPost("security_events",array());
$security_events_list = "";
foreach($security_events as $secevent) {
$security_events_list .= $secevent.",";
}
$network_monitor = CCGetFromPost("network_monitor",array());
$network_monitor_list = "";
foreach($network_monitor as $networkmon) {
$network_monitor_list .= $networkmon.",";
}
$changecontrol = CCGetFromPost("changecontrol",array());
$changecontrol_list = "";
foreach($changecontrol as $changecont) {
$changecontrol_list .= $changecont.",";
}
$businesspartner = CCGetFromPost("businesspartner",array());
$businesspartner_list = "";
foreach($businesspartner as $partner) {
$businesspartner_list .= $partner.",";
}
$email_protection = CCGetFromPost("email_protection",array());
$email_protection_list = "";
foreach($email_protection as $emailprot) {
$email_protection_list .= $emailprot.",";
}