📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
blogscripti.demodesign.com.tr
📝
manset.php
← Geri Dön
<?php ob_start(); $sayfa = 'Manset'; include "main-head.php"; include "main-header.php"; if ($manset['durum'] == '0') { header('Location: /'); exit(); } ?> <?php $sorgu = $db->query("SELECT url FROM feeds"); $feedUrls = $sorgu->fetchAll(PDO::FETCH_COLUMN); foreach ($feedUrls as $feedUrl) { } $rowNumber = 1; header('Content-Type: text/html; charset=utf-8'); if (isset($sayfa_cek['gizlih'])) { echo '<h1 class="d-none"><i class="fa fa-lock"></i> ' . $sayfa_cek['gizlih'] . '</h1>'; } echo '<div class="container">'; echo ' <div class="row">'; echo ' <div class="col-md-12 jl_mid_main_3col">'; echo ' <div class="jl_3col_wrapin">'; echo ' <div class="jelly_homepage_builder jl_nonav_margin homepage_builder_3grid_post jl_fontsize22 jl_cus_grid3 colstyle1">'; echo ' <div class="homepage_builder_title">'; echo ' <h2>'; echo $sayfagetir['baslik']; echo ' </h2>'; echo ' <span class="jl_hsubt"></span>'; echo ' </div>'; $rss = simplexml_load_file($feedUrl); foreach ($rss->channel->item as $item) { $title = $item->title; $link = $item->link; $description = $item->description; $pubDate = $item->pubDate; // Get the image URL from <image> tag $imageTag = $item->image; $imageLink = (string) $imageTag; $content = strip_tags($description); $excerpt = substr($content, 0, 300) . '...'; $colors = array('#36c942', '#f44336', '#2196f3', '#ff9800', '#9c27b0'); $randomColor = $colors[array_rand($colors)]; if ($rowNumber % 3 === 1) { echo '<div class="row">'; } echo '<div class="col-md-4 blog_grid_post_style jl_row_' . $rowNumber . '">'; echo ' <div class="jl_grid_box_wrapper">'; echo ' <div class="image-post-thumb">'; echo ' <a href="' . $link . '" class="link_image featured-thumbnail" title=" ">'; echo ' <img width="780" height="450" src="' . $imageLink . '" class="attachment-disto_large_feature_image size-disto_large_feature_image wp-post-image" alt="">'; echo ' <div class="background_over_image"></div>'; echo ' </a>'; echo ' </div>'; echo ' <div class="post-entry-content">'; echo ' <h2 class="image-post-title"><a href="' . $link . '">' . $title . '</a></h2>'; echo ' <div class="content_post_grid">'; echo ' <p>' . $excerpt . '</p>'; echo ' <span class="jl_author_img_w"><a class="post-category-color-text" style="background: ' . $randomColor . '; color: white;" href="' . $link . '"><strong>Haber Kaynağına Git</strong></a></span>'; echo ' </div>'; echo ' </div>'; echo ' </div>'; echo '</div>'; if ($rowNumber % 3 === 0) { echo '</div>'; } $rowNumber++; } if ($rowNumber % 3 !== 1) { echo '</div>'; } echo ' </div>'; echo ' </div>'; echo ' </div>'; echo ' </div>'; echo ' </div>'; echo '</div>'; include 'main-footer.php'; ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula