forked from SkillfactoryCoding/PHPDEV-BasicBackend-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.php
More file actions
73 lines (57 loc) · 2.32 KB
/
Copy pathmain.php
File metadata and controls
73 lines (57 loc) · 2.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>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_me">
<h1> <?php echo $p ?> </h1>
<div class="data">
<div class="myImg">
<?php echo '<img src="/img/php.jpg">'; ?>
</div>
<div class="fullname">
<p> Меня зовут
<?php echo $name, ' ', $surname . '<br>';
echo 'город', ' ', $city; ?>
</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">
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Recusandae asperiores ducimus dolore explicabo. Animi est amet quibusdam molestias!
Minus laudantium sapiente dignissimos possimus natus cumque delectus sed, accusantium totam quia?
</p>
</div>
</div>
<?php include 'footer.inc.php' ?>
</div>
</body>
</html>