-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathheader.php
More file actions
151 lines (146 loc) · 5.69 KB
/
Copy pathheader.php
File metadata and controls
151 lines (146 loc) · 5.69 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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE HTML>
<html>
<head>
<?php
$file = $_SERVER['PHP_SELF'];
$file = substr($file,11,-4);
?>
<title>Eco-Way - <?php
if($file != 'index'){
echo $file;
}else {
echo "Home";
} ?></title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- Custom Theme files -->
<link href="css/style.css" rel="stylesheet" type="text/css" media="all"/>
<link href="css/style1.css" rel="stylesheet" type="text/css" media="all" />
<!-- Custom Theme files -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Economics,Economic classes,online economics class,12th economics," />
<meta name="author" content="EcoMyWay" />
<meta name="description" content="Eco-Way – an online tutorial website, covering Programming aspects . A site where you would learn Programing with “ Simplicity, Efficiency and Quickness ”. That’s what I believe in. Ensuring you an amazing and fun learning sessions., available to you at your desktop
screen during anytime of the day. 24*7 facility, with no further requirements after you enroll for the sessions." />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!--Google Fonts-->
<link href='https://fonts.googleapis.com/css?family=Marvel:400,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500,700,900' rel='stylesheet' type='text/css'>
<!--google fonts-->
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script> -->
<!-- <script src="js/bootstrap.js"></script> -->
<!-- <script src="js/jquery-1.11.0.min.js"></script> -->
<!-- <script src="js/script.js"></script> -->
<!-- <link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" /> -->
<!-- <link type="text/css" rel="stylesheet" href="css/colorfulTab.min.css"> -->
</head>
<body>
<div class="login">
<ul>
<?php
if (isset($_COOKIE['email'])) {
?>
<a href="dashboard.php"><li>Dashboard</li></a>
<a href="log.php?out"><li>LogOut</li></a>
<?php
}elseif (isset($_COOKIE['temail'])) {
# code...
?><a href="teacher_dashboard.php"><li>Dashboard</li></a>
<a href="log.php?out"> <li>LogOut</li></a>
<?php
}else {
?>
<a href="login.php"><li>Login</li></a>
<!-- <select value="sel" onchange="JavaScript:location.href=this.value" style="background-color: transparent;border-color: black;border:0px;color:black;background-position-x:70 px; padding-right: : 10px; margin-right: -20px;width: 88px; "> -->
<!-- <option>Register</option>
<option value="register_teacher.php">
I'm a Teacher
</option>
<option value="register.php">
I'm a Student
</option>
</select>-->
<div class="dropdown">
<button class="dropbtn">Register</button>
<div class="dropdown-content">
<a href="register_teacher.php">I'm a Teacher</a>
<a href="register.php">I'm a Student</a>
</div>
</div>
<?php
}
?>
</ul>
<div class="clearfix"> </div>
</div>
<!--header strat here-->
<?php if ($file != 'index') {?>
<div class="banner1 agileits">
<?php }else {?>
<div class="banner agileits">
<?php } ?>
<div class="header">
<div class="container">
<div class="header-main">
<div class="logo">
<h1><span class="books"></span> <a href="index.php">Eco-Way </a></h1>
</div>
<div class="top-nav">
<span class="menu"> <img src="images/icon.png" alt=""></span>
<nav class="cl-effect-21" id="cl-effect-21">
<ul class="res">
<li class="active"><a href="index.php">Home</a></li>
<li><a href="about.php">About</a></li>
<li><a href="pricing.php">Tutorials</a></li>
<li><a href="gallery.php">Gallery</a></li>
<li><a href="contact.php">Contact</a></li>
</ul>
</nav>
<!-- script-for-menu -->
<!-- <script>
$( "span.menu" ).click(function() {
$( "ul.res" ).slideToggle( 300, function() {
// Animation complete.
});
});
</script>
<!-/script-for-menu -->
</div>
<div class="clearfix"> </div>
</div>
<div class="banner-main">
<section class="slider">
<ul class="slides">
<li>
<div class="banner-main">
<h3>ONLINE E-LEARNING.</h3>
<p>A warm welcome to my very own site Eco-Way – An Economic way to Learn, Online tutorial website.</p>
<div class="clearfix"> </div>
</div>
</li>
<!--
<li>
<div class="banner-main">
<h3>Simplicity – Efficiency – Quickness. </h3>
<p>A site where you would learn Economics with “ Simplicity, Efficiency and Quickness ”. That’s what I believe in. Ensuring you an amazing and fun Eco learning sessions., available to you at your desktop screen during anytime of the day. 24*7 facility, with no further requirements after you enroll for the sessions. </p>
<div class="clearfix"> </div>
</div>
</li>
<li>
<div class="banner-main">
<h3>Most Efficient Pricing.</h3>
<p>MicroEconomics 1,000/- <br> MacroEconomics 1,000/- <br> Combo 1,779/-</p>
<div class="clearfix"> </div>
</div>
</li>
-->
</ul>
</div>
<div class="clearfix"> </div>
</section>
</div>
</div>
</div>
</div>
<!--header end here-->