Did lot of stuff with php

This commit is contained in:
Thomas FORGIONE
2015-04-09 11:20:50 +02:00
parent 0bbd0fb44a
commit a320618599
22 changed files with 92 additions and 755 deletions

5
include/header.php Normal file
View File

@@ -0,0 +1,5 @@
<header>
<h1 id="title">Welcome !</h1>
</header>

View File

@@ -0,0 +1,10 @@
<?php
function head($title = "Title")
{
echo "\n\t<head>\n";
echo "\t\t<title>The begining - " . $title . "</title>\n";
echo "\t\t<meta charset='utf-8'>\n";
echo "\t</head>\n\n";
}

16
include/jsIncludes.php Normal file
View File

@@ -0,0 +1,16 @@
<script src="/js/three.js"></script>
<script src="/js/Tools.js"></script>
<script src="/js/three/DDSLoader.js"></script>
<script src="/js/three/MTLLoader.js"></script>
<script src="/js/three/OBJLoader.js"></script>
<script src="/js/three/OrbitControls.js"></script>
<script src="/js/Cube.js"></script>
<script src="/js/ProgressiveSphere.js"></script>
<script src="/js/Camera.js"></script>
<script src="/js/FixedCamera.js"></script>
<script src="/js/BouncingCube.js"></script>
<script src="/js/BufferGeometryToGeometry.js"></script>
<script src="/js/PointerCamera.js"></script>
<script src="/js/CameraContainer.js"></script>

11
include/nav.php Normal file
View File

@@ -0,0 +1,11 @@
<nav>
<ul>
<li><a href="/">Index</a></li>
<li><a href="/bouncing/">Bouncing cube</a></li>
<li><a href="/multisphere/">Multi-sphere</a></li>
<li><a href="/scene/">Prototype</a></li>
<li><a href="/stream/">Streaming simulator</a></li>
</ul>
</nav>