view.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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/build/main.css">
  10. <link rel="shortcut icon" href="favicon.ico">
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black" >
  12. <meta name="viewport" content="user-scalable=no, initial-scale=1">
  13. <meta name="apple-mobile-web-app-capable" content="yes">
  14. <?php
  15. if(isset($_GET['p'])) {
  16. define("LYCHEE", true);
  17. require("data/config.php");
  18. require("php/modules/db.php");
  19. require("php/modules/misc.php");
  20. $database = dbConnect();
  21. echo openGraphHeader($_GET['p']);
  22. }
  23. ?>
  24. </head>
  25. <body class="view">
  26. <!-- Header -->
  27. <header class="view">
  28. <!-- Buttons -->
  29. <div class="tools" id="button_direct" title="Direct Link"><a class="icon-link"></a></div>
  30. <div class="tools" id="button_info" title="Show Info"><a class="icon-info-sign"></a></div>
  31. <a id="title" class="view"></a>
  32. </header>
  33. <!-- ImageView -->
  34. <div id="imageview" class="view"></div>
  35. <!-- Infobox -->
  36. <div id="infobox"></div>
  37. <!-- JS -->
  38. <script type="text/javascript" src="assets/js/_frameworks.js"></script>
  39. <script type="text/javascript" src="assets/js/build.js"></script>
  40. <script type="text/javascript" src="assets/js/view/main.js"></script>
  41. </body>
  42. </html>