template(); $inc->operator(); $inc->chat(); $inc->db(); if (isset($_GET['admin'])) { $GLOBALS['template']->assign('admin', 'true'); } else { $GLOBALS['template']->assign('admin', 'false'); } if (isset($_GET['opchat'])) { $GLOBALS['template']->assign('opchat', 'true'); } else { $GLOBALS['template']->assign('opchat', 'false'); } $GLOBALS['chat']->assign(addslashes($_GET['chatid'])); $GLOBALS['template']->assign('chatid', addslashes($_GET['chatid'])); $GLOBALS['template']->assign('onload', ' onload="parent.window.Chat.focus_chat();"'); // Display the output $GLOBALS['template']->display('chat_send.tpl'); // do events that need to be done at the end of the file $inc->finished(); ?>