home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
CMCD0404.ISO
/
Software
/
Freeware
/
Programare
/
groupoffice-com-2.01
/
themes
/
Intermesh
/
header.inc
< prev
next >
Wrap
Text File
|
2004-03-08
|
2KB
|
47 lines
<?php
$load_start = getmicrotime();
$charset = isset($charset) ? $charset : 'iso-8859-1';
header('Content-Type: text/html; charset='.$charset);
?>
<html>
<head>
<?php if (isset($GO_HEADER['head'])) echo $GO_HEADER['head']; ?>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
<script language="javascript" type="text/javascript" src="<?php echo $GO_CONFIG->host; ?>javascript/common.js"></script>
<link href="<?php echo $GO_THEME->theme_url.'style.css'; ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $GO_THEME->theme_url.'htmlarea.css'; ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $GO_CONFIG->control_url; ?>jscalendar/calendar-go.css" type="text/css" rel="stylesheet" />
<link rel="shortcut icon" href="<?php echo $GO_CONFIG->host; ?>lib/favicon.ico" />
<title>
<?php
echo $GO_CONFIG->title;
if (isset($page_title))
{
echo " - ".$page_title;
}
echo "</title>\r\n";
if(isset($auto_refresh_url))
{
echo '<meta http-equiv="refresh" content="'.$GO_CONFIG->refresh_rate.';url='.$auto_refresh_url.'">';
}
//if user uses the calendar then check for events to remind
if ($calendar_module = $GO_MODULES->get_module('calendar'))
{
require_once($GO_CONFIG->class_path.'calendar.class.inc');
$header_cal = new calendar();
$remind_events = $header_cal->get_events_to_remind($GO_SECURITY->user_id);
if ($remind_events)
{
echo '<script language="javascript" type="text/javascript">popup("'.$calendar_module['url'].'reminder.php", "500", "200");</script>';
}
unset($header_cal);
}
echo "</head>\r\n";
echo '<body ';
if (isset($GO_HEADER['body_arguments'])) echo ' '.$GO_HEADER['body_arguments'];
echo '>';
?>
<!--Einde header-->