„threadr/boards/index.php“ ändern

master
Jakob 2020-02-19 22:36:46 +01:00
parent fbdb7b8848
commit ed109da4ca
1 changed files with 18 additions and 0 deletions

View File

@ -5,6 +5,22 @@
<link rel="stylesheet" type="text/css" href="%CONTENT_DIR%/style.css"> <link rel="stylesheet" type="text/css" href="%CONTENT_DIR%/style.css">
</head> </head>
<body> <body>
<ul class="topnav">
<li><a href="%CONTENT_DIR%/">Home</a></li>
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a class="active" href="%CONTENT_DIR%/login/">Log In</a></li>
</ul>
<div style="padding:0 16px;">
<p></p>
<p></p>
<h4></h4>
</div>
<div class="container">
<div class="item-1">
<h1><center>ThreadR Boards</center></h1>
</div>
<div class="item-2 round-border">
<?php <?php
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!'); $pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
$error = false; $error = false;
@ -23,5 +39,7 @@
$error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2]; $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
} }
?> ?>
</div>
</div>
</body> </body>
</html> </html>