User name missing.";} else if ($room=="") { if ($auth[0]==""){$prompt="";} else {$prompt="Room missing.";} } else if (in_array($name.":".$room,$auth)) {$prompt="";} else if (in_array(":".$room,$auth)) {$prompt="";} else if (in_array($name.":",$auth)) {$prompt="";} else {$prompt="User not authorized to this room.";} } ?>
'; echo $err; echo $prompt; echo '
'; } else { deleteOldHistory(); // Enter the room ?>