<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <?php
    $user = get_active_user();

    $ayar = get_settings_front();
    if ($sayfa == "" || $sayfa == "anasayfa")
    {
        ?>
        <meta name="description" content="<?php echo $ayar->metadesc;?>" />
        <meta name="keywords" content="<?php echo $ayar->metakey;?>" />
        <meta property="og:site_name" content="<?php echo $ayar->company_name;?>">
        <meta property="og:title" content="<?php echo $ayar->pagetitle;?>">
        <meta property="og:description" content="<?php echo $ayar->metadesc;?>">
        <meta property="og:url" content="<?php echo current_url();?>">
        <meta property="og:image" content="<?php echo  base_url("assets/resimler/logo.png");?>">
        <meta property="article:published_time" content="<?php echo $ayar->updateDate;?>">
        <meta property="article:modified_time" content="<?php echo $ayar->updateDate;?>">
        <title><?php echo $ayar->pagetitle;?></title>
        <link rel="apple-touch-icon" sizes="57x57" href="/assets/favicon/apple-icon-57x57.png">
        <link rel="apple-touch-icon" sizes="60x60" href="/assets/favicon/apple-icon-60x60.png">
        <link rel="apple-touch-icon" sizes="72x72" href="/assets/favicon/apple-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="76x76" href="/assets/favicon/apple-icon-76x76.png">
        <link rel="apple-touch-icon" sizes="114x114" href="/assets/favicon/apple-icon-114x114.png">
        <link rel="apple-touch-icon" sizes="120x120" href="/assets/favicon/apple-icon-120x120.png">
        <link rel="apple-touch-icon" sizes="144x144" href="/assets/favicon/apple-icon-144x144.png">
        <link rel="apple-touch-icon" sizes="152x152" href="/assets/favicon/apple-icon-152x152.png">
        <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-icon-180x180.png">
        <link rel="icon" type="image/png" sizes="192x192"  href="/assets/favicon/android-icon-192x192.png">
        <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="96x96" href="/assets/favicon/favicon-96x96.png">
        <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
        <link rel="manifest" href="/assets/favicon/manifest.json">
        <meta name="msapplication-TileColor" content="#ffffff">
        <meta name="msapplication-TileImage" content="/assets/favicon/ms-icon-144x144.png">
        <meta name="theme-color" content="#ffffff">
        <link rel="shortcut icon" href="/assets/favicon/favicon.ico" />

        <?php
    }
    ?>

    <?php
    if ($sayfa == "urun_detay")
    {
        $kapakresim = get_image_cover($ayar_detay->id,$img_tur_name);
        $kapakresim = ($kapakresim) ? base_url("panel/uploads/".$folder_name."/$kapakresim") : base_url("assets/etkinlik2.jpg");
        ?>
        <meta name="description" content="<?php echo $ayar_detay->metadesc;?>" />
        <meta name="keywords" content="<?php echo $ayar_detay->metakey;?>" />
        <meta property="og:site_name" content="<?php echo $ayar->company_name;?>">
        <meta property="og:title" content="<?php echo $ayar_detay->pagetitle;?>">
        <meta property="og:description" content="<?php echo $ayar_detay->metadesc;?>">
        <meta property="og:url" content="<?php echo current_url();?>">
        <meta property="og:image" content="<?php echo $kapakresim;?>">
        <meta property="article:published_time" content="<?php echo $ayar_detay->addDate;?> <?php echo $ayar_detay->addTime;?>">
        <meta property="article:modified_time" content="<?php echo $ayar_detay->updateDate;?> <?php echo $ayar_detay->updateTime;?>">
        <link rel="apple-touch-icon" sizes="57x57" href="/assets/favicon/apple-icon-57x57.png">
        <link rel="apple-touch-icon" sizes="60x60" href="/assets/favicon/apple-icon-60x60.png">
        <link rel="apple-touch-icon" sizes="72x72" href="/assets/favicon/apple-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="76x76" href="/assets/favicon/apple-icon-76x76.png">
        <link rel="apple-touch-icon" sizes="114x114" href="/assets/favicon/apple-icon-114x114.png">
        <link rel="apple-touch-icon" sizes="120x120" href="/assets/favicon/apple-icon-120x120.png">
        <link rel="apple-touch-icon" sizes="144x144" href="/assets/favicon/apple-icon-144x144.png">
        <link rel="apple-touch-icon" sizes="152x152" href="/assets/favicon/apple-icon-152x152.png">
        <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-icon-180x180.png">
        <link rel="icon" type="image/png" sizes="192x192"  href="/assets/favicon/android-icon-192x192.png">
        <link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon/favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="96x96" href="/assets/favicon/favicon-96x96.png">
        <link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon/favicon-16x16.png">
        <link rel="manifest" href="/assets/favicon/manifest.json">
        <meta name="msapplication-TileColor" content="#ffffff">
        <meta name="msapplication-TileImage" content="/assets/favicon/ms-icon-144x144.png">
        <meta name="theme-color" content="#ffffff">
        <link rel="shortcut icon" href="/assets/favicon/favicon.ico" />
        <title><?php echo $ayar_detay->pagetitle;?></title>
        <?php
    }
    ?>


    <link rel="stylesheet" type="text/css" media="screen" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet">
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url("assets/frontend");?>/css/simplelightbox.min.css">
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url("assets/frontend");?>/css/swiper.min.css">
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url("assets/frontend");?>/css/style.css">
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url("assets/frontend");?>/css/responsive.css">



</head>

<body>


    <div class="header">
    <div class="top">
        <div class="container">
            <a class="logo" href="ana-sayfa">
                <img src="<?php echo base_url("assets/frontend");?>/resimler/logo.png">
            </a>
            <a class="tel" href="<?php echo $ayar->phone1;?>"><?php echo $ayar->phone1;?></a>
            <a class="mail" href="<?php echo $ayar->email;?>"><?php echo $ayar->email;?></a>
        </div>
    </div>
    <div class="bottom">
        <div class="container">
            <ul class="menu">
                <li><a href="<?php echo base_url("");?>">ANASAYFA</a></li>
                <li><a href="<?php echo base_url("kurumsal");?>">KURUMSAL</a></li>
                <li><a href="<?php echo base_url("fiyat-listeleri");?>">FİYAT LİSTELERİ</a></li>
                <li><a href="<?php echo base_url("hizmetler");?>">HİZMETLER</a></li>
                <li><a href="<?php echo base_url("duyurular");?>">DUYURULAR</a></li>
                <li><a href="<?php echo base_url("kampanyalar");?>">KAMPANYALAR</a></li>
                <li><a href="<?php echo base_url("bize-ulasin");?>">BİZE ULAŞIN</a></li>
            </ul>
        </div>
    </div>
</div>

