-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
56 lines (52 loc) · 1.59 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="pagewidth" content="width=device-width">
<meta name="author" content="Güren Tan Dinga">
<title>Point Cloud Portal</title>
<link rel="stylesheet" href="./css/pcsstyle.css">
</head>
<body>
<header>
<div class="container">
<div id="kopf">
<h1>Point Cloud Portal</h1>
</div>
<nav>
<ul>
<li><a href="./index.php">Index</a></li>
<li><a href="./upload.php">Kontrollzentrum</a></li>
<li><a href="./hilfe.html">Hilfe</a></li>
<li><a href="mailto:[email protected]">Kontakt</a></li>
</ul>
</nav>
</div>
</header>
<!-- ÜBERARBEITETER CODE ZUR DARSTELLUNG -->
<div class="row" id="inhalt">
<div class="column" style="background-color: #e8e8e8;">
<?php
$pwdb = new PDO('sqlite:./pwdb.db');
print "<table>";
$result = $pwdb->query('SELECT * FROM pointclouds');
foreach($result as $row) {
print "<tr><td><h3>".$row['Id'].": ".$row['name']. " " . $row['mobile']. " " . $row['lite']. " " . $row['pro']."</h3></td> ";
print "</table>";
print "<b>Autor: </b>";
print $row['autor'];
echo " ";
print "<b>Lizenz: </b>";
print $row['lizenz'];
echo " ";
print "<b>Tags: </b>";
print $row['tags'];
print "<br><br><b> Beschreibung: </b>";
print $row['description']; "<br><br>";
print "<hr>";};
print "</table>";
?>
</p>
</div></div>
</body>
</html>