2015-07-15 12:12:44 +00:00
|
|
|
<?php
|
2015-07-17 20:44:54 +00:00
|
|
|
$path = ".";
|
2016-01-10 23:03:44 +00:00
|
|
|
$subtitle = "";
|
2015-08-05 11:39:27 +00:00
|
|
|
$README = "README";
|
|
|
|
$language = "";
|
|
|
|
|
|
|
|
if ( !empty($_GET['lan']) ) {
|
|
|
|
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
|
|
|
$language = '-'.$_GET['lan'];
|
|
|
|
$README .= $language;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-15 12:12:44 +00:00
|
|
|
include("header.php");
|
2015-08-05 11:39:27 +00:00
|
|
|
|
2015-07-15 12:12:44 +00:00
|
|
|
echo '<div id="content">';
|
2015-08-05 11:39:27 +00:00
|
|
|
|
|
|
|
include($path."/src/parsedown/Parsedown.php");
|
2015-07-15 12:12:44 +00:00
|
|
|
$Parsedown = new Parsedown();
|
2015-08-05 11:39:27 +00:00
|
|
|
echo $Parsedown->text(file_get_contents($README.'.md'));
|
|
|
|
|
2015-07-15 12:12:44 +00:00
|
|
|
echo '</div>';
|
|
|
|
include("footer.php");
|
|
|
|
?>
|