<?
session_start();
if(!$_SESSION[userid]) {
header("Location: $basehttp/login.php");
exit();
}
include('admin/db.php');
$title = "Chat";
$headertitle = "Chat";
$thisfile = 'chat';
include($basepath.'/templates/template.overall_header.php'); ?>
<div id='chat'>
<? include($basepath.'/includes/inc.chat.php'); ?>
</div>
<? include($basepath.'/templates/template.overall_footer.php'); ?>