<style>
.menukate {
    color: black;
    font-weight: 600;
}
.menukate:hover {
    color: var(--theme_color_2);
    font-weight: 600;
}
</style>
<main>
    <section id="urunliste">
      <div class="container">
      <div class="modal-body">
            <div class="modal-inner d-flex">
                <div class="product_inner">
                    <?php
                    $img=json_decode($data_queryy->resimler,true);
                    $say=0;
                    while(isset($img[$say])){
                        echo '<img width="395" height="500" src="'.$site.'upload/urunler/'.$img[$say].'">';
                        $say++;
                    }
                    ?>
                </div>
                <div class="product_content">
                    <h4 class="product_name"><?php echo $data_queryy->ad;?></h4>
                    <div class="price_box d-flex align-items-center justify-content-between flex-wrap">
                        <h3 class="price">
                            <?php if($data_queryy->fiyat_indirim!=Null){ ?> <span
                                class="old-price"><del><?php echo $data_queryy->fiyat;?> TL</del></span>
                            <span class="new-price"><?php echo $data_queryy->fiyat_indirim;?> TL</span>
                            <?php } else{ ?>
                            <span class="new-price"><?php echo $data_queryy->fiyat;?> TL</span>
                            <?php } ?>
                        </h3>
                        <div class="star">
                            <i class="ri-star-fill"></i>
                            <i class="ri-star-fill"></i>
                            <i class="ri-star-fill"></i>
                            <i class="ri-star-fill"></i>
                            <i class="ri-star-fill"></i>
                        </div>
                    </div>
                    <?php if(!strstr(html_entity_decode($data_queryy->aciklama), "<p"))
                                            {  ?>
                    <p class="product_info">
                        <?php } ?>
                        <?php echo str_replace("<p", '<p class="product_info" ',html_entity_decode($data_queryy->aciklama));?>
                        <?php if(!strstr(html_entity_decode($data_queryy->aciklama), "<p"))
                                            {  ?> </p><?php } ?>
                    <form method="post" action="<?php echo $site.settings("sepet_url");?>">
                        <?php 	$liste=array();				 $opt = opsiyonlar($data_queryy->id);
                                                while ($opsiyon = $opt->fetch(PDO::FETCH_OBJ)) {
                                                        if (in_array($opsiyon->id,$liste)){
                                                        continue;
                                                    }
                                                    array_push($liste,$opsiyon->id);
                                                ?>
                                                
                        <div id="selector" class="body-swatch">
                            <select name="opsiyon[]" class="selectpicker" data-width="100%">
                                <option value=""><?php echo $opsiyon->ad;?>: İstemiyorum</option>
                                <option value="<?php echo $opsiyon->id; ?>">
                                    <?php echo $opsiyon->secenek; ?>
                                    (<?php echo $opsiyon->fiyat; ?>TL)</option>
                                <?php 					 $opta = opsiyonlar($data_queryy->id);
                                                                while ($ops = $opta->fetch(PDO::FETCH_OBJ)) {
                                                                    if (in_array($ops->id,$liste)){
                                                                        continue;
                                                                    }
                                                                    if($ops->ad!=$opsiyon->ad){
                                                                        continue;
                                                                    }
                                                                    array_push($liste,$ops->id);
                                                                ?>
                                <option value="<?php echo $ops->id; ?>">
                                    <?php echo $ops->secenek; ?>
                                    (<?php echo $ops->fiyat; ?>TL)</option>
                                <?php } ?>
                            </select>
                            <i class="ri-arrow-down-s-line"></i>
                        </div>
                        <?php  ?>
                        <?php } ?>
                        <div class="content_bottom d-flex flex-column">
                        <?php if($data_queryy->urun_stok!=Null && $data_queryy->urun_stok<=0){ 
                                echo '<div class="alert alert-danger">Stok bulunamadı</div>';
                                }  elseif($data_queryy->durum=="0"){ 
                                echo '<div class="alert alert-danger">Stok bulunamadı</div>';
                                } else{?>
                            <div class="btn-group">
                                <div class="quantity-box">
                                    <span class="input-number-decrement">–</span>
                                    <input class="input-number" id="maincount" type="number" value="1" name="adet" min="1"  <?php if($data_queryy->urun_stok!=Null){ ?>max="<?=$data_queryy->urun_stok;?>"<?php } ?> onchange="adjustInput()">
                                    <span class="input-number-increment">+</span>
                                </div>
                                <div class="btn-ground">
                                    <button type="submit" name="product" value="<?php echo $data_queryy->id;?>">
                                        <i class="ri-shopping-cart-line"></i>
                                        Şimdi Satın Al
                                    </button>
                                </div>
                            </div>
                            <?php $eklenti=eklenti("whatsappsatinal");
                                                        if($eklenti["durum"]=="1"){
                                                        $json=json_decode($eklenti["deger"],true);
                                                        ?>
                            <a href="<?php echo $json["Whatsapp Linki"];?>" target="_blank">
                                <div class="wpbtn">
                                    <button type="button">
                                        <i class="ri-whatsapp-line"></i> WhatsApp ile Satın Al
                                    </button>
                                </div>
                            </a>
                            <?php } ?>
                            
                            <?php } ?>
                        </div>
                    </form>
                </div>
        </div>
      </div>
    </section>
    <script>
        function adjustInput() {
        var input = document.getElementById("maincount");
        var value = input.value;
        if (value.length == 2) {
            input.style.margin = "0 0px 0px 5px";
            input.style.width = "65px";
        } else if (value.length == 3) {
            input.style.margin = "0 0 0 5px";
            input.style.width = "33px";
        } else {   
            input.style.margin = "0 8px";
            input.style.width = "63px";
        }
        }
    </script>
<?php 
 $data_querymm = $db->query("SELECT * FROM urunyorum where urun='".$data_queryy->id."' ORDER BY id DESC");
    $data_querymm->execute(array());
    if($data_querymm->rowCount()!="0"){
	
	?>
        <section id="comments" class="p_60">
            <div class="container">
                <div class="title">
                    <h2>
                    <svg width="15" height="1" viewBox="0 0 15 1" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <line y1="0.5" x2="15" y2="0.5" stroke="#2E4468"/>
                    </svg>
                    <?php echo explode("~",$sayfa["Müşteri Yorum Başlık Bölüm"])[0];?></h2>
                    <p><?php echo explode("~",$sayfa["Müşteri Yorum Başlık Bölüm"])[1];?></p>
                </div>
                <div class="comments_area comments_slider owl-carousel ">
                    <?php  	 $querya = $db->query("SELECT * FROM urunyorum where urun='".$data_queryy->id."' ORDER BY id DESC"); 
                while ($dataa = $querya->fetch(PDO::FETCH_OBJ)) {
                   ?>
                    <div class="swiper-slide">
                        <div class="d-flex swiper_item">
                            <div class="body">
            <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M20.8862 26.03L27.5 27.5L26.03 20.8862C26.9981 19.0755 27.5031 17.0533 27.5 15C27.5 8.09625 21.9037 2.5 15 2.5C8.09624 2.5 2.49999 8.09625 2.49999 15C2.49999 21.9037 8.09624 27.5 15 27.5C17.0533 27.5031 19.0755 26.9981 20.8862 26.03V26.03ZM20.5237 23.3888L19.7075 23.8263C18.2593 24.6002 16.642 25.0034 15 25C13.0222 25 11.0888 24.4135 9.44428 23.3147C7.79979 22.2159 6.51807 20.6541 5.76119 18.8268C5.00431 16.9996 4.80628 14.9889 5.19213 13.0491C5.57798 11.1093 6.53039 9.32746 7.92892 7.92893C9.32744 6.53041 11.1093 5.578 13.0491 5.19215C14.9889 4.8063 16.9996 5.00433 18.8268 5.7612C20.6541 6.51808 22.2159 7.79981 23.3147 9.4443C24.4135 11.0888 25 13.0222 25 15C25 16.6675 24.5937 18.2725 23.825 19.7075L23.3887 20.5238L24.2075 24.2075L20.5237 23.3888V23.3888ZM21.25 15H18.75C18.75 15.9946 18.3549 16.9484 17.6516 17.6517C16.9484 18.3549 15.9945 18.75 15 18.75C14.0054 18.75 13.0516 18.3549 12.3483 17.6517C11.6451 16.9484 11.25 15.9946 11.25 15H8.74999C8.74999 16.6576 9.40847 18.2473 10.5806 19.4194C11.7527 20.5915 13.3424 21.25 15 21.25C16.6576 21.25 18.2473 20.5915 19.4194 19.4194C20.5915 18.2473 21.25 16.6576 21.25 15V15Z" fill="#E89F04"/>
            </svg>
                                <p><?php echo $dataa->yorum;?></p>
                                <span><?php echo $dataa->ad;?></span>
                            </div>
                        </div>
                    </div>
                    <?php } ?>
                </div>
            </div>
	</section>
	<?php } ?>
    <section id="product2" class="notslider bg_post" style="margin-bottom:30px;">
            <div class="container">
                <div class="title">
                    <h2><img src="img/titlesvg.svg"
                            alt="">Tavsiye Ürünler</h2>
                    <p>Sizler İçin Tavsiye Ürünlerimiz</p>
                </div>
                <div class="product_box  row ">
                    <?php 					 $query = urunler();
                     $say="0";
$urunlerkategori=moduller("urunlerkategori");
                        while ($data = $query->fetch(PDO::FETCH_OBJ)) {
                            if($data->url==Null){
                                $data->url=$data->id;     
                                                           
                            }
                            if($say=="4"){
                                break;
                                continue;
                                }
                                $say++;
							if($urunlerkategori["durum"]=="1"){ 
								$kat =  $db->query("SELECT * FROM kategori where id='".$data->kate."' ORDER BY id DESC");; 
                                $kat = $kat->fetch(PDO::FETCH_OBJ);
								$data->kate_ad=$kat->ad;
							}
                    ?>
                    <div class="product  col-sm-6 col-lg-3">
                        <div class="product-card">
                            <div class="product-img">
                               <!-- <a href="#" data-toggle="modal" data-target="#product<?php echo $data->id;?>">-->
                               <?php if($data->durum=="0"){
                                echo '
                                
                                <a >
                                    <img class="lazy" width="285" height="200"
                                        src="'.$site.'upload/urun/'.$data->resim.'"
                                        data-src="'.$site.'upload/urun/'.$data->resim.'" alt="">
                                </a>
                                
                                ';
                                }
                                else { ?>  
                               <?php if($urunsayfa["durum"]=="1"){  
?>
                                   <a href="<?=$site.settings("urun_url");?>/<?=$data->url;?>">
<?php } else{ ?>
                                <a href="#" data-toggle="modal" data-target="#product<?php echo $data->id;?>">
<?php } ?>
                                    <img class="lazy" width="285" height="200"
                                        src="<?=$site;?>upload/urun/<?php echo $data->resim;?>"
                                        data-src="<?=$site;?>upload/urun/<?php echo $data->resim;?>" alt="">
                                </a>
                                <?php if($data->indirim!=Null){ ?> <div class="discount">
                                    <?php echo $data->indirim; ?>%
                                </div><?php } ?>
                                <?php } ?>
                            </div>
                            <div class="product_body">
                                <div class="product-caption">
                                    <div class="card-tag">
                                        <?php if($data->durum=="0"){
                                        echo '
                                        <a>'.$data->kate_ad.'</a>';
                                        }
                                        else { ?>    
                                       <?php if($urunsayfa["durum"]=="1"){  
?>
                                   <a href="<?=$site.settings("urun_url");?>/<?=$data->url;?>">
<?php } else{ ?>
                                <a href="#" data-toggle="modal" data-target="#product<?php echo $data->id;?>">
<?php } ?><?php echo $data->kate_ad;?></a>
                                        <?php } ?>                                
                                    </div>
                                    <div class="product-title">
                                        <?php if($data->durum=="0"){
                                        echo '
                                        <a>'.$data->ad.'</a>';
                                        }
                                        else { ?>     
                                     <?php if($urunsayfa["durum"]=="1"){  
?>
                                   <a href="<?=$site.settings("urun_url");?>/<?=$data->url;?>">
<?php } else{ ?>
                                <a href="#" data-toggle="modal" data-target="#product<?php echo $data->id;?>">
<?php } ?>
                                            <?php echo $data->ad;?>
                                        </a>
                                        <?php } ?>
                                       <!-- <a href="#" data-toggle="modal" data-target="#product<?php echo $data->id;?>">
                                            <?php echo $data->ad;?>
                                        </a>-->
                                    </div>
                                </div>
                                <div class="price-box">
                                    <div class="price_inner">
                                        <div class="d-flex flex-column price">
                                            <?php if($data->fiyat_indirim!=Null){ ?> <span
                                                class="old-price"><del><?php echo $data->fiyat;?> TL</del></span>
                                            <span class="new-price"><?php echo $data->fiyat_indirim;?> TL</span>
                                            <?php } else{ ?><span class="old-price" style="display: none;">&nbsp;</span>
                                            <span class="new-price"><?php echo $data->fiyat;?> TL</span>
                                            <?php } ?>
                                        </div>
                                        <div class="product-rating d-flex flex-column">
                                            <span>5 YILDIZ</span>
                                            <div class="star">
                                                <i class="star">
                                                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                                                        fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
                                                        <path
                                                            d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" />
                                                    </svg>
                                                </i>
                                                <i class="star">
                                                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                                                        fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
                                                        <path
                                                            d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" />
                                                    </svg>
                                                </i>
                                                <i class="star">
                                                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                                                        fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
                                                        <path
                                                            d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" />
                                                    </svg>
                                                </i>
                                                <i class="star">
                                                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                                                        fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
                                                        <path
                                                            d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" />
                                                    </svg>
                                                </i>
                                                <i class="star">
                                                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
                                                        fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">
                                                        <path
                                                            d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z" />
                                                    </svg>
                                                </i>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="buying_button">
                                        <?php if($data->durum=="0"){
                                        echo '
                                        <a href="urun/<?php echo $data->url;?>"><button disabled type="button" style="background: var(--bg_1); !important;">TÜKENDİ </button></a>';
                                    
                                        }
                                        else { ?>                                    
                                      <?php if($urunsayfa["durum"]=="1"){  
?>
                                   <a href="<?=$site.settings("urun_url");?>/<?=$data->url;?>">
<?php } else{ ?>
                                <a href="#" data-toggle="modal" data-target="#product<?php echo $data->id;?>">
<?php } ?><button type="button">ŞİMDİ
                                                SATIN AL </button></a>
                                        <?php } ?>
                                        
                                        <!-- <button type="button" data-toggle="modal"
                                                data-target="#product<?php echo $data->id;?>">ŞİMDİ
                                                SATIN AL </button>-->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <?php
                    } ?>
                </div>
                <?php $query = urunler();
                while ($data = $query->fetch(PDO::FETCH_OBJ)) {
                ?>
                    <div class="modal fade product_view" id="product<?php echo $data->id;?>" role="dialog">
                        <div class="modal-dialog modal-lg">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                        <i aria-hidden="true" class="ri-close-line"></i>
                                    </button>
                                </div>
                                <div class="modal-body">
                                    <div class="modal-inner d-flex">
                                        <div class="product_inner">
                                            <?php
                                            $img=json_decode($data->resimler,true);
                                            $say=0;
                                            while(isset($img[$say])){
                                                echo '<img width="395" height="500" src="'.$site.'upload/urunler/'.$img[$say].'">';
                                                $say++;
                                            }
                                            ?>
                                        </div>
                                        <div class="product_content">
                                            <h4 class="product_name"><?php echo $data->ad;?></h4>
                                            <div
                                                class="price_box d-flex align-items-center justify-content-between flex-wrap">
                                                <h3 class="price">
                                                    <?php if($data->fiyat_indirim!=Null){ ?> <span
                                                        class="old-price"><del><?php echo $data->fiyat;?> TL</del></span>
                                                    <span class="new-price"><?php echo $data->fiyat_indirim;?> TL</span>
                                                    <?php } else{ ?>
                                                    <span class="new-price"><?php echo $data->fiyat;?> TL</span>
                                                    <?php } ?>
                                                </h3>
                                                <div class="star">
                                                    <i class="ri-star-fill"></i>
                                                    <i class="ri-star-fill"></i>
                                                    <i class="ri-star-fill"></i>
                                                    <i class="ri-star-fill"></i>
                                                    <i class="ri-star-fill"></i>
                                                </div>
                                            </div>
                                            <?php if(!strstr(html_entity_decode($data->aciklama), "<p"))
                            {  ?>
                                            <p class="product_info">
                                                <?php } ?>
                                                <?php echo str_replace("<p", '<p class="product_info" ',html_entity_decode($data->aciklama));?>
                                                <?php if(!strstr(html_entity_decode($data->aciklama), "<p"))
                                {  ?> </p><?php } ?>
                                            <form method="post" action="<?php echo $site.settings("sepet_url");?>">
                                                <?php 	$liste=array();				 $opt = opsiyonlar($data->id);
                                                    while ($opsiyon = $opt->fetch(PDO::FETCH_OBJ)) {
                                                            if (in_array($opsiyon->id,$liste)){
                                                            continue;
                                                        }
                                                        array_push($liste,$opsiyon->id);
                                                    ?>
                                        
                                                <div id="selector" class="body-swatch">
                                                    <select name="opsiyon[]" class="selectpicker" data-width="100%">
                                                        <option value=""><?php echo $opsiyon->ad;?>: İstemiyorum</option>
                                                        <option value="<?php echo $opsiyon->id; ?>">
                                                            <?php echo $opsiyon->secenek; ?>
                                                            (<?php echo $opsiyon->fiyat; ?>TL)</option>
                                                        <?php 					 $opta = opsiyonlar($data->id);
                                                                    while ($ops = $opta->fetch(PDO::FETCH_OBJ)) {
                                                                        if (in_array($ops->id,$liste)){
                                                                            continue;
                                                                        }
                                                                        if($ops->ad!=$opsiyon->ad){
                                                                            continue;
                                                                        }
                                                                        array_push($liste,$ops->id);
                                                                    ?>
                                                        <option value="<?php echo $ops->id; ?>">
                                                            <?php echo $ops->secenek; ?>
                                                            (<?php echo $ops->fiyat; ?>TL)</option>
                                                        <?php } ?>
                                                    </select>
                                                    <i class="ri-arrow-down-s-line"></i>
                                                </div>
                                                <?php  ?>
                                        
                                                <?php } ?>
                                                <div class="content_bottom d-flex flex-column">
                                                    <?php if($data->urun_stok!=Null && $data->urun_stok<=0){ 
                                echo '<div class="alert alert-danger">Stok bulunamadı</div>';
                                }  else{?>
                                                    <div class="btn-group">
                                                        <div class="quantity-box">
                                                            <span class="input-number-decrement">–</span>
                                                            <input class="input-number" type="text" value="1" name="adet"
                                                                min="1" <?php if($data->urun_stok!=Null){ ?>max="<?=$data->urun_stok;?>"<?php } ?>>
                                                            <span class="input-number-increment">+</span>
                                                        </div>
                                                        <div class="btn-ground">
                                                            <button type="submit" name="product"
                                                                value="<?php echo $data->id;?>">
                                                                <i class="ri-shopping-cart-line"></i>
                                                                Şimdi Satın Al
                                                            </button>
                                                        </div>
                                                    </div>
                                                    <?php $eklenti=eklenti("whatsappsatinal");
                                                            if($eklenti["durum"]=="1"){
                                                            $json=json_decode($eklenti["deger"],true);
                                                            ?>
                                                    <a href="<?php echo $json["Whatsapp Linki"];?>" target="_blank">
                                                        <div class="wpbtn">
                                                            <button type="button">
                                                                <i class="ri-whatsapp-line"></i> WhatsApp ile Satın Al
                                                            </button>
                                                        </div>
                                                    </a>
                                                    <?php } ?>
                                                    <?php } ?>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php } ?>
            </div>
        </section>
    <div class="modal product-modal fade" id="loadimg">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body d-flex align-items-center">
                    <img src="" id="imgs" style="width:100%;">
                </div>
            </div>
        </div>
    </div>
    <!-- Instagram Post Start -->
    <?php if(@$_GET["i"]=="bas"){
	?>
    <script>
    Swal.fire({
        icon: 'success',
        title: 'Talebiniz Gönderildi',
        text: 'Talebiniz en kısa sürede incelenip, yetkili yanıtı mailinize gönderilecektir.',
        confirmButtonText: '<i class="fa fa-thumbs-up"></i> Tamam'
    })
    </script>
    <?php
}
?>
    <?php if(@$_GET["banka"]=="bas"){
	?>
    <script>
    Swal.fire({
        icon: 'success',
        title: 'Ödeme Bildirildi',
        text: 'Ödeme bildiriminiz onaylandıktan sonra ürününüz teslim edilecektir.',
        confirmButtonText: '<i class="fa fa-thumbs-up"></i> Tamam'
    })
    </script>
    <?php
}
?>
    <?php if(@$_GET["sip"]=="0"){
	?>
    <script>
    Swal.fire({
        icon: 'error',
        title: 'Ödeme Başarısız',
        text: 'Ödeme işlemi başarısız oldu. Lütfen tekrar deneyiniz.',
        confirmButtonText: '<i class="fa fa-thumbs-up"></i> Tamam'
    })
    </script>
    <?php
}
?>
    <?php if(@$_GET["sip"]=="1"){
	?>
    <script>
    Swal.fire({
        icon: 'success',
        title: 'Ödeme Başarılı',
        text: 'Ödeme başarıyla yapıldı. Sipariş detaylarına mailinizden ulaşabilirsiniz.',
        confirmButtonText: '<i class="fa fa-thumbs-up"></i> Tamam'
    })
    </script>
    <?php
}
?>