-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.php
109 lines (85 loc) · 4.3 KB
/
admin.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
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<title>School Management</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="fonts/icomoon/style.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/jquery.fancybox.min.css">
<link rel="stylesheet" href="css/bootstrap-datepicker.css">
<link rel="stylesheet" href="fonts/flaticon/font/flaticon.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/style.css">
<?php include 'dbconnect.php'; ?>
</head>
<body data-spy="scroll" data-target=".site-navbar-target" data-offset="300">
<div class="site-wrap">
<div class="site-mobile-menu site-navbar-target">
<div class="site-mobile-menu-header">
<div class="site-mobile-menu-close mt-3">
<span class="icon-close2 js-menu-toggle"></span>
</div>
</div>
<div class="site-mobile-menu-body"></div>
</div>
<header class="site-navbar py-4 js-sticky-header site-navbar-target" role="banner">
<div class="container-fluid">
<div class="d-flex align-items-center">
<?php
mysqli_query($connection,"SET NAMES 'utf8'");
mysqli_query($connection,'SET CHARACTER SET utf8');
$quary ="SELECT schoolName FROM settings";
$s_name = mysqli_query($connection,$quary);
$result = mysqli_fetch_assoc($s_name);
?>
<div class="site-logo mr-auto w-25"><a href="index.php"><?php echo $result['schoolName'] ; ?></a></div>
<?php mysqli_close($connection); ?>
<div class="mx-auto text-center">
<nav class="site-navigation position-relative text-right" role="navigation">
<ul class="site-menu main-menu js-clone-nav mx-auto d-none d-lg-block m-0 p-0">
<li><a href="teacher.php" class="nav-link">صفحة المدرسين</a></li>
<li><a href="student.php" class="nav-link">صفحة الطلاب</a></li>
<li><a href="#programs-section" class="nav-link"> </a></li>
<li><a href="#teachers-section" class="nav-link"> </a></li>
</ul>
</nav>
</div>
<div class="ml-auto w-25">
<nav class="site-navigation position-relative text-right" role="navigation">
</nav>
<a href="#" class="d-inline-block d-lg-none site-menu-toggle js-menu-toggle text-black float-right"><span class="icon-menu h3"></span></a>
</div>
</div>
</div>
</header>
<div class="intro-section" id="home-section">
<div class="slide-1" style="background-image: url('images/hero_1.jpg');" data-stellar-background-ratio="0.5">
<div class="container">
<div class="row align-items-center">
<!-- <div class="row align-items-center" style="margin-left:400px !important" data-aos="fade-up" data-aos-delay="500">-->
<!-- <form action="logging.php" method="post" class="form-box">-->
<!-- <h3 class="h4 text-black mb-4">Sign Up</h3>-->
<!-- <div class="form-group">-->
<!-- <input class="form-control" name="email" value='[email protected]'>-->
<!-- </div>-->
<!-- <div class="form-group">-->
<!-- <input type="password" value="12345" class="form-control" name="password" placeholder="Password">-->
<!-- </div>-->
<!-- <div class="form-group">-->
<!-- <input type="submit" class="btn btn-primary btn-pill" name="login" value="Sign up">-->
<!-- </div>-->
<!-- </form>-->
<!---->
<!-- </div>-->
</div>
</div>
</div>
</div>
<?php include 'footer.php' ?>
</body>
</html>