Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
Denied access to model object as it does not belong to current company 37610
----
FTL stack trace ("~" means nesting-related):
- Failed at: #list teste?filter(curEntryyy -> curE... [in template "37610#37640#102007" at line 2053, column 33]
----
1<style>
2 /*.align-items-center.d-flex.mb-2 {*/
3 /* display: none !important;*/
4 /*}*/
5 figcaption.figcaption p {
6 color: rgb(94, 94, 255) !important;
7 font-style: italic !important;
8 text-align: center !important;
9 }
10 .figcaption {
11 color: #5e5eff;
12 font-style: italic;
13 text-align: center;
14 }
15 .autofit-row.mb-4.metadata-author {
16 display: none;
17 }
18 .display-img-default {
19 background: transparent !important;
20 height: fit-content !important;
21 }
22 .display-img-default > figure > img {
23 width: 95%;
24 height: auto !important;
25 }
26
27
28 .asset-anchor.lfr-asset-anchor {
29 display: none;
30 }
31 .liferayckevideo {
32 display: flex;
33 justify-content: center;
34 position: relative;
35 }
36
37 .liferayckevideo.video-container {
38 position: relative;
39 display: flex;
40 justify-content: center;
41 height: auto;
42 }
43 .video{
44 height: auto !important;
45 width: 100% !important;
46 }
47 .liferayckevideo.video-container video {
48 width: 100% !important;
49 height: 465px !important;
50 border: 1px solid #333;
51 }
52 @media only screen and (min-width: 1300px) and (max-width: 1400px) {
53 .liferayckevideo.video-container video {
54 height: 442px !important;
55 }
56 }
57 @media only screen and (min-width: 1400px) {
58 .liferayckevideo.video-container video {
59 height: 619px !important;
60 }
61 }
62 .liferayckevideo video {
63 width: 100% !important;
64 height: 465px !important;
65 }
66
67 /* Nút play overlay */
68 .video-play-button {
69 position: absolute;
70 top: 50%;
71 left: 50%;
72 transform: translate(-50%, -50%);
73 width: 60px;
74 height: 60px;
75 background: rgba(0, 0, 0, 0.7);
76 border: 3px solid #fff;
77 border-radius: 50%;
78 cursor: pointer;
79 z-index: 10;
80 display: flex;
81 align-items: center;
82 justify-content: center;
83 transition: all 0.3s ease;
84 }
85
86 .video-play-button:hover {
87 background: rgba(0, 0, 0, 0.9);
88 transform: translate(-50%, -50%) scale(1.1);
89 }
90
91 .video-play-button::before {
92 content: '';
93 width: 0;
94 height: 0;
95 border-style: solid;
96 border-width: 15px 0 15px 25px;
97 border-color: transparent transparent transparent #fff;
98 margin-left: 5px;
99 }
100
101 .video-play-button.playing {
102 display: none;
103 }
104
105 .social-buttons {
106 display: flex;
107 }
108
109 .article-head {
110 margin-bottom: 0;
111 }
112
113 .botting-border {
114 color: #292a32;
115 background: unset;
116 font-family: "Roboto";
117 text-transform: unset;
118 font-weight: bold;
119 font-size: 20px;
120 margin-bottom: 15px;
121 border-bottom: 3px solid #d1d2d4;
122 }
123
124 .buttonIn {
125 position: relative;
126 }
127
128 .btnsend {
129 color: #FFF;
130 border-color: #f70000;
131 padding: 3px 0.75rem;
132 border: none;
133 height: 42px;
134 cursor: pointer;
135 border-radius: 6px;
136 background: #C8392B;
137 margin-top: 17px;
138 font-size: 14px;
139 font-style: normal;
140 font-weight: 700;
141 line-height: 130%; /* 18.2px */
142 letter-spacing: 0.021px;
143 }
144
145 .button-dt {
146 color: #FFF;
147 background-color: #f70000;
148 border-color: #f70000;
149 padding: 3px 0.75rem;
150 border-radius: 5px;
151 margin: 2px;
152 }
153
154 .button-dt-close {
155 color: #FFF;
156 background-color: #f70000;
157 border-color: #f70000;
158 padding: 3px 0.75rem;
159 border-radius: 5px;
160 margin: 2px;
161 }
162
163 .md-textarea {
164 width: 100%;
165 }
166
167 .comment {
168 display: inline-block;
169 margin-top: 5px;
170 width: 100%;
171 }
172
173 .comment-text {
174 padding-left: 51px;
175 margin-top: -9px;
176 font-size: 14px;
177 }
178
179 .comment-child {
180 margin-left: 35px;
181 }
182
183
184 .modal-thongtin {
185 display: none;
186 position: fixed;
187 z-index: 1111;
188 padding-top: 100px;
189 left: 0;
190 top: 0;
191 width: 100%;
192 height: 100%;
193 overflow: auto;
194 background-color: rgb(0, 0, 0);
195 background-color: rgba(0, 0, 0, .4);
196 }
197
198 .modal-thongtin-reply {
199 display: none;
200 position: fixed;
201 z-index: 1;
202 padding-top: 100px;
203 left: 0;
204 top: 0;
205 width: 100%;
206 height: 100%;
207 overflow: auto;
208 background-color: rgb(0, 0, 0);
209 background-color: rgba(0, 0, 0, .4);
210 }
211
212
213 .close {
214 color: #aaaaaa;
215 float: right;
216 font-size: 28px;
217 font-weight: bold;
218 }
219
220 .close:hover,
221 .close:focus {
222 color: #000;
223 text-decoration: none;
224 cursor: pointer;
225 }
226
227 .btnreply {
228 color: #FFF;
229 background-color: #f70000;
230 border-color: #f70000;
231 padding: 3px 0.75rem;
232 border-radius: 5px;
233 height: 28px;
234 border: none;
235 float: right;
236 }
237
238 .autofit-float.autofit-row.portlet-header {
239 display: none;
240 }
241
242 .breadcrumb > li.active {
243 color: #f70000;
244 }
245
246 .zalo-share-button {
247 width: 158px !important;
248 }
249
250 iframe {
251 min-width: 92px;
252 }
253
254 b.text-summary {
255 color: #000;
256 font-size: 16px;
257 font-style: italic;
258 font-weight: 700;
259 line-height: normal;
260 }
261
262 @media only screen and (min-width: 768px) {
263 .other-imgs {
264 height: 60px;
265 }
266
267 .modal-thongtin-content {
268 background-color: #fefefe;
269 margin: auto;
270 padding: 20px;
271 border: 1px solid #888;
272 width: 60%;
273 }
274 }
275
276 @media only screen and (max-width: 768px) {
277 .pagination2 a {
278 cursor: pointer;
279 color: black;
280 padding: 3px 8px;
281 text-decoration: none;
282 transition: background-color .3s;
283 margin: 0px;
284 border-radius: 5px;
285 background: #ddd;
286 }
287
288 .curPage-title {
289 display: none;
290 }
291
292 h3.title-divvv {
293 /*text-align: justify;*/
294 /*margin-top: 16px;*/
295 color: #15191C;
296 font-size: clamp(18px, 4vw, 24px);
297 font-style: normal;
298 font-weight: 700;
299 line-height: 33.6px;
300 letter-spacing: -0.28px;
301 }
302
303 #contentText iframe {
304 width: 100% !important;
305 }
306
307 .detail-social > a:hover {
308 cursor: pointer;
309 }
310
311 .article-head .article-info {
312 margin-bottom: 0;
313 padding: 4px 0 8px 0;
314 font-size: 14px;
315 height: 59px !important;
316 }
317
318 .modal-thongtin-content {
319 background-color: #fefefe;
320 margin: auto;
321 padding: 20px;
322 border: 1px solid #888;
323 width: 100%;
324 }
325 }
326
327 span.sticker-overlay {
328 background: var(--main-color-background);
329 color: var(--main-color-text);
330 opacity: 0.8;
331 }
332
333
334 .detail__flex {
335 display: flex;
336 }
337
338 .sp-dislaydate {
339 color: var(--darkdefault-212529, #212529);
340 font-size: 16px;
341 font-style: normal;
342 font-weight: 400;
343 line-height: 130%;
344 letter-spacing: 0.08px;
345 /*border-left: 3px solid #212529;*/
346 margin-bottom: 18.5px;
347 /*padding-left: 12px;*/
348 margin-top: 40px;
349 }
350
351 .title-divvv {
352 text-align: justify;
353 /*margin-top: 16px;*/
354 color: var(--darkdefault-212529, #212529);
355 font-size: clamp(22px, 4vw, 24px);
356 font-style: normal;
357 font-weight: 700;
358 line-height: normal;
359 /*letter-spacing: -0.28px;*/
360 }
361
362 #contentText table {
363 width: 100% !important;
364 text-align: center;
365 }
366
367 #contentText table {
368 width: 100% !important;
369 text-align: center;
370 }
371
372 #contentText p {
373 text-align: justify;
374 color: #2E2E2E;
375 font-size: 16px;
376 font-style: normal;
377 font-weight: 400;
378 line-height: 22.4px;
379 letter-spacing: 0.08px;
380 }
381
382 #contentText > .text-summary > p {
383 color: #2E2E2E;
384 font-size: 16px;
385 /*font-style: italic;*/
386 font-weight: 500;
387 line-height: normal;
388 }
389
390 #contentText > p:has(img) {
391 text-align: center;
392 }
393
394 .text-dgbv {
395 display: flex;
396 flex-direction: row;
397 color: #000;
398 font-size: 14px;
399 font-style: normal;
400 font-weight: 500;
401 line-height: normal;
402 margin-top: 8px;
403 }
404
405 .share-fb-custom {
406 margin-top: 6px;
407 max-width: 90px;
408 }
409
410 .text-trangchu-ctbv {
411 color: var(--darkdefault-212529, #212529);
412 font-size: 16px;
413 font-style: normal;
414 font-weight: 400;
415 line-height: 130%;
416 letter-spacing: 0.08px;
417 }
418
419 .text-gioithieu-ctbv {
420 color: #0D4C92;
421 font-size: 16px;
422 font-style: normal;
423 font-weight: 500;
424 line-height: 130%;
425 letter-spacing: 0.08px;
426 }
427
428 .ctbv-right {
429 display: flex;
430 flex-wrap: wrap;
431 justify-content: flex-end;
432 }
433
434 .title-content-vni {
435 color: var(--Dark-primary-000000, #000);
436 font-size: 20px;
437 font-style: normal;
438 font-weight: 700;
439 line-height: 130%;
440 letter-spacing: 0.03px;
441 }
442
443 .line {
444 background: #848A8F;
445 height: 1px;
446 width: 100%;
447 margin: 32px 0;
448 }
449
450 .line-tlq {
451 background: #848A8F;
452 height: 1px;
453 width: 100%;
454 margin: 26px 18px 15px 15px;
455 }
456
457 .text-readmore-tlq {
458 color: #0D4C92;
459 font-size: 14px;
460 font-style: normal;
461 font-weight: 500;
462 line-height: 130%;
463 letter-spacing: 0.175px;
464 margin-top: 16px;
465 }
466
467 .text-des-tlq > p {
468 color: var(--signinupfont-3777777, #777);
469 font-size: 16px;
470 font-style: normal;
471 font-weight: 400 !important;
472 line-height: 130%; /* 18.2px */
473 letter-spacing: 0.035px;
474 }
475
476 .text-title-tlq {
477 color: var(--darkdefault-212529, #212529);
478 font-size: 16px;
479 font-style: normal;
480 font-weight: 700;
481 line-height: 130%;
482 letter-spacing: 0.024px;
483 padding-right: 15px;
484 padding-left: 15px;
485 }
486
487 .text-title-tlq-img {
488 color: var(--darkdefault-212529, #212529);
489 font-size: 16px;
490 font-style: normal;
491 font-weight: 700;
492 line-height: 130%;
493 letter-spacing: 0.024px;
494 /*margin-top: 32px;*/
495 }
496
497 .title-content-tlq {
498 color: var(--Dark-primary-000000, #000);
499 font-size: 20px;
500 font-style: normal;
501 font-weight: 700;
502 line-height: 130%;
503 letter-spacing: 0.03px;
504 margin-top: 22px;
505 }
506
507 .box-tlq {
508 border-radius: 8px;
509 border: 1px solid #C7C7C7;
510 background: #FAFAFA;
511 }
512
513
514
515 .border-item {
516 border-radius: 8px;
517 border: 1px solid var(--stroke-777777, rgba(119, 119, 119, 0.50));
518 margin: 0px 17px;
519 }
520
521 .tin-slide-img-left {
522 border-radius: 8px 0px 0px 8px;
523 }
524
525 .sdt-list-tlq-items {
526 color: var(--darkdefault-212529, #212529);
527 font-size: 16px;
528 font-style: normal;
529 font-weight: 400;
530 line-height: 130%;
531 letter-spacing: 0.024px;
532 }
533
534 .sdt-list-tlq-items:hover > a {
535 color: #0D4C92 !important;
536 font-weight: 700;
537 }
538
539 .sdt-list-tlq-items:hover > div > img {
540 filter: invert(20%) sepia(202%) saturate(280%) hue-rotate(-10deg) brightness(140%) contrast(142%);
541 }
542
543 .sdt-list-tlq-items:hover::before {
544 background: #0D4C92;
545 }
546
547 /*.sdt-list-tlq-items::before {*/
548 /* position: absolute;*/
549 /* top: 7px;*/
550 /* left: 0;*/
551 /* content: "";*/
552 /* height: 6px;*/
553 /* width: 6px;*/
554 /* border-radius: 8px;*/
555 /* background: #D9D9D9;*/
556 /* margin-right: 5px;*/
557 /*}*/
558
559 .text-border {
560 color: #000;
561 font-size: 18px;
562 font-style: normal;
563 font-weight: 400;
564 line-height: 130%;
565 letter-spacing: 0.027px;
566 }
567
568 .form-chitiet {
569 border-radius: 6px;
570 background: #F2F2F2;
571 border-color: #F2F2F2;
572 }
573
574 .form-chitiet::placeholder {
575 color: rgba(119, 119, 119, 0.50);
576 font-size: 14px;
577 font-style: normal;
578 font-weight: 400;
579 line-height: 130%;
580 letter-spacing: 0.021px;
581 }
582
583 .lbl-blyk {
584 color: #000;
585 font-size: 16px;
586 font-style: normal;
587 font-weight: 500;
588 line-height: 130%;
589 letter-spacing: 0.024px;
590 }
591
592 .align-right {
593 text-align: right;
594 border: 0;
595 }
596
597 .gg-custom {
598 margin-top: 10px;
599 }
600
601 .avatar {
602 display: block;
603 width: 40px;
604 height: 40px;
605 margin-right: 13px;
606 border-radius: 50%;
607 overflow: hidden;
608 }
609
610 .item {
611 padding-bottom: 16px;
612 margin-bottom: 16px;
613 display: flex;
614 border-bottom: 1px solid rgba(119, 119, 119, 0.30);
615 }
616
617 .user-name {
618 color: #000;
619 font-size: 16px;
620 font-style: normal;
621 font-weight: 700;
622 line-height: 130%;
623 letter-spacing: 0.024px;
624 }
625
626 .text-comment {
627 color: #4D4D4D;
628 font-size: 16px;
629 font-style: normal;
630 font-weight: 400;
631 line-height: 130%;
632 letter-spacing: 0.08px;
633 }
634
635 .btnmorecmt {
636 width: 285px;
637 padding: 12px 50px;
638 justify-content: center;
639 align-items: center;
640 gap: 10px;
641 border-radius: 8px;
642 border: 1px solid #000;
643 color: #000;
644 font-size: 14px;
645 font-style: normal;
646 font-weight: 400;
647 line-height: 130%; /* 18.2px */
648 letter-spacing: 0.021px;
649 background: none;
650 }
651
652 .content-left-tlq {
653 padding: 0 !important;
654 }
655
656 .content-right-tlq {
657 /*padding-left: 32px !important;*/
658 padding: 10px 20px !important;
659 background: #E0E0E04D;
660 color: #212529;
661 }
662
663 .content-right-tlq:hover,
664 .content-right-tlq:hover ~ .content-left-tlq {
665 /*background-color: #0D4C92;*/
666 }
667
668 .content-right-tlq:hover .text-title-tlq-img,
669 .content-right-tlq:hover .text-des-tlq > p,
670 .content-right-tlq:hover .text-readmore-tlq {
671 /*color: #ffffff !important;*/
672 }
673
674 .content-right-tlq,
675 .content-left-tlq,
676 .content-right-tlq .text-title-tlq-img,
677 .content-right-tlq .text-des-tlq > p,
678 .content-right-tlq .text-readmore-tlq {
679 transition: all 0.9s ease;
680 }
681
682 @media only screen and (max-width: 576px) {
683 .liferayckevideo.video-container video {
684 width: 100% !important;
685 height: 300px !important;
686}
687 .detail__sticky {
688 display: none;
689 }
690
691 .h-img-ctbv {
692 height: 100%;
693 }
694
695 .text-title-tlq-img {
696 margin-top: 10px;
697 }
698
699 #tin-slide-img-left {
700 height: 100% !important;
701 }
702
703 .content-right-tlq {
704 padding-left: 12px !important;
705 }
706
707 #contentText p,
708 #contentText > .text-summary > p {
709 line-height: 1.6;
710 }
711
712 }
713
714 .star {
715 position: relative;
716 display: inline-block;
717 transition: color 0.2s ease;
718 color: #ebebeb;
719 }
720
721 .star:before {
722 content: '\2605';
723 width: 30px;
724 height: 30px;
725 font-size: 30px;
726 }
727
728 .star:hover,
729 .star.selected,
730 .star:hover ~ .star,
731 .star.selected ~ .star {
732 transition: color 0.8s ease;
733 color: #FDE16D;
734 }
735
736 .ratings-wrapper {
737 display: inline-block;
738 margin-bottom: 20px;
739 }
740
741 .ratings {
742 display: flex;
743 flex-direction: row-reverse;
744 }
745
746 .ratings span {
747 cursor: pointer;
748 transition: color 0.8s ease;
749 font-size: 50px;
750 }
751
752 .ratings span:hover {
753 transition: color 0.8s ease;
754 color: #FDE16D;
755 }
756
757 .ratings span:hover ~ span {
758 transition: color 0.8s ease;
759 color: #FDE16D;
760 }
761
762 .ratings span[data-clicked] {
763 color: #FDE16D;
764 }
765
766 .ratings span[data-clicked] ~ span {
767 color: #FDE16D;
768 }
769
770 .reset {
771 font-size: 18px;
772 text-decoration: none;
773 background-color: #4f5a78;
774 padding: 15px 50px;
775 display: inline-block;
776 margin-top: 20px;
777 color: #fff;
778 border: none;
779 cursor: pointer;
780 }
781
782 .reset:hover {
783 filter: brightness(1.2);
784 }
785
786 .asset-details .mr-3 a {
787 display: none !important;
788 }
789
790 .separator {
791 display: none !important;
792 }
793
794
795 .title-ccni a{
796 text-decoration: none;
797 color: #035FB5;
798 font-size: clamp(16px, 3vw, 24px);
799 font-weight: 700;
800 line-height: 33.6px;
801 }
802
803 .title-ccni-icon {
804 height: 24px;
805 }
806 .line-tail-chitiet{
807 width: 100%;
808 height: 2px;
809 background: #DE6F18;
810 position: absolute;
811 bottom: 0;
812 z-index: 1;
813 }
814 .line-blue {
815 width: 70%;
816 height: 6px;
817 background: #035FB5;
818 clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 0% 100%);
819 }
820 .orange-line{
821 height: 6px;
822 background: #DE6F18;
823 clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 0 100%);
824 }
825 .label-binh-luan {
826 color: #15191C;
827 font-size: 14px;
828 font-weight: 500;
829 line-height: 18px;
830 }
831
832 .form-binh-luan {
833 background: #E0E0E04D;
834 padding: 1rem;
835 }
836
837 .btn-send-cmt {
838 color: white;
839 border-radius: 10px;
840 box-shadow: -2px 2px 3px 0px #00000040;
841 background: #DE6F18;
842 }
843
844 .btn-send-cmt:hover {
845 color: white;
846 border-radius: 10px;
847 box-shadow: -2px 2px 3px 0px #00000040;
848 background: #DE6F18;
849 }
850
851 .wrap-list-comment {
852 border: 1px solid #848A8F;
853 padding: 20px;
854 border-radius: 10px;
855 }
856
857 .user-name-cmt {
858 font-size: 16px;
859 font-weight: 500;
860 line-height: 20px;
861 color: #15191C;
862 }
863
864 .time-comment {
865 color: #848A8F;
866 }
867
868 .txt-content-cmt {
869 font-size: 16px;
870 font-weight: 400;
871 line-height: 22.4px;
872 color: #2E2E2E;
873 }
874
875 .thin-line {
876 background: #EBEBEB;
877 height: 1px;
878 }
879
880 .btn-xem-them-cmt {
881 border-radius: 5px;
882 font-size: 16px;
883 padding: 10px;
884 font-weight: 500;
885 line-height: 22.4px;
886 text-align: center;
887 color: #0065B3;
888 background: #E0E0E04D;
889 border: 1px solid #035FB5;
890 }
891
892 .icon-tool {
893 width: 25px;
894 height: 25px;
895 margin-right: 10px;
896 }
897
898
899
900
901
902 .img-lo57 {
903 width: 100%;
904 aspect-ratio: 4 / 3;
905 object-fit: cover;
906 }
907
908 .img-nho-block11 {
909 border-radius: 10px 10px 0 0;
910 }
911
912 .tin-nho-block11 {
913 border-radius: 10px;
914 }
915
916 .title-tin-nho-block11 {
917 height: 125px;
918 overflow-y: auto;
919 font-family: Roboto;
920 font-size: clamp(14px, 2vw, 16px);
921 font-weight: 500;
922 text-align: left;
923 color: rgba(46, 46, 46, 1);
924 scrollbar-width: none;
925 -ms-overflow-style: none;
926 }
927
928 .title-tin-nho-block11::-webkit-scrollbar {
929 display: none;
930 }
931
932 .inner-bg-gray:hover {
933 cursor: pointer;
934
935 .title-tin-nho-block11 {
936 color: rgba(3, 95, 181, 1);
937 }
938
939 img {
940 box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
941 }
942 }
943
944 .item-small-news .inner-bg-gray {
945 background-color: rgba(224, 224, 224, 0.3);
946 height: 100%;
947 width: 100%;
948 border-radius: 8px;
949 overflow: hidden;
950 border-bottom: 1px solid rgba(235, 235, 235, 1);
951 }
952
953 @media (max-width: 992px) {
954 .title-tin-nho-block11 {
955 height: 100px;
956 }
957 }
958
959
960 .tin-nho-block11 .under-ws {
961 bottom: 0;
962 left: 0;
963 width: 100%;
964 height: 35px;
965 background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 28.26%, #FFFFFF 59.44%);
966 }
967
968
969
970
971
972
973
974 .hoat-dong-khac-tin-khac {
975 height: 100%;
976 padding: 15px;
977 background: #E0E0E04D;
978 }
979 .hoat-dong-khac-tin-khac .makeshortnews-pct-thuy {
980 margin-bottom: 25px !important;
981 }
982 .mg-b-24 {
983 margin-bottom: 24px;
984 display: flex;
985 flex-direction: column;
986 gap: 20px;
987 }
988 .news-item-pvm .asset-publisher-title{
989 font-size: clamp(14px, 3vw, 18px);
990 font-weight: 700;
991 line-height: 25.2px;
992 color: #2E2E2E;
993 }
994 .news-item-pvm:hover .asset-publisher-title{
995 color: #035FB5;
996 }
997 .news-item-pvm .tin-slide-img-left {
998 width: 100%;
999 aspect-ratio: 4 / 3;
1000 object-fit: cover;
1001 height: 100% !important;
1002 }
1003 .news-item-pvm:hover .tin-slide-img-left{
1004 filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
1005
1006 }
1007
1008 .title-tin-hd-khac{
1009 width: 100%;
1010 padding-right: 14px;
1011 }
1012 .hd-khac-tin-nho {
1013 position: relative;
1014 }
1015
1016 .limit-tin-descc-news > p{
1017 color: #2E2E2E !important;
1018 }
1019 .main-color-pct-tin-khac > p{
1020 color: #031739!important;
1021 }
1022
1023
1024 .limit-3-lines{
1025 display: -webkit-box;
1026 -webkit-line-clamp: 3;
1027 -webkit-box-orient: vertical;
1028 overflow: hidden;
1029 text-overflow: ellipsis;
1030 }
1031 .limit-5-lines-desc {
1032 display: -webkit-box;
1033 -webkit-line-clamp: 5;
1034 -webkit-box-orient: vertical;
1035 overflow: hidden;
1036 text-overflow: ellipsis;
1037 }
1038 @media screen and (max-width: 426px) {
1039 .hoat-dong-khac-tin-khac{
1040 margin-left: 15px;
1041 margin-right: 15px;
1042 }
1043
1044 .limit-5-lines-desc{
1045 line-height: 1.6;
1046 }
1047 .hoat-dong-khac-tin-khac{
1048 padding-bottom: 30px;
1049
1050 }
1051 .img-hdk-ct{
1052 padding-right: 15px !important;
1053 }
1054 }
1055 @media screen and (min-width: 768px) and (max-width: 993px) {
1056 .liferayckevideo.video-container video {
1057 width: 100% !important;
1058 height: 400px !important;
1059 }
1060
1061 }
1062 @media screen and (min-width: 993px) and (max-width: 1025px) {
1063 .liferayckevideo.video-container video {
1064 width: 100% !important;
1065 height: 500px !important;
1066 }
1067}
1068 @media screen and (min-width: 427px) and (max-width: 768px) {
1069 .hoat-dong-khac-tin-khac{
1070 margin-left: 15px;
1071 margin-right: 15px;
1072 }
1073
1074 .limit-5-lines-desc{
1075 line-height: 1.6;
1076 }
1077 .hoat-dong-khac-tin-khac{
1078 padding-bottom: 30px;
1079
1080 }
1081 .img-hdk-ct{
1082 padding-right: 15px !important;
1083 }
1084 }
1085
1086
1087 .binhLuanMacDinh{
1088 margin-bottom: 0;
1089 color: #2E2E2E;
1090 font-size: clamp(14px, 2vw, 16px);
1091 font-weight: 600;
1092 }
1093 @media screen and (min-width: 767.9px) and (max-width: 768px) {
1094 .col-12.col-md-3.pr-0.img-hdk-ct {
1095 padding-right: 0px !important;
1096 }
1097 }
1098
1099 .hoat-dong-khac-tin-khac.hd-khac-tin-nho.d-flex.flex-column.align-items-start {
1100 margin-left: 0px !important;
1101 margin-right: 0px !important;
1102 }
1103
1104 @media screen and (max-width: 932px) and (max-height: 430px) {
1105 .mb-50 {
1106 margin-bottom: -50px !important;
1107 }
1108 }
1109
1110 @media screen and (max-width: 810px) {
1111 .mb-50-portal {
1112 margin-bottom: -50px !important;
1113 }
1114 }
1115
1116 @media screen and (max-width: 912px) and (min-width: 911.99px) and (max-height: 1368px) and (min-height: 1367.99px) {
1117 .mb-50-surface-pro-7 {
1118 margin-bottom: -50px !important;
1119 }
1120 }
1121
1122 .mb-32 {
1123 margin-bottom: -32px !important;
1124 }
1125
1126 .no-mt {
1127 margin-top: 0px !important;
1128 }
1129
1130 .pb-32 {
1131 padding-bottom: 32px !important;
1132 }
1133
1134 @media screen and (min-width: 992px) {
1135 .mb-30 {
1136 margin-bottom: -30px !important;
1137 }
1138 }
1139
1140 @media screen and (max-width: 740px) {
1141 .hoat-dong-khac-tin-khac.hd-khac-tin-nho.d-flex.flex-column.align-items-start {
1142 margin-left: 15px !important;
1143 margin-right: 15px !important;
1144 }
1145 }
1146
1147 @media screen and (max-width: 768px) and (max-width: 767.99px) and (max-height: 1024px) and (min-height: 1023.99px) {
1148 .col-12.col-md-4.pr-0.img-hdk-ct {
1149 padding-right: 0px !important;
1150 }
1151 }
1152 .popup-overlay {
1153 position: fixed;
1154 top: 0;
1155 left: 0;
1156 width: 100vw;
1157 height: 100vh;
1158 background-color: rgba(0, 0, 0, 0.5); /* lớp mờ xám */
1159 display: flex;
1160 align-items: center;
1161 justify-content: center;
1162 z-index: 9998; /* thấp hơn popup một chút */
1163 }
1164
1165 .custom-popup-ykien-binhluan {
1166 background: white;
1167 border-radius: 10px;
1168 box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
1169 z-index: 9999;
1170 width: 300px;
1171 padding: 20px;
1172 text-align: center;
1173 border: 1px solid #035FB5;
1174 }
1175
1176 .custom-popup-ykien-binhluan-content img.popup-icon {
1177 width: 50px;
1178 height: 50px;
1179 }
1180
1181 .custom-popup-ykien-binhluan-content div {
1182 border-bottom: solid 1px #035FB5;
1183 padding-bottom: 20px;
1184 }
1185
1186 .custom-popup-ykien-binhluan-content .popup-message {
1187 margin-top: 2rem;
1188 font-weight: bold;
1189 color: #035FB5;
1190 }
1191
1192 .d-none {
1193 display: none;
1194 }
1195 /* Pagination styles */
1196 .pagination {
1197 display: inline-block;
1198 margin: 0;
1199 }
1200
1201 .pagination a {
1202 color: #2E2E2E;
1203 float: left;
1204 padding: 4px 12px;
1205 text-decoration: none;
1206 transition: background-color .3s, color .3s;
1207 margin: 0 4px;
1208 border-radius: 4px;
1209 font-weight: 500;
1210 font-size: 16px;
1211 }
1212
1213 .pagination a.active {
1214 background-color: #1B6CCB;
1215 color: white;
1216 font-weight: 700;
1217 box-shadow: 0 2px 4px rgba(0,0,0,0.1);
1218 }
1219
1220 .pagination a:hover:not(.active):not(.disabled) {
1221 background-color: #1B6CCB;
1222 color: #ffffff;
1223 }
1224
1225 .pagination .ellipsis {
1226 float: left;
1227 padding: 4px 8px;
1228 margin: 0 4px;
1229 color: #2E2E2E;
1230 font-weight: 500;
1231 font-size: 16px;
1232 }
1233
1234 .prev-page, .next-page {
1235 background-color: #f1f1f1;
1236 font-weight: 400 !important;
1237 }
1238
1239 .prev-page {
1240 border-radius: 8px 0 0 8px !important;
1241 margin-right: 8px !important;
1242 }
1243
1244 .next-page {
1245 border-radius: 0 8px 8px 0 !important;
1246 margin-left: 8px !important;
1247 }
1248
1249 .pagination a.disabled {
1250 background-color: #BDBDBD;
1251 color: #2E2E2E;
1252 cursor: default;
1253 pointer-events: none;
1254 }
1255
1256 .related-news-page {
1257 transition: all 0.3s ease;
1258 padding-right: 6px;
1259 }
1260
1261 .sdt-list-tlq-items {
1262 align-items: center;
1263 color: var(--darkdefault-212529, #212529);
1264 font-size: 16px;
1265 font-style: normal;
1266 font-weight: 400;
1267 line-height: 130%;
1268 letter-spacing: 0.024px;
1269 }
1270
1271 .sdt-list-tlq-items:hover > a {
1272 color: #0D4C92 !important;
1273 font-weight: 700;
1274 }
1275
1276 .sdt-list-tlq-items:hover::before {
1277 background: #0D4C92;
1278 }
1279
1280 .first-dot-syt {
1281 width: 6px;
1282 height: 6px;
1283 border-radius: 50%;
1284 background-color: #2E2E2E;
1285 transition: background-color 0.3s ease; /* Hiệu ứng mượt */
1286 }
1287
1288 .sdt-list-tlq-items:hover .first-dot-syt {
1289 background-color: #EA292E;
1290 }
1291 .dot-tlq-syt {
1292 align-self: flex-start;
1293 margin-top: 4px;
1294}
1295#contentText span{
1296 font-size: 16px !important;
1297 color: #2E2E2E !important;
1298}
1299
1300</style>
1301<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService" )>
1302<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
1303
1304<#assign currentArticle = JournalArticleLocalService.getArticle(getterUtil.getLong(groupId),.vars['reserved-article-id'].data)>
1305<#assign currentArticleResourcePrimKey = currentArticle.getResourcePrimKey()>
1306
1307<#assign currentArticleAssetEntry = AssetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", currentArticleResourcePrimKey)/>
1308
1309<#assign articlePrimKey = currentArticle.resourcePrimKey>
1310<#assign DDMStructureKey = currentArticle.DDMStructureKey>
1311
1312<#assign catLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")>
1313<#assign articleCatId = catLocalService.getCategoryIds("com.liferay.journal.model.JournalArticle", getterUtil.getLong(articlePrimKey))>
1314
1315<#assign assetEntryQueryService = objectUtil('com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil')>
1316
1317<#assign assetEntryQuery = objectUtil('com.liferay.asset.kernel.service.persistence.AssetEntryQuery')>
1318
1319
1320<#assign search = assetEntryQuery.setAnyCategoryIds(articleCatId)>
1321<#assign search = assetEntryQuery.setOrderByCol1("publishDate")/>
1322<#assign search = assetEntryQuery.setStart(0)/>
1323<#assign search = assetEntryQuery.setEnd(100)/>
1324<#assign search = assetEntryQuery.setOrderByType1("DESC")/>
1325
1326<#assign teste = assetEntryQueryService.getEntries(assetEntryQuery)
1327totalPage = 0/>
1328
1329<#assign
1330title = .vars['reserved-article-title'].data
1331portalURL = themeDisplay.getPortalURL()
1332currentUrl = portalURL + themeDisplay.getURLCurrent()
1333imageUrl = portalURL + .vars['reserved-article-small-image-url'].data
1334<#--srcfb = "https://www.facebook.com/plugins/like.php?href=${currentUrl}&width=92&layout=button_count&locale=vi_VN&action=like&size=small&share=false&height=28&appId=252861586372350"-->
1335srcfb = "https://www.facebook.com/sharer/sharer.php?u=${currentUrl}"
1336displayDate = .vars['reserved-article-display-date'].data
1337summary = .vars['reserved-article-description'].data/>
1338
1339<#assign scopeId = themeDisplay.getScopeGroupId()>
1340<#assign contentId = .vars['reserved-article-id'].data>
1341<#assign originalLocale = .locale>
1342<#setting locale = localeUtil.getDefault()>
1343<#assign displayDate = displayDate?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
1344<#assign locale = originalLocale>
1345<#--<#assign displayDate = displayDate?string("EEEE, dd/MM/yyyy, HH:mm a ")>-->
1346<#assign displayDate = displayDate?string("dd/MM/yyyy HH:mm")>
1347<#assign listLayoutDHD = [5474,5512,179]>
1348<#assign layo = themeDisplay.getPlid() />
1349<#assign noImageUrl = "/documents/131507/131575/anh-mac-dinh-syt.jpg" >
1350
1351<#assign danhMucTacGiaDC = 380084>
1352<#assign authorCategories = "">
1353<#list currentArticleAssetEntry.getCategories() as category>
1354<#if category.vocabularyId == danhMucTacGiaDC>
1355<#if authorCategories?has_content>
1356<#assign authorCategories = authorCategories + ", " + category.name>
1357<#else>
1358<#assign authorCategories = category.name>
1359</#if>
1360</#if>
1361</#list>
1362<#if !authorCategories?has_content>
1363<#assign authorCategories = "Tổng biên tập">
1364</#if>
1365<#assign dcDescription = summary?replace('<[^>]*>', '', 'r')?replace(" ", " ")?trim>
1366<#if !dcDescription?has_content>
1367<#assign dcDescription = "Bài viết không có mô tả">
1368</#if>
1369<@liferay_util["html-top"]>
1370 <meta name='DC.Creator' content="${authorCategories?html}">
1371 <meta name="DC.Description" content="${dcDescription?html}">
1372 <meta name="title" property="og:title" content="${title?html}">
1373 <meta name="image" property="og:image" content="${imageUrl?html}">
1374 <meta name="imageurl" property="og:image:url" content="${imageUrl?html}">
1375 <meta name="description" property="og:description" content="${dcDescription?html}">
1376 <meta name="url" property="og:url" content="${currentUrl?html}">
1377</@>
1378<#assign
1379theme_display = themeDisplay
1380images_folder = theme_display.getPathThemeImages()
1381
1382/>
1383<#assign danhMucTacGia = 348587>
1384
1385<script>
1386 $(document).ready(function () {
1387 $(".hrefShareFb").attr("href", "https://www.facebook.com/sharer/sharer.php?u=" + window.location.href);
1388 /*$("#hrefShareEmail").attr("href", "mailto:?subject=I wanted you to see this site&body=Check out this site " + window.location.href);*/
1389 $("#hrefShareEmail").attr("href", 'https://mail.google.com/mail/u/0/?su='+'${title}'+'&body=' + window.location.href+'&fs=1&tf=cm');
1390 $("#hrefShareSkype").attr("href", "https://web.skype.com/share?url=" + window.location.href);
1391 $("#trigger_zalo").attr("data-href", "" + window.location.href);
1392 $(".hrefShareTwitter").attr("href", "https://twitter.com/intent/tweet?text=" + window.location.href);
1393 var modal = $('.modal-thongtin');
1394 var btn = $('.btnsend');
1395 var button_dt = $('.button-dt');
1396 var button_dt_close = $('.button-dt-close');
1397 var span = $('.close');
1398 var baiVietId = $('#baiVietId');
1399 var tieuDe = $('#tieuDe');
1400 var commentContent = $('#commentContent');
1401 var commentName = $('#commentName');
1402 var commentAddress = $('#commentAddress');
1403 var commentEmail = $('#commentEmail');
1404
1405 /*btn.click(function () {
1406 if (commentContent.val().length == 0) {
1407 alert('Vui lòng nhập nội dung ý kiến!');
1408 } else {
1409 modal.show();
1410 btn.hide();
1411 }
1412 });*/
1413
1414
1415 button_dt.click(function () {
1416 const valid = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
1417 if (commentName.val().length == 0) {
1418 commentName.css('border-color', 'red');
1419 commentName.focus();
1420 } else if (commentAddress.val().length == 0) {
1421 commentAddress.css('border-color', 'red');
1422 commentAddress.focus();
1423 } else if (commentEmail.val().length == 0) {
1424 commentEmail.css('border-color', 'red');
1425 commentEmail.focus();
1426 } else if (!valid.test(commentEmail.val())) {
1427 commentEmail.css('border-color', 'red');
1428 commentEmail.focus();
1429 alert('Vui lòng nhập đúng email!');
1430 } else {
1431 comment(baiVietId.val(), tieuDe.val(), commentContent.val(), commentName.val(), commentAddress.val(), commentEmail.val(), groupId);
1432 commentContent.val('');
1433 commentName.val('');
1434 commentAddress.val('');
1435 commentEmail.val('');
1436 modal.hide();
1437 btn.show();
1438 }
1439 });
1440
1441 button_dt_close.click(function () {
1442 commentContent.val('');
1443 commentName.val('');
1444 commentAddress.val('');
1445 commentEmail.val('');
1446 commentName.css('border-color', '#ccc');
1447 commentAddress.css('border-color', '#ccc');
1448 commentEmail.css('border-color', '#ccc');
1449 modal.hide();
1450 btn.show();
1451
1452 });
1453
1454 span.click(function () {
1455 commentContent.val('');
1456 commentName.val('');
1457 commentAddress.val('');
1458 commentEmail.val('');
1459 modal.hide();
1460 $('.replyBox').hide();
1461 btn.show();
1462
1463 $('.inputReplyContent').val('');
1464 commentNameReply.val('');
1465 commentAddressReply.val('');
1466 commentEmailReply.val('');
1467 modal_reply.hide();
1468 $('.replyBox').hide();
1469 btnreply.show();
1470 });
1471
1472 $(window).on('click', function (e) {
1473 if ($(e.target).is('.modal-thongtin')) {
1474 commentContent.val('');
1475 commentName.val('');
1476 commentAddress.val('');
1477 commentEmail.val('');
1478 modal.hide();
1479 btn.show();
1480 }
1481 if ($(e.target).is('.modal-thongtin-reply')) {
1482 $('.inputReplyContent').val('');
1483 commentNameReply.val('');
1484 commentAddressReply.val('');
1485 commentEmailReply.val('');
1486 modal_reply.hide();
1487 btnreply.show();
1488 }
1489 });
1490
1491
1492 var modal_reply = $('.modal-thongtin-reply');
1493 var btnreply = $('.btnreply');
1494 var button_dt_reply = $('.button-dt-reply');
1495 var button_dt_reply_close = $('.button-dt-reply-close');
1496 var span = $('.close');
1497 var commentNameReply = $('#commentNameReply');
1498 var commentAddressReply = $('#commentAddressReply');
1499 var commentEmailReply = $('#commentEmailReply');
1500
1501 function submitreply() {
1502 var commentId = $('#commentId').val();
1503 if ($('#inputReplyContent' + commentId).val().length == 0) {
1504 alert('Vui lòng nhập nội dung ý kiến!');
1505 } else {
1506 modal_reply.show();
1507 $('#commentContentReply').val($('#inputReplyContent' + commentId).val());
1508 btnreply.hide();
1509 }
1510 }
1511
1512 button_dt_reply.click(function () {
1513 if (commentNameReply.val().length == 0) {
1514 commentNameReply.css('border-color', 'red');
1515 } else if (commentAddressReply.val().length == 0) {
1516 commentAddressReply.css('border-color', 'red');
1517 } else if (commentEmailReply.val().length == 0) {
1518 commentEmailReply.css('border-color', 'red');
1519 } else {
1520 replyComment($('#commentId').val(), baiVietId.val(), tieuDe.val(), $('#commentContentReply').val(), commentNameReply.val(), commentAddressReply.val(), commentEmailReply.val());
1521 $('.inputReplyContent').val('');
1522 commentNameReply.val('');
1523 commentAddressReply.val('');
1524 commentEmailReply.val('');
1525 modal_reply.hide();
1526 }
1527 });
1528
1529 button_dt_reply_close.click(function () {
1530 $('.inputReplyContent').val('');
1531 commentNameReply.val('');
1532 commentAddressReply.val('');
1533 commentEmailReply.val('');
1534 modal_reply.hide();
1535
1536 });
1537 });
1538
1539 function printById(elementId) {
1540 var contentHTML = document.getElementById(elementId).innerHTML;
1541 var titleDetail = document.getElementById('title-detail').innerHTML;
1542 var printWindow = window.open('', '', 'width=800,height=600');
1543
1544 printWindow.document.open();
1545 printWindow.document.write(`
1546 <html>
1547 <head>
1548 <style>
1549.text-summary > p {
1550 color: #000;
1551 font-size: 16px;
1552 font-style: italic;
1553 font-weight: 700;
1554 line-height: normal;
1555 }
1556 p {
1557 text-align: justify;
1558 color: #2E2E2E;
1559 font-size: 16px;
1560 font-style: normal;
1561 font-weight: 400;
1562 line-height: 22.4px;
1563 letter-spacing: 0.08px;
1564 }
1565 </style>
1566 </head>
1567 <body>`+titleDetail+contentHTML+`
1568 </body>
1569 </html>
1570 `);
1571 printWindow.document.close();
1572 printWindow.focus();
1573 setTimeout(() => {
1574 printWindow.print();
1575 printWindow.close();
1576 }, 500);
1577 }
1578
1579 $(function () {
1580 var star = '.star',
1581 selected = '.selected';
1582 $(star).on('click', function () {
1583 $(selected).each(function () {
1584 $(this).removeClass('selected');
1585 });
1586 $(this).addClass('selected');
1587 });
1588 });
1589
1590 function submitreply() {
1591 var commentId = $('#commentId').val();
1592 if ($('#inputReplyContent' + commentId).val().length == 0) {
1593 alert('Vui lòng nhập nội dung ý kiến!');
1594 } else {
1595 $('.modal-thongtin-reply').show();
1596 $('#commentContentReply').val($('#inputReplyContent' + commentId).val());
1597 $('.btnreply').hide();
1598 }
1599 }
1600
1601 function changePageSize() {
1602 var pageSize = $('#pageSize').val();
1603 var pageIndex = $('#pageIndex').val();
1604 paginate(pageIndex, pageSize);
1605 }
1606
1607 function changePageIndex() {
1608 var pageSize = $('#pageSize').val();
1609 var pageIndex = $('#pageIndex').val();
1610 $('#curPage').val(pageIndex);
1611 paginate(pageIndex, pageSize);
1612 }
1613
1614 function gotoPage(i) {
1615 $('a[name="gotoPage"]').removeClass("active");
1616 $('#gotoPage' + i).addClass("active");
1617 $('.list-unstyled').css("display", "none");
1618 $('ul[name="list-unstyled-' + i + '"]').css("display", "grid");
1619 $('#currentPage').val(i);
1620 }
1621
1622 function previousPage() {
1623 var i = $('#currentPage').val();
1624 if (i > 1) {
1625 gotoPage(Number(i) - 1);
1626 }
1627 }
1628
1629 function nextPage() {
1630 var i = $('#currentPage').val();
1631 var totalPage = $('#totalPages').val();
1632 console.log(i);
1633 console.log(totalPage);
1634 if (i < totalPage) {
1635 gotoPage(Number(i) + 1);
1636 }
1637 }
1638
1639
1640</script>
1641<div id="fb-root"></div>
1642<div class="detail__flex">
1643 <#-- <div class="detail__sticky">-->
1644 <#-- <div class="detail__scroll-action">-->
1645 <#-- <div class="detail-social">-->
1646 <#-- <a onclick="fontMinus();" href="javascript:void(0);" title="Giảm cỡ chữ" data-toggle="tooltip">-->
1647 <#-- <span class="icon">-->
1648 <#-- <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none">-->
1649 <#-- <circle cx="14" cy="14" r="13.5" stroke="#777777"/>-->
1650 <#-- <path d="M17.5 15.5L13.75 11.75L10 15.5" stroke="#777777" stroke-width="1.5"-->
1651 <#-- stroke-linecap="round" stroke-linejoin="round"/>-->
1652 <#-- </svg>-->
1653 <#-- </span>-->
1654 <#-- </a>-->
1655 <#-- <a onclick="fontPlus();" href="javascript:void(0);" title="Tăng cỡ chữ" data-toggle="tooltip">-->
1656 <#-- <span class="icon">-->
1657 <#-- <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none">-->
1658 <#-- <circle cx="14" cy="14" r="13.5" transform="rotate(-180 14 14)" stroke="#777777"/>-->
1659 <#-- <path d="M10 12L13.75 15.75L17.5 12" stroke="#777777" stroke-width="1.5" stroke-linecap="round"-->
1660 <#-- stroke-linejoin="round"/>-->
1661 <#-- </svg>-->
1662 <#-- </span>-->
1663 <#-- </a>-->
1664 <#-- <a onclick="voiceSpeak('contentText','voiceSex')" href="javascript:void(0);" data-toggle="tooltip"-->
1665 <#-- title="Đọc bài viết">-->
1666 <#-- <span class="icon">-->
1667 <#-- <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none">-->
1668 <#-- <path d="M17.1145 3.14453C16.9531 3.14453 16.7891 3.18828 16.6387 3.28945L6.94531 9.625H2.46094C2.22031 9.625 2.02344 9.82188 2.02344 10.0625V17.9375C2.02344 18.1781 2.22031 18.375 2.46094 18.375H6.94531L16.6387 24.7105C16.7891 24.809 16.9559 24.8555 17.1145 24.8555C17.5711 24.8555 17.9922 24.4918 17.9922 23.9777V4.02227C17.9922 3.5082 17.5711 3.14453 17.1145 3.14453ZM16.0234 21.957L8.02266 16.7262L7.53047 16.4062H3.99219V11.5938H7.53047L8.01992 11.2738L16.0234 6.04297V21.957ZM25.5391 13.0156H22.0391C21.7984 13.0156 21.6016 13.2125 21.6016 13.4531V14.5469C21.6016 14.7875 21.7984 14.9844 22.0391 14.9844H25.5391C25.7797 14.9844 25.9766 14.7875 25.9766 14.5469V13.4531C25.9766 13.2125 25.7797 13.0156 25.5391 13.0156ZM24.3934 20.1742L21.3773 18.4324C21.3278 18.404 21.2731 18.3857 21.2165 18.3785C21.1599 18.3712 21.1023 18.3752 21.0472 18.3902C20.9921 18.4052 20.9405 18.4309 20.8954 18.4658C20.8502 18.5007 20.8123 18.5442 20.784 18.5938L20.2398 19.5371C20.1195 19.7449 20.1906 20.0129 20.3984 20.1332L23.4145 21.875C23.464 21.9034 23.5187 21.9217 23.5753 21.929C23.6319 21.9362 23.6894 21.9322 23.7445 21.9172C23.7996 21.9023 23.8513 21.8766 23.8964 21.8416C23.9416 21.8067 23.9794 21.7632 24.0078 21.7137L24.552 20.7703C24.6723 20.5625 24.5984 20.2945 24.3934 20.1742ZM20.7812 9.40625C20.8096 9.45581 20.8475 9.49929 20.8926 9.53422C20.9378 9.56915 20.9894 9.59484 21.0445 9.60982C21.0996 9.6248 21.1571 9.62878 21.2138 9.62153C21.2704 9.61428 21.3251 9.59595 21.3746 9.56758L24.3906 7.82578C24.5984 7.70547 24.6695 7.4375 24.5492 7.22969L24.0078 6.28906C23.9794 6.23951 23.9416 6.19602 23.8964 6.16109C23.8513 6.12616 23.7996 6.10048 23.7445 6.0855C23.6894 6.07051 23.6319 6.06653 23.5753 6.07378C23.5187 6.08103 23.464 6.09936 23.4145 6.12773L20.3984 7.86953C20.2986 7.92775 20.2258 8.02314 20.1961 8.13484C20.1664 8.24655 20.1821 8.36548 20.2398 8.46563L20.7812 9.40625Z"-->
1669 <#-- fill="#777777"/>-->
1670 <#-- </svg>-->
1671 <#-- </span>-->
1672 <#-- </a>-->
1673 <#-- <a id="void-pause" onclick="voicePause()" href="javascript:void(0);" style="display:none;"-->
1674 <#-- data-toggle="tooltip"-->
1675 <#-- title="Tạm dừng đọc">-->
1676 <#-- <span class="icon">-->
1677 <#-- <i class="fa fa-pause" style="vertical-align: middle;opacity: 1;color: dimgray;"></i>-->
1678 <#-- </span>-->
1679 <#-- </a>-->
1680 <#-- <a id="void-resume" onclick="voiceResume()" href="javascript:void(0);" style="display:none;"-->
1681 <#-- data-toggle="tooltip"-->
1682 <#-- title="Tiếp tục đọc">-->
1683 <#-- <i class="icon fa fa-repeat" style="vertical-align: middle;opacity: 1;color: dimgray;"></i>-->
1684 <#-- </a>-->
1685 <#-- <a id="void-stop" onclick="voiceCancel()" href="javascript:void(0);" style="display:none;"-->
1686 <#-- data-toggle="tooltip"-->
1687 <#-- title="Dừng đọc">-->
1688 <#-- <i class="icon fa fa-stop" style="vertical-align: middle;opacity: 1;color: dimgray;"></i>-->
1689 <#-- </a>-->
1690
1691 <#-- <a onclick="giamTuongPhan();" href="javascript:void(0);"-->
1692 <#-- data-toggle="tooltip" title="Giảm tương phản">-->
1693 <#-- <span class="icon">-->
1694 <#-- <img src="/o/portal-home-multi-theme/icons/trothinh/trothinh_bright-down-btn.png"-->
1695 <#-- style="vertical-align: middle;opacity: 1;"/>-->
1696 <#-- </span>-->
1697 <#-- </a>-->
1698 <#-- <a onclick="tangTuongPhan();" href="javascript:void(0);"-->
1699 <#-- data-toggle="tooltip" title="Tăng tương phản">-->
1700 <#-- <span class="icon">-->
1701 <#-- <img src="/o/portal-home-multi-theme/icons/trothinh/trothinh_bright-up-btn.png"-->
1702 <#-- style="vertical-align: middle;opacity: 1;"/>-->
1703 <#-- </span>-->
1704 <#-- </a>-->
1705 <#-- <a target="_blank" title="Chia sẻ Facebook" class="hrefShareFb">-->
1706 <#-- <span class="icon">-->
1707 <#-- <img src="${images_folder}/icons/iconfacebookvni.png">-->
1708 <#-- </span>-->
1709 <#-- </a>-->
1710
1711 <#-- <a target="_blank" title="Chia sẻ Twitter" class="hrefShareTwitter">-->
1712 <#-- <span class="icon">-->
1713 <#-- <img src="${images_folder}/icons/twittershare.png">-->
1714 <#-- </span>-->
1715 <#-- </a>-->
1716
1717 <#-- <a class="" title="Chia sẻ Zalo" onclick="load_js_zalo();" href="javascript:void(0);">-->
1718 <#-- <span class="icon">-->
1719 <#-- <img src="${images_folder}/icons/iconzlvni.png">-->
1720 <#-- </span>-->
1721 <#-- </a>-->
1722 <#-- <span id="trigger_zalo" style="position: absolute;" href="javascript:void(0);" class="zalo-share-button"-->
1723 <#-- data-oaid="3853758560685742933" data-layout="2" data-color="blue" data-customize="true"-->
1724 <#-- title="Chia sẻ Zalo"></span>-->
1725 <#-- </div>-->
1726 <#-- </div>-->
1727 <#-- </div>-->
1728 <div class="detail__main">
1729 <#-- <span class="text-trangchu-ctbv">TRANG CHỦ / <span class="text-gioithieu-ctbv">TIN TỨC</span></span>-->
1730 <div class="main-content main_blog_post_content">
1731 <div class="panel mbp_thumb_post mb-50-portal mb-50 mb-50-surface-pro-7 mb-30" id="main-body">
1732 <div style="margin:10px 0px;" id="title-detail">
1733 <h3 class="title-divvv">${title}</h3>
1734 </div>
1735 <div class="shortcode-content hreview py-1 py-md-2">
1736 <div class="article-head">
1737 <div class="article-info" style="border-top: 0px;border-bottom: 0px; height: 33px;">
1738 <div class="social-buttons left" style="float: left!important;">
1739 <ul class="blog_sp_post_meta">
1740 <li class="list-inline-item">
1741 <span class="sp-dislaydate">Người đăng tin: ${currentArticle.getUserName()}, ${displayDate} , Lượt xem: ${currentArticleAssetEntry.viewCount} </span>
1742 </li>
1743 </ul>
1744 </div>
1745 <div style="float: right">
1746 <div class="wrap-tool d-flex">
1747 <a onclick="fontMinus();" href="javascript:void(0);" title="Giảm cỡ chữ"
1748 class=""
1749 data-toggle="tooltip">
1750 <span class="icon-tool">
1751 <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25"
1752 viewBox="0 0 28 28" fill="none">
1753 <circle cx="14" cy="14" r="13.5" stroke="#777777"/>
1754 <path d="M17.5 15.5L13.75 11.75L10 15.5" stroke="#777777"
1755 stroke-width="1.5"
1756 stroke-linecap="round" stroke-linejoin="round"/>
1757 </svg>
1758 </span>
1759 </a>
1760
1761 <a onclick="fontPlus();" href="javascript:void(0);" title="Aa" class=""
1762 data-toggle="tooltip">
1763 <span class="icon-tool">
1764 <img src="/documents/37638/39612/Aa.svg" style="height: 20px" />
1765 </span>
1766 </a>
1767
1768 <a onclick="fontPlus();" href="javascript:void(0);" title="Tăng cỡ chữ" class=""
1769 data-toggle="tooltip">
1770 <span class="icon-tool">
1771 <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"
1772 viewBox="0 0 28 28" fill="none">
1773 <circle cx="14" cy="14" r="13.5" transform="rotate(-180 14 14)"
1774 stroke="#777777"/>
1775 <path d="M10 12L13.75 15.75L17.5 12" stroke="#777777"
1776 stroke-width="1.5" stroke-linecap="round"
1777 stroke-linejoin="round"/>
1778 </svg>
1779 </span>
1780 </a>
1781
1782 <a onclick="giamTuongPhan();" href="javascript:void(0);"
1783 data-toggle="tooltip" title="Giảm tương phản">
1784 <span class="icon-tool">
1785 <img src="/o/portal-home-multi-theme/icons/trothinh/trothinh_bright-down-btn.png"
1786 style="vertical-align: middle;opacity: 1; height: 28px"/>
1787 </span>
1788 </a>
1789
1790 <a onclick="tangTuongPhan();" href="javascript:void(0);"
1791 data-toggle="tooltip" title="Tăng tương phản">
1792 <span class="icon-tool">
1793 <img src="/o/portal-home-multi-theme/icons/trothinh/trothinh_bright-up-btn.png"
1794 style="vertical-align: middle;opacity: 1; height: 28px"/>
1795 </span>
1796 </a>
1797
1798 <a onclick="voiceSpeak('contentText','voiceSex')" href="javascript:void(0);"
1799
1800 data-toggle="tooltip"
1801 title="Đọc bài viết">
1802 <span class="icon-tool">
1803 <svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"
1804 viewBox="0 0 28 28" fill="none">
1805 <path d="M17.1145 3.14453C16.9531 3.14453 16.7891 3.18828 16.6387 3.28945L6.94531 9.625H2.46094C2.22031 9.625 2.02344 9.82188 2.02344 10.0625V17.9375C2.02344 18.1781 2.22031 18.375 2.46094 18.375H6.94531L16.6387 24.7105C16.7891 24.809 16.9559 24.8555 17.1145 24.8555C17.5711 24.8555 17.9922 24.4918 17.9922 23.9777V4.02227C17.9922 3.5082 17.5711 3.14453 17.1145 3.14453ZM16.0234 21.957L8.02266 16.7262L7.53047 16.4062H3.99219V11.5938H7.53047L8.01992 11.2738L16.0234 6.04297V21.957ZM25.5391 13.0156H22.0391C21.7984 13.0156 21.6016 13.2125 21.6016 13.4531V14.5469C21.6016 14.7875 21.7984 14.9844 22.0391 14.9844H25.5391C25.7797 14.9844 25.9766 14.7875 25.9766 14.5469V13.4531C25.9766 13.2125 25.7797 13.0156 25.5391 13.0156ZM24.3934 20.1742L21.3773 18.4324C21.3278 18.404 21.2731 18.3857 21.2165 18.3785C21.1599 18.3712 21.1023 18.3752 21.0472 18.3902C20.9921 18.4052 20.9405 18.4309 20.8954 18.4658C20.8502 18.5007 20.8123 18.5442 20.784 18.5938L20.2398 19.5371C20.1195 19.7449 20.1906 20.0129 20.3984 20.1332L23.4145 21.875C23.464 21.9034 23.5187 21.9217 23.5753 21.929C23.6319 21.9362 23.6894 21.9322 23.7445 21.9172C23.7996 21.9023 23.8513 21.8766 23.8964 21.8416C23.9416 21.8067 23.9794 21.7632 24.0078 21.7137L24.552 20.7703C24.6723 20.5625 24.5984 20.2945 24.3934 20.1742ZM20.7812 9.40625C20.8096 9.45581 20.8475 9.49929 20.8926 9.53422C20.9378 9.56915 20.9894 9.59484 21.0445 9.60982C21.0996 9.6248 21.1571 9.62878 21.2138 9.62153C21.2704 9.61428 21.3251 9.59595 21.3746 9.56758L24.3906 7.82578C24.5984 7.70547 24.6695 7.4375 24.5492 7.22969L24.0078 6.28906C23.9794 6.23951 23.9416 6.19602 23.8964 6.16109C23.8513 6.12616 23.7996 6.10048 23.7445 6.0855C23.6894 6.07051 23.6319 6.06653 23.5753 6.07378C23.5187 6.08103 23.464 6.09936 23.4145 6.12773L20.3984 7.86953C20.2986 7.92775 20.2258 8.02314 20.1961 8.13484C20.1664 8.24655 20.1821 8.36548 20.2398 8.46563L20.7812 9.40625Z"
1806 fill="#777777"/>
1807 </svg>
1808 </span>
1809 </a>
1810
1811 <a target="_blank" id="hrefShareEmail" title="Gửi Mail" class="" style="float: left"
1812 data-toggle="tooltip">
1813 <span class="icon-tool">
1814 <img src="/documents/37638/39612/icon-mail.svg" style="height: 25px" />
1815 </span>
1816 </a>
1817
1818 <a onclick="printById('contentText')" href="javascript:void(0);" title="In bài" class="" style="float: left"
1819 data-toggle="tooltip">
1820 <span class="icon-tool">
1821 <img src="/documents/37638/39612/icon-print.svg" style="height: 25px" />
1822 </span>
1823 </a>
1824
1825 </div>
1826 </div>
1827
1828
1829 <input type="hidden" id="voiceSex" value="Vietnamese Female"/>
1830 <input type="hidden" id="tuongphan" value="3"/>
1831 <input type="hidden" id="DDMStructureKey" name="DDMStructureKey"
1832 value="${DDMStructureKey}"/>
1833 <input type="hidden" id="baiVietId" name="baiVietId" value="${articlePrimKey}"/>
1834 <input type="hidden" id="commentId" name="commentId" value=""/>
1835 <input type="hidden" id="tieuDe" name="tieuDe" value="${title?html}"/>
1836 <input type="hidden" value="1" id="curPage"/>
1837 <input type="hidden" value="0" id="totalRelated"/>
1838 <input type="hidden" value="${currentUrl}" id="currentURL"/>
1839 </div>
1840 </div>
1841 </div>
1842 <div id="contentText" style="margin:10px 0px;">
1843 <b style="text-align: justify;" class="text-summary">${summary}</b>
1844 <#assign sanitizedContent = noiDung.getData()?replace("<script>", "<p class='d-none'>")?replace("</script>", "</p>")>
1845 ${noiDung.getData()}
1846 </div>
1847 <div class="article-info">
1848 <div class="row social-buttons">
1849 <div class="col-lg-10 d-flex align-items-center">
1850 <iframe class="share-fb-custom" src="https://www.facebook.com/plugins/share_button.php?href=${currentUrl}&layout=button_count&size=small&width=92&height=28&appId=252861586372350&locale=vi_VN" width="92" height="28"
1851 style="border:none;overflow:hidden" scrolling="no" frameborder="0"
1852 allowTransparency="true" allow="encrypted-media"></iframe>
1853 <div style="display: flex; align-items: center;">
1854 <p class="text-dgbv">Đánh giá bài viết:</p>
1855 <div class="ratings-wrapper ml-2">
1856 <div data-productid="39" class="ratings">
1857 <span class="star" data-rating="5"></span>
1858 <span class="star" data-rating="4"></span>
1859 <span class="star" data-rating="3"></span>
1860 <span class="star" data-rating="2"></span>
1861 <span class="star" data-rating="1"></span>
1862 </div>
1863 </div>
1864 </div>
1865 </div>
1866 <div class="col-lg-1 ctbv-right"></div>
1867 </div>
1868 </div>
1869 <div class="line no-mt"></div>
1870
1871
1872 <div class="d-flex align-items-start pb-32">
1873 <p class="title-content-vni mr-2">
1874 <img src="/documents/37638/39612/icon-tag.svg" />
1875 </p>
1876 <div class="d-flex flex-wrap" style="gap: 10px;">
1877 <#list currentArticleAssetEntry.getCategories() as category>
1878 <#if category_index == 0>
1879 <span id="firstCategory" data-category="${category.name}"></span>
1880 </#if>
1881 <#if category.vocabularyId != danhMucTacGia>
1882 <div class="tags mr-2" style="
1883background: #EBEBEB;
1884border-radius: 6px;
1885padding: 3px 8px;
1886color: #5F676D;
1887font-size: clamp(14px, 2vw, 16px);
1888font-weight: 400;
1889 ">
1890 <p class="tag mb-0">${category.name}</p>
1891 </div>
1892 </#if>
1893 </#list>
1894 </div>
1895 </div>
1896
1897 <script>
1898 $(document).ready(function () {
1899 getCurrentCategorie();
1900 });
1901
1902 function getCurrentCategorie() {
1903 var firstCategory = $("#firstCategory").data("category");
1904 if (firstCategory) {
1905 $("#tinTucChiTietBreadcrumd a:last").html(' / ' + firstCategory);
1906 }
1907 }
1908 </script>
1909
1910 <div class="line no-mt"></div>
1911
1912 <div class="y-kien d-none">
1913 <div class="position-relative d-flex flex-column" >
1914 <div class="title-ccni" style="width: fit-content">
1915 <a class="d-flex align-items-center" style="margin-bottom: 10px">
1916 <p class="mb-0" data-lfr-editable-id="element-text" data-lfr-editable-type="text">
1917 Ý KIẾN CỦA BẠN
1918 </p>
1919 </a>
1920 <div class="spotlight-x" style="
1921width: 20%;
1922position: absolute;
1923bottom: 0;
1924left: 0;
1925z-index: 2;
1926display: block;
1927 ">
1928 <div class="d-flex orange-line">
1929 <div class="line-blue"></div>
1930 </div>
1931 </div>
1932 <div class="line-tail-chitiet position-absolute"></div>
1933 </div>
1934 </div>
1935
1936
1937 <div class="form-binh-luan my-2 d-none">
1938 <form action="?" method="POST" class="needs-validation" novalidate="novalidate" onsubmit="return submitUserForm();">
1939 <div class="form-group">
1940 <label class="label-binh-luan" for="commentName">Tên <span class="text-danger">*</span></label>
1941 <input type="text" class="form-control" id="commentName" placeholder="Nhập tên" title="tên" required>
1942 </div>
1943 <div class="form-row">
1944 <div class="form-group col-md-3">
1945 <label class="label-binh-luan" for="soDienThoai">Số điện thoại <span class="text-danger">*</span></label>
1946 <input type="tel" max="12" id="soDienThoai" class="form-control" placeholder="Nhập số điện thoại" required />
1947 </div>
1948 <div class="form-group col-md-9">
1949 <label class="label-binh-luan" for="email">Email <span class="text-danger">*</span></label>
1950 <input type="email" class="form-control" placeholder="Nhập email" id="email" regex="^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$" required>
1951 </div>
1952 </div>
1953
1954 <div class="form-group">
1955 <label class="label-binh-luan" for="commentContent">Bình luận, góp ý <span class="text-danger">*</span></label>
1956 <textarea class="form-control" id="commentContent" placeholder="Nhập ý kiến của bạn ..." rows="3" required></textarea>
1957 </div>
1958 <div class="d-flex justify-content-end">
1959 <button type="submit" class="btn btn-send-cmt" onclick="sendFeedback()" style="">Gửi bình luận</button>
1960 </div>
1961 </form>
1962 </div>
1963 </div>
1964 <div id="customSuccessPopupOverlay" class="popup-overlay d-none">
1965 <div id="customSuccessPopup" class="custom-popup-ykien-binhluan">
1966 <div class="custom-popup-ykien-binhluan-content">
1967 <div>
1968 <!-- <img src="/documents/37638/0/daguibinhluan-icon.png" alt="Success Icon" class="popup-icon"/> -->
1969 </div>
1970 <p class="popup-message">"Cảm ơn bạn đã bình luận!"</p>
1971 </div>
1972 </div>
1973 </div>
1974 <div class="y-kien-ban-doc my-4 d-none">
1975 <div class="position-relative d-flex flex-column" >
1976 <div class="title-ccni" style="width: fit-content">
1977 <a class="d-flex align-items-center" style="margin-bottom: 10px">
1978 <p class="mb-0" data-lfr-editable-id="element-text" data-lfr-editable-type="text">
1979 Ý KIẾN BẠN ĐỌC
1980 </p>
1981 </a>
1982 <div class="spotlight-x" style="
1983width: 20%;
1984position: absolute;
1985bottom: 0;
1986left: 0;
1987z-index: 2;
1988display: block;
1989 ">
1990 <div class="d-flex orange-line">
1991 <div class="line-blue"></div>
1992 </div>
1993 </div>
1994 <div class="line-tail-chitiet position-absolute"></div>
1995 </div>
1996 </div>
1997
1998 <div class="wrap-list-comment my-3 d-none">
1999 <div class="row">
2000 <div class="col-12">
2001 <#-- <div class="d-flex">-->
2002 <#-- <div class="img-user-cmt pr-3">-->
2003 <#-- <img src="/documents/37638/39612/icon-user-cmt.png">-->
2004 <#-- </div>-->
2005 <#-- <div class="content-comment">-->
2006 <#-- <div class="user-name-cmt">Trần Min <span class="time-comment">12 phút trước</span></div>-->
2007 <#-- <div class="txt-content-cmt mt-2">Lorem ipsum dolor sit amet consectetur. A eu nunc commodo facilisis metus mi eget tortor vestibulum. Viverra facilisi sit cras integer turpis eros faucibus sed nunc.</div>-->
2008 <#-- </div>-->
2009 <#-- </div>-->
2010
2011 <#-- <div class="thin-line my-2"></div>-->
2012
2013 <#-- <div class="d-flex">-->
2014 <#-- <div class="img-user-cmt pr-3">-->
2015 <#-- <img src="/documents/37638/39612/icon-user-cmt.png">-->
2016 <#-- </div>-->
2017 <#-- <div class="content-comment">-->
2018 <#-- <div class="user-name-cmt">Phan Duy <span class="time-comment">8 phút trước</span></div>-->
2019 <#-- <div class="txt-content-cmt mt-2">ปีครับ. ฉันเป็นคนเวียดนามค่ะ. ผมเป็นคนเวียดนามครับ. ฉันเป็นครูสอนภาษาไทยค่ะ. ผมเป็นครูสอนภาษาไทยครับ. ฉันทํางานที่บริษัท. เอ บี ซี. ค่ะ ผมทํางานที่บ้านครับ. ฉันพูดภาษา .</div>-->
2020 <#-- </div>-->
2021 <#-- </div>-->
2022
2023 <#-- <button class="btn-xem-them-cmt w-100">Xem thêm bình luận</button>-->
2024 <div id="comment-list"></div>
2025 <div id="binhLuanMacDinh"> <p class="binhLuanMacDinh"> Chưa có bình luận ý kiến bài viết! </p></div>
2026 </div>
2027 </div>
2028 </div>
2029 </div>
2030
2031 <div class="y-kien-ban-doc my-4">
2032 <div class="position-relative d-flex flex-column mb-3 w100" style="border-bottom: 3px solid #1B6CCB" >
2033 <div class="title-ccni" style="width: fit-content">
2034 <a class="d-flex align-items-center" style="margin-bottom: 10px">
2035 <div style="width: 20.62px; height: 26.25px; margin-bottom: 12px;" class="mr-2">
2036 <img style="width: 100%; height: 100%; object-fit: cover" src="/documents/131507/131575/tin-lien-quan-icon.svg" />
2037 </div>
2038 <div>
2039 <p class="mb-0" style="line-height: 33.6px; font-size: 24px; font-weight: 700; color: #1B6CCB;" data-lfr-editable-id="element-text" data-lfr-editable-type="text">
2040 Tin liên quan
2041 </p>
2042 </div>
2043 </a>
2044 </div>
2045 </div>
2046
2047 <div class="col-lg-12 col-xl-12 mb-4 px-lg-0 px-3">
2048 <#if teste?has_content>
2049 <#assign relatedArticles = []>
2050 <#assign
2051 isSpecialSite = getterUtil.getBoolean(themeDisplay.getThemeSetting("isSpecialSite"))
2052 />
2053 <#list teste?filter(curEntryyy -> curEntryyy.getEntryId() != currentArticleAssetEntry.getEntryId()) as curEntryyy>
2054 <#if curEntryyy?? && curEntryyy.getAssetRenderer()??>
2055 <#assign
2056 renderer = curEntryyy.getAssetRenderer()
2057 className = renderer.getClassName()!"" />
2058 <#if className == "com.liferay.journal.model.JournalArticle">
2059 <#assign
2060 title = curEntryyy.getTitle(locale)!""
2061 article = renderer.getArticle()!
2062 SmallImageID = article.getSmallImageId()!0
2063 SmallImage = article.getSmallImageURL()!""
2064 description = article.getDescription(locale)!""
2065 curEntryyy = curEntryyy
2066 viewURL = "${themeDisplay.getPathFriendlyURLPublic()}${themeDisplay.getSiteGroup().getFriendlyURL()}/-/${renderer.getUrlTitle()}"
2067 hasMatch = false />
2068 <#if isSpecialSite?? && isSpecialSite?c == "true">
2069 <#assign currentUrl = themeDisplay.getURLCurrent()!"" />
2070 <#if currentUrl?has_content>
2071 <#assign parts_split = currentUrl?split("/")>
2072 <#assign aidx = parts_split?seq_index_of("asset_publisher")>
2073 <#if aidx != -1 && (parts_split?size > (aidx + 1))>
2074 <#assign portletKey = parts_split[aidx + 1]>
2075 <#else>
2076 <#if rvlr??>
2077 <#assign portletKey = rvlr>
2078 <#else>
2079 <#assign portletKey = "default_portlet_key">
2080 </#if>
2081 </#if>
2082 </#if>
2083 </#if>
2084 <#list curEntryyy.getCategories() as categoryList>
2085 <#list currentArticleAssetEntry.getCategories() as cateId>
2086 <#if categoryList.getCategoryId() == cateId.getCategoryId()>
2087 <#assign hasMatch = true />
2088 <#break />
2089 </#if>
2090 </#list>
2091 <#if hasMatch>
2092 <#break />
2093 </#if>
2094 </#list>
2095 <#if hasMatch>
2096 <#if SmallImage ?? && SmallImage?length !=0 >
2097 <#assign smallImageUrl = SmallImage>
2098 <#elseif SmallImageID ?? && SmallImageID != 0>
2099 <#assign smallImageUrl = "/image/journal/article?img_id=${SmallImageID}">
2100 <#else>
2101 <#assign smallImageUrl = "/documents/131507/131575/background-phaohoa.jfif/54b7f80e-76d4-b7ec-2428-82b4bee1e6c8?t=1737614110710" >
2102 </#if>
2103 <#assign relatedArticles = relatedArticles + [{"title": title, "viewURL": viewURL, "smallImageUrl": smallImageUrl}]>
2104 </#if>
2105 </#if>
2106 </#if>
2107 </#list>
2108
2109 <#assign itemsPerPage = 6>
2110 <#assign totalItems = relatedArticles?size>
2111 <#assign totalPages = (totalItems / itemsPerPage)?ceiling>
2112
2113 <div class="row tlq-container">
2114 <#-- FreeMarker template loop for pagination -->
2115 <#list 1..totalPages as pageNum>
2116 <div class="related-news-page" id="tlq-page-${pageNum}" style="display: ${(pageNum == 1)?string('block', 'none')}; width: 100%;">
2117 <#-- Calculate start and end indices for current page -->
2118 <#assign startIndex = (pageNum - 1) * itemsPerPage>
2119 <#assign endIndex = (pageNum * itemsPerPage) - 1>
2120
2121 <#-- Adjust end index if it exceeds total items -->
2122 <#if (endIndex > totalItems - 1)>
2123 <#assign endIndex = totalItems - 1>
2124 </#if>
2125
2126 <#-- List items for current page -->
2127 <#if (startIndex <= endIndex)>
2128 <#list startIndex..endIndex as i>
2129 <#if relatedArticles[i]??>
2130 <div class="col-lg-12 px-0 mb-3 item-tlq-syt">
2131 <li class="sdt-list-tlq-items d-flex align-items-start">
2132 <div class="mr-2 dot-tlq-syt" style="width: 6px; height: 6px;">
2133 <div class="first-dot-syt"></div>
2134 </div>
2135 <a class="limit-title-1 mr-2"
2136 style="font-weight: 500; color: #2E2E2E"
2137 href="${relatedArticles[i].viewURL}"
2138 title="${relatedArticles[i].title}">${relatedArticles[i].title}</a>
2139 </li>
2140 </div>
2141 </#if>
2142 </#list>
2143 </#if>
2144 </div>
2145 </#list>
2146 </div>
2147
2148 <#if (totalPages > 1)>
2149 <div class="pagination-container mt-3 d-flex justify-content-center">
2150 <div class="pagination">
2151 <a href="javascript:void(0)" title="Tin trước" class="prev-page ${(1 == 1)?string('disabled', '')}" onclick="prevRelatedPage()">
2152 <span class="text-label">Tin trước</span>
2153 </a>
2154
2155 <#-- Simple first page that will be replaced by JavaScript -->
2156 <a href="javascript:void(0)" class="page-number active" onclick="goToRelatedPage(1)">1</a>
2157
2158 <a href="javascript:void(0)" title="Tin tiếp theo" class="next-page ${(totalPages == 1)?string('disabled', '')}" onclick="nextRelatedPage()">
2159 <span class="text-label">Tin tiếp theo</span>
2160 </a>
2161 </div>
2162 </div>
2163 <input type="hidden" id="currentRelatedPage" value="1">
2164 <input type="hidden" id="totalRelatedPages" value="${totalPages}">
2165 </#if>
2166 </#if>
2167 </div>
2168 </div>
2169
2170 <div class="y-kien-ban-doc-a d-none my-4">
2171 <div class="position-relative d-flex flex-column mb-3" >
2172 <div class="title-ccni" style="width: fit-content">
2173 <a class="d-flex align-items-center" style="margin-bottom: 10px">
2174 <p class="mb-0" data-lfr-editable-id="element-text" data-lfr-editable-type="text">
2175 Tin liên quan
2176 </p>
2177 </a>
2178 <div class="spotlight-x" style="
2179 width:18%;
2180 position: absolute;
2181 bottom: 0;
2182 left: 0;
2183 z-index: 2;
2184 display: block;
2185 ">
2186 <div class="d-flex orange-line">
2187 <div class="line-blue"></div>
2188 </div>
2189 </div>
2190 <div class="line-tail-chitiet position-absolute"></div>
2191 </div>
2192 </div>
2193
2194
2195 <div class="col-lg-12 col-xl-12 mb-4 px-lg-0 px-3">
2196 <#if teste?has_content>
2197 <div class="row">
2198 <#assign indexLocal = 0/>
2199 <#assign
2200 isSpecialSite = getterUtil.getBoolean(themeDisplay.getThemeSetting("isSpecialSite"))
2201 />
2202 <#list teste?filter(curEntryyy -> curEntryyy.getEntryId() != currentArticleAssetEntry.getEntryId()) as curEntryyy>
2203 <#if curEntryyy?? && curEntryyy.getAssetRenderer()??>
2204 <#assign
2205 renderer = curEntryyy.getAssetRenderer()
2206 className = renderer.getClassName()!"" />
2207 <#if className == "com.liferay.journal.model.JournalArticle" && indexLocal < 6>
2208 <#assign
2209 title = curEntryyy.getTitle(locale)!""
2210 article = renderer.getArticle()
2211 SmallImageID = article.getSmallImageId()
2212 SmallImage = article.getSmallImageURL()
2213 viewCount = curEntryyy.getViewCount()
2214 <#--SmallImageID = article.getSmallImageId()!0
2215 SmallImage = article.getSmallImageURL()!""-->
2216 description = article.getDescription(locale)!""
2217 curEntryyy = curEntryyy
2218 viewURL = "${themeDisplay.getPathFriendlyURLPublic()}${themeDisplay.getSiteGroup().getFriendlyURL()}/-/${renderer.getUrlTitle()}"
2219 <#-- viewURL = (themeDisplay.getPathFriendlyURLPublic())!"" + (themeDisplay.getSiteGroup().getFriendlyURL())!"" + "/-/" + (renderer.getUrlTitle())!""-->
2220 hasMatch = false />
2221 <#if isSpecialSite?? && isSpecialSite?c == "true">
2222 <#assign currentUrl = themeDisplay.getURLCurrent()!"" />
2223 <#if currentUrl?has_content>
2224 <#assign parts_split = currentUrl?split("/")>
2225 <#assign aidx = parts_split?seq_index_of("asset_publisher")>
2226 <#if aidx != -1 && (parts_split?size > (aidx + 1))>
2227 <#assign portletKey = parts_split[aidx + 1]>
2228 <#else>
2229 <#if rvlr??>
2230 <#assign portletKey = rvlr>
2231 <#else>
2232 <#assign portletKey = "default_portlet_key">
2233 </#if>
2234 </#if>
2235
2236 <#-- <#if renderer?? && renderer.getUrlTitle()??>-->
2237 <#-- <#assign viewURL = "${themeDisplay.getPathFriendlyURLPublic()!}${themeDisplay.getSiteGroup().getFriendlyURL()!}/chi-tiet/-/asset_publisher/${portletKey}/content/${renderer.getUrlTitle()}/39403" />-->
2238 <#-- <#else>-->
2239 <#-- <#assign viewURL = "#" />-->
2240 <#-- </#if>-->
2241 </#if>
2242 </#if>
2243 <#list curEntryyy.getCategories() as categoryList>
2244 <#list currentArticleAssetEntry.getCategories() as cateId>
2245 <#if categoryList.getCategoryId() == cateId.getCategoryId()>
2246 <#assign hasMatch = true />
2247 <#break />
2248 </#if>
2249 </#list>
2250 <#if hasMatch>
2251 <#break />
2252 </#if>
2253 </#list>
2254 <#if hasMatch>
2255 <#if SmallImage ?? && SmallImage?length !=0 >
2256 <#assign smallImageUrl = SmallImage>
2257 <#elseif SmallImageID ?? && SmallImageID != 0>
2258 <#assign smallImageUrl = "/image/journal/article?img_id=${article.getSmallImageId()}">
2259 <#else>
2260 <#assign smallImageUrl = "/documents/131507/131575/anh-mac-dinh-syt.jpg" >
2261 </#if>
2262 <div class="col-6 col-lg-4 item-small-news mb-2 px-1 px-lg-3">
2263 <div class="inner-bg-gray" onclick="location.href='${viewURL}'">
2264 <div class="row">
2265 <div class="col-12">
2266 <div class="tin-nho-block11 position-relative" >
2267 <img src="${smallImageUrl}" alt="" class="img-nho-block11 img-lo57" onerror="this.onerror=null; this.src='/documents/131507/131575/anh-mac-dinh-syt.jpg';">
2268 <div class="p-2 p-lg-3 title-tin-nho-block11">
2269 ${title}
2270 </div>
2271 <div class="under-ws position-absolute"></div>
2272 </div>
2273 </div>
2274 </div>
2275 </div>
2276 </div>
2277<#assign indexLocal = indexLocal + 1 />
2278</#if>
2279</#if>
2280</#if>
2281</#list>
2282</div>
2283</#if>
2284</div>
2285</div>
2286
2287
2288<div class="tin-doc-nhieu-nhat d-none">
2289 <div class="position-relative d-flex flex-column mb-3" >
2290 <div class="title-ccni" style="width: fit-content">
2291 <a class="d-flex align-items-center" style="margin-bottom: 10px">
2292 <p class="mb-0" data-lfr-editable-id="element-text" data-lfr-editable-type="text">
2293 TIN ĐỌC NHIỀU
2294 </p>
2295 </a>
2296 <div class="spotlight-x" style="
2297width:18%;
2298position: absolute;
2299bottom: 0;
2300left: 0;
2301z-index: 2;
2302display: block;
2303 ">
2304 <div class="d-flex orange-line">
2305 <div class="line-blue"></div>
2306 </div>
2307 </div>
2308 <div class="line-tail-chitiet position-absolute"></div>
2309 </div>
2310 </div>
2311 <div class=" p-0 scroll-divv news-container-pvm ">
2312 <#if teste?has_content>
2313 <div class=" news-item-pvm mg-b-24">
2314 <#assign indexLocal = 0/>
2315 <#assign
2316 isSpecialSite = getterUtil.getBoolean(themeDisplay.getThemeSetting("isSpecialSite"))
2317 />
2318 <#assign sortedEntries = teste?sort_by("viewCount")?reverse />
2319 <#list sortedEntries?filter(curEntryyy -> curEntryyy.getEntryId() != currentArticleAssetEntry.getEntryId()) as curEntryyy>
2320 <#if curEntryyy?? && curEntryyy.getAssetRenderer()??>
2321 <#assign
2322 renderer = curEntryyy.getAssetRenderer()
2323 className = renderer.getClassName()!"" />
2324 <#if className == "com.liferay.journal.model.JournalArticle" && indexLocal < 5>
2325 <#assign
2326 title = curEntryyy.getTitle(locale)!""
2327 article = renderer.getArticle()
2328 SmallImageID = article.getSmallImageId()
2329 SmallImage = article.getSmallImageURL()
2330 <#--SmallImageID = article.getSmallImageId()!0
2331 SmallImage = article.getSmallImageURL()!""-->
2332 description = article.getDescription(locale)!""
2333 curEntryyy = curEntryyy
2334 countView = curEntryyy.getViewCount()
2335 viewURL = "${themeDisplay.getPathFriendlyURLPublic()}${themeDisplay.getSiteGroup().getFriendlyURL()}/-/${renderer.getUrlTitle()}"
2336 hasMatch = false />
2337 <#if isSpecialSite?? && isSpecialSite?c == "true">
2338 <#assign currentUrl = themeDisplay.getURLCurrent()!"" />
2339 <#if currentUrl?has_content>
2340 <#assign parts_split = currentUrl?split("/")>
2341 <#assign aidx = parts_split?seq_index_of("asset_publisher")>
2342 <#if aidx != -1 && (parts_split?size > (aidx + 1))>
2343 <#assign portletKey = parts_split[aidx + 1]>
2344 <#else>
2345 <#if rvlr??>
2346 <#assign portletKey = rvlr>
2347 <#else>
2348 <#assign portletKey = "default_portlet_key">
2349 </#if>
2350 </#if>
2351</#if>
2352</#if>
2353<#list curEntryyy.getCategories() as categoryList>
2354<#list currentArticleAssetEntry.getCategories() as cateId>
2355<#if categoryList.getCategoryId() == cateId.getCategoryId()>
2356<#assign hasMatch = true />
2357<#break />
2358</#if>
2359</#list>
2360<#if hasMatch>
2361<#break />
2362</#if>
2363</#list>
2364<#if hasMatch>
2365<#if SmallImage ?? && SmallImage?length !=0 >
2366<#assign smallImageUrl = SmallImage>
2367<#elseif SmallImageID ?? && SmallImageID != 0>
2368<#assign smallImageUrl = "/image/journal/article?img_id=${SmallImageID}">
2369<#else>
2370<#assign smallImageUrl = "/documents/131507/131575/anh-mac-dinh-syt.jpg" >
2371</#if>
2372<span class="abcd" style="display:none;">${article}</span>
2373<a href="${viewURL}" class=" w-100 same-height">
2374 <div class="row">
2375 <div class="col-12 col-md-4 pr-0 img-hdk-ct">
2376 <img id="tin-slide-img-left"
2377 class=" tin-slide-img-left img-tin-hd-khac"
2378 onerror="this.onerror=null; this.src='/documents/131507/131575/anh-mac-dinh-syt.jpg';"
2379 src="${smallImageUrl}" alt="">
2380 </div>
2381 <div class="col-12 col-md-8 limit-tin-desc-news-3 p-0 pr-md-3 title-tin-hd-khac">
2382 <div class="hoat-dong-khac-tin-khac hd-khac-tin-nho d-flex flex-column align-items-start" style="gap: 8px;">
2383 <div class="limit-tin-desc-2 main-color-pct-tin-khac">
2384 <p class="makeshortnews asset-publisher-title mb-0 limit-tin-desc-2 limit-3-lines" title="${title}">${title}</p>
2385 </div>
2386 <div class="text-left align-items-start top-0 limit-tin-descc-news limit-5-lines-desc description-color d-mobile-none"><p title="${htmlUtil.extractText(description)}">${htmlUtil.extractText(description)}</p></div>
2387 </div>
2388 </div>
2389 </div>
2390</a>
2391<#assign indexLocal = indexLocal + 1 />
2392</#if>
2393</#if>
2394</#if>
2395</#list>
2396</div>
2397</#if>
2398
2399
2400<script>
2401 function goToRelatedPage(pageNum) {
2402 // Hide all pages
2403 $('.related-news-page').hide();
2404
2405 // Show the selected page
2406 $('#tlq-page-' + pageNum).show();
2407
2408 // Update current page
2409 $('#currentRelatedPage').val(pageNum);
2410
2411 // Update pagination display
2412 updatePagination(pageNum);
2413
2414 // Update disabled state for prev/next buttons
2415 updatePaginationButtons(pageNum);
2416 }
2417
2418 function prevRelatedPage() {
2419 let currentPage = parseInt($('#currentRelatedPage').val());
2420 if (currentPage > 1) {
2421 goToRelatedPage(currentPage - 1);
2422 }
2423 }
2424
2425 function nextRelatedPage() {
2426 let currentPage = parseInt($('#currentRelatedPage').val());
2427 let totalPages = parseInt($('#totalRelatedPages').val());
2428 if (currentPage < totalPages) {
2429 goToRelatedPage(currentPage + 1);
2430 }
2431 }
2432
2433 function updatePaginationButtons(currentPage) {
2434 let totalPages = parseInt($('#totalRelatedPages').val());
2435
2436 // Handle prev button
2437 if (currentPage <= 1) {
2438 $('.pagination .prev-page').addClass('disabled');
2439 } else {
2440 $('.pagination .prev-page').removeClass('disabled');
2441 }
2442
2443 // Handle next button
2444 if (currentPage >= totalPages) {
2445 $('.pagination .next-page').addClass('disabled');
2446 } else {
2447 $('.pagination .next-page').removeClass('disabled');
2448 }
2449 }
2450
2451 function updatePagination(currentPage) {
2452 // Remove active class from all page numbers
2453 $('.pagination .page-number').removeClass('active');
2454
2455 // Find the page number that matches the current page and add active class
2456 $('.pagination .page-number').each(function() {
2457 if (parseInt($(this).text()) === currentPage) {
2458 $(this).addClass('active');
2459 }
2460 });
2461
2462 // If current page isn't visible, rebuild pagination
2463 if ($('.pagination .page-number.active').length === 0) {
2464 rebuildPagination(currentPage);
2465 }
2466 }
2467
2468 function rebuildPagination(currentPage) {
2469 let totalPages = parseInt($('#totalRelatedPages').val());
2470 let isMobile = window.innerWidth <= 576;
2471 let maxVisible = isMobile ? 3 : 5; // Show fewer pages on mobile
2472 let halfVisible = Math.floor(maxVisible / 2);
2473
2474 // Clear existing page numbers and ellipsis
2475 $('.pagination .page-number, .pagination .ellipsis').remove();
2476
2477 // Always include first page
2478 let $firstPage = $('<a href="javascript:void(0)" class="page-number" onclick="goToRelatedPage(1)">1</a>');
2479 if (currentPage === 1) $firstPage.addClass('active');
2480 $('.pagination .prev-page').after($firstPage);
2481
2482 // Add ellipsis after first page if needed
2483 let $lastElement = $firstPage;
2484 if (totalPages > maxVisible && currentPage > halfVisible + 1) {
2485 let $ellipsis = $('<span class="ellipsis">...</span>');
2486 $lastElement.after($ellipsis);
2487 $lastElement = $ellipsis;
2488 }
2489
2490 // Add middle pages
2491 let startPage = Math.max(2, currentPage - halfVisible);
2492 let endPage = Math.min(totalPages - 1, currentPage + halfVisible);
2493
2494 // Adjust if we're near the beginning
2495 if (currentPage <= halfVisible + 1) {
2496 endPage = Math.min(totalPages - 1, maxVisible - 1);
2497 }
2498
2499 // Adjust if we're near the end
2500 if (currentPage >= totalPages - halfVisible) {
2501 startPage = Math.max(2, totalPages - maxVisible + 1);
2502 }
2503
2504 // On mobile, further reduce visible pages if we're at the edges
2505 if (isMobile) {
2506 if (currentPage <= 2) {
2507 endPage = Math.min(totalPages - 1, 2);
2508 } else if (currentPage >= totalPages - 1) {
2509 startPage = Math.max(2, totalPages - 2);
2510 }
2511 }
2512
2513 // Add middle page numbers
2514 for (let i = startPage; i <= endPage; i++) {
2515 let $pageLink = $('<a href="javascript:void(0)" class="page-number" onclick="goToRelatedPage(' + i + ')">' + i + '</a>');
2516 if (i === currentPage) $pageLink.addClass('active');
2517 $lastElement.after($pageLink);
2518 $lastElement = $pageLink;
2519 }
2520
2521 // Add ellipsis before last page if needed
2522 if (totalPages > maxVisible && currentPage < totalPages - halfVisible) {
2523 let $ellipsis = $('<span class="ellipsis">...</span>');
2524 $lastElement.after($ellipsis);
2525 $lastElement = $ellipsis;
2526 }
2527
2528 // Always include last page if it's not the first page
2529 if (totalPages > 1) {
2530 let $lastPage = $('<a href="javascript:void(0)" class="page-number" onclick="goToRelatedPage(' + totalPages + ')">' + totalPages + '</a>');
2531 if (currentPage === totalPages) $lastPage.addClass('active');
2532 $lastElement.after($lastPage);
2533 }
2534
2535 // Listen for window resize to rebuild pagination
2536 $(window).off('resize.pagination').on('resize.pagination', function() {
2537 let wasMobile = isMobile;
2538 isMobile = window.innerWidth <= 576;
2539 if (wasMobile !== isMobile) {
2540 rebuildPagination(currentPage);
2541 }
2542 });
2543 }
2544 $(document).ready(function () {
2545 //load lần đầu lấy 3 comments
2546 getFeedback(3);
2547
2548
2549 let stars = document.querySelectorAll(".ratings span");
2550 let products = document.querySelectorAll(".ratings");
2551 let ratings = [];
2552
2553 for (let star of stars) {
2554 star.addEventListener("click", function () {
2555 let children = star.parentElement.children;
2556 for (let child of children) {
2557 if (child.getAttribute("data-clicked")) {
2558 return false;
2559 }
2560 }
2561
2562 this.setAttribute("data-clicked", "true");
2563 let rating = this.dataset.rating;
2564 let productId = this.parentElement.dataset.productid;
2565 let data = {
2566 "rating": rating,
2567 "product-id": productId,
2568 }
2569 ratings.push(data);
2570 localStorage.setItem("rating", JSON.stringify(ratings));
2571 });
2572 }
2573
2574 if (localStorage.getItem("rating")) {
2575 ratings = JSON.parse(localStorage.getItem("rating"));
2576 for (let rating of ratings) {
2577 for (let product of products) {
2578 if (rating["product-id"] == product.dataset.productid) {
2579 let reverse = Array.from(product.children).reverse();
2580 let index = parseInt(rating["rating"]) - 1;
2581 reverse[index].setAttribute("data-clicked", "true");
2582 }
2583 }
2584 }
2585 }
2586
2587 // Initialize pagination
2588 if ($('#totalRelatedPages').length) {
2589 let totalPages = parseInt($('#totalRelatedPages').val());
2590 if (totalPages > 1) {
2591 rebuildPagination(1);
2592 }
2593 goToRelatedPage(1);
2594 }
2595 });
2596
2597
2598
2599 function submitUserForm() {
2600 /*var response = grecaptcha.getResponse();
2601 if (response.length == 0) {
2602 $("#g-recaptcha-error").html("<span style='color:red;'>This field is required.</span>");
2603 return false;
2604 }*/
2605 return true;
2606 };
2607 function verifyCaptcha() {
2608 $("#g-recaptcha-error").html("");
2609 }
2610
2611 function sendFeedback() {
2612 event.preventDefault();
2613 let isValid = true;
2614 /*var response = grecaptcha.getResponse();
2615 if (response.length == 0) {
2616 $("#g-recaptcha-error").html("<span style='color:red;'>This field is required.</span>");
2617 return false;
2618 }*/
2619 $('[required]').each(function () {
2620 let fieldTitle = $(this).attr('title');
2621 if ($(this).val().toString().trim().length == 0) {
2622 isValid = false;
2623 Swal.fire({
2624 title: "Vui lòng nhập thông tin",
2625 icon: "error",
2626 })
2627 return false;
2628 } else if ($(this).attr("regex") != undefined) {
2629 let regex = new RegExp($(this).attr('regex'));
2630 if (!regex.test($(this).val())) {
2631 isValid = false;
2632 Swal.fire({
2633 title: "Vui lòng nhập đúng định dạng",
2634 icon: "error",
2635 })
2636 return false;
2637 }
2638
2639 }
2640 });
2641 if (!isValid) return false;
2642 fetch('https://api.ipify.org?format=json')
2643 .then(response => response.json())
2644 .then(data => {
2645 const ipAddress = data.ip;
2646 const param = JSON.stringify({
2647 baiVietId: '${currentArticle.id}',
2648 noiDung: $("#commentContent").val(),
2649 ten: $("#commentName").val(),
2650 mail: $("#email").val(),
2651 soDienThoai: $("#soDienThoai").val(),
2652 tieuDeBaiViet: '${currentArticle.title}',
2653 tenTacGia: '${currentArticle.userName}',
2654 ipNguoiDung: ipAddress,
2655 });
2656 $.ajax({
2657 url: location.origin+'/api/v1/public/tuongtacbaiviet/themBinhLuan',
2658 type: 'POST',
2659 cache: false,
2660 dataType:"json",
2661 contentType:"application/json",
2662 data:param,
2663 /*data: {
2664 baiVietId: '${currentArticle.id}',
2665 noiDung: $("#commentContent").val(),
2666 ten: $("#commentName").val(),
2667 mail: $("#email").val(),
2668 soDienThoai: $("#soDienThoai").val(),
2669 tieuDeBaiViet: '${currentArticle.title}',
2670 tenTacGia: '${currentArticle.userName}',
2671 },*/
2672
2673 success: function () {
2674 $("#customSuccessPopupOverlay").removeClass("d-none");
2675
2676 $("#commentContent").val('');
2677 $("#commentName").val('');
2678 $("#email").val('');
2679 $("#soDienThoai").val('');
2680
2681 setTimeout(function () {
2682 $("#customSuccessPopupOverlay").addClass("d-none");
2683 }, 3000);
2684 },
2685 error: function (er) {
2686 Swal.fire({
2687 title: "Thực hiện không thành công",
2688 text: 'Gửi bình luận thất bại',
2689 icon: "error",
2690 })
2691 }
2692 });})
2693 }
2694 $(document).ready(function () {
2695 $("#customSuccessPopupOverlay").on("click", function () {
2696 $(this).addClass("d-none");
2697 });
2698
2699 $(".custom-popup-ykien-binhluan").on("click", function (e) {
2700 e.stopPropagation();
2701 });
2702 });
2703 function getFeedback(sizecmt) {
2704 $('#comment-list').empty();
2705 const param = JSON.stringify({
2706 baiVietId: '${currentArticle.id}'
2707 });
2708 $.ajax({
2709 url: location.origin+'/api/v1/public/tuongtacbaiviet/truyCapBaiViet',
2710 type: 'POST',
2711 cache : false,
2712 dataType:"json",
2713 contentType:"application/json",
2714 data: param,
2715 }).done(function (data) {
2716
2717 console.log(data)
2718 var dsBinhLuan = data.msg.thongTinBinhLuans;
2719 var count = data.msg.thongTinBinhLuans.length;
2720 var htmlYKien = '';
2721 if (dsBinhLuan.length > 0) {
2722 $('#binhLuanMacDinh').empty();
2723 // htmlYKien += '<h2 class="botting-border"><span class="text-border">Bình luận, ý kiến của bạn đọc (' + count + ')</span></h2>';
2724 for (var i = 0; i < dsBinhLuan.length; i++) {
2725 var obj = dsBinhLuan[i];
2726 htmlYKien += '<div class="item box_cm">';
2727 htmlYKien += '<a href="javascript:void(0)" class="avatar">\n' +
2728 ' <img src="${images_folder}/icons/iconuser.png">\n' +
2729 ' </a>';
2730 htmlYKien += '<div class="item-content">';
2731 htmlYKien += '<span class="user-name">' + obj.ten + '</span>' + ' <span class="date-cmt">' + obj.thoiGianBinhLuan + '</span></br>';
2732 htmlYKien += '<span class="text-comment">' + obj.noiDungHienThi + '</span>';
2733 htmlYKien += '</div>';
2734 htmlYKien += '</div>';
2735 }
2736 if (count > sizecmt) {
2737 htmlYKien += '<div class="text-center">\n' +
2738 '<button type="submit" class="btnmorecmt" onclick="getFeedback(' + (sizecmt + 10) + ')" >Xem thêm bình luận, ý kiến\n' +
2739 '</button>\n' +
2740 '</div>';
2741 }
2742 $('#comment-list').append(htmlYKien);
2743 }
2744 ;
2745 });
2746 }
2747</script>
2748<script src="https://sp.zalo.me/plugins/sdk.js"></script>
2749<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
2750<script src="https://code.responsivevoice.org/responsivevoice.js?key=25hFfRt0"></script>
2751<script async defer crossorigin="anonymous" src="https://connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v17.0"
2752 nonce="vuMxJ4dq"></script>
2753<script src="https://www.google.com/recaptcha/api.js" async defer></script>
2754
2755
2756<#macro getMetadataField
2757fieldName
2758>
2759<#if stringUtil.split(metadataFields)?seq_contains(fieldName)>
2760<span class="metadata-entry metadata-${fieldName}">
2761 <#assign dateFormat = "dd MMM yyyy - HH:mm:ss" />
2762
2763 <#if stringUtil.equals(fieldName, "author")>
2764 <@liferay.language key="by" /> ${htmlUtil.escape(portalUtil.getUserName(assetRenderer.getUserId(), assetRenderer.getUserName()))}
2765 <#elseif stringUtil.equals(fieldName, "categories")>
2766 <@liferay_asset["asset-categories-summary"]
2767 className=curEntry.getClassName()
2768 classPK=curEntry.getClassPK()
2769 portletURL=renderResponse.createRenderURL()
2770 />
2771 <#elseif stringUtil.equals(fieldName, "create-date")>
2772 ${dateUtil.getDate(curEntry.getCreateDate(), dateFormat, locale)}
2773 <#elseif stringUtil.equals(fieldName, "expiration-date")>
2774 ${dateUtil.getDate(curEntry.getExpirationDate(), dateFormat, locale)}
2775 <#elseif stringUtil.equals(fieldName, "modified-date")>
2776 ${dateUtil.getDate(curEntry.getModifiedDate(), dateFormat, locale)}
2777 <#elseif stringUtil.equals(fieldName, "priority")>
2778 ${curEntry.getPriority()}
2779 <#elseif stringUtil.equals(fieldName, "publish-date")>
2780 ${dateUtil.getDate(curEntry.getPublishDate(), dateFormat, locale)}
2781 <#elseif stringUtil.equals(fieldName, "tags")>
2782 <@liferay_asset["asset-tags-summary"]
2783 className=curEntry.getClassName()
2784 classPK=curEntry.getClassPK()
2785 portletURL=renderResponse.createRenderURL()
2786 />
2787 <#elseif stringUtil.equals(fieldName, "view-count")>
2788 ${curEntry.getViewCount()}
2789 </#if>
2790</span>
2791</#if>
2792</#macro>
2793
2794<script>
2795 $(document).ready(function() {
2796 function getCleanUrl(url) {
2797 if(!url) return "";
2798
2799 // Xử lý trường hợp URL có phần /ID và tham số query
2800 var match = url.match(/(.+\.mp4)\/[^\/]+(\?.*)?$/);
2801 if(match) {
2802 return match[1];
2803 }
2804
2805 // Trường hợp URL chỉ có .mp4 và tham số query
2806 var queryIndex = url.indexOf('?');
2807 if(queryIndex !== -1 && url.indexOf('.mp4') < queryIndex) {
2808 return url.substring(0, queryIndex);
2809 }
2810
2811 // Trường hợp URL chỉ kết thúc với .mp4
2812 var mp4Index = url.indexOf('.mp4');
2813 if(mp4Index !== -1) {
2814 return url.substring(0, mp4Index + 4);
2815 }
2816
2817 return url;
2818 }
2819
2820 function processVideo(videoElement) {
2821 try {
2822 // Xử lý source trong video
2823 var sourceElements = videoElement.find("source");
2824 if(sourceElements.length > 0) {
2825 sourceElements.each(function() {
2826 var sourceUrl = $(this).attr("src");
2827 if(sourceUrl) {
2828 var cleanSourceUrl = getCleanUrl(sourceUrl);
2829 $(this).attr("src", cleanSourceUrl);
2830 // Sửa lỗi type có dấu chấm phẩy
2831 var type = $(this).attr("type");
2832 if(type && type.endsWith(';')) {
2833 $(this).attr("type", type.slice(0, -1));
2834 }
2835 }
2836 });
2837 } else {
2838 // Xử lý trường hợp video không có thẻ source
2839 var videoSrc = videoElement.attr("src");
2840 if(videoSrc) {
2841 var cleanVideoSrc = getCleanUrl(videoSrc);
2842 videoElement.attr("src", cleanVideoSrc);
2843 }
2844 }
2845
2846 // Xử lý poster
2847 var posterUrl = videoElement.attr("poster");
2848 if(posterUrl) {
2849 var cleanPosterUrl = getCleanUrl(posterUrl);
2850 videoElement.attr("poster", cleanPosterUrl);
2851 }
2852
2853 // Tải lại video
2854 if(videoElement[0]) {
2855 videoElement[0].load();
2856 }
2857 } catch(e) {
2858 console.error("Lỗi khi xử lý video:", e);
2859 }
2860 }
2861
2862 function processAllVideos() {
2863
2864
2865 // Xử lý video trong contentText
2866 if($("#contentText").length) {
2867 $("#contentText video").each(function() {
2868 processVideo($(this));
2869 });
2870 }
2871
2872 // Xử lý video trong liferayckevideo
2873 $(".liferayckevideo").each(function() {
2874 var container = $(this);
2875 var video = container.find("video");
2876 if(video.length > 0) {
2877 processVideo(video);
2878 }
2879 });
2880
2881 // Xử lý tất cả video còn lại
2882 $("video").each(function() {
2883 processVideo($(this));
2884 });
2885 }
2886
2887 // Chạy xử lý ngay lập tức
2888 processAllVideos();
2889
2890 // Chạy lại sau 1 giây để đảm bảo xử lý các video được thêm sau
2891 setTimeout(processAllVideos, 1000);
2892
2893 // Chạy lại sau 3 giây để đảm bảo xử lý các video được tải chậm
2894 setTimeout(processAllVideos, 3000);
2895
2896 // Theo dõi thay đổi DOM để xử lý video mới được thêm vào
2897 if(window.MutationObserver) {
2898 var observer = new MutationObserver(function(mutations) {
2899 var needsProcessing = false;
2900 mutations.forEach(function(mutation) {
2901 if(mutation.addedNodes.length) {
2902 needsProcessing = true;
2903 }
2904 });
2905
2906 if(needsProcessing) {
2907 processAllVideos();
2908 addPlayButtonsToVideos();
2909 }
2910 });
2911
2912 observer.observe(document.body, {
2913 childList: true,
2914 subtree: true
2915 });
2916 }
2917
2918 // Hàm thêm nút play cho video
2919 function addPlayButtonsToVideos() {
2920 $('.liferayckevideo.video-container').each(function() {
2921 var container = $(this);
2922 var video = container.find('video');
2923
2924 if (container.find('.video-play-button').length === 0 && video.length > 0) {
2925 var playButton = $('<div class="video-play-button" title="Phát video"></div>');
2926 container.append(playButton);
2927
2928 playButton.on('click', function() {
2929 var videoElement = video[0];
2930 if (videoElement) {
2931 videoElement.play();
2932 $(this).addClass('playing');
2933 }
2934 });
2935
2936 video.on('play', function() {
2937 playButton.addClass('playing');
2938 });
2939
2940 video.on('pause ended', function() {
2941 playButton.removeClass('playing');
2942 });
2943 }
2944 });
2945 }
2946
2947 addPlayButtonsToVideos();
2948
2949 setTimeout(addPlayButtonsToVideos, 1000);
2950
2951 setTimeout(addPlayButtonsToVideos, 3000);
2952 });
2953 </script>
PHÓ CHỦ TỊCH UBND TP ĐÀ NẴNG KIỂM TRA CÔNG TÁC PHÒNG, CHỐNG NGỘ ĐỘC THỰC PHẨM TẠI XÃ PHƯỚC NĂNG
Thông báo về việc thu hồi hiệu lực Giấy tiếp nhận đăng ký bản công bố của sản phẩm thực phẩm bảo vệ sức khoẻ
KIỂM TRA CÔNG TÁC PHÒNG, CHỐNG NGỘ ĐỘC THỰC PHẨM VÀ TÌNH HÌNH TỔ CHỨC HOẠT ĐỘNG TẠI CƠ SỞ 2 CHI CỤC AN TOÀN THỰC PHẨM ĐÀ NẴNG
KẾ HOẠCH Triển khai Hệ thống Quản lý Quốc gia về hành nghề và hoạt động khám bệnh, chữa bệnh
Triển khai Hệ thống Quản lý Quốc gia về hành nghề và hoạt động khám bệnh, chữa bệnh trên địa bàn thành phố Đà Nẵng
Triển khai các văn bản quy phạm pháp luật quy định về sinh con bằng kỹ thuật hỗ trợ sinh sản và điều kiện mang thai hộ vì mục đích nhân đạo
VIDEO
