Artikkel
Expression url404 is undefined on line 24, column 30 in 10153#10191#5433711.
1<#assign url = request.attributes.CURRENT_URL >
2<#assign oadURL = propsUtil.get('elan.oad.url') >
3<#assign qstringmap = httpUtil.getParameterMap(httpUtil.getQueryString(url))>
4<#assign utilServ = serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService")>
5
6<#-- check location id validity -->
7<#if qstringmap["bankercode"]?has_content>
8 <#assign bCode= qstringmap["bankercode"]?first>
9 <#assign bData = utilServ.makeCall('crcDDCBankerAssistedAppDetail','0&'+bCode)>
10 <#list bData as b>
11
12 <#assign lc = b.locationcode >
13 <#assign bName = b.branch >
14 <#assign bPhone = b.businessphone >
15 <#assign boeid = b.oeid >
16 <#assign bFName = b.firstname >
17 <#assign bLName = b.lastname >
18 <#assign rLC = b.reallocationcode >
19 </#list>
20
21<#else>
22 <script>
23 console.log("MainProductBcode missing");
24 //location.href = '${url404}';
25 </script>
26</#if>
27
28<#if rLC?has_content>
29 <#assign prefix = "00000" >
30 <#assign lcWithPrefix = prefix + rLC >
31 <#assign withPrefixLength = lcWithPrefix?length >
32 <#assign startHere = withPrefixLength - 5>
33 <#assign rLC = lcWithPrefix?substring(startHere)>
34
35 <#assign clientProfileService = serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcClientProfileLocalService") >
36 <#assign clientProfileList = clientProfileService.findByLocationCode(rLC)>
37 <#if clientProfileList?first?has_content>
38 <#assign clientProfile = clientProfileList?first>
39 <#assign partnerName = clientProfile.getMarketingNameLong()>
40 <#assign pbu = clientProfile.getPbu()>
41 <#assign subbu = clientProfile.getSUBBRANDBUNBR()>
42
43 <#assign clientdata = utilServ.makeCall('crcDDCTier1Customizations','0&'+pbu+'&'+subbu+'&8')>
44 <#if (clientdata?size > 0)>
45 <#list clientdata as data>
46 <#assign backgroundColor=data.backgroundHexColor>
47 <#assign buttonColor=data.buttonHexColor>
48 <#assign aprMin=data.AprMin>
49 <#assign aprMax=data.AprMax>
50 <#assign cashAdvance=data.cashAdvanceRate>
51 <#assign billingCycle=data.BillingCycles>
52 <#assign textColor=data.textHexColor>
53 <#assign hoverColor=data.hoverColor>
54 <#assign backgroundImage="https://3df661a16d2c341b9543-3cd0ed75ae749634a170a7cc519670ec.ssl.cf2.rackcdn.com/"+data.backgroundImage>
55 <#assign secondaryImage="https://3df661a16d2c341b9543-3cd0ed75ae749634a170a7cc519670ec.ssl.cf2.rackcdn.com/"+data.secondaryBackgroundImage>
56 <#assign transparency=data.transparency>
57 </#list>
58 </#if>
59 <#else>
60 <script>
61 location.href='/error/404.html';
62 </script>
63 </#if>
64</#if>
65<style>
66 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
67 .disclaimer {
68 width: 100vw;
69 }
70 .hero-container{
71 width: 100vw !important;
72 }
73 .standard-content-container{
74 width: 100vw !important;
75 }
76 .banner-wrapper {
77 width: 100vw;
78 }
79 }
80 *, html, :root {
81 box-sizing: border-box;
82 padding: 0;
83 margin: 0;
84 font-size: 100%;
85 font-family: Arial, Helvetica, sans-serif;
86 }
87 p, ul, h2 {
88 margin: 0;
89 }
90 body {
91 line-height: normal;
92 color: black;
93 }
94 img {
95 width: auto;
96 height: auto;
97 max-width: 100%;
98 max-height: 100%;
99 }
100 svg polyline {
101 stroke: ${textColor!'#19398A'};
102 }
103 .jn-button {
104 cursor: pointer;
105 border: none;
106 }
107 .jn-button:hover {
108 text-decoration: none;
109 background-color: ${hoverColor!'#333333'};
110 color: white;
111 }
112 /* overrides for berkshire*/
113 .banner.berkshire .jn-button {
114 background-color: ${buttonColor!'#19398A'};
115 color: white;
116 border: 1px solid white;
117 }
118 .banner.berkshire .jn-button:hover {
119 text-decoration: none;
120 background-color: ${hoverColor!'#333333'};
121 color: white;
122 }
123 .hero-main-logo a:hover, .footer a:hover {
124 text-decoration: none;
125 background-color: transparent;
126 }
127 .hero-main-logo a {
128 text-align: center;
129 }
130 .text-color-default {
131 color: #19398A;
132 }
133 .text-bold {
134 font-weight: bold;
135 }
136 .learnmore {
137 font-size: 1.2rem;
138 cursor: pointer;
139 }
140 .bg-color-white{
141 background-color: white;
142 }
143 .bg-color-black {
144 background-color: black;
145 }
146 .bg-color-custom {
147 background-color: ${backgroundColor!'#19398A'};
148 }
149 .bg-color-black-half-transparent {
150 background-color: rgba(0, 0, 0, 0.5)
151 }
152 .text-color-white {
153 color: #ffffff;
154 }
155 .text-color-black {
156 color: #000000;
157 }
158 .text-color-custom {
159 color: ${textColor!'#19398A'};
160 }
161 .button-text-color-custom {
162 color: ${buttonColor!'black'};
163 }
164 .button-bg-color-custom {
165 background-color: ${buttonColor!'#19398A'};
166 }
167 .button-bg-color-white {
168 background-color: #ffffff;
169 }
170 .hero-container {
171 width: 100%;
172 background-repeat: no-repeat;
173 background-position: left top;
174 background-size: cover;
175 background-image: linear-gradient(${transparency!'90deg,rgba(0,0,0,0.65),rgba(0,0,0,0.65)'}),url('${backgroundImage!''}');
176 }
177 .standard-content-container {
178 width: 100%;
179 text-align: center;
180 }
181 .hero-primary-benefits {
182 display: -ms-flexbox;
183 display: -webkit-flex;
184 display: -moz-flex;
185 display: flex;
186 -webkit-flex-wrap: nowrap;
187 -ms-flex-wrap: nowrap;
188 flex-wrap: nowrap;
189 width: 100%;
190 text-align: center;
191 }
192 .hero-main-container {
193 text-align: center;
194 }
195 .primary-benefit-wrapper {
196 height: 100%;
197 width: 100%;
198 }
199
200 .primary-benefit-wrapper p:first-child {
201 font-size: 1.8rem;
202 margin-bottom: 0.5rem;
203 }
204
205 .offer-header {
206 height: 62px;
207 padding-top: 15px;
208 font-size: 2rem;
209 }
210 .offer-detail-cardArt {
211 min-height: 150px;
212 }
213 .hero-main-offer {
214 height: 100%;
215 width: 100%;
216 overflow:hidden;
217 }
218 .offer-detail {
219 width: 100%;
220 height: calc(100% - 62px);
221 }
222 .footer {
223 height: 161px;
224 }
225 .secondary-benefits {
226 width: 100%;
227 display: -ms-flexbox;
228 display: -webkit-flex;
229 display: -moz-flex;
230 display: flex;
231 }
232 #more {
233 font-size: 1.8rem;
234 }
235 h2 {
236 margin-bottom: 1.5rem;
237 }
238 .option {
239 text-align: left;
240 }
241 .option p {
242 margin: 10px 0 15px 0;
243 }
244 .hero-main::before, .hero-main::after, .banner::before, .banner::after {
245 display: table;
246 content: " ";
247 }
248 .hero-main::after, .banner::after {
249 clear: both;
250 }
251 .banner {
252 display: -ms-flexbox;
253 display: -webkit-flex;
254 display: -moz-flex;
255 display: flex;
256 }
257 .banner-cta-text p{
258 margin: 5px 0;
259 }
260 .disclaimer{
261 padding: 1% 8%;
262 margin: auto;
263 max-width: 1800px;
264 }
265 .disclaimer ul {
266 padding: 0 2%;
267 text-align: left;
268 list-style: none;
269 }
270 .disclaimer ul li {
271 margin-bottom: 10px
272 }
273 sup {
274 font-size: 0.8rem;
275 }
276 .primary-benefit sup {
277 font-size: 1rem;
278 }
279 .footer {
280 padding: 0 3%;
281 width: 100%;
282 text-align: right;
283 }
284 .footer article {
285 padding: 2%;
286 margin-right: 0;
287 }
288
289 /* use this code when necessary */
290 @media screen and (max-width: 1300px) {
291 .hero-container {
292 background-image: linear-gradient(${transparency!'90deg,rgba(0,0,0,0.65),rgba(0,0,0,0.65)'}),url('${secondaryImage!''}');
293 }
294 }
295
296 /* computer */
297 @media screen and (min-width: 993px) {
298 .hero-container {
299 padding: 3% 8% 0 8%;
300 }
301
302 .standard-content-container {
303 padding: 1% 5%;
304 max-width: 1600px;
305 margin: auto;
306 }
307 .hero-main {
308 /* -webkit-flex-direction: row;
309 -ms-flex-direction: row;
310 flex-direction: row;
311 -webkit-justify-content: space-around;
312 justify-content: space-around;
313 -ms-flex-line-pack: distribute; */
314 max-width: 1450px;
315 margin-left: auto;
316 margin-right: auto;
317 }
318
319 .hero-main-logo {
320 max-width: 200px;
321 min-width: 140px;
322 width: 16%;
323 float: left;
324 }
325 .hero-main-container {
326 float: right;
327 width: 680px;
328 /* max-width: 730px; */
329 height: 600px;
330 padding: 0 60px 60px 0px;
331 /* min-width: 600px; */
332 }
333 .hero-main-offer {
334 border: 1px solid black;
335 border-radius: 15px;
336 }
337 .hero-primary-benefits {
338 -webkit-flex-direction: row;
339 -ms-flex-direction: row;
340 flex-direction: row;
341 max-width: 1450px;
342 margin-left: auto;
343 margin-right: auto;
344 }
345 .primary-benefit {
346 padding: 20px 5px;
347 width: 33%;
348 min-height: 161px;
349 }
350 .primary-benefit .primary-benefit-wrapper {
351 border-right: 1px solid gray;
352 padding-right: 5px;
353 }
354 .primary-benefit:last-child .primary-benefit-wrapper{
355 border: none;
356 padding-right: 0px;
357 }
358 .secondary-benefits {
359
360 -webkit-justify-content: space-around;
361 justify-content: space-around;
362 -ms-flex-line-pack: distribute;
363 }
364 .option {
365 width: 40%;
366 }
367 .offer-detail-head {
368 font-size: 3.8rem;
369 line-height: 3.8rem;
370 margin: 15px 0;
371 }
372 .offer-detail-text {
373 float: right;
374 width: 40%;
375 margin-right: 30px;
376 text-align: left;
377 }
378 .offer-detail-text p {
379 font-weight: bold;
380 margin: 10px 0;
381 font-size: 1.2rem;
382 }
383 .offer-detail-cardArt {
384 width: 46.5%;
385 margin-left: 30px;
386 filter: drop-shadow(0px 0px 10px black);
387 -webkit-filter: drop-shadow(0px 0px 10px black);
388 }
389 .apply-button {
390 display: block;
391 margin: 2rem auto;
392 font-size: 2rem;
393 text-decoration: none;
394 width: 55%;
395 text-transform: uppercase;
396 padding: 0.8rem;
397 }
398 .banner-wrapper {
399 margin: auto;
400 max-width: 1800px;
401 padding: 1% 8%;
402 }
403 .banner {
404 padding: 25px;
405 height: 225px;
406 -webkit-flex-direction: row;
407 -ms-flex-direction: row;
408 flex-direction: row;
409 }
410 .banner-cardArt {
411 width: 280px;
412 }
413 .banner-cta {
414 width: calc(100% - 280px);
415 position: relative;
416 }
417 .banner-cta-text {
418 padding: 10px 0 10px 20px;
419 }
420 .banner-cta-text p:first-child {
421 font-size: 3rem;
422 }
423 .banner-cta-text p:last-child {
424 font-size: 1.5rem;
425 }
426 .banner-cta-apply-button {
427 display: inline-block;
428 font-size: 1rem;
429 text-decoration: none;
430 text-transform: uppercase;
431 padding: 0.5rem 2.5rem;
432 width: auto;
433 margin-top: 10px;
434 position: absolute;
435 right: 0;
436 bottom: 0;
437 }
438 }
439 /* tablet */
440
441 @media screen and (max-width: 992px) {
442 .hero-container {
443 padding: 1.8% 3.6% 0 3.6%;
444 background-size: cover;
445 background-position: left top;
446 background-image: linear-gradient(${transparency!'90deg,rgba(0,0,0,0.65),rgba(0,0,0,0.65)'}),url('${secondaryImage!''}');
447 }
448 .standard-content-container {
449 padding: 1% 3.6%;
450 }
451 .hero-main {
452 /* -webkit-flex-direction: row;
453 -ms-flex-direction: row;
454 flex-direction: row; */
455 position: relative;
456 }
457 .hero-main-logo {
458 position: absolute;
459 top: 0;
460 left: 0;
461 z-index: 1;
462 width: 200px;
463 }
464 .hero-main-container {
465 /* max-width: 70%; */
466 width: 523px;
467 height: 630px;
468 padding: 80px 0 40px 55px;
469 float: right;
470 /* min-width: 500px; */
471 }
472 .hero-main-offer {
473 border: 1px solid black;
474 border-radius: 15px;
475 }
476 .hero-primary-benefits {
477 -webkit-flex-direction: column;
478 -ms-flex-direction: column;
479 flex-direction: column;
480 }
481 .primary-benefit {
482 padding: 10px 5px;
483 width: 100%;
484 min-height: 80px;
485 }
486 .secondary-benefits {
487
488 -webkit-justify-content: space-around;
489 justify-content: space-around;
490 -ms-flex-line-pack: distribute;
491 }
492 .option {
493 width: 40%;
494 }
495 .offer-detail-head {
496 font-size: 2.8rem;
497 line-height: 2.8rem;
498 margin: 15px 0;
499 }
500 .offer-detail-text {
501 width: 96%;
502 margin: auto;
503 text-align: center;
504 float: none;
505 }
506 .offer-detail-text p {
507 font-weight: bold;
508 margin: 10px 0;
509 font-size: 0.8rem;
510 }
511 .offer-detail-cardArt {
512 width: 56%;
513 margin: 5px auto;
514 filter: drop-shadow(0px 0px 10px black);
515 -webkit-filter: drop-shadow(0px 0px 10px black);
516 }
517 .apply-button {
518 display: block;
519 margin: 1rem auto;
520 font-size: 1.5rem;
521 text-decoration: none;
522 width: 60%;
523 text-transform: uppercase;
524 padding: 0.8rem;
525 }
526 .banner-wrapper {
527 margin: auto;
528 padding: 1%;
529 }
530 .disclaimer{
531 padding: 3%;
532 margin: auto;
533 }
534 .banner {
535 padding: 25px;
536 height: 225px;
537 -webkit-flex-direction: row;
538 -ms-flex-direction: row;
539 flex-direction: row;
540 }
541 .banner-cardArt {
542 width: 260px;
543 }
544 .banner-cta {
545 width: calc(100% - 260px);
546 position: relative;
547 }
548 .banner-cta-text {
549 padding: 10px 0 10px 20px;
550 }
551 .banner-cta-text p:first-child {
552 font-size: 2.5rem;
553 line-height: 2.5rem;
554 }
555 .banner-cta-text p:last-child {
556 font-size: 1.5rem;
557 line-height: 2rem;
558 }
559 .banner-cta-apply-button {
560 display: inline-block;
561 font-size: 1rem;
562 text-decoration: none;
563 text-transform: uppercase;
564 padding: 0.5rem 2.5rem;
565 width: auto;
566 margin-top: 10px;
567 position: absolute;
568 right: 0;
569 bottom: 0;
570 }
571 }
572 @media screen and (max-width: 700px) {
573 /* .banner-cardArt {
574 width: 160px;
575 }
576 .banner-cta{
577 width: calc(100% - 160px);
578 } */
579 .banner-cta-text p:first-child {
580 font-size: 2rem;
581 line-height: 2rem;
582 }
583 .banner-cta-text p:last-child {
584 font-size: 1rem;
585 line-height: 1.5rem;
586 }
587 }
588 /* handset */
589 @media screen and (max-width: 560px) {
590 .hero-container {
591 padding: 0px;
592 background-position: right;
593 }
594 .hero-main {
595 display: -ms-flexbox;
596 display: -webkit-flex;
597 display: -moz-flex;
598 display: flex;
599 -webkit-flex-wrap: nowrap;
600 -ms-flex-wrap: nowrap;
601 flex-wrap: nowrap;
602 -webkit-flex-direction: column;
603 -ms-flex-direction: column;
604 flex-direction: column;
605 }
606 .hero-main-logo {
607 position: static;
608 width: 100%;
609 height: 125px;
610 display: -ms-flexbox;
611 display: -webkit-flex;
612 display: -moz-flex;
613 display: flex;
614 -webkit-justify-content: center;
615 -ms-flex-pack: center;
616 justify-content: center;
617 -webkit-flex-direction: column;
618 -ms-flex-direction: column;
619 flex-direction: column;
620 }
621 .hero-main-logo a{
622 margin-left: auto;
623 margin-right: auto;
624 height: 50%;
625 width: 50%;
626 line-height: 62.5px;
627 }
628 .hero-main-container {
629 width: 100%;
630 min-height: 488px;
631 padding: 0px;
632 float: none;
633 height: auto;
634 }
635 .hero-primary-benefits {
636 -webkit-flex-direction: column;
637 -ms-flex-direction: column;
638 flex-direction: column;
639 }
640 .primary-benefit {
641 padding: 10px 5px;
642 width: 100%;
643 min-height: 90px;
644 }
645 .learnmore {
646 display: none;
647 }
648 .secondary-benefits {
649 padding: 1.5%;
650 flex-direction: column;
651 -ms-flex-direction: column;
652 -webkit-flex-direction: column;
653 text-align: center;
654 }
655 .option {
656 width: 100%;
657 }
658 .hero-main-offer {
659 border-radius: 0;
660 border: none;
661 min-height: inherit;
662 }
663 .offer-header.bg-color-black {
664 background-color: rgba(0, 0, 0, 0.8);
665 font-size: 1.2rem;
666 height: 48px;
667 padding-top: 10px;
668 }
669 .offer-detail {
670 width: 100%;
671 height: auto;
672 }
673 .offer-detail-head {
674 font-size: 2.3rem;
675 line-height: 2.3rem;
676 margin: 15px 0;
677 min-height: 4.6rem;
678 }
679 .offer-detail-text {
680 width: 96%;
681 margin: auto;
682 text-align: center;
683 float: none;
684 }
685 .offer-detail-text p {
686 font-weight: bold;
687 margin: 10px 0;
688 font-size: 0.8rem;
689 }
690 .offer-detail-cardArt {
691 width: 75%;
692 margin: 5px auto;
693 filter: drop-shadow(0px 0px 10px black);
694 -webkit-filter: drop-shadow(0px 0px 10px black);
695 -ms-filter: drop-shadow(0px 0px 10px black);
696 max-width: 261px;
697 }
698 .apply-button {
699 display: block;
700 margin: 0.8rem auto;
701 font-size: 1.5rem;
702 text-decoration: none;
703 width: 80%;
704 text-transform: uppercase;
705 padding: 0.7rem;
706 }
707 .banner-wrapper {
708 margin: 0;
709 padding: 0;
710 }
711 .banner {
712 padding: 25px;
713 height: auto;
714 flex-direction: column;
715 -ms-flex-direction: column;
716 -webkit-flex-direction: column;
717 text-align: center;
718 margin: 0;
719 }
720 .banner-cardArt {
721 padding: 0 25px;
722 width: 80%;
723 margin: auto;
724 }
725 .banner-cardArt img{
726 max-width: 200px;
727 }
728 .banner-cta {
729 width: 100%;
730 position: relative;
731 }
732 .banner-cta-text {
733 padding: 5px;
734 }
735 .banner-cta-text p:first-child {
736 font-size: 2rem;
737 line-height: 2rem;
738 }
739 .banner-cta-text p:last-child {
740 font-size: 1rem;
741 line-height: 1.5rem;
742 }
743 .banner-cta-apply-button {
744 display: block;
745 text-decoration: none;
746 text-transform: uppercase;
747 margin: 0.8rem auto;
748 position: static;
749 right: 0;
750 bottom: 0;
751 display: block;
752 font-size: 1.5rem;
753 width: 80%;
754 padding: 0.7rem;
755 }
756 }
757 @media screen and (max-width: 360px) {
758 .hero-main-logo {
759 width: 100%;
760 height: 150px;
761 display: -ms-flexbox;
762 display: -webkit-flex;
763 display: -moz-flex;
764 display: flex;
765 -webkit-justify-content: center;
766 -ms-flex-pack: center;
767 justify-content: center;
768 -webkit-flex-direction: column;
769 -ms-flex-direction: column;
770 flex-direction: column;
771 }
772 .hero-main-logo a{
773 margin-left: auto;
774 margin-right: auto;
775 height: 50%;
776 width: 80%;
777 line-height: 75px;
778 }
779 .hero-main-offer {
780 border-radius: 0;
781 }
782 .banner-cardArt {
783 padding: 0px;
784 }
785 .banner-cardArt img{
786 max-width: 100%;
787 }
788 }
789</style>
Artikkel
Expression url404 is undefined on line 25, column 30 in 10153#10191#5433708.
1<#assign url = request.attributes.CURRENT_URL >
2<#assign oadURL = propsUtil.get('elan.oad.url') >
3<#assign qstringmap = httpUtil.getParameterMap(httpUtil.getQueryString(url))>
4<#assign utilServ = serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService")>
5
6<#-- check bankercode validity -->
7
8<#if qstringmap["bankercode"]?has_content>
9 <#assign bCode= qstringmap["bankercode"]?first>
10 <#assign bData = utilServ.makeCall('crcDDCBankerAssistedAppDetail','0&'+bCode)>
11 <#list bData as b>
12
13 <#assign lc = b.locationcode >
14 <#assign bName = b.branch >
15 <#assign bPhone = b.businessphone >
16 <#assign boeid = b.oeid >
17 <#assign bFName = b.firstname >
18 <#assign bLName = b.lastname >
19 <#assign rLC = b.reallocationcode >
20 </#list>
21
22<#else>
23 <script>
24 console.log("MainProductBcode missing");
25 //location.href = '${url404}';
26 </script>
27</#if>
28
29<#if (rLC)??>
30 <#assign prefix = "00000" >
31 <#assign lcWithPrefix = prefix + rLC >
32 <#assign withPrefixLength = lcWithPrefix?length >
33 <#assign startHere = withPrefixLength - 5>
34 <#assign rLC = lcWithPrefix?substring(startHere)>
35
36 <#assign clientProfileService = serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcClientProfileLocalService") >
37 <#assign clientProfileList = clientProfileService.findByLocationCode(rLC)>
38
39 <#if clientProfileList?first?has_content>
40 <#assign clientProfile = clientProfileList?first>
41 <#assign partnerName = clientProfile.getMarketingNameLong()>
42 <#assign pbu = clientProfile.getPbu()>
43 <#assign subbu = clientProfile.getSUBBRANDBUNBR()>
44 <#assign logoFileName = clientProfile.getLogoBFormat1()>
45 <#assign cdnLogoUrl = propsUtil.get('rackspace.cdn.web.url')>
46 <#if pbu == "0864054">
47 <#assign override = "berkshire">
48 <#else>
49 <#assign override = " ">
50 </#if>
51 <#-- this one should be delete for prod -->
52
53 <#assign cdnLogoUrl = "https://4f61efb10f32ceb57895-3733e103896f37259213d6ad72acbe68.ssl.cf2.rackcdn.com">
54 <#assign logoFileName = pbu + "-" + subbu + ".png">
55
56 <#assign cdnCardArtUrl = propsUtil.get('rackspace.cdn.cardart.url')>
57 <#assign cardArtImage = cdnCardArtUrl + "/" + pbu + "-" + subbu + "-" + productContent.getData() + ".png">
58
59 <#assign offerData = utilServ.makeCall('crcDDCBankerAssistedApp','0&'+bCode)>
60 <#if (offerData[0]?has_content) && (offerData[0].sourceCode?has_content) && (offerData[0].offerId?has_content)>
61 <#list offerData as d>
62 <#assign sourceCode = d.sourceCode>
63 <#assign cardType = d.cardType>
64
65 <#assign FI = d.FI>
66 <#assign projectId = d.projectId >
67 </#list>
68 <#else>
69 <script>
70 console.log("MainProduct offerId missing");
71 //location.href = '${url404}';
72 </script>
73 </#if>
74 <script>
75 console.log('lc', '${lc}');
76 console.log('rLC', '${rLC}');
77 console.log('pbu', '${pbu}');
78 console.log('subbu', '${subbu}');
79 </script>
80 <#assign bData = utilServ.makeCall('crcDDCAdGeneratorDetail','0&'+pbu+'&'+subbu+'&8')>
81 <#if (bData?size > 0) >
82 <#list bData as b>
83 <#assign filename = b.filename>
84 <#assign productType = b.product>
85 <#assign offerId = b.offerid>
86 <#if filename !="" >
87 <#assign cardArtImage = cdnCardArtUrl + "/" +filename +".png">
88 </#if>
89 </#list>
90 <#else>
91 <script>
92 console.log("cardart missing")
93 </script>
94 </#if>
95
96
97 <#assign clientdata = utilServ.makeCall('crcDDCTier1Customizations','0&'+pbu+'&'+subbu+'&8')>
98 <#if (clientdata?size > 0)>
99 <#list clientdata as data>
100 <#assign backgroundColor=data.backgroundHexColor>
101 <#assign buttonColor=data.buttonHexColor>
102 <#assign aprMin=data.AprMin>
103 <#assign aprMax=data.AprMax>
104 <#assign cashAdvance=data.cashAdvanceRate>
105 <#assign billingCycle=data.BillingCycles>
106 <#assign textColor=data.textHexColor>
107 <#assign linkColor=data.linkHexColor>
108 <#assign backgroundImage="https://3df661a16d2c341b9543-3cd0ed75ae749634a170a7cc519670ec.ssl.cf2.rackcdn.com/"+data.backgroundImage>
109 </#list>
110 <script>
111 (function(){
112 var partnerName = "${partnerName!0}";
113 var tag = document.createElement('meta');
114 tag.name = 'description';
115 tag.content = "Apply Today for a " + partnerName + " Credit Card. Limited Time Offer. 0% Intro APR on Purchases and Balance Transfers for " + "${billingCycle}"+" Billing Cycles Consolidate your Balances with the "+ partnerName +" Intro APR Card."
116 document.head.appendChild(tag);
117 })()
118 </script>
119 </#if>
120 <#assign clientDataService = serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcPbuLocalService") >
121 <#assign clientProfileDataList = clientDataService.getByPbuAndSubBu(pbu,subbu)>
122 <#assign partnerUrl = clientProfileDataList.getPartnerMainUrl()>
123 <#if partnerUrl?has_content && !partnerUrl?matches(r"(?i)^https?\:\/\/.*")>
124
125 <#assign partnerUrl = 'https://' + partnerUrl>
126 <script>console.log('Come to here by accident')</script>
127 </#if>
128 <script defer>
129 (function(){
130 var partnerName = "${partnerName!0}";
131 document.title = "Low Interest Credit Card | " + partnerName + " Platinum Card";
132 var ecdma_data = {};
133 var pbu = '${pbu!''}';
134 var subbu = '${subbu!''}';
135 var lc = '${lc!0}';
136
137 AUI().ready(function() {
138 $('.jn-button').removeAttr('disabled');
139 $('.jn-button').removeClass('jn-disabled');
140 var regex = /\d+/g;
141 var bdNumber = "${bPhone!''}";
142 var phoneNum = bdNumber.match(regex);
143 var areaCode = "";
144 var exchangeCode = "";
145 var num = "";
146 if(phoneNum != null) {
147 phoneNum = phoneNum.join("");
148 areaCode = phoneNum.substring(0,3);
149 exchangeCode = phoneNum.substring(3,6);
150 num = phoneNum.substring(6,10);
151 }
152
153 jQuery('#bottomButton').on('click', function(e) {
154 jQuery('#BAAForm').submit();
155 });
156
157 jQuery('#BAAForm').on('submit', function(e){
158 e.preventDefault();
159 jQuery('#appDataBAA').val('<?xml version="1.0"?>'+
160 '<prefillData>'+
161 '<versionNumber>1.0</versionNumber>'+
162 '<applicationData>'+
163 '<bankerInformation>'+
164 '<locationCode>${rLC!0}</locationCode>'+
165 '<originatingBranchNumber>${bName!0}</originatingBranchNumber>'+
166 '<employeeID>${boeid!0}</employeeID>'+
167 '<name>' +
168 '<first>${bFName!0}</first>' +
169 '<last>${bLName!0}</last>' +
170 '</name>'+
171 '<phone>' +
172 '<areaCode>'+areaCode+'</areaCode>'+
173 '<exchange>'+exchangeCode+'</exchange>'+
174 '<number>'+num+'</number>'+
175 '</phone>'+
176 '</bankerInformation>'+
177 '</applicationData>'+
178 '</prefillData>'
179 );
180 var buttonName = jQuery('.jn-button').data('button-name');
181 /* SiteCatalyst onClick tracking */
182 ecdma_data.applyButton = buttonName;
183 if (window.publisherFW) {
184 console.log('clicked', ecdma_data);
185 window.publisherFW.publishEvent("onClick", ecdma_data);
186 }
187 /* GA onClick tracking
188 ga("send", {
189 hitType: "event",
190 eventAction: jQuery('textarea').val(),
191 eventCategory: "applyNow",
192 eventLabel: "BAAApplyNow"
193 });*/
194 this.submit();
195 });
196 });
197 })()
198 </script>
199
200 </#if>
201</#if>
202
203<div class="hero-container">
204 <div class="hero-main">
205 <div class="hero-main-logo">
206 <#if partnerUrl?has_content>
207 <a href="${partnerUrl!''}" title="${partnerName!''}"><img src="${cdnLogoUrl!''}/${logoFileName!''}" alt="${partnerName!''}"></a>
208 <#else>
209 <a title="${partnerName!''}"><img src="${cdnLogoUrl!''}/${logoFileName!''}" alt="${partnerName!''}"></a>
210 </#if>
211 </div>
212 <div class="hero-main-container">
213 <div class="hero-main-offer bg-color-white">
214 <div class="offer-header bg-color-black text-color-white text-bold">${primaryHeadlineText.getData()}</div>
215 <div class="offer-detail">
216 <div class="offer-detail-head">${primaryHeadlineFeature.getData()}</div>
217 <div class="offer-detail-text text-color-default">
218 ${primaryHeadlineFeatureTop.getData()}
219 ${primaryHeadlineFeatureBottom.getData()}
220 </div>
221 <div class="offer-detail-cardArt">
222 <img src="${cardArtImage!''}" alt="${partnerName!''}" title="${partnerName!''}">
223 </div>
224 <form action='${oadURL}?locationCode=${lc}&offerId=${offerId}&preparerType=customer&sourceCode=${sourceCode}' method="post" id="BAAForm">
225 <textarea rows="20" cols="100" name="applicationData" id="appDataBAA" style="display:none;"></textarea>
226 <input type="submit" data-button-name="cta-button-top" title="Apply Now for ${partnerName!''} Credit Card" class="jn-button apply-button text-bold button-bg-color-custom text-color-white" value="${ctaText.getData()}" disabled />
227 </form>
228 </div>
229 </div>
230 </div>
231 </div>
232 <div class="hero-primary-benefits bg-color-black-half-transparent text-color-white">
233 <#if secondaryFeatureText.getData() != "">
234 <#foreach item in secondaryFeatureText.getSiblings()>
235 <div class="primary-benefit">
236 <div class="primary-benefit-wrapper text-color-white">
237 ${item.getData()}
238 </div>
239 </div>
240 </#foreach>
241 </#if>
242 </div>
243</div>
244<div class="standard-content-container">
245 <h2 class="learnmore text-color-custom text-bold" onclick="learnmore(event)">
246 LEARN MORE
247 <svg viewBox="0 0 150 100" width="45" height="30">
248 <polyline points="40 40 80 80 120 38" stroke-width="20"
249 stroke-linecap="butt" fill="none" stroke-linejoin="miter"/>
250 </svg>
251 </h2>
252 <h2 class="text-bold" id="more">${secondaryHeadlineText.getData()}</h2>
253 <div class="secondary-benefits">
254 <div class="option">
255 ${additionalInfoGroupA.getData()}
256 </div>
257 <div class="option">
258 ${additionalInfoGroupB.getData()}
259 </div>
260 </div>
261</div>
262<div class="banner-wrapper">
263 <div class="banner bg-color-custom ${override}">
264 <div class="banner-cardArt">
265 <img src="${cardArtImage!''}" alt="${partnerName!''}" srcset="">
266 </div>
267 <div class="banner-cta">
268 <div class="banner-cta-text text-color-white text-bold">
269 ${optionalCtaFeatureText.getData()}
270 </div>
271 <a id="bottomButton" data-button-name="cta-button-bottom" title="Apply Now for ${partnerName!''} Credit Card" class="jn-button banner-cta-apply-button text-bold button-bg-color-white text-color-custom">${optionalCtaText.getData()}</a>
272 </div>
273 </div>
274</div>
275<script async>
276 console.log('here');
277 function learnmore(e) {
278 e.preventDefault();
279 var element = document.getElementById("more");
280 element.scrollIntoView({behavior: 'smooth'});
281 }
282</script>
Artikkel
We may change APRs, fees and other Account terms in the future based on your experience with Elan Financial Services and its affiliates as provided under the Cardmember Agreement and applicable law.
*The 0% introductory APR applies to purchases and is valid for the first 20 billing cycles. The 0% introductory APR applies to balance transfers made within 620 days from account opening and is valid for the first 20 billing cycles. The introductory rate does not apply to cash advances. Thereafter, the APR may vary and as of 3/17/20, the undiscounted variable APR for Purchases and Balance Transfers is 9.99%-17.99% based on your creditworthiness. The variable APR for Cash Advances is 9.99%-17.99%. Cash Advance fee: 4% of each advance amount, $10 minimum. Convenience Check fee: 3% of each check amount, $5 minimum. Cash Equivalent fee: 4% of each cash amount, $20 minimum. Balance Transfer fee: 3% of each transfer amount, $5 minimum. There is a $2 minimum interest charge where interest is due. Annual fee: $0. Foreign Transaction fee: 2% of each foreign purchase transaction or foreign ATM advance transaction in U.S. Dollars. 3% of each foreign purchase transaction or foreign ATM advance transaction in a Foreign Currency. We apply your minimum payment to balances with lower APRs first, including promotional APRs. Amounts paid over the minimum payment will be applied in the order of highest to lowest APR balances.
- 1Elan Financial Services provides zero fraud liability for unauthorized transactions. Cardholder must notify Elan Financial Services promptly of any unauthorized use. Certain conditions and limitations may apply.
- 2The free VantageScore® Credit Score is for educational purposes only and is not used by Elan Financial Services to make credit decisions.
The creditor and issuer of these Cards is Elan Financial Services, pursuant to separate licenses from Visa U.S.A. Inc., Mastercard International Incorporated, and American Express. Mastercard is a registered trademark, and the circles design is a trademark of Mastercard International Incorporated. American Express is a federally registered service mark of American Express.
Artikkel
Expression url404 is undefined on line 16, column 30 in 10153#10191#5433717.
1<#assign url = request.attributes.CURRENT_URL >
2<#assign qstringmap = httpUtil.getParameterMap(httpUtil.getQueryString(url))>
3<#assign utilServ = serviceLocator.findService("crc-utilities-portlet", "com.elan.crc.utilities.service.CRCRemoteServiceService")>
4
5
6<#if qstringmap["bankercode"]?has_content>
7 <#assign bCode= qstringmap["bankercode"]?first>
8 <#assign bData = utilServ.makeCall('crcDDCBankerAssistedAppDetailSql','0&'+bCode)>
9 <#list bData as b>
10 <#assign lc = b.reallocationcode >
11 </#list>
12
13<#else>
14 <script>
15 console.log("MainProductBcode missing");
16 //location.href = '${url404}';
17 </script>
18</#if>
19
20<#assign prefix = "00000" >
21<#assign lcWithPrefix = prefix + lc >
22<#assign withPrefixLength = lcWithPrefix?length >
23<#assign startHere = withPrefixLength - 5>
24<#assign lc = lcWithPrefix?substring(startHere)>
25<#if lc?has_content>
26 <#assign clientProfileService = serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcClientProfileLocalService") >
27 <#assign clientProfileList = clientProfileService.findByLocationCode(lc)>
28 <#assign clientProfile = clientProfileList?first>
29 <#assign pbu = clientProfile.getPbu()>
30 <#assign subbu = clientProfile.getSUBBRANDBUNBR()>
31 <#assign partnerName=clientProfile.getMarketingNameLong()>
32 <#assign clientDataService = serviceLocator.findService("crc-clientprofile-portlet", "com.elan.crc.servicebuilder.crcclientprofile.service.CrcPbuLocalService") >
33 <#assign clientProfileDataList = clientDataService.getByPbuAndSubBu(pbu,subbu)>
34 <#assign partnerUrl = clientProfileDataList.getPartnerMainUrl()>
35 <script>console.log('partnerUrl: ${partnerUrl}')</script>
36 <#if partnerUrl?has_content && !partnerUrl?matches(r"(?i)^https?\:\/\/.*")>
37 <#assign partnerUrl = 'https://' + partnerUrl>
38 <script>console.log('Come to here by accident')</script>
39 </#if>
40</#if>
41<footer class="footer bg-color-black text-color-white">
42 ${footerContent.getData()}
43</footer>
44
45<script>
46
47 document.querySelector('.footer .copyright').classList.add('ecdma-footer-client-name-copyright');
48 document.querySelector('.footer .fdic').innerHTML = '<p><a class="text-color-white" href="https://www.myaccountaccess.com/onlineCard/publicPrivacyPolicy.do?loc='+${lc!0}+'" target="_blank">Privacy and Security</a></p>';
49 document.querySelector('.footer .member-agreement').innerHTML='<p><a class="text-color-white" href="https://online1.elancard.com/oad/cmas.controller?locationCode=${lc!0}&preparerType=customer&isNewRequest=false" target="_blank">Cardmember Agreements</a></p>';
50</script>
51<#if partnerUrl?has_content>
52 <script>
53 document.querySelector('.copyright .homelink').href="${partnerUrl!''}";
54 document.querySelector('.copyright .homelink').title="${partnerName!''}";
55 document.querySelector('.copyright .homelink').innerText="Home";
56 </script>
57</#if>