<?php if(!defined("Hacking")){die("404 Not Found"); } ?>
<?php
    $gelen = @get('oku');
    $iletisim = $db->select('iletisim')
        ->where('iletisim_id',$gelen)
        ->run(true);
?>

<div id="tour-11" class="header-content">
  <h2><i class="fa fa-envelope-o"></i><?php echo $iletisim['iletisim_adsoyad']; ?> <span>kişinin mesajı</span></h2>
</div>
<div class="body-content animated fadeIn">
  <div class="row">
    <div class="col-sm-9">
      <form class="form-horizontal">
        <div class="panel mail-wrapper rounded shadow">
          <div class="panel-heading">
            <div class="pull-left">
              <h3 class="panel-title">Konusu: <?php echo $iletisim['iletisim_konu']; ?></h3>
            </div>
            <div class="clearfix"></div>
          </div>
          <div class="panel-heading">
            <div class="pull-left">
              <h3 class="panel-title">Tarihi: <?php echo $iletisim['iletisim_tarih']; ?></h3>
            </div>
            <div class="clearfix"></div>
          </div>
          <div class="panel-heading">
            <div class="pull-left">
              <h3 class="panel-title">E-Postası: <?php echo $iletisim['iletisim_email']; ?></h3>
            </div>
            <div class="clearfix"></div>
          </div>
          <div class="panel-heading">
            <div class="pull-left">
              <h3 class="panel-title" title="Mesaj">Mesajı: <?php echo $iletisim['iletisim_text']; ?></h3>
            </div>
            <div class="pull-right"> <a href="index.php?do=iletisim&sil=<?php echo $iletisim['iletisim_id']; ?>" class="btn btn-danger btn-sm tooltips" data-container="body" data-original-title="<?php echo $iletisim['iletisim_konu']; ?> konulu, <?php echo $iletisim['iletisim_adsoyad']; ?>'den gelen mesajı sil" data-toggle="tooltip" data-placement="top" title=""><i class="fa fa-trash-o"></i>&nbsp; Mesajı Sil</a> </div>
            <div class="clearfix"></div>
          </div>
        </div>
        <a href="index.php?do=iletisim" class="btn btn-info btn-sm tooltips" data-container="body" data-original-title="Tüm Gelen Mesajlar" data-toggle="tooltip" data-placement="top" title=""><i class="fa fa-envelope-o"></i>&nbsp; Gelen Mesajlara Git</a>
      </form>
    </div>
  </div>
</div>
