"</title>

	<meta http-equiv="Content-Type" content="text/html; charset=<?php 
    echo $blog_charset;
    ?>
" />
	<link rel="stylesheet" type="text/css" media="screen" href="<?php 
    echo XOOPS_URL . "/themes/" . $xoopsConfig['theme_set'] . "/style.css";
    ?>
" />
	<link rel="stylesheet" type="text/css" media="screen" href="<?php 
    echo get_custom_url('wp-layout.css');
    ?>
" />
	<link rel="stylesheet" type="text/css" media="print" href="<?php 
    echo get_custom_url('print.css');
    ?>
" />
	<style type="text/css" media="screen">
		@import url( wp-layout.css );
		body { margin: 3px; }
	</style>

</head>
<body>
<div id="wpMainContent">

<h1 id="header"><a href="" title="<?php 
    echo get_settings('blogname');
    ?>
"><?php 
if (!isset($blogID)) {
    $GLOBALS['blog_ID'] = 1;
}
if (!isset($debug)) {
    $GLOBALS['debug'] = 0;
}
timer_start();
get_currentuserinfo();
$GLOBALS['posts_per_page'] = get_settings('posts_per_page');
$GLOBALS['what_to_show'] = get_settings('what_to_show');
$GLOBALS['archive_mode'] = get_settings('archive_mode');
$GLOBALS['time_difference'] = get_settings('time_difference');
$GLOBALS['date_format'] = stripslashes(get_settings('date_format'));
$GLOBALS['time_format'] = stripslashes(get_settings('time_format'));
$GLOBALS['admin_area_charset'] = $blog_charset;
$_css_file = get_custom_url('wp-admin.css');
$_xoops_css = xoops_getcss($xoopsConfig['theme_set']);
$_module_title = get_bloginfo('name') . " : " . $title;
if ($GLOBALS['standalone'] == 0 && get_param('profile') == 0) {
    $GLOBALS['xoopsTpl']->assign('xoops_module_header', '<link rel="stylesheet" href="' . $_css_file . '" type="text/css" />');
    $GLOBALS['xoopsTpl']->assign('xoops_pagetitle', $_module_title);
} else {
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>WordPress : <?php 
    echo $_module_title;
    ?>
</title>
<link rel="stylesheet" href="<?php