
<!DOCTYPE html>
<html lang="en">
    <head>
        <link rel="icon" href="./logo.png" sizes="32x32">
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Yazılımın Olsun - Web Tasarım, Özel Yazılım ve Dijital Dönüşüm Çözümleri</title>

        <!-- Açıklama ve Anahtar Kelimeler -->
        <meta name="description" content="Yazılım ve web tasarım ihtiyaçlarınız için profesyonel çözümler. Özel yazılım projeleri, e-ticaret siteleri, CRM sistemleri ve daha fazlası. Hemen iletişime geçin!">
        <meta name="keywords" content="yazılım, web tasarım, özel yazılım, e-ticaret yazılımı, CRM yazılımı, ERP yazılımı, mobil uygulama geliştirme, yazılım projeleri, İstanbul yazılım firması, Türkiye yazılım çözümleri, dijital dönüşüm">
        <meta name="author" content="yaziliminolsun.com.tr">
        <meta name="robots" content="index, follow">

        <!-- Canonical Link -->
        <link rel="canonical" href="https://www.yaziliminolsun.com.tr/" />

        <!-- Sosyal Medya için Open Graph Meta Etiketleri -->
        <meta property="og:title" content="Yazılımın Olsun - Web Tasarım ve Özel Yazılım Çözümleri">
        <meta property="og:description" content="Profesyonel yazılım çözümleri, web tasarım hizmetleri ve dijital dönüşüm projeleri için doğru adres. İhtiyacınıza uygun projeler geliştirin.">
        <meta property="og:image" content="https://www.yaziliminolsun.com.tr/logo.png">
        <meta property="og:url" content="https://www.yaziliminolsun.com.tr">
        <meta property="og:type" content="website">

        <!-- Twitter Kartları için Meta Etiketler -->
        <meta name="twitter:card" content="summary_large_image">
        <meta name="twitter:title" content="Yazılımın Olsun - Web Tasarım, CRM ve Özel Yazılım Çözümleri">
        <meta name="twitter:description" content="Web tasarım ve yazılım çözümleri için profesyonel destek alın. Mobil uygulama, e-ticaret ve CRM sistemleri geliştirme hizmetleri.">
        <meta name="twitter:image" content="https://www.yaziliminolsun.com.tr/logo.png">

    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet"> <!-- İkonlar için FontAwesome -->
    <script>
        document.addEventListener("DOMContentLoaded", function () {
            // Mobil cihaz tespiti
            const isMobile = /Mobi|Android/i.test(navigator.userAgent);
            
            if (isMobile) {
                showMobileWarningPopup();
            }

            // Popup gösterme fonksiyonu
            function showMobileWarningPopup() {
                const popup = document.createElement('div');
                popup.setAttribute('id', 'mobile-popup');
                popup.style.position = 'fixed';
                popup.style.top = '0';
                popup.style.left = '0';
                popup.style.right = '0';
                popup.style.bottom = '0';
                popup.style.backgroundColor = 'rgba(0, 0, 0, 0.5)';
                popup.style.display = 'flex';
                popup.style.justifyContent = 'center';
                popup.style.alignItems = 'center';

                const popupContent = document.createElement('div');
                popupContent.style.backgroundColor = 'white';
                popupContent.style.padding = '20px';
                popupContent.style.borderRadius = '10px';
                popupContent.style.textAlign = 'center';

                const heading = document.createElement('h3');
                heading.textContent = 'Mobil Desteklenmiyor';
                const text = document.createElement('p');
                text.textContent = 'Bu site mobil cihazlarda desteklenmemektedir. Tam erişim için lütfen masaüstü cihaz kullanınız.';

                const goToSiteBtn = document.createElement('button');
                goToSiteBtn.textContent = 'Siteye Git';
                goToSiteBtn.style.padding = '10px 20px';
                goToSiteBtn.style.backgroundColor = '#333';
                goToSiteBtn.style.color = 'white';
                goToSiteBtn.style.border = 'none';
                goToSiteBtn.style.borderRadius = '5px';
                goToSiteBtn.style.cursor = 'pointer';
                goToSiteBtn.style.marginTop = '10px';

                goToSiteBtn.onclick = function () {
                    window.location.href = 'https://www.yaziliminolsun.com.tr';
                };

                popupContent.appendChild(heading);
                popupContent.appendChild(text);
                popupContent.appendChild(goToSiteBtn);
                popup.appendChild(popupContent);

                document.body.appendChild(popup);
            }
        });
    </script>
    <script>
        document.addEventListener("DOMContentLoaded", function () {
        // Sağ tıklamayı engelle
        document.addEventListener("contextmenu", function (e) {
        e.preventDefault();
        alert("Sağ tıklama 'Yzo system protection v1.2' tarafından devre dışı bırakılmıştır.");
        });
        
        // CTRL + S veya diğer kısayolları engelle
        document.addEventListener("keydown", function (e) {
        if (
        (e.ctrlKey && e.key === "s") ||  // CTRL + S
        (e.ctrlKey && e.key === "u") ||  // CTRL + U
        (e.ctrlKey && e.key === "p") ||  // CTRL + P
        (e.ctrlKey && e.key === "a") ||  // CTRL + A
        (e.ctrlKey && e.key === "t") ||  // CTRL + T
        (e.key === "F12")                // Geliştirici Araçları
        ) {
        e.preventDefault();
        alert("Yaptığınız işlem 'Yzo system protection v1.2' tarafından devre dışı bırakılmıştır.");
        }
        });
        
        // Tarayıcıdan metin seçimini engelle
        document.addEventListener("selectstart", function (e) {
        e.preventDefault();
        });
        
        // Sayfa kaynağına erişimi zorlaştır
        document.addEventListener("copy", function (e) {
        e.preventDefault();
        alert("'Yzo system protection v1.2' tarafından devre dışı bırakılmıştır. Kopyalama işlemi.");
        });
        
        // Tarayıcıya özel işlevler için ekstra engel (fare kontrolü)
        document.addEventListener("mousedown", function (e) {
        if (e.button === 2 || e.button === 3) {
        e.preventDefault();
        }
        });
        
        // Tarayıcı kontrolü: User-Agent doğrulaması
        const userAgent = navigator.userAgent.toLowerCase();
        const blockedAgents = ["httrack", "wget", "curl", "node", "flame"];
        blockedAgents.forEach(agent => {
        if (userAgent.includes(agent)) {
        alert("Bu araç 'Yzo system protection v1.2' tarafından engellenmiştir.");
        document.body.innerHTML = "<h1>Erişim Engellendi</h1>";
        throw new Error("Engellenen User-Agent tespit edildi: " + userAgent);
        }
        });
        
        // iFrame'de çalışmayı engelle
        if (window.top !== window.self) {
        alert("Bu sayfa iframe içinde görüntülenemez!");
        window.top.location = window.self.location;
        }
        
        // Token veya Dinamik Doğrulama
        const token = generateToken();
        console.log("Token: ", token); // Sunucuya gönderilecek token
        
        // Token oluşturma fonksiyonu
        function generateToken() {
        return btoa(Date.now().toString() + Math.random().toString());
        }
        
        // Sunucuya heartbeat göndermek için mekanizma
        setInterval(() => {
        fetch('/heartbeat', {
        method: 'POST',
        headers: {
        'Content-Type': 'application/json',
        'X-Custom-Token': token
        },
        body: JSON.stringify({ timestamp: Date.now() })
        }).catch(err => {
        console.error('Sunucuya bağlantı başarısız:', err);
        });
        }, 30000); // 30 saniyede bir sunucuya bildirim gönder
        });
        </script>
    <style>
        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            color: #333;
        }
    
        header {
            background-color: #333;
            color: white;
            padding: 10px;
            text-align: center;
            font-size: 1.5em;
            font-weight: bold;
        }
    
        .container {
            display: flex;
            height: calc(100vh - 50px);
        }
    
        .sidebar {
            width: 200px;
            background-color: #444;
            color: white;
            display: flex;
            flex-direction: column;
            padding: 10px;
        }
    
        .sidebar button {
            background-color: #555;
            border: none;
            color: white;
            padding: 10px;
            margin: 5px 0;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
        }
    
        .sidebar button:hover {
            background-color: #666;
        }
    
        .content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #e0e0e0;
            padding: 20px;
        }
    
        .panel-box {
            background-color: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 400px;
            margin-top: 20px;
            text-align: center;
        }
    
        .panel-box h3 {
            font-size: 1.2em;
            margin-bottom: 10px;
        }
    
        .programs {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 20px;
        }
    
        .programs .program-btn {
            background-color: #333;
            color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.1em;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
    
        .programs .program-btn:hover {
            transform: scale(1.1); /* Hover efektiyle büyüme */
        }
    
        .programs .program-btn i {
            margin-right: 10px;
            font-size: 1.5em;
        }
    
        .hidden {
            display: none;
        }
    
        /* Popup Stil */
        #popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }
    
        #popup .popup-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
            width: 300px;
        }
    
        #popup button {
            padding: 10px 20px;
            background-color: #333;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin: 10px;
        }
    
        #popup button:hover {
            background-color: #555;
        }
    
        /* iframe Box */
        .iframe-box {
            width: 1000px;
            height: 500px;
            background-color: white;
            border-radius: 20px; /* Kenarları yuvarlatmak için arttırılmış değer */
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            margin-top: 20px;
            overflow: hidden; /* İçeriğin kenarları yuvarlatmaya uyması için */
        }
    
        iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 20px; /* iframe için de kenar yuvarlama */
        }
    
        /* Tam Ekran Butonu */
        .fullscreen-btn {
            background-color: #333;
            color: white;
            padding: 10px 20px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1em;
            margin-top: 20px;
        }
    
        .fullscreen-btn:hover {
            background-color: #555;
        }
    
        /* Tam Ekran Bilgilendirme Yazısı */
        .fullscreen-info {
            font-size: 0.9em;
            color: #666;
            margin-top: 10px;
        }
    
        /* Mobil Cihazlar için Bilgilendirme Yazısı */
        @media only screen and (max-width: 768px) {
            .fullscreen-info {
                display: block;
                font-size: 0.8em;
                text-align: center;
                color: red;
                margin-top: 15px;
            }
        }
    </style>
    
</head>
<body>
    <header>Müşteri Paneli v1.0</header>
    <div class="container">
        <div class="sidebar">
            <button onclick="showPanel()">Ana Menü</button>
            <button onclick="window.location.href='https://www.yaziliminolsun.com.tr/deneme.html'">Bize Bildirin</button>
            <button onclick="showPopup()">Siteye Dön</button>
        </div>
        <div class="content" id="content">
            <!-- Panel Nedire kısmı -->
            <div id="panel" class="hidden">
                <div class="panel-box">
                    <h3>Panel Nedir?</h3>
                    <p>Bu panel web site içinde bizden satın aldığınız programları açmanıza yarar eğer bir sorununuz olursa "Bize Bildirin" butonu ile destek alabilirsiniz</p>
                    <div class="programs">
                        <div class="program-btn" onclick="loadIframe('http://localhost:3000')">
                            <i class="fas fa-industry"></i> Sanayi Programı
                        </div>
                        <div class="program-btn" onclick="loadIframe('http://localhost:3001')">
                            <i class="fas fa-building"></i> Şirket Programı
                        </div>
                        <div class="program-btn" onclick="loadIframe('http://localhost:3002')">
                            <i class="fas fa-calculator"></i> Muhasebe Programı
                        </div>
                        <div class="program-btn" onclick="loadIframe('http://localhost:3222')">
                            <i class="fas fa-cogs"></i> Özel Program
                        </div>
                    </div>
                </div>
            </div>

            <!-- iframe Box -->
            <div id="iframe-box" class="hidden">
                <div class="iframe-box">
                    <iframe id="program-iframe" src="" frameborder="0"></iframe>
                </div>
                <!-- Tam Ekran Butonu -->
                <button class="fullscreen-btn" onclick="toggleFullscreen()">Tam Ekran Yap</button>
                <!-- Bağlantı hatası mesajı -->
                <div class="fullscreen-info">Eğer Bağlanmayı Reddettiyse Programı Açın.</div>
            </div>
        </div>
    </div>

    <!-- Popup -->
    <div id="popup">
        <div class="popup-content">
            <h3>Yazılımınolsun.com.tr sitesine dönmek istiyor musunuz?</h3>
            <button onclick="goToSite()">Evet</button>
            <button onclick="closePopup()">Hayır</button>
        </div>
    </div>

    <script>
        // Paneli gösteren fonksiyon
        function showPanel() {
            document.getElementById('panel').classList.remove('hidden'); // Paneli göster
            document.getElementById('iframe-box').classList.add('hidden'); // iframe kutusunu gizle
        }

        // İframe'i yükleyen fonksiyon
        function loadIframe(url) {
            document.getElementById('panel').classList.add('hidden'); // Paneli gizle
            document.getElementById('iframe-box').classList.remove('hidden'); // iframe kutusunu göster
            document.getElementById('program-iframe').src = url; // iframe'e url yükle
        }

        // Popup'ı açan fonksiyon
        function showPopup() {
            document.getElementById('popup').style.display = 'flex'; // Popup'ı göster
        }

        // Popup'ı kapatan fonksiyon
        function closePopup() {
            document.getElementById('popup').style.display = 'none'; // Popup'ı gizle
        }

        // Evet butonuna basınca siteye yönlendiren fonksiyon
        function goToSite() {
            window.location.href = 'https://yaziliminolsun.com.tr'; // Siteye yönlendir
        }

        // Tam Ekran yapma fonksiyonu
        function toggleFullscreen() {
            var iframe = document.getElementById('program-iframe');
            if (iframe.requestFullscreen) {
                iframe.requestFullscreen();
            } else if (iframe.mozRequestFullScreen) { // Firefox
                iframe.mozRequestFullScreen();
            } else if (iframe.webkitRequestFullscreen) { // Chrome, Safari
                iframe.webkitRequestFullscreen();
            } else if (iframe.msRequestFullscreen) { // Internet Explorer
                iframe.msRequestFullscreen();
            }
        }
    </script>
</body>
</html>
