Advertisement
iuliaa

Untitled

Dec 12th, 2020
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="styles.css">
  5. <link rel="stylesheet" href="paragraphs_styles.css">
  6. <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap" rel="stylesheet">
  7. <script src="https://kit.fontawesome.com/b28a5ee64c.js" crossorigin="anonymous"></script>
  8. </head>
  9. <title>Safe Flight</title>
  10. <header>
  11. <div id="wrap">
  12. <img src="images/plane_logo.png" height=125px>
  13. <img src="images/text_logo.png" height=125px>
  14. <a href="login.php"><button> Log In / Register </button></a>
  15. </div>
  16. </header>
  17. <body>
  18.  
  19. <div class="menu">
  20. <nav>
  21. <ul>
  22. <li><a href="index.html"> Home </a></li>
  23. <li><a href="#flights"> Flights and Reservations <i class="fas fa-caret-down"></i> </a>
  24. <ul>
  25. <li><a href="book.php"> Book a Flight </a></li>
  26.  
  27. <li><a href="destinations.php"> Destinations </a></li>
  28. <li><a href="splflights.php"> Special Flights and Offers</a></li>
  29. </ul>
  30. </li>
  31. <li><a href="#info"> Useful Information <i class="fas fa-caret-down"></i> </a>
  32. <ul>
  33. <li><a href="luggage.php"> Luggage </a></li>
  34. <li><a href="facilities.php"> Flight Facilities </a></li>
  35. <li><a href="bflight.php"> Business Flights </a></li>
  36. <li><a href="eflight.php"> Economy Flights </a></li>
  37. <li><a href="companies.php"> Information for Companies </a></li>
  38. </ul>
  39. </li>
  40.  
  41. </ul>
  42. </nav>
  43. </div>
  44.  
  45. <div class="luggage_container">
  46. <img src="images/globe.png" width="1200px">
  47. <div class="textoverlay">
  48. <h1> Destinations</h1>
  49. </div>
  50. </div>
  51. <div id="displayed_paragraph">
  52. <?php
  53. $db=mysqli_connect("localhost","root","","sfdatabase");
  54. $sql = "SELECT * FROM destinations_page";
  55. $result=mysqli_query($db,$sql);
  56. while($row=mysqli_fetch_array($result)){
  57. echo "<div class='dest'>";
  58. echo "<div class='paragraphs'>";
  59. echo "<h2>".$row['destination']."</h2>";
  60. echo "<img src='images/".$row['image']."'>";
  61. echo "<p>".$row['description']."</p>";
  62. echo "</div>";
  63. echo "</div>";
  64. }
  65. ?>
  66.  
  67. </div>
  68.  
  69. </body>
  70. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement