Nowa wersja webmasterska

git-svn-id: https://svn.pioder.pl/sg-svn@12 3ed2631f-fe0d-47e0-9194-a46bc0f18ee8
This commit is contained in:
chp1994
2009-06-23 12:57:21 +00:00
parent 5aa0c7da6e
commit 6de08b68b4
16 changed files with 557 additions and 536 deletions

34
robocze/index.php Normal file
View File

@@ -0,0 +1,34 @@
<?php
$xhtml = preg_match('/application\/xhtml\+xml(?![+a-z])(;q=(0\.\d{1,3}|[01]))?/i',
$_SERVER['HTTP_ACCEPT'], $xhtml) && (isset($xhtml[2])?$xhtml[2]:1) > 0 ||
strpos($_SERVER["HTTP_USER_AGENT"], "W3C_Validator")!==false ||
strpos($_SERVER["HTTP_USER_AGENT"], "WebKit")!==false;
header('Content-Type: '.($xhtml?'application/xhtml+x':'text/ht').'ml; charset="utf-8"'); #IE doesn't support application/xhtml+xml - workaround
echo '<?xml version="1.0" encoding="utf-8"?>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl">
<head>
<title>Strona główna</title>
<link type="text/css" href="style.css" rel="stylesheet" />
</head>
<body>
<div id="page">
<img src="images/logo.png" width="800px" alt="Logo strony" />
<div id="content">
<div id="dlinks">
<a href="gallery.php"><img src="images/galeria.png" alt="Galeria zdjęć" /></a> <br/>
<a href="download.php"><img src="images/download.png" alt="Download" /></a> <br/>
<a href="http://suczawa.ath.cx"><img src="images/forum.png" alt="Forum" /></a>
</div>
</div>
<div id="footer">
<a id="copyright">Copyright © 2009 ...</a><br />
<div id="links">
<a href="index.php">Strona główna</a> | <a href="gallery.php">Fotogaleria</a> | <a href="download.php">Download</a> | <a href="http://suczawa.ath.cx">Forum</a>
</div>
</div>
</div>
</body>
</html>