Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.0
- * @ Author : DeZender
- * @ Release on : 15.05.2020
- * @ Official site : http://DeZender.Net
- *
- */
- $_SESSION['guvenlik'] = ['proje_ekle' => kod()];
- if (isset($_GET['islem']) == 'duzenle') {
- $durum = 'duzenle';
- $Sorgu = $db->prepare('SELECT * FROM projeler WHERE id = ?');
- $Sorgu->execute([$_GET['id']]);
- if ($Sorgu->rowCount()) {
- $Sonuc = $Sorgu->fetch(PDO::FETCH_ASSOC);
- $_SESSION['guvenlik'] = ['proje_guncelle' => kod(), 'projeresimsil' => kod(), 'projetopluresimsil' => kod()];
- }
- else {
- header('Location:' . $url . '/404.html');
- unset($_SESSION['guvenlik']);
- exit();
- }
- }
- echo '<div class="page-header">' . "\r\n\t" . '<div class="page-title mt-0 mb-0">' . "\r\n\t\t" . '<h3>';
- echo @$admindil['txt43'];
- echo '</h3>' . "\r\n\t\t" . '<div class="crumbs">' . "\r\n\t\t\t" . '<ul id="breadcrumbs" class="breadcrumb">' . "\r\n\t\t\t\t" . '<li><a href="index.html"><i class="icon-home menu-icon"></i></a></li>' . "\r\n\t\t\t\t" . '<li><a href="';
- echo $sayfalink;
- echo '">';
- echo @$admindil['txt42'];
- echo '</a></li>' . "\r\n\t\t\t\t" . '<li><a href="projeler.html">';
- echo @$admindil['txt44'];
- echo '</a></li>' . "\r\n\t\t\t\t" . '<li class="active"><a href="';
- echo $sayfalink;
- echo '">';
- echo @$admindil['txt43'];
- echo '</a></li>' . "\r\n\t\t\t" . '</ul>' . "\r\n\t\t" . '</div>' . "\r\n\t" . '</div>' . "\r\n" . '</div>' . "\r\n" . '<div class="row">' . "\r\n\t" . '<div class="col-12 grid-margin stretch-card">' . "\r\n\t\t" . '<div class="card">' . "\r\n\t\t\t" . '<div class="card-body">' . "\r\n\t\t\t\t" . '<form class="forms-sample" method="post" action="../_class/yonetim_islem.php" enctype="multipart/form-data">' . "\r\n\t\t\t\t" . '<input id="id" name="id" type="hidden" value="';
- echo $Sonuc['id'];
- echo '">' . "\r\n\t\t\t\t\t" . '<div class="form-group">' . "\r\n\t\t\t\t\t\t" . '<label for="sira">Sıra</label>' . "\r\n\t\t\t\t\t\t" . '<input type="number" class="form-control form-control-sm" min="0" name="sira" id="sira" value="';
- echo isset($_GET['islem']) == 'duzenle' ? $Sonuc['sira'] : '';
- echo '" />' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t" . '<div class="form-group">' . "\r\n\t\t\t\t\t\t" . '<label for="adi">Başlık <i class="icon-info text-info" data-toggle="popover" data-content="Proje adında tamamen BÜYÜK harf kullanmayın. 70 karakterden uzun başlıkları Google indexlemede göstermez ve değerlendirmez. Bu nedenle uzun başlıklar kullanmaktan kaçının. Başlıklarda çift tırnak kesinlikle kullanmayın." data-trigger="hover" data-original-title="Başlık"></i></label>' . "\r\n\t\t\t\t\t\t" . '<input type="text" class="form-control form-control-sm" name="adi" id="adi" value="';
- echo isset($_GET['islem']) == 'duzenle' ? $Sonuc['adi'] : '';
- echo '" />' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t" . '<div class="row">' . "\r\n\t\t\t\t\t\t" . '<div class="form-group col-md-6">' . "\r\n\t\t\t\t\t\t\t" . '<label for="kategori">Kategori</label>' . "\r\n\t\t\t\t\t\t\t" . '<select class="js-example-basic-single form-control-sm" name="kategori" id="kategori" required style="width:100%">' . "\r\n\t\t\t\t\t\t\t";
- $KATEGORISorgu = $db->prepare('SELECT * FROM proje_kategori WHERE durum = ? AND dil = ? ORDER BY id ASC');
- $KATEGORISorgu->execute(['1', $_SESSION['admin_dil']]);
- $KATEGORIislem = $KATEGORISorgu->fetchALL(PDO::FETCH_ASSOC);
- echo "\t\t\t\t\t\t\t\t";
- foreach ($KATEGORIislem as $KATEGORISonuc) {
- echo "\t\t\t\t\t\t\t\t" . '<option value="';
- echo $KATEGORISonuc['id'];
- echo '" ';
- echo $Sonuc['kategori'] == $KATEGORISonuc['id'] ? 'selected' : '';
- echo '>';
- echo $KATEGORISonuc['adi'];
- echo '</option>' . "\r\n\t\t\t\t\t\t\t\t";
- }
- echo "\t\t\t\t\t\t\t" . '</select>' . "\r\n\t\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t\t" . '<div class="form-group col-md-6">' . "\r\n\t\t\t\t\t\t\t" . '<label for="videoid">YouTube Video ID <i class="icon-info text-info" data-toggle="popover" data-content="Haber içeriğinizin haber detay görseli alanında görsel yerine, haberin videosunu gösterebilirsiniz. Bunun için Youtube\'a yüklediğiniz videonuzun sadece ID numarasını bu alana yapıştırmanız yeterlidir. (Ör: https://www.youtube.com/watch?v=TqeSxMdnEQE adresindeki videonun ID\'si v= sorasındaki ID numarasıdır. TqeSxMdnEQE eklenmesi yeterlidir.)" data-trigger="hover" data-original-title="YouTube Video ID"></i></label>' . "\r\n\t\t\t\t\t\t\t" . '<input type="text" class="form-control form-control-sm" name="videoid" id="videoid" value="';
- echo isset($_GET['islem']) == 'duzenle' ? $Sonuc['videoid'] : '';
- echo '" />' . "\r\n\t\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t\t" . '<div class="form-group col-md-6">' . "\r\n\t\t\t\t\t\t\t" . '<label>Yayın Tarihi <i class="icon-info text-info" data-toggle="popover" data-content="İçeriğin ilk eklendiği tarihtir. Sistem ekleme sırasında otomatik olarak verir. Dilerseniz tarihi değiştirebilirsiniz." data-trigger="hover" data-original-title="Yayın Tarihi"></i></label>' . "\r\n\t\t\t\t\t\t\t" . '<div class="input-group">' . "\r\n\t\t\t\t\t\t\t\t" . '<input type="text" autocomplete="off" name="tarih" value="';
- echo isset($_GET['islem']) == 'duzenle' ? $Sonuc['tarih'] : date('d-m-Y H:i');
- echo '" class="form-control form-control-sm date-timepicker" />' . "\r\n\t\t\t\t\t\t\t\t" . '<span class="input-group-addon input-group-append border-left" style="height: 35px;">' . "\r\n\t\t\t\t\t\t\t\t" . ' <span class="mdi mdi-calendar input-group-text"></span>' . "\r\n\t\t\t\t\t\t\t\t" . '</span>' . "\r\n\t\t\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t" . '<div class="form-group col-md-6">' . "\r\n\t\t\t\t\t\t\t" . '<label>Güncelleme Tarihi <i class="icon-info text-info" data-toggle="popover" data-content="İçeriğinizde güncelleme yaptıysanız takvim simgesine tıklayarak güncelleme tarihini belirtmeniz gerekir. İlk içerik girişinde yayın tarih ve saatiyle aynı seçilmesinde yarar vardır." data-trigger="hover" data-original-title="Güncelleme Tarihi"></i></label>' . "\r\n\t\t\t\t\t\t\t" . '<div class="input-group">' . "\r\n\t\t\t\t\t\t\t\t" . '<input type="text" autocomplete="off" name="tarihg" value="';
- echo isset($_GET['islem']) == 'duzenle' ? $Sonuc['tarihg'] : '';
- echo '" class="form-control form-control-sm date-timepicker" />' . "\r\n\t\t\t\t\t\t\t\t" . '<span class="input-group-addon input-group-append border-left" style="height: 35px;">' . "\r\n\t\t\t\t\t\t\t\t" . ' <span class="mdi mdi-calendar input-group-text"></span>' . "\r\n\t\t\t\t\t\t\t\t" . '</span>' . "\r\n\t\t\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t";
- if (isset($_GET['islem']) == 'duzenle') {
- echo "\t\t\t\t\t" . '<div class="row">' . "\r\n\t\t\t\t\t\t";
- if ($Sonuc['kapak']) {
- echo "\t\t\t\t\t\t" . '<div class="form-group col-md-2">' . "\r\n\t\t\t\t\t\t\t" . '<img src="../';
- echo tema;
- echo '/uploads/projeler/';
- echo $Sonuc['kapak'];
- echo '" class="img-responsive img-thumbnail" style="margin-bottom:2px;width:100%;min-height:150px;">' . "\r\n\t\t\t\t\t\t\t" . '<a style="width: 100%;" class="btn btn-danger btn-sm popconfirm" title="Kapak Sil" href="../_class/yonetim_islem.php?projeresimsil=ok&sid=';
- echo $Sonuc['id'];
- echo '"><i class="fal fa-trash"></i> Kapak Sil</a>' . "\r\n\t\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t\t\t";
- ...........................................................................
- .........................................
- ...............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement