<?php
/**
 * pragmaMx  Content Management System
 * Copyright (c) 2005 pragmaMx Dev Team - http://pragmaMx.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * $Source: /home/www/dps3311/home/cvsroot/pragmamx/html/includes/my_header.php,v $
 * $Revision: 1.7 $
 * $Author: tora60 $
 * $Date: 2005/11/11 11:54:42 $
 */

if (!defined("mxMainFileLoaded")) die ("You can't access this file directly...");

if (eregi("Netscape", MX_USER_AGENT)) {
?>
<script language="JavaScript" type="text/JavaScript">
<!--
function VKP_reloadPage(init) {  //reloads the window if Nav4 resized
	if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {document.VKP_pgW=innerWidth; document.VKP_pgH=innerHeight; onresize=VKP_reloadPage; }}
	else if (innerWidth!=document.VKP_pgW || innerHeight!=document.VKP_pgH) location.reload();
}
VKP_reloadPage(true);
//-->
</script>

<?php
}

if (!empty($GLOBALS['backend_active'])) {
    echo '
<!-- START rss_feeds -->
<link rel="alternate" type="application/rss+xml" title="' . htmlspecialchars($GLOBALS['sitename']) . ' - ' . _NEWSARTICLES . '" href="backend.php?op=story">
<link rel="alternate" type="application/rss+xml" title="' . htmlspecialchars($GLOBALS['sitename']) . ' - ' . _DOWNLOADS . '" href="backend.php?op=downs">
<link rel="alternate" type="application/rss+xml" title="' . htmlspecialchars($GLOBALS['sitename']) . ' - ' . _WEBLINKS . '" href="backend.php?op=link">
<link rel="alternate" type="application/rss+xml" title="' . htmlspecialchars($GLOBALS['sitename']) . ' - ' . _ALL . '" href="backend.php?op=all">
<!-- END rss_feeds -->
';
    // echo ' <link rel="alternate" type="application/rss+xml" title="'.htmlspecialchars($GLOBALS['sitename']).' - '._SELECTPART.'" href="backend.php?op=auswahl&amp;feed1=XXX[&amp;feed2=XXX&amp;feed3=XXX]">';
}
// ///diese Zeilen einkommentieren, wenn Seitenuebergangseffekte gewuenscht sind
// ///Link dazu: http://selfhtml.teamone.de/dhtml/modelle/dynamische_filter.htm#reveal_trans
 echo '<meta http-equiv="Page-Enter" content="RevealTrans(Duration=1,Transition=23)">'."\n";
 echo '<meta http-equiv="Page-Exit" content="RevealTrans(Duration=1,Transition=23)">'."\n";

// Initialisiert die für mxMenu zuständigen Styles.
// by siggi
if(class_exists("Mx_Menu_css"))
{
 $GLOBALS['mx_menu_css']->init();
}
echo '
<!-- START CSS-Style fuer chCounter -->
<style type="text/css">
.chcTable
{
  width: 650px;
  border-spacing: 1px;
  border-width: 1px;
  border-color: #000000;
  border-style: solid;
  text-align: left;
  background-color: #FFCC93;
}
.chcHeaderRow
{
  background-color: #0780BC;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: bold;
  padding: 3px;
}
.chcLeftRow
{
  background-color: #F2F0F0;
  color: #000000;
  font-size: 10px;
  padding: 3px;
}
.chcLeftRowAlt
{
  background-color: #FFCC93;
  color: #000000;
  font-size: 10px;
  padding: 3px;
}
.chcRightRow
{
  background-color: #F2F0F0;
  font-size: 11px;
  font-weight: bold;
  color: #000000;
  padding: 3px;
  text-align: right;
}
.chcRightRowAlt
{
  background-color: #FFCC93;
  font-size: 11px;
  font-weight: bold;
  color: #000000;
  padding: 3px;
  text-align: right;
}
.chcA a
{
  font-size: 10px;
}
</style>
<!-- ENDE CSS-Style fuer chCounter -->
';
echo '<script type="text/javascript" src="includes/ajax_tabs/ajax_smf_news.js"></script>';
?>