mirror of
https://github.com/ChaosChemnitz/interfug15
synced 2025-06-27 13:26:06 +02:00
ticket codes
This commit is contained in:
parent
7b32688207
commit
b0580bea23
2 changed files with 14 additions and 5 deletions
13
index.php
13
index.php
|
@ -39,11 +39,14 @@ Array("name"=>"kontakt","url"=>"/kontakt","title"=>"Kontakt")
|
|||
</nav>
|
||||
<div>
|
||||
<article>
|
||||
<?php
|
||||
foreach($pages as $p)
|
||||
if($pageId==$p["name"])
|
||||
echo file_get_contents("text/".$p["name"].".html");
|
||||
?>
|
||||
<?php
|
||||
foreach($pages as $p){
|
||||
if($pageId==$p["name"]){
|
||||
$c="if15".substr(base_convert(md5("if15".rand()), 16, 36), 0, 9);
|
||||
echo str_replace("#code#",$c,file_get_contents("text/".$p["name"].".html"));
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!--footer id="footer" class="box" style="color:#C0C0C0">
|
||||
<ul class="links">
|
||||
<li><a href="https://chaoschemnitz.de/ChaosChemnitz:Impressum">Impressum</a></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue