CINXE.COM

Platform - idos.events

<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> <title>Platform - idos.events</title> <link href="https://platform.idos.events/front/img/so.png" rel="icon" sizes="20x20"> <!-- Box Icon CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/boxicons.min.css"> <!-- Bootstrap Icon CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/bootstrap-icons.css"> <!-- Swiper Carousel CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/swiper-bundle.min.css"> <!-- Wow CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/animate.css"> <!-- Magnific Popup CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/magnific-popup.css"> <!-- Odometer CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/odometer.css"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/bootstrap.min.css"> <!-- Meanmenu CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/meanmenu.min.css"> <!-- Meanmenu CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/YouTubePopUp.css"> <!-- izitoast CSS --> <link href="https://platform.idos.events/front/css/iziToast.min.css" rel="stylesheet"> <!-- Select2 CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/select2.css"> <!-- Datepicker CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/datepicker.css"> <!-- Jquery UI CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/jquery-ui.css"> <!-- Main CSS --> <link rel="stylesheet" href="https://platform.idos.events/front/assets/sonSablon/css/style.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script> <style> .iti { width: 100%; } .iti--allow-dropdown { width: 100%; } .iti__flag-container { height: 100%; } #mobileNumber { width: 100% !important; } .menu-logo-wrap img { max-width: 100%; height: auto; display: block; margin: 0 auto; } @media (max-width: 768px) { .menu-logo-wrap img { max-width: 80%; /* Mobil cihazlarda logoyu %80 geni艧likte g枚ster */ height: auto; } } </style> <!-- intl-tel-input CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css" /> <!-- intl-tel-input JS --> <script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script> <style> .select2-container .select2-selection--single { height: calc(1.5em + .75rem + 2px); padding: .375rem .75rem; font-size: 1rem; line-height: 1.5; border: 1px solid #ced4da; border-radius: .25rem; color: #495057; background-color: #fff; } .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 1.5; color: #495057; } .select2-container--default .select2-selection--single .select2-selection__arrow { height: calc(1.5em + .75rem + 2px); right: 10px; } .select2-dropdown { border: 1px solid #ced4da; } .select2-results__option { color: #495057; } .select2-results__option--highlighted { background-color: #e9ecef; color: #495057; } .select2-selection__placeholder { color: #6c757d !important; /* Bootstrap placeholder text color */ } .card1{ height: 200px; color:#333; padding:20px; border-radius: 10px; } .iti { width: 100%; } .iti__flag-container { display: table-cell; vertical-align: middle; } .intl-tel-input .form-control { width: 100%; } .intl-tel-input input { display: table-cell; width: 100%; padding-left: 60px; } .intl-tel-input { width: 100%; } .intl-tel-input .flag-container { position: absolute; top: 0; bottom: 0; margin: auto; left: 10px; } .intl-tel-input .selected-flag { top: 10px; /* Bayra臒谋n mobil numara input alan谋nda d眉zg眉n g枚r眉nmesini sa臒lamak i莽in ayarlay谋n */ } .intl-tel-input .iti__flag { box-shadow: none; } .intl-tel-input input[type="tel"] { width: 100%; } .intl-tel-input .selected-flag { width: 50px; } .intl-tel-input .country-list { width: auto; } @media (max-width: 576px) { .card { padding: 20px; } .form-label, .form-control { font-size: 14px; } .btn { font-size: 14px; } } .modal-content { border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } .modal-header { background-color: #007bff; color: white; border-bottom: none; } .modal-header .btn-close { color: white; } .modal-body { padding: 20px; } .modal-footer { padding: 15px; border-top: none; } .btn-primary { background-color: #007bff; border: none; } .btn-primary:hover { background-color: #0056b3; } .btn-secondary { background-color: #6c757d; border: none; } .btn-secondary:hover { background-color: #5a6268; } </style> </head> <body> <!-- Custom Cursor --> <div class="cursor d-none d-lg-block"></div> <!-- Custom Cursor End --> <!-- Preloader --> <div class="preloader"> <div class="spinner-wrap"> <div class="preloader-logo"> <img src="" alt="" class="img-fluid"> </div> <div class="spinner"></div> </div> </div> <!-- Preloader End --> <!-- back to to button start--> <a href="#" id="scroll-top" class="back-to-top-btn"><i class="bi bi-arrow-up"></i></a> <!-- back to to button end--> <div class="site-wrapper"> <header> <!-- Menu --> <div class="menu-area menu-area-two"> <div class="container"> <div class="row align-items-center gy-4"> <div class="col-lg-5 d-none d-lg-block"> <div class="mainmenu"> <ul> <li><a href="https://platform.idos.events/exhibition/index" class="text-black">Home</a></li> <li class="has-child-menu"><a href="javascript:void(0)">Exhibitors</a> <ul> <li><a href="https://platform.idos.events/exhibition/onlineCatalogue?fuarId=66">Online Catalogue</a></li> <li><a href="https://platform.idos.events/exhibition/exhibitorList">Exhibitor List</a></li> <li><a href="https://platform.idos.events/exhibition/productCatalogue">Product Catalogue</a></li> <li><a href="https://platform.idos.events/exhibition/videos">Videos</a></li> </ul> </li> <li><a href="https://platform.idos.events/exhibition/register">Registration</a></li> <li class="has-child-menu"><a href="javascript:void(0)">My Account</a> <ul> <li><a onclick="modalAc()">Sign in</a></li> </ul> </li> </ul> </div> </div> <div class="col-lg-3 col-md-12 "> <div class="menu-logo-wrap text-center"> <a href="https://platform.idos.events/exhibition"><img src="https://platform.idos.events/front/upload/fuar/logo66.svg" alt=""></a> </div> </div> <div class="col-lg-4 hamburger-menu position-relative col-md-12"> <div class="d-flex menu-info-item align-items-center justify-content-lg-end"> <a href="http://www.constructiraq.net" target="_blank">CONSTRUCT IRAQ / ERBIL 2024</a> <div class="menu-btn-wrap flex-shrink-0 d-none d-lg-block"> <a class="common-btn sign-btn" onclick="modalAc()"> <i class="bi bi-person-circle"></i> <span>Sign in</span> </a> </div> </div> </div> </div> </div> </div> <div class="modal fade" id="exampleModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> <div class="modal-dialog" > <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle">CONSTRUCT IRAQ / ERBIL 2024 Login Form</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <form class="form-login" action="https://platform.idos.events/Auth/userLogin" method="post" id="loginForm"> <div class="login-wrap"> <label for="">You can use your mobile number or email as your username.</label> <br> <br> <div> <input type="radio" id="emailRadio1" name="loginType" value="email" checked> <label for="emailRadio">Email</label> <input type="radio" id="mobileRadio1" name="loginType" value="mobile"> <label for="mobileRadio">Mobile</label> </div> <br> <div id="emailInput1"> <input type="text" class="form-control" placeholder="Enter Email" name="userName"> </div> <div id="mobileInput1" style="display: none;"> <input type="tel" id="mobileNumber1" class="form-control" placeholder="5XX XXX XX XX" name="mobileNumber"> </div> <br> <input type="password" class="form-control" placeholder="Enter Password" name="password"> <br> <input type="hidden" name="istenenUye" id="istenenUye"> <input type="hidden" name="subFolder" id="subFolder"> <div id="istenen"></div> <input type="submit" value="Sign In" name="loginSubmit" class="btn btn-danger btn-block"><br> <div class="login-wrap"> <a href="https://platform.idos.events/Auth/forgotPass">Forgot Password ? </a> <br> </div> </div> </form> </div> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script> <script> document.addEventListener('DOMContentLoaded', function() { const emailRadio = document.getElementById('emailRadio1'); const mobileRadio = document.getElementById('mobileRadio1'); const emailInput = document.getElementById('emailInput1'); const mobileInput = document.getElementById('mobileInput1'); const mobileNumber = document.getElementById('mobileNumber1'); const loginForm = document.getElementById('loginForm'); const iti = window.intlTelInput(mobileNumber, { initialCountry: "auto", geoIpLookup: function(success, failure) { success('TR'); }, utilsScript: "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/utils.js" }); mobileNumber.classList.add('form-control'); mobileNumber.style.width = '100%'; emailRadio.addEventListener('change', function() { if (emailRadio.checked) { emailInput.style.display = 'block'; mobileInput.style.display = 'none'; } }); mobileRadio.addEventListener('change', function() { if (mobileRadio.checked) { emailInput.style.display = 'none'; mobileInput.style.display = 'block'; } }); mobileNumber.addEventListener('input', function() { mobileNumber.value = mobileNumber.value.replace(/\D/g, ''); }); loginForm.addEventListener('submit', function(event) { if (emailRadio.checked) { if (emailInput.querySelector('input').value.trim() === '') { alert('Email is required'); event.preventDefault(); } } else if (mobileRadio.checked) { if (!iti.isValidNumber()) { alert('Valid mobile number is required'); event.preventDefault(); } else { const fullNumber = iti.getNumber(intlTelInputUtils.numberFormat.E164); const countryCode = iti.getSelectedCountryData().dialCode.replace('+', ''); const mobileNumberWithoutCountryCode = fullNumber.replace(`+${countryCode}`, ''); const countryCodeInput = document.createElement('input'); countryCodeInput.type = 'hidden'; countryCodeInput.name = 'countryCode'; countryCodeInput.value = countryCode; loginForm.appendChild(countryCodeInput); const mobileNumberInput = document.createElement('input'); mobileNumberInput.type = 'hidden'; mobileNumberInput.name = 'mobileNumber'; mobileNumberInput.value = mobileNumberWithoutCountryCode; loginForm.appendChild(mobileNumberInput); mobileNumber.removeAttribute('name'); } } if (document.querySelector('input[name="password"]').value.trim() === '') { alert('Password is required'); event.preventDefault(); } }); }); </script> <!-- Menu end --> </header> <!-- Hero --> <div class="reservation-area reservation-area-padding" id="reservation"> <br> <div class="row align-items-center justify-content-between gy-4 mt-120"> <div class="col-lg-12 booking-form"> <div class="result text-black"> <p class="textColor fs-1">Registration closed.</p> <br><br> <br> </div> </div> </div> </div> <div class="modal fade" id="exampleModal11" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> <div class="modal-dialog" > <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle">This email or mobile is already registered</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <div class="result"></div> </div> </div> </div> </div> <div class="modal fade" id="exampleModal1" tabindex="-1" aria-labelledby="existingUserModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="existingUserModalLabel">User Already Exists</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body text-center"> <p>This email or mobile number is already registered. Please login to continue or reset your password if you've forgotten it.</p> </div> <div class="modal-footer d-flex justify-content-center"> <button onclick="modalAc()" class="btn btn-primary me-2">Login</button> <a id="forgotPasswordButton" class="btn btn-secondary">Forgot Password</a> </div> </div> </div> </div> <!-- Footer --> <div class="footer-area"> <div class="container"> <div class="row justify-content-between copyright-wrap"> <div class="col-lg-2 col-md-6"> <div class="footer-box"> <h2 class="h2 text-white footer-title">Exhibitors</h2> <ul class="footer-list custom-ul"> <li><a href="https://platform.idos.events/exhibition/onlineCatalogue?fuarId=66">Online Catalogue</a></li> <li><a href="https://platform.idos.events/exhibition/exhibitorList">Exhibitor List</a></li> <li><a href="https://platform.idos.events/exhibition/productCatalogue">Product Catalogue</a></li> <li><a href="https://platform.idos.events/exhibition/videos">Videos</a></li> </ul> </div> </div> <div class="col-lg-2 col-md-6"> <div class="footer-box"> <h2 class="h2 text-white footer-title">Contact Us</h2> <ul class="footer-list custom-ul"> <li> <a href="https://https://www.instagram.com/constructiraq/" target="_blank">Follow us</a></li> <li> <a href="tel:905389726120">905389726120</a></li> </ul> </div> </div> <div class="col-lg-2 col-md-6"> <div class="footer-box"> <h2 class="h2 text-white footer-title">Company</h2> <ul class="footer-list custom-ul"> <li><a href="https://platform.idos.events/exhibition/index" class="text-black">Home</a></li> <li><a href="https://idos.events/about-us" target="_blank">About Us</a></li> <li><a href="http://www.constructiraq.net" target="_blank">Exhibition Web Site</a></li> <!-- <li><a href="--><!--">Extra Services Prices</a></li>--> </ul> </div> </div> <div class="col-lg-5 col-md-6"> <div class="footer-box"> <div class="footer-subscribe"> <div class="footer-subscribe-img position-relative"> <img class="w-100" src="https://platform.idos.events/front/img/newsletter.webp" alt=""> <div class="section-title ps-4 position-absolute top-50 start-50 translate-middle w-100"> <span class="text-white">Subscribe</span> </div> </div> <form action="https://platform.idos.events/Exhibition/index" class="footer-subscribe-form mt-4 d-flex justify-content-between align-items-center" method="post" accept-charset="utf-8"> <input type="hidden" name="csrf_test_name" value="78505a23d7ab0aa3caefe849e71ed78c" /> <input class="w-100 border-0 h-100 ps-3 pe-3" type="email" name="email" placeholder="Enter your mail"> <input type="submit" name="subscribe" class="common-btn h-100 flex-shrink-0 border-0 border-radius-0 ms-lg-4 ms-2" value="Subscribe"> </form> </div> </div> </div> </div> <div class="row align-items-center mt-4 bg-light"> <div class="col-lg-4 text-center text-lg-start"> <a href="https://platform.idos.events/exhibition"><img src="https://platform.idos.events/front/upload/fuar/logo66.svg" alt=""></a> </div> <div class="col-lg-8"> <p class="text-dark"> </p> </div> </div> </div> </div> <!-- Footer End --> </div> <!-- Jquery JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/jquery-3.7.1.min.js"></script> <!-- Bootstrap JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/bootstrap.bundle.min.js"></script> <!-- Swiper Carousel JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/swiper-bundle.min.js"></script> <!-- Magnific Popup JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/jquery.magnific-popup.min.js"></script> <!-- Wow JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/wow.min.js"></script> <!-- Odometer JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/odometer.min.js"></script> <script src="https://platform.idos.events/front/assets/sonSablon/js/viewport.jquery.js"></script> <!-- Mean menu JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/jquery.meanmenu.min.js"></script> <!-- YouTubePopUp JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/YouTubePopUp.js"></script> <!-- Datepicker JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/datepicker.js"></script> <!-- Select2 JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/select2.js"></script> <!-- Jquery UI JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/jquery-ui.min.js"></script> <!-- Form iziToast --> <script src="https://platform.idos.events/front/js/iziToast.min.js"></script> <!-- Main JS --> <script src="https://platform.idos.events/front/assets/sonSablon/js/main.js"></script> <script> $(document).ready(function() { csrf_token_name = 'csrf_test_name'; csrf_hash = '78505a23d7ab0aa3caefe849e71ed78c'; // Country select kutusuna arama 枚zelli臒ini ekle $('#country').select2({ placeholder: "Select Country", closeOnSelect: true }); // City select kutusuna arama 枚zelli臒ini ekle $('#city').select2({ placeholder: "Select City", closeOnSelect: true }); // Country de臒i艧ti臒inde 艧ehirleri getir $('#country').on('change', function() { let selectedCountry = $(this).val(); let citySelect = $('#city'); citySelect.html('<option value="">Select City</option>'); if (selectedCountry) { $.ajax({ url: "https://platform.idos.events/JsonIslemler/getAll", type: "POST", data: { "tabloAdi": "sehirler", "sutunAdi": "ulkeId", "id": selectedCountry, [csrf_token_name]: csrf_hash }, dataType: "json", success: function(sehirler) { csrf_hash = sehirler.hash; $('input[name="' + csrf_token_name + '"]').val(csrf_hash); sehirler.veri.forEach(city => { let option = new Option(city.sehirAdi, city.sehirId); citySelect.append(option); }); } }); } }); function initializeIntlTelInput() { var input = document.querySelector("#mobile"); var iti = window.intlTelInput(input, { initialCountry: "auto", geoIpLookup: function(callback) { $.get('https://ipinfo.io', function() {}, "jsonp").always(function(resp) { var countryCode = (resp && resp.country) ? resp.country : "us"; callback(countryCode); }); }, utilsScript: "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/utils.js", // Kullan谋艧l谋 i艧levler i莽in nationalMode: false, // Tam uluslararas谋 numaray谋 girmeye zorlamak i莽in separateDialCode: false, // 脺lke kodunu ayr谋 tutmamak i莽in placeholderNumberType: "MOBILE" // Placeholder i莽in }); // 脺lke de臒i艧iminde input alan谋n谋 temizle ve yeni 眉lke kodunu ekle input.addEventListener('countrychange', function() { var countryData = iti.getSelectedCountryData(); if (countryData.dialCode) { var dialCodeWithoutPlus = countryData.dialCode.replace('+', ''); // + i艧aretini kald谋r $('#mobile').val(''); // Mevcut de臒eri temizle $('#countryCode').val(dialCodeWithoutPlus); // 脺lke kodunu gizli input alan谋na ekle clearError('#mobile'); // 脰nceki hatalar谋 temizle } }); // Sayfa ilk y眉klendi臒inde 眉lke kodunu ekle var countryData = iti.getSelectedCountryData(); if (countryData.dialCode) { var dialCodeWithoutPlus = countryData.dialCode.replace('+', ''); $('#countryCode').val(dialCodeWithoutPlus); // 脺lke kodunu gizli input alan谋na ekle } } // Sayfa y眉klendi臒inde initialize et initializeIntlTelInput(); // Register option de臒i艧iminde ilgili inputlar谋 g枚ster/gizle $('input[name="register_option"]').on('change', function() { if (this.value === 'email') { $('#emailInput').show(); $('#mobileInput').hide(); $('#email').prop('required', true); $('#mobile').prop('required', false); } else if (this.value === 'mobile') { $('#emailInput').hide(); $('#mobileInput').show(); $('#email').prop('required', false); $('#mobile').prop('required', true); initializeIntlTelInput(); // Mobile input alan谋 g枚sterildi臒inde initialize et } }); $('#registerForm').on('submit', function(event) { let selectedOption = $('input[name="register_option"]:checked').val(); let isValid = true; if (selectedOption === "email") { let email = $('#email').val(); if (!validateEmail(email)) { isValid = false; } } else if (selectedOption === "mobile") { var input = document.querySelector("#mobile"); var iti = window.intlTelInputGlobals.getInstance(input); var fullNumber = iti.getNumber(intlTelInputUtils.numberFormat.E164); // + i艧areti ile tam numaray谋 al var dialCode = iti.getSelectedCountryData().dialCode; // 脺lke kodunu al if (dialCode) { $('#mobile').val(fullNumber.replace('+' + dialCode, '')); // Mobil numaray谋 g眉ncelle $('#countryCode').val(dialCode.replace('+', '')); // 脺lke kodunu gizli input alan谋na ekle } } if (!isValid) { event.preventDefault(); } }); function validateEmail(email) { var emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; var validTLDs = [ 'com', 'org', 'net', 'edu', 'gov', 'mil', 'co', 'biz', 'info', 'io', 'nl', 'uk', 'de', 'fr', 'ru', 'jp', 'cn', 'br', 'in', 'us', 'ge', 'au', 'ca', 'ch', 'es', 'it', 'mx', 'se', 'no', 'fi', 'pl', 'gr', 'dk', 'hu', 'ir', 'sa', 'iq', 'ae', 'tr', 'il', 'jo', 'kw', 'lb', 'om', 'qa', 'sy', 'ye', 'bh' ]; var emailDomain = email.split('.').pop(); if (!emailRegex.test(email)) { showError('#email', 'This email format is invalid'); return false; } else if (!validTLDs.includes(emailDomain)) { showError('#email', 'This email domain is invalid'); return false; } else { clearError('#email'); return true; } } function validateMobile(mobile) { const re = /^\d{10,15}$/; if (!re.test(String(mobile))) { showError('#mobile', 'This mobile format is invalid'); return false; } else { clearError('#mobile'); return true; } } function checkEmailInDatabase(email) { $.ajax({ url: "https://platform.idos.events/JsonIslemler/getId", type: "POST", data: { "tabloAdi": "uyeler", "sutunAdi": "uyeAdi", "id": email, [csrf_token_name]: csrf_hash }, dataType: "json", success: function(bulunan) { csrf_hash = bulunan.hash; $('input[name="' + csrf_token_name + '"]').val(csrf_hash); if (bulunan.veri != null) { showError('#email', 'This email is already registered'); $("#forgotPasswordButton").attr('href', 'https://platform.idos.events/Auth/forgotPass?userName=' + email); $("#exampleModal1").modal('show'); } else { clearError('#email'); } }, error: function() { showError('#email', 'An error occurred while checking the email'); } }); } function checkMobileInDatabase(fullMobile) { $.ajax({ url: 'https://platform.idos.events/JsonIslemler/getId', type: 'POST', dataType: 'JSON', data: { "tabloAdi": "uyeler", "sutunAdi": "mobile", "id": fullMobile, [csrf_token_name]: csrf_hash }, success: function(kontrol) { csrf_hash = kontrol.hash; $('input[name="' + csrf_token_name + '"]').val(csrf_hash); if (kontrol.veri != null) { showError('#mobile', 'This mobile number is already registered'); $("#forgotPasswordButton").attr('href', 'https://platform.idos.events/Auth/forgotPass?userName=' + fullMobile); $("#exampleModal1").modal("show"); } else { clearError('#mobile'); } }, error: function() { showError('#mobile', 'An error occurred while checking the mobile number'); } }); } $('#email').on('blur', function() { let email = $(this).val(); if (validateEmail(email)) { checkEmailInDatabase(email); } }); $('#mobile').on('blur', function() { var input = document.querySelector("#mobile"); var iti = window.intlTelInputGlobals.getInstance(input); var fullNumber = iti.getNumber(intlTelInputUtils.numberFormat.E164); // + i艧areti ile tam numaray谋 al var dialCode = iti.getSelectedCountryData().dialCode; // 脺lke kodunu al if (dialCode) { var mobileNumber = fullNumber.replace('+' + dialCode, dialCode); $('#mobile').val(mobileNumber); // Mobil numaray谋 g眉ncelle $('#countryCode').val(dialCode.replace('+', '')); // 脺lke kodunu gizli input alan谋na ekle checkMobileInDatabase(mobileNumber); } }); function showError(selector, message) { $(selector).addClass('is-invalid'); $(selector).next('.invalid-feedback').remove(); $(selector).after('<div class="invalid-feedback">' + message + '</div>'); } function clearError(selector) { $(selector).removeClass('is-invalid'); $(selector).next('.invalid-feedback').remove(); } }); function modalAc() { $(".modal").modal("hide"); $("#subFolder").val('register'); $("#exampleModal").modal("show") } </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10