view.php 1.7 KB

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