Seite 1 von 1

[chatspot] header nicht komplett navigation verschwunden

Verfasst: 19.06.2005 19:11
von Shadowproject
ich wollte bei meinem eingebauten chat (chatspot) nen header drüber machen. . .doch leider ist das hier rausgekommen:
[ externes Bild ]
was muss ich machen dass die links wieder sichtbar sind und der header komplett ist??

hier meine chatspot_title:

Code: Alles auswählen

<?php

/***************************************************************************
 *							chatspot_title.php
 *							-------------------
 *	last updated      : August 28, 2004
 *	copyright         : (c) 2004 Project Dream Views; icedawg
 *	email             : phpbbchatspot@dreamviews.com
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   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.
 *
 ***************************************************************************/

/* **[DESCRIPTION]*********************************************************************************************************
		- displays all the available links at the top of phpBBChatSpot
		- displays name of chat & current room
		- provides link to room management for admins
	************************************************************************************************************************ */

define( 'CHATSPOT', true );
define( 'IN_PHPBB', true );
$phpbb_root_path = './../';

include_once( $phpbb_root_path . 'extension.inc' );
include_once( $phpbb_root_path . 'chatspot/chatspot_config.' . $phpEx );

error_reporting  (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime

if( isset( $HTTP_GET_VARS[ 'room_name' ] ) )
	$room_name = $HTTP_GET_VARS[ 'room_name' ];
else
	exit();

// this can't be hacked simply by manually entering &admin=1 to the URL because the room management page checks to
// see if the user is really an admin or not; the admin variable is only used to show the link to that page.
if( isset( $HTTP_GET_VARS[ 'admin' ] ) )
	$is_admin = TRUE;
else
	$is_admin = FALSE;

if( isset( $HTTP_GET_VARS[ 'sid' ] ) )
	$SID = '?sid=' . $HTTP_GET_VARS[ 'sid' ];
else
	$SID = '';
?>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $chatspot_config[ 'charset' ]; ?>">

<link rel="stylesheet" href="<?php echo $chatspot_config['stylesheet']?>" type="text/css">

</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#006699">

<table class="forumline" width="100%">
	<tr>
	        <td><img align="left" src="Walterheader1a.gif" border="0" vspace="0" /></td>
                <td><img align="right" src="Walterheader1b.gif" border="0" vspace="0" /></td>
	</tr>

	<tr>
		<td>
		<table class="formarea" width="100%">
		<tr>
		<td align="left" nowrap><?php echo $cfg_chatname; ?>&nbsp;&nbsp;<b>[<?php echo $room_name; ?>]</b></td>
		<td align="right"><img src="icon_mini.gif" width="12" height="13" border="0" hspace="0" /><a href="http://david.tchoulakian.de/forum" target="_blank" style="color:red;">zurück zum Forumsindex</a>&nbsp; &nbsp;<img src="icon_mini.gif" width="12" height="13" border="0" hspace="0" /><a href="javascript:void(0);" style="color:red;" onClick="javascript:window.parent.scripts.restore_frames(); return false;">Refresh Chat</a>&nbsp; &nbsp;<img src="icon_mini.gif" width="12" height="13" border="0" hspace="0" /><a href="javascript:void(0);" style="color:red;" onClick="javascript:window.parent.scripts.clear_frames(); window.parent.message_view.location='chatspot_help.<?php echo $phpEx; ?>'; return false;">Hilfe</a>&nbsp; &nbsp;<img src="icon_mini.gif" width="12" height="13" border="0" hspace="0" /><a href="javascript:void(0);" style="color:red;" onClick="javascript:window.parent.scripts.clear_frames(); window.parent.message_view.location='chatspot_about.<?php echo $phpEx; ?>'; return false;">Über</a>&nbsp;<?php if( $is_admin ) echo ' &nbsp<img src="icon_mini.gif" width="12" height="13" border="0" hspace="0" /><a href="javascript:void(0);" style="color:red;" onClick="javascript:window.parent.scripts.clear_frames(); window.parent.message_view.location=\'chatspot_rooms.' .$phpEx . $SID . '\'; return false;">Räume</a>&nbsp;'; ?> &nbsp;<img src="icon_mini.gif" width="12" height="13" border="0" hspace="0" /><a href="javascript:void(0);" style="color:red;" onClick="javascript:window.parent.scripts.shut_down(); window.parent.scripts.clear_frames(); javascript:window.parent.scripts.leave_room(); return false;"><b>Schließen</b></a></td>
		</tr>
		</table>
		</td>
	</tr>
</table>
</body>
</html>
der header ist zweiteilig:
Walterheader1a.gif
Walterheader1b.gif