<?php

require_once 'ayar/Config.php';

include "header.php";

$gelen = @get('id');

?>
  <?php if ($Site->hizmetdetay($gelen,'sayfa_title') != ''){ ?>
  <title>
    <?php echo $Site->hizmetdetay($gelen,'sayfa_title'); ?>
  </title>
  <?php } else { ?>
  <title>
    <?php echo $Site->hizmetdetay($gelen,'sayfa_baslik'); ?>
  </title>
  <?php } ?>
  <?php if ($Site->hizmetdetay($gelen,'sayfa_etiket') != ''){ // Meta Keywords ?>
  <meta name="keywords" content="<?php echo $Site->hizmetdetay($gelen,'sayfa_etiket'); ?>">
  <?php } else { ?>
  <?php } ?>
  <?php if ($Site->hizmetdetay($gelen,'sayfa_aciklama') != ''){  // Meta Description ?>
  <meta name="description" content="<?php echo $Site->hizmetdetay($gelen,'sayfa_aciklama'); ?>">
  <?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>
		      <?php if(substr($Site->hizmetdetay($gelen,'hizmeticon'),0,1)=="{"){ ?>
						  <h2 class="text-uppercase"><span class="color_red"> 
						  <i class="fa <?=substr($Site->hizmetdetay($gelen,'hizmeticon'),1)?>" style="font-size:80px;"></i> 
						  
						  <?php echo $Site->hizmetdetay($gelen,'sayfa_baslik'); ?></span></h2>
                       <?php } else { ?>
					   <h2 class="text-uppercase"><span class="color_red"> 
                          <img style="border-radius: 50px;"  src="upload/images/<?=substr($Site->hizmetdetay($gelen,'hizmeticon'),1)?>" width="80" height="80">
						  <?php echo $Site->hizmetdetay($gelen,'sayfa_baslik'); ?></span></h2>
                       <?php } ?>
					   
          
          <br>
          <span style="font-size:12px; color:#000000;"><a href="./">ANA SAYFA</a> / <a href="hizmetlerimiz">HİZMETLER</a> / <a class="text-uppercase"  href="hizmet/<?php echo $Site->hizmetdetay($gelen,'sayfa_seflink'); ?>"><?php echo $Site->hizmetdetay($gelen,'sayfa_baslik'); ?></a> </span></div>
      </div>
    </div>
  </section>

  <!--===== Sayfa Bilgileri =====-->

  <section id="about_us" class="about-us padding">
    <div class="container">
      <div class="row">
        <div class="history-section">
          <?php echo $Site->hizmetdetay($gelen,'sayfa_text'); ?> </div>
      </div>
    </div>
    </div>
  </section>
  </div>
  </div>
  <?php include "footer.php"; ?>
