<?php
require_once 'ayar/Config.php';
include "header.php";
?>
  <?php if ($Site->site_ayarlari('ekibimiz-title') != ''){ // Meta Title ?>
  <title>
    <?php echo $Site->site_ayarlari('ekibimiz-title'); ?>
  </title>
  <?php } else { ?>
  <title>Ekibimiz</title>
  <?php } ?>
  <?php if ($Site->site_ayarlari('ekibimiz-keywords') != ''){ // Meta Keywords ?>
  <meta name="keywords" content="<?php echo $Site->site_ayarlari('ekibimiz-keywords'); ?>">
  <?php } else { ?>
  <?php } ?>
  <?php if ($Site->site_ayarlari('ekibimiz-description') != ''){  // Meta Description ?>
  <meta name="description" content="<?php echo $Site->site_ayarlari('ekibimiz-description'); ?>">
  <?php } else { ?>
  <?php } ?>

  <!--===== Başlık =====-->
  <section class="padding bg_light">

    <div class="container">
      <div class="row">
        <div class="col-md-12 bottom20"><br>
          <br>
          <br>
          <br>
          <h2 class="text-uppercase"><span class="color_red"> EKİBİMİZ </span></h2>
          <br>
          <span style="font-size:12px; color:#000000;"><a href="anasayfa">ANA SAYFA</a> / <a href="ekibimiz">EKİBİMİZ</a></span> </div>
      </div>
    </div>
    <div class="container">
      <div class="row">
        <?php
						$personel = $Site->personel();
						foreach ($personel as $key => $value){
              if($value["aktifkontrol"]=="aktif" || $Site->adminyetki(session("id"),'yetki')==1){
					?>
          <div class="col-md-4">
            <div class="team-member top40 text-center">
              <div class="team-img"> <img src="upload/personel/<?php echo $value['personelResim'] ?>" alt=""> </div>
              <div class="team-hover">
                <div class="desk">
                  <h4 class="bottom10"><br>
                <br>
                <br>
                <?php echo $value['personelText'] ?></h4>
                </div>
              </div>
            </div>
            <div class="team-title top20 text-center">
              <h3><?php echo $value['personelBaslik'] ?></h3>
              <span><?php echo $value['personelEmbed'] ?></span> </div>
          </div>
        <?php } }?>
      </div>
    </div>
    </div>
  </section>
  <?php include "footer.php"; ?>
