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>";
}
}
show_messages();
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/main.css">
<style>
form { padding: 3px; position: fixed; bottom: 0; width: 100%; }
form input { border: 0; padding: 10px; width: 80%; margin-right: .5%; }
form input[type="submit"] { width: 15%; border: none; padding: 10px; }
</style>
</head>
<body>
<div>
<?php show_messages(); ?>
</div>
<!--<form action="chat.php" method="post">-->
<!-- <input id="msg" name="msg" size="100" placeholder="Введите сообщение...">-->
<!-- <input type="submit" value="Отправить">-->
<!--</form>-->
</body>
<!--<!doctype html>-->
<!--<html>-->
<!--<head>-->
<!-- <meta charset="utf-8">-->
<!-- <link rel="stylesheet" href="css/main.css">-->
<!-- <style>-->
<!-- form { padding: 3px; position: fixed; bottom: 0; width: 100%; }-->
<!-- form input { border: 0; padding: 10px; width: 80%; margin-right: .5%; }-->
<!-- form input[type="submit"] { width: 15%; border: none; padding: 10px; }-->
<!-- </style>-->
<!--</head>-->
<!--<body>-->
<!--<div>-->
<?php ?>
<!--</div>-->
<!--<!--<form action="chat.php" method="post">-->-->
<!--<!-- <input id="msg" name="msg" size="100" placeholder="Введите сообщение...">-->-->
<!--<!-- <input type="submit" value="Отправить">-->-->
<!--<!--</form>-->-->
<!--</body>-->