php update
This commit is contained in:
parent
b889c3b9e3
commit
d98f7a18a3
30
index.php
30
index.php
|
@ -40,36 +40,16 @@ Array("name"=>"kontakt","url"=>"/kontakt","title"=>"Kontakt")
|
||||||
<div>
|
<div>
|
||||||
<article>
|
<article>
|
||||||
<?php
|
<?php
|
||||||
/*<p>id: <?php echo $pageId; ?></p>*/
|
foreach($pages as $p)
|
||||||
switch($pageId){
|
if($pageId==$p["name"])
|
||||||
|
echo file_get_contents("text/".$p["name"].".html");
|
||||||
case "cfp":
|
|
||||||
echo file_get_contents("text/cfp.html");
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "tickets":
|
|
||||||
echo file_get_contents("text/tickets.html");
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "anreise":
|
|
||||||
echo file_get_contents("text/anreise.html");
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "kontakt":
|
|
||||||
echo file_get_contents("text/kontakt.html");
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
echo file_get_contents("text/home.html");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<footer id="footer" class="box" style="color:#C0C0C0">
|
<!--footer id="footer" class="box" style="color:#C0C0C0">
|
||||||
<ul class="links">
|
<ul class="links">
|
||||||
<li><a href="https://chaoschemnitz.de/ChaosChemnitz:Impressum">Impressum</a></li>
|
<li><a href="https://chaoschemnitz.de/ChaosChemnitz:Impressum">Impressum</a></li>
|
||||||
<li>Design by ... + <a href="https://jdi.li/">/jdi/</a>.</li>
|
<li>Design by ... + <a href="https://jdi.li/">/jdi/</a>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer-->
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</td><td id="line"></td>
|
</td><td id="line"></td>
|
||||||
|
|
Loading…
Reference in New Issue