ticket codes

This commit is contained in:
/jdi/ 2015-07-21 18:30:48 +02:00
parent 7b32688207
commit b0580bea23
2 changed files with 14 additions and 5 deletions

View File

@ -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>

View File

@ -3,4 +3,10 @@
<p>
Der Ticketverkauf ist noch nicht gestartet.
</p>
<p>
Um Dich anzumelden sende eine Mail an <a href="mailto:tickets@interfug.de?subject=Anmeldung%20Intrefug15&body=Id:%20#code#"><b>tickets@interfug.de</b></a>.
</p><p>
<b>Betreff:</b> Anmeldung Intrefug15<br>
<b>Inhalt:</b> Id: #code#
</p>
</div>