<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?><?php
$aboutayar = $db->prepare("select * from about_ayar where id='1'");
$aboutayar->execute();
$aboutset = $aboutayar->fetch(PDO::FETCH_ASSOC);

$about_Cek = $db->prepare("select * from about_page where dil='$_SESSION[dil]' order by id desc ");
$about_Cek->execute();
$aboutrow = $about_Cek->fetch(PDO::FETCH_ASSOC);


?>

<style>
    .abouts-home-main-div{width:<?php if($aboutset[width]==1){?> 90%; <?php }else {?> 100% <?php }?> ; height: auto; overflow: hidden; background-color: #<?php echo $aboutset[back_color] ?>; padding: <?php echo $aboutset[padding] ?>px 0 <?php echo $aboutset[padding] ?>px 0; margin: auto; text-align: center; }


</style>

<section class="about-style-two abouts-home-main-div pt-100">
    <div class="container">
        <div class="row align-items-center">
            <div class="col-lg-12 col-md-12">
                <div class="section-head">
                    <h2 class="modules-header-main-baslik font-open-sans font-<?php echo $aboutset[font_weight] ?> font-spacing" style="color:#<?php echo $aboutset[baslik_color] ?>">
                <?php echo $aboutrow['baslik']?></h2>

                </div>
                <div class="about-text">
                    <p style="color:#<?php echo $aboutset[text_color] ?>">
                        <?php echo $aboutrow['spot']?>
                        <br><br>
                    </p>

                    <div class="theme-button">
                        <a href="kurumsal/<?=$aboutrow['seo_url']?>" class="btn btn-sm btn-<?php echo $aboutset[button_bg] ?> default-btn active-btn"><?=$diller['modul-hakkimizda-devami']?></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
