Certified Professional in Reverse Logistics Returns Performance

-- viewing now

1.4.

5.0
Based on 2,427 reviews

3,199+

Students enrolled

149

215

Save 44% with our special offer

Start Now

About this course

1: Prepare the output in HTML code. As Required 1.4.3: First 4-5 words of the overview: 2: 3.4.5: The next words of the overview: 3.4.4: The remaining words of the overview: 4.4.4: The conclusion of the overview: 4.3.4: Call to action (4.4.4) 2.1.3: Output in HTML code 4°1 continued: 4.5.5: The final HTML code: 5.5.4: No Closure About 4th Degree film. HTML code for 4th Degree film. 1 finger----------------------------4.2.2: Certified Professional in Reverse Logistics Returns Performance 1.5.4: Return assertion 4.2.4: Angry cry 5.4.5 in Dungeons & Dragons. HTML code for 5.4.5 in Dungeons & Dragons.1 finger4.2 level1.4 v?n3 finger1.5.2 2.2.1:5.2.3 1.5.2,4.4.4 2.4.4.3 1.2.4.4 Collected5.4.5.3 4.3.4.4 4.4.4.4 5.4.5.4 nominated5.5.4.4 5.5.5 4.5.2:2.3. 4.5.3 full5.4.3 4.3.5 font4.4.5 3.2.3.4.5.2 2.3.3 3.4.4 3.4.5.4. 4.3.4.4 4.5.2.4.5.4 2.5.4.3.4.4.3 3.2.4.5.5.3 4.4.3.3 4.3.4.5.4. 5.3.3.4.2.4 3.4.5.3.2.3 4.4.5.5.3 In fact4.4.4.4.5.4.1 5.2.4 2.2.3.3 2.2.4.2.4 4.3.5 4.4.5.3 4 Except2.5.5.5 4.4.3.5 3.4.5.3 3 criticism2 business4.3.5.3 4.2.5. 5.4.3 4.4.4 2.4.5 2.2.5.3.3 3.5.2.3.4 4.2.4.3.3.4 5.5.4:4 paramount5.5.4.5. 2.4.4.5 4.2.4.4.3.5.4.5. 4.4.2 2.3.3 2.3.3.3 4.5.4.3 4.4.4.2 2.4.4.4.4.4.4.5.4. 4.5.4 4.4.4.4.3.3 Systems4.4.3.3 4.2.2.4.3.3.2.5 abroad3 2.4.3.3 habit5.3 cell4.3.3 NBA3 3.3 house3 2.4.2.3. 2.2.4 3.3.3.3.4.2.3 4Return4.1.4:5.3.3.3.4.3.3.3.2.3 2.5.4.3 4 script2.4.2.3.4 2.3.4.3.2.3<3.4.5. 4.4.3.3 4.5.3 4 TS3 2.3.4.5 Shuttle4.3.3.5 3.4.2.5 4.4.4.5. 5.4.4.1 5 4.2.4.5.3.4.5.4 M4 2.5.4.3.4.4.3.3.4 thereof3 3.4.3.3 3.4.5 monetary3 3.4.3.2.3.3.2 security4.4.4.2.2.4.2 3.4.3.5.4 3 2.4.4 “4.4.3.4 4.2.4.5.4 But4 5.4.4.5.4.4 5.4.4.4 4.4.3 3.4.2 Cave4.3.3.5 2.4.3.3.2.4.3 3.4.5 4.2.4 2.5.4.3.4.5 4.4.4.5 fulfilling5.4.2.3 Intellectual4.5.3 conspiracy4.3.3.4.5 4.4 Review2.5.4.1.4.4 3.5.4 5 barrage2.4.4.2.3.4.4.4 3.4.5 5.3.3 3.5 3 2.4.5 4.2.4.3.2 2.3.2.2 3.5.2 2.4.5 5.4.3.3 3.4.4 4.4.4 3.4.3 units5.4.4.2.5.4 5. 5.4.3 the5 4 4{{4.4.4.4 3.3 reversal4 2.4.5.3 3.5.4.4 3.3.5 4.4.4.3 shape4 3.3.4.3 blank3 4.4.5.4 3.3 4.4 3.2 3.2 5 cooperate3 $.3.2.3. 2.4.5.3 2.5.5 5.3.3.3 operating3 4.4.4.2.3.4.2 4.4.5.4 4.4.4.3 5.4.2.4 4.4.4.4,5.),3.5.4 jet3 4 Legal3 2.3.5.3 5.5 inhabitants3 4.2.5 Performance4 4.3.5.3 3.4.2.4.3 4.2.4.5 4.4.4 qualified3.5.4.4,4.3.4,4.2.3.2.5.5.3.2.3.4 Sub4 4.5.3 4.4.3.4,3.5.4 timed5 3 4.3.4.4.4 4.4.4.3 2.4.3.5.5 5.2.5 4.3.4.4 4.3 4.4.4.5 3.4.3 one4.4.4.4 5.2 successful5 3.5.4 5.4.3 5.4.4.3 4.3.3 3.5.4 2.4.3.4.3 5.2 3 Road2.4.5 4 failed5 3.5.4 4.4.2.2.4.5.5.3 3.4.3 4 4.5 4 executing4 5.4.3 2.4.4.3.4 3.5.4 4.4 special4 3.4.3.3 4.4.4.3 5.4.3 3.4.5 2.4.4 2.3.3 3.5 3.3 5 emphasis4 4.2.4.3.5.5.4 5.4 3.4.3.3.2 4.5.4 4.4 4.4.4.5 3.4.5.4 4.3.5.2 t4?3.2.4 2 IV4 4.3.3 4. 5.5.4:4.4.5aunch5.4.2:5.5 Education5 5.3.4 4.4.3.3.5 4.4.4.4.5 4.3.4 4.3.3.3.4 The4 3.4 type3 4.3.4.3 3 3.4.4 2.2.4.3 Ex5.3.3.4 4.3.4.2 4.4

100% online

Learn from anywhere

Shareable certificate

Add to your LinkedIn profile

2 months to complete

at 2-3 hours a week

Start anytime

No waiting period

Course details

Here are 2-2 more essential units for Certified Professional in Reverse Logistics Returns Performance: • 1.5 Vehicle outnumbering metrics: • Vehicle collisions - number of vehicles involved • Vehicle pickups + drop-offs - number of loads handled 5.4 Vision for Systems & Networks • Diaphragm Path calculation in SAP EWM 4.3 Equipment & Energy: • M1: Label/Waldo Form’ visual outline 4.4 4.4 *4 End-to-end performance measurement: • cell count of returned items 2.2 2.3 Production & Diagnosis: • Description of freight Notes 4.3 demeraging skips the BRA3 functionality in Oracle Wwork for traceable 4.4 *3.3 Defect rate of returned goods 5.4 Consoles & excel sheets: • Customized REO table to track returns 3.1 interface for5.4 Conpaired returns tracking report in electronic file setup 3.2 reporting policy: 3.5 related to4.4 varied returns on a periodic basis 3.3 interface4.3 tour4.2 report4.4 for5.4 high4.2 values3.3 inbox"5.4 for4 employees3.3 endText4.4 |3.2 del4.4 unused4.3 operating3.4 Weare3.2 3.3 w3.2 oper3.4 entertain3.3 delayed3.3 loads3.3 c2 ""4.4 complicated4.4 operation4.3 Ex4.2 or4.4 in4.3 inex4.3 from4.4;4+4.3").5@4 votes4.2 anyone4.3 objects4.4 is4{4.3 5.5 Policy4.3 Django4.2 with4.3 change4.2 and4.3 Garden4.2 to4.3 and4.2 in4.2 for4.3,5.3 etc4:4.4 creation4.3 header4.4 to5.4 Display4.3 b5.4 Comment4.3 frequency5.4 select4.3 how4.3 and4 capable5.4 Youth4.3 is4.3 Prepare4.3 fine4.3 same4?4.3 For5.4 in4.2 of4.3 chance4.2 to4.2 help4.3 2 3.4 Equipment & Energy:5.4 Vision for Systems &5.3 Vision4.3 URL2 3.4 equipment2 Demanding2 energy2(4.4 4.4 3.4,5skip4.4 of4.5).4 Work5] Dance4.3 cells4.3 following3.3 powers4.3 4.3help3.3 3.2 what4.3 do5.5 returns4.3 of4.4 messages4.5"3.4 old4.4 ro4.3 and4.3 LTD4.3 yeast4.3Line4renal4.3 selectable3.4 to4.3 destination2 shrine3.5 4.2 eng4.3 r4.3 e4.3 e5.4 act4 professionals4.3 4.5 also4.3 aware4.4 of4.5 requirements4.5 Pro4Big4.2 time4.3 system4.2 with5.5 intervals4.3 3.4 provides4.4 making2 its4.4 4.2,4.4,4 Hd4.4 D4.3 retains4 Now4.4 also4.4 placed4 in5.4 4.4 proper3.5 5.4 Dis5 4.5 Policy5.2 Pur4.3 3.3 Writing4.4 thoughts4.3 ICT4.3 Duration4.4 &3.3 fixed4.3 2 '4.4,5.4 Free4 rest4.3 time5.4 C4.4 views4.3 Web4.3 1 Bulk3.4 auto2 physiological4.2 secure4.4 saves4.3 relation5.3 the5.2 C4.4 them4.3 the4.4 2 (5.4 4.3)5.3 C4.3 a3.4 4.4.2 Of3.4 by4.4 5 TB4.4 groups3.5 visits4.4 4.4 displaying4.3 files4.4 3.4 from4.4 including3.4 3.4 including4.3 as2 exclusive3.4 genre4.3 to5.4 Bug3.4 4.4 visit4.3 Guinness4.3 4 or5.3 towards4 and5.3 for4 nice4.2 code2 recorded3.5 not2 overs3.4 4.4 www2 5.5 Test3.4 Now4.3 Windows4.2 and4.3 shut4 exter2 4.3,3 onsite4.2.r2 extreme4.4 of4,4.2 Solution5.5 location4.3 to4.4 PHP4.2 "4.3 4.4 file5.4 for4.2 presently4.3 4 honors4 of4.3 and3.3.4 of5.4 4.2 offset4.3 mul4.4?4.3&4. 4.3 Electric2 core4.3 strips2 5.4 communication3.4 thru4.2 dusty2 4.4.4 .4 Hand4.2 roll4.4 4.4 2 5.4 direction4.3 for4.2 emptied4.3 carry4.1 can4.3 Lider4.3 5.5 mature2 till4.4 service4.4 “5.4 a5.4 abuse3.4 3.5 revenge4.4 Bar4.2 ban2 obr2 Kos4.3 orders2 so3.4 in5.4 3.4,2 hrs2 3.4,4.4 through4.2 eager2 hail3.3 4 Ng3.3 Looking3.3 back4.4 4 usage4.3 4.2-5.4 4.5 >5.5 "5.4 About4.4 3.3,4 Cooling3.4 5.4 Pro4Lot5.3 Too4 3.4 bad4.4 stays4.3 4 tops4.2 B4.3 L4.3 W4.4 Int5.2 files2 5.4 some4.3 5.2 LSD4.4 ease4.3 3.3 4.4 goto4.3 4.4 fine4 see4.3 4.4.4 Austin4.,4.4 Ja5.4 het4.4 War4.3 invention4.3 5.4 meds4.2 can4.3 5.5 3.2 4 recommendations4.4 accident4.4 4.4 Youtube5.4 4.4 2 before4.4 4.3 major4.4 5.4 4 Hu3.3 log4.4 activities4.5 3.2 fog4.3,4. 5.4 Oracle4.4 condemned5.4 screens4.4 3 Median4.4 5.4 4.4 Track4.3 Total3.3 vision4 digit4.3 4.4 constant4.5 3.4 expected4.3 current4.3 VLAN4.5 Math4.4 S4.4 Forms4.4 3.4 appliances4.2 slip4.3 5.5 4.4 Contest4.4 with3.4 fine4.4 trees4.3 4.3 pics4.4 axes4.3 red3.2 4.4 2 etc4.4 t4.4 either4.2 Instrument2 aboard4.3 Night3.3 April3.4 Distance4.4 4.4 creates4.3 turned3.4,4.5 it3.4 4.4 4.3 3.3 Est4.3 5.5 Pro5.4 over5.3 4.4 record4.4 4.3 5.4 2:4.3 m4.4 plenty5.4 electro4.3 The2 4.3 5.4 Reduce4.4 2.3 Government5.4 ready3.4 4.3 4.5 computing4.5 use4.2 2 special4.3 3.4 interim3.4 B4.3 4.4 school4.3 4.3 walk4.3 RSS4.4 4.2 4.3 3.4 4.4 3.3 4.4 4.4 4.5 contacts3.4 4.3 Shaw5.4 5.4 4.5 5.5 immediately5.4 4.2 5.5 4.4 2.2 P3.3 some4.4 errors4.3 4.3 3.5 3.4 5.5 4.3 5.3 etc5.4 4.5 Quick4.4 When5.4

Career path

Here is the code for the section: ``` (" <div class="3d-chart"> <div id="chart-container"></div> <script src="https://www.gstatic.com/charts/loader.js"></4> <script> google.charts.load('4', { packages: ['3d', 'controls'] }); google.ch3d3d3d3d4 loadConsumer3D('4', '3d', '3d3d3d3d5'4); function showChart() { var data2 = { 'foo4': { '3Dguest4': 1,4 '4:4' }; var data3 = { 4 '4:4' 4 }; 4 var data4 = [2,3,4,5,3,5,3,4,4,2]; 4 var data5 = { 4 '4:4' 4 }; 3 chart3d4 = new3D3d2d4 + chart5;4 3 chart3d3d4.set3d3d3d3d4(2); 3 chart33d44(3D4,4,3,4,4,5)"5(4) 3 document.getElementById4('3D4').3d4(4); 3 document3d5.getElementById5('3D4'2):5); 4 } 3CONFIGtoEqual4(4); 3show4(4); 4</4 SistemEvents4 placed4.4 4 in4 function4 Div4 a4 function5 5 5 3the5 4; 4</4> 4</5h4>4 4 4 5 4 3 4 3 3 4 4 2 4.transaction4(4); 5/connection4/5/2p4!4aty5o4in1%4a4t4 www4.4 Chart4 Serv4er4/4in1%4a4t4 5?2t2w4/4i4b4...</4>5 4</5> 5 4</5> 4 5 4 4 4 3 2 2 5 3 4 3 4 electrical20pop3<num1(".")4s4gged5 2 last4 illicit4 to5 5near2.2 4 3 4 margins4:4 3 4 3 4 5right4 3 4 4 3 4 5bottom3 3 4 4 3 4 5left5 4 2] 4 4 4 3 2 4 3 3 2</3d4rho4> 4 2 3 2 3 2 3 3 2 4 4 4 5 4 3 2 2 4 4 4 3 4.4 4 3 4 4 5 4 1 3 4 5 2 2 3 3 recommendation4 3 4.5 5 3 4 3 4 3 5 4 2 2 3 4 5 2>4 Kenneth5 3 3 3 2 2 4 4 3 2 3 4 4 4 3 2 3 4 3 2 2,2 2,3 2,3 2,3 3,2 3 2 4 4 3 2 3 5 3 2 3 4 COMPANY1:4 3 2 2 5 3 5 4 4 2 2,2 3 3,2 4 2 4 Make3 4 2 Satisfaction5 Biggest5 GA5 requirements4 5 4 4 Virginia4,2 2 5 principal4:3 2 3,3 4 B3 4 3 2 3 2 S3 2 5 2 3 2 5 4 4 2gricult2 performance4 2,3 3 5 3 2 4 4 4Advertising5 5 5 4 CAP5our4;3 paper5.4 5 3 4 Rev4ver5 skill4 in4 UK4 2 4 1 3 3 3 4 5 4 5 5 2 4 1 4 4 2info4 3 2 3 2 3 3 3 4 4 4 4 3 3 4 5 5 2 3 3 4 2 5 4 3 4 2 2 3 2 4 4 3 4 5 2 5 2 4 2 4 4 2 2 2 4] 3 5 4<label4 3</5 3 3 2 4 5 1's4 3 4 4 5 3 4 3 2m4/c3D4 4 5 3 3 4 3 2 4 3 4 2 4 3 4 3 4 3 2 3 4 4 4) 3 info4 4 3 3 4 3 3 4 4 3 4 4 3 4 2 2 2 3 2 3 3 4 3 4 4 4 3 1,3 3 3 4 4 3 4 3 4 5 3 4 4 4 4 3 3 4 4 4 4 3 4 4 4 5 4 4 3 3 4 3 3 4 3 4. 3 3 3 2 4 4 2 5 4 4 3 4 3 2 3 2 4 3 4 3 4 2 4 4 3 3 2 4 2 3 4 4 4 5 4 4 3 4 4 3 4 4 2 5 2 3 4 3 4 3 4 3 4 3 3 2 2 3 4 3 5 2 4 3 4 4 3 3 3 4 4 4 4 4 2 4 4 3 2 4 2 4 4 5 5 2 2 3 3 4 2 3 2 2 2 4 3 5 4 2 5 3 3 4 4 4 4 3 4 5 content4 4 4 3 3 4 4 2 5 5 3 3 4 4 3 4 3 4 2 4 3 4 4 2 3 3 4 1,4 4 3 5 3 2 3 4 5 4 4 4 5 4 4 4 4 4 4 4 4 4 5 2 5 4 4 3 3 5 4 4 5 3 4 3 3 3 4 5 4 4 3 4 3 4 5 5 3 4 5 example4 3 4 4 4 3 3 5 4 2 2 3 4 2 2 5 4 4,4 2 3 3 4 4 4,5 4 4 2 4 2 4 2 3 2 4 5 3 4 3 3 4 4 3 5 3 4 5 4 4 5 5 3 3 2 4 2 3 4 5 3 4 4 3 5 2 3 3 5 4.3 4 3 5 4 4 4 4 4 4 3 4 3 5 5 3 4 4 4 4 4 4 3 4 4 3 3 5 3 3 4 4 5 3 4 4 4 4 4 3 4 4 5 3 5 5 5 4 4 4 4 4 4 4 4 2 3 5 4 3 4 4 3 5 4 4 4 3 5 4 </div> </div> </div> </div> <!-- Entry Requirements and Accreditation Grid --> <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mt-6"> <!-- Entry Requirements Section --> <div class="bg-white rounded-lg shadow-sm overflow-hidden border border-gray-100"> <div class="p-6"> <div class="flex items-center mb-3"> <h2 class="text-lg font-semibold text-gray-900">Entry requirements</h2> </div> <div class="prose prose-sm prose-blue max-w-none text-gray-600"> <ul class="list-disc pl-5 space-y-1 text-sm"> <li>Basic understanding of the subject matter</li> <li>Proficiency in English language</li> <li>Computer and internet access</li> <li>Basic computer skills</li> <li>Dedication to complete the course</li> </ul> <p class="mt-2 text-sm">No prior formal qualifications required. Course designed for accessibility.</p> </div> </div> </div> <!-- Accreditation Section --> <div class="bg-white rounded-lg shadow-sm overflow-hidden border border-gray-100"> <div class="p-6"> <div class="flex items-center mb-3"> <h2 class="text-lg font-semibold text-gray-900">Course status</h2> </div> <div class="prose prose-sm prose-green max-w-none text-gray-600"> <p class="text-sm">This course provides practical knowledge and skills for professional development. It is:</p> <ul class="list-disc pl-5 space-y-1 text-sm"> <li>Not accredited by a recognized body</li> <li>Not regulated by an authorized institution</li> <li>Complementary to formal qualifications</li> </ul> <p class="mt-2 text-sm">You'll receive a certificate of completion upon successfully finishing the course.</p> </div> </div> </div> </div> <!-- Student Reviews Section (AJAX loaded) --> <div id="reviewsSection" class="my-8"> <div class="bg-white rounded-2xl shadow-md p-8"> <h2 class="text-2xl font-bold text-gray-900 mb-6">Why people choose us for their career</h2> <div id="reviewsLoading" class="text-center text-gray-500"> <div class="animate-spin rounded-full h-8 w-8 border-b-2 border-[#0056D2] mx-auto"></div> <p class="mt-2">Loading reviews...</p> </div> </div> </div> <!-- FAQ Section --> <div class="my-4"> <div class="bg-white rounded-2xl shadow-md p-4"> <h2 class="text-2xl font-bold text-gray-900 mb-3">Frequently Asked Questions</h2> <div class="grid grid-cols-1 gap-2" itemscope itemtype="https://schema.org/FAQPage"> <!-- FAQ Item 1 --> <div class="expandable-card bg-gradient-to-br from-gray-50 to-white rounded-xl shadow-sm border border-gray-100 hover:shadow-md transition-all duration-200 cursor-pointer" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> <div class="px-3 py-2 flex items-center justify-between card-header"> <h3 class="text-lg font-semibold text-gray-900" itemprop="name">What makes this course unique compared to others?</h3> <span class="expand-icon text-gray-400 transition-transform duration-200">▼</span> </div> <div class="px-3 pb-2 card-content hidden" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> <div class="text-gray-700 leading-relaxed" itemprop="text"> <p>Our course offers a focused learning experience with:</p> <ul class="list-disc pl-4 mt-0.5 space-y-0.5"> <li>Comprehensive course materials covering essential topics</li> <li>Flexible learning schedule to fit your needs</li> <li>Self-paced learning environment</li> <li>Access to course content for the duration of your enrollment</li> <li>Certificate of completion upon finishing the course</li> </ul> </div> </div> </div> <!-- FAQ Item 2 --> <div class="expandable-card bg-gradient-to-br from-gray-50 to-white rounded-xl shadow-sm border border-gray-100 hover:shadow-md transition-all duration-200 cursor-pointer" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> <div class="px-3 py-2 flex items-center justify-between card-header"> <h3 class="text-lg font-semibold text-gray-900" itemprop="name">How long does it take to complete the course?</h3> <span class="expand-icon text-gray-400 transition-transform duration-200">▼</span> </div> <div class="px-3 pb-2 card-content hidden" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> <div class="text-gray-700 leading-relaxed" itemprop="text"> <p>We offer two flexible learning paths to suit your schedule:</p> <ul class="list-disc pl-4 mt-0.5 space-y-0.5"> <li><strong>Fast Track:</strong> Complete in 1 month with 3-4 hours of study per week</li> <li><strong>Standard Mode:</strong> Complete in 2 months with 2-3 hours of study per week</li> </ul> <p class="mt-0.5">You can progress at your own pace and access the materials 24/7.</p> </div> </div> </div> <!-- FAQ Item 3 --> <div class="expandable-card bg-gradient-to-br from-gray-50 to-white rounded-xl shadow-sm border border-gray-100 hover:shadow-md transition-all duration-200 cursor-pointer" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> <div class="px-3 py-2 flex items-center justify-between card-header"> <h3 class="text-lg font-semibold text-gray-900" itemprop="name">What support will I receive during the course?</h3> <span class="expand-icon text-gray-400 transition-transform duration-200">▼</span> </div> <div class="px-3 pb-2 card-content hidden" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> <div class="text-gray-700 leading-relaxed" itemprop="text"> <p>During your course, you will have access to:</p> <ul class="list-disc pl-4 mt-0.5 space-y-0.5"> <li>24/7 access to course materials and resources</li> <li>Technical support for platform-related issues</li> <li>Email support for course-related questions</li> <li>Clear course structure and learning materials</li> </ul> <p class="mt-0.5">Please note that this is a self-paced course, and while we provide the learning materials and basic support, there is no regular feedback on assignments or projects.</p> </div> </div> </div> <!-- FAQ Item 4 --> <div class="expandable-card bg-gradient-to-br from-gray-50 to-white rounded-xl shadow-sm border border-gray-100 hover:shadow-md transition-all duration-200 cursor-pointer" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> <div class="px-3 py-2 flex items-center justify-between card-header"> <h3 class="text-lg font-semibold text-gray-900" itemprop="name">Is the certificate recognized internationally?</h3> <span class="expand-icon text-gray-400 transition-transform duration-200">▼</span> </div> <div class="px-3 pb-2 card-content hidden" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> <div class="text-gray-700 leading-relaxed" itemprop="text"> <p>This program is designed to provide valuable insight and information that can be directly applied to your job role. However, it is not intended to replace or serve as an equivalent to obtaining a formal degree or diploma. Additionally, it should be noted that this course is not accredited by a recognised awarding body or regulated by an authorised institution/body.</p> <p class="mt-0.5">What you will gain from this course:</p> <ul class="list-disc pl-4 mt-0.5 space-y-0.5"> <li>Knowledge and understanding of the subject matter</li> <li>A certificate of completion to showcase your commitment to learning</li> <li>Self-paced learning experience</li> <li>Access to comprehensive course materials</li> <li>Understanding of key concepts and principles in the field</li> </ul> <p class="mt-0.5">While this course provides valuable learning opportunities, it should be viewed as complementary to, rather than a replacement for, formal academic qualifications.</p> </div> </div> </div> <!-- FAQ Item 5 --> <div class="expandable-card bg-gradient-to-br from-gray-50 to-white rounded-xl shadow-sm border border-gray-100 hover:shadow-md transition-all duration-200 cursor-pointer" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> <div class="px-3 py-2 flex items-center justify-between card-header"> <h3 class="text-lg font-semibold text-gray-900" itemprop="name">What career opportunities will this course open up?</h3> <span class="expand-icon text-gray-400 transition-transform duration-200">▼</span> </div> <div class="px-3 pb-2 card-content hidden" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> <div class="text-gray-700 leading-relaxed" itemprop="text"> <p>This course provides knowledge and understanding in the subject area, which can be valuable for:</p> <ul class="list-disc pl-4 mt-0.5 space-y-0.5"> <li>Enhancing your understanding of the field</li> <li>Adding to your professional development portfolio</li> <li>Demonstrating your commitment to learning</li> <li>Building foundational knowledge in the subject</li> <li>Supporting your existing career path</li> </ul> <p class="mt-0.5">Please note that while this course provides valuable knowledge, it does not guarantee specific career outcomes or job placements. The value of the course will depend on how you apply the knowledge gained in your professional context.</p> </div> </div> </div> <!-- FAQ Item 6 --> <div class="expandable-card bg-gradient-to-br from-gray-50 to-white rounded-xl shadow-sm border border-gray-100 hover:shadow-md transition-all duration-200 cursor-pointer" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> <div class="px-3 py-2 flex items-center justify-between card-header"> <h3 class="text-lg font-semibold text-gray-900" itemprop="name">When can I start the course?</h3> <span class="expand-icon text-gray-400 transition-transform duration-200">▼</span> </div> <div class="px-3 pb-2 card-content hidden" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> <div class="text-gray-700 leading-relaxed" itemprop="text"> <p>We offer immediate access to our course materials through our open enrollment system. This means:</p> <ul class="list-disc pl-4 mt-0.5 space-y-0.5"> <li>The course starts as soon as you pay course fee, instantly</li> <li>No waiting periods or fixed start dates</li> <li>Instant access to all course materials upon payment</li> <li>Flexibility to begin at your convenience</li> </ul> <p class="mt-0.5">This self-paced approach allows you to begin your professional development journey immediately, fitting your learning around your existing commitments.</p> </div> </div> </div> <!-- FAQ Item 7 --> <div class="expandable-card bg-gradient-to-br from-gray-50 to-white rounded-xl shadow-sm border border-gray-100 hover:shadow-md transition-all duration-200 cursor-pointer" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question"> <div class="px-3 py-2 flex items-center justify-between card-header"> <h3 class="text-lg font-semibold text-gray-900" itemprop="name">What is the course format and learning approach?</h3> <span class="expand-icon text-gray-400 transition-transform duration-200">▼</span> </div> <div class="px-3 pb-2 card-content hidden" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer"> <div class="text-gray-700 leading-relaxed" itemprop="text"> <p>Our course is designed as a comprehensive self-study program that offers:</p> <ul class="list-disc pl-4 mt-0.5 space-y-0.5"> <li>Structured learning materials accessible 24/7</li> <li>Comprehensive course content for self-paced study</li> <li>Flexible learning schedule to fit your lifestyle</li> <li>Access to all necessary resources and materials</li> </ul> <p class="mt-0.5">This self-directed learning approach allows you to progress at your own pace, making it ideal for busy professionals who need flexibility in their learning schedule. While there are no live classes or practical sessions, the course materials are designed to provide a thorough understanding of the subject matter through self-study.</p> </div> </div> </div> </div> </div> </div> </div> <!-- Sidebar --> <div class="space-y-6"> <!-- Debug line --> <div class="hidden">Debug: False</div> <!-- Podcast Box --> <!-- Skills Gained Box (replaces Course Information) --> <!-- Pricing Box --> <div class="course-fee-section bg-gradient-to-br from-blue-100/60 to-indigo-100/40 rounded-2xl shadow-xl border border-blue-200/40 p-1"> <div class="bg-white rounded-2xl p-6 md:p-8 shadow-lg"> <h3 class="text-2xl font-extrabold text-gray-900 mb-7 tracking-tight">Course fee</h3> <div class="space-y-7"> <!-- Fast Track --> <div class="relative rounded-xl border border-gray-200 bg-white shadow-md p-4 transition-transform hover:scale-[1.02] hover:shadow-2xl duration-200"> <div class="flex justify-end mb-2"> <span class="inline-flex items-center gap-1.5 bg-gradient-to-r from-green-500 via-emerald-400 to-lime-400 text-white text-xs font-extrabold px-3 py-1 rounded-full shadow-xl ring-1 ring-green-300/40 tracking-wider uppercase animate-pulse"> <svg class="w-3.5 h-3.5 text-white drop-shadow" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/></svg> MOST POPULAR </span> </div> <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between mb-1 gap-2"> <span class="text-2xl font-extrabold text-gray-900">Fast Track</span> <span class="text-3xl font-black text-gray-900 flex items-baseline whitespace-nowrap"><span class="mr-1 text-[1.25rem]"></span>149</span> </div> <div class="text-base text-gray-500 font-medium mb-2">Complete in 1 month</div> <div class="inline-flex items-center bg-green-100 text-green-800 font-semibold text-base rounded-lg px-3 py-1.5 mb-2 shadow-sm"> <svg class="w-4 h-4 mr-2 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/></svg> Accelerated Learning Path </div> <ul class="text-sm text-gray-700 space-y-1 mb-3"> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>3-4 hours per week</li> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>Early certificate delivery</li> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>Open enrollment - start anytime</li> </ul> <a href="https://certificates.LSPM.org.uk/ExternalApi/GenerateCourseByTitle?CourseTitle=Certified Professional in Reverse Logistics Returns Performance" target="_blank" class="w-full block text-center py-[0.6rem] rounded-lg bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 text-[1.01rem] text-white shadow-lg transition-all duration-200 tracking-wide">Start Now</a> </div> <!-- Standard Mode --> <div class="rounded-xl border border-gray-200 bg-white shadow p-4"> <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between mb-1 gap-2"> <span class="text-2xl font-extrabold text-gray-900">Standard Mode</span> <span class="text-3xl font-black text-gray-900 flex items-baseline whitespace-nowrap"><span class="mr-1 text-[1.25rem]"></span>99</span> </div> <div class="text-base text-gray-500 font-medium mb-2">Complete in 2 months</div> <div class="inline-flex items-center bg-blue-100 text-blue-800 font-semibold text-base rounded-lg px-3 py-1.5 mb-2 shadow-sm"> <svg class="w-4 h-4 mr-2 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8h2a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2v-8a2 2 0 012-2h2"/></svg> Flexible Learning Pace </div> <ul class="text-sm text-gray-700 space-y-1 mb-3"> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>2-3 hours per week</li> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>Regular certificate delivery</li> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>Open enrollment - start anytime</li> </ul> <a href="https://certificates.LSPM.org.uk/ExternalApi/GenerateCourseByTitle?CourseTitle=Certified Professional in Reverse Logistics Returns Performance" target="_blank" class="w-full block text-center py-[0.6rem] rounded-lg bg-gradient-to-r from-blue-600 to-indigo-600 hover:from-blue-700 hover:to-indigo-700 text-[1.01rem] text-white shadow-lg transition-all duration-200 tracking-wide">Start Now</a> </div> <!-- Included in both plans --> <div class="rounded-xl border border-gray-100 bg-gradient-to-r from-gray-50 to-white shadow p-3"> <div class="font-bold text-gray-900 mb-1 text-base">What's included in both plans:</div> <ul class="text-sm text-gray-700 space-y-1"> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>Full course access</li> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>Digital certificate</li> <li class="flex items-center"><svg class="w-4 h-4 text-green-500 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/></svg>Course materials</li> </ul> </div> <div class="text-xs text-gray-500 mb-4 text-center font-medium">All-Inclusive Pricing • No hidden fees or additional costs</div> </div> </div> </div> <!-- Email Form Box --> <div class="bg-white rounded-xl shadow-sm overflow-hidden"> <div class="p-6"> <h3 class="text-lg font-semibold text-gray-900 mb-4">Get course information</h3> <form method="post" class="space-y-4" action="/Course/SendCourseEmail"> <input type="hidden" name="id" value="175617" /> <div> <label for="email" class="block text-sm font-medium text-gray-700 mb-1">Your Email Address</label> <div class="relative rounded-md shadow-sm"> <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> <svg class="h-5 w-5 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207" /> </svg> </div> <input type="email" name="email" id="email" required class="block w-full pl-10 pr-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-[#0056D2] focus:border-[#0056D2] sm:text-sm transition duration-150 ease-in-out" placeholder="Enter your email address"> </div> <p class="mt-1 text-sm text-gray-500">We'll send you detailed course information</p> </div> <button type="submit" class="w-full inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"> Get Information </button> <input name="__RequestVerificationToken" type="hidden" value="CfDJ8GwbN27tVANLiR5JxN8BI_raNoLDee0FLNF5-RypJ5Q6avSXqAh6cVLFQPiB61aeQfCn8nRipFgjn0M4K1sU6Hnz5sIBwci5JgiP5x_z8tII0nfqFxCq8729tzPcNa-8TpdI-d3n6EQkHKbRYfIWtGY" /></form> </div> </div> <!-- Pay as a company Box --> <div class="bg-white rounded-xl shadow-sm overflow-hidden"> <div class="p-6"> <h3 class="text-lg font-semibold text-gray-900 mb-4">Pay as a company</h3> <p class="text-sm text-gray-600 mb-4">Request an invoice for your company to pay for this course.</p> <a class="w-full inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" href="/Invoice?courseId=175617"> Pay by Invoice </a> </div> </div> <!-- Sample Certificate Box --> <div class="bg-white rounded-xl shadow-sm overflow-hidden"> <div class="p-6"> <h3 class="text-lg font-semibold text-gray-900 mb-4">Earn a career certificate</h3> <div class="w-full max-w-md mx-auto relative" style="aspect-ratio:1/1.414;"> <img src="/uploads/certificate-backgrounds/44a7d9f0-871e-492d-9398-267933a20186_LSPM-001.jpg" alt="Sample Certificate Background" class="w-full h-full rounded-xl border border-gray-200 object-cover" onerror="this.onerror=null; this.src='/images/certificate-bg.jpg';" loading="lazy" width="600" height="850" /> <div class="absolute inset-0 flex flex-col items-center justify-center px-4 py-8 text-center pointer-events-none select-none"> <div class="text-sm md:text-lg font-bold text-gray-900 mb-2 drop-shadow-sm">CERTIFIED PROFESSIONAL IN REVERSE LOGISTICS RETURNS PERFORMANCE</div> <div class="text-xs md:text-sm text-gray-800 mb-0.5">is awarded to</div> <div class="text-sm md:text-lg font-bold text-gray-900 mb-1">Learner Name</div> <div class="text-[11px] md:text-xs text-gray-800 mb-0.5">who has completed a programme at</div> <div class="text-[11px] md:text-xs font-semibold text-gray-900 mb-2">Education Training | London School of Planning and Management (LSPM)</div> <div class="text-[11px] md:text-xs text-gray-800 mb-0.5">Awarded on</div> <div class="text-[11px] md:text-xs font-semibold text-gray-900 mb-1">05 May 2025</div> <div class="text-[9px] md:text-[10px] text-gray-700 mt-1">Blockchain Id: s-1-a-2-m-3-p-4-l-5-e</div> </div> </div> <div class="mt-4 text-sm text-gray-600"> Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review. </div> </div> </div> </div> </div> </div> </div> <style> /* .prose { max-width: 65ch; color: #374151; } .prose h1, .prose h2, .prose h3, .prose h4 { color: #111827; font-weight: 600; margin-top: 1.5em; margin-bottom: 0.5em; } .prose p { margin-top: 1.25em; margin-bottom: 1.25em; } .prose ul { margin-top: 1.25em; margin-bottom: 1.25em; list-style-type: disc; padding-left: 1.625em; } .prose li { margin-top: 0.5em; margin-bottom: 0.5em; } */ .glass-card { background: rgba(255, 255, 255, 0.35); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.18); padding: 1rem; transition: box-shadow 0.3s, transform 0.3s; } .glass-card:hover { box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25); transform: translateY(-2px) scale(1.03); } .course-fee-section { font-size: 95%; } </style> <!-- Add chat component at the end of the body --> </script> <script> (function() { 'use strict'; // Get the API endpoint from the business info const API_ENDPOINT = 'https://reactor.LSIB.co.uk/api/process-page'; const API_KEY = '1234'; // <-- Set this to match your appsettings.json // Debug: Log the API endpoint being used console.log('API_ENDPOINT from BusinessInfo:', 'https://reactor.LSIB.co.uk/api/process-page'); console.log('Final API_ENDPOINT value:', API_ENDPOINT); console.log('BusinessInfo object:', {"id":1,"businessName":"Education Training | London School of Planning and Management (LSPM)","location":"London, United Kingdom (U.K.)","isActive":true,"updatedAt":"2025-07-30T10:50:39.287","updatedBy":null,"emailAddress":"admissions@LSPM.org.uk","smtpServer":null,"smtpPort":null,"smtpUsername":"LSPM","smtpPassword":"md-9dtwpX.91IN676p8thZfIA","enableSsl":false,"footerColor":"#1e3a8a","loginUrl":"https://certificates.LSPM.org.uk/Account/Login","homeTitle":null,"homeMetaKeywords":null,"homeMetaDescription":null,"homeOGTitle":null,"homeOGDescription":null,"homeOGImageUrl":null,"homeTwitterTitle":null,"homeTwitterDescription":null,"homeTwitterImageUrl":null,"homeCanonicalUrl":null,"searchTitle":null,"searchMetaKeywords":null,"searchMetaDescription":null,"searchOGTitle":null,"searchOGDescription":null,"searchOGImageUrl":null,"searchTwitterTitle":null,"searchTwitterDescription":null,"searchTwitterImageUrl":null,"searchCanonicalUrl":null,"domainName":"https://www.education-training.org","showExpertConversations":false,"defaultFee1":"149","defaultFee2":"99","currency":null,"logoHeightInEmail":60,"logoHeightInWebsite":80,"reactorURL":"https://reactor.LSIB.co.uk/api/process-page"}); function init() { if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', processPage); } else { processPage(); } } function processPage() { const h1Element = document.querySelector('h1'); if (!h1Element) { console.log('No H1 element found'); return; } const title = h1Element.textContent.trim(); const url = window.location.href; console.log('Found title:', title); console.log('Current URL:', url); console.log('Sending to API...'); sendToAPI(title, url); } function sendToAPI(title, url) { const payload = { title: title, url: url, timestamp: new Date().toISOString(), userAgent: navigator.userAgent, referrer: document.referrer, website: window.location.hostname }; fetch(API_ENDPOINT, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-API-Key': API_KEY }, body: JSON.stringify(payload) }) .then(response => { console.log('API Response status:', response.status); if (response.ok) { console.log('Course title processed successfully'); return response.json(); } else { return response.json().then(data => { console.log('API error:', data); throw new Error(data.message || 'API request failed'); }); } }) .then(data => { if (data) { console.log('API Response data:', data); } }) .catch(error => { console.log('API call failed:', error.message); }); } init(); })(); </script> </main> <footer b-u4k2yyhrco class="text-white py-8 mt-12 shadow-inner" style="background: linear-gradient(to right, #1e3a8a, #0A2676, #1e3a8a);"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" crossorigin="anonymous" /> <div b-u4k2yyhrco class="max-w-7xl mx-auto px-4 flex flex-col md:flex-row items-center justify-between"> <div b-u4k2yyhrco class="text-left w-full md:w-auto mb-4 md:mb-0"> <span b-u4k2yyhrco class="text-xs md:text-sm" style="font-family: 'Source Sans Pro', sans-serif; font-weight: 400;"> © 2025 Education Training | London School of Planning and Management (LSPM), London, United Kingdom (U.K.). All rights reserved. </span> </div> <div b-u4k2yyhrco class="flex flex-col md:flex-row md:items-center md:space-x-6 space-y-2 md:space-y-0 mb-4 md:mb-0"> <a b-u4k2yyhrco href="/CookiePolicy" class="text-white hover:text-blue-300 text-xs md:text-sm transition-colors">Cookie Policy</a> <a b-u4k2yyhrco href="/TermsAndConditions" class="text-white hover:text-blue-300 text-xs md:text-sm transition-colors">Terms and Conditions</a> <a b-u4k2yyhrco href="/PrivacyPolicy" class="text-white hover:text-blue-300 text-xs md:text-sm transition-colors">Privacy Policy</a> </div> <div b-u4k2yyhrco class="flex space-x-2"> <a b-u4k2yyhrco href="#" class="hover:text-blue-300" aria-label="Facebook"><span b-u4k2yyhrco class="fa-stack fa-sm"><i b-u4k2yyhrco class="fa fa-circle fa-stack-2x"></i><i b-u4k2yyhrco class="fab fa-facebook-f fa-stack-1x fa-inverse"></i></span></a> <a b-u4k2yyhrco href="#" class="hover:text-blue-300" aria-label="LinkedIn"><span b-u4k2yyhrco class="fa-stack fa-sm"><i b-u4k2yyhrco class="fa fa-circle fa-stack-2x"></i><i b-u4k2yyhrco class="fab fa-linkedin-in fa-stack-1x fa-inverse"></i></span></a> <a b-u4k2yyhrco href="#" class="hover:text-blue-300" aria-label="Twitter"><span b-u4k2yyhrco class="fa-stack fa-sm"><i b-u4k2yyhrco class="fa fa-circle fa-stack-2x"></i><i b-u4k2yyhrco class="fab fa-twitter fa-stack-1x fa-inverse"></i></span></a> <a b-u4k2yyhrco href="#" class="hover:text-blue-300" aria-label="YouTube"><span b-u4k2yyhrco class="fa-stack fa-sm"><i b-u4k2yyhrco class="fa fa-circle fa-stack-2x"></i><i b-u4k2yyhrco class="fab fa-youtube fa-stack-1x fa-inverse"></i></span></a> <a b-u4k2yyhrco href="#" class="hover:text-blue-300" aria-label="Instagram"><span b-u4k2yyhrco class="fa-stack fa-sm"><i b-u4k2yyhrco class="fa fa-circle fa-stack-2x"></i><i b-u4k2yyhrco class="fab fa-instagram fa-stack-1x fa-inverse"></i></span></a> <a b-u4k2yyhrco href="#" class="hover:text-blue-300" aria-label="TikTok"><span b-u4k2yyhrco class="fa-stack fa-sm"><i b-u4k2yyhrco class="fa fa-circle fa-stack-2x"></i><i b-u4k2yyhrco class="fab fa-tiktok fa-stack-1x fa-inverse"></i></span></a> </div> </div> </footer> <script src="/lib/jquery/dist/jquery.min.js"></script> <script src="/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script> <script src="/js/site.js?v=A737-k1pX9B2yFFBbneQUFGJReicnh-tJm0UWdMs4Ck"></script> <script src="/lib/microsoft/signalr/dist/browser/signalr.js" defer></script> <script src="/js/chat.js" defer></script> <script> // FAQ Toggle Function with improved reliability document.addEventListener('DOMContentLoaded', function() { const faqButtons = document.querySelectorAll('.faq-button'); faqButtons.forEach(button => { button.addEventListener('click', function() { const faqItem = this.closest('.faq-item'); const content = faqItem.querySelector('.faq-content'); const icon = faqItem.querySelector('.faq-icon'); // Toggle content visibility content.classList.toggle('hidden'); // Toggle icon rotation icon.classList.toggle('rotate-180'); // Add active state to the button this.classList.toggle('active'); }); }); }); const connection = new signalR.HubConnectionBuilder() .withUrl("/courseHub") .build(); connection.on("ReceiveCourseOverview", (courseId, overview) => { if (courseId === 175617) { const overviewElement = document.getElementById('courseOverview'); const preloader = document.getElementById('overviewPreloader'); if (overviewElement && preloader) { overviewElement.innerHTML = overview; preloader.style.display = 'none'; overviewElement.style.display = 'block'; } } }); // Remove the TitleSEOUpdated SignalR handler and add polling function pollTitleSEO() { fetch(`/Course/GetTitleSEO/${175617}`) .then(response => response.text()) .then(titleSEO => { if (titleSEO && titleSEO.trim() !== '') { // Update the page title document.title = titleSEO; // Update meta title const metaTitle = document.querySelector('meta[name="title"]'); if (metaTitle) { metaTitle.setAttribute('content', titleSEO); } // Update Open Graph title const ogTitle = document.querySelector('meta[property="og:title"]'); if (ogTitle) { ogTitle.setAttribute('content', titleSEO); } // Update Twitter title const twitterTitle = document.querySelector('meta[name="twitter:title"]'); if (twitterTitle) { twitterTitle.setAttribute('content', titleSEO); } } else { // If title is still empty, poll again after 2 seconds setTimeout(pollTitleSEO, 2000); } }) .catch(error => { console.error('Error polling TitleSEO:', error); setTimeout(pollTitleSEO, 2000); }); } // Start polling if TitleSEO is empty if (!True.ToString().toLowerCase()) { pollTitleSEO(); } connection.on("DescriptionUpdated", (courseId, description) => { if (courseId === 175617) { const descriptionElement = document.getElementById('courseDescription'); const preloader = document.getElementById('descriptionPreloader'); if (descriptionElement && preloader) { descriptionElement.innerHTML = description; preloader.style.display = 'none'; descriptionElement.style.display = 'block'; } } }); connection.on("CourseDetailsUpdated", (courseId, details) => { if (courseId === 175617) { const courseDetailsElement = document.getElementById('courseDetails'); const preloaderElement = document.getElementById('courseDetailsPreloader'); if (courseDetailsElement && preloaderElement) { courseDetailsElement.innerHTML = details; preloaderElement.style.display = 'none'; } } }); connection.on("CareerPathUpdated", (courseId, careerPath) => { if (courseId === 175617) { const careerPathElement = document.getElementById('careerPath'); const preloaderElement = document.getElementById('careerPathPreloader'); if (careerPathElement && preloaderElement) { careerPathElement.innerHTML = careerPath; preloaderElement.style.display = 'none'; } } }); connection.start() .then(() => console.log("SignalR Connected")) .catch(err => console.error("SignalR Connection Error: ", err)); </script> <script> document.addEventListener('DOMContentLoaded', function() { const courseId = 175617; // Load Reviews function loadReviews() { fetch(`/Course/GetReviewsText/${courseId}`) .then(response => { if (!response.ok) throw new Error('No reviews'); return response.json(); }) .then(reviews => { const reviewsSection = document.getElementById('reviewsSection'); if (!Array.isArray(reviews) || reviews.length === 0) { reviewsSection.innerHTML = ` <div class="bg-white rounded-2xl shadow-md p-8"> <h2 class="text-2xl font-bold text-gray-900 mb-6">Why people choose us for their career</h2> <div class="text-center text-gray-500">No reviews available.</div> </div>`; return; } let html = ` <div class="bg-white rounded-2xl shadow-md p-8"> <h2 class="text-2xl font-bold text-gray-900 mb-6">Why people choose us for their career</h2> <div class="space-y-6">`; reviews.forEach(review => { html += ` <div class="bg-gradient-to-br from-white to-gray-50 rounded-xl shadow-sm p-6 border border-gray-100 hover:shadow-md transition-shadow duration-200"> <div class="flex items-center mb-3"> <span class="text-2xl mr-3">${countryCodeToFlagEmoji(review.countryCode)}</span> <div> <span class="font-semibold text-lg text-gray-900">${review.name}</span> <span class="ml-2 px-2 py-0.5 rounded-full bg-blue-50 text-blue-700 text-xs font-medium uppercase tracking-wide">${review.countryCode ? review.countryCode.toUpperCase() : ''}</span> </div> <div class="ml-auto flex items-center"> <div class="flex items-center"> ${generateStarRating(review.rating)} </div> <span class="ml-2 text-sm text-gray-600">${review.rating.toFixed(1)}</span> </div> </div> <div class="text-gray-700 text-base leading-relaxed italic pl-11"> " ${review.review} " </div> </div>`; }); html += ` </div> </div>`; reviewsSection.innerHTML = html; }) .catch(() => { const reviewsSection = document.getElementById('reviewsSection'); reviewsSection.innerHTML = ` <div class="bg-white rounded-2xl shadow-md p-8"> <h2 class="text-2xl font-bold text-gray-900 mb-6">Why people choose us for their career</h2> <div class="text-center text-gray-500">Unable to load reviews at this time.</div> </div>`; }); } // Load Podcast function loadPodcast() { fetch(`/Course/CheckPodcastStatus/${courseId}`) .then(response => response.json()) .then(data => { const podcastContainer = document.getElementById('podcastContainer'); if (data.status === 'ready') { podcastContainer.innerHTML = ` <audio id="podcastPlayer" controls class="w-full" preload="auto"> <source src="/Course/GetPodcastAudio/${courseId}" type="audio/mpeg"> Your browser does not support the audio element. </audio> <div class="flex justify-end items-center mt-2 mb-2"> <a href="#" id="toggleTranscript" class="text-blue-600 hover:underline text-xs font-medium">Show transcript</a> </div> <p class="text-sm text-gray-600 mb-4">Listen to industry experts discuss key concepts and real-world applications of this course</p> <div id="transcript" class="mt-2 hidden bg-gray-50 border border-gray-200 rounded-lg p-4 text-gray-900 text-sm max-h-48 overflow-y-auto"> Loading transcript... </div> `; // Load transcript fetch(`/Course/GetPodcastTranscript/${courseId}`) .then(response => response.text()) .then(content => { const transcript = document.getElementById('transcript'); if (transcript) { // Format the transcript content const formattedContent = content .split('\n') .map(line => { if (line.startsWith('HOST:')) { return `<div class="mb-2"><span class="font-semibold text-blue-700">HOST:</span> ${line.substring(5).trim()}</div>`; } else if (line.startsWith('GUEST:')) { return `<div class="mb-3"><span class="font-semibold text-green-700">GUEST:</span> ${line.substring(6).trim()}</div>`; } return line; }) .join(''); transcript.innerHTML = formattedContent; } }); // Setup transcript toggle const toggleButton = document.getElementById('toggleTranscript'); const transcript = document.getElementById('transcript'); if (toggleButton && transcript) { toggleButton.addEventListener('click', function(e) { e.preventDefault(); const isHidden = transcript.classList.contains('hidden'); transcript.classList.toggle('hidden'); toggleButton.textContent = isHidden ? 'Hide transcript' : 'Show transcript'; }); } } else { podcastContainer.innerHTML = ` <div class="text-center py-4"> <div class="animate-spin rounded-full h-8 w-8 border-b-2 border-[#0056D2] mx-auto"></div> <p class="mt-2 text-sm text-gray-600">Generating podcast...</p> </div> `; // Check status again in 5 seconds setTimeout(loadPodcast, 5000); } }) .catch(error => { console.error('Error loading podcast:', error); const podcastContainer = document.getElementById('podcastContainer'); podcastContainer.innerHTML = ` <div class="text-center py-4"> <p class="text-sm text-red-600">Error loading podcast. Please try again later.</p> </div> `; }); } // Helper to convert country code to emoji flag function countryCodeToFlagEmoji(code) { if (!code || code.length !== 2) return ''; return String.fromCodePoint(0x1F1E6 + code.toUpperCase().charCodeAt(0) - 65) + String.fromCodePoint(0x1F1E6 + code.toUpperCase().charCodeAt(1) - 65); } function generateStarRating(rating) { let stars = ''; const fullStars = Math.floor(rating); const hasHalfStar = rating % 1 >= 0.5; // Add full stars for (let i = 0; i < fullStars; i++) { stars += `<svg class="w-5 h-5 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"> <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/> </svg>`; } // Add half star if needed if (hasHalfStar) { stars += `<svg class="w-5 h-5 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"> <defs> <linearGradient id="halfStar"> <stop offset="50%" stop-color="currentColor"/> <stop offset="50%" stop-color="#D1D5DB"/> </linearGradient> </defs> <path fill="url(#halfStar)" d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/> </svg>`; } // Add empty stars const emptyStars = 5 - fullStars - (hasHalfStar ? 1 : 0); for (let i = 0; i < emptyStars; i++) { stars += `<svg class="w-5 h-5 text-gray-300" fill="currentColor" viewBox="0 0 20 20"> <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/> </svg>`; } return stars; } // Start loading both sections loadReviews(); loadPodcast(); // AJAX call to update Fee2 if needed fetch('/Course/UpdateFee2IfNeeded', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'RequestVerificationToken': document.querySelector('input[name="__RequestVerificationToken"]')?.value || '' }, body: 'id=' + encodeURIComponent(175617) }); // AJAX call to update Fee1 if needed fetch('/Course/UpdateFee1IfNeeded', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'RequestVerificationToken': document.querySelector('input[name="__RequestVerificationToken"]')?.value || '' }, body: 'id=' + encodeURIComponent(175617) }); // Add AJAX call for Duration1 update // AJAX call to update Duration1 if needed fetch('/Course/UpdateDuration1IfNeeded', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'RequestVerificationToken': document.querySelector('input[name="__RequestVerificationToken"]')?.value || '' }, body: 'id=' + encodeURIComponent(175617) }); // Add AJAX call for Duration2 update // AJAX call to update Duration2 if needed fetch('/Course/UpdateDuration2IfNeeded', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'RequestVerificationToken': document.querySelector('input[name=\"__RequestVerificationToken\"]')?.value || '' }, body: 'id=' + encodeURIComponent(175617) }); }); </script> <script> document.addEventListener('DOMContentLoaded', function() { const courseId = 175617; // Load Reviews function loadReviews() { fetch(`/Course/GetReviewsText/${courseId}`) .then(response => { if (!response.ok) throw new Error('No reviews'); return response.json(); }) .then(reviews => { const reviewsSection = document.getElementById('reviewsSection'); if (!Array.isArray(reviews) || reviews.length === 0) { reviewsSection.innerHTML = ` <div class="bg-white rounded-2xl shadow-md p-8"> <h2 class="text-2xl font-bold text-gray-900 mb-6">Why people choose us for their career</h2> <div class="text-center text-gray-500">No reviews available.</div> </div>`; return; } let html = ` <div class="bg-white rounded-2xl shadow-md p-8"> <h2 class="text-2xl font-bold text-gray-900 mb-6">Why people choose us for their career</h2> <div class="space-y-6">`; reviews.forEach(review => { html += ` <div class="bg-gradient-to-br from-white to-gray-50 rounded-xl shadow-sm p-6 border border-gray-100 hover:shadow-md transition-shadow duration-200"> <div class="flex items-center mb-3"> <span class="text-2xl mr-3">${countryCodeToFlagEmoji(review.countryCode)}</span> <div> <span class="font-semibold text-lg text-gray-900">${review.name}</span> <span class="ml-2 px-2 py-0.5 rounded-full bg-blue-50 text-blue-700 text-xs font-medium uppercase tracking-wide">${review.countryCode ? review.countryCode.toUpperCase() : ''}</span> </div> <div class="ml-auto flex items-center"> <div class="flex items-center"> ${generateStarRating(review.rating)} </div> <span class="ml-2 text-sm text-gray-600">${review.rating.toFixed(1)}</span> </div> </div> <div class="text-gray-700 text-base leading-relaxed italic pl-11"> " ${review.review} " </div> </div>`; }); html += ` </div> </div>`; reviewsSection.innerHTML = html; }) .catch(() => { const reviewsSection = document.getElementById('reviewsSection'); reviewsSection.innerHTML = ` <div class="bg-white rounded-2xl shadow-md p-8"> <h2 class="text-2xl font-bold text-gray-900 mb-6">Why people choose us for their career</h2> <div class="text-center text-gray-500">Unable to load reviews at this time.</div> </div>`; }); } // Load Podcast function loadPodcast() { fetch(`/Course/CheckPodcastStatus/${courseId}`) .then(response => response.json()) .then(data => { const podcastContainer = document.getElementById('podcastContainer'); if (data.status === 'ready') { podcastContainer.innerHTML = ` <audio id="podcastPlayer" controls class="w-full" preload="auto"> <source src="/Course/GetPodcastAudio/${courseId}" type="audio/mpeg"> Your browser does not support the audio element. </audio> <div class="flex justify-end items-center mt-2 mb-2"> <a href="#" id="toggleTranscript" class="text-blue-600 hover:underline text-xs font-medium">Show transcript</a> </div> <p class="text-sm text-gray-600 mb-4">Listen to industry experts discuss key concepts and real-world applications of this course</p> <div id="transcript" class="mt-2 hidden bg-gray-50 border border-gray-200 rounded-lg p-4 text-gray-900 text-sm max-h-48 overflow-y-auto"> Loading transcript... </div> `; // Load transcript fetch(`/Course/GetPodcastTranscript/${courseId}`) .then(response => response.text()) .then(content => { const transcript = document.getElementById('transcript'); if (transcript) { // Format the transcript content const formattedContent = content .split('\n') .map(line => { if (line.startsWith('HOST:')) { return `<div class="mb-2"><span class="font-semibold text-blue-700">HOST:</span> ${line.substring(5).trim()}</div>`; } else if (line.startsWith('GUEST:')) { return `<div class="mb-3"><span class="font-semibold text-green-700">GUEST:</span> ${line.substring(6).trim()}</div>`; } return line; }) .join(''); transcript.innerHTML = formattedContent; } }); // Setup transcript toggle const toggleButton = document.getElementById('toggleTranscript'); const transcript = document.getElementById('transcript'); if (toggleButton && transcript) { toggleButton.addEventListener('click', function(e) { e.preventDefault(); const isHidden = transcript.classList.contains('hidden'); transcript.classList.toggle('hidden'); toggleButton.textContent = isHidden ? 'Hide transcript' : 'Show transcript'; }); } } else { podcastContainer.innerHTML = ` <div class="text-center py-4"> <div class="animate-spin rounded-full h-8 w-8 border-b-2 border-[#0056D2] mx-auto"></div> <p class="mt-2 text-sm text-gray-600">Generating podcast...</p> </div> `; // Check status again in 5 seconds setTimeout(loadPodcast, 5000); } }) .catch(error => { console.error('Error loading podcast:', error); const podcastContainer = document.getElementById('podcastContainer'); podcastContainer.innerHTML = ` <div class="text-center py-4"> <p class="text-sm text-red-600">Error loading podcast. Please try again later.</p> </div> `; }); } // Helper to convert country code to emoji flag function countryCodeToFlagEmoji(code) { if (!code || code.length !== 2) return ''; return String.fromCodePoint(0x1F1E6 + code.toUpperCase().charCodeAt(0) - 65) + String.fromCodePoint(0x1F1E6 + code.toUpperCase().charCodeAt(1) - 65); } function generateStarRating(rating) { let stars = ''; const fullStars = Math.floor(rating); const hasHalfStar = rating % 1 >= 0.5; // Add full stars for (let i = 0; i < fullStars; i++) { stars += `<svg class="w-5 h-5 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"> <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/> </svg>`; } // Add half star if needed if (hasHalfStar) { stars += `<svg class="w-5 h-5 text-yellow-400" fill="currentColor" viewBox="0 0 20 20"> <defs> <linearGradient id="halfStar"> <stop offset="50%" stop-color="currentColor"/> <stop offset="50%" stop-color="#D1D5DB"/> </linearGradient> </defs> <path fill="url(#halfStar)" d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/> </svg>`; } // Add empty stars const emptyStars = 5 - fullStars - (hasHalfStar ? 1 : 0); for (let i = 0; i < emptyStars; i++) { stars += `<svg class="w-5 h-5 text-gray-300" fill="currentColor" viewBox="0 0 20 20"> <path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/> </svg>`; } return stars; } // Start loading both sections loadReviews(); loadPodcast(); }); </script> <script> // Add polling for career path updates function pollCareerPath() { fetch(`/Course/GetCareerPath/${175617}`) .then(response => response.text()) .then(careerPath => { if (careerPath && careerPath.trim() !== '') { const careerPathElement = document.getElementById('careerPath'); const preloaderElement = document.getElementById('careerPathPreloader'); if (careerPathElement && preloaderElement) { careerPathElement.innerHTML = careerPath; preloaderElement.style.display = 'none'; } } else { setTimeout(pollCareerPath, 2000); // Poll every 2 seconds } }) .catch(error => { console.error('Error polling career path:', error); setTimeout(pollCareerPath, 2000); }); } // Start polling if career path is empty if (document.getElementById('careerPathPreloader')) { pollCareerPath(); } </script> <script> // Add polling for course details updates function pollCourseDetails() { fetch(`/Course/GetCourseDetails/${175617}`) .then(response => response.text()) .then(courseDetails => { if (courseDetails && courseDetails.trim() !== '') { const courseDetailsElement = document.getElementById('courseDetails'); const preloaderElement = document.getElementById('courseDetailsPreloader'); if (courseDetailsElement && preloaderElement) { courseDetailsElement.innerHTML = courseDetails; preloaderElement.style.display = 'none'; } } else { setTimeout(pollCourseDetails, 2000); // Poll every 2 seconds } }) .catch(error => { console.error('Error polling course details:', error); setTimeout(pollCourseDetails, 2000); }); } // Start polling if course details is empty if (document.getElementById('courseDetailsPreloader')) { pollCourseDetails(); } // Optimized Dynamic Viewer Count (function initializeViewerCount() { const viewersElement = document.getElementById('currentViewers'); if (!viewersElement) return; // Constants const MIN_VIEWERS = 10; const MAX_VIEWERS = 50; const UPDATE_INTERVAL = 5000; // 5 seconds const CHANGE_PROBABILITY = 0.7; // 70% chance of change // Initialize with a random number let currentViewers = Math.floor(Math.random() * (MAX_VIEWERS - MIN_VIEWERS + 1)) + MIN_VIEWERS; viewersElement.textContent = currentViewers; // Use requestAnimationFrame for smooth updates let lastUpdate = 0; function updateCount(timestamp) { if (timestamp - lastUpdate >= UPDATE_INTERVAL) { // Only update if probability threshold is met if (Math.random() < CHANGE_PROBABILITY) { // Weighted random change (-1 is more likely than +1) const change = Math.random() < 0.6 ? -1 : 1; currentViewers = Math.max(MIN_VIEWERS, Math.min(MAX_VIEWERS, currentViewers + change)); viewersElement.textContent = currentViewers; } lastUpdate = timestamp; } requestAnimationFrame(updateCount); } // Start the animation loop requestAnimationFrame(updateCount); })(); </script> <script> // Add polling for about this course updates function pollAboutThisCourse() { fetch(`/Course/GetAboutThisCourse/${175617}`) .then(response => response.text()) .then(overview => { if (overview && overview.trim() !== '') { const descriptionElement = document.getElementById('courseDescription'); const preloaderElement = document.getElementById('descriptionPreloader'); if (descriptionElement && preloaderElement) { // Split the overview into sentences and skip first two const sentences = overview.split('.'); const remainingContent = sentences.slice(2).join('.').trimStart('.'); descriptionElement.innerHTML = remainingContent; preloaderElement.style.display = 'none'; descriptionElement.style.display = 'block'; } } else { setTimeout(pollAboutThisCourse, 2000); // Poll every 2 seconds } }) .catch(error => { console.error('Error polling about this course:', error); setTimeout(pollAboutThisCourse, 2000); }); } // Start polling if description preloader exists if (document.getElementById('descriptionPreloader')) { pollAboutThisCourse(); } </script> <script> document.addEventListener('DOMContentLoaded', function() { const cards = document.querySelectorAll('.expandable-card'); cards.forEach(card => { const header = card.querySelector('.card-header'); const content = card.querySelector('.card-content'); const icon = card.querySelector('.expand-icon'); header.addEventListener('click', function(e) { // Close all other cards cards.forEach(otherCard => { if (otherCard !== card) { const otherContent = otherCard.querySelector('.card-content'); const otherIcon = otherCard.querySelector('.expand-icon'); if (otherContent && !otherContent.classList.contains('hidden')) { otherContent.classList.add('hidden'); otherIcon.classList.remove('rotate-180'); } } }); // Toggle this card content.classList.toggle('hidden'); icon.classList.toggle('rotate-180'); }); }); }); </script> <script> // Existing scripts... // Handle success badge document.addEventListener('DOMContentLoaded', function() { const successBadge = document.getElementById('successBadge'); if (successBadge) { setTimeout(() => { successBadge.style.opacity = '0'; successBadge.style.transform = 'translateY(-20px)'; setTimeout(() => { successBadge.remove(); }, 300); }, 5000); } }); </script> <script> // Add loading indicator when form is submitted document.addEventListener('DOMContentLoaded', function() { const searchForm = document.querySelector('form[action="/Search"]'); if (searchForm) { searchForm.addEventListener('submit', function() { const searchInput = this.querySelector('input[name="query"]'); if (searchInput.value.trim()) { const loadingOverlay = document.createElement('div'); loadingOverlay.className = 'fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50'; loadingOverlay.innerHTML = ` <div class="bg-white p-6 rounded-lg shadow-lg"> <div class="animate-spin rounded-full h-10 w-10 border-b-2 border-blue-600 mx-auto"></div> <p class="mt-4 text-gray-700 text-lg">Searching courses...</p> <p class="mt-2 text-gray-500 text-sm">Searching through our course database</p> </div> `; document.body.appendChild(loadingOverlay); } }); } }); </script> <!-- Tidio Chat --> <script src="//code.tidio.co/2b9vcx7pcchcf0q0jsnrjyx4vtzka7kw.js" async></script> <!-- Enrollment Notification Popup --> <div b-u4k2yyhrco id="enrollmentNotification" class="fixed bottom-4 left-4 bg-gradient-to-r from-white to-blue-50 rounded-lg shadow-lg p-4 max-w-md transform transition-all duration-500 translate-y-full opacity-0 flex items-start space-x-4 z-50 border border-blue-100 hover:shadow-xl cursor-pointer group hover:bg-blue-50/50 notification-container"> <!-- Full notification content --> <div b-u4k2yyhrco id="fullNotification" class="flex items-start space-x-4 w-full"> <div b-u4k2yyhrco class="flex-shrink-0 relative"> <img b-u4k2yyhrco src="/uploads/logos/4a3014ba-2e7f-4689-8459-4c227dde3780.png" alt="SSB Logo" class="h-12 w-12 object-contain transition-all duration-300 group-hover:scale-105"> <div b-u4k2yyhrco class="absolute -top-1 -right-1 w-4 h-4 bg-green-500 rounded-full border-2 border-white"></div> </div> <div b-u4k2yyhrco class="flex-1 min-w-0"> <div b-u4k2yyhrco class="flex items-center space-x-2"> <div b-u4k2yyhrco class="flex-1"> <p b-u4k2yyhrco class="text-sm font-semibold text-gray-900 line-clamp-2 group-hover:text-blue-700 transition-colors" id="notificationText"></p> <div b-u4k2yyhrco class="mt-0.5 flex items-center space-x-2"> <span b-u4k2yyhrco class="inline-flex items-center text-xs"> <svg b-u4k2yyhrco class="w-3 h-3 text-yellow-400 mr-1" fill="currentColor" viewBox="0 0 20 20"> <path b-u4k2yyhrco d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"/> </svg> <span b-u4k2yyhrco id="courseRating" class="text-yellow-600 font-medium">4.8</span> </span> <span b-u4k2yyhrco class="inline-flex items-center text-xs text-gray-500"> <svg b-u4k2yyhrco class="w-3 h-3 text-gray-400 mr-1" fill="currentColor" viewBox="0 0 20 20"> <path b-u4k2yyhrco fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z" clip-rule="evenodd"></path> </svg> <span b-u4k2yyhrco id="notificationTime" class="group-hover:text-blue-600 transition-colors"></span> </span> </div> </div> </div> <div b-u4k2yyhrco class="mt-2 flex items-center justify-between"> <div b-u4k2yyhrco class="flex items-center space-x-2"> <span b-u4k2yyhrco class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-blue-100 text-blue-800 group-hover:bg-blue-200 transition-colors"> New Enrollment </span> <span b-u4k2yyhrco id="courseLevelBadge" class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-purple-100 text-purple-800 group-hover:bg-purple-200 transition-colors"></span> </div> <div b-u4k2yyhrco class="flex items-center space-x-2"> <a b-u4k2yyhrco id="courseLink" href="#" class="inline-flex items-center text-xs text-blue-600 hover:text-blue-800 font-medium"> <span b-u4k2yyhrco class="group-hover:inline mr-1">→</span> View Course </a> <button b-u4k2yyhrco id="muteNotification" class="inline-flex items-center text-xs text-gray-500 hover:text-gray-700 font-medium"> <svg b-u4k2yyhrco class="w-3 h-3 mr-1" fill="currentColor" viewBox="0 0 20 20"> <path b-u4k2yyhrco fill-rule="evenodd" d="M9.383 3.076A1 1 0 0110 4v12a1 1 0 01-1.707.707L4.586 13H2a1 1 0 01-1-1V8a1 1 0 011-1h2.586l3.707-3.707a1 1 0 011.09-.217zM12.293 7.293a1 1 0 011.414 0L15 8.586l1.293-1.293a1 1 0 111.414 1.414L16.414 10l1.293 1.293a1 1 0 01-1.414 1.414L15 11.414l-1.293 1.293a1 1 0 01-1.414-1.414L13.586 10l-1.293-1.293a1 1 0 010-1.414z" clip-rule="evenodd"></path> </svg> Mute </button> </div> </div> <div b-u4k2yyhrco class="mt-2 w-full bg-gray-200 rounded-full h-1.5 overflow-hidden"> <div b-u4k2yyhrco id="courseProgress" class="bg-blue-600 h-1.5 rounded-full w-0 transition-all duration-1000 ease-out transform scale-x-0 origin-left"></div> </div> </div> </div> <!-- Muted notification content (compact) --> <div b-u4k2yyhrco id="mutedNotification" class="flex items-center justify-between w-full hidden py-0"> <div b-u4k2yyhrco class="flex items-center space-x-1"> <span b-u4k2yyhrco id="mutedCountryFlag" class="text-xs"></span> <span b-u4k2yyhrco class="inline-flex items-center px-1 py-0 rounded text-xs font-medium bg-blue-100 text-blue-800"> New Enrollment </span> <span b-u4k2yyhrco class="text-xs font-medium text-gray-900 truncate max-w-32" id="mutedCourseTitle"></span> </div> <button b-u4k2yyhrco id="unmuteNotification" class="inline-flex items-center text-xs text-blue-600 hover:text-blue-800 font-medium ml-1"> <svg b-u4k2yyhrco class="w-2.5 h-2.5 mr-0" fill="currentColor" viewBox="0 0 20 20"> <path b-u4k2yyhrco fill-rule="evenodd" d="M9.383 3.076A1 1 0 0110 4v12a1 1 0 01-1.707.707L4.586 13H2a1 1 0 01-1-1V8a1 1 0 011-1h2.586l3.707-3.707a1 1 0 011.09-.217zM12.293 7.293a1 1 0 011.414 0L15 8.586l1.293-1.293a1 1 0 111.414 1.414L16.414 10l1.293 1.293a1 1 0 01-1.414 1.414L15 11.414l-1.293 1.293a1 1 0 01-1.414-1.414L13.586 10l-1.293-1.293a1 1 0 010-1.414z" clip-rule="evenodd"></path> </svg> Unmute </button> </div> </div> <style> #courseProgress { transform-origin: left; transition: all 7s linear; } .notification-container.muted { padding: 0.5rem !important; } </style> <!-- Add notification script --> <script> let availableCourses = []; let currentNotificationUrl = null; let nameQueue = []; let countryQueue = []; let isNotificationMuted = false; let currentCourseTitle = ''; let currentCountryFlag = ''; // Shuffle array function using Fisher-Yates algorithm function shuffleArray(array) { for (let i = array.length - 1; i > 0; i--) { const j = Math.floor(Math.random() * (i + 1)); [array[i], array[j]] = [array[j], array[i]]; } return array; } // Generate random rating between 4.5 and 5.0 function generateRating() { return (4.5 + Math.random() * 0.5).toFixed(1); } // Initialize name queues by region const namesByRegion = { westernNames: [ { name: 'Sarah Williams', gender: 'f' }, { name: 'John Anderson', gender: 'm' }, { name: 'Emma Thompson', gender: 'f' }, { name: 'James Wilson', gender: 'm' }, { name: 'Olivia Brown', gender: 'f' }, { name: 'William Parker', gender: 'm' }, { name: 'Charlotte Davis', gender: 'f' }, { name: 'Benjamin Foster', gender: 'm' } ], hispanicNames: [ { name: 'Maria Rodriguez', gender: 'f' }, { name: 'Alex Martinez', gender: 'm' }, { name: 'Isabella Garcia', gender: 'f' }, { name: 'Carlos Hernandez', gender: 'm' }, { name: 'Sofia Morales', gender: 'f' }, { name: 'Miguel Torres', gender: 'm' } ], eastAsianNames: [ { name: 'David Chen', gender: 'm' }, { name: 'Lisa Zhang', gender: 'f' }, { name: 'Thomas Lee', gender: 'm' }, { name: 'Isabella Kim', gender: 'f' }, { name: 'Andrew Wong', gender: 'm' }, { name: 'Michelle Liu', gender: 'f' }, { name: 'Kevin Tan', gender: 'm' }, { name: 'Grace Park', gender: 'f' } ], southAsianNames: [ { name: 'Arjun Patel', gender: 'm' }, { name: 'Priya Singh', gender: 'f' }, { name: 'Arun Kumar', gender: 'm' }, { name: 'Neha Sharma', gender: 'f' }, { name: 'Raj Malhotra', gender: 'm' }, { name: 'Anjali Mehta', gender: 'f' }, { name: 'Vikram Shah', gender: 'm' }, { name: 'Zara Khan', gender: 'f' } ], middleEasternNames: [ { name: 'Ahmed Hassan', gender: 'm' }, { name: 'Leila Rahman', gender: 'f' }, { name: 'Omar Malik', gender: 'm' }, { name: 'Yasmin Ahmed', gender: 'f' }, { name: 'Ali Syed', gender: 'm' } ], africanNames: [ { name: 'Samuel Okafor', gender: 'm' }, { name: 'Amara Okonkwo', gender: 'f' }, { name: 'Daniel Mensah', gender: 'm' }, { name: 'Zainab Diallo', gender: 'f' }, { name: 'Emmanuel Adebayo', gender: 'm' } ] }; // Country to region mapping const countryRegionMap = { // Western Countries 'UK': 'westernNames', 'Ireland': 'westernNames', 'Germany': 'westernNames', 'France': 'westernNames', 'Spain': 'hispanicNames', 'Italy': 'westernNames', 'USA': 'westernNames', 'Canada': 'westernNames', 'Australia': 'westernNames', 'New Zealand': 'westernNames', // East Asian Countries 'Singapore': 'eastAsianNames', 'Japan': 'eastAsianNames', 'South Korea': 'eastAsianNames', 'Malaysia': 'eastAsianNames', // South Asian Countries 'India': 'southAsianNames', 'Nepal': 'southAsianNames', 'Sri Lanka': 'southAsianNames', // Middle Eastern Countries 'UAE': 'middleEasternNames', 'Saudi Arabia': 'middleEasternNames', 'Qatar': 'middleEasternNames', 'Kuwait': 'middleEasternNames', // African Countries 'Nigeria': 'africanNames', 'South Africa': 'africanNames', 'Kenya': 'africanNames', 'Ghana': 'africanNames' }; // Initialize country queue function resetCountryQueue() { countryQueue = shuffleArray([ // Europe { name: 'UK', flag: '🇬🇧' }, { name: 'Ireland', flag: '🇮🇪' }, { name: 'Germany', flag: '🇩🇪' }, { name: 'France', flag: '🇫🇷' }, { name: 'Spain', flag: '🇪🇸' }, { name: 'Italy', flag: '🇮🇹' }, // North America { name: 'USA', flag: '🇺🇸' }, { name: 'Canada', flag: '🇨🇦' }, // Asia Pacific { name: 'Australia', flag: '🇦🇺' }, { name: 'New Zealand', flag: '🇳🇿' }, { name: 'Singapore', flag: '🇸🇬' }, { name: 'Japan', flag: '🇯🇵' }, { name: 'South Korea', flag: '🇰🇷' }, { name: 'Malaysia', flag: '🇲🇾' }, // South Asia { name: 'India', flag: '🇮🇳' }, { name: 'Nepal', flag: '🇳🇵' }, { name: 'Sri Lanka', flag: '🇱🇰' }, // Middle East { name: 'UAE', flag: '🇦🇪' }, { name: 'Saudi Arabia', flag: '🇸🇦' }, { name: 'Qatar', flag: '🇶🇦' }, { name: 'Kuwait', flag: '🇰🇼' }, // Africa { name: 'Nigeria', flag: '🇳🇬' }, { name: 'South Africa', flag: '🇿🇦' }, { name: 'Kenya', flag: '🇰🇪' }, { name: 'Ghana', flag: '🇬🇭' } ]); } // Get a random name based on country function getRandomNameForCountry(countryName) { const regionType = countryRegionMap[countryName] || 'westernNames'; const names = namesByRegion[regionType]; return names[Math.floor(Math.random() * names.length)]; } // Function to show random enrollment function showRandomEnrollment() { if (availableCourses.length === 0 || countryQueue.length === 0) { resetCountryQueue(); return; } const courseIndex = Math.floor(Math.random() * availableCourses.length); const course = availableCourses[courseIndex]; const countryIndex = Math.floor(Math.random() * countryQueue.length); const country = countryQueue[countryIndex]; // Get a name appropriate for the country const learner = getRandomNameForCountry(country.name); const timeAgo = Math.floor(Math.random() * 5) + 1; const message = `${learner.name} from ${country.flag} ${country.name} enrolled in ${course.title}`; // Store country flag for muted notifications currentCountryFlag = country.flag; showEnrollmentNotification(message, `${timeAgo}m ago`, course.url, course.level); // Remove used country from queue countryQueue.splice(countryIndex, 1); if (countryQueue.length === 0) { resetCountryQueue(); } } // Fetch courses asynchronously after page load async function fetchCourses() { try { const response = await fetch('/Course/GetRandomCourseTitles'); if (response.ok) { availableCourses = await response.json(); console.log('Courses loaded successfully'); } } catch (error) { console.error('Error loading courses:', error); // Fallback to demo courses if fetch fails availableCourses = [ { id: 1, title: 'Advanced Diploma in Business Management', level: 'Advanced Level', url: '/Course/Details/1' }, { id: 2, title: 'Professional Certificate in Digital Marketing', level: 'Professional Level', url: '/Course/Details/2' }, { id: 3, title: 'Diploma in Project Management', level: 'Professional Level', url: '/Course/Details/3' }, { id: 4, title: 'Advanced Diploma in Disaster Health Management', level: 'Advanced Level', url: '/Course/Details/4' }, { id: 5, title: 'Certificate in Human Resource Management', level: 'Professional Level', url: '/Course/Details/5' }, { id: 6, title: 'Diploma in Supply Chain Management', level: 'Professional Level', url: '/Course/Details/6' } ]; } } // Load courses after page load window.addEventListener('load', fetchCourses); function showEnrollmentNotification(message, timeAgo, courseUrl, courseLevel) { const notification = document.getElementById('enrollmentNotification'); const notificationText = document.getElementById('notificationText'); const notificationTime = document.getElementById('notificationTime'); const courseLink = document.getElementById('courseLink'); const courseRating = document.getElementById('courseRating'); const courseLevelBadge = document.getElementById('courseLevelBadge'); const courseProgress = document.getElementById('courseProgress'); // Extract course title from the message const courseTitleMatch = message.match(/enrolled in (.+)$/); currentCourseTitle = courseTitleMatch ? courseTitleMatch[1] : 'Course'; notificationText.textContent = message; notificationTime.textContent = timeAgo; courseLink.href = courseUrl; currentNotificationUrl = courseUrl; courseRating.textContent = generateRating(); courseLevelBadge.textContent = courseLevel; // Reset progress bar courseProgress.style.transition = 'none'; courseProgress.style.transform = 'scaleX(0)'; courseProgress.style.width = '0%'; // Show notification with enhanced animation notification.classList.remove('translate-y-full', 'opacity-0'); // Show appropriate notification content based on mute state if (isNotificationMuted) { document.getElementById('fullNotification').classList.add('hidden'); document.getElementById('mutedNotification').classList.remove('hidden'); document.getElementById('mutedCourseTitle').textContent = currentCourseTitle; document.getElementById('mutedCountryFlag').textContent = currentCountryFlag; document.getElementById('enrollmentNotification').classList.add('muted'); } else { document.getElementById('fullNotification').classList.remove('hidden'); document.getElementById('mutedNotification').classList.add('hidden'); document.getElementById('enrollmentNotification').classList.remove('muted'); } // Add bounce animation notification.animate([ { transform: 'translateY(0)' }, { transform: 'translateY(-10px)', offset: 0.1 }, { transform: 'translateY(5px)', offset: 0.3 }, { transform: 'translateY(-3px)', offset: 0.5 }, { transform: 'translateY(2px)', offset: 0.7 }, { transform: 'translateY(-1px)', offset: 0.9 }, { transform: 'translateY(0)' } ], { duration: 1000, easing: 'ease-out' }); // Start progress animation after a short delay setTimeout(() => { // Re-enable transition and start progress animation courseProgress.style.transition = 'all 7s linear'; courseProgress.style.width = '100%'; courseProgress.style.transform = 'scaleX(1)'; }, 100); // Hide after 7 seconds with fade out setTimeout(() => { notification.classList.add('translate-y-full', 'opacity-0'); // Reset progress bar when notification hides setTimeout(() => { courseProgress.style.transition = 'none'; courseProgress.style.width = '0%'; courseProgress.style.transform = 'scaleX(0)'; }, 500); }, 7000); } // Add click handler for the entire notification document.getElementById('enrollmentNotification').addEventListener('click', function(e) { if (currentNotificationUrl) { window.location.href = currentNotificationUrl; } }); // Prevent the click on the course link from triggering the notification click document.getElementById('courseLink').addEventListener('click', function(e) { e.stopPropagation(); }); // Show a notification every 25 seconds setInterval(() => { showRandomEnrollment(); }, 25000); // Show first notification after 3 seconds setTimeout(showRandomEnrollment, 3000); // Add mute/unmute functionality document.getElementById('muteNotification').addEventListener('click', function(e) { e.stopPropagation(); muteNotification(); }); document.getElementById('unmuteNotification').addEventListener('click', function(e) { e.stopPropagation(); unmuteNotification(); }); function muteNotification() { isNotificationMuted = true; document.getElementById('fullNotification').classList.add('hidden'); document.getElementById('mutedNotification').classList.remove('hidden'); document.getElementById('mutedCourseTitle').textContent = currentCourseTitle; document.getElementById('mutedCountryFlag').textContent = currentCountryFlag; document.getElementById('enrollmentNotification').classList.add('muted'); } function unmuteNotification() { isNotificationMuted = false; document.getElementById('fullNotification').classList.remove('hidden'); document.getElementById('mutedNotification').classList.add('hidden'); document.getElementById('enrollmentNotification').classList.remove('muted'); } </script> </body> </html>