iframes war

This commit is contained in:
lopar 2018-03-24 01:08:05 +02:00
parent 6abc902766
commit 44cb3e6ad5

View File

@ -25,24 +25,25 @@ function show_messages()
echo sprintf('%s [%s]: %s', $d->format('H:i'),$message['from'],$m)." <br>"; echo sprintf('%s [%s]: %s', $d->format('H:i'),$message['from'],$m)." <br>";
} }
} }
show_messages();
?> ?>
<!doctype html> <!--<!doctype html>-->
<html> <!--<html>-->
<head> <!--<head>-->
<meta charset="utf-8"> <!-- <meta charset="utf-8">-->
<link rel="stylesheet" href="css/main.css"> <!-- <link rel="stylesheet" href="css/main.css">-->
<style> <!-- <style>-->
form { padding: 3px; position: fixed; bottom: 0; width: 100%; } <!-- form { padding: 3px; position: fixed; bottom: 0; width: 100%; }-->
form input { border: 0; padding: 10px; width: 80%; margin-right: .5%; } <!-- form input { border: 0; padding: 10px; width: 80%; margin-right: .5%; }-->
form input[type="submit"] { width: 15%; border: none; padding: 10px; } <!-- form input[type="submit"] { width: 15%; border: none; padding: 10px; }-->
</style> <!-- </style>-->
</head> <!--</head>-->
<body> <!--<body>-->
<div> <!--<div>-->
<?php show_messages(); ?> <?php ?>
</div> <!--</div>-->
<!--<form action="chat.php" method="post">--> <!--<!--<form action="chat.php" method="post">-->-->
<!-- <input id="msg" name="msg" size="100" placeholder="Введите сообщение...">--> <!--<!-- <input id="msg" name="msg" size="100" placeholder="Введите сообщение...">-->-->
<!-- <input type="submit" value="Отправить">--> <!--<!-- <input type="submit" value="Отправить">-->-->
<!--</form>--> <!--<!--</form>-->-->
</body> <!--</body>-->