2012-10-02 15:48:08 +00:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
2014-04-01 22:18:25 +00:00
|
|
|
<title>Lychee</title>
|
2012-10-02 15:48:08 +00:00
|
|
|
|
2014-04-01 22:18:25 +00:00
|
|
|
<meta name="author" content="Tobias Reich">
|
2012-10-02 15:48:08 +00:00
|
|
|
<meta name="keywords" content="">
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
2014-04-01 22:18:25 +00:00
|
|
|
<!-- CSS -->
|
|
|
|
<link type="text/css" rel="stylesheet" href="assets/min/main.css">
|
2014-01-22 10:12:51 +00:00
|
|
|
|
2014-02-23 15:12:53 +00:00
|
|
|
<link rel="shortcut icon" href="favicon.ico">
|
2014-04-01 22:18:25 +00:00
|
|
|
<link rel="apple-touch-icon" href="assets/img/apple-touch-icon-iphone.png" sizes="120x120">
|
|
|
|
<link rel="apple-touch-icon" href="assets/img/apple-touch-icon-ipad.png" sizes="152x152">
|
2012-10-02 15:48:08 +00:00
|
|
|
|
2014-04-01 22:18:25 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
2012-10-02 15:48:08 +00:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
2013-01-15 20:21:36 +00:00
|
|
|
|
2013-05-03 11:57:08 +00:00
|
|
|
<?php
|
2013-06-17 18:40:04 +00:00
|
|
|
|
2014-04-19 18:49:34 +00:00
|
|
|
if (isset($_GET['p'])&&$_GET['p']>0) {
|
2013-06-17 18:40:04 +00:00
|
|
|
|
2014-04-19 18:49:34 +00:00
|
|
|
require(__DIR__ . "/php/define.php");
|
|
|
|
require(LYCHEE_CONFIG_FILE);
|
|
|
|
require(LYCHEE . "php/autoload.php");
|
|
|
|
require(LYCHEE . "php/modules/misc.php");
|
2014-01-22 10:12:51 +00:00
|
|
|
|
2014-04-04 21:17:54 +00:00
|
|
|
$database = Database::connect($dbHost, $dbUser, $dbPassword, $dbName);
|
2013-06-17 18:40:04 +00:00
|
|
|
|
2014-04-04 21:17:54 +00:00
|
|
|
echo getGraphHeader($database, $_GET['p']);
|
2013-06-17 18:40:04 +00:00
|
|
|
|
2013-05-03 11:57:08 +00:00
|
|
|
}
|
2013-06-17 18:40:04 +00:00
|
|
|
|
2013-05-03 11:57:08 +00:00
|
|
|
?>
|
2013-01-15 20:21:36 +00:00
|
|
|
|
2012-10-02 15:48:08 +00:00
|
|
|
</head>
|
2014-01-22 10:12:51 +00:00
|
|
|
<body class="view">
|
2012-10-02 15:48:08 +00:00
|
|
|
|
|
|
|
<!-- Header -->
|
2014-01-22 10:12:51 +00:00
|
|
|
<header class="view">
|
2012-10-02 15:48:08 +00:00
|
|
|
|
|
|
|
<!-- Buttons -->
|
2014-01-24 12:49:01 +00:00
|
|
|
<div class="tools" id="button_direct" title="Direct Link"><a class="icon-link"></a></div>
|
2012-10-02 15:48:08 +00:00
|
|
|
<div class="tools" id="button_info" title="Show Info"><a class="icon-info-sign"></a></div>
|
|
|
|
|
2013-05-03 11:57:08 +00:00
|
|
|
<a id="title" class="view"></a>
|
2012-10-02 15:48:08 +00:00
|
|
|
|
|
|
|
</header>
|
2013-01-15 20:21:36 +00:00
|
|
|
|
2012-10-02 15:48:08 +00:00
|
|
|
<!-- ImageView -->
|
2014-01-22 10:12:51 +00:00
|
|
|
<div id="imageview" class="view"></div>
|
2013-01-15 20:21:36 +00:00
|
|
|
|
2012-10-02 15:48:08 +00:00
|
|
|
<!-- Infobox -->
|
|
|
|
<div id="infobox"></div>
|
|
|
|
|
|
|
|
<!-- JS -->
|
2014-04-01 22:25:54 +00:00
|
|
|
<script type="text/javascript" src="assets/min/view.js"></script>
|
2012-10-02 15:48:08 +00:00
|
|
|
|
|
|
|
</body>
|
2014-01-22 10:12:51 +00:00
|
|
|
</html>
|