48 lines
1.1 KiB
HTML
48 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Information table</title>
|
|
<style>
|
|
table, th, td {
|
|
border: 1px solid black;
|
|
border-collapse: collapse;
|
|
}
|
|
th {
|
|
padding: 10px;
|
|
}
|
|
td {
|
|
padding: 5px;
|
|
text-align: left;
|
|
}
|
|
tr:hover {background-color: #d6eeee}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<?php
|
|
$file = fopen("Information.txt", "r");
|
|
$buf = fgets($file, filesize("Information.txt"));
|
|
?>
|
|
<caption>Инфрмацмонная таблица</caption>
|
|
<table style="width: 100%">
|
|
<tr>
|
|
<th>ФИО</th>
|
|
<th>Дата Рождения</th>
|
|
<th>Пол</th>
|
|
<th>Номер Телефона</th>
|
|
<th>Email</th>
|
|
</tr>
|
|
<tr>
|
|
<
|
|
<td>Билай Станислав Романович</td>
|
|
<td>2002-03-11</td>
|
|
<td>Мужчина</td>
|
|
<td>+79493761924</td>
|
|
<td>stasbilay02@yandex.ru</td>
|
|
</tr>
|
|
<tr>
|
|
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html> |