Poprawka w download.php

git-svn-id: https://svn.pioder.pl/sg-svn@16 3ed2631f-fe0d-47e0-9194-a46bc0f18ee8
This commit is contained in:
pioder
2009-06-26 21:26:44 +00:00
parent 92387e5261
commit 64c45b8ea1

View File

@@ -1,10 +1,5 @@
<?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"?>';
NaglowekXHTML();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
@@ -31,9 +26,9 @@
<a class="link" href="http://rapidshare.com/files/243914577/ZDJECIA.7z.007">http://rapidshare.com/files/243914577/ZDJECIA.7z.007</a> <br/>
<a class="link" href="http://rapidshare.com/files/243926118/ZDJECIA.7z.008">http://rapidshare.com/files/243926118/ZDJECIA.7z.008</a> <br/>
</div>
<img src="images/hasło.png" alt="Hasło:" />
<img src="images/has__o.png" alt="Has__o:" />
<div class="dframe">
<b>Hasło: </b> Sucava2009
<b>Has__o: </b> Sucava2009
</div>
</div>
</div>
@@ -41,7 +36,7 @@
<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>
<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>