<?

/************************************************************************/
/* XChat Version 0.9.8                                                   */
/* ==================================================================== */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

  require("./inc/config.php");
  if($showsmiles == "1")
    $input_ht = 60;
  else
    $input_ht = 40;
    $chatroom = stripslashes($chatroom);

?>

<html>
<head>
<title>4nChat [<?=$chatroom ?>]</title>
</head>

<frameset cols="100,*" border="0" onUnload="
window.open('quit.php?rid=<?=$rid?>&uid=<?=$uid?>&reason=0 target=_top<=' ,'','width=500,height=400,resizable=yes,toolbar=no,location=no, directories=no,status=no')">
    <frame name="wUsers" scrolling="NO" noresize src="users.php?rid=<?=$rid ?>&uid=<?=$uid ?>&username=<?=$username ?>">
        <frameset rows="30,*,<?echo $input_ht?>" border="0">
                <frameset cols="*,*" border="0">
            <frame name="wReceive" scrolling="NO" noresize src="receive.php?rid=<?=$rid ?>&uid=<?=$uid ?>&username=<?=$username ?>&tz=<?=$tz ?>&first=1&allowsounds=1&lang=<?=$lang ?>">
            <frame name="wSend" scrolling="NO" noresize src="send.php?rid=<?=$rid ?>&uid=<?=$uid ?>&tz=<?=$tz ?>&chatroom=<?=$chatroom ?>&lang=<?=$lang ?>" >
                </frameset>
                <frame name="wOut" src="out.php" frameborder=0>
        <frame name="wIn" scrolling="NO" noresize src="in.php?rid=<?=$rid ?>&uid=<?=$uid ?>&lang=<?=$lang ?>">
        </frameset>
</frameset>
</html>