<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="tr">
<head>
<title>Web sitesi bakım çalışması yapılmaktadır.</title>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1" />
<meta name="generator" content="Flynax Classifieds Software" />
<meta charset="UTF-8" />
<meta name="description" content="Web sitesi bakım çalışması yapılmaktadır." />
<meta name="Keywords" content="" />
<link href="https://www.koago.net/plugins/underConstructions/static/style.css" type="text/css" rel="stylesheet" />
<style>

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) {
    #logo img {
        background-image: url(https://www.koago.net/templates/general_sunny/img/@2x/logo.png);
    }
}

</style>
<link rel="shortcut icon" href="https://www.koago.net/templates/general_sunny/img/favicon.ico" />


</head>
<body>

<div id="main-bg">
    <div id="container">
        <div id="logo"><img src="https://www.koago.net/templates/general_sunny/img/logo.png" /></div>
        <div id="box">
            <h1>The website is under construction</h1>
            <h2>Resmi lansmandan önce kalan tahmini süre:</h2>

            <section id="date">
                <div id="chart">
                    <div id="numbers">
                        <div id="time_day"></div>
                        <div id="time_hour"></div>
                        <div id="time_minute"></div>
                        <div id="time_sec"></div>
                    </div>
                    <div id="labels">
                        <div>Gün</div>
                        <div>Saat</div>
                        <div>Dakika</div>
                        <div>Seconds</div>
                    </div>
                </div>
            </section>

                        <section id="subscribe">
                <form method="post" id=nl_subscribe>
                    <input type="text" id="email" placeholder="E-posta adresiniz" />
                    <input id="button" type="button" value="Abone ol" data-default-val="Abone ol" />
                </form>
                <div id="notice" class="notice">
                                    </div>
            </section>
                    </div>
    </div>
</div>

<script src="https://www.koago.net/libs/jquery/jquery.js"></script>
<script>
var ajax_url = 'https://www.koago.net/request.ajax.php';
var legacy_version = false;
var current_date = new Array();
var redirect_url = 'https://www.koago.net/';
var langCode = 'tr'
current_date['day'] = 10;
current_date['month'] = 03;
current_date['year'] = 2026;
current_date['hours'] = parseInt('07');
current_date['minutes'] = parseInt('13');
current_date['seconds'] = parseInt('59');

var lang = [];
lang['loading'] = "Yükleniyor...";
lang['no_response_from_server'] = 'The server is not responding; please try again later.';
lang['notice_bad_email'] = 'Lütfen geçerli bir email adresi girdiğinizden emin olun.';
lang['massmailer_newsletter_guest'] = 'Misafir';

var curTime = 0;



$(function(){
    // Set current date
    var cDate = new Date();
    cDate.setDate(current_date['day']);
    cDate.setMonth(current_date['month']-1);
    cDate.setFullYear(current_date['year']);
    cDate.setHours(current_date['hours']);
    cDate.setMinutes(current_date['minutes']);
    cDate.setSeconds(current_date['seconds']);

    var curSeconds = cDate.getTime();

    
    // Set target date
    var tDate = new Date();
    tDate.setDate(25);
    tDate.setMonth(08 - 1);
    tDate.setFullYear(2026);
    tDate.setHours(parseInt('00'));
    tDate.setMinutes(parseInt('00'));
    tDate.setSeconds(parseInt('00'));
    

    var targetSeconds = tDate.getTime();
    curTime = (targetSeconds - curSeconds)/1000;

    printDate();

    var $button = $('input[type=button]');
    var $email = $('#email');
    var $notice = $('#notice');

    $('form').submit(function(){
        if (!$email.val()) {
            $notice
                .html(lang['notice_bad_email'])
                .attr('class', 'error');

            return false;
        }

        $button.val(lang['loading']);
        // Xajax call
        if (legacy_version) {
            xajax_subscribe('subscribe', lang['massmailer_newsletter_guest'], $('#email').val());
        }
        // Ajax call
        else {
            var name = $email.val().split('@')[0];
            var data = {
                mode: 'newsletterSubscribe',
                lang: langCode,
                name: (name && name.length > 2) ? name : lang['massmailer_newsletter_guest'],
                email: $email.val()
            };
            $.getJSON(ajax_url, data, function(response) {
                if (response) {
                    if (response.status == 'OK' || response.status == 'WARNING') {
                        $email.val('');
                        
                        if (response.status == 'OK') {
                            printMessage('notice', response.data.content);
                        } else {
                            printMessage('warning', response.data.content);
                        }
                    } else {
                        printMessage('error', response.data.message);
                    }
                } else {
                    printMessage('error', lang['no_response_from_server']);
                }

                $button.val($button.data('default-val')).removeAttr('disabled');
            }).fail(function(){
                printMessage('warning', lang['no_response_from_server']);
                $button.val($button.data('default-val')).removeAttr('disabled');
            });
        }
        return false;
    });

    $button
        .width($button.width())
        .click(function(){
            $('form').submit();
        });

    $email.focus(function(){
        $notice
            .text('')
            .attr('class', 'notice');
    });
});

var printDate = function(){
    var days = Math.floor(curTime/3600/24);
    var hours = Math.floor((curTime-(days*3600*24))/3600);

    var minutes = Math.floor((curTime-(days*3600*24)-(hours*3600))/60);
    var seconds = Math.floor((curTime-(days*3600*24)-(hours*3600))-(minutes*60));

    if (days < 0) {
        location.href = redirect_url;
        return;
    }

    days = days < 10 ? '0'+days: days;
    hours = hours < 10 ? '0'+hours: hours;
    minutes = minutes < 10 ? '0'+minutes: minutes;
    seconds = seconds < 10 ? '0'+seconds: seconds;

    var outTime = days+':' +hours+':'+minutes+':'+seconds;
    $('#time_obj').html(outTime);
    $('#time_day').html(days);
    $('#time_hour').html(hours);
    $('#time_minute').html(minutes);
    $('#time_sec').html(seconds);

    curTime--;
    setTimeout('printDate()', 1000);
}

/**
* Notices/errors handler
*
* @param string type - message type: error, notice, warning
* @param string/array message - message text
*
**/
var printMessage = function(type, message){
    if (!message || !type)
        return;

    $('#notice')
        .html(message)
        .attr('class', type);
};


</script>

</body>
</html>