sermon/index.php

39 lines
1.1 KiB
PHP
Raw Normal View History

2018-10-17 13:22:43 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2018-10-17 13:32:58 +02:00
<title>sermon</title>
2018-10-17 13:22:43 +02:00
2018-10-17 13:37:53 +02:00
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
2018-10-17 13:22:43 +02:00
<link rel="stylesheet" href="main.css">
</head>
<body>
2018-10-17 17:18:58 +02:00
<?php if (!isset($_COOKIE['outchat_name'])) { ?>
<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>
2018-10-17 17:44:04 +02:00
<div class="modal__info_url">
to only see chat, go <a href="https://live.sdbs.cz/sermon" target="_top">https://live.sdbs.cz/sermon</a>
</div>
2018-10-17 17:18:58 +02:00
</div>
<?php } ?>
2018-10-17 13:22:43 +02:00
<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>
2018-10-17 13:37:53 +02:00
2018-10-17 13:22:43 +02:00
</body>
2018-10-17 13:32:58 +02:00
</html>