mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
27 lines
702 B
PHP
27 lines
702 B
PHP
<?php
|
|
|
|
$path = "..";
|
|
include($path."/header.php");
|
|
include($path."/src/parsedown/Parsedown.php");
|
|
|
|
echo '
|
|
<div class="header"><p><a href="http://thebookofshaders.com/">The Book of Shaders</a> by <a href="http://patriciogonzalezvivo.com">Patricio Gonzalez Vivo</a></p></div>
|
|
<hr>
|
|
<div id="content">
|
|
';
|
|
|
|
$Parsedown = new Parsedown();
|
|
echo $Parsedown->text(file_get_contents ('README.md'));
|
|
|
|
echo '
|
|
</div>
|
|
<hr>
|
|
<ul class="navigationBar" >
|
|
<li class="navigationBar" onclick="previusPage()">< < Previous</li>
|
|
<li class="navigationBar" onclick="homePage()"> Home </li>
|
|
<li class="navigationBar" onclick="nextPage()">Next > ></li>
|
|
</ul>';
|
|
|
|
include($path."/footer.php");
|
|
?>
|