3
0
Fork 0
mirror of https://github.com/fsr/eseeva synced 2025-01-19 00:11:41 +01:00

Cleanup patronGen

This commit is contained in:
Sebastian J. Mielke 2015-09-25 16:48:26 +02:00
parent 12124f218f
commit a5b3324046

View file

@ -57,18 +57,21 @@
for ($i = 0; $i < count($keyData); $i++) for ($i = 0; $i < count($keyData); $i++)
{ {
$pno = $i%(count($patrons)); $pno = $i%(count($patrons));
echo " <div class=\"ticket\"><div class=\"patron\">".$patrons[$pno][0]."</div><div class=\"tickettext\">"; ?>
// echo " <div class=\"patron\">".$patrons[$pno][0]."</div>"; <div class="ticket">
echo " <div class=\"ticketimg\"><img src=\"css/ese-logo.png\"/></div>"; <div class="patron">".$patrons[$pno][0]."</div>
echo " <div class=\"room\">Tutorium in <br><strong>".$patrons[$pno][1]."</strong></div>"; <div class="tickettext">
echo " <div class=\"time\">"; <div class="ticketimg"><img src="css/ese-logo.png"/></div>
// don't display start date if there is none <div class="room">Tutorium in <br><strong>".$patrons[$pno][1]."</strong></div>
echo ($patrons[$pno][2]=="")?"&nbsp;":"Einschreibestart Dienstag <strong>".$patrons[$pno][2]." Uhr</strong>"; <div class="time">
echo "</div>"; <?php
// echo " <code>".$keyData[$i][0]."</code>"; // don't display start date if there is none (Master case)
echo " </div>"; echo ($patrons[$pno][2]=="") ? "&nbsp;" : "Einschreibestart Dienstag <strong>".$patrons[$pno][2]." Uhr</strong>";
// echo " <div class=\"evalink\">ESE-Evaluation unter https://ese.ifsr.de/2015/eva/</div>"; ?>
echo "</div>"; </div>
</div>
</div>
<?php
} }
?> ?>
</div> </div>