This repository has been archived by the owner on Dec 7, 2017. It is now read-only.
forked from electerious/Lychee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview.php
64 lines (42 loc) · 1.47 KB
/
view.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title></title>
<meta name="author" content="Tobias Reich, Philipp Maurer">
<meta name="keywords" content="">
<meta name="description" content="">
<link type="text/css" rel="stylesheet" href="assets/build/main.css">
<link rel="shortcut icon" href="favicon.ico">
<meta name="apple-mobile-web-app-status-bar-style" content="black" >
<meta name="viewport" content="user-scalable=no, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<?php
if(isset($_GET['p'])) {
define("LYCHEE", true);
require("data/config.php");
require("php/modules/db.php");
require("php/modules/misc.php");
$database = dbConnect();
echo openGraphHeader($_GET['p']);
}
?>
</head>
<body class="view">
<!-- Header -->
<header class="view">
<!-- Buttons -->
<div class="tools" id="button_direct" title="Direct Link"><a class="icon-link"></a></div>
<div class="tools" id="button_info" title="Show Info"><a class="icon-info-sign"></a></div>
<a id="title" class="view"></a>
</header>
<!-- ImageView -->
<div id="imageview" class="view"></div>
<!-- Infobox -->
<div id="infobox"></div>
<!-- JS -->
<script type="text/javascript" src="assets/js/_frameworks.js"></script>
<script type="text/javascript" src="assets/js/build.js"></script>
<script type="text/javascript" src="assets/js/view/main.js"></script>
</body>
</html>