sermon/index.php
Tomáš Mládek b19ed3cade formatting
2018-10-17 13:37:53 +02:00

39 lines
1 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>sermon</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
<link rel="stylesheet" href="main.css">
</head>
<body>
<?php
if (!isset($_COOKIE['outchat_name'])) {
echo '
<div class="modal">
<form action="" method="post" class="modal__form">
<input type="text" name="name" placeholder="name" minLength="3" maxLength="20" class="modal__form-input">
<input type="submit" value="»" class="modal__form-submit">
</form>
</div>
';
}
?>
<div class="chat">
</div>
<form method="post" action="api.php?action=createMessage" class="form">
<textarea name="text" class="form__input-message" placeholder="message"></textarea>
<input type="hidden" name="name" value="kent">
<input type="submit" value="»" class="form__input-submit">
</form>
<script src="helpers.js"></script>
<script src="main.js"></script>
</body>
</html>