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