Header Probleem
Geplaatst: 03 mar 2005, 16:35
Ik heb een layout van men site gemaakt, en die is bijna af.
Maar nu wil ik de header ook op mijn forum.
Maar als ik de headercode van men site in de overall header stop, dan ziet hij er anders uit dan op men site.
Dit is mijn site: http://playztation.pl.funpic.de/
Dit is mijn forum: http://forums.fo.funpic.de/Forum/index.php
Dit is de header.php
En dit is Overall_header.tpl:
Maar nu wil ik de header ook op mijn forum.
Maar als ik de headercode van men site in de overall header stop, dan ziet hij er anders uit dan op men site.
Dit is mijn site: http://playztation.pl.funpic.de/
Dit is mijn forum: http://forums.fo.funpic.de/Forum/index.php
Dit is de header.php
Code: Selecteer alles
<tr>
<td colspan="3" rowspan="2">
<img src="images/header_01.gif" width="176" height="82" alt=""></td>
<td rowspan="2">
<img src="images/header_02.gif" width="6" height="82" alt=""></td>
<td>
<img src="images/header_03.gif" width="102" height="21" alt=""></td>
<td>
<img src="images/header_04.gif" width="111" height="21" alt=""></td>
<td>
<img src="images/header_05.gif" width="115" height="21" alt=""></td>
<td colspan="4">
<img src="images/header_06.gif" width="114" height="21" alt=""></td>
<td>
<img src="images/header_07.gif" width="118" height="21" alt=""></td>
</tr>
<tr>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
var ic =10;
var i = new Array(ic);
i[0] = "images/random/random_01.gif";
i[1] = "images/random/random_01.gif";
i[2] = "images/random/random_01.gif";
i[3] = "images/random/random_01.gif";
i[4] = "images/random/random_01.gif";
i[5] = "images/random/random_02.gif";
i[6] = "images/random/random_02.gif";
i[7] = "images/random/random_02.gif";
i[8] = "images/random/random_02.gif";
i[9] = "images/random/random_02.gif";
function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
var choice = pickRandom(ic);
document.writeln('<td colspan="4" width="407" height="61" alt=""><IMG SRC="' + i[choice] + '" BORDER=0></td>');
</SCRIPT></</td>
<td colspan="4">
<img src="images/header_09.png" width="153" height="61" alt=""></td>
</tr>
<tr>
<td colspan="12">
<img src="images/header_10.png" width="742" height="11" alt=""></td>
</tr>
Code: Selecteer alles
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="Author" content="http://www.infectedfx.net" />
{META}
{NAV_LINKS}
<title>PlayZtation.nl Forums | {PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_TEMPLATE_PATH}/{T_HEAD_STYLESHEET}" type="text/css">
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script language="javascript" type="text/javascript">
<!--
function resize_images()
{
for (i = 0; i < document.images.length; i++)
{
while ( !document.images[i].complete )
{
break;
}
if ( document.images[i].width > 550 )
{
document.images[i].width = 550;
}
}
}
//-->
</script>
</head>
<body background="{T_TEMPLATE_PATH}/images/bg_footer.gif" leftmargin="0" topmargin="17" marginwidth="0" marginheight="0">
<table width="740" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="1" rowspan="2" background="{T_TEMPLATE_PATH}/images/side_left.gif"><img src="{T_TEMPLATE_PATH}/images/side_left.gif" width="1" height="2">
</td>
<td valign="top" background="{T_TEMPLATE_PATH}/images/bg_table.gif"><table width="640" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" rowspan="2">
<img src="images/header_01.gif" width="176" height="82" alt=""></td>
<td rowspan="2">
<img src="images/header_02.gif" width="6" height="82" alt=""></td>
<td>
<img src="images/header_03.gif" width="102" height="21" alt=""></td>
<td>
<img src="images/header_04.gif" width="111" height="21" alt=""></td>
<td>
<img src="images/header_05.gif" width="115" height="21" alt=""></td>
<td colspan="4">
<img src="images/header_06.gif" width="114" height="21" alt=""></td>
<td>
<img src="images/header_07.gif" width="118" height="21" alt=""></td>
</tr>
<tr>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
var ic =10;
var i = new Array(ic);
i[0] = "images/random/random_01.gif";
i[1] = "images/random/random_01.gif";
i[2] = "images/random/random_01.gif";
i[3] = "images/random/random_01.gif";
i[4] = "images/random/random_01.gif";
i[5] = "images/random/random_02.gif";
i[6] = "images/random/random_02.gif";
i[7] = "images/random/random_02.gif";
i[8] = "images/random/random_02.gif";
i[9] = "images/random/random_02.gif";
function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
var choice = pickRandom(ic);
document.writeln('<td colspan="4" width="407" height="61" alt=""><IMG SRC="' + i[choice] + '" BORDER=0></td>');
</SCRIPT></</td>
<td colspan="4">
<img src="images/header_09.png" width="153" height="61" alt=""></td>
</tr>
<tr>
<td colspan="12">
<img src="images/header_10.png" width="742" height="11" alt=""></td>
</tr>
<div align="center">
<param name="quality" value="high"><param name="SCALE" value="noborder"><param name="BGCOLOR" value="#FFFFFF">
</object>
</a></div></td>
</tr> <tr>
<td height="0" class="mainmenu">
<div align="center">
<a href="{U_INDEX}"><img src="{T_TEMPLATE_PATH}/images/index.gif" alt="{L_INDEX}" border="0"></a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_LOGIN_LOGOUT}"><img src="{T_TEMPLATE_PATH}/images/login.gif" alt="{L_LOGIN_LOGOUT}" hspace="0" border="0"></a>
<a href="{U_REGISTER}"><img src="{T_TEMPLATE_PATH}/images/register.gif" alt="{L_REGISTER}" hspace="0" border="0"></a>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<a href="{U_LOGIN_LOGOUT}"><img src="{T_TEMPLATE_PATH}/images/logout.gif" alt="{L_LOGIN_LOGOUT}" hspace="0" border="0"></a>
<a href="{U_PROFILE}"><img src="{T_TEMPLATE_PATH}/images/profile.gif" alt="{L_PROFILE}" hspace="0" border="0"></a>
<a href="{U_PRIVATEMSGS}"><img src="{T_TEMPLATE_PATH}/images/messages.gif" alt="{PRIVATE_MESSAGE_INFO}" hspace="0" border="0"></a>
<!-- END switch_user_logged_in -->
<a href="{U_FAQ}"><img src="{T_TEMPLATE_PATH}/images/faq.gif" alt="{L_FAQ}" hspace="0" border="0"></a>
<a href="{U_SEARCH}"><img src="{T_TEMPLATE_PATH}/images/search.gif" alt="{L_SEARCH}" hspace="0" border="0"></a>
<a href="{U_MEMBERLIST}"><img src="{T_TEMPLATE_PATH}/images/memberlist.gif" alt="{L_MEMBERLIST}" hspace="0" border="0"></a>
<a href="{U_GROUP_CP}"><img src="{T_TEMPLATE_PATH}/images/usergroups.gif" alt="{L_USERGROUPS}" hspace="0" border="0"></a>
<!-- ChatSpot MOD -->
<!-- BEGIN switch_user_logged_in -->
<a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATSPOT_NAME}','scrollbars=no,resizable=yes,width=700,height=550')" class="mainmenu"><img src="templates/CleanFX/images/chat.gif" width="78" height="22" border="0" hspace="0" /></a>
<!-- END switch_user_logged_in -->
<!-- End of ChatSpot MOD -->
</div></td>
</tr>
<td colspan="2">
<table width="740" border="0" cellspacing="0" cellpadding="9">
<tr>
<td>