0) { $match = false; $index = join("", $usr); foreach ($tokens as $t) if (strstr($index, trim($t))) { $match = true; break; } if (!$match) continue; } $table .= ''; $table .= '' . $usr['Nick'] . ''; if ($usr['Gekommen'] == 1) $table .= 'yesreset'; else $table .= 'arrived'; $table .= ''; } return template_render('../templates/admin_arrive.html', array ( 'search' => $search, 'table' => $table, 'msg' => $msg, 'link' => page_link_to('admin_arrive') )); } ?>