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,49 +1,44 @@
<?php <?php
$xhtml = preg_match('/application\/xhtml\+xml(?![+a-z])(;q=(0\.\d{1,3}|[01]))?/i', NaglowekXHTML();
$_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; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
header('Content-Type: '.($xhtml?'application/xhtml+x':'text/ht').'ml; charset="utf-8"'); #IE doesn't support application/xhtml+xml - workaround <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl">
echo '<?xml version="1.0" encoding="utf-8"?>'; <head>
?> <title>Download</title>
<link type="text/css" href="style.css" rel="stylesheet" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <meta http-equiv="Content-Type" content="<?=$xhtml?'application/xhtml+x':'text/ht'?>ml; charset=utf-8" />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl"> </head>
<head> <body>
<title>Download</title> <div id="page">
<link type="text/css" href="style.css" rel="stylesheet" /> <img src="images/logo.png" width="800px" alt="Logo strony" />
<meta http-equiv="Content-Type" content="<?=$xhtml?'application/xhtml+x':'text/ht'?>ml; charset=utf-8" /> <div id="content">
</head> <div id="dlinks">
<body> <div id="dlinks_inner">
<div id="page"> <img src="images/linki.png" alt="Linki:" />
<img src="images/logo.png" width="800px" alt="Logo strony" /> <div class="dframe">
<div id="content"> <a class="link" href="http://rapidshare.com/files/243528123/ZDJECIA.7z.001">http://rapidshare.com/files/243528123/ZDJECIA.7z.001</a><br/>
<div id="dlinks"> <a class="link" href="http://rapidshare.com/files/243652052/ZDJECIA.7z.002">http://rapidshare.com/files/243652052/ZDJECIA.7z.002</a><br/>
<div id="dlinks_inner"> <a class="link" href="http://rapidshare.com/files/243685412/ZDJECIA.7z.003">http://rapidshare.com/files/243685412/ZDJECIA.7z.003</a><br/>
<img src="images/linki.png" alt="Linki:" /> <a class="link" href="http://rapidshare.com/files/243743885/ZDJECIA.7z.004">http://rapidshare.com/files/243743885/ZDJECIA.7z.004</a><br/>
<div class="dframe"> <a class="link" href="http://rapidshare.com/files/243781654/ZDJECIA.7z.005">http://rapidshare.com/files/243781654/ZDJECIA.7z.005</a> <br/>
<a class="link" href="http://rapidshare.com/files/243528123/ZDJECIA.7z.001">http://rapidshare.com/files/243528123/ZDJECIA.7z.001</a><br/> <a class="link" href="http://rapidshare.com/files/243890408/ZDJECIA.7z.006">http://rapidshare.com/files/243890408/ZDJECIA.7z.006</a> <br/>
<a class="link" href="http://rapidshare.com/files/243652052/ZDJECIA.7z.002">http://rapidshare.com/files/243652052/ZDJECIA.7z.002</a><br/> <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/243685412/ZDJECIA.7z.003">http://rapidshare.com/files/243685412/ZDJECIA.7z.003</a><br/> <a class="link" href="http://rapidshare.com/files/243926118/ZDJECIA.7z.008">http://rapidshare.com/files/243926118/ZDJECIA.7z.008</a> <br/>
<a class="link" href="http://rapidshare.com/files/243743885/ZDJECIA.7z.004">http://rapidshare.com/files/243743885/ZDJECIA.7z.004</a><br/> </div>
<a class="link" href="http://rapidshare.com/files/243781654/ZDJECIA.7z.005">http://rapidshare.com/files/243781654/ZDJECIA.7z.005</a> <br/> <img src="images/has__o.png" alt="Has__o:" />
<a class="link" href="http://rapidshare.com/files/243890408/ZDJECIA.7z.006">http://rapidshare.com/files/243890408/ZDJECIA.7z.006</a> <br/> <div class="dframe">
<a class="link" href="http://rapidshare.com/files/243914577/ZDJECIA.7z.007">http://rapidshare.com/files/243914577/ZDJECIA.7z.007</a> <br/> <b>Has__o: </b> Sucava2009
<a class="link" href="http://rapidshare.com/files/243926118/ZDJECIA.7z.008">http://rapidshare.com/files/243926118/ZDJECIA.7z.008</a> <br/> </div>
</div> </div>
<img src="images/hasło.png" alt="Hasło:" /> </div>
<div class="dframe"> </div>
<b>Hasło: </b> Sucava2009 <div id="footer">
</div> <a id="copyright">Copyright © 2009 ...</a><br />
</div> <div id="links">
</div> <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 id="footer"> </div>
<a id="copyright">Copyright © 2009 ...</a><br /> </div>
<div id="links"> </body>
<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> </html>
</div>
</div>
</div>
</body>
</html>