It's a better more secure (hopefully) coalfax, NOT MADE IN WORDPRESS.
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.

77 lines
2.9 KiB

<!DOCTYPE html>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Coalfax Revamped</title>
<meta name="description" content="Get the Coalfax!">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/main.css">
table, th, td {
border: 1px solid black;
th, td {
padding: 10px;
div.coalburner_display {
white-space: normal;
<body style="background-color:dimgray;text-align:center">
<h1>Welcome to Coalfax Revamped, The coalburner registry!</h1>
<div class="coalburner_submission">
<form name="submission_forum" action="submit_coalburner.php" method="POST" enctype="multipart/form-data">
Coalburner Name: <input type="text" id="name" name="name" required>
Proofs & Sources: <input type="text" id="proofs" name="proofs" required>
Body: <br><textarea id="body" name="body" rows="10" cols="50" required></textarea><br>
Image: <input type="file" id="images" name="images" required>
<img id="captcha" src="/vendor/dapphp/securimage/securimage_show.php" alt="CAPTCHA Image" />
<input type="text" id="captcha_code" name="captcha_code" size="10" maxlength="6" required />
<a href="#"
onclick="document.getElementById('captcha').src = '/vendor/dapphp/securimage/securimage_show.php?' + Math.random(); return false">[
Different Image ]</a>
<input type="submit">
<div class="coalburner_display" style="overflow-x:auto;">
<table style="float:center; table-layout: auto; width: 100%">
$result = $conn->prepare("SELECT * FROM coalburners ORDER BY id ASC");
for ($i=0; $row = $result->fetch(); $i++) {
<td style="word-wrap: break-word"><label><?php echo $row['name']; ?></label></td>
<td style="word-wrap: break-word"><label><?php echo $row['proofs']; ?></label></td>
<td style="word-wrap: break-word"><label><?php echo $row['body']; ?></label></td>
<td><label><img src="/images/<?php echo $row['images']; ?>" width="400" height="500"></label></td>
} ?>