You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lychee/view.php

81 lines
2.1 KiB

12 years ago
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
10 years ago
<title>Lychee</title>
12 years ago
10 years ago
<meta name="author" content="Tobias Reich">
12 years ago
<meta name="keywords" content="">
<meta name="description" content="">
10 years ago
<!-- CSS -->
<link type="text/css" rel="stylesheet" href="dist/main.css">
10 years ago
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="src/images/apple-touch-icon-iphone.png" sizes="120x120">
<link rel="apple-touch-icon" href="src/images/apple-touch-icon-ipad.png" sizes="152x152">
12 years ago
10 years ago
<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">
12 years ago
<meta name="apple-mobile-web-app-capable" content="yes">
<?php
10 years ago
if (isset($_GET['p'])&&$_GET['p']>0) {
# Load required files
require(__DIR__ . '/php/define.php');
require(__DIR__ . '/php/autoload.php');
require(__DIR__ . '/php/modules/misc.php');
10 years ago
require(LYCHEE_CONFIG_FILE);
# Define the table prefix
if (!isset($dbTablePrefix)) $dbTablePrefix = '';
defineTablePrefix($dbTablePrefix);
$database = Database::connect($dbHost, $dbUser, $dbPassword, $dbName);
echo getGraphHeader($database, $_GET['p']);
}
?>
12 years ago
</head>
<body class="view">
12 years ago
<!-- Header -->
<header class="view">
12 years ago
9 years ago
<a class="button button--right" id="button_info" title="About Photo">
<svg class="iconic"><use xlink:href="src/images/iconic.svg#info"></use></svg>
9 years ago
</a>
<a class="button button--right" id="button_direct" title="Direct Link">
<svg class="iconic"><use xlink:href="src/images/iconic.svg#link-intact"></use></svg>
9 years ago
</a>
12 years ago
<a id="title" class="view"></a>
12 years ago
</header>
12 years ago
<!-- ImageView -->
<div id="imageview" class="view"></div>
12 years ago
<!-- Infobox -->
9 years ago
<div id="infobox">
<div class='header'>
<h1>About</h1>
<a class='close' title='Close About'>
<svg class="iconic"><use xlink:href="src/images/iconic.svg#circle-x"></use></svg>
9 years ago
</a>
</div>
<div class='wrapper'>
</div>
</div>
12 years ago
<!-- JS -->
<script type="text/javascript" src="dist/view.js"></script>
12 years ago
</body>
</html>