Файловый менеджер - Редактировать - /home/d46091/udyogaadhaar.net/assets/js/client.js
Назад
function loadNowPlaying(){ const time_array = ['(1 min. Ago)','(30 sec. Ago)','(2 min. Ago)']; const user_array = ['Rajesh Sharma, from Delhi','Saroj, from Haryana','Sunita Verma, from Gujrat','Pooja Hegde, from Maharashtra', 'Vikas Paul, from Gujarat','Navjot Kaur , from Punjab','Jaydev Singh, from Rajasthan','Ramalinga, from Tamil Nadu','Neha Naidu, from Karnataka', 'Avinash Kumar, from Bihar','Mahesh Patel, from Madhya Pradesh','Sameer Mathews, from Karnataka','Joydeep, from Telangana','Avesh Kumar Basu, from West Bengal', 'Ricky Manchanda, from Haryana','Rohit Ranjan, from Delhi','K GOPAL RAJU, from Kerala','Mahesh Gaur, from Chandigarh','Prasanjeet Kaur, from Punjab','Poorvi Saha, from Odisha', 'Hemant Dubey, from Gujarat','Prakash Singh, from Andhra Pradesh','Neelam Pandey, from Uttarakhand','Neetu Verma, from Jharkhand','Hemant Ingle, from Maharashtra', 'Nilesh Thapa, from Himachal Pradesh','Ronit , from Manipur','Nehal Roy, from Jharkhand','Gopinath V Ramalingam, from Telangana']; const time = time_array[Math.floor(Math.random() * time_array.length)]; const user = user_array[Math.floor(Math.random() * user_array.length)]; // var applied = [ // "Accounting Services", // "Audits And Certifications Services", // "Digital Signature Certificate", // "GST Services", // "Import Export Code Services", // "Income Tax", // "Intellectual Properties Services", // "ISO Certification Services", // "MSME Services", // "Registrations Services", // "ROC Compliances Services", // "Food Licence Registration", // "Fresh - Reissue Passport Application" // ] // var randomMsg = 'Recently Applied For'+ ' ' +applied[Math.floor(Math.random() * applied.length)]; // console.log(randomMsg); //alert(time+'-----'+user); $('#desc_heading_name').text(wordWrap(user,20)); $('#desc_heading_comm').text('Recently Applied For MSME Registration'); $('#desc_heading_time').text(time); // $('#review_popup').show('slow'); jQuery( document ).ready(function( $ ) { $("#review_popup").fadeIn() .css({top:1000,position:'fixed'}) .animate({top:275}, 6000, function() { //callback }); }); } setInterval(function(){loadNowPlaying()}, 12000); setInterval(function(){ $('#review_popup').hide('turtle'); }, 35000); function wordWrap(str, maxWidth=100) { var newLineStr = "\n"; done = false; res = ''; while (str.length > maxWidth) { found = false; for (i = maxWidth - 1; i >= 0; i--) { if (testWhite(str.charAt(i))) { res = res + [str.slice(0, i), newLineStr].join(''); str = str.slice(i + 1); found = true; break; } } if (!found) { res += [str.slice(0, maxWidth), newLineStr].join(''); str = str.slice(maxWidth); } } return res + str; } function testWhite(x) { var white = new RegExp(/^\s$/); return white.test(x.charAt(0)); };
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка