Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="sv">
- <head>
- <title>Revolutionen Roleplay</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" type="text/css" href="css/style.css">
- <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
- </head>
- <body>
- <style>
- body {
- overflow: hidden;
- }
- </style>
- <ul>
- <a href="index.php"><img src="images/rev.png" alt="Rev Logo" class="rev-nav-logo"><div class="navbar-logo-title">Revolutionen Roleplay</div></a>
- <li><a href="login.php">Admin</a></li>
- <li><a href="changelog.php" class="current-site-highlight">Changelog</a></li>
- <li><a href="staff.php">Staff Team</a></li>
- <li><a href="https://discord.gg/janGPMj">Discord</a></li>
- <li><a href="ansok.php">Ansök</a></li>
- <li><a href="omoss.php">Om Oss</a></li>
- <li><a href="index.php">Hem</a></li>
- </ul>
- <?php
- $servername = "localhost";
- $username = "root";
- $password = "";
- $dbname = "emildeveloping5";
- // Create connection
- $conn = new mysqli($servername, $username, $password, $dbname);
- // Check connection
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- mysqli_set_charset($conn,"utf8");
- $sql = "SELECT id, creator, version, updates ORDER BY id DESC";
- $result = $conn->query($sql);
- if ($result->num_rows > 0) {
- while($row = $result->fetch_assoc()) {
- echo '<div class="dropdown">
- <button class="dropbtn">Version: <b>' . $row["version"]. '</b><i class="fas fa-angle-down"></i></button>
- <div class="dropdown-content">
- <br>
- <p></p>
- </div></div>';
- }
- echo '';
- } else {
- echo "";
- }
- $conn->close();
- ?>
- <footer>
- <p class="footer-text">Alla Rättigheter Reserverade | © Revolutionen Roleplay</p>
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement