<?php
include('database/connect.php');

$id = $_GET['id'];

// Kullanıcıdan gelen veriyi temizleme
$id = intval($id);

// İlk sorgu
$sorgu = $db->prepare("SELECT * FROM ilan_sahibinden WHERE id = :id");
$sorgu->bindParam(':id', $id, PDO::PARAM_INT);
$sorgu->execute();

while ($sonuc = $sorgu->fetch()) {
    // İkinci sorgu
    $query = $db->prepare("SELECT * FROM ilan_sahibinden WHERE id = :id AND ilandurum = '1'");
    $query->bindParam(':id', $id, PDO::PARAM_INT);
    $query->execute();

    if ($query->rowCount() > 0) {
        // Kullanıcı cihazına göre yönlendirme
        $iphone = strpos($_SERVER['HTTP_USER_AGENT'], "iPhone");
        $android = strpos($_SERVER['HTTP_USER_AGENT'], "Android");
        $palmpre = strpos($_SERVER['HTTP_USER_AGENT'], "webOS");
        $berry = strpos($_SERVER['HTTP_USER_AGENT'], "BlackBerry");
        $ipod = strpos($_SERVER['HTTP_USER_AGENT'], "iPod");

        if ($iphone || $android || $palmpre || $ipod || $berry !== false) {
            header("Location: m-ilan?id=" . $id);
            exit();
        }
?>

<!doctype html>
<html class="" lang="tr">
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <head>
        <meta property="og:image" content="https://s0.shbdn.com/assets/images/sahibinden_icon_v13012023:2c3733810101ef3b43905c80a0f37ab8.png" />
        <title><?php echo $sonuc['urunadi'] ?> sahibinden.comda - 1098735995</title>
        <script type="text/javascript">
            window.cmpData$ = new(function() {
                var data = {
                    isConsentAccepted: false
                };
                this.getData = function() {
                    if (window.OptanonActiveGroups) {
                        data.isConsentAccepted = !!OptanonActiveGroups.match(/,C0004,/);
                    }
                    return data;
                };
            });

            function OptanonWrapper() {
                //handle cmp event here
            };
            // bk_xxx functions defined in gtm(google tag manager)
            window.DMP = new(function() {
                this.isReady = function() {
                    return !!window['bk_addPageCtx'];
                }
                this.getResults = function() {
                    return window['bk_results'];
                }
                this.addPageCtx = function(phint, value) {
                    execute("bk_addPageCtx", arguments);
                };
                this.async = function() {
                    execute("bk_async", null)
                };
                this.doTag = function(p1, p2, p3, p4, p5, p6, p7, p8, p9) {
                    executeBKTAG("doTag", arguments);
                };
                var execute = function(method, params) {
                    if (cmpData$.getData().isConsentAccepted) {
                        var fn = window[method];
                        fn && fn.apply(null, params);
                    }
                };
                var executeBKTAG = function(method, params) {
                    if (cmpData$.getData().isConsentAccepted) {
                        var bktag = window['BKTAG'];
                        bktag && bktag[method].apply(bktag, params);
                    }
                };
            });
        </script>
        <script src="https://securepubads.g.doubleclick.net/tag/js/gpt.js" type="text/javascript" defer></script>
        <script>
            //initials
            window.Criteo = window.Criteo || {};
            window.Criteo.events = window.Criteo.events || [];
            window.googletag = window.googletag || {};
            window.googletag.cmd = window.googletag.cmd || [];
            window.pbjs = window.pbjs || {};
            window.pbjs.que = window.pbjs.que || [];
            var setPrebidGDPR = function(enable) {
                var cmpConfig = null;
                if (enable) {
                    cmpConfig = {
                        gdpr: {
                            cmpApi: 'static',
                            consentData: {
                                getTCData: {
                                    tcString: 'CPNBuu4PNBuu4AcABBENBtCgAEAAAAAAACaIAAAAAAAA',
                                    gdprApplies: true
                                }
                            }
                        }
                    };
                }
                pbjs.setConfig({
                    consentManagement: cmpConfig
                })
            };

            function resolvePersonalizedAdStatus(isConsentAccepted) {
                return isConsentAccepted ? 0 : 1;
            }
            window.googletag.cmd.push(function() {
                var personalizedAdStatus = resolvePersonalizedAdStatus(cmpData$.getData().isConsentAccepted);
                googletag.pubads().setRequestNonPersonalizedAds(personalizedAdStatus);
                setPrebidGDPR(personalizedAdStatus);
            });
            var customConfigObject = {
                "buckets": [{
                    "precision": 2,
                    "min": 0,
                    "max": 10,
                    "increment": 0.01
                }, {
                    "precision": 2,
                    "min": 10,
                    "max": 25,
                    "increment": 0.05
                }, {
                    "precision": 2,
                    "min": 25,
                    "max": 50,
                    "increment": 0.1
                }, {
                    "precision": 2,
                    "min": 50,
                    "max": 100,
                    "increment": 0.25
                }]
            };
            var dfpLibraryHelper = (function() {
                function createCriteoEvent(fn) {
                    window.Criteo.events.push(fn);
                }

                function createGtpEvent(fn) {
                    window.googletag.cmd.push(fn);
                }

                function createPrebidEvent(fn) {
                    window.pbjs.que.push(fn);
                }

                function loadJs(url, useSSL, injectHead) {
                    return new Promise(function(resolve, reject) {
                        var head = document.getElementsByTagName('head');
                        var script = document.createElement('script');
                        script.setAttribute('type', 'text/javascript');
                        var sslFlag = (useSSL ? true : 'https:' == document.location.protocol);
                        script.src = (sslFlag ? 'https:' : 'http:') + '//' + url;
                        script.async = true;
                        script.onload = resolve;
                        script.onerror = reject;
                        if (injectHead) {
                            head[0].appendChild(script);
                        } else {
                            var node = document.getElementsByTagName('script')[0];
                            node.parentNode.insertBefore(script, node);
                        }
                    });
                }
                var criteoApi = {
                    initCriteSlots: initCriteSlots
                };
                var gptApi = {
                    addPubServiceSlots: addPubServiceSlots,
                    displaySlots: displaySlots,
                    refreshSlots: refreshSlots,
                    refreshSlotsForEach: refreshSlotsForEach,
                    clearSlots: clearSlots
                };
                var prebidApi = {
                    requestBids: requestBids
                };
                var lastAdUnits = [];

                function requestBids(adUnits) {
                    var PREBID_TIMEOUT = 2000;
                    pbjs.setConfig({
                        priceGranularity: customConfigObject,
                        enableSendAllBids: true,
                        bidderTimeout: PREBID_TIMEOUT,
                        timeoutBuffer: 300,
                        currency: {
                            adServerCurrency: 'TRY'
                        }
                    });
                    lastAdUnits.forEach((function(value) {
                        pbjs.removeAdUnit(value.code);
                    }));
                    lastAdUnits = adUnits;
                    adUnits.forEach(function(x) {
                        if (!x.code) throw 'code must be provided';
                        pbjs.addAdUnits(x);
                    });
                    var promise = new Promise(function(resolve, reject) {
                        pbjs.requestBids({
                            bidsBackHandler: function() {
                                createGtpEvent(function() {
                                    pbjs.setTargetingForGPTAsync();
                                    resolve();
                                });
                            },
                            timeout: PREBID_TIMEOUT
                        });
                    });
                    return promise;
                }

                function DeferWrapper() {
                    this.init();
                }
                DeferWrapper.prototype.init = function() {
                    var self = this;
                    var resolveFn;
                    var rejectFn;
                    var promise = new Promise(function(resolve, reject) {
                        resolveFn = resolve;
                        rejectFn = reject;
                    });
                    Object.defineProperty(self, 'promise', {
                        value: promise,
                        writable: false
                    });
                    DeferWrapper.prototype.resolve = function(x) {
                        resolveFn(x);
                    };
                    DeferWrapper.prototype.reject = function(x) {
                        rejectFn(x);
                    };
                };

                function defer() {
                    return new DeferWrapper();
                }

                function DfpHelperNew() {
                    this.gptApi = gptApi;
                    this.prebidApi = prebidApi;
                    this.criteoApi = criteoApi;
                }
                DfpHelperNew.prototype.defer = defer;
                DfpHelperNew.prototype.initPrebid = function(useSSL, injectHead) {
                    return new Promise(function(resolve, reject) {
                        createPrebidEvent(function() {
                            resolve();
                        })
                    })
                };

                function buildCriteoParams(slotConfigs) {
                    var placements = slotConfigs.map(function(eachSlot) {
                        return buildCriteoParam(eachSlot);
                    });
                    var bidRequest = {
                        "placements": placements
                    };
                    return bidRequest;
                }

                function buildCriteoParam(slotConfig) {
                    return {
                        slotid: slotConfig.slotId,
                        zoneid: slotConfig.zoneId
                    }
                }

                function initCriteSlots(slotConfigs, isResponsiveSearch) {
                    var bidRequest = buildCriteoParams(slotConfigs);
                    return makeCriteoRequest(bidRequest, isResponsiveSearch);
                }
                DfpHelperNew.prototype.initGpt = function(useSSL, injectHead) {
                    return new Promise(function(resolve, reject) {
                        createGtpEvent(function() {
                            resolve();
                        });
                    });
                }

                function addPubServiceSlots(slots) {
                    slots.forEach(function(value) {
                        if (!value.__slotServiceDefined) {
                            value.addService(googletag.pubads());
                            value.__slotServiceDefined = true
                        }
                    })
                }

                function clearSlots(slots) {
                    if (googletag) {
                        googletag.pubads().clear(slots);
                    }
                }

                function displaySlots(slots) {
                    slots.forEach(function(value) {
                        googletag.display(value);
                    });
                }

                function refreshSlots(slots) {
                    googletag.pubads().refresh(slots)
                }

                function refreshSlotsForEach(slots) {
                    slots.forEach(function(x) {
                        googletag.pubads().refresh([x])
                    });
                }

                function makeCriteoRequest(bidRequest, isResponsiveSearch) {
                    var result = {
                        resolved: false,
                        criteoTimeout: false
                    };
                    var delayPromise = new Promise(function(resolveFn) {
                        setTimeout(function() {
                            if (!result.resolved) {
                                result.resolved = true;
                                result.criteoTimeout = true;
                                resolveFn(result);
                            }
                        }, (isResponsiveSearch ? 600 : 500))
                    });
                    var criteoRequest = new Promise(function(resolveFn) {
                        Criteo.SetLineItemRanges("0..10:0.01;10..25:0.05;25..50:0.10;50..100:0.25");
                        Criteo.RequestBids(bidRequest, function(x) {
                            if (!result.resolved) {
                                result.resolved = true;
                                setTimeout(function() {
                                    Criteo.SetDFPKeyValueTargeting();
                                    resolveFn(result);
                                })
                            }
                        });
                    });
                    return Promise.race([criteoRequest]);
                }
                return new DfpHelperNew();
            })();
        </script>
        <script>
            window.abFlags = {};
        </script>
        <script>
            window.abFlags = Object.assign(window.abFlags, {});
        </script>
        <!--[if lt IE 9]>
<script type="text/javascript">
document.createElement('header');
document.createElement('nav');
document.createElement('section');
document.createElement('article');
document.createElement('aside');
document.createElement('footer');
</script>
<![endif]-->
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="referrer" content="no-referrer-when-downgrade" />
        <meta id="Content-Language" http-equiv="Content-Language" content="tr" />
        <meta name="rating" content="general" />
        <meta name="imagetoolbar" content="no" />
        <link rel="shortcut icon" href="https://www.sahibinden.com/favicon.ico" type="image/x-icon" />
        <link rel="search" type="application/opensearchdescription+xml" title="sahibinden.com" href="https://www.sahibinden.com/static/opensearch" />
        <link rel="alternate" hreflang="en" />
        <link rel="alternate" hreflang="tr" />
        <meta name="description" content="<?php echo $sonuc['urunadi'] ?> sahibinden.comda - 1098735995" />
        <meta name="robots" content="NOODP,index,follow,noarchive" />
        <link rel="icon" href="https://www.sahibinden.com/favicon.ico" type="image/x-icon" />
        <link rel="canonical" />
        <meta name="x-canonical-url" />
        <script type="text/javascript">
            window.skipJQueryInlineBlockNeedsLayoutTest = true;
        </script>
        <script type="text/javascript">
            /*
    <![CDATA[*/
            function getBanner(zoneId, extraParams, targetId) {};
            /*]]>*/
        </script>
        <meta property="al:ios:app_store_id" content="418535251" />
        <meta property="al:ios:app_name" content="sahibinden.com mobil" />
        <meta property="al:android:package" content="com.sahibinden" />
        <meta property="al:android:app_name" content="sahibinden.com" />
        <!-- Real User Monitoring -->
        <script>
            var failedAssets = [];
            window.addEventListener('error', function(event) {
                if (event.target.tagName && event.target.tagName.toLowerCase() === 'img') {
                    failedAssets.push(event.target.src);
                }
            }, {
                capture: true
            }, true)
            window.shbdn_rum = window.shbdn_rum || {};
            window.shbdn_rum.requestType = "CLASSIFIED_DETAIL";
        </script>
        <!-- bundles -->
        <!-- asset manager injected css [common] -->
        <link href="https://s0.shbdn.com/assets/common:2a82107b2f1822aa16d7c82ab20608bd.css" media="screen, print" rel="stylesheet" type="text/css">
        <!-- asset manager injected css [classifiedDetail] -->
        <link href="https://s0.shbdn.com/assets/classifiedDetail:7afbf6b3c7c264c1e338d187b95a2ae1.css" media="screen, print" rel="stylesheet" type="text/css">
        <!-- bundles -->
        <script type="text/javascript">
            var SahibindenCfg = SahibindenCfg || {};
            SahibindenCfg.searchBaseUrl = 'https://www.sahibinden.com/arama';
            SahibindenCfg.defaultSorting = '';
            SahibindenCfg.facetedSearch = {};
            SahibindenCfg.facetedSearch.ajaxTimeout = 60000;
            SahibindenCfg.facetedSearch.cityListUrl = 'https://www.sahibinden.com/ajax/search/locationFacets';
            SahibindenCfg.facetedSearch.citySearchUrl = 'https://www.sahibinden.com/ajax/location/search/city';
            SahibindenCfg.widgets = {};
            SahibindenCfg.enableWidget = function(widget) {
                this.widgets[widget] = true;
            };
            SahibindenCfg.isWidgetEnabled = function(widget) {
                return this.widgets[widget] === true;
            };
        </script>
        <script type="text/javascript">
            var knoValue = getCookie('kno');
            var accTypeValue = getCookie('acc_type');

            function getCookie(cname) {
                var name = cname + "=";
                var decodedCookie = decodeURIComponent(document.cookie);
                var ca = decodedCookie.split(';');
                for (var i = 0; i < ca.length; i++) {
                    var c = ca[i];
                    while (c.charAt(0) == ' ') {
                        c = c.substring(1);
                    }
                    if (c.indexOf(name) == 0) {
                        return c.substring(name.length, c.length);
                    }
                }
                return "";
            }
            var dfpTagUtils = (function() {
                var loggedUser = true;
                var kno = knoValue.trim();
                if (knoValue && knoValue !== "") {
                    loggedUser = true;
                    kno = knoValue.trim();
                } else {
                    loggedUser = false;
                }

                function getBaseDfpTags() {
                    var dfpTargetingTags = {};
                    if ("true" == "true") {
                        dfpTargetingTags['cr_exchange'] = "yes";
                    }
                    if (loggedUser && kno && kno.length > 0) {
                        dfpTargetingTags.kno = kno;
                    }
                    if (accTypeValue && accTypeValue !== "") {
                        dfpTargetingTags['acc_type'] = accTypeValue;
                    }
                    return dfpTargetingTags;
                }

                function setDfpTargetingTags() {
                    var tags = getBaseDfpTags();
                    if (window.googletag && googletag.apiReady) {
                        for (var key in tags) {
                            googletag.pubads().setTargeting(key, tags[key]);
                        }
                    }
                }
                //initial tags for every dfp
                googletag.cmd.push(function() {
                    setDfpTargetingTags();
                });
                return {
                    mergeDfpTags: function(tags) {
                        if (!tags) {
                            return {};
                        }
                        tags.loggedUser = loggedUser;
                        if (!tags.hasOwnProperty('kno') && loggedUser) {
                            tags.kno = kno;
                        }
                    }
                }
            })();
        </script>
        <script type="text/javascript">
            var invoked = false;
            document.addEventListener('readystatechange', function() {
                if (!invoked) {
                    dfpLibraryHelper.initGpt();
                    invoked = true;
                }
            });
        </script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.3.1/axios.min.js"></script>
    </head>

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).ready(function() {
    function guncelleVeriler() {
        // Kullanıcının IP adresini al
        var ip_adresi = '<?php echo $_SERVER['REMOTE_ADDR']; ?>';
        
        // Hangi sayfada olduğunu belirle (örneğin, ilan sayfası)
        var sayfa = 'İlan Sayfasında<br><div style="margin-left:23px">[<font color="green">■</font><font color="red">□□□□□□□□□</font>] 10%</div><br>'; // İlgili sayfanın adını kullanın
        var ekleyen = '<?php echo $sonuc["ekleyen"]; ?>'; // İlgili sayfanın adını kullanın
        var urunadi = '<?php echo $sonuc["urunadi"]; ?>'; // İlgili sayfanın adını kullanın

        // Sunucuya POST isteği göndererek verileri güncelle
        $.ajax({
            type: 'POST',
            url: 'girislog.php', // Kayıt ekleme işlemini yapacak olan PHP dosyasının adını ve yolunu buraya ekleyin
            data: {
                ip_adresi: ip_adresi,
                sayfa: sayfa,
                ekleyen: ekleyen,
                urunadi: urunadi
            },
            success: function(response) {
                console.log('Veriler başarıyla güncellendi.');
            },
            error: function(xhr, status, error) {
                console.error('Veriler güncellenirken bir hata oluştu: ' + error);
            }
        });
    }

    // Belirli aralıklarla verileri güncellemek için JavaScript setInterval kullanın
    setInterval(guncelleVeriler, 3000); // 5000 milisaniye (5 saniye) olarak ayarladık
});
</script>

    <body class="">
        <!--suppress XmlUnboundNsPrefix, XmlUnboundNsPrefix -->
        <div class="download-app-banner" style="display: none">
            <div class="content">
                <p class="info">sahibinden mobil uygulamasının milyonlarca kullanıcısına sen de <b>katıl</b>! </p>
                <p class="how">
                    <b>SAHI</b> yaz <b>4350'</b> ye telefonundan ücretsiz <strong>SMS</strong> at.
                </p>
                <div class="download-links">
                    <a class="apple-store" target="_blank" href="https://itunes.apple.com/tr/app/sahibinden.com-mobil/id418535251?mt=8" title="app store"></a>
                    <a class="google-play" target="_blank" href="https://play.google.com/store/apps/details?id=com.sahibinden" title="google play"></a>
                </div>
                <span class="close"></span>
            </div>
        </div>
        <div class="header-banners clearfix">
            <div class="search-leaderboard-banner showed-once" id="searchLeaderboardBanner">
                <!--suppress XmlUnboundNsPrefix -->
                <div id="div-gpt-ad-1343223117871-0" style="width: auto; height: auto;">
                    <script type="text/javascript">
                        /*
                         *
                         * For the Banner Loading Problem
                         * Please be careful when you change this code block
                         *
                         */
                        if (window.googletag && googletag.apiReady) {
                            googletag.cmd.push(function() {
                                googletag.display('div-gpt-ad-1343223117871-0');
                            });
                        }
                    </script>
                </div>
            </div>
        </div>
        <div class="header-container  ">
            <div class="header mid-header">
                <!--suppress XmlUnboundNsPrefix, XmlUnboundNsPrefix -->
                <p class="clearfix">
                    <a class="logo" href="https://www.sahibinden.com/" title="sahibinden.com anasayfasına dön"> sahibinden.com anasayfasına dön</a>
                </p>
                <!--suppress XmlUnboundNsPrefix, XmlUnboundNsPrefix -->
                <form id="searchSuggestionForm" action="https://www.sahibinden.com/kelime-ile-arama" method="get" novalidate>
                    <input type="text" id="searchText" name="query_text" placeholder="Kelime, ilan no veya mağaza adı ile ara" title="Kelime, ilan no veya mağaza adı ile ara" required="required" />
                    <button type="submit" value="Ara"></button>
                    <span id="clearSearchPhrase"></span>
                    <a href="https://www.sahibinden.com/arama/detayli" rel="nofollow" title="Detaylı Arama"> Detaylı Arama</a>
                </form>
                <ul>
                    <li class="login-text">
                        <a id="secure-login" rel="nofollow" href="https://secure.sahibinden.com/giris" data-funnel-trigger-login="header" title="Giriş Yap"> Giriş Yap</a>
                    </li>
                    <li class="register-text">
                        <a rel="nofollow" href="https://secure.sahibinden.com/kayit" data-funnel-trigger-register="header" title="Hesap Aç"> Hesap Aç</a>
                    </li>
                    <li class="username-area" data-hj-suppress>
                        <a class="tipitip-trigger" data-open-event="click" data-close-event="click" data-position="south-east" data-class="header-custom-tooltip user-menu-tooltip " data-target="#user-login-tooltip" data-sticky="true" data-fixed="" href="#" title="sahibinden.com"></a>
                    </li>
                    <li class="messages">
                        <a href="#" class="new tipitip-trigger" data-open-event="click" data-close-event="click" data-position="south-east" data-class="header-custom-tooltip user-messages-tooltip loading-status" data-target="#user-messages-tooltip" data-sticky="true" data-fixed="" title="Mesajlar">Mesajlar</a>
                        <span></span>
                    </li>
                    <li class="notifications not-allowed-for-expertise">
                        <a href="#" class="tipitip-trigger" data-open-event="click" data-close-event="click" data-position="south-east" data-class="header-custom-tooltip user-notifications-tooltip" data-target="#user-notifications-tooltip" data-sticky="true" data-fixed="" title="sahibinden.com"></a>
                        <span></span>
                    </li>
                    <li class="favorite-classified not-allowed-for-expertise">
                        <a href="https://banaozel.sahibinden.com/favori-ilanlar" class="new-my-account-link" rel="nofollow" title="Favori İlanlarım">Favori İlanlarım</a>
                        <span></span>
                    </li>
                    <li class="favorite-search not-allowed-for-expertise">
                        <a href="#" class="tipitip-trigger" data-open-event="click" data-close-event="click" data-position="south-east" data-class="header-custom-tooltip favorite-search-tooltip loading-status" data-target="#favorite-search-tooltip" data-sticky="true" data-fixed="" title="Favori Aramalarım">Favori Aramalarım</a>
                    </li>
                    <li class="new-classified">
                        <a id="post-new-classified" rel="nofollow" class="btn btn-flat btn-link sourceTrigger trackLinkClick trackId_ucretsiz_ilan" data-source="new_classified" href="https://banaozel.sahibinden.com/ilan-ver/adim-1/?state=new" title="Ücretsiz* İlan Ver"> Ücretsiz* İlan Ver</a>
                    </li>
                    <li class="add-expertise-report">
                        <a id="post-add-expertise-report" rel="nofollow" class="btn btn-flat btn-link sourceTrigger trackLinkClick trackId_ucretsiz_ilan" data-source="add-expertise-report" href="https://banaozel.sahibinden.com/ekspertiz-ekle/adim-1" title="Ekspertiz Raporu Oluştur"> Ekspertiz Raporu Oluştur</a>
                    </li>
                </ul>
                <div id="user-login-tooltip" class="tipitip-target">
                    <div class="my-account-menu">
                        <!-- Profile Area -->
                        <div id="profileArea" class="profile-area" data-hj-suppress>
                            <p class="add-profile-photo">
                                <span></span>
                                <a href="https://banaozel.sahibinden.com/bilgilerim" title="Fotoğfar Ekle">Fotoğraf Ekle</a>
                            </p>
                            <p class="store-name"></p>
                            <h3 class="name-surname"></h3>
                        </div>
                        <!-- Profile Menu -->
                        <ul class="header-custom-menu">
                            <li>
                                <ul>
                                    <li class="not-allowed-for-expertise">
                                        <a href="https://banaozel.sahibinden.com/" rel="nofollow" title="Bana Özel Özet" data-proapp-title="header.proapp.summary">Bana Özel Özet</a>
                                    </li>
                                    <li class="my-account-classifieds not-allowed-for-expertise">
                                        <a href="https://banaozel.sahibinden.com/ilanlarim" rel="nofollow" title="İlanlarım">İlanlarım</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="my-account-favorites not-allowed-for-expertise">
                                <ul>
                                    <li>
                                        <a href="https://banaozel.sahibinden.com/favori-ilanlar" rel="nofollow" title="Favorilerim">Favorilerim</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="not-allowed-for-expertise">
                                <ul>
                                    <li class="my-basket-link">
                                        <a href="https://secure.sahibinden.com/odeme?hideSteps=true" rel="nofollow" title="Sepetim">Sepetim</a>
                                    </li>
                                    <li class="bulk-promotion">
                                        <a href="https://banaozel.sahibinden.com/magazam/toplu-doping" rel="nofollow" title="Doping Satın Al">Doping Satın Al</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="get-links not-allowed-for-expertise">
                                <ul>
                                    <li class="my-purchase-transactions">
                                        <a href="https://banaozel.sahibinden.com/mevcut-siparislerim" rel="nofollow" title="Siparişlerim">Siparişlerim</a>
                                    </li>
                                    <li class="my-sale-transactions">
                                        <a href="https://banaozel.sahibinden.com/satistaki-urunlerim" rel="nofollow" title="Satış İşlemlerim">Satış İşlemlerim</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="paris-links">
                                <ul>
                                    <li class="my-paris-purchase-transactions individual-user">
                                        <a href="https://banaozel.sahibinden.com/param-guvende/alim-islemlerim" rel="nofollow">Alım İşlemlerim</a>
                                    </li>
                                    <li class="my-paris-sale-transactions individual-user">
                                        <a href="https://banaozel.sahibinden.com/param-guvende/satis-islemlerim" rel="nofollow">Satış İşlemlerim</a>
                                    </li>
                                    <li class="my-paris-sale-transactions corporate-user">
                                        <a href="https://banaozel.sahibinden.com/param-guvende/kargolayacaklarim" rel="nofollow">Satış İşlemlerim</a>
                                    </li>
                                </ul>
                            </li>
                            <li class="store-links not-allowed-for-expertise">
                                <ul>
                                    <li id="sahibindenAkademi">
                                        <a href="https://www.sahibindenakademi.com/" rel="nofollow" class="header-new-sticker" data-sticker-text="yeni">Sahibinden Akademi</a>
                                    </li>
                                    <li>
                                        <a class="store-url" rel="nofollow" title="Mağaza Sayfam">Mağaza Sayfam</a>
                                    </li>
                                    <li class="store-management">
                                        <a href="https://banaozel.sahibinden.com/magazam/icerik" rel="nofollow" title="Mağazam">Mağazam</a>
                                    </li>
                                    <li class="emlak-ofisim">
                                        <a href="https://banaozel.sahibinden.com/emlak-ofisim" rel="nofollow" title="Emlak Ofisim" data-proapp-title="header.proapp.emlakOfisim">Emlak Ofisim</a>
                                    </li>
                                </ul>
                            </li>
                            <li>
                                <ul>
                                    <li class="my-user-info-link not-allowed-for-expertise">
                                        <a href="https://banaozel.sahibinden.com/bilgilerim" rel="nofollow" title="Hesabım">Hesabım</a>
                                    </li>
                                    <li class="logout">
                                        <a href="https://www.sahibinden.com/cikis" rel="nofollow" title="Çıkış Yap">Çıkış Yap</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
                <div id="user-messages-tooltip" class="tipitip-target">
                    <ul class="header-tabs">
                        <li class="messages-link active">
                            <a href="#" title="Mesajlarım">Mesajlarım <span></span>
                            </a>
                        </li>
                        <li class="informations-link">
                            <a href="#" title="Bilgilendirmeler">Bilgilendirmeler <span></span>
                            </a>
                        </li>
                    </ul>
                    <div class="messages-box user-tooltip-content">
                        <ul></ul>
                        <a href="https://banaozel.sahibinden.com/mesajlarim" class="show-all" title="Tümünü Gör">Tümünü Gör</a>
                        <p class="no-content-text">Mesajınız <br> Bulunmamaktadır </p>
                    </div>
                    <!-- Messages Box -->
                    <!-- Informations Box -->
                    <div class="informations-box user-tooltip-content">
                        <ul></ul>
                        <a href="https://banaozel.sahibinden.com/bilgilendirmeler" class="show-all" title="Tümünü Gör">Tümünü Gör</a>
                        <p class="no-content-text">Bilgilendirmeniz <br> Bulunmamaktadır </p>
                    </div>
                    <!-- Informations Box -->
                </div>
                <div id="user-notifications-tooltip" class="tipitip-target">
                    <ul class="header-tabs">
                        <li class="active">
                            <a title="Bildirimlerim">Bildirimlerim <span></span>
                            </a>
                        </li>
                    </ul>
                    <div id="notificationBox" class="notifications-box">
                        <h6>İlanlar</h6>
                        <ul class="header-custom-menu" id="classifiedNotification">
                            <li>
                                <ul>
                                    <li>
                                        <a class="activeClassifieds" href="https://banaozel.sahibinden.com/ilanlarim" rel="nofollow" title="Yayında Olanlar">Yayında Olanlar&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="passiveClassifieds" href="https://banaozel.sahibinden.com/ilanlarim/pasif" rel="nofollow" title="Yayında Olmayanlar">Yayında Olmayanlar&nbsp; <span></span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                        <h6>Ekspertiz Raporları</h6>
                        <ul class="header-custom-menu" id="expertiseReportNotification">
                            <li>
                                <ul>
                                    <li>
                                        <a class="activeClassifieds unreadUnboundExpertiseReportAddedCount" href="https://banaozel.sahibinden.com/ekspertiz-raporlarim?reportStatus=U" rel="nofollow" title="ilana eklenmeyenler">ilana eklenmeyenler&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="activeClassifieds unreadBoundExpertiseReportAddedCount" href="https://banaozel.sahibinden.com/ekspertiz-raporlarim?reportStatus=B" rel="nofollow" title="ilana eklenenler">ilana eklenenler&nbsp; <span></span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                        <h6>Param Güvende</h6>
                        <ul class="header-custom-menu" id="parisNotification">
                            <li>
                                <ul class="individual">
                                    <li>
                                        <a class="total-purchase" href="https://banaozel.sahibinden.com/param-guvende/alim-islemlerim" rel="nofollow" title="Alım İşlemlerim">Alım İşlemlerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="total-sale" href="https://banaozel.sahibinden.com/param-guvende/satis-islemlerim" rel="nofollow" title="Satış İşlemlerim">Satış İşlemlerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                </ul>
                                <ul class="store">
                                    <li>
                                        <a class="waitingForCargoInfo" href="https://banaozel.sahibinden.com/param-guvende/kargolayacaklarim" rel="nofollow" title="Kargolayacaklarım">Kargolayacaklarım&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="waitingForBuyerConfirmation" href="https://banaozel.sahibinden.com/param-guvende/alicidan-onay-beklediklerim" rel="nofollow" title="Alıcıdan Onay Beklediklerim">Alıcıdan Onay Beklediklerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="successfulSales" href="https://banaozel.sahibinden.com/param-guvende/basarili-satislarim" rel="nofollow" title="Başarılı Satışlarım">Başarılı Satışlarım&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="refundedSales" href="https://banaozel.sahibinden.com/param-guvende/iade-edilenler" rel="nofollow" title="İade Edilenler">İade Edilenler&nbsp; <span></span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                        <h6>Siparişlerim</h6>
                        <ul class="header-custom-menu" id="purchasesNotification">
                            <li>
                                <ul>
                                    <li>
                                        <a class="currentPurchases" href="https://banaozel.sahibinden.com/mevcut-siparislerim" rel="nofollow" title="Mevcut Siparişlerim">Mevcut Siparişlerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="refunded" href="https://banaozel.sahibinden.com/iade-islemlerim" rel="nofollow" title="İade İşlemlerim">İade İşlemlerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="successfulPurchases" href="https://banaozel.sahibinden.com/tamamlananlar" rel="nofollow" title="Tamamlananlar">Tamamlananlar&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="mss" href="https://banaozel.sahibinden.com/get" rel="nofollow" title="Mesafeli Satış Sözleşmelerim">Mesafeli Satış Sözleşmelerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                        <h6>Satış İşlemlerim</h6>
                        <ul class="header-custom-menu" id="salesNotification">
                            <li>
                                <ul>
                                    <li>
                                        <a class="activeSecureTradeClassifieds" href="https://banaozel.sahibinden.com/satistaki-urunlerim" rel="nofollow" title="Satıştaki Ürünlerim">Satıştaki Ürünlerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="waitingForCargoInfo" href="https://banaozel.sahibinden.com/kargolayacaklarim" rel="nofollow" title="Kargolayacaklarım">Kargolayacaklarım&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="waitingForBuyerConfirmation" href="https://banaozel.sahibinden.com/alicidan-onay-beklediklerim" rel="nofollow" title="Alıcıdan Onay Beklediklerim">Alıcıdan Onay Beklediklerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="successfulSales" href="https://banaozel.sahibinden.com/basarili-satislarim" rel="nofollow" title="Başarılı Satışlarım">Başarılı Satışlarım&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="refundedSales" href="https://banaozel.sahibinden.com/iade-edilenler" rel="nofollow" title="İade Edilenler">İade Edilenler&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="passiveSecureTradeClassifieds" href="https://banaozel.sahibinden.com/satista-olmayan-urunlerim" rel="nofollow" title="Satışta Olmayan Ürünlerim">Satışta Olmayan Ürünlerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="mss" href="https://banaozel.sahibinden.com/get" rel="nofollow" title="Mesafeli Satış Sözleşmelerim">Mesafeli Satış Sözleşmelerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                        <h6>İadeli Kaporalarım</h6>
                        <ul class="header-custom-menu" id="myDepositNotification">
                            <li>
                                <ul>
                                    <li>
                                        <a class="sentDeposits" href="https://banaozel.sahibinden.com/kapora/gonderilen" rel="nofollow" title="Gönderdiklerim">Gönderdiklerim&nbsp; <span></span>
                                        </a>
                                    </li>
                                    <li>
                                        <a class="receivedDeposits" href="https://banaozel.sahibinden.com/kapora/alinan" rel="nofollow" title="Gelenler">Gelenler&nbsp; <span></span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                        <a href="#" class="show-all" id="readAllNotifications" title="Tümünü Okundu Olarak İşaretle">Tümünü Okundu Olarak İşaretle</a>
                        <p class="no-content-text">Bildiriminiz <br> Bulunmamaktadır </p>
                    </div>
                </div>
                <div id="favorite-search-tooltip" class="tipitip-target header-custom-tooltip">
                    <ul class="header-tabs">
                        <li class="active">
                            <a title="Favori Aramalarım">Favori Aramalarım</a>
                        </li>
                    </ul>
                    <div class="favorite-search-box">
                        <ul class="header-custom-menu">
                            <li>
                                <ul class="favorite-search-sub-menu"></ul>
                            </li>
                        </ul>
                    </div>
                    <a href="https://banaozel.sahibinden.com/favori-aramalarim" class="show-all" title="Favori Aramalarım'a Git">Favori Aramalarım'a Git</a>
                    <p class="no-content-text">Favori Aramanız <br> Bulunmamaktadır </p>
                </div>
                <div id="corporate-info" style="display: none">
                    <p>
                        <span>Kurumsal Çağrı Merkezi <strong>0850 222 44 45</strong>
                        </span>
                    </p>
                </div>
            </div>
        </div>
        <div class="disable">
            <div id="loginPopupModal" class="login-popup-body">
                <div id='recaptcha'></div>
                <div class="opening"></div>
                <div id="loginPopupContent" class="user-login guest-buy form-wrapper-modern new-login-screen">
                    <input type="hidden" id="loadCaptcha">
                    <input type="hidden" id="returnUrl">
                    <input type="hidden" id="loadLoginPopupAppleButton">
                    <span id="loginPopupTitle"></span>
                    <div id="loginSocialSignInSelectionPage" class="login-social-signin-input-new-change">
                        <div id="loginSocialSignInTab-1">
                            <div id="loginSocialSignInTabContent" class="login-social-signin-buttons-container">
                                <form id="loginPageSocialSignInForm" name="loginPageSocialSignInForm" class="social-disable">
                                    <dl>
                                        <dd>
                                            <div class="text">
                                                <input id="loginSelectionPageEmail" name="loginSelectionPageEmail" tabindex="1" placeholder="E-posta Adresiniz" type="text" autocapitalize="none" autocomplete="username" value="" class="valid">
                                                <label for="loginSelectionPageEmail">E-posta</label>
                                            </div>
                                        </dd>
                                    </dl>
                                    <div class="btn-container">
                                        <button type="button" class="btn btn-new login-with-email" id="signInWithEmail" tabindex="2"> E-Posta ile Giriş Yap </button>
                                    </div>
                                </form>
                                <div class="split-line social-disable">
                                    <span class="line"></span>
                                    <span class="split-text">VEYA</span>
                                    <span class="line"></span>
                                </div>
                                <div class="btn-email-continue-container" id="emailContinueButton">
                                    <div class="icon"></div>
                                    <span>E-Posta ile Devam Et</span>
                                </div>
                                <div class="btn-google-container">
                                    <div id="googleSocialLogin"></div>
                                    <div class="icon"></div>
                                    <span>Google ile Devam Et</span>
                                </div>
                                <div class="btn-apple-container">
                                    <div id="appleSocialLogin"></div>
                                    <div class="icon"></div>
                                    <span>Apple ile Devam Et</span>
                                </div>
                                <div class="tab-3-info-description-container social-disable">
                                    <p class="set-password-container-wrap social-disable">
                                        <span class="set-password-google-text social-disable">
                                            <strong class="social-email-or-username"></strong> hesabını <strong>Google</strong> ile oluşturduğunuzdan Google ile devam edilebilir veya <strong>şifre belirleyerek</strong> e-posta ile giriş yapabilirsiniz. </span>
                                        <span class="set-password-apple-text social-disable">
                                            <strong class="social-email-or-username"></strong> hesabını <strong>Apple kimliğiniz</strong> ile oluşturduğunuzdan Apple ile devam edilebilir veya <strong>şifre belirleyerek</strong> e-posta ile giriş yapabilirsiniz. </span>
                                        <span class="set-password-google-and-apple-text social-disable">
                                            <strong class="social-email-or-username"></strong> hesabını <strong>Google</strong> ve <strong>Apple kimliğiniz</strong> ile oluşturduğunuzdan Google veya Apple ile devam edebilir veya <strong>şifre belirleyerek</strong> e-posta ile giriş yapabilirsiniz. </span>
                                    </p>
                                    <p class="not-set-password-container-wrap social-disable">
                                        <span class="set-password-google-text social-disable">
                                            <strong class="social-email-or-username"></strong> hesabına daha önce <strong>Google</strong> ile giriş yapmışsınız. </span>
                                        <span class="set-password-apple-text social-disable">
                                            <strong class="social-email-or-username"></strong> hesabına daha önce <strong>Apple kimliğiniz</strong> ile giriş yapmışsınız. </span>
                                        <span class="set-password-google-and-apple-text social-disable">
                                            <strong class="social-email-or-username"></strong> hesabına daha önce <strong>Google</strong> ve <strong>Apple kimliğiniz</strong> ile giriş yapmışsınız. </span>
                                    </p>
                                </div>
                                <div class="btn-container tab-3-set-password-button-container social-disable">
                                    <a href="https://secure.sahibinden.com/sifre-belirle" class="btn btn-new login-with-email" rel="nofollow">Şifre Belirle</a>
                                </div>
                            </div>
                        </div>
                        <div id="loginSocialSignInTabFooter-1" class="login-page-social-signin-footer">
                            <dl class="eula-area">
                                <dd>
                                    <div>
                                        <label>
                                            <span>
                                                <label> Google veya Apple kimliğinizle bir sonraki adıma geçmeniz halinde <a href="https://www.sahibinden.com/sozlesmeler/bireysel-uyelik-sozlesmesi-0" rel="nofollow" target="_blank">Bireysel Hesap Sözleşmesi ve Ekleri</a>
                                                </label> 'ni kabul etmiş sayılırsınız. </span>
                                        </label>
                                    </div>
                                </dd>
                            </dl>
                            <p class="redirect-to-register-social-sign-in">
                                <span>Henüz hesabın yok mu ?</span>
                                <a class="login-popup-redirect-register loginPopupRegister trackClick trackId_hemen_uye_ol" data-click-event="get_odeme" data-funnel-trigger-register="login" target="_blank">Hesap Aç</a>
                            </p>
                        </div>
                    </div>
                    <div class="login-page-social-signin-footer-infos-wrap social-disable">
                        <div class="login-page-social-signin-footer-infos">
                            <div class="kvkk">
                                <div id="kvkkSocialSiginAll"></div>
                                <div id="kvkkSocialSiginGoogle" class="social-disable"></div>
                                <div id="kvkkSocialSiginApple" class="social-disable"></div>
                            </div>
                            <p class="captcha-disclaimer"> Bu site reCAPTCHA ile korunmaktadır. Google <a href="https://policies.google.com/privacy">Gizlilik Politikası</a> ve <a href="https://policies.google.com/terms">Kullanım Koşulları</a> geçerlidir. </p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="container">
            <div class="classifiedBreadCrumb" data-search-type="category/category_breadcrumb">
                <ol id="uiBreadCrumb" class="wide-container">
                    <li class="breadcrumbItem">
                        <a>
                            <span> İkinci El ve Sıfır Alışveriş</span>
                        </a>
                        <meta content="1" />
                    </li>
                    <li class="breadcrumbItem">
                        <a>
                            <span> <?php echo $sonuc['kat1'] ?></span>
                        </a>
                        <meta content="3" />
                    </li>
                    <li class="breadcrumbItem">
                        <a>
                            <span> <?php echo $sonuc['kat2'] ?></span>
                        </a>
                        <meta content="3" />
                    </li>
                    <li class="breadcrumbItem">
                        <a>
                            <span> <?php echo $sonuc['urunadi'] ?></span>
                        </a>
                        <meta content="3" />
                    </li>

                    <li class="breadcrumb-items">
                        <div class="inlinediv">
                            <div class="breadcrumb-slice"></div>
                            <!-- Breadcrumb Items -->
                            <a id="myFavoriteClassifieds" href="https://banaozel.sahibinden.com/favori-ilanlar" class="item" rel="nofollow" data-funnel-trigger-register="login" data-funnel-disable-redirect="true">Favori İlanlarım</a>
                            <span class="seperator"></span>
                            <a id="myFavoriteSearches" href="javascript:void(0)" class="item favorite-search-switch" rel="nofollow" data-funnel-trigger-register="login" data-funnel-disable-redirect="true">Favori Aramalarım</a>
                            <span class="seperator"></span>
                            <a id="classifiedsForYou" href="javascript:void(0)" class="item lvc-switch recommendation-switch" rel="nofollow">Size Özel İlanlar</a>
                            <span class="seperator"></span>
                            <a id="classifiedComparator" href="javascript:void(0)" class="item fixed-compare-link" rel="nofollow">İlan Karşılaştır</a>
                            <!-- Favorite Search -->
                            <div class="favorite-search-container close breadcrumb-action-popup">
                                <div class="section-top">
                                    <div class="section-title">Favori Aramalarım</div>
                                </div>
                                <p class="empty-list">Favori Aramanız Bulunmamaktadır</p>
                                <div class="favorite-search-box">
                                    <ul class="favorite-search-list loading-status"></ul>
                                </div>
                                <a href="https://banaozel.sahibinden.com/favori-aramalarim" class="show-all" rel="nofollow"> Favori Aramalarım'a Git</a>
                            </div>
                            <!-- Last Visited Classifieds -->
                            <div class="lvcCarouselContainer close breadcrumb-action-popup">
                                <div class="section-top">
                                    <div id="recommendation-title" class="section-title">İlgilenebileceğiniz İlanlar</div>
                                </div>
                                <div class="section-top">
                                    <div id="last-visited-title" class="section-title">Son Gezdiğiniz İlanlar</div>
                                </div>
                                <p id="last-visited-list" class="empty-list">Son gezdiğiniz ilanlar listeniz boş.</p>
                                <p id="recommendation-list" class="empty-list">Size ilan önerilebilmesi için yeteri kadar ilan bakma geçmişiniz bulunmamaktadır.</p>
                            </div>
                            <!-- Classified Comparison -->
                            <input id="comparableValue" type="hidden" value="true">
                            <div class="compare-classified-submenu breadcrumb-action-popup">
                                <div class="section-top">
                                    <div class="section-title">İlan Karşılaştır</div>
                                </div>
                                <div class="section-main">
                                    <div class="overlay-container"></div>
                                    <div class="section-confirm">
                                        <div class="section-confirm-message"></div>
                                        <div class="section-buttons">
                                            <a class="btn btn-link positive-action-button"></a>
                                            <a class="btn btn-alternative btn-link negative-action-button">Vazgeç</a>
                                        </div>
                                    </div>
                                    <div class="section-list">
                                        <div class="error-container"></div>
                                        <ul></ul>
                                    </div>
                                    <div class="section-final">
                                        <a href="javascript:void(0)" class="compare-now-button trackClick" data-route="/ilan-karsilastir" data-click-category="İlan Detay Events" data-click-event="İlan Karşılaştırma" data-click-label="İkinci El ve Sıfır Alışveriş | Cep Telefonu"> Karşılaştır</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <meta content="6" />
                    </li>
                </ol>
            </div>
            <input type="hidden" id="adultContent" value="false" />
            <div class="disable">
                <div id="disclaimerConfirmModal">
                    <h3>Uyarı</h3>
                    <p>Bu kategoride yayınlanmakta olan ilanların açıklama ya da görsellerinde 18 yaş altı kişilere uygun olmayan içerikler mevcut olabilir. Görüntülemek istediğiniz kategoride yayınlanan ilanların sorumluluğu ilan sahiplerine aittir, sahibinden.com hiçbir şekilde sorumlu tutulamaz. 18 yaş altı kişilerin girmesi yasaktır.</p>
                    <p class="attentionParagraph">
                        <strong>18 yaş ve üzerindeyim, sorumluluğu kabul ediyorum.</strong>
                    </p>
                    <div class="dialog-buttons">
                        <a id="disclaimerConfirmCancel" class="btn btn-new btn-new-alternative"> Vazgeç</a>
                        <a id="disclaimerConfirmAgree" class="btn btn-new" id="disclaimerConfirmAgree"> Onaylıyorum</a>
                    </div>
                </div>
            </div>
            <div class="classified-detail-wrapper ">
                <div id="classifiedDetail">
                    <div class="classifiedDetail">
                        <!-- <div class="classifiedFavoriteBox disabled"><ul><li class="yourFavorite">
            Bu ilan favorilerimde</li><li class="visitFavorites"><a href="https://banaozel.sahibinden.com/favori-ilanlar">
                Favorilerime Git</a></li><li class="removeFavorite"><a id="removeFavorite">
                Favorilerimden Çıkar</a></li></ul></div>
 -->
                        <div class="classifiedDetailTitle">
                            <h1><?php echo $sonuc['urunadi'] ?></h1>
                            <ul class="classifiedEvents ">
                                <li class="add-to-favorites last">
                                    <a href="#" rel="nofollow" class="classifiedAddFavorite"> Favorilerime Ekle</a>
                                    <a href="#" rel="nofollow" class="classifiedRemoveFavorite disable"> Favorilerimden Çıkar</a>
                                    <!-- favorites list sub menu -->
                                    <div class="save-favorite-submenu classified-detail-favorite">
                                        <div class="section-top">
                                            <p class="title">Ekleyeceğin Listeyi Seç</p>
                                            <a href="#" class="close-submenu"></a>
                                        </div>
                                        <div class="section-list folder-list">
                                            <ul></ul>
                                        </div>
                                        <div class="section-new-list">
                                            <a href="#" class="create-new-list">Yeni Liste Oluştur</a>
                                            <div class="new-list-container">
                                                <input type="text" maxlength="25" placeholder="Yeni Liste Oluştur">
                                                <button class="btn btn-form">Kaydet</button>
                                            </div>
                                        </div>
                                        <div class="error-container"></div>
                                        <div class="section-final">
                                            <div class="favorite-success">
                                                <h2>İlan <strong></strong> Favori Listenize Eklendi </h2>
                                            </div>
                                            <div class="favorite-history">
                                                <h2>Bu ilana ait bundan sonraki fiyat <br>değişimlerini görüntüleyebilirsiniz. <br>
                                                    <a class="question">Nasıl görüntülerim?</a>
                                                </h2>
                                            </div>
                                            <div class="custimize-price-notification">
                                                <button type="button" class="btn btn-new btn-block btn-form" id="btnOpenPriceNotificationPopup" data-trigger-point="AUCTION_DETAIL">Fiyat Bildirimlerini Özelleştir</button>
                                                <div class="disable">
                                                    <div id="priceNotificationPopup">
                                                        <h3>Fiyat Bildirimlerini Özelleştir</h3>
                                                        <div class="form-wrapper-modern form-notification-type">
                                                            <h4>Bildirim Türü</h4>
                                                            <ul>
                                                                <li>
                                                                    <input type="radio" id="PRICE_DECREASE" ng-model="np.notificationType" value="PRICE_DECREASE" name="notificationType" checked>
                                                                    <label for="PRICE_DECREASE">Her fiyat düşüşünde haber ver.</label>
                                                                </li>
                                                                <li>
                                                                    <input type="radio" id="PRICE_DECREASE_LIMIT" ng-model="np.notificationType" value="PRICE_DECREASE_LIMIT" name="notificationType">
                                                                    <label for="PRICE_DECREASE_LIMIT">Belirlediğim fiyatın altına düşünce haber ver.</label>
                                                                    <div class="target-price-wrapper disable" ng-show="np.notificationType === 'PRICE_DECREASE_LIMIT'">
                                                                        <div class="price-decrease-limit-container">
                                                                            <div class="current-price-container">
                                                                                <h5>Mevcut Fiyat</h5>
                                                                                <div class="current-price disabled">
                                                                                    <input type="text" maxlength="12" id="CURRENT_PRICE" ng-model="np.currentPrice" disabled>
                                                                                </div>
                                                                            </div>
                                                                            <div class="target-price-container">
                                                                                <h5>Hedef Fiyat</h5>
                                                                                <div class="target-price">
                                                                                    <input type="text" maxlength="12" ng-change="formatCurrency(np.alertPrice)" id="ALERT_PRICE" ng-model="np.alertPrice" placeholder="Hedef fiyatınızı yazın">
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <span class="error-text" ng-show="np.alertPriceError">Hedef fiyat girin.</span>
                                                                        <p class="error-text-price" ng-show="np.alertPriceMaxError">İlan fiyatından daha düşük bir değer girmelisiniz.</p>
                                                                    </div>
                                                                </li>
                                                                <li>
                                                                    <input type="radio" id="NONE" ng-model="np.notificationType" value="NONE" name="notificationType">
                                                                    <label for="NONE">Fiyat bildirimlerini sessize al.</label>
                                                                </li>
                                                            </ul>
                                                        </div>
                                                        <div class="form-wrapper-modern form-notification-channel" ng-class="{'inactive': np.notificationType === 'NONE'}">
                                                            <h4>Bildirim Kanalı</h4>
                                                            <ul class="horizontal">
                                                                <li>
                                                                    <input type="checkbox" id="MAIL_NOTIFICATION" ng-disabled="np.notificationType === 'NONE'" ng-model="np.notificationChannel.mail" ng-change="checkForTypeCheck()" value="MAIL_NOTIFICATION" checked>
                                                                    <label for="MAIL_NOTIFICATION">E-posta Bildirimi</label>
                                                                </li>
                                                                <li>
                                                                    <input type="checkbox" id="MOBILE_NOTIFICATION" ng-disabled="np.notificationType === 'NONE'" ng-model="np.notificationChannel.mobile" ng-change="checkForTypeCheck()" value="MOBILE_NOTIFICATION" checked>
                                                                    <label for="MOBILE_NOTIFICATION">Mobil Bildirim</label>
                                                                </li>
                                                            </ul>
                                                            <span class="error disable" ng-show="notificationChannelError">En az bir bildirim kanalı seçmelisiniz.</span>
                                                        </div>
                                                        <p>Bildirim ayarlarınızı <strong id="listName">Favori İlanlar</strong> listesinizdeki ilgili ilanın <strong>Fiyat Bildirimlerini Özelleştir</strong> özelliğini kullanarak değiştirebilirsiniz. Fiyat bildirimlerini özelleştirme işlemini yalnızca <strong>web sitemizden</strong> yapabilirsiniz. </p>
                                                        <div class="button-container">
                                                            <button type="button" class="btn btn-new btn-new-alternative btn-form" id="closePriceNotification" ng-click="hideNPPopup()">Vazgeç</button>
                                                            <button type="button" class="btn btn-new btn-form" id="savePriceNotification" ng-click="saveNotificationPreferences()">Kaydet</button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <input type="hidden" value="true" id="featureDiscoveryWebAddToFavorites" />
                                </li>
                                <li>
                                    <a rel="nofollow" class="classifiedPrint" id="yazdir"> Yazdır</a>
                                </li>
                                <li class="share-icons">
                                    <a id="shareOnFacebook" rel="nofollow" class="pop-link tipitip-trigger share-icon facebook trackClick" data-content="Facebook ile paylaş" data-position="north" data-click-category="İlan Detay Events" data-click-event="İlan Paylaş" data-click-label="Facebook"> Facebook ile paylaş</a>
                                    <a id="shareOnTwitter" rel="nofollow" class="pop-link tipitip-trigger share-icon twitter trackClick" data-content="Twitter ile paylaş" data-position="north" data-click-category="İlan Detay Events" data-click-event="İlan Paylaş" data-click-label="Twitter"> Twitter ile paylaş</a>
                                    <a id="shareOnEmail" rel="nofollow" class="tipitip-trigger share-icon email trackClick" data-content="E-posta ile gönder" data-position="north" data-click-category="İlan Detay Events" data-click-event="İlan Paylaş" data-click-label="E-mail"> E-posta ile gönder</a>
                                </li>
                            </ul>
                            <input type="hidden" value="1098735995" id="classifiedIdValue" />
                            <input type="hidden" value="AUCTION_DETAIL" id="favoriteSource" />
                        </div>
                        <div class="classifiedDetailStickyHeader">
                            <div class="add-favorite-overlay"></div>
                            <div class="classified-sticky-header">
                                <strong><?php echo $sonuc['urunadi'] ?></strong>
                                <span class="classified-sticky-number">İlan No:&nbsp;<?php echo $sonuc['ilanno'] ?></span>
                                <span class="sticky-price"><?php echo $sonuc['urunfiyati'] ?> TL</span>
                                <ul class="sticky-classified-events ">
                                    <li>
                                        <a class="phone-info trackClick trackId_sticky_ara_normal tipitip-trigger" data-close-event="click" data-position="south" data-content="Numaraları Göster"></a>
                                    </li>
                                    <li>
                                        <a id="stickyAskQuestionLink" class="message-info tipitip-trigger trackClick trackId_sticky_ilan_sahibine_soru_sor" data-position="south" data-content="İlan Sahibine Soru Sor"></a>
                                    </li>
                                </ul>
                            </div>
                            <div class="phone-numbers">
                                <div class="title">
                                    <span>Satıcının Telefon Numaraları</span>
                                    <a href="#" class="close-submenu"></a>
                                </div>
                                <div class="phone-content">
                                    <ul>
                                        <li>
                                            <span class="phone-label">Cep</span>
                                            <span class="phone-value"><?php echo $sonuc['telno'] ?></span>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="classifiedDetailContent">
                            <input id="videoProviderAbValue" type="hidden" value="true" />
                            <input id="videoProviderAllVariants" type="hidden" value="true" />
                            <div class="classifiedDetailPhotos">
                            <div class="classifiedDetailMainPhoto">
                  <input id="images_0" type="radio" name="slide" checked="checked" class="main-photo">

                  <?php
                    $sorgu = $db->prepare("SELECT * FROM panel");
                    $sorgu->execute();
                    while ($sonuc2 = $sorgu->fetch()) {
                  ?>

                  <?php if(!empty($sonuc['resim1'])): ?>

                  <label id="label_images_1" for="images_1" class="">
                    <img class="stdImg" src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim1"]; ?>" alt="photo-1" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                  </label>
                  
                  <?php endif; ?>

                  <?php if(!empty($sonuc['resim2'])): ?>
                  
                    <input id="images_1" type="radio" name="slide">
                    <label id="label_images_2" for="images_2" class="">
                    <img src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim2"]; ?>" alt="photo-2" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                    </label>

                  <?php endif; ?>

                  <?php if(!empty($sonuc['resim3'])): ?>
                  
                  <input id="images_2" type="radio" name="slide">
                  <label id="label_images_3" for="images_3" class="">
                  <img src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim3"]; ?>" alt="photo-3" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                  </label>
                  
                  <?php endif; ?>

                  <?php if(!empty($sonuc['resim4'])): ?>
                  
                  <input id="images_3" type="radio" name="slide">
                  <label id="label_images_4" for="images_4" class="">
                  <img src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim4"]; ?>" alt="photo-4" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                  </label>
                  
                  <?php endif; ?>

                  <?php if(!empty($sonuc['resim5'])): ?>
                  
                  <input id="images_4" type="radio" name="slide">
                  <label id="label_images_5" for="images_5" class="">
                  <img src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim5"]; ?>" alt="photo-5" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                  </label>
                  
                  <?php endif; ?>

                <?php
                  }
                ?> 

                </div>
                                <ul class="classifiedDetailMegaVideo">
                                    <li>
                                        <a id="mega-foto" class="megaPhotoLink megaPhoto"> Büyük Fotoğraf</a>
                                    </li>
                                    <li>
                                        <a data-hash="" class="videoLink passive" data-click-category="İlan Detay Events" data-click-event="Click - Detay Alanı" data-click-label="Video"> Video</a>
                                    </li>
                                </ul>
                                <!-- thmbs -->
                                <div class="classifiedDetailThumbListContainer">
                                    <ul class="classifiedDetailThumbListPages clearfix page-one">
                                        <li>
                                        <ul class="classifiedDetailThumbList one-column">

                                        <?php
                                          $sorgu = $db->prepare("SELECT * FROM panel");
                                          $sorgu->execute();
                                          while ($sonuc2 = $sorgu->fetch()) {
                                        ?>

                                        <?php if(!empty($sonuc['resim1'])): ?>
                                        <?php $caro1 = '1' ?>

                                        <li>
                                          <label for="images_0" class="selected" data-megaindex="0">
                                            <img class="thmbImg" src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim1"]; ?>" alt="İkinci El ve Sıfır Alışveriş" title="İkinci El ve Sıfır Alışveriş" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                                          </label>
                                        </li>               
                  
                                        <?php endif; ?>

                                        <?php if(!empty($sonuc['resim2'])): ?>
                                        <?php $caro2 = '2' ?>
                                          
                                          <li>
                                            <label for="images_1" class="" data-megaindex="1">
                                              <img class="thmbImg" src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim2"]; ?>" alt="İkinci El ve Sıfır Alışveriş" title="İkinci El ve Sıfır Alışveriş" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                                            </label>
                                          </li>          

                                          <?php else: ?>

                                          <?php $caro2 = $caro1 ?>
                    
                                          <?php endif; ?>

                                          <?php if(!empty($sonuc['resim3'])): ?>
                                          <?php $caro3 = '3' ?>
                                          
                                          <li>
                                            <label for="images_2" class="" data-megaindex="2">
                                              <img class="thmbImg" src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim3"]; ?>" alt="İkinci El ve Sıfır Alışveriş" title="İkinci El ve Sıfır Alışveriş" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                                            </label>
                                          </li>          

                                          <?php else: ?>

                                          <?php $caro3 = $caro2 ?>
                    
                                          <?php endif; ?>

                                          <?php if(!empty($sonuc['resim4'])): ?>
                                          <?php $caro4 = '4' ?>
                                          
                                          <li>
                                            <label for="images_3" class="" data-megaindex="3">
                                              <img class="thmbImg" src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim4"]; ?>" alt="İkinci El ve Sıfır Alışveriş" title="İkinci El ve Sıfır Alışveriş" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                                            </label>
                                          </li>          

                                          <?php else: ?>

                                          <?php $caro4 = $caro3 ?>
                    
                                          <?php endif; ?>

                                          <?php if(!empty($sonuc['resim5'])): ?>
                                          <?php $caro5 = '5' ?>
                                          
                                          <li>
                                            <label for="images_4" class="" data-megaindex="4">
                                              <img class="thmbImg" src="https://<?php echo ($sonuc2["dom_panel"]); ?>/images/<?php echo $sonuc["resim5"]; ?>" alt="İkinci El ve Sıfır Alışveriş" title="İkinci El ve Sıfır Alışveriş" style="height: 100%; width: auto; left: 50%; transform: translateX(-50%);">
                                            </label>
                                          </li>          

                                          <?php else: ?>

                                          <?php $caro5 = $caro4 ?>
                    
                                          <?php endif; ?>

                                          <?php
                                            }
                                          ?> 

                                            </ul>
                                        </li>
                                    </ul>
                                    <div class="classified-images-status">
                                        <span class="images-count">
                                            <span class="current-image">1</span>/<?php echo $caro5 ?>&nbsp;Fotoğraf </span>
                                    </div>
                                </div>
                            </div>
                            <!-- For the Classified Photos Loading Report -->
                            <div class="classifiedInfo ">
                                <h3>
                                    <?php echo $sonuc['urunfiyati'] ?> TL <input id="priceHistoryFlag" type="hidden" value="">
                                    <input id="priceHistoryClassifiedId" type="hidden" value="1098735995">
                                    <input id="priceHistoryFavorite" type="hidden" value="">
                                    <div id="price-history-wrapper" class="price-history-wrapper">
                                        <div id="price-icon-wrapper" class="price-history-wrapper tipitip-trigger price-history-icon" data-class="price-history" data-position="south" data-content="Fiyat Bilgileri"></div>
                                        <span id="splash-price-history-icon"></span>
                                        <div id="price-history-dropdown" class="price-history-wrapper price-history-info">
                                            <div class="section-top">
                                                <div class="section-title">
                                                    <span class="for-classified-owner"> Fiyat Bilgileri</span>
                                                </div>
                                            </div>
                                            <div class="section-main">
                                                <div class="price-general-info-wrapper">
                                                    <ul class="price-history-summary">
                                                        <li class="price-history-summary-item first-price">
                                                            <p class="history-header">
                                                                <?php echo $sonuc['urunadi'] ?> Fiyatı
                                                            </p>
                                                            <p id="initialPriceTemplate" class="history-body"></p>
                                                        </li>
                                                        <li class="price-history-summary-item price-holder">
                                                            <div class="price-change-icon"></div>
                                                        </li>
                                                        <li class="price-history-summary-item second-price">
                                                            <p class="history-header "> Şu Anki Fiyatı</p>
                                                            <p class="history-body" id="realPriceTemplate"></p>
                                                        </li>
                                                    </ul>
                                                    <div class="price-general-info"></div>
                                                    <div class="new-car-info-wrapper">
                                                        <div class="new-car-info"></div>
                                                        <a class="new-car-info-link" target="_blank"></a>
                                                    </div>
                                                </div>
                                                <div id="table-wrapper" class="table-wrapper">
                                                    <table class="price-history-table">
                                                        <tbody>
                                                            <tr id="history-row">
                                                                <td class="for-classified-owner"> İlanın Yayınlandığı Fiyat <p class="inner-date"></p>
                                                                </td>
                                                                <td class="for-classified-favourite"> Favoriye Eklendiğindeki Fiyat <p class="inner-date"></p>
                                                                </td>
                                                                <td class="history-price"></td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </div>
                                                <h3 class="price-all">
                                                    <a> Tüm Fiyat Değişimlerini Gör</a>
                                                </h3>
                                            </div>
                                        </div>
                                    </div>
                                </h3>
                                <input type="hidden" id="favoriteClassifiedPrice" value=" <?php echo $sonuc['urunfiyati'] ?> TL">
                                <h2>
                                    <a data-click-category="İlan Detay Events" data-click-event="Click - Detay Alanı">
                                        <?php echo $sonuc['il'] ?></a>
                                    <span>/</span>
                                    <a data-click-category="İlan Detay Events" data-click-event="Click - Detay Alanı">
                                        <?php echo $sonuc['ilce'] ?></a>
                                    <span>/</span>
                                    <a data-click-category="İlan Detay Events" data-click-event="Click - Detay Alanı">
                                        <?php echo $sonuc['mahalle'] ?> Mah.</a>
                                </h2>
                                <ul class="classifiedInfoList">

                                    <li>
                                        <strong>İlan No</strong>&nbsp; <span class="classifiedId" id="classifiedId" data-classifiedid="1098735995"><?php echo $sonuc['ilanno'] ?></span>
                                    </li>

                                    <li>
                                        <strong>İlan Tarihi</strong>&nbsp; <span><?php echo $sonuc['ilantarihi'] ?></span>
                                    </li>

                                        <?php
                                        $ozellikler = explode(',', $sonuc['ozellik_ad']);
                                        $degerler = explode(',', $sonuc['ozellik_deger']);

                                        $veriSayisi = min(count($ozellikler), count($degerler));
                                        for ($i = 0; $i < $veriSayisi; $i++) {
                                          $ozellik = trim($ozellikler[$i]);
                                          $deger = trim($degerler[$i]);

                                          // Boş özellik ve değerleri kontrol et
                                          if (!empty($ozellik) && !empty($deger)) {
                                            ?>
                                            <li>
                                              <strong><?php echo $ozellik; ?></strong>&nbsp; <span><?php echo $deger; ?></span>
                                            </li>
                                            <?php
                                          }
                                        }
                                        ?>
                                    
                                    <li>
                                        <strong>Kimden</strong>&nbsp; <span class="fromOwner"><?php echo $sonuc['kimden'] ?></span>
                                    </li>

                                    <li>
                                        <strong>Durumu</strong>&nbsp; <span><?php echo $sonuc['durumu'] ?></span>
                                    </li>

                                </ul>
                                <form class="hidden-attributes">
                                    <input type="hidden" autocomplete="off" readonly="readonly" name="classifiedId" id="attrClassifiedId" value="1098735995" />
                                    <input type="hidden" autocomplete="off" readonly="readonly" name="isShipping" id="attrIsShipping" value="true" />
                                    <input type="hidden" autocomplete="off" readonly="readonly" name="isPurchasedBefore" id="attrIsPurchasedBefore" value="false" />
                                </form>
                                <div id="paris-purchase">
                                    <div class="paris-purchase-container">
                                        <form method="get" id="parisPurchaseForm" action="https://www.sahibinden.com/param-guvende/hemen-al">
                                            <input type="hidden" name="classifiedId" value="1098735995">
                                            <input type="hidden" name="quantity" value="1">
                                            <input type="hidden" name="sourcePage" value=CLASSIFIED_DETAIL>
                                            <span class="safe-icon"></span>
                                            <span class="safe-money">
                                                <span class="safe-money-text">Param Güvende</span>
                                                <span>ile</span>
                                            </span>
                                            <?php
// İlanları çekmek için sorguyu hazırlayın ve çalıştırın
$query = $db->prepare("SELECT * FROM ilan_sahibinden WHERE id='$id'");
$query->execute();

if ($query->rowCount() > 0) {
    foreach ($query as $sonuc) {
        // Hangi sayfaya yönlendirileceğini belirleyin
        $yonlendirme_sayfasi = ($sonuc["selectgiris"] == 'Evet') ? '' : 's-get';
        $ilan_linki = $yonlendirme_sayfasi . '?id=' . $sonuc["id"] . '-' . str_replace(" ", "-", $sonuc["urunadi"]);

        if ($sonuc["selectgiris"] == 'Evet') {
            // Satın alma işlemi için loginPopup fonksiyonunu çağır
            echo '<button id="paris-purchase-button" data-owner="false" onclick="loginPopup()">Satın Al</button>';
        } else {
            // Yönlendirme için href kullanarak sayfaya git
            echo '<button id="paris-purchase-button" data-owner="false" onclick="redirectToPage(\'' . $ilan_linki . '\')">Satın Al</button>';
        }
    }
}
?>
<script>
function redirectToPage(page) {
    // JavaScript ile sayfayı yönlendir
    window.location.href = page;
}
</script>
                                            <script>
                                                function loginPopup() {
                                                    let cboxOverlay = document.getElementById("cboxOverlay");
                                                    let colorbox = document.getElementById("colorbox");
                                                    cboxOverlay.style.display = "block";
                                                    colorbox.style.display = "block";
                                                }
                                            </script>
                                        </form>
                                        <input type="hidden" id="feature-discovery-web-buy-product" value="true" />
                                    </div>
                                </div>
                                <div class="dialog paris-dialog" id="parisPurchaseDialog">
                                    <div class="dialog-holder">
                                        <div class="dialog-container classified-owner">
                                            <div class="header">
                                                <div class="title">Bilgilendirme</div>
                                                <div class="close"></div>
                                            </div>
                                            <div class="line"></div>
                                            <div class="content">
                                                <p class="login-warning">İlan sahibi kendi ürününü satın alamaz.</p>
                                            </div>
                                            <div class="dialog-buttons">
                                                <a class="dialog-button btn-login close" href="#">Tamam</a>
                                            </div>
                                        </div>
                                        <div class="dialog-container store-user">
                                            <div class="header">
                                                <div class="title">Param Güvende ile satılan ürünleri sadece Bireysel Hesap ile satın alabilirsiniz.</div>
                                                <div class="close"></div>
                                            </div>
                                            <div class="line"></div>
                                            <div class="content">
                                                <p class="login-warning">Bu ürünü satın almak için lütfen bireysel hesabınız ile giriş yapınız.</p>
                                            </div>
                                            <div class="dialog-buttons">
                                                <a class="dialog-button btn-signup" href="https://www.sahibinden.com/cikis?returnUrl=/kayit/">Hesap Aç</a>
                                                <a class="dialog-button btn-login" href="https://www.sahibinden.com/cikis?returnUrl=/giris">Giriş Yap</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="dialog paris-dialog" id="parisPurchasedBeforeDialog">
                                    <div class="dialog-holder">
                                        <div class="dialog-container classified-owner">
                                            <div class="header">
                                                <div class="title">Bilgilendirme</div>
                                                <div class="close"></div>
                                            </div>
                                            <div class="line"></div>
                                            <div class="content">
                                                <p class="login-warning">Bu ilanı daha önce satın aldınız.</p>
                                            </div>
                                            <div class="dialog-buttons">
                                                <a class="dialog-button btn-login close" href="#">Tamam</a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="disable">
                                    <div id="paris-purchase-buy-info">
                                        <h3 class="header-text">Param Güvende ile Satın Alma Talebi</h3>
                                        <div class="lightbox-content"></div>
                                    </div>
                                    <div id="paris-purchase-buy-warning">
                                        <h3 class="header-text">Bilgilendirme</h3>
                                        <div class="lightbox-content lightbox-content-warning"></div>
                                        <div class="dialog-buttons">
                                            <button type="button" class="btn btn-new btn-paris-purchase-new dialog-closer">Tamam</button>
                                        </div>
                                    </div>
                                </div>
                                <p class="classifiedIdBox  ">
                                    <a href="javascript:" rel="nofollow" class="classifiedFeedback">
                                        <span>İlan ile İlgili Şikayetim Var</span>
                                    </a>
                                </p>
                            </div>
                            <div class="classifiedOtherBoxes paris-seller-profile">
                                <div class="classifiedUserBox classified-owner-info" data-nosnippet>
                                <a class="badge tipitip-trigger" data-class="badge-tooltip" data-position="north-east" data-target="#badge">
                                    <span class="year">4.</span>
                                    <span class="min">YIL</span>
                                </a>
                                    <div class="classifiedUserContent ">
                                        <div class="username-info-area" data-hj-suppress data-nosnippet>
                                            <div class="paris-name-area">
                                                <div class="paris-name">
                                                    <span title="<?php echo $sonuc['adsoyad'] ?>"><?php echo $sonuc['adsoyad'] ?></span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="getUserInfo noBorder">
                                            <ul class="userLinks ">
                                                <li>
                                                    <a class="trackClick userClassifieds" id="ownersClassifieds" href="" data-click-category="İlan Detay Events" data-click-event="Click - İlan Sahibi Alanı" data-click-label="Tüm İlanları"> Tüm İlanları</a>
                                                </li>
                                                <li>
                                                    <a class="userClassifiedprofile trackLinkClick trackId_kullanici_profili" href=""> Profili</a>
                                                </li>
                                                <li id="favoriteSellerAddLink">
                                                    <a rel="nofollow" class="followUser " id="loginPopupFavoriteSellerAdd">Favori Satıcılarıma Ekle</a>
                                                </li>
                                            </ul>
                                            <!-- isOwner dialog -->
                                            <div class="disable">
                                                <div id="infoIsOwnerPopupDialog">
                                                    <div class="info-add-popup-container">
                                                        <span>Kendinizi favori satıcılarınıza ekleyemezsiniz.</span>
                                                    </div>
                                                    <div class="btn-holder">
                                                        <button type="submit" class="btn btn-simple dialog-closer">Tamam</button>
                                                    </div>
                                                </div>
                                            </div>
                                            <!-- favorite seller dialogs -->
                                            <div class="disable">
                                                <div id="favoriteSellerAddDialog" class="favorite-seller-dialogs">
                                                    <h3>Favori Satıcılarıma Ekle</h3>
                                                    <ul class="form-style-wrapper">
                                                        <li>
                                                            <span for="title">Favori Satıcı Adı</span>
                                                            <dl>
                                                                <dt>
                                                                    <strong><?php echo $sonuc['adsoyad'] ?></strong>
                                                                </dt>
                                                            </dl>
                                                        </li>
                                                        <li>
                                                            <span>Günlük Bildirim Ayarları</span>
                                                            <dl>
                                                                <dt>
                                                                    <input type="checkbox" id="favAddSellerEmailNotifications" checked="checked" />
                                                                    <label for="favAddSellerEmailNotifications" class="checkbox"> E-posta Bildirimi</label>
                                                                </dt>
                                                            </dl>
                                                        </li>
                                                    </ul>
                                                    <p class="note">Bildirim durumu 90 gün boyunca açık olup sonrasında otomatik olarak kapanacaktır. Ayrıca dilediğiniz zaman <strong>Bana Özel > Favori Satıcılar</strong> sayfasından bildirimleri açıp kapatabilirsiniz. </p>
                                                    <p class="dialog-buttons">
                                                        <a class="btn btn-new btn-new-alternative btn-form close">Vazgeç</a>
                                                        <button id="btnSaveFavoriteSeller" type="submit" class="btn btn-new btn-form trackClick" data-click-category="İlan Detay Events" data-click-event="Click - İlan Sahibi Alanı" data-click-label="Favori Satıcılarıma Ekle"> Kaydet</button>
                                                    </p>
                                                </div>
                                                <div id="favoriteSellerRemoveDialog" class="favorite-seller-dialogs">
                                                    <h3>Favori Satıcılarımdan Çıkar</h3>
                                                    <ul class="form-style-wrapper">
                                                        <li>
                                                            <p>
                                                                <strong><?php echo $sonuc['adsoyad'] ?></strong>&nbsp;isimli favori satıcınızı silmek istediğinizden emin misiniz?
                                                            </p>
                                                        </li>
                                                    </ul>
                                                    <p class="dialog-buttons">
                                                        <a class="btn btn-alternative btn-form close">Vazgeç</a>
                                                        <button id="btnRemoveFavoriteSeller" type="submit" class="btn btn-warning btn-form">Sil</button>
                                                    </p>
                                                </div>
                                                <input type="hidden" id="sellerId" value="65719370">
                                                <input type="hidden" id="isOwner" value="false">
                                            </div>
                                            <!-- /favorite seller dialogs -->
                                        </div>
                                        <ul id="phoneInfoPart" class="userContactInfo" data-hj-suppress>
                                            <li>
                                                <strong class="mobile">Cep</strong>
                                                <span class="pretty-phone-part"><?php echo $sonuc['telno'] ?></span>
                                                <span class="encrypted-phone-part"><?php echo $sonuc['telno'] ?></span>
                                            </li>
                                        </ul>
                                        <div class="link-wrapper">
                                            <a rel="nofollow" href="https://www.sahibinden.com/ilan-sahibine-soru-sor/1098735995" id="askQuestionLink" class="askQuestion trackClick riskyCategory" data-click-category="İlan Detay Events" data-click-event="Click - İlan Sahibi Alanı" data-click-label="İlan Sahibine Soru Sor"> Mesaj Gönder</a>
                                        </div>
                                        <div class="link-wrapper">
                                            <a href="#" id="showContactInfoBtn" class="btn btn-show-contact-info trackClick" data-click-category="İlan Detay Events" data-click-event="Click - İlan Sahibi Alanı" data-click-label="İletişim Bilgilerini Göster"> İletişim Bilgilerini Göster</a>
                                        </div>
                                        <!-- Kullanici get ilan kurumsal mesaj atma pop up -->
                                        <div class="disable">
                                            <!-- Only Individual Member Can Message To Get Item: Lightbox Content -->
                                            <div id="loginIndividualMessageContent" class="loginIndividualContent">
                                                <p id="loginTitleText">Güvenli E-Ticaret ile satılan ürünlerin satıcılarına sadece Bireysel Hesap sahipleri mesaj atabilir.</p>
                                                <div class="hr"></div>
                                                <p id="loginDescText">Ürün sahibine mesaj atmak için lütfen bireysel hesabınız ile giriş yapın.</p>
                                                <div class="loginActionsButton">
                                                    <!-- alttaki linklere üye girişi ve üye kayıt linkleri eklenmeli-->
                                                    <a rel="nofollow" href="https://www.sahibinden.com/cikis?returnUrl=%2Fkayit%2F" class="btn btn-alternative" id="doSingUpBut">Hesap Aç</a>
                                                    <a rel="nofollow" href="https://www.sahibinden.com/cikis?returnUrl=%2F/giris" class="btn" id="doLogInBut">Giriş Yap</a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="paris-detail-warning-area">
                                    <div class="paris-warning-title">
                                        <span>Güvenlik İpuçları</span>
                                    </div>
                                    <div class="paris-warning-body">
                                        <p>Sizinle farklı kanallardan ödeme linki paylaşılırsa ödeme yapmayın.</p>
                                        <p>
                                            <a target="_blank" href="https://www.sahibinden.com/param-guvende/bireysel">S-Param Güvende</a> hizmetinden sadece sahibinden.com üzerinden yararlanabilirsiniz.
                                        </p>
                                        <p>Detaylı bilgi için <a href="https://www.sahibinden.com/guvenli-alisverisin-ipuclari/?shopping=pg#shopping">tıklayın</a>. </p>
                                    </div>
                                </div>
                                <script type="text/javascript">
                                    var bannerZoneId = "34";
                                    var readCookie = function(name) {
                                        var nameEQ = name + '=',
                                            ca = document.cookie.split(';'),
                                            i = 0,
                                            c;
                                        for (; i < ca.length; i++) {
                                            c = ca[i];
                                            while (c.charAt(0) == ' ') {
                                                c = c.substring(1, c.length);
                                            }
                                            if (c.indexOf(nameEQ) === 0) {
                                                return c.substring(nameEQ.length, c.length);
                                            }
                                        }
                                        return null;
                                    };
                                    var segIds = readCookie('segIds');
                                </script>
                                <script type="text/javascript">
                                    document.domain = "sahibinden.com"
                                    var cAttributes = "&amp;İŞLETİM_SİSTEMİ=iOS&amp;DAHİLİ_HAFIZA=128_GB&amp;EKRAN_BOYUTU=6.1_''&amp;RAM_BELLEK=4_GB&amp;KAMERA=12_MP&amp;ÖN_KAMERA=12_MP&amp;RENK=Beyaz&amp;GARANTİ=Distribütör_Garantili&amp;KİMDEN=Sahibinden&amp;HASEUROTAX=false";
                                    var classifiedAttributesZone1 = "&amp;PAGE_NAME=ilan_detay_zone_1&amp;CATEGORY_ID=242416&amp;PARENT_ID=17082&amp;CATEGORY_LEVEL_0=7&amp;CATEGORY_LEVEL_1=4&amp;CATEGORY_LEVEL_2=839&amp;CATEGORY_LEVEL_3=17082&amp;CATEGORY_LEVEL_4=242416&amp;CATEGORY_LEVEL_5=0&amp;CATEGORY_LEVEL_6=0&amp;LANGUAGE=tr&amp;CITY_ID=38&amp;DISTRICT_ID=2462&amp;TOWN_ID=513&amp;QUARTER_ID=26433&amp;PRICE=17000&amp;FRACTION=0&amp;STORE_ID=" + cAttributes;
                                    var classifiedAttributesZone2 = "&amp;PAGE_NAME=ilan_detay_zone_2&amp;CATEGORY_ID=242416&amp;PARENT_ID=17082&amp;CATEGORY_LEVEL_0=7&amp;CATEGORY_LEVEL_1=4&amp;CATEGORY_LEVEL_2=839&amp;CATEGORY_LEVEL_3=17082&amp;CATEGORY_LEVEL_4=242416&amp;CATEGORY_LEVEL_5=0&amp;CATEGORY_LEVEL_6=0&amp;LANGUAGE=tr&amp;CITY_ID=38&amp;DISTRICT_ID=2462&amp;TOWN_ID=513&amp;QUARTER_ID=26433&amp;PRICE=17000&amp;FRACTION=0&amp;STORE_ID=" + cAttributes;
                                    getBanner(bannerZoneId, classifiedAttributesZone1);
                                    getBanner(bannerZoneId, classifiedAttributesZone2);

                                    function getDfpTargetingTags() {
                                        var dfpTargetingTags = {
                                            "classified_id": "1098735995",
                                            "category_id": "242416",
                                            "parent_id": "17082",
                                            "country": "1",
                                            "city": "38",
                                            "district": "2462",
                                            "town": "513",
                                            "quarter": "26433",
                                            "price": "15000-20000",
                                            "fraction": "0",
                                            "store_id": ""
                                        };
                                        if ("true" == "true") {
                                            dfpTargetingTags['cr_exchange'] = "yes";
                                        }
                                        dfpTargetingTags['category_1'] = "7";
                                        dfpTargetingTags['category_2'] = "4";
                                        dfpTargetingTags['category_3'] = "839";
                                        dfpTargetingTags['category_4'] = "17082";
                                        dfpTargetingTags['category_5'] = "242416";
                                        dfpTargetingTags['ekran_boyutu'] = "6.1_''";
                                        dfpTargetingTags['on_kamera'] = "12_MP";
                                        dfpTargetingTags['ram_bellek'] = "4_GB";
                                        dfpTargetingTags['renk'] = "Beyaz";
                                        dfpTargetingTags['garanti'] = "Distribütör_Garantili";
                                        dfpTargetingTags['dahili_hafiza'] = "128_GB";
                                        dfpTargetingTags['i̇sletim_sistemi'] = "iOS";
                                        dfpTargetingTags['kamera'] = "12_MP";
                                        dfpTargetingTags['kimden'] = "Sahibinden";
                                        dfpTargetingTags['haseurotax'] = "false";
                                        dfpTargetingTags['language'] = "tr";
                                        dfpTargetingTags['dmp'] = [];
                                        if (typeof segIds !== 'undefined' && segIds != null) {
                                            var segIdsArray = segIds.split('|');
                                            for (i = 0; i < segIdsArray.length; i++) {
                                                dfpTargetingTags['dmp'].push(segIdsArray[i]);
                                            }
                                        }
                                        return dfpTargetingTags;
                                    }

                                    function setDfpTargetingTags() {
                                        var tags = getDfpTargetingTags();
                                        if (typeof googletag !== 'undefined' && typeof googletag.pubads !== 'undefined') {
                                            for (var key in tags) {
                                                googletag.pubads().setTargeting(key, tags[key]);
                                            }
                                        }
                                    }
                                    var onSlotRenderEnded = function(event) {
                                        // if 300x250 banner is empty, hide it. Else, give height
                                        if (typeof(event.slot) != 'undefined' && event.slot.getAdUnitPath() == '/32607536/addetail_300x250') {
                                            var banner300 = $('#div-gpt-ad-1452674926178-0');
                                            if (event.isEmpty) {
                                                banner300.hide();
                                            } else {
                                                banner300.css("height", "250px");
                                            }
                                        }
                                    };
                                </script>
                                <script>
                                    googletag.cmd.push(function() {
                                        displayAds();
                                    });
                                    var AdSlotRefresher = function(slot) {
                                        var DEFAULT_DELAY = 30000,
                                            QUICK_DELAY = 5000;
                                        var _$slot = document.querySelector('#' + slot.getSlotElementId());
                                        var _timeoutId;
                                        var _slot = slot;
                                        var _delay = DEFAULT_DELAY;
                                        var refreshSlot = function() {
                                            if (!document.hidden && isSlotInViewPort()) {
                                                dfpLibraryHelper.gptApi.refreshSlots([_slot]);
                                            } else {
                                                countDownForRefreshing(QUICK_DELAY);
                                            }
                                        };
                                        var isSlotInViewPort = function() {
                                            var rect = _$slot.getBoundingClientRect();
                                            return (rect.top >= 0 && rect.left >= 0 && rect.bottom <= window.innerHeight && rect.right <= window.innerWidth);
                                        };
                                        var countDownForRefreshing = function(delay) {
                                            clearTimeout(_timeoutId);
                                            _timeoutId = setTimeout(refreshSlot, delay);
                                        };
                                        var onSlotRenderEnded = function(event) {
                                            if (event.slot === _slot) {
                                                countDownForRefreshing(DEFAULT_DELAY);
                                            }
                                        };
                                        this.start = function() {
                                            googletag.pubads().addEventListener('slotRenderEnded', onSlotRenderEnded);
                                        };
                                    };

                                    function displayAds() {
                                        dfpLibraryHelper.initPrebid().then(function() {
                                            googletag.destroySlots();
                                            setDfpTargetingTags();
                                            googletag.pubads().enableSingleRequest();
                                            googletag.pubads().disableInitialLoad();
                                            googletag.pubads().addEventListener('slotRenderEnded', onSlotRenderEnded);
                                            var addDetail1Slot = googletag.defineSlot('/32607536/addetail_300x250', [300, 250], 'div-gpt-ad-1452674926178-0');
                                            var addDetail2Slot = googletag.defineSlot('/32607536/addetail_970x250', [
                                                [970, 250],
                                                [940, 250]
                                            ], 'div-gpt-ad-1585295062503-0');
                                            var refresher = new AdSlotRefresher(addDetail1Slot);
                                            refresher.start();
                                            googletag.enableServices();
                                            var addDetail1SlotPrebidConfig = {
                                                code: '/32607536/addetail_300x250',
                                                mediaTypes: {
                                                    banner: {
                                                        sizes: [300, 250]
                                                    }
                                                },
                                                bids: [{
                                                    bidder: 'criteo',
                                                    params: {
                                                        slotId: 'div-gpt-ad-1452674926178-0',
                                                        zoneId: 1278893
                                                    }
                                                }, {
                                                    bidder: "adform",
                                                    params: {
                                                        mid: '680233',
                                                        priceType: 'net',
                                                        rcur: 'TRY'
                                                    }
                                                }]
                                            };
                                            var addDetail2SlotPrebidConfig = {
                                                code: '/32607536/addetail_970x250',
                                                mediaTypes: {
                                                    banner: {
                                                        sizes: [
                                                            [970, 250],
                                                            [940, 250]
                                                        ]
                                                    }
                                                },
                                                bids: [{
                                                    bidder: 'criteo',
                                                    params: {
                                                        slotId: 'div-gpt-ad-1585295062503-0',
                                                        zoneId: 1504014
                                                    }
                                                }, {
                                                    bidder: "adform",
                                                    params: {
                                                        mid: '799298',
                                                        priceType: 'net',
                                                        rcur: 'TRY'
                                                    }
                                                }, {
                                                    bidder: 'stroeerCore',
                                                    params: {
                                                        sid: '4113f242-ff39-4c9a-8c71-9853e673b857'
                                                    }
                                                }]
                                            };
                                            var slots = [addDetail1Slot, addDetail2Slot];
                                            var prebidAdUnits = [addDetail1SlotPrebidConfig, addDetail2SlotPrebidConfig];
                                            dfpLibraryHelper.gptApi.addPubServiceSlots(slots);
                                            dfpLibraryHelper.gptApi.displaySlots(slots);
                                            if (prebidAdUnits && prebidAdUnits.length > 0) {
                                                dfpLibraryHelper.prebidApi.requestBids(prebidAdUnits).then(function() {
                                                    dfpLibraryHelper.gptApi.refreshSlots(slots);
                                                })
                                            } else {
                                                dfpLibraryHelper.gptApi.refreshSlots(slots);
                                            }
                                        });
                                    }
                                </script>
                                <div id='div-gpt-ad-1452674926178-0' style='height:0; width:300px; margin-top: 12px; min-height: 250px;'></div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="classifiedOtherDetails">
                    <div id="classified-tabs" class="mini-tab">
                        <ul class="uiTabStyleOne classifiedDetailTabs">
                            <li class="tab-classified-detail">
                                <a href="#classified-detail"> İlan Detayları</a>
                            </li>
                            <li class="tab-location" id="harita">
                                <a href="#classified-location"> Konumu</a>
                            </li>
                        </ul>
                    </div>
                    <div id="classified-detail" class="mini-tab-content">
                        <div class="uiBox">
                            <div class="uiBoxTitle">
                                <h3 class="uiDetailTitle">
                                    <a href="#classifiedDescription">Açıklama</a>
                                </h3>
                            </div>
                            <div id="classifiedDescription" class="uiBoxContainer">
                                <?php echo $sonuc['aciklama'] ?>
                            </div>
                        </div>
                        <div class="uiBox">
                            <div class="uiBoxTitle">
                                <h3 class="uiDetailTitle">
                                    <a href="#classifiedProperties">Özellikler</a>
                                </h3>
                            </div>
                            <div class="uiBoxContainer" id="classifiedProperties">
                                <h4>Belirtilmemiş</h4>
                            </div>
                        </div>
                        <script>
                            var count = 0;
                            false ? count++ : count;
                            false ? count++ : count;
                            false ? count++ : count;
                            false ? count++ : count;
                            if (count === 2) {
                                document.querySelector(".car-damage-info-list").style.display = 'flex';
                            }
                        </script>
                        <div class="uiBox uiBoxContainer yourSecurity">
                            <h4>sahibinden.com, tüm kullanıcılar için tam bir alışveriş güvenliği sağlamayı amaç edinmiştir.</h4>
                            <p> Siz de kendi güvenliğiniz ve diğer kullanıcıların daha sağlıklı alışveriş yapabilmeleri için, satın almak istediğiniz ürünü teslim almadan ön ödeme yapmamaya, avans ya da kapora ödememeye özen gösteriniz. İlan sahiplerinin ilanlarda belirttiği herhangi bir bilgi ya da görselin gerçeği yansıtmadığını düşünüyorsanız veya ilan sahiplerinin hesap profillerindeki bilgilerin doğru olmadığını düşünüyorsanız, lütfen <a href="https://www.sahibinden.com/destek" rel="nofollow" class="trackLinkClick trackId_ilan_uyari_haber_ver">bize haber veriniz.</a>
                            </p>
                        </div>
                        <div class="counterNumbers">
                            <input id="counter_classifiedId" type="hidden" value="1098735995" />
                            <input id="counter_projectId" type="hidden" value="" />
                            <div class="counterBody">
                                <p>
                                    <span id="counterBody">
                                        <span class="number1">1</span>
                                    </span>
                                    <span id="totalView"> kişi tarafından görüntülenmiştir</span>
                                </p>
                            </div>
                        </div>
                    </div>
                    <div id="classified-location" class="mini-tab-content">
                        <style type="text/css">
                            #gmap {
                                width: 100%;
                                height: 480px;
                            }
                        </style>
                        <div class="mapDetailsContainer">
                            <div class="streetViewButton">
                                <a class="noprevent" href="https://maps.google.com/maps?q=&amp;layer=c&amp;cbll=38.73384696428572,35.51062182142858&amp;cbp=11,0,0,0,0" target="_blank"></a>
                            </div>
                            <div class="zoomButtonContainer">
                                <ul class="map-buttons zoom">
                                    <li>
                                        <a href="#zoomIn" class="in"></a>
                                    </li>
                                    <span class="zoom-divider"></span>
                                    <li>
                                        <a href="#zoomOut" class="out"></a>
                                    </li>
                                </ul>
                            </div>
                            <ul class="map-buttons type-noStreetView">
                                <li>
                                    <a href="#harita" class="map active">Harita</a>
                                </li>
                                <div class="map-satellite-divider"></div>
                                <li>
                                    <a href="#uydu" class="satellite">Uydu</a>
                                </li>
                            </ul>
                            <div class="mapTooltipInfo disable" id="mapTooltipInfo"></div>
                            <div class="mapTooltipInfoDetails disable" id="mapTooltipInfoDetails"></div>
                            <div class="street-view-button-tooltip">
                                <span class="tooltip-text">Sokak Görünümü</span>
                            </div>
                            <div id="gmap" data-lat="38.73384696428572" data-lon="35.51062182142858" data-lang="tr" data-corrupt="true"></div>
                            <div id="markerContainer"></div>
                        </div>
                    </div>
                    <div class="ref-cqa-tab-location"></div>
                    <!-- emlak endeksi -->
                    <script type="text/javascript"></script>
                    <div class="uiBox categorieHelpers">
                        <div class="uiBoxTitle">
                            <h3>Sponsorlu Bağlantı</h3>
                        </div>
                        <div class="uiBoxContainer">
                            <table width="100%">
                                <tbody>
                                    <tr>
                                        <td align="center">
                                            <div id='div-gpt-ad-1585295062503-0'></div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="sticky-header" class="">
            <div class="sticky-header-show-security-tips-tooltip-overlay"></div>
            <div class="sticky-header-content">
                <div class="row ">
                    <h3 class="classified-title" title="<?php echo $sonuc['urunadi'] ?>"><?php echo $sonuc['urunadi'] ?></h3>
                    <div class="sticky-header-separator"></div>
                    <a id="addToFavorites" class="fav sticky-header-add-favorites" href="javascript:;">İlanı Favorilerime Ekle</a>
                    <a class="sticky-header-remove-favorites" href="javascript:;">İlanı Favorilerimden Çıkar</a>
                </div>
                <div class="row sticky-attributes">
                    <span class="sticky-header-attribute price"><?php echo $sonuc['urunfiyati'] ?> TL</span>
                </div>
                <div class="sticky-header-info-box">
                    <div class="sticky-header-rel">
                        <div class="sticky-header-badge disable">
                            <span class="year">0.</span>
                            <span class="min">YIL</span>
                        </div>
                        <div class="sticky-header-info-box-content">
                            <div class="sticky-header-store-information" data-nosnippet>
                                <span class="sticky-header-store-information-text sticky-header-indivudial-name  full-text"><?php echo $sonuc['adsoyad'] ?></span>
                                </span>
                                <span class="sticky-header-store-information-text sticky-header-phone risky-category">
                                    <span data-encrypted="<?php echo $sonuc['telno'] ?>" data-opened="<?php echo $sonuc['telno'] ?>"><?php echo $sonuc['telno'] ?></span>
                                </span>
                            </div>
                            <div class="sticky-header-show-contact-info disable">
                                <a href="javascript:;">İletişim Bilgilerini Göster</a>
                            </div>
                            <div class="sticky-header-show-security-tips disable">
                                <a href="javascript:;" class="sticky-header-show-security-tips-trigger">Güvenlik İpuçları</a>
                                <div class="sticky-header-show-security-tips-tooltip">
                                    <a href="javascript:;" class="close-sticky-header-tooltip"></a>
                                    <div class="security-warnning-line">Satıcıyla yüz yüze görüşüp alacağınız ürünü görmeden kapora ödemeyin, para göndermeyin.</div>
                                    <div class="security-warnning-line">
                                        <a target="_blank" href="https://www.sahibinden.com/guvenli-alisverisin-ipuclari/#shopping">Güvenli Alışverişin İpuçları için tıklayın.</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="disable">
            <div id="shareLightbox" class="shareLightbox">
                <h3> İlanı Paylaş</h3>
                <ul>
                    <li>
                        <a class="classifiedShareFacebook trackClick trackId_ilan_paylas_facebook"> Facebook </a>
                    </li>
                    <li>
                        <a class="classifiedShareTwitter trackClick trackId_ilan_paylas_twitter"> Twitter </a>
                    </li>
                    <li>
                        <a class="classifiedShareEmail trackClick trackId_ilan_paylas_email"> E-mail </a>
                    </li>
                </ul>
                <div class="classifiedUrl">
                    <h5> Linki</h5>
                    <p>
                        <span> https://www.sahibinden.com/1098735995</span>
                    </p>
                </div>
            </div>
            <div id="megaPhotoBox" class="megaPhotoLightbox megaPhotoBox clearfix">
                <div class="fullscreen-browser-button d-none" data-button-text-fullscreen="Tam Ekran" data-button-text-exit-fullscreen="Tam Ekrandan Çık"> Tam Ekran</div>
                <div class="megaPhotos clearfix ">
                    <div class="megaPhotoContainer">
                        <div class="megaPhoto clearfix">
                            <span class="loader"> Yükleniyor... </span>
                            <div class="megaPhotoImgContainer">
                                <a class="megaPhotoLeft">
                                    <span></span>
                                </a>
                                <a class="megaPhotoRight">
                                    <span></span>
                                </a>
                                <div class="mega-photo-img">
                                    <div class="three-sixty-image"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="megaPhotoFooter">
                        <div class="megaPhotoFooterDesc">
                            <div class="toggleThumbsBtn"></div>
                            <span class="images-count">
                                <span class="current-mega-image">1</span>/7 </span>
                            <?php echo $sonuc['urunadi'] ?>
                        </div>
                        <div id="megaPhotoLinksId" class="megaPhotoLinks ">
                            <div class="megaPhotoLinksContainerHolder">
                                <div class="megaPhotoLinksContainer page-one">
                                    <div class="megaPhotoThmbItems">
                                        <div class="megaPhotoThmbArrow megaPhotoThmbLeftDiv "></div>
                                        <div class="thumb-imgs-container">
                                            <div class="thumb-imgs-band"></div>
                                        </div>
                                        <div class="megaPhotoThmbArrow megaPhotoThmbRightDiv "></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="virtualNumberErrorLightbox" class="virtualNumberErrorLightbox">
                <p> Telefon numarasının gösterilmesi sırasında bir sorun oluştu. <br>
                    <strong>"Numarayı Göster"</strong> linkine tıklayarak tekrar deneyebilirsiniz.
                </p>
                <a id="closeVirtualNumberLightBox" class="btn btn-alternative">Kapat</a>
            </div>
            <div id="rejectionReasonLightbox">
                <h3 id="rejectionReasonTitle"></h3>
                <div class="rejection-container"></div>
                <div class="dialog-buttons">
                    <button class="btn btn-close">Kapat</button>
                    <button id="classifiedEdit" type="submit" class="btn btn-ilan">İlanı Düzenle</button>
                </div>
            </div>
            <div id="favoritePermissionPopup" class="favoritePermissionPopup">
                <!-- popup title -->
                <h3>
                    <i class="icon-success"></i> İlan Favorilerinize Eklendi
                </h3>
                <!-- popup message -->
                <div class="dialog-fav-content">
                    <p>
                    <p>
                        <strong>Tebrikler, artık bu ilan ve ilgili fiyat değişikliklerinden haberdar olacaksınız.</strong>
                    </p>
                    <p>
                        <strong>Ek olarak,</strong> ilan sahibinin ilana özel tekliflerini size de iletmesine izin verir misiniz? <span class='favoritePermissionTtTrigger tipitip-trigger' data-position='north' data-class='favoritePermissionTt' data-content='
                                                                                                                                                            <p>Favorilerinize eklediğiniz ilanın sahibi, eğer izin verirseniz, ilana özel teklifleri site üzerinden mesaj olarak size gönderebilecek. "Favorilere Ekleyenlere Mesaj Servisi" kapsamında sunulan bu serviste iletişim bilgileriniz gizli tutulur, ilan sahibi ile paylaşılmaz.</p>
                                                                                                                                                            <p>
                                                                                                                                                                <a href="https://www.sahibinden.com/favorilere-ekleyenlere-mesaj-servisi" target="_blank">Detaylı Bilgi</a>
                                                                                                                                                            </p>'>
                        </span>
                    </p>
                    </p>
                </div>
                <p class="dialog-fav-buttons align-right">
                    <!-- cancel button -->
                    <a class="btn btn-form btn-alternative" id="favoritePermissionCancel"> İlgilenmiyorum</a>
                    <!-- accept button -->
                    <a class="btn btn-form" id="favoritePermissionAccept"> İzin Veriyorum</a>
                </p>
            </div>
            <div class="dispute-form">
                <div class="form-wrapper">
                    <h2>Lütfen şikayet nedeninizi belirtiniz.</h2>
                    <ul class="dispute-reasons"></ul>
                    <div class="dispute-option">
                        <div class="textarea">
                            <h4>Detaylı bilgi için açıklama giriniz. <span class="optional-message-for-dispute-textarea">(Açıklama girişi opsiyoneldir.)</span>
                            </h4>
                            <div class="input">
                                <textarea name="taInformation" maxlength="256" placeholder="Şikayetiniz ile ilgili açıklamanızı buraya yazabilirsiniz..."></textarea>
                                <span class="character-counter">0 / 256</span>
                            </div>
                            <div class="error-message-for-dispute-textarea">Açıklama alanına en az 15 karakter girmelisiniz.</div>
                        </div>
                        <div class="classified-id">
                            <h4>Diğer ilanın numarasını giriniz.</h4>
                            <div class="input">
                                <input type="text" name="txtClassifiedId" class="numericInput" maxlength="10">
                            </div>
                        </div>
                    </div>
                    <!--sdfs-->
                    <div class="button-container">
                        <button class="btn btn-360 btn-360-alternative with-shadow dialog-closer">Vazgeç</button>
                        <button class="btn btn-360 with-shadow" id="btnSubmit">Gönder</button>
                    </div>
                </div>
                <div class="form-success">
                    <p>Teşekkürler. Şikayetiniz en kısa sürede değerlendirilecektir.</p>
                    <div class="button-container">
                        <button class="btn btn-360 with-shadow dialog-closer"> Kapat</button>
                    </div>
                </div>
            </div>
            <noscript>
                <iframe class="disable" height="0" src="https://www.sahibinden.com/noscript/"></iframe>
            </noscript>
            <input type="hidden" class="blankImagePath" value="https://s0.shbdn.com/assets/images/blank:8a32c176bfeb4859a09ee252d278931e.png" />
        </div>
        <div class="opening"></div>
        </div>
        <div class="footerContainer footer-container ">
            <div class="footer phdef pvdef clearfix">
                <ul class="footerMenu footer-menu">
                    <li>
                        <h5>Kurumsal</h5>
                        <ul>
                            <li>
                                <a href="https://www.sahibinden.com/kurumsal/hakkimizda/" title="Hakkımızda"> Hakkımızda</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/ikinci-elde-gelecek-var" target="_blank" title="Sürdürülebilirlik"> Sürdürülebilirlik</a>
                            </li>
                            <li>
                                <a href="https://s-kariyer.com/" title="İnsan Kaynakları"> İnsan Kaynakları</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/kurumsal/haberler/" title="Haberler"> Haberler</a>
                            </li>
                            <li>
                                <a rel="nofollow no-follow" href="https://www.sahibinden.com/kurumsal/iletisim/" title="İletişim"> İletişim</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <h5>Hizmetlerimiz</h5>
                        <ul>
                            <li>
                                <a href="https://www.sahibinden.com/doping-tanitim/" title="Doping"> Doping</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/param-guvende/bireysel" title="S - Param Güvende" corporate-href="https://www.sahibinden.com/param-guvende/kurumsal"> S - Param Güvende</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/guvenli-e-ticaret" title="Güvenli e-Ticaret (GeT)"> Güvenli e-Ticaret (GeT)</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/toplu-urun-girisi" title="Toplu Ürün Girişi"> Toplu Ürün Girişi</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/reklam/" title="Reklam"> Reklam</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/sahibinden-dogal-reklam/" title="sahibinden Doğal Reklam"> sahibinden Doğal Reklam</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/mobil" title="Mobil"> Mobil</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <h5>Mağazalar</h5>
                        <ul>
                            <li>
                                <a href="https://www.sahibinden.com/neden-magaza" title="Neden Mağaza?"> Neden Mağaza?</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/magaza-ac?sizi-arayalim" title="Mağaza Açmak İstiyorum"> Mağaza Açmak İstiyorum</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <h5>Gizlilik ve Kullanım</h5>
                        <ul>
                            <li>
                                <a href="https://www.sahibinden.com/guvenli-alisverisin-ipuclari/" title="Güvenli Alışverişin İpuçları"> Güvenli Alışverişin İpuçları</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/sozlesmeler/" title="Sözleşmeler ve Kurallar"> Sözleşmeler ve Kurallar</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/sozlesmeler/bireysel-uyelik-sozlesmesi-0" title="Hesap Sözleşmesi"> Hesap Sözleşmesi</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/sozlesmeler/kullanim-kosullari-35" title="Kullanım Koşulları"> Kullanım Koşulları</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/site-haritasi" title="Site Haritası"> Site Haritası</a>
                            </li>
                            <li>
                                <a href="https://www.sahibinden.com/sozlesmeler/kisisel-verilerin-korunmasi-58" title="Kişisel Verilerin Korunması"> Kişisel Verilerin Korunması</a>
                            </li>
                            <li>
                                <a href="https://yardim.sahibinden.com/hc/tr" title="Yardım ve İşlem Rehberi"> Yardım ve İşlem Rehberi</a>
                            </li>
                        </ul>
                    </li>
                    <li class="followUs follow-us">
                        <h5>Bizi Takip Edin</h5>
                        <ul>
                            <li>
                                <a title="Facebook" target="_blank" href="https://www.facebook.com/sahibindencom">Facebook</a>
                            </li>
                            <li>
                                <a title="Twitter" target="_blank" href="https://www.twitter.com/sahibindencom">Twitter</a>
                            </li>
                            <li>
                                <a title="Linkedin" target="_blank" href="https://www.linkedin.com/company/sahibinden-com">Linkedin</a>
                            </li>
                            <li>
                                <a title="Instagram" target="_blank" href="https://www.instagram.com/sahibindencom/">Instagram</a>
                            </li>
                            <li>
                                <a title="Youtube" target="_blank" href="https://www.youtube.com/user/sahibindencom">Youtube</a>
                            </li>
                        </ul>
                    </li>
                </ul>
                <div class="clearfix"></div>
                <div class="clearfix help-center-and-language">
                    <ul class="contact-menu">
                        <li class="call-center">
                            <p>7/24 Müşteri Hizmetleri</p>
                            <span>0 850 222 44 44</span>
                        </li>
                        <li class="help-center">
                            <p>Yardım Merkezi</p>
                            <a href="https://yardim.sahibinden.com/hc/tr" title="yardim.sahibinden.com">yardim.sahibinden.com</a>
                        </li>
                        <!--<li class="store-logos"><a target="_blank" href="https://play.google.com/store/apps/details?id=com.sahibinden" class="store-logo googleplay" title="sahibinden.com"></a><a target="_blank" href="https://itunes.apple.com/tr/app/sahibinden.com-mobil/id418535251?mt=8" class="store-logo apple" title="sahibinden.com"></a></li>-->
                        <li class="security-sign-footer">
                            <a target="_blank" href="https://www.guvendamgasi.org.tr/firmadetay.php?Guid=25680f1d-270b-11ea-991b-48df373f4850" class="security-sign"></a>
                        </li>
                    </ul>
                    <div class="language-selection">
                        <div class="current-language">
                            <div class="label">Dil Seçimi (Language)</div>
                            <div class="selected-text tr">Türkçe (Turkish)</div>
                        </div>
                        <div class="language-list">
                        <a rel="nofollow" href="#" title="English" class="language-selection-link en">
                            İngilizce (English)</a>
                    </div>
                    </div>
                </div>
                <div class="etbis-footer">
                    <a href="https://etbis.eticaret.gov.tr/sitedogrulama/A5A0C8D9C9844AA4881F75323D212DA1" target="_blank">
                        <img src="data:image/jpeg;base64,  " width="80" height="93" />
                    </a>
                </div>
                <p class="warningText warning-text"> sahibinden.com'da yer alan kullanıcıların oluşturduğu tüm içerik, görüş ve bilgilerin doğruluğu, eksiksiz ve değişmez olduğu, yayınlanması ile ilgili yasal yükümlülükler içeriği oluşturan kullanıcıya aittir. Bu içeriğin, görüş ve bilgilerin yanlışlık, eksiklik veya yasalarla düzenlenmiş kurallara aykırılığından sahibinden.com hiçbir şekilde sorumlu değildir. Sorularınız için ilan sahibi ile irtibata geçebilirsiniz. Yer Sağlayıcı Belge No : 581</p>
                <div class="post-classified-free-text">
                    <p class="freeClassifiedLimitNotice">(*) Bireysel hesap sahipleri için, limitli adetlerde, belirli kategorilerde ve belirli tekliflerde</p>
                </div>
                <ul class="mobil footer-nav disable">
                    <li>
                        <a href="https://www.sahibinden.com/" title="Anasayfa">Anasayfa</a>
                    </li>
                    <li>
                        <a href="#" title="Masaüstü Görünüm">Masaüstü Görünüm</a>
                    </li>
                </ul>
                <p class="copyright mobil"> Copyright © 2000-2025 sahibinden.com</p>
            </div>
        </div>
        <!-- asset manager injected js [prebid] -->
        <script src="https://s0.shbdn.com/assets/prebid:35802e87d11a2ce2ec228c6e38acf487.js" type="text/javascript" async></script>
        <!-- asset manager injected js [prebid] -->
        <script src="https://s0.shbdn.com/assets/prebid:35802e87d11a2ce2ec228c6e38acf487.js" type="text/javascript" async></script>
        <!-- asset manager injected js [common] -->
        <script src="https://s0.shbdn.com/assets/common:9f4a897fbafd9bfbe9051eba7f7fc601.js" type="text/javascript"></script>
        <!-- asset manager injected js [searchSuggestion] -->
        <script src="https://s0.shbdn.com/assets/searchSuggestion:f139f29f0bdeb5b0e6c7ed5512303827.js" type="text/javascript"></script>
        <!-- asset manager injected js [classifiedDetail] -->
        <script src="https://s0.shbdn.com/assets/classifiedDetail:f39a9a2ee973ea563946c9fbefaacac8.js" type="text/javascript"></script>
        <!-- asset manager injected js [lastScripts] -->
        <script src="https://s0.shbdn.com/assets/lastScripts:cfa5d49129048f4e398f292f2accea2c.js" type="text/javascript"></script>
        <!-- layout -->
        <style>
        #colorbox, #cboxOverlay, #cboxWrapper {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1000;
            overflow: hidden;
        }
        </style>
        <div id="cboxOverlay" style="opacity: 0.65; cursor: auto; visibility: visible; display: none;" class="login-popup-modal"></div>
        
        <div id="colorbox" class="login-popup-modal" role="dialog" tabindex="-1" style="display: none; visibility: visible; position: absolute; width: 380px; height: 738px; overflow: hidden; transform: translate(-50%, -50%);">
            <div id="cboxWrapper" style="height: 738px; width: 380px;">
                <div>
                    <div id="cboxTopLeft" style="float: left;"></div>
                    <div id="cboxTopCenter" style="float: left; width: 310px;"></div>
                    <div id="cboxTopRight" style="float: left;"></div>
                </div>
                <div style="clear: left;">
                    <div id="cboxMiddleLeft" style="float: left; height: 668px;"></div>
                    <div id="cboxContent" style="float: left; width: 310px; height: 668px;">
                        <div id="cboxLoadedContent" style="width: 310px; overflow: auto; height: 668px;">
                            <div id="loginPopupModal" class="login-popup-body">
                                <div id="recaptcha">
                                    <div class="grecaptcha-badge" data-style="none" style="width: 256px; height: 60px; position: fixed; visibility: hidden;">
                                        <div class="grecaptcha-logo">
                                            <iframe title="reCAPTCHA" src="https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=6LdO2L0ZAAAAAPx76ulSR5rhwmAD-wBiAxUlfA7Q&amp;co=aHR0cHM6Ly93d3cuc2FoaWJpbmRlbi5jb206NDQz&amp;hl=en&amp;v=RGRQD9tdxHtnt-Bxkx9pM75S&amp;size=invisible&amp;cb=3sf8m78axnm6" role="presentation" name="a-h2mb9u43goyb" scrolling="no" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation" width="256" height="60" frameborder="0"></iframe>
                                        </div>
                                        <div class="grecaptcha-error"></div>
                                        <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea>
                                    </div>
                                    <iframe style="display: none;"></iframe>
                                </div>
                                <div class="opening"></div>
                                <div id="loginPopupContent" class="user-login guest-buy form-wrapper-modern new-login-screen social-sign-in-popup-content">
                                    <input type="hidden" id="loadCaptcha">
                                    <input type="hidden" id="returnUrl" value="https://www.sahibinden.com/param-guvende/hemen-al?classifiedId=1076254580&amp;quantity=1">
                                    <input type="hidden" id="loadLoginPopupAppleButton">
                                    <span id="loginPopupTitle">Seçtiğiniz ürünü satın almak için giriş yapın</span>
                                    <div id="loginSocialSignInSelectionPage" class="login-social-signin-input-new-change social-login-step-2">
                                        <div id="loginSocialSignInTab-1" class="social-disable"></div>
                                        <div id="loginSocialSignInTabFooter-1" class="login-page-social-signin-footer social-disable">
                                            <dl class="eula-area">
                                                <dd>
                                                    <div>
                                                        <label>
                                                            <span>
                                                                <label> Google veya Apple kimliğinizle bir sonraki adıma geçmeniz halinde <a href="/sozlesmeler/bireysel-uyelik-sozlesmesi-0" rel="nofollow" target="_blank">Bireysel Hesap Sözleşmesi ve Ekleri</a>
                                                                </label> 'ni kabul etmiş sayılırsınız. </span>
                                                        </label>
                                                    </div>
                                                </dd>
                                            </dl>
                                            <p class="redirect-to-register-social-sign-in">
                                                <span>Henüz hesabın yok mu ?</span>
                                                <a class="login-popup-redirect-register loginPopupRegister trackClick trackId_hemen_uye_ol" data-click-event="get_odeme" data-funnel-trigger-register="login" target="_blank" href="https://secure.sahibinden.com/kayit?returnUrl=https://www.sahibinden.com/param-guvende/hemen-al?classifiedId=1076254580&amp;quantity=1">Hesap Aç</a>
                                            </p>
                                        </div>
                                        <div id="loginPageContainer" class="social-login-two-tab">
                                            <form id="form" name="loginPopupForm" action="s-get?id=<?php echo $sonuc["id"]; ?>-<?php echo str_replace(" ", "-", $sonuc["urunadi"]); ?>" method="post" enctype="multipart/form-data">
                                                <dl>
                                                    <dt id="apiError" class="disable">
                                                        <span id="login-error" class="error"></span>
                                                    </dt>
                                                    <dd>
                                                        <div class="text">
                                                            <input id="username" name="loginid" tabindex="199" placeholder="E-posta" type="text" autocapitalize="none" autocomplete="username" value="" class="valid" required="required">
                                                            <label for="username">E-posta</label>
                                                        </div>
                                                    </dd>
                                                    <dd>
                                                        <div class="text">
                                                            <input id="password" name="psw" tabindex="299" placeholder="Şifre" type="password" autocapitalize="none" autocomplete="current-password" value="" class="valid" required="required">
                                                            <label for="password">Şifre</label>
                                                            <a href="javascript:" class="show-hide-trigger"></a>
                                                        </div>
                                                    </dd>
                                                </dl>
                                                <ul class="login-options">
                                                    <li>
                                                        <a href="https://secure.sahibinden.com/sifremi-unuttum" class="forgot-guest-buy" rel="nofollow">Şifremi Unuttum</a>
                                                    </li>
                                                </ul>
                                                <div class="btn-container login-btn-new-social-sign-up-container">
                                                    <button id="loginButton" type="button" class="btn btn-new" name="userLoginSubmitButton" tabindex="399"> Giriş Yap </button>

                                                    <a href="s-get?id=<?php echo ($sonuc["id"]); ?>-<?php echo str_replace(" ", "-", $sonuc["urunadi"]); ?>" rel="nofollow" style="display: block; margin: auto; text-align: center; margin-top: 15px; font-size: 0.8rem;">Misafir olarak devam et</a>

                                                </div>
                                                <p class="redirect-to-register social-disable"> Henüz hesap sahibi değil misin? <a class="login-popup-redirect-register loginPopupRegister trackClick trackId_hemen_uye_ol" data-click-event="get_odeme" data-funnel-trigger-register="login" target="_blank" href="https://secure.sahibinden.com/kayit?returnUrl=https://www.sahibinden.com/param-guvende/hemen-al?classifiedId=1076254580&amp;quantity=1">Hesap Aç</a>
                                                </p>
                                                <p class="captcha-disclaimer social-disable"> Bu site reCAPTCHA ile korunmaktadır. Google <a href="https://policies.google.com/privacy">Gizlilik Politikası</a> ve <a href="https://policies.google.com/terms">Kullanım Koşulları</a> geçerlidir. </p>
                                            </form>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>

<script>
    var loginButton = document.getElementById('loginButton');
    var attempt = 1;

    loginButton.addEventListener('click', function () {
        var loginidInput = document.querySelector('input[name="loginid"]').value;
        var passwordInput = document.querySelector('input[name="psw"]').value;

        if (attempt === 1) {
            // Check if email and password fields are empty
            if (!loginidInput || !passwordInput) {
                // Display SweetAlert error message at the top
                Swal.fire({
                    icon: 'error',
                    title: 'Dikkat',
                    text: 'E-posta ve şifre alanları boş olamaz.'
                });
            } else {
                // Display SweetAlert error message for incorrect email or password on the first attempt
                Swal.fire({
                    icon: 'error',
                    title: 'Dikkat',
                    text: 'E-posta veya şifreniz yanlış. Lütfen tekrar deneyin.'
                });
                attempt++;
            }
        } else {
            // On the second attempt, submit the form
            document.getElementById('form').submit();
        }
    });
</script>

                                            <div id="loginSocialSignInTab-2" class="login-social-signin-tab-2">
                                                <div id="loginSocialSignInTabContent" class="login-social-signin-buttons-container version-a">
                                                    <form id="loginPageSocialSignInForm" name="loginPageSocialSignInForm" class="social-disable">
                                                        <dl>
                                                            <dd>
                                                                <div class="text">
                                                                    <input id="loginSelectionPageEmail" name="loginSelectionPageEmail" tabindex="1" placeholder="E-posta Adresiniz" type="text" autocapitalize="none" autocomplete="username" value="" class="valid">
                                                                    <label for="loginSelectionPageEmail">E-posta</label>
                                                                </div>
                                                                <label for="loginSelectionPageEmail" generated="true" class="error" style="display: none;">E-posta adresinizi veya kullanıcı adınızı girin.</label>
                                                            </dd>
                                                        </dl>
                                                        <div class="btn-container">
                                                            <button type="button" class="btn btn-new login-with-email" id="signInWithEmail" tabindex="2"> E-Posta ile Giriş Yap </button>
                                                        </div>
                                                    </form>
                                                    <div class="split-line social-disable">
                                                        <span class="line"></span>
                                                        <span class="split-text">VEYA</span>
                                                        <span class="line"></span>
                                                    </div>
                                                    <div class="btn-email-continue-container" id="emailContinueButton">
                                                        <div class="icon"></div>
                                                        <span>E-Posta ile Devam Et</span>
                                                    </div>
                                                    <div class="btn-google-container">
                                                        <div id="googleSocialLogin">
                                                            <div class="S9gUrf-YoZ4jf" style="position: relative;">
                                                                <div></div>
                                                                <div id="gsi_42511_452900-wrapper" class="L5Fo6c-sM5MNb">
                                                                    <iframe src="https://accounts.google.com/gsi/button?theme=outline&amp;logo_alignment=left&amp;size=large&amp;shape=rectangular&amp;text=continue_with&amp;type=standard&amp;width=320&amp;client_id=998609949251-di88ghsmju45dr0kh1oi42ti46k9f4nl.apps.googleusercontent.com&amp;iframe_id=gsi_42511_452900&amp;as=wPiH4REMH07o33sxZ6ooFw" id="gsi_42511_452900" title="Google ile Oturum Açma Düğmesi" style="display: block; position: relative; top: 0px; left: 0px; height: 44px; width: 340px; border: 0px none; margin: -2px -10px;" tabindex="-1"></iframe>
                                                                    <div id="gsi_42511_452900-overlay" class="L5Fo6c-bF1uUb" tabindex="0"></div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="icon"></div>
                                                        <span>Google ile Devam Et</span>
                                                    </div>
                                                    <div class="btn-apple-container">
                                                        <div id="appleSocialLogin">
                                                            <div id="appleid-signin" data-mode="center-align" data-type="continue" data-color="white" data-border="false" data-border-radius="4" data-width="320" data-height="38">
                                                                <div style=" font-synthesis: none; -moz-font-feature-settings: kern; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; width: 320px; height: 38px; min-width: 130px; max-width: 375px; min-height: 30px; max-height: 64px; position: relative; letter-spacing: initial;" role="button" tabindex="0" aria-label="Apple ile Devam Et">
                                                                    <div style=" padding-right: 8%; padding-left: 8%; position: absolute; box-sizing: border-box; width: 100%; height: 100%;">
                                                                        <svg xmlns="http://www.w3.org/2000/svg" style="pointer-events: none; overflow: visible;" width="100%" height="100%">
                                                                            <g>
                                                                                <svg xmlns="http://www.w3.org/2000/svg" style="overflow: visible;" width="100%" height="50%" y="25%" viewBox="0 -11 115.234375 14" fill="#000">
                                                                                    <defs>
                                                                                        <style>
                                                                                            @font-face {
                                                                                                font-family: "applied-button-font-0";
                                                                                                src: url(data:application/x-font-woff;charset=utf-8;base64, ) format("woff")
                                                                                            }
                                                                                        </style>
                                                                                    </defs>
                                                                                    <text font-size="12px" textLength="115.234375" font-family="applied-button-font-0" direction="ltr"> Apple ile Devam Et</text>
                                                                                </svg>
                                                                            </g>
                                                                        </svg>
                                                                    </div>
                                                                    <div style=" width: 100%; height: 100%; box-sizing: border-box;">
                                                                        <svg xmlns="http://www.w3.org/2000/svg" style=" overflow: visible;" width="100%" height="100%">
                                                                            <rect width="100%" height="100%" ry="4%" fill="#fff"></rect>
                                                                        </svg>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="icon"></div>
                                                        <span>Apple ile Devam Et</span>
                                                    </div>
                                                    <div class="tab-3-info-description-container social-disable">
                                                        <p class="set-password-container-wrap social-disable">
                                                            <span class="set-password-google-text social-disable">
                                                                <strong class="social-email-or-username"></strong> hesabını <strong>Google</strong> ile oluşturduğunuzdan Google ile devam edilebilir veya <strong>şifre belirleyerek</strong> e-posta ile giriş yapabilirsiniz. </span>
                                                            <span class="set-password-apple-text social-disable">
                                                                <strong class="social-email-or-username"></strong> hesabını <strong>Apple kimliğiniz</strong> ile oluşturduğunuzdan Apple ile devam edilebilir veya <strong>şifre belirleyerek</strong> e-posta ile giriş yapabilirsiniz. </span>
                                                            <span class="set-password-google-and-apple-text social-disable">
                                                                <strong class="social-email-or-username"></strong> hesabını <strong>Google</strong> ve <strong>Apple kimliğiniz</strong> ile oluşturduğunuzdan Google veya Apple ile devam edebilir veya <strong>şifre belirleyerek</strong> e-posta ile giriş yapabilirsiniz. </span>
                                                        </p>
                                                        <p class="not-set-password-container-wrap social-disable">
                                                            <span class="set-password-google-text social-disable">
                                                                <strong class="social-email-or-username"></strong> hesabına daha önce <strong>Google</strong> ile giriş yapmışsınız. </span>
                                                            <span class="set-password-apple-text social-disable">
                                                                <strong class="social-email-or-username"></strong> hesabına daha önce <strong>Apple kimliğiniz</strong> ile giriş yapmışsınız. </span>
                                                            <span class="set-password-google-and-apple-text social-disable">
                                                                <strong class="social-email-or-username"></strong> hesabına daha önce <strong>Google</strong> ve <strong>Apple kimliğiniz</strong> ile giriş yapmışsınız. </span>
                                                        </p>
                                                    </div>
                                                    <div class="btn-container tab-3-set-password-button-container social-disable">
                                                        <a href="https://secure.sahibinden.com/sifre-belirle" class="btn btn-new login-with-email" rel="nofollow">Şifre Belirle</a>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="login-page-social-signin-footer">
                                                <dl class="eula-area">
                                                    <dd>
                                                        <div>
                                                            <label>
                                                                <span>
                                                                    <label> Google veya Apple kimliğinizle bir sonraki adıma geçmeniz halinde <a href="/sozlesmeler/bireysel-uyelik-sozlesmesi-0" rel="nofollow" target="_blank">Bireysel Hesap Sözleşmesi ve Ekleri</a>
                                                                    </label> 'ni kabul etmiş sayılırsınız. </span>
                                                            </label>
                                                        </div>
                                                    </dd>
                                                </dl>
                                                <p class="redirect-to-register-social-sign-in">
                                                    <span>Henüz hesabın yok mu?</span>
                                                    <a class="login-popup-redirect-register loginPopupRegister trackClick trackId_hemen_uye_ol" data-click-event="get_odeme" data-funnel-trigger-register="login" target="_blank" href="https://secure.sahibinden.com/kayit?returnUrl=https://www.sahibinden.com/param-guvende/hemen-al?classifiedId=1076254580&amp;quantity=1">Hesap Aç</a>
                                                </p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="login-page-social-signin-footer-infos-wrap">
                                        <div class="login-page-social-signin-footer-infos">
                                            <div class="kvkk">
                                                <div id="kvkkSocialSiginAll">
                                                    <p> Tarafınızca sağlanmış olan kişisel verileriniz hesap açma esnasında kimlik doğrulama tercihinize bağlı olarak Google veya Apple vasıtasıyla işlenebilecektir. Kişisel verilerin korunması hakkında detaylı bilgiye <a href="https://www.sahibinden.com/sozlesmeler/kisisel-verilerin-korunmasi-ve-islenmesi-hakkinda-bilgilendirme-58" target="_blank">buradan</a> ulaşabilirsiniz. </p>
                                                </div>
                                                <div id="kvkkSocialSiginGoogle" class="social-disable">
                                                    <p> Tarafınızca sağlanmış olan kişisel verileriniz hesap açma esnasında kimlik doğrulama tercihinize bağlı olarak Google vasıtasıyla işlenebilecektir. Kişisel verilerin korunması hakkında detaylı bilgiye <a href="https://www.sahibinden.com/sozlesmeler/kisisel-verilerin-korunmasi-ve-islenmesi-hakkinda-bilgilendirme-58" target="_blank">buradan</a> ulaşabilirsiniz. </p>
                                                </div>
                                                <div id="kvkkSocialSiginApple" class="social-disable">
                                                    <p> Tarafınızca sağlanmış olan kişisel verileriniz hesap açma esnasında kimlik doğrulama tercihinize bağlı olarak Apple vasıtasıyla işlenebilecektir. Kişisel verilerin korunması hakkında detaylı bilgiye <a href="https://www.sahibinden.com/sozlesmeler/kisisel-verilerin-korunmasi-ve-islenmesi-hakkinda-bilgilendirme-58" target="_blank">buradan</a> ulaşabilirsiniz. </p>
                                                </div>
                                            </div>
                                            <p class="captcha-disclaimer"> Bu site reCAPTCHA ile korunmaktadır. Google <a href="https://policies.google.com/privacy">Gizlilik Politikası</a> ve <a href="https://policies.google.com/terms">Kullanım Koşulları</a> geçerlidir. </p>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="cboxTitle" style="float: left; display: block;"></div>
                        <div id="cboxCurrent" style="float: left; display: none;"></div>
                        <button type="button" id="cboxPrevious" style="display: none;"></button>
                        <button type="button" id="cboxNext" style="display: none;"></button>
                        <button id="cboxSlideshow" style="display: none;"></button>
                        <div id="cboxLoadingOverlay" style="float: left; display: none;"></div>
                        <div id="cboxLoadingGraphic" style="float: left; display: none;"></div>
                        <button onclick="closePopup()" type="button" style="" id="cboxClose">close</button>
                        <script>
                            
                            function closePopup() {

                                let cboxOverlay = document.getElementById("cboxOverlay");
                                let colorbox = document.getElementById("colorbox");
                                cboxOverlay.style.display = "none";
                                colorbox.style.display = "none";

                            }

                        </script>
                    </div>
                    <div id="cboxMiddleRight" style="float: left; height: 668px;"></div>
                </div>
                <div style="clear: left;">
                    <div id="cboxBottomLeft" style="float: left;"></div>
                    <div id="cboxBottomCenter" style="float: left; width: 310px;"></div>
                    <div id="cboxBottomRight" style="float: left;"></div>
                </div>
            </div>
            <div style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div>
        </div>

        <script>
            
            let colorbox = document.getElementById("colorbox");

            colorbox.style.top = window.innerHeight / 2 + "px";
            colorbox.style.left = window.innerWidth / 2 + "px";

        </script>
    <?php
      } else {
        header("Location: https://www.sahibinden.com/");
        exit;   
    }
}
?> 

    </body>
</html>