CINXE.COM
Brief History
<!DOCTYPE html> <html lang="tr"> <head> <meta property="og:url" content="iett.istanbul/Brief-History" /> <meta property="og:title" content="Brief History" /> <meta property="og:description" content="<img src="/BBImages/Slider/Image/iett-history.jpg" style="width: 100%;"/" /> <meta property="og:image" content="iett.istanbul/BBImages/Slider/Image/" /> <meta name="Keywords" content="İETT"> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:domain" content="iett.istanbul" /> <meta name="twitter:title" content="Brief History" /> <meta name="twitter:description" content="<img src="/BBImages/Slider/Image/iett-history.jpg" style="width: 100%;"/" /> <meta name="twitter:image" content="iett.istanbul/BBImages/Slider/Image/" /> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0, maximum-scale=2.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta name="title" content="İETT - İstanbul Elektrik Tramvay ve Tünel İşletmeleri Genel Müdürlüğü" /> <meta name="description" content="İETT - Hareket Saatleri Paso Başvurusu Metrobüs Hatları" /> <meta name="keywords" content="iett, hareket saatleri, paso başvurusu, metrobüs, seyahat kartları" /> <link rel="shortcut icon" href="/Assets/favicon.ico" /> <!-- Style --> <link rel="stylesheet" href="//code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.css" /> <link href="/Assets/css/lightboxed.css" rel="stylesheet" /> <link href="/Assets/css/style.css" rel="stylesheet" /> <link href="/Assets/css/popup.css" rel="stylesheet" /> <link href="/Assets/css/custom.css" rel="stylesheet" /> <!-- End Style --> <title>Brief History</title> </head> <body> <!-- Google Tag Manager (noscript) --> <noscript> <iframe src="https://www.googletagmanager.com/ns.html?id=G-DTXK8RBZED" height="0" width="0" style="display:none;visibility:hidden"></iframe> </noscript> <!-- End Google Tag Manager (noscript) --> <title>Brief History</title> <!--<div hidden="hidden" id="menuPartialElement"></div>--> <!-- ================================ WARNINNG All 'li' and 'ul' commnets for opening site situation related All are empty linked. if any of them can link it can be activate again ================================ --> <!-- SubPage Menu Start --> <div class="sub-menu-box"> <div class="sub-menu"> <div class="sub-menu-left"> <a href="/en"><img src="../../assets/img/icons/ibb-white-logo.svg" alt=""></a> <a href="/en"><img src="../../assets/img/icons/logo-white.svg" alt=""></a> </div> <div class="sub-menu-middle"> <a href="/EnRouteSearch" target="_self">Route/Station Search</a> <a href="/en/announcement/Index" target="_self">Announcements</a> <a href="/en/news/archive" target="_self">News</a> <a class="mega-menu-opener">Corporate</a> </div> <div class="sub-menu-right"> <!--social link start--> <div class="social-links"> <a href="https://www.facebook.com/iett.tr" target="_blank"><img src="/assets/img/icons/facebook.svg" alt="Facebook Logo"></a> <a href="https://twitter.com/ietttr" target="_blank"><img src="/assets/img/icons/twitter.svg" alt="Twitter Logo"></a> <a href="https://instagram.com/ietttr" target="_blank"><img src="/assets/img/icons/instagram.svg" alt="Instagram Logo"></a> <a href="https://www.youtube.com/iettKurumsal" target="_blank"><img src="/assets/img/icons/youtube.svg" alt="Youtube Logo"></a> <a href="https://www.linkedin.com/company/iett" target="_blank"><img src="/assets/img/icons/linkedin.svg" alt="Linkedin Logo"></a> </div> <!--social link end--> <div class="menu-search"> <button class="menu-search--open"><img src="../../assets/img/icons/search.svg" alt=""></button> <button class="menu-search--close"><img src="../../assets/img/icons/close.svg" alt=""></button> <input class="searchbtns" type="text" placeholder="Arama..."> </div> <div class="menu-lang"><a style="color:white;" href="/">TR</a></div> <!-- Mobil Home Page Menu Start--> <div class="mobil-menu-box"> <div class="mobil-menu"> <div class="mobil-menu-right"> Menu <div class="mobil-menu-icon"> <span></span> <span></span> <span></span> </div> </div> </div> <div class="mobil-menu-navigation" style="overflow-y:scroll;"> <div class="mobil-menu-closer"><img src="../../assets/img/icons/close.svg" alt=""></div> <div class="mobil-menu-lang"> <!--Dil degistiginde current class'ı ingilizceye gececek--> <span class="current">EN</span><b>/</b><span><a href="/" style="color:white;">TR</a></span> </div> <div class="mobil-menu-search"> <input class="searchbtns" type="text" placeholder="Arama..."> <div class="mobil-menu-search-btn"> <img src="../../assets/img/icons/search.svg" alt=""> </div> </div> <div class="mobil-menu-links"> <a href="/EnRouteSearch" target="_self">Route/Station Search</a> <a href="/en/announcement/Index" target="_self">Announcements</a> <a href="/en/news/archive" target="_self">News</a> <a class="mobil-menu-corporate">Corporate <img src="../../assets/img/icons/arrow-down.svg" alt=""></a> <!-- Kurumsal Alt Links Listesi --> <ul class="mobil-menu-corporate--links"> <li> <a class="mobil-menu-corporate--sub" href="#" target="_self">Institutional<img src="../assets/img/icons/arrow-down.svg" alt=""></a> <ul class="mobil-menu-corporate--links--sub"> <li> <a href="/icerik/General-Manager" target="_self">General Manager</a> </li> <li> <a href="/icerik/istanbul-metropolitan-Municipality-Mayor" target="_self">İstanbul Metropolitan Municipality Mayor</a> </li> <li> <a href="/en/permission/chart" target="_self">Organization Chart</a> </li> <li> <a href="/icerik/Mission-Vision-Policy" target="_self">Mission-Vision-Policy</a> </li> <li> <a href="/icerik/Corporate-Ethical-Principles-and-Policies" target="_self">Corporate Ethical Principles and Policies</a> </li> <li> <a href="/icerik/Jurisdiction" target="_self">Jurisdiction</a> </li> <li> <a href="/icerik/IETT-2021-2025-Strategic-Plans" target="_self">İETT 2021- 2025 Strategic Plans</a> </li> <li> <a href="/icerik/Contact-us" target="_self">Contact us</a> </li> <li> <a href="/icerik/Excellence-Policy" target="_self">Excellence Policy</a> </li> <li> <a href="/icerik/Corporate-Social-Responsibility" target="_self">Corporate Social Responsibility</a> </li> </ul> </li> <li> <a class="mobil-menu-corporate--sub" href="#" target="_self">History<img src="../assets/img/icons/arrow-down.svg" alt=""></a> <ul class="mobil-menu-corporate--links--sub"> <li> <a href="/icerik/Brief-History" target="_self">Brief History</a> </li> <li> <a href="/icerik/Short-History" target="_self">Short History</a> </li> </ul> </li> <li> <a class="mobil-menu-corporate--sub" href="#" target="_self">Public Transportation<img src="../assets/img/icons/arrow-down.svg" alt=""></a> <ul class="mobil-menu-corporate--links--sub"> <li> <a href="/icerik/Tunnel" target="_self">Tunnel</a> </li> <li> <a href="/icerik/Nostalgic-Tramvay" target="_self">Nostalgic Tramvay</a> </li> <li> <a href="/icerik/Buses" target="_self">Buses</a> </li> <li> <a href="/icerik/Metrobus" target="_self">Metrobus</a> </li> <li> <a href="/icerik/Metrobus-Lines" target="_self">Metrobus Lines</a> </li> <li> <a href="/icerik/Public-Transportation-in-Istanbul" target="_self">Public Transportation in Istanbul</a> </li> <li> <a href="/icerik/Passenger-Rights-Proclamation" target="_self">Passenger Rights Proclamation</a> </li> </ul> </li> <li> <a class="mobil-menu-corporate--sub" href="#" target="_self">Online Services<img src="../assets/img/icons/arrow-down.svg" alt=""></a> <ul class="mobil-menu-corporate--links--sub"> <li> <a href="/icerik/FAQ" target="_self">FAQ</a> </li> <li> <a href="/icerik/Our-Policy-For-Handling-Customer-Complaints" target="_self">Our Policy For Handling Customer Complaints</a> </li> <li> <a href="/icerik/Resolving-Customer-Requests" target="_self">Resolving Customer Requests</a> </li> </ul> </li> <li> <a class="mobil-menu-corporate--sub" href="#" target="_self">Visitors<img src="../assets/img/icons/arrow-down.svg" alt=""></a> <ul class="mobil-menu-corporate--links--sub"> <li> <a href="/icerik/Access-to-Bus-Terminal" target="_self">Access to Bus Terminal</a> </li> <li> <a href="/icerik/Access-to-Piers" target="_self">Access to Piers</a> </li> <li> <a href="/icerik/Access-to-High-Speed-Train" target="_self">Access to High-Speed Train</a> </li> <li> <a href="/icerik/Access-to-Airports" target="_self">Access to Airports</a> </li> </ul> </li> </ul> </div> <div class="mobil-menu-footer"> <div class="iett-logo"> <img src="../../assets/img/icons/logo-white.svg" alt=""> </div> <span>Bizi Takip Edin</span> <!--social link start--> <div class="social-links"> <a href="https://www.facebook.com/iett.tr" target="_blank"><img src="/assets/img/icons/facebook.svg" alt="Facebook Logo"></a> <a href="https://twitter.com/ietttr" target="_blank"><img src="/assets/img/icons/twitter.svg" alt="Twitter Logo"></a> <a href="https://instagram.com/ietttr" target="_blank"><img src="/assets/img/icons/instagram.svg" alt="Instagram Logo"></a> <a href="https://www.youtube.com/iettKurumsal" target="_blank"><img src="/assets/img/icons/youtube.svg" alt="Youtube Logo"></a> <a href="https://www.linkedin.com/company/iett" target="_blank"><img src="/assets/img/icons/linkedin.svg" alt="Linkedin Logo"></a> </div> <!--social link end--> </div> </div> </div> <!-- Mobil Home Page Menu Finish--> </div> </div> </div> <!-- SubPage Menu Finish --> <div class="mega-menu-box"> <div class="mega-menu"> <div class="mega-menu-columns"> <div class="mega-menu-column"> <div class="mega-menu--title">INSTİTUTİONAL</div> <a href="/icerik/General-Manager" target="_self">General Manager</a> <a href="/icerik/istanbul-metropolitan-Municipality-Mayor" target="_self">İstanbul Metropolitan Municipality Mayor</a> <a href="/en/permission/chart" target="_self">Organization Chart</a> <a href="/icerik/Mission-Vision-Policy" target="_self">Mission-Vision-Policy</a> <a href="/icerik/Corporate-Ethical-Principles-and-Policies" target="_self">Corporate Ethical Principles and Policies</a> <a href="/icerik/Jurisdiction" target="_self">Jurisdiction</a> <a href="/icerik/IETT-2021-2025-Strategic-Plans" target="_self">İETT 2021- 2025 Strategic Plans</a> <a href="/icerik/Contact-us" target="_self">Contact us</a> <a href="/icerik/Excellence-Policy" target="_self">Excellence Policy</a> <a href="/icerik/Corporate-Social-Responsibility" target="_self">Corporate Social Responsibility</a> </div> <div class="mega-menu-column"> <div class="mega-menu--title">HİSTORY</div> <a href="/icerik/Brief-History" target="_self">Brief History</a> <a href="/icerik/Short-History" target="_self">Short History</a> </div> <div class="mega-menu-column"> <div class="mega-menu--title">PUBLİC TRANSPORTATİON</div> <a href="/icerik/Tunnel" target="_self">Tunnel</a> <a href="/icerik/Nostalgic-Tramvay" target="_self">Nostalgic Tramvay</a> <a href="/icerik/Buses" target="_self">Buses</a> <a href="/icerik/Metrobus" target="_self">Metrobus</a> <a href="/icerik/Metrobus-Lines" target="_self">Metrobus Lines</a> <a href="/icerik/Public-Transportation-in-Istanbul" target="_self">Public Transportation in Istanbul</a> <a href="/icerik/Passenger-Rights-Proclamation" target="_self">Passenger Rights Proclamation</a> </div> <div class="mega-menu-column"> <div class="mega-menu--title">ONLİNE SERVİCES</div> <a href="/icerik/FAQ" target="_self">FAQ</a> <a href="/icerik/Our-Policy-For-Handling-Customer-Complaints" target="_self">Our Policy For Handling Customer Complaints</a> <a href="/icerik/Resolving-Customer-Requests" target="_self">Resolving Customer Requests</a> </div> <div class="mega-menu-column"> <div class="mega-menu--title">VİSİTORS</div> <a href="/icerik/Access-to-Bus-Terminal" target="_self">Access to Bus Terminal</a> <a href="/icerik/Access-to-Piers" target="_self">Access to Piers</a> <a href="/icerik/Access-to-High-Speed-Train" target="_self">Access to High-Speed Train</a> <a href="/icerik/Access-to-Airports" target="_self">Access to Airports</a> </div> </div> </div> </div> <!-- ================================ WARNINNG All 'li' and 'ul' commnets for opening site situation related All are empty linked. if any of them can link it can be activate again ================================ --> <!--BreadCrumb Start--> <div class="breadcrumb-container" style="background-image: url(../../assets/img/breadcrumb-bg.png)"> <div class="breadcrumb"> <ol> <li><a>History</a></li> <li> <a> Brief History </a> </li> </ol> <h1 class="breadcrumb-title">Brief History</h1> </div> </div> <!--BreadCrumb Finish--> <input type="hidden" id="elementlang" value="2" /> <div class="iett-container--middle" style="background-color:;"> <div class="layout-one"> <div class="left"> <!-- SideMenu Start --> <nav class="sidebar"> <h3 class="sidebar-title">History<img src="/assets/img/icons/arrow-down-blue.svg" alt=""><div class="mobil-side-navigation"></div></h3> <ul class="sidebar-navigation"> <li class=" active"><a href="/icerik/Brief-History" target="_self">Brief History</a></li> <li class=" "><a href="/icerik/Short-History" target="_self">Short History</a></li> </ul> </nav> <!-- SideMenu Finish --> </div> <div class="right"> <!--Tweet-Like-Share Start--> <div class="social-header"> <h2>Brief History</h2> <div class="social-buttons"> <button>tweetle</button> <button>Beğen</button> <button>Paylaş</button> </div> </div> <!--Tweet-Like-Share Finish--> <div class="iett-entry-container"> <div> <div class="text none-resetcss"> <p><img src="/BBImages/Slider/Image/iett-history.jpg" style="width: 100%;"/></p><p><br/><!--StartFragment--><span style="font-size: 16px;float: none;">Public transportation in the city of Istanbul officially started August 30, 1869, with the agreement relating to "The Tramway in Dersaadet and Its Facilities". The operation of the first horse drawn tram started in 4 lines in 1871. In the same year, the construction of the Tünel, a short funicular between Pera and Galata, started. The funicular opened to service on December 5, 1874, the second oldest subway in the world after the London underground; today it is still in service. Shift to electricity tram took place on February 2, 1914 and starting from June 8, 1928, tram operation was effective on the Anatolian side. The tram, Tünel, bus and electricity establishments, which had been operated by various foreign companies, were nationalized in 1939 and gained their current status under the name of the Directorate General of IETT Establishments. In 1945, Yedikule and Kurbağalıdere gas plants and the Istanbul and Anadolu gas distribution systems fed by these plants were taken over. As a result of the amendment in the TEK (Turkish Establishment of Electricity) law No: 2705, dated September 9, 1982, all electricity services, along with their rights and responsibilities, were granted to TEKB. In June 1993, in compliance with the orders of the Metropolitan Municipality, town gas production and distribution activities were terminated. Today İETT provides only public transportation with buses, BRT (Metrobüs) and Tunnel Operations and also responsible for management and inspection of Private Bus Transit Services. </span><!--EndFragment--><br/><br/></p> </div> </div> </div> </div> </div> </div> <script> var isdone = false; function splforeach(currenturl, data, windowslocationhref) { var newspl = currenturl.split("-"); debugger; if (newspl[0] == data.split("-")[0] && newspl[1] == data.split("-")[1]) { if (newspl[2] !== data.split("-")[2]) { currenturl = windowslocationhref.replace(data, currenturl); isdone = true; } else currenturl = windowslocationhref.replace(data, currenturl); } else { currenturl = windowslocationhref; } return currenturl; } </script> <!-- Footer Start --> <div class="footer"> <div class="iett-container"> <div class="footer-header"> </div> <div class="footer-links-title">Fast Access</div> <div class="footer-links"> <div class="row"> <div class="col-lg-3 col-6 mb-5"> </div> <div class="col-lg-3 col-6 mb-5"> </div> <div class="col-lg-3 col-6 mb-5"> </div> <div class="col-lg-3 col-6 mb-5"> </div> </div> </div> </div> </div> <style> .eye-out { position: absolute; right: 0px; } .eye-in { position: absolute; right: 0px; bottom: -20px; } @media screen and (max-width: 840px) { .eye-out { position: relative; right: 30vW; bottom: 80px; } } </style> <div class="footer-bottom"> It was designed with ❤️ by the Department of Information Technologies of IETT General Directorate <div class="eye-out"> <a href="https://www.blindlook.com/tr/eyelearn/detay/iett" target="_blank" class="eye-in"> <img style="height: 50px; width: auto; max-width: 100px;" src="/Assets/img/eyeen.png" /> </a> </div> </div> <!-- Footer Finish --> <input type="hidden" value="2" id="pagelangid" /> <!--Custom Scripts--> <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> <script src="https://code.jquery.com/ui/1.13.2/jquery-ui.js"></script> <script src="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.js"></script> <script src="/Assets/js/lightboxed.js"></script> <script src="/Assets/js/app.js"></script> <script src="/Assets/js/share.js"></script> <!--Twitter start--> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> <!--Twitter end--> <!-- Google Tag Manager --> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-DTXK8RBZED"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'G-DTXK8RBZED'); </script> <!-- End Google Tag Manager --> <script> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m); })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-23603955-17', 'auto'); ga('send', 'pageview'); function filter(model) { var endDate = $('#endDateE4').val(); var startDate = $('#startDateE4').val(); model.filter(function (item) { return item.decisiondate >= startDate && item.decisiondate <= endDate; }); var content = "<table>"; model.forEach(function (item) { content += '<tr><td>' + item.decisiondate + i + '</td></tr>'; }); content += "</table>"; $('#filelistE4').html(content); } function filter2(model) { var endDate = $('#endDateE4').val(); var startDate = $('#startDateE4').val(); if (endDate == undefined && startDate == undefined) { return; } var filtered = model.filter(function (item) { var start = ConvertStringToDate(startDate); var end = ConvertStringToDate(endDate); var dcsiondate = ConvertStringToDate(ConvertJsonDateToString(item.decisiondate)); if (dcsiondate >= start && dcsiondate <= end) { return true; } }); var content = ""; filtered.forEach(function (item) { var endDate = ConvertJsonDateToString(item.decisiondate) content += "<div class='button-card button-card--boxed mb-3'><div class='card border-radius-md p-0 line-height-120 p-0'><div class='card-body p-0'><div class='button-card__main'><table id='filelistE4' class='table table-borderless mb-0'><tbody><tr><td style='vertical-align: middle'>" + item.description + "</td><td style='min-width: 200px; text-align: right'>" + endDate + "</td></tr></tbody></table></div>" + "<div class='button-card__actions'><a class='btn btn-light text-dark-blue' href='" + item.decisionpath + "' target='_blank' role='button'><span class='font-weight-700'>İNDİR</span><span class='fa fa-file-pdf text-dark-blue'></span></a></div></div></div></div>"; }); $('#componentList').html(content); } function ConvertJsonDateToString(jsonDate) { var fullDate = new Date(parseInt(jsonDate.substr(6))); var twoDigitMonth = (fullDate.getMonth() + 1) + ""; if (twoDigitMonth.length == 1) twoDigitMonth = "0" + twoDigitMonth; var twoDigitDate = fullDate.getDate() + ""; if (twoDigitDate.length == 1) twoDigitDate = "0" + twoDigitDate; var currentDate = twoDigitDate + "." + twoDigitMonth + "." + fullDate.getFullYear(); return currentDate; } function ConvertStringToDate(strDate) { var array = strDate.split("."); var opposite = array[2] + "/" + array[1] + "/" + array[0] var date = new Date(opposite) return date; } </script> <script> var maintexttitle = document.getElementById("mainTitle"); var btnlink = ""; var btntarget = ""; if (maintexttitle != undefined) { GetMainText(); } function mainButtonEvent() { window.open(btnlink, btntarget); } function GenerateSlug(txt) { var arrychar = ['ç', 'ı', 'ü', 'ğ', 'ö', 'ş', 'İ', 'Ğ', 'Ü', 'Ö', 'Ş', 'Ç']; var aryenchr = ['c', 'i', 'u', 'g', 'o', 's', 'I', 'G', 'U', 'O', 'S', 'C']; for (var i = 0; i < arrychar.length - 1; i++) { txt = txt.replaceAll(arrychar[i], aryenchr[i]); } txt = txt.replace(/ /g, '-'); txt = txt.toLowerCase(); txt = txt.replace(/ç/g, 'c'); return txt; } function searchbtnevent() { $('.searchbtns').keyup(function (e) { var srckey = $(this).val(); var pagelanguage = '/'; var pagelang = '2'; if (pagelang == '2') { pagelanguage = '/en/'; } if (e.which === 13 && srckey.length > 0) { window.open(pagelanguage+'search?key=' + srckey, '_self') return; } }) } $(window).scroll(function (event) { if ($(".mega-menu-box").hasClass("active")) { $(".mega-menu-box").removeClass("active"); } }); $(document).click(function (event) { var $target = $(event.target); if ($target.closest('.mega-menu-opener').length) { return; } if (!$target.closest('.mega-menu').length) { if ($(".mega-menu-box").hasClass("active")) { $(".mega-menu-box").removeClass("active"); } } }); </script> <script> $(document).ready(function () { $(document).keydown(function (event) { if (event.keyCode == '37') { $("#lightboxed--bttn_prev").trigger("click") } else if (event.keyCode == '39') { $("#lightboxed--bttn_next").trigger("click") } else if (event.which == 27) { $("#lightboxed--bttn_close").trigger("click") } }); searchbtnevent(); }) </script> <script> function megamenuopenerEvent() { $(".mega-menu-opener").on("click", function () { $(".mega-menu-box").toggleClass("active"); }); } function mobilmenuEvent() { $(".mobil-menu-right").on("click", function () { $(".mobil-menu-navigation").addClass("active") }) $(".mobil-menu-closer").on("click", function () { $(this).parent().removeClass("active") }) $(".mobil-menu-corporate").on("click", function () { $(".mobil-menu-corporate--links").slideToggle(500) }) } var pagelangid = $('#pagelangid').val(); </script> <script> if (location.pathname.length > 1) { $.ajax({ url: '/Home/GetPagePopupByUrl', methods: 'get', data: { url: location.pathname, languageid: pagelangid }, success: function (data) { if (data != null) { if (data.ImageUrl != null) { var popid = data.Id; if (localStorage.getItem("popup" + popid)) return; var cbPopup = $('<input>').attr('type', 'checkbox'); var divpopup = $('<div>').addClass('npu-container npu-type-image').append( $('<div>').addClass('npu-window') .append($('<div>').addClass('npu-button-close')) .append( $('<div>').addClass('npu-content-conteiner').append( $('<img>').addClass('npu-content') .attr('src', data.ImageUrl) .on('click', function () { window.open(data.ReturnUrl, '_self') }) ) .append($('<br>')) .append(cbPopup) .append($('<label>').text('Bir daha gösterme').css('color', 'white')) ) ); $('body').append( divpopup ) $('.npu-button-close').on('click', function () { if (cbPopup.is(':checked')) { localStorage.setItem("popup" + popid, true); } divpopup.remove(); }) } } } }) } </script> <script> $(".searchbtns").autocomplete({ source: function (request, response) { var searchkey = request.term; searchResponse(response,searchkey,'search'); }, select: function (event, ui) { var pagelanguage = '/'; var pagelang = '2'; if (pagelang == '2') { pagelanguage = '/en/'; } window.open(pagelanguage+'search?key=' + ui.item.value, '_self') } }); function searchResponse(response,searchkey,genre){ $.ajax({ url: '/tr/Search/GetSearchItem', method: 'get', data: { key: searchkey, genre: genre, languageid: 2 }, success: function (result) { response($.map(result, function (item) { return item.Title.split('-')[0]; })); } }); } </script> <script> $(document).ready(function () { $(".e4List").hide(); $('.e4List').filter('#1').show(); }) function e4GetPrevPage() { var pcount = $('#totalItems').val(); var currentPageNumber = $('#currentPage').val(); var strHId = '#' + currentPageNumber; if (currentPageNumber <= 1) { currentPageNumber = parseInt(pcount) + 1; } currentPageNumber--; $('#currentPage').val(currentPageNumber) $("#pageNumber").html(currentPageNumber + '/' + pcount); var strSId = '#' + currentPageNumber; $('.e4List').filter(strHId).hide(); $('.e4List').filter(strSId).show(); } function e4GetNextPage() { var pcount = $('#totalItems').val(); var currentPageNumber = $('#currentPage').val(); var strHId = '#' + currentPageNumber; if (parseInt(currentPageNumber) >= parseInt(pcount)) { currentPageNumber = 0; } currentPageNumber++; $('#currentPage').val(currentPageNumber) $("#pageNumber").html(currentPageNumber + '/' + pcount); var strSId = '#' + currentPageNumber; $('.e4List').filter(strHId).hide(); $('.e4List').filter(strSId).show(); } function checkTenderDatetime(input, date) { var pathNm = window.location.pathname; var pathlower = pathNm.toLowerCase(); if (pathNm == '/icerik/Enc%C3%BCmen' || pathNm == '/icerik/Encumen-ihaleler' || pathlower == '/icerik/enc%c3%bcmen' || pathlower == '/icerik/encumen' || pathlower == '/icerik/encumen-ihaleler') { var datelast = new Date(2018, 8, 26); var dateslct = prsDate(date); if (dateslct < datelast) { $(input).val("26.09.2018"); } } } $("#startDateE4").focusout(function () { var date = $("#startDateE4").val(); checkTenderDatetime('#startDateE4', date); }); $("#endDateE4").focusout(function () { var date = $("#endDateE4").val(); checkTenderDatetime('#endDateE4', date); }); function prsDate(strDate) { var datearray = strDate.split('.'); var day = datearray[0]; var month = datearray[1] - 1; var year = datearray[2]; return new Date(year, month, day); } </script> </body> </html>