puzhibing
2023-07-31 c743f4413a00fc063bbbd9d851b6d0c3fff10581
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
@layout("/common/_container.html"){
<link href="${ctxPath}/css/plugins/switchery/switchery.css" rel="stylesheet">
<style>
    .table1{
        display: inline;
        width: 20%;
        float:left;
        text-align:center;
        border-collapse:collapse;
        font-size: 18px;
    }
    .table1:hover{
        background-color: rgba(255,0,0,.3);
    }
    .newWidth, .single-line{
        max-width:150px !important;display: initial !important;
    }
</style>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
 
            <div class="row">
                <div class="col-sm-10">
 
                    @if(language==1){
                    <div style="height: 50px;box-sizing: border-box;background:#f3f3f4;line-height: 50px;border:1px solid;margin-bottom: 20px;">
                        <div style="height: 50px;box-sizing: border-box;background:#f3f3f4;line-height: 50px;border:1px solid;margin-bottom: 20px;">
                            <div id="div1" class='table1' onclick="getContent(1)" style="border-right: 1px solid #333;background-color: rgb(26, 179, 148);color: white;">活动设置</div>
                            <div id="div2" class='table1' onclick="getContent(2)" style="border-right: 1px solid #333;">注册奖励</div>
                            <div id="div3" class='table1' onclick="getContent(3)" style="border-right: 1px solid #333;">邀请奖励</div>
                            <div id="div4" class='table1' onclick="getContent(4)" style="border-right: 1px solid #333;">充值赠送</div>
                            <div id="div5" class='table1' onclick="getContent(5)" style="border-right: 1px solid #333;">打折活动</div>
                            <div id="div6" class='table3'  style="border-right: 1px solid #333;"></div>
                        </div>
                        @}
                        @if(language==2){
                        <div style="height: 50px;box-sizing: border-box;background:#f3f3f4;line-height: 50px;border:1px solid;margin-bottom: 20px;">
                            <div id="div1" class='table1' onclick="getContent(1)" style="border-right: 1px solid #333;background-color: rgb(26, 179, 148);color: white;">Activity settings</div>
                            <div id="div2" class='table1' onclick="getContent(2)" style="border-right: 1px solid #333;">Registration reward</div>
                            <div id="div3" class='table1' onclick="getContent(3)" style="border-right: 1px solid #333;">Invitation reward</div>
                            <div id="div4" class='table1' onclick="getContent(4)" style="border-right: 1px solid #333;">Recharge will be rewarded</div>
                            <div id="div5" class='table1' onclick="getContent(5)" style="border-right: 1px solid #333;">Reward of discount activity</div>
                            <div id="div6" class='table3'  style="border-right: 1px solid #333;"></div>
                        </div>
                        @}
                        @if(language==3){
                        <div style="height: 50px;box-sizing: border-box;background:#f3f3f4;line-height: 50px;border:1px solid;margin-bottom: 20px;">
                            <div id="div1" class='table1' onclick="getContent(1)" style="border-right: 1px solid #333;background-color: rgb(26, 179, 148);color: white;">Pengaturan Aktivitas</div>
                            <div id="div2" class='table1' onclick="getContent(2)" style="border-right: 1px solid #333;">Hadiah pendaftaran</div>
                            <div id="div3" class='table1' onclick="getContent(3)" style="border-right: 1px solid #333;">Hadiah Undangan</div>
                            <div id="div4" class='table1' onclick="getContent(4)" style="border-right: 1px solid #333;">Recharge akan dihargai</div>
                            <div id="div5" class='table1' onclick="getContent(5)" style="border-right: 1px solid #333;">Hadiah Aktivitas Diskon</div>
                            <div id="div6" class='table3'  style="border-right: 1px solid #333;"></div>
                        </div>
                        @}
                    <div class="row" id="content1" style="margin-left: 100px;">
                        <div class="col-sm-11">
                            <div class="form-group">
                                @if(language==1){
                                <div class="col-sm-10">
                                    <h1>添加活动</h1>
                                    <br/>
                                    <br/>
                                    活动名称:&nbsp;<input type="text"  name="zc1" id="name" class="form-control newWidth" />&nbsp;
                                    <br/>
                                    <br/>
                                    活动时间:&nbsp;<input type="text" id="startTime"  name="zc7" class="form-control" style="max-width:300px !important;display: initial !important;" />
                                </div>
                                @}
                                @if(language==2){
                                <div class="col-sm-10">
                                    <h1>Add activity</h1>
                                    <br/>
                                    <br/>
                                    Activity name:&nbsp;<input type="text"  name="zc1" id="name" class="form-control newWidth" />&nbsp;
                                    <br/>
                                    <br/>
                                    Activity time:&nbsp;<input type="text" id="startTime"  name="zc7" class="form-control" style="max-width:300px !important;display: initial !important;" />
                                </div>
                                @}
                                @if(language==3){
                                <div class="col-sm-10">
                                    <h1>Tambahkan aktivitas</h1>
                                    <br/>
                                    <br/>
                                    Nama aktivitas:&nbsp;<input type="text"  name="zc1" id="name" class="form-control newWidth" />&nbsp;
                                    <br/>
                                    <br/>
                                    Waktu aktivitas:&nbsp;<input type="text" id="startTime"  name="zc7" class="form-control" style="max-width:300px !important;display: initial !important;" />
                                </div>
                                @}
                            </div>
                        </div>
                    </div>
                    <div class="row" id="content2" style="margin-left: 100px;">
                        <div class="col-sm-11">
                            <div class="form-group">
                                @if(language==1){
                                <div class="col-sm-15">
                                    <input type="hidden" id="content2CouponId">
                                    <h1>用户注册既赠送优惠券</h1>
                                    <br/>
                                    <br/>
                                    启用:&nbsp;<input type="checkbox" class="js-switch" id="content2Check" checked="">
                                    <br/>
                                    <br/>
                                    <#button name="选择优惠券" icon="fa-plus" clickFun="UserActivityInfoDlg.toSelectCouponOpt()"/>
                                    <br/>
                                    <br/>
                                    优惠券名称:&nbsp;<input type="text"  name="zc1" id="content2Num1" class="form-control newWidth" readonly/>&nbsp;
                                    <br/>
                                    <br/>
                                    服务类型:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content2Num2" class="form-control newWidth"  readonly/>&nbsp;
                                    <br/>
                                    <br/>
                                    优惠券类型:&nbsp;<input type="text"  name="zc1" id="content2Num3" class="form-control newWidth"  readonly/>&nbsp;
                                    <br/>
                                    <br/>
                                    金额:
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    &nbsp;<input type="text"  name="zc1" id="content2Num4" class="form-control newWidth"  readonly/>&nbsp;
                                    <br/>
                                    <br/>
                                    最高金额:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content2Num7" class="form-control newWidth" />&nbsp;
                                    <br/>
                                    <br/>
                                    有效期:
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    &nbsp;<input type="text"  name="zc1" id="content2Num5" class="form-control newWidth" />&nbsp;天
                                    <br/>
                                    <br/>
                                    张数:
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    &nbsp;<input type="text"  name="zc1" id="content2Num6" class="form-control newWidth" />&nbsp;
                                </div>
                            </div>
                                @}
                                @if(language==2){
                            <div class="col-sm-15">
                                <input type="hidden" id="content2CouponId">
                                <h1>Users who register already give coupons.</h1>
                                <br/>
                                <br/>
                                Launching:&nbsp;<input type="checkbox" class="js-switch" id="content2Check" checked="">
                                <br/>
                                <br/>
                                <#button name="Select coupons" icon="fa-plus" clickFun="UserActivityInfoDlg.toSelectCouponOpt()"/>
                                <br/>
                                <br/>
                                Coupon name:&nbsp;<input type="text"  name="zc1" id="content2Num1" class="form-control newWidth" readonly/>&nbsp;
                                <br/>
                                <br/>
                                Service type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content2Num2" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Coupon type:&nbsp;<input type="text"  name="zc1" id="content2Num3" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Sum of money:
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content2Num4" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Maximum amount:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content2Num7" class="form-control newWidth" />&nbsp;
                                <br/>
                                <br/>
                                Term of validity:
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content2Num5" class="form-control newWidth" />&nbsp;Day
                                <br/>
                                <br/>
                                Number of sheets:
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content2Num6" class="form-control newWidth" />&nbsp;
                            </div>
                        </div>
                                @}
                                @if(language==3){
                        <div class="col-sm-15">
                            <input type="hidden" id="content2CouponId">
                            <h1>Pengguna yang mendaftar sudah memberikan kupon.</h1>
                            <br/>
                            <br/>
                            Membuka:&nbsp;<input type="checkbox" class="js-switch" id="content2Check" checked="">
                            <br/>
                            <br/>
                            <#button name="Pilih Kupon" icon="fa-plus" clickFun="UserActivityInfoDlg.toSelectCouponOpt()"/>
                            <br/>
                            <br/>
                            Nama Kupon:&nbsp;<input type="text"  name="zc1" id="content2Num1" class="form-control newWidth" readonly/>&nbsp;
                            <br/>
                            <br/>
                            Jenis Layanan:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content2Num2" class="form-control newWidth"  readonly/>&nbsp;
                            <br/>
                            <br/>
                            Jenis kupon:&nbsp;<input type="text"  name="zc1" id="content2Num3" class="form-control newWidth"  readonly/>&nbsp;
                            <br/>
                            <br/>
                            Jumlah uang:
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;<input type="text"  name="zc1" id="content2Num4" class="form-control newWidth"  readonly/>&nbsp;
                            <br/>
                            <br/>
                            Jumlah maksimum:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content2Num7" class="form-control newWidth" />&nbsp;
                            <br/>
                            <br/>
                            Istilah validitas:
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;<input type="text"  name="zc1" id="content2Num5" class="form-control newWidth" />&nbsp;Hari
                            <br/>
                            <br/>
                            Jumlah lembar:
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            &nbsp;<input type="text"  name="zc1" id="content2Num6" class="form-control newWidth" />&nbsp;
                        </div>
                    </div>
                                @}
 
                        </div>
                    </div>
 
                @if(language==1){
                <div class="row" id="content3" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="hidden" id="content3CouponId">
                                <h1>用户邀请用户奖励</h1>
                                <br/>
                                <br/>
                                启用:&nbsp;<input type="checkbox" id="content3Check"  class="js-switch1" checked="">
                                <br/>
                                <br/>
                                <#button name="选择优惠券" icon="fa-plus" clickFun="UserActivityInfoDlg.toSelectCouponOpt1()"/>
                                <br/>
                                <br/>
                                优惠券名称:&nbsp;<input type="text"  name="zc1" id="content3Num1" class="form-control newWidth" readonly/>&nbsp;
                                <br/>
                                <br/>
                                服务类型:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content3Num2" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                优惠券类型:&nbsp;<input type="text"  name="zc1" id="content3Num3" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                金额:
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num4" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                最高金额:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content3Num7" class="form-control newWidth" />&nbsp;
                                <br/>
                                <br/>
                                有效期:
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num5" class="form-control newWidth" />&nbsp;天
                                <br/>
                                <br/>
                                张数:
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num6" class="form-control newWidth" />&nbsp;
                            </div>
                        </div>
                    </div>
                </div>
                @}
                @if(language==2){
                <div class="row" id="content3" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="hidden" id="content3CouponId">
                                <h1>Inviting users will be reward</h1>
                                <br/>
                                <br/>
                                Launching:&nbsp;<input type="checkbox" id="content3Check"  class="js-switch1" checked="">
                                <br/>
                                <br/>
                                <#button name="Select coupons" icon="fa-plus" clickFun="UserActivityInfoDlg.toSelectCouponOpt1()"/>
                                <br/>
                                <br/>
                                Coupon name:&nbsp;<input type="text"  name="zc1" id="content3Num1" class="form-control newWidth" readonly/>&nbsp;
                                <br/>
                                <br/>
                                Service type:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content3Num2" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Coupon type:&nbsp;<input type="text"  name="zc1" id="content3Num3" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Sum of money:
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num4" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Maximum amount:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content3Num7" class="form-control newWidth" />&nbsp;
                                <br/>
                                <br/>
                                Term of validity:
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num5" class="form-control newWidth" />&nbsp;Day
                                <br/>
                                <br/>
                                Number of sheets:
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num6" class="form-control newWidth" />&nbsp;
                            </div>
                        </div>
                    </div>
                </div>
                @}
                @if(language==3){
                <div class="row" id="content3" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <div class="form-group">
                            <div class="col-sm-10">
                                <input type="hidden" id="content3CouponId">
                                <h1>Mengundang pengguna akan menjadi hadiah</h1>
                                <br/>
                                <br/>
                                Membuka:&nbsp;<input type="checkbox" id="content3Check"  class="js-switch1" checked="">
                                <br/>
                                <br/>
                                <#button name="Pilih Kupon" icon="fa-plus" clickFun="UserActivityInfoDlg.toSelectCouponOpt1()"/>
                                <br/>
                                <br/>
                                Nama Kupon:&nbsp;<input type="text"  name="zc1" id="content3Num1" class="form-control newWidth" readonly/>&nbsp;
                                <br/>
                                <br/>
                                Jenis Layanan:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content3Num2" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Jenis kupon:&nbsp;<input type="text"  name="zc1" id="content3Num3" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Jumlah uang:
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num4" class="form-control newWidth"  readonly/>&nbsp;
                                <br/>
                                <br/>
                                Jumlah maksimum:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="zc1" id="content3Num7" class="form-control newWidth" />&nbsp;
                                <br/>
                                <br/>
                                Istilah validitas:
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num5" class="form-control newWidth" />&nbsp;Hari
                                <br/>
                                <br/>
                                Jumlah lembar:
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content3Num6" class="form-control newWidth" />&nbsp;
                            </div>
                        </div>
                    </div>
                </div>
                @}
 
                @if(language==1){
                <div class="row" id="content4" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <h1>充值赠送奖励</h1>
                        <br/>
                        <br/>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <#button name="添加" icon="fa-plus" clickFun="UserActivityInfoDlg.toAddRegistOpt()"/>&nbsp;&nbsp;&nbsp;&nbsp;启用:&nbsp;<input type="checkbox" id="content4Check"  class="js-switch4" checked="">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-15">
                                <div style="height: 200px; border: 1px solid #e5e6e7;overflow-y: auto;">
                                    <table class="table table-striped table-bordered table-hover table-condensed">
                                        <thead>
                                        <tr>
                                            <th style="width: 300px;">摩托车券金额</th>
                                            <th style="width: 300px;">摩托车券数量</th>
                                            <th style="width: 100px;">操作</th>
                                        </tr>
                                        </thead>
                                        <tbody id="coun">
 
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                @}
                @if(language==2){
                <div class="row" id="content4" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <h1>Recharge will be rewarded</h1>
                        <br/>
                        <br/>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <#button name="Add" icon="fa-plus" clickFun="UserActivityInfoDlg.toAddRegistOpt()"/>&nbsp;&nbsp;&nbsp;&nbsp;Launching:&nbsp;<input type="checkbox" id="content4Check"  class="js-switch4" checked="">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-15">
                                <div style="height: 200px; border: 1px solid #e5e6e7;overflow-y: auto;">
                                    <table class="table table-striped table-bordered table-hover table-condensed">
                                        <thead>
                                        <tr>
                                            <th style="width: 300px;">Amount of motorcycle voucher</th>
                                            <th style="width: 300px;">Number of motorcycle coupons</th>
                                            <th style="width: 100px;">Operation</th>
                                        </tr>
                                        </thead>
                                        <tbody id="coun">
 
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                @}
                @if(language==3){
                <div class="row" id="content4" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <h1>Recharge akan dihargai</h1>
                        <br/>
                        <br/>
                        <div class="form-group">
                            <div class="col-sm-10">
                                <#button name="Tambah" icon="fa-plus" clickFun="UserActivityInfoDlg.toAddRegistOpt()"/>&nbsp;&nbsp;&nbsp;&nbsp;Membuka:&nbsp;<input type="checkbox" id="content4Check"  class="js-switch4" checked="">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-15">
                                <div style="height: 200px; border: 1px solid #e5e6e7;overflow-y: auto;">
                                    <table class="table table-striped table-bordered table-hover table-condensed">
                                        <thead>
                                        <tr>
                                            <th style="width: 300px;">Jumlah voucher sepeda motor</th>
                                            <th style="width: 300px;">Jumlah kupon sepeda motor</th>
                                            <th style="width: 100px;">Operasi</th>
                                        </tr>
                                        </thead>
                                        <tbody id="coun">
 
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                @}
 
                @if(language==1){
                <div class="row" id="content5" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <div class="form-group">
                            <div class="col-sm-10">
                                <h1>打折活动奖励</h1>
                                <br/>
                                <br/>
                                启用:&nbsp;<input type="checkbox" id="content5Check"  class="js-switch2" checked="">
                                <br/>
                                <br/>
                                摩托车活动打折:
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content5Num1" class="form-control newWidth" />&nbsp;折
                                <br/>
                                <br/>
                                同城快送活动打折:
                                &nbsp;<input type="text"  name="zc1" id="content5Num3" class="form-control newWidth" />&nbsp;折
                            </div>
                        </div>
                    </div>
                </div>
                @}
                @if(language==2){
                <div class="row" id="content5" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <div class="form-group">
                            <div class="col-sm-10">
                                <h1>Reward of discount activity</h1>
                                <br/>
                                <br/>
                                Launching:&nbsp;<input type="checkbox" id="content5Check"  class="js-switch2" checked="">
                                <br/>
                                <br/>
                                Motorcycle activity discount:
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content5Num1" class="form-control newWidth" />&nbsp;discount
                                <br/>
                                <br/>
                                Discount for intra-city express delivery activities:
                                &nbsp;<input type="text"  name="zc1" id="content5Num3" class="form-control newWidth" />&nbsp;discount
                            </div>
                        </div>
                    </div>
                </div>
                @}
                @if(language==3){
                <div class="row" id="content5" style="margin-left: 100px;">
                    <div class="col-sm-11">
                        <div class="form-group">
                            <div class="col-sm-10">
                                <h1>Hadiah Aktivitas Diskon</h1>
                                <br/>
                                <br/>
                                Membuka:&nbsp;<input type="checkbox" id="content5Check"  class="js-switch2" checked="">
                                <br/>
                                <br/>
                                Diskon aktivitas sepeda motor:
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                &nbsp;<input type="text"  name="zc1" id="content5Num1" class="form-control newWidth" />&nbsp;Diskon
                                <br/>
                                <br/>
                                Diskon untuk kegiatan pengiriman ekspres intra-kota:
                                &nbsp;<input type="text"  name="zc1" id="content5Num3" class="form-control newWidth" />&nbsp;Diskon
                            </div>
                        </div>
                    </div>
                </div>
                @}
                </div>
            </div>
 
            <div class="row btn-group-m-t">
                <div class="col-sm-10 col-sm-offset-5">
                    <input type="hidden" id="type" value="1">
 
                    @if(language==1){
                    <#button btnCss="info" name="保存" id="ensure" icon="fa-check" clickFun="UserActivityInfoDlg.addSubmit()"/>
                    <#button btnCss="info" name="下一步" icon="fa-check" id="nextB" clickFun="nextContent()"/>
                    @}
                    @if(language==2){
                    <#button btnCss="info" name="Save" id="ensure" icon="fa-check" clickFun="UserActivityInfoDlg.addSubmit()"/>
                    <#button btnCss="info" name="Next step" icon="fa-check" id="nextB" clickFun="nextContent()"/>
                    @}
                    @if(language==3){
                    <#button btnCss="info" name="Menyimpan" id="ensure" icon="fa-check" clickFun="UserActivityInfoDlg.addSubmit()"/>
                    <#button btnCss="info" name="Langkah berikutnya" icon="fa-check" id="nextB" clickFun="nextContent()"/>
                    @}
                </div>
            </div>
        </div>
 
    </div>
</div>
<script src="${ctxPath}/js/plugins/switchery/switchery.js"></script>
<script src="${ctxPath}/modular/system/userActivity/userActivity_info.js"></script>
<script>
    var elem = document.querySelector('.js-switch');
    var switchery = new Switchery(elem,{size:"large"});
    var elem1 = document.querySelector('.js-switch1');
    var switchery1 = new Switchery(elem1,{size:"large"});
    var elem2 = document.querySelector('.js-switch2');
    var switchery2 = new Switchery(elem2,{size:"large"});
    var elem3 = document.querySelector('.js-switch3');
    var switchery3 = new Switchery(elem3,{size:"large"});
    var elem4 = document.querySelector('.js-switch4');
    var switchery4 = new Switchery(elem4,{size:"large"});
 
    laydate.render({
        elem: '#startTime'
        ,type: 'datetime'
        ,range: true
        ,min: 'new Date()' //
        ,lang:"en"
    });
    $(function(){
        getContent(1);
    });
    function getContent(type){
        //设置点击字体颜色效果
        for(var i=1;i<7;i++){
            document.getElementById("div"+i).style.color="#888888";//
            document.getElementById("div"+i).style.backgroundColor ="";
            $("#content"+i).hide();
        }
        //设置点击背景颜色效果
        document.getElementById("div"+type).style.color="white";//
        document.getElementById("div"+type).style.backgroundColor ="rgb(26, 179, 148)";
        $("#type").val(type);
        $("#content"+type).show();
        if(type!=5){
            $("#ensure").hide();
            $("#nextB").show();
        }else{
            $("#ensure").show();
            $("#nextB").hide();
        }
    }
    function nextContent(){
        var type = $("#type").val();
        getContent(parseInt(type)+1);
        if(parseInt(type)+1==5){
            $("#ensure").show();
            $("#nextB").hide();
        }
    }
</script>
@}