Plik header.php wygląda tak:Kod
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE></TITLE>
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK HREF="style.css" TYPE="text/css" REL="stylesheet">
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<BODY onLoad="MM_preloadImages('images/m1_1.gif','images/m2_1.gif','images/m3_1.gif','images/m4_1.gif','images/m5_1.gif')">
<table align="center" style=" border-left:#0F0F0F 1px solid; border-right:#0F0F0F 1px solid; height:100%">
<tr>
<td style="width:766px; height:800px">
<table>
<tr>
<td style="width:766px; height:339px; background:url(images/bg_flash.gif) no-repeat left top ">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
width="766" height="339">
<param name="movie" value="flash/header_v8.swf?button=1">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="flash/header_v8.swf?button=1"
width="766" height="339" type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not this).
</object>
<!--> <![endif]-->
</object>
</td>
</tr>
<tr>
<td style="width:766px; height:374px">
<table>
<tr>
<td style="width:280px; height:374px; background:#313333 url(images/px.gif) repeat-x left top">
<div style="margin-left:40px; margin-right:36px; text-align:justify">
<br style="line-height:48px">
<!-- REKLAMA -->
<script type="text/javascript"><!--
google_ad_client = "pub-1586112902783329";
/* v4 */
google_ad_slot = "7517986658";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- KONIEC -->
<br style="line-height:28px">
<br>
</div>
</td>
<td style="width:486px; height:374px">
<table>
<tr>
<td style="width:40px; height:374px"></td>
<td style="width:446px; height:374px">
<br style="line-height:50px">
<br>
<br style="line-height:20px">
<table>
<tr>
<td style="width:22px; height:233px">
<br style="line-height:5px">
<br>
<br style="line-height:12px">
<br>
</td>
<td style="width:387px; height:233px; text-align:justify">
<font color="#FFFF00" size="5">Co zrobić, by tekst, który znajduje się w
index.php znalazł się TU?</font>
<p>
<br> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width:766px; height:87px">
<table>
<tr>
<td style="width:766px; height:2px; background:url(images/bg_px.gif) no-repeat left top"></td>
</tr>
<tr>
<td style="width:766px; height:85px">
<table>
<tr>
<td style="width:280px; height:85px; background:#161717">
<div class="footer">
<br style="line-height:16px">
Customer Service:<br>
FAX: +1 800 559 6580 <br>
E-mail: <a href="#">customers@companyname.com</a><br>
</div>
</td>
<td style="width:486px; height:85px; background:#0E0F0F">
<div class="footer">
<br style="line-height:16px">
<b><a href="index.html">main page</a></b> <span>|</span> <b><a href="index-1.html">company</a></b> <span>|</span> <b><a href="index-2.html">SERVICES</a></b> <span>|</span> <b><a href="index-3.html">support</a></b> <span>|</span> <b><a href="index-4.html">CONTACTS</a></b><br>
YourCompany.Com © 2007 | <span><a href="index-5.html">
Privacy Policy</a></span>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width:766px; height:100%">
<table style="height:100%">
<tr>
<td style="width:280px; height:100%; background:#161717"></td>
<td style="width:486px; height:100%; background:#0E0F0F"></td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>
a tak index.php, jednak, tekst nadal jest na górze :/Plik index.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE></TITLE>
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK HREF="style.css" TYPE="text/css" REL="stylesheet">
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<BODY onLoad="MM_preloadImages('images/m1_1.gif','images/m2_1.gif','images/m3_1.gif','images/m4_1.gif','images/m5_1.gif')">
<table align="center" style=" border-left:#0F0F0F 1px solid; border-right:#0F0F0F 1px solid; height:100%">
<tr>
<td style="width:766px; height:800px">
<table>
<tr>
<td style="background-position: left top; width:766px; height:339px; background-color:transparent; background-repeat:no-repeat; background-attachment:scroll">
</td>
</tr>
<tr>
<td style="width:766px; height:374px">
<table>
<tr>
<td style="background-position: left top; width:280px; height:374px; background-repeat:repeat-x; background-attachment:scroll">
<div style="margin-left:40px; margin-right:36px; text-align:justify">
</div>
</td>
<td style="width:486px; height:374px">
<table>
<tr>
<td style="width:40px; height:374px"></td>
<td style="width:446px; height:374px">
<table>
<tr>
<td style="width:22px; height:233px">
<br style="line-height:5px">
<br>
<br style="line-height:12px">
<br>
</td>
<td style="width:387px; height:233px; text-align:justify">
<font color="#FFFF00" size="5">Co zrobić, by tekst, który znajduje się w
index.php znalazł się TU?</font><br>
<? include('include/header.php'); ?>
<p>
<br> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width:766px; height:87px">
<table>
<tr>
<td style="width:766px; height:2px; background:url(images/bg_px.gif) no-repeat left top"></td>
</tr>
<tr>
<td style="width:766px; height:85px">
<table>
<tr>
<td style="background-position: 0% 0%; width:280px; height:85px; background-image:none; background-repeat:repeat; background-attachment:scroll">
<div class="footer">
</div>
</td>
<td style="background-position: 0% 0%; width:486px; height:85px; background-image:none; background-repeat:repeat; background-attachment:scroll">
<div class="footer">
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width:766px; height:100%">
<table style="height:100%">
<tr>
<td style="width:280px; height:100%; background:#161717"></td>
<td style="width:486px; height:100%; background:#0E0F0F"></td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>