Kod PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="
<?php echo $this->language; ?>"
lang="
<?php echo $this->language; ?>">
<head>
<jdoc:include type="head" />
<link href="templates/
<?php echo $this->template ?>/css/layout.css" rel="stylesheet" type="text/css" media="all" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="Dawid Oporowicz: www.komputer-land.cba.pl" />
<link rel="shortcut icon" href="http://www.mgr.cba.pl/favicon.ico" type="image/x-icon">
<link href="css/layout.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div id="header">
<div id="baner">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="151" id="flash" align="middle">
<param name="movie" value="baner.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#f7f7f7" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.mgr-ms.p.ht/baner.swf" width="300" height="151">
<param name="movie" value="baner.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#f7f7f7" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Pobierz odtwarzacz Adobe Flash Player" /></a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<div id="logo">
<jdoc:include type="modules" name="logo" style="xhtml" />
</div>
</div>
<div id="srodek">
<div id="menu">
<jdoc:include type="modules" name="menu" style="xhtml" />
</div>
<div id="tresc">
<jdoc:include type="component" />
</div>
<div id="addons">
<jdoc:include type="modules" name="addons" style="xhtml" />
</div>
</div>
<div id="footer">
<div id="wykonanie">
<b><center>© 2013 Mobilny Gabinet Rehabilitacji</center></b>
<center>Marek Siewkowski</center><br/>
<b><center>Projekt witryny i wykonanie:</center></b>
<center>Dawid Oporowicz</center>
</div>
</div>
</body>
</html>
Kod CSS:
@import url(czcionki.css);
@import url(menu.css);
body{
background-image:url(../image/bg.jpg);
background-attachment:fixed;
background-repeat:no-repeat;
}
#header{
width:960px;
height:180px;
overflow:hidden;
margin-left:110px;
position:fixed;
}
#baner{
float:right;
margin-top:15px;
}
#logo{
background-image:url(../image/logo.jpg);
height:141px;
width:234px;
float:left;
margin-top:35px;
margin-left:36px;
}
#srodek{
width:960px;
overflow:hidden;
margin-left:110px;
}
#menu{
height:30px;
padding-top:20px;
position:fixed;
}
#addons{
width:240px;
float:right;
margin-right:40px;
background-image:url(../image/tlo_addons.jpg);
background-repeat:repeat-y;
margin-top:37px;
padding-top:10px;
}
#tresc{
width:600px;
padding-top:10px;
margin-top:37px;
float:left;
background-image:url(../image/tlo_tekst.jpg);
background-repeat:repeat-y;
}
#footer{
width:960px;
margin-left:110px;
height:150px;
}
Ten post edytował programista95 10.09.2013, 12:56:55