mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-03 23:15:23 +00:00
commit
ea40b4f9ff
@ -1,25 +1,32 @@
|
||||
<?php
|
||||
$path = "../../";
|
||||
include($path."/header.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
|
||||
echo '
|
||||
<div class="header"><p><a href="https://thebookofshaders.com/">The Book of Shaders</a> by <a href="http://patriciogonzalezvivo.com">Patricio Gonzalez Vivo</a></p></div>
|
||||
<hr>
|
||||
<div id="content">
|
||||
';
|
||||
$path = "../..";
|
||||
$README = "README";
|
||||
$language = "";
|
||||
|
||||
$Parsedown = new Parsedown();
|
||||
echo $Parsedown->text(file_get_contents ('README.md'));
|
||||
if ( !empty($_GET['lan']) ) {
|
||||
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
||||
$language = '-'.$_GET['lan'];
|
||||
$README .= $language;
|
||||
}
|
||||
}
|
||||
|
||||
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."/header.php");
|
||||
include($path."/chap-header.php");
|
||||
echo '<div id="content">';
|
||||
|
||||
include($path."/footer.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
$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");
|
||||
?>
|
||||
|
@ -1,25 +1,32 @@
|
||||
<?php
|
||||
$path = "../../";
|
||||
include($path."/header.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
|
||||
echo '
|
||||
<div class="header"><p><a href="https://thebookofshaders.com/">The Book of Shaders</a> by <a href="http://patriciogonzalezvivo.com">Patricio Gonzalez Vivo</a></p></div>
|
||||
<hr>
|
||||
<div id="content">
|
||||
';
|
||||
$path = "../..";
|
||||
$README = "README";
|
||||
$language = "";
|
||||
|
||||
$Parsedown = new Parsedown();
|
||||
echo $Parsedown->text(file_get_contents ('README.md'));
|
||||
if ( !empty($_GET['lan']) ) {
|
||||
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
||||
$language = '-'.$_GET['lan'];
|
||||
$README .= $language;
|
||||
}
|
||||
}
|
||||
|
||||
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."/header.php");
|
||||
include($path."/chap-header.php");
|
||||
echo '<div id="content">';
|
||||
|
||||
include($path."/footer.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
$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");
|
||||
?>
|
||||
|
@ -1,25 +1,32 @@
|
||||
<?php
|
||||
$path = "../../";
|
||||
include($path."/header.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
|
||||
echo '
|
||||
<div class="header"><p><a href="https://thebookofshaders.com/">The Book of Shaders</a> by <a href="http://patriciogonzalezvivo.com">Patricio Gonzalez Vivo</a></p></div>
|
||||
<hr>
|
||||
<div id="content">
|
||||
';
|
||||
$path = "../..";
|
||||
$README = "README";
|
||||
$language = "";
|
||||
|
||||
$Parsedown = new Parsedown();
|
||||
echo $Parsedown->text(file_get_contents ('README.md'));
|
||||
if ( !empty($_GET['lan']) ) {
|
||||
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
||||
$language = '-'.$_GET['lan'];
|
||||
$README .= $language;
|
||||
}
|
||||
}
|
||||
|
||||
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."/header.php");
|
||||
include($path."/chap-header.php");
|
||||
echo '<div id="content">';
|
||||
|
||||
include($path."/footer.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
$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");
|
||||
?>
|
||||
|
@ -1,25 +1,32 @@
|
||||
<?php
|
||||
$path = "../../";
|
||||
include($path."/header.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
|
||||
echo '
|
||||
<div class="header"><p><a href="https://thebookofshaders.com/">The Book of Shaders</a> by <a href="http://patriciogonzalezvivo.com">Patricio Gonzalez Vivo</a></p></div>
|
||||
<hr>
|
||||
<div id="content">
|
||||
';
|
||||
$path = "../..";
|
||||
$README = "README";
|
||||
$language = "";
|
||||
|
||||
$Parsedown = new Parsedown();
|
||||
echo $Parsedown->text(file_get_contents ('README.md'));
|
||||
if ( !empty($_GET['lan']) ) {
|
||||
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
||||
$language = '-'.$_GET['lan'];
|
||||
$README .= $language;
|
||||
}
|
||||
}
|
||||
|
||||
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."/header.php");
|
||||
include($path."/chap-header.php");
|
||||
echo '<div id="content">';
|
||||
|
||||
include($path."/footer.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
$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");
|
||||
?>
|
||||
|
@ -1,31 +1,32 @@
|
||||
<?php
|
||||
|
||||
$path = "../../";
|
||||
$subtitle = "learning to fly";
|
||||
$language = isset( $_GET[ 'lan' ] ) ? $_GET[ 'lan' ] : "";
|
||||
$path = "../..";
|
||||
$README = "README";
|
||||
$language = "";
|
||||
|
||||
include($path."/header.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
if ( !empty($_GET['lan']) ) {
|
||||
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
||||
$language = '-'.$_GET['lan'];
|
||||
$README .= $language;
|
||||
}
|
||||
}
|
||||
|
||||
echo '
|
||||
<div class="header"><p><a href="https://thebookofshaders.com/">The Book of Shaders</a> by <a href="http://patriciogonzalezvivo.com">Patricio Gonzalez Vivo</a></p></div>
|
||||
<hr>
|
||||
<div id="content">
|
||||
';
|
||||
include($path."/header.php");
|
||||
include($path."/chap-header.php");
|
||||
echo '<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."/src/parsedown/Parsedown.php");
|
||||
$Parsedown = new Parsedown();
|
||||
echo $Parsedown->text(file_get_contents($README.'.md'));
|
||||
|
||||
include($path."/footer.php");
|
||||
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");
|
||||
?>
|
||||
|
@ -1,25 +1,32 @@
|
||||
<?php
|
||||
$path = "../../";
|
||||
include($path."/header.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
|
||||
echo '
|
||||
<div class="header"><p><a href="https://thebookofshaders.com/">The Book of Shaders</a> by <a href="http://patriciogonzalezvivo.com">Patricio Gonzalez Vivo</a></p></div>
|
||||
<hr>
|
||||
<div id="content">
|
||||
';
|
||||
$path = "../..";
|
||||
$README = "README";
|
||||
$language = "";
|
||||
|
||||
$Parsedown = new Parsedown();
|
||||
echo $Parsedown->text(file_get_contents ('README.md'));
|
||||
if ( !empty($_GET['lan']) ) {
|
||||
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
||||
$language = '-'.$_GET['lan'];
|
||||
$README .= $language;
|
||||
}
|
||||
}
|
||||
|
||||
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."/header.php");
|
||||
include($path."/chap-header.php");
|
||||
echo '<div id="content">';
|
||||
|
||||
include($path."/footer.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
$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");
|
||||
?>
|
||||
|
@ -1,25 +1,32 @@
|
||||
<?php
|
||||
$path = "../../";
|
||||
include($path."/header.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
|
||||
echo '
|
||||
<div class="header"><p><a href="https://thebookofshaders.com/">The Book of Shaders</a> by <a href="http://patriciogonzalezvivo.com">Patricio Gonzalez Vivo</a></p></div>
|
||||
<hr>
|
||||
<div id="content">
|
||||
';
|
||||
$path = "../..";
|
||||
$README = "README";
|
||||
$language = "";
|
||||
|
||||
$Parsedown = new Parsedown();
|
||||
echo $Parsedown->text(file_get_contents ('README.md'));
|
||||
if ( !empty($_GET['lan']) ) {
|
||||
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
||||
$language = '-'.$_GET['lan'];
|
||||
$README .= $language;
|
||||
}
|
||||
}
|
||||
|
||||
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."/header.php");
|
||||
include($path."/chap-header.php");
|
||||
echo '<div id="content">';
|
||||
|
||||
include($path."/footer.php");
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
$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");
|
||||
?>
|
||||
|
@ -1,17 +1,23 @@
|
||||
<?php
|
||||
|
||||
$path = "..";
|
||||
$README = "README";
|
||||
$language = "";
|
||||
|
||||
if ( !empty($_GET['lan']) ) {
|
||||
if (file_exists($README.'-'.$_GET['lan'].'.md')) {
|
||||
$language = '-'.$_GET['lan'];
|
||||
$README .= $language;
|
||||
}
|
||||
}
|
||||
|
||||
include($path."/header.php");
|
||||
include($path."/chap-header.php");
|
||||
echo '<div id="content">';
|
||||
|
||||
include($path."/src/parsedown/Parsedown.php");
|
||||
|
||||
echo '
|
||||
<div class="header"><p><a href="https://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 $Parsedown->text(file_get_contents($README.'.md'));
|
||||
|
||||
echo '
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user