view.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  5. <title></title>
  6. <meta name="author" content="Tobias Reich, Philipp Maurer">
  7. <meta name="keywords" content="">
  8. <meta name="description" content="">
  9. <link type="text/css" rel="stylesheet" href="assets/css/min/reset.css">
  10. <link type="text/css" rel="stylesheet" href="assets/css/min/main.css">
  11. <link rel="shortcut icon" href="assets/img/favicon.ico">
  12. <meta name="apple-mobile-web-app-status-bar-style" content="black" >
  13. <meta name="viewport" content="user-scalable=no, initial-scale=1">
  14. <meta name="apple-mobile-web-app-capable" content="yes">
  15. <?php
  16. if(isset($_GET['p'])) {
  17. define("LYCHEE", true);
  18. require("php/config.php");
  19. require("php/modules/db.php");
  20. require("php/modules/misc.php");
  21. $database = dbConnect();
  22. echo openGraphHeader($_GET['p']);
  23. }
  24. ?>
  25. </head>
  26. <body class="view">
  27. <!-- Header -->
  28. <header class="view">
  29. <!-- Buttons -->
  30. <div class="tools" id="button_direct" title="Direct Link"><a class="icon-link"></a></div>
  31. <div class="tools" id="button_info" title="Show Info"><a class="icon-info-sign"></a></div>
  32. <a id="title" class="view"></a>
  33. </header>
  34. <!-- ImageView -->
  35. <div id="imageview" class="view"></div>
  36. <!-- Infobox -->
  37. <div id="infobox"></div>
  38. <!-- JS -->
  39. <script type="text/javascript" src="assets/js/min/frameworks.js"></script>
  40. <script type="text/javascript" src="assets/js/modules/build.js"></script>
  41. <script type="text/javascript" src="assets/js/view.js"></script>
  42. </body>
  43. </html>