set_file(Array('instant_messenger' => 'index.tpl')); $template_1->set_block('instant_messenger','index'); $template_1->pfp('out','index'); require_once PHPGW_SERVER_ROOT . '/instant_messenger/inc/im_sessions.inc.php'; $webserver_url = $GLOBALS['phpgw_info']['server']['webserver_url']; $webserver_url = ( !empty($webserver_url) ) ? $webserver_url : '/'; if ( strrpos($webserver_url, '/') === false || strrpos($webserver_url, '/') != (strlen($webserver_url)-1) ) $webserver_url .= '/'; $webserver_url = $webserver_url . 'instant_messenger/'; print ''; // Footer $GLOBALS['phpgw']->common->phpgw_footer(); if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) exit; ?> IM