-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.php
More file actions
79 lines (61 loc) · 1.95 KB
/
Copy pathmain.php
File metadata and controls
79 lines (61 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My PHP-Practice</title>
<link rel="stylesheet" href= "style.css" />
</head>
<body>
<div class="flex-container">
<div class="header">
<?php include 'logo.inc.php' ?>
<?php include 'menu.inc.php' ?>
</div>
<div class="about_My">
<h1><?php echo $p ?></h1>
<div class="data">
<div class="myImg">
<?php
echo '<img src=img/lion.jpg width="250" heght="250">';
?>
</div>
<div class="fullname">
<p>Меня зовут
<?php
echo $name,' ', $surname . '<br>';
echo 'город',' ', $city . '<br>';
?>
</p>
<p>Мне
<?php echo $age; ?>
год
</p>
<p>Мы научились создавать переменные</p>
<p>Изучили простые операции с ними</p>
</div>
</div>
<div class="knowledge">
<?php include 'knowledge.inc.php'; ?>
<?php
echo $a,' ',$b,' ',$c;
?> <br>
<?php
$a = 10;
$b = 20;
$c = $a + $b;
echo $c;
?> <br>
<?php
echo $d;
?>
</div>
<div class-"article">
<p class="text">
Свободный текст о себе
</p>
</div>
</div>
<?php include 'footer.inc.php' ?>
</div>
</body>
</html>