Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h3>Galéria</h3>
- <?
- $server = "";
- $user = "";
- $pass = "";
- $databaze = "";
- $conn = @mysql_connect($server, $user, $pass);
- if (!@mysql_select_db($databaze, $conn)):
- echo "<big><pre><b>Omlouváme se, probíhá údržba serveru....<br> <br>We apologize - servicing is in process...</b></pre></big>";
- exit;
- endif;
- $query = "select * from images";
- $result = mysql_query($query) or die("SQL dotaz nešlo provést");
- while ($row=mysql_fetch_array($result)){
- ?><a href="<? echo $adresa . "?i=" . $row["FILE"]; ?>"><div style="position: relative; width: 130px; height: 130px; float: left; margin-left: 18px;display: vertical-align: middle; "><img src="screens/<? echo $row["FILE"]; ?>" style="width: 130px; height: 130px;"></div></a>
- <?
- }
- ?>
- <a href="<? echo $adresa . "screens/" . $row["FILE"]; ?>">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement