#strona {
width: 1000px;
position: absolute; left: 25%;
border-left-style: dotted;
border-right-style: dotted;
border-width: 4px;
border-color: yellow;
}
#menu {
width:250px;
float:left;
}
#reszta {
width:730px;
float:right;
background-color: #FFCCCC;
font-family: Arial, cursive;
border-style: solid;
border-width: 2px;
border-color: red;
}
hr {
color: green;
}
textarea {
scrollbar-arrow-color: red;
scrollbar-3dlight-color: black;
scrollbar-shadow-color: black;
scrollbar-highlight-color: lime;
border-bottom-style: solid;
border-left-style: solid;
border-top-style: solid;
border-right-style: solid;
border-bottom-width: thin;
border-left-width: thin;
border-top-width: thin;
border-right-width: thin;
border-bottom-color: #3300FF;
border-left-color: #3300FF;
border-top-color: #3300FF;
border-right-color: #3300FF;
}
dl, dt, dd {
display: block;
margin: 0;
padding: 0;
position: fixed; left: 0cm;
width: 250px;
font-family: Arial Black, Verdana
}
dt {
width: 250px;
padding: 5px 10px;
font-weight: bold;
font-size: larger;
text-align: center;
background: #797 url("tlo3.gif") repeat-x top;
color: lime;
border-width: 2px;
border-style: solid;
border-color: blue blue blue blue;
font-family: Verdana;
}
dd {
width: 250px;
padding-left: 10px;
background: #797 url("punkt.gif") no-repeat left top;
border-width: 1px;
border-style: solid;
border-color: black black black black;
}
dl a:link, dl a:visited {
display: block;
width: 220px;
text-decoration: none;
padding: 5px 10px;
font-weight: bold;
background: #bfb url("tlo2.gif") repeat-x top;
color: red;
border-left: 1px solid #797;
}
dl a:hover {
background-color: #797;
background-image: url("tlo.gif");
color: red;
}
// ten pierwszy skrypt to do licznika wejść
<?php
if((!isset($_COOKIE['licznikowe-ciacho'])) && (!strstr($_SERVER['HTTP_REFERER'], "csmap.yoyo.pl"))) { $plik = fopen("licznik.txt", "r"); $plik = fopen("licznik.txt", "w"); $dane[0]++;
fwrite($plik, "$dane[0];", 15
); }
else {
$plik = fopen("licznik.txt", "r"); }
?>
<head>
<link rel="Stylesheet" type="text/css" href="index.css" />
<title>STRONA</title>
<meta name="Description" content="Skrypty, pomoce, wiadomosci, portal, wszsytko" />
<meta name="Author" content="Marox" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate" />
<meta http-equiv="Cache-Control" content="post-check=0, pre-check=0" />
<meta http-equiv="Pragma" content="no-cache" />
<link rel="Shortcut icon" href="http://www.multihack.pl/favicon.ico" />
</head>
<body background="tlo_strona.jpg"></body>
<div id="strona" >
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td style="{ position: relative; bottom: 1mm; }" colspan="2" align="center" valign="medium"><img src="logo.gif" alt="LOGO" /></td>
</tr>
</table>
<?php
switch ($_GET['cos']) {
case 'losowanie': include ('losowanie.php');
break;
case 'ankieta': include ('formularz.php');
break;
case 'chat': include ('chat/index.php');
break;
case '': include ('a.php');
break;
case 'bug': include ('bug.php');
break;
case 'sonda': include ('ocena.php');
break;
default :
}
?>
<div id="menu">
<dl>
<dt>MENU</dt>
<dd><a href='index.php'>Strona Głowna</a></dd>
<dd><a href='index.php?cos=ankieta'>Ankieta</a></dd>
<dd><a href='index.php?cos=sonda&id=1'>Oceń strone</a></dd>
<dt>NARZĘDZIA</dt>
<dd><a href='index.php?cos=losowanie'>Losowanie Liczb</a></dd>
<dt>CZAT</dt>
<dd><a href='/chat/index.php'>Wejdź na Czat</a></dd>
<dt>SUPPORT</dt>
<dd><a href='index.php?cos=bug'>Zgłaszanie Błędow</a></dd>
</dl>
<div id="sonda56676">Firewall: <a href="http://www.hanzo.eu/3,86,pl,netasq_IPS_U1100.html">netasq IPS U1100</a></div>
<script type="text/javascript" src="http://sonda.hanzo.eu/sonda.js,56676,kVPb,9AIh"></script>
</div>
<table width="100%" cellspacing="0" cellpadding="10">
<tr>
<td style="{ position: relative; top: 1mm; }" bgcolor="#888888" colspan="2" align="center" valign="middle">© 2010; <i>Created by </i> <b> Marox</b><i style=" { color: white; position: relative; left: 8cm; }">Stronę odwiedziło już<b>
<?php echo($dane[0
]); ?></b> osób</i></td>
</tr>
<tr>
</div>
Każda podstrona (include) ma diva #reszta. Cała strona ma div #strona