C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\gridtip\admin\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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<html>

<head>
<title>GRID TIP admin page</title>

<style type="text/css">

#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}
.menu__btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #616161;
  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 40px 0;
  list-style: none;
  background-color: #ECEFF1;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
  transition-duration: .25s;
  overflow: auto;
}
.menu__item {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
  text-decoration: none;
}
.menu__home {
  position: fixed;
  top: 7px;
  right: 17px;
}

</style>

</head>

<BODY BGCOLOR="#ffffff" LINK="#ff0000" ALINK="#00ffff" VLINK="#999999">

<link href="../shoutbox/style.css" rel="stylesheet" type="text/css" />

<div class="hamburger-menu">
    <input id="menu__toggle" type="checkbox" />
    <label class="menu__btn" for="menu__toggle">
      <span></span>
    </label>

   <ul class="menu__box">
          <li><h1>&nbsp;&nbsp;GRID TIP</h></li>

            <li><a class="menu__item" href="../login.php" target="mainFrame">Login</a></li>
            <li><a class="menu__item" href="../tipsresults.php" target="mainFrame">Tips & Results</a></li>
            <li><a class="menu__item" href="../schedule.php" target="mainFrame">Schedule</a></li>
            <li><a class="menu__item" href="../rules.php" target="mainFrame">Rules</a></li>
            <li><a class="menu__item" href="../members.php" target="mainFrame">Members List</a></li>
            <li><a class="menu__item" href="../halloffame.php" target="mainFrame">Hall of Fame</a></li>
            <li><a class="menu__item" href="../statistics.php" target="mainFrame">Statistics</a></li>
            <li><a class="menu__item" href="../archive.php" target="mainFrame">Archive</a></li>
            <li><a class="menu__item" href="../../gridtip_2024/" target="_blank">Last Season</a></li>
            <li><a class="menu__item" href="https://median.co/share/molnwl#apk" target="_blank">App</a></li>
            <li><a class="menu__item" href="../admin/admin.html" target="mainFrame">Admin</a></li>
            <li><a class="menu__item" href="../impressum_en.php" target="mainFrame">Legal Notice</a></li>
    </ul>

<div class="menu__home">
    <a href="../gridtip.php" target="mainFrame"><img src="../images/home.png" width="32" height="28"></a>
</div>

</div>

<?php

// Define your username and password
$username "mam";
$password "mscmks";

if (
$_POST['txtUsername'] != $username || $_POST['txtPassword'] != $password) {

?>

<br><br><br>

<p align="center"><font face="Arial, Helvetica, sans-serif" size="6"><b>Admin Login</b></font></p>
<br><br>

<form name="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<div align="center">
<center>
<table border="0" cellpadding="5" cellspacing="0">
<tr>
          <td><label for="txtUsername"><font face="Arial, Helvetica, sans-serif" size="4">Username</font></label> 
          </td>
<td><input type="text" title="Enter your Username" name="txtUsername" /></td>
</tr>
<tr><td>&nbsp;</td></tr>
<tr>
          <td><label for="txtpassword"><font face="Arial, Helvetica, sans-serif" size="4">Password</font></label> 
          </td>
<td><input type="password" title="Enter your password" name="txtPassword" /></td>
</tr>
</table>
</center>
</div>
<p align="center"><input type="submit" name="Submit" value="Login" /></p>
</form>

<?php
}
else {
?>

<meta http-equiv="refresh" content="0;URL=adminpage.php">

<?php
}
?> 

</body>

</html>