-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpersonal.php
97 lines (69 loc) · 2.77 KB
/
personal.php
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?
require_once "php/connect_db.php";
session_start();
if (!isset($_SESSION['logged'])) header("Location: login.php");
else{
$data = $_GET;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Информационная система Детсада</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="keywords">
<meta content="" name="description">
<!-- Favicons -->
<link href="img/favicon.png" rel="icon">
<link href="img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Roboto:100,300,400,500,700|Philosopher:400,400i,700,700i" rel="stylesheet">
<!-- Bootstrap css -->
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Libraries CSS Files -->
<link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- Main Stylesheet File -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<header id="header" class="header header-hide">
<div class="container">
<div id="logo" class="pull-left">
<h1><a href="#body" class="scrollto"><span>Лю</span>бимый садик</a></h1>
</div>
<nav id="nav-menu-container">
<ul class="nav-menu">
<li class="menu-active"><a href="index.php">Домой</a></li>
<li><a href="educators.php">Воспитатели</a></li>
<li><a href="groups.php">Список Групп</a></li>
<li><a href="#screenshots">Регистрация в детский сад</a></li>
<li><a href="#team">Наши Кружки</a></li>
<li><a href="php/logout.php">Выйти</a></li>
</ul>
</nav><!-- #nav-menu-container -->
</div>
</header><!-- #header -->
<section id="hero" class="wow fadeIn">
<h1 style="text-align: center;">Наши воспитатели</h1>
<div class="container">
<div class="row">
<div class="col-md-6"><?
$educators = R::findOne('educators', 'id = ?', [$data['id_ed']]); echo '<img src="' . $educators->photo . '" alt="" style="width:100%;height:auto;">'?></div>
<div class="col-md-6">
<h1><? echo $educators->fname . " " . $educators->sname; ?></h1>
<? echo $educators->aboutme; ?></div>
</div>
</div>
</section><!-- #hero -->
<a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>
<!-- JavaScript Libraries -->
<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/jquery/jquery-migrate.min.js"></script>
<script src="lib/superfish/superfish.min.js"></script>
<script src="lib/wow/wow.min.js"></script>
<!-- Template Main Javascript File -->
<script src="js/main.js"></script>
</body>
</html>
<? }
?>