Warning: include(../../variables.php): Failed to open stream: No such file or directory in /home/u375249617/newTemplate/blog/index.php on line 1

Warning: include(): Failed opening '../../variables.php' for inclusion (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u375249617/newTemplate/blog/index.php on line 1
Taxi Blog – Kissimmee Taxi

Weekly Taxi Insights

index

include '/home/u375249617/newTemplate/blog-index-head.php';
include '/home/u375249617/newTemplate/header.php';
include '/home/u375249617/newTemplate/breadcrumb.php';

$files = glob(__DIR__ . '/*/index.php');
rsort($files);

function getSnippet($content) {
$lines = explode("\n", $content);
$snippet = implode("\n", array_slice($lines, 0, 8));
$snippet = preg_replace('/\#\#\

(.*?)\\n/', '

$1

' . "\n", $snippet);
$snippet = preg_replace('/\#\

(.*?)\\n/', '

$1

' . "\n", $snippet);
$snippet = preg_replace('/\

(.*?)\\n/', '

$1

' . "\n", $snippet); // <-- Add this line
$snippet = preg_replace('/\*\*(.*?)\*\*/', '$1', $snippet);
return nl2br($snippet);
}

echo '

📝 Latest Blog Posts

';

foreach ($files as $file) {
$slug = basename(dirname($file));
$html = file_get_contents($file);

echo '
';
echo getSnippet($html);
echo '

Read More

';
echo '
';
}

include '/home/u375249617/newTemplate/footer.php';
?>


Warning: include(../footer.php): Failed to open stream: No such file or directory in /home/u375249617/newTemplate/blog/index.php on line 49

Warning: include(): Failed opening '../footer.php' for inclusion (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u375249617/newTemplate/blog/index.php on line 49