lychee/view.php

64 lines
1.6 KiB
PHP
Raw Normal View History

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-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">
<?php
2014-04-19 18:49:34 +00:00
if (isset($_GET['p'])&&$_GET['p']>0) {
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-04-04 21:17:54 +00:00
$database = Database::connect($dbHost, $dbUser, $dbPassword, $dbName);
2014-04-04 21:17:54 +00:00
echo getGraphHeader($database, $_GET['p']);
}
?>
2012-10-02 15:48:08 +00:00
</head>
<body class="view">
2012-10-02 15:48:08 +00:00
<!-- Header -->
<header class="view">
2012-10-02 15:48:08 +00:00
<!-- Buttons -->
<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>
<a id="title" class="view"></a>
2012-10-02 15:48:08 +00:00
</header>
2012-10-02 15:48:08 +00:00
<!-- ImageView -->
<div id="imageview" class="view"></div>
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>
</html>