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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
|
<!DOCTYPE html> <html> <head> <title>GRID TIP New Passcode</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <SCRIPT language='javascript'>
function cancel_appform(){ window.location = "gridtip.php"; } </script>
<!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//mamnaslim.dsmynas.net/piwik/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); </script> <!-- End Piwik Code -->
<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" text="#000000" link='#000000' alink='#000000' vlink='#000000'>
<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> 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>
<br><br><br>
<p align="center"><font face="Arial, Helvetica, sans-serif" size="6"><b>New Passcode</b></font></p> <?PHP
require("date_diff_f1.php");
require("dbconnect.php");
dbconnect();
?> <table width="100%" border="0" cellspacing="5" cellpadding="5"> <tr> <td> </td> </tr> <tr height="325"> <td width="25%" valign="top" height="200">
<form enctype="multipart/form-data" name='form_user' action="<?= $PHP_SELF; ?>" method=post> <input type="hidden" name="submitted" value="true">
<table width="100%" border="0" cellspacing="5" cellpadding="5"> <?PHP $error_msg="";
if ($_REQUEST['submitted']) { // Submit-Button gedrückt
$user=mysql_query("SELECT u_id, u_name, u_email FROM users where (u_name='".$_REQUEST['appform_username']."');");
if ($erg=mysql_fetch_array($user)) {
$updated=mysql_query("UPDATE users SET u_passcode=md5('TiYnP4GT') WHERE u_id='".$erg['u_id']."';");
$message="<html><head> <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'> </head> <body bgcolor=$bgcolor> <p><font face='Verdana, Arial, Helvetica, sans-serif' size='2'>Hello ".$erg['u_name'].",<BR><BR>as per your request your <b>GRID TIP</b> passcode has been changed.<BR><BR>Your new passcode is <b>TiYnP4GT</b> - for your own security and comfort you should change it in your profile page the next time you logon to <a href='http://gridtip.mamweb.at'><b>GRID TIP</b></a> with this new passcode.<BR><BR>If you got this email and did not request a new passcode please report abuse to <b><a href='mailto:mam@heimam.at'>GRID TIP Admin</a></b>.<BR><BR>Cheers,<BR><BR>Your <b>GRID TIP</b> Admin<BR><BR><font size='1'>this is a no-reply address - do not reply to this email</font></font></p>";
$status= mail($erg['u_email'],"GRID TIP - new passcode",$message,$headers); ?>
<tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <tr> <td> </td> <td> <div align="center"><font face="Arial, Helvetica, sans-serif" size="3">A new passcode will be sent to your email address</font></div> </td> <td> </td> </tr> <tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <tr> <td> </td> <td> <div align="center"> <input type="button" name="appform_cancel" value="back to GRID TIP" onclick='cancel_appform()'> </div> </td> <td> </td> </tr> <tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <?PHP
} else {
$error_msg="the user doesn't exist"; ?>
<tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <tr> <td> <div align="right"><font face="Arial, Helvetica, sans-serif" size="4">Your Username</font></div> </td> <td width="135"> <input type="text" name="appform_username" maxlength="3" size="30" value=<?= $_GET['appform_username'] ?>> </td> <td><font face="Arial, Helvetica, sans-serif" size="3">(max. 3 characters)</font></td> </tr> <tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <tr> <td> <div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="4"></font></div> </td> <td width="135"> <input type="submit" name="passwordform_submit" value="Get new passcode"> </td> <td> <input type="button" name="appform_cancel" value="Cancel" onclick='cancel_appform()'> </td> </tr> <tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <tr> <td> </td> <td colspan="2"> <div align="left"><font face="Arial, Helvetica, sans-serif" size="3" color="#FF0000"><b> <?= $error_msg ?> </b></font></div> </td> </tr> <?PHP
} } else {
?> <tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <tr> <td> <div align="right"><font face="Arial, Helvetica, sans-serif" size="4">Your Username</font></div> </td> <td width="135"> <input type="text" name="appform_username" maxlength="3" size="30" value=<?= $_GET['appform_username'] ?>> </td> <td><font face="Arial, Helvetica, sans-serif" size="3">(max. 3 characters)</font></td> </tr> <tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <tr> <td> <div align="right"><font face="Arial, Helvetica, sans-serif" size="4"></font></div> </td> <td width="135"> <input type="submit" name="appform_submit" value="Get new passcode"> </td> <td> <input type="button" name="appform_cancel" value="Cancel" onclick='cancel_appform()'> </td> </tr> <tr> <td> </td> <td width="135"> </td> <td> </td> </tr> <tr> <td> </td> <td colspan="2"> <div align="left"> <font face="Arial, Helvetica, sans-serif" size="3" color="#FF0000"><b> <?= $error_msg ?> </b></font></div> </td> </tr> <?PHP
} ?>
</table>
</form> </td> </tr> </table>
<div align='center'><font face='Arial, Helvetica, sans-serif' size='3'>© 2023-2025 - GRID TIP</font></div> <p>
</body> </html>
|