Registration & payment status: Paid / Not paid / Artist / / Organizer");
print("Note that 'not paid' means that ticket payment has not been received. Please check this with organizers!
");
print("");
print("");
print("");
print("");
$idnum = 0;
while (($content = fgets($file)) !== FALSE && ($idnum < 125)) {
list($handle, $group, , , $tickettype, , $paid) = explode("::", $content);
if ($paid == "possibledick") {
continue;
}
$idnum++;
if ($idnum % 2)
print("
");
if ($idnum == 1)
print("
|
");
switch ($paid) {
case "sponsor\n":
$style = "sponsor";
break;
case "artist\n":
$style = "artist";
break;
case "organizer\n":
$style = "organizer";
break;
case "paid\n":
$style = "paid";
break;
default:
$style = "nonpaid";
}
if ($idnum > $imasusize) {
$style = "waiting";
}
print("$idnum. | ");
print("" . htmlspecialchars($handle));
print(" | ");
print("" . ($group ? " / " : "") . htmlspecialchars($group) . " | ");
}
if ($idnum % 2)
print(" | ");
print("");
fclose($file);
print("
");
} else
printf("Nobody *coming* yet...");
?>
|