HOME SHELL

NULLCOMMUNITY
 LiteSpeed
 Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64
 safemode : OFF
 MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF
  >  / home / cuneytsener53 / kurumsal3.snrsoft.com.tr / trex /

Server Ip : 104.21.78.54




Filename/home/cuneytsener53/kurumsal3.snrsoft.com.tr/trex/resim-galerisi.php
Size1.97 kb
Permissionrw-r--r--
Owner
Create time02-Mar-2025 05:46
Last modified02-Jun-2019 13:06
Last accessed05-Apr-2025 10:19
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
include 'header.php';
include 'topbar.php';
include 'sidebar.php';
$picsor=$db->prepare("SELECT * from resimgaleri order by resim_id DESC");
$picsor->execute(array(0));
?>
<!-- ============================================================== -->
<!-- Content Start -->
<!-- ============================================================== -->
<section class="main-content container">
<div class="page-header">
<h2>Galeri İşlemleri</h2>
</div>

<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-heading card-default">
<div class="pull-right mt-10">
<a href="resim-ekle.php" class="btn btn-success btn-icon"><i class="fa fa-download"></i>Resim Yükle</a>
</div>
Resim Galerisi
</div>
<div class="card-block">
<div class="lightboxGallery">

<?php while ($picprint=$picsor->fetch(PDO::FETCH_ASSOC)) { ?>
<a href="#" data-toggle="modal" data-target="#textModal<?php echo $picprint['resim_id']; ?>"><img style="max-width: 200px; max-height: 200px;" src="<?php echo $picprint['resim_link']; ?>" alt=""></a>
<div class="modal fade bs-example-modal-lg" id="textModal<?php echo $picprint['resim_id']; ?>" tabindex="-1" role="dialog" aria-labelledby="textModal">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-body">
<p>
<img style="max-width: 100%; max-height: 600px;" src="<?php echo $picprint['resim_link']; ?>">
</p><br>
<div class="text-center">
<a href="controller/function.php?resimsil=ok&resim_id=<?php echo $picprint['resim_id']; ?>&eski_yol=<?php echo $picprint['resim_link']; ?>" class="btn btn-danger btn-icon"><i class="fa fa-trash-o"></i> Resmi Sil</a>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>

<!--modal text end-->

<?php include 'footer.php'; ?>