Quellcodeviewer der Dragonslayer-Edition
Quellcodeviewer der Dragonslayer-Edition : 0.9.7+jt ext (GER)


Anmerkung: Dies ist nur ein Auszug aus dem Source. Um das jeweils aktuelle, vollständige Release zu erhalten, ist eine Anfrage mit gültiger Email-Adresse erforderlich. Ebenso sollte darin die Serveradresse bzw. sonstiger Verwendungszweck aufgeführt sein. Was wir uns unbedingt verbitten, ist Diebstahl unserer Arbeit ohne Nennung des Copyrights.

Falls beim Lesen des Source ein Bug entdeckt werden sollte, bitten wir um sofortige Meldung per Anfrage!


./graveyard.php

zurück

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:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
518:
519:
520:
521:
522:
523:
524:
525:
526:
527:
528:
529:
530:
<?php

/*********************************************************************
 * MODIFIZIERT DURCH
 * Admin @ Dreythal
 * September 2015
*********************************************************************/

require_once 'common.php';

if (
$session['user']['alive'])
redirect('village.php');

page_header('Geisterreich');
addcommentary();
checkday();

if (
$session['user']['alive'])
redirect('village.php');

$session['bufflist']=array();
$session['user']['drunkenness'] = 0;
$max $session['user']['level'] * 50;
$favortoheal round(10 * ($max-$session['user']['soulpoints'])/$max);
    
if (
$_GET['op']=='')
{   
    
output('`n`c`b<span style="color: #FF8080;">G</span><span style="color: #F28C8C;">e</span><span style="color: #E59999;">i</span><span style="color: #D9A6A6;">s</span><span style="color: #CCB3B3;">t</span><span style="color: #C0C0C0;">e</span><span style="color: #C0C0C0;">r</span><span style="color: #CCB3B3;">r</span><span style="color: #D9A6A6;">e</span><span style="color: #E59999;">i</span><span style="color: #F28C8C;">c</span><span style="color: #FE7F7F;">h</span>`b`c<br />',true);
    
// = "Geisterreich"
    
    
output('<span style="color: #FF8080;">D</span><span style="color: #F98585;">e</span><span style="color: #F38B8B;">i</span><span style="color: #ED9191;">n</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">G</span><span style="color: #DCA2A2;">e</span><span style="color: #D6A8A8;">i</span><span style="color: #D1AEAE;">s</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">erwacht auf dem Feld <span style="color: #C0C0C0;">d</span><span style="color: #C6B9B9;">e</span><span style="color: #CCB3B3;">r</span><span style="color: #D2ACAC;"> </span><span style="color: #D9A6A6;">S</span><span style="color: #DF9F9F;">t</span><span style="color: #E59999;">i</span><span style="color: #EC9393;">l</span><span style="color: #F28C8C;">l</span><span style="color: #F88686;">e</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">u</span><span style="color: #F38B8B;"> </span><span style="color: #ED9191;">f</span><span style="color: #E89797;">ü</span><span style="color: #E29D9D;">h</span><span style="color: #DCA2A2;">l</span><span style="color: #D6A8A8;">s</span><span style="color: #D1AEAE;">t</span><span style="color: #CBB4B4;"> </span><span style="color: #C5BABA;">d</span><span style="color: #BFC0C0;">ich wie bei vollem Bewusststein, aber eines fällt dir nach wenigen Wimpernsc<span style="color: #C0C0C0;">h</span><span style="color: #C6B9B9;">l</span><span style="color: #CCB3B3;">ä</span><span style="color: #D2ACAC;">g</span><span style="color: #D9A6A6;">e</span><span style="color: #DF9F9F;">n</span><span style="color: #E59999;"> </span><span style="color: #EC9393;">a</span><span style="color: #F28C8C;">u</span><span style="color: #F88686;">f</span><span style="color: #FE7F7F;">:</span> <span style="color: #FF8080;">D</span><span style="color: #F88686;">e</span><span style="color: #F28C8C;">i</span><span style="color: #EC9393;">n</span><span style="color: #E59999;"> </span><span style="color: #DFA0A0;">K</span><span style="color: #D9A6A6;">ö</span><span style="color: #D2ACAC;">r</span><span style="color: #CCB3B3;">p</span><span style="color: #C6B9B9;">e</span><span style="color: #C0C0C0;">r ist nicht dein materieller, wie du <span style="color: #C0C0C0;">i</span><span style="color: #C6B9B9;">h</span><span style="color: #CCB3B3;">n</span><span style="color: #D2ACAC;"> </span><span style="color: #D9A6A6;">k</span><span style="color: #DF9F9F;">e</span><span style="color: #E59999;">n</span><span style="color: #EC9393;">n</span><span style="color: #F28C8C;">s</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">V</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">e</span><span style="color: #EC9393;">l</span><span style="color: #E59999;">m</span><span style="color: #DFA0A0;">e</span><span style="color: #D9A6A6;">h</span><span style="color: #D2ACAC;">r</span><span style="color: #CCB3B3;"> </span><span style="color: #C6B9B9;">b</span><span style="color: #C0C0C0;">ist du ein Schattern deiner selbst, ein Echo aus der E<span style="color: #C0C0C0;">r</span><span style="color: #C7B8B8;">i</span><span style="color: #CEB1B1;">n</span><span style="color: #D5AAAA;">n</span><span style="color: #DCA3A3;">e</span><span style="color: #E39C9C;">r</span><span style="color: #EA9595;">u</span><span style="color: #F18E8E;">n</span><span style="color: #F88787;">g</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">A</span><span style="color: #F88686;">u</span><span style="color: #F28C8C;">ß</span><span style="color: #EC9393;">e</span><span style="color: #E59999;">r</span><span style="color: #DFA0A0;">d</span><span style="color: #D9A6A6;">e</span><span style="color: #D2ACAC;">m</span><span style="color: #CCB3B3;"> </span><span style="color: #C6B9B9;">t</span><span style="color: #C0C0C0;">rägt dein Geistkörper jene Wunden, durch die du umgek<span style="color: #C0C0C0;">o</span><span style="color: #C6B9B9;">m</span><span style="color: #CCB3B3;">m</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;">n</span><span style="color: #DF9F9F;"> </span><span style="color: #E59999;">b</span><span style="color: #EC9393;">i</span><span style="color: #F28C8C;">s</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">.</span>`n`n

        <span style="color: #FF8080;">W</span><span style="color: #F88787;">i</span><span style="color: #F18E8E;">l</span><span style="color: #EA9595;">l</span><span style="color: #E39C9C;">k</span><span style="color: #DCA3A3;">o</span><span style="color: #D5AAAA;">m</span><span style="color: #CEB1B1;">m</span><span style="color: #C7B8B8;">e</span><span style="color: #C0BFBF;">n im Gei<span style="color: #C0C0C0;">s</span><span style="color: #C7B8B8;">t</span><span style="color: #CEB1B1;">e</span><span style="color: #D5AAAA;">r</span><span style="color: #DCA3A3;">r</span><span style="color: #E39C9C;">e</span><span style="color: #EA9595;">i</span><span style="color: #F18E8E;">c</span><span style="color: #F88787;">h</span><span style="color: #FF8080;">.</span>

        <span style="color: #FF8080;">D</span><span style="color: #F98585;">e</span><span style="color: #F38B8B;">i</span><span style="color: #ED9191;">n</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">G</span><span style="color: #DCA2A2;">e</span><span style="color: #D6A8A8;">i</span><span style="color: #D1AEAE;">s</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">wurde auf dem Feld der Stille au<span style="color: #C0C0C0;">s</span><span style="color: #C7B8B8;">g</span><span style="color: #CEB1B1;">e</span><span style="color: #D5AAAA;">s</span><span style="color: #DCA3A3;">p</span><span style="color: #E39C9C;">u</span><span style="color: #EA9595;">c</span><span style="color: #F18E8E;">k</span><span style="color: #F88787;">t</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">E</span><span style="color: #F98585;">s</span><span style="color: #F48A8A;"> </span><span style="color: #EF8F8F;">m</span><span style="color: #EA9595;">a</span><span style="color: #E49A9A;">g</span><span style="color: #DF9F9F;"> </span><span style="color: #DAA5A5;">d</span><span style="color: #D5AAAA;">i</span><span style="color: #CFAFAF;">r</span><span style="color: #CAB5B5;"> </span><span style="color: #C5BABA;">b</span><span style="color: #C0BFBF;">ekannt vorkommen, aber es wirkt völlig anders im Reich de<span style="color: #C0C0C0;">r</span><span style="color: #C6B9B9;"> </span><span style="color: #CCB3B3;">L</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;">b</span><span style="color: #DF9F9F;">e</span><span style="color: #E59999;">n</span><span style="color: #EC9393;">d</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">H</span><span style="color: #F98585;">i</span><span style="color: #F38B8B;">e</span><span style="color: #ED9191;">r</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">i</span><span style="color: #DCA2A2;">s</span><span style="color: #D6A8A8;">t</span><span style="color: #D1AEAE;"> </span><span style="color: #CBB4B4;">e</span><span style="color: #C5BABA;">s</span><span style="color: #BFC0C0;">... irgendwie düster, u<span style="color: #C0C0C0;">n</span><span style="color: #C7B8B8;">h</span><span style="color: #CEB1B1;">e</span><span style="color: #D5AAAA;">i</span><span style="color: #DCA3A3;">m</span><span style="color: #E39C9C;">l</span><span style="color: #EA9595;">i</span><span style="color: #F18E8E;">c</span><span style="color: #F88787;">h</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">u</span><span style="color: #F38B8B;">n</span><span style="color: #ED9191;">k</span><span style="color: #E89797;">l</span><span style="color: #E29D9D;">e</span><span style="color: #DCA2A2;"> </span><span style="color: #D6A8A8;">u</span><span style="color: #D1AEAE;">n</span><span style="color: #CBB4B4;">d</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">ölige Nebel kriechen übe<span style="color: #C0C0C0;">r</span><span style="color: #C5BABA;"> </span><span style="color: #CBB4B4;">d</span><span style="color: #D1AEAE;">e</span><span style="color: #D6A8A8;">n</span><span style="color: #DCA2A2;"> </span><span style="color: #E29D9D;">B</span><span style="color: #E89797;">o</span><span style="color: #ED9191;">d</span><span style="color: #F38B8B;">e</span><span style="color: #F98585;">n</span><span style="color: #FF7F7F;">.</span> <span style="color: #FF8080;">B</span><span style="color: #F88686;">l</span><span style="color: #F28C8C;">u</span><span style="color: #EC9393;">t</span><span style="color: #E59999;">r</span><span style="color: #DFA0A0;">o</span><span style="color: #D9A6A6;">t</span><span style="color: #D2ACAC;">e</span><span style="color: #CCB3B3;"> </span><span style="color: #C6B9B9;">B</span><span style="color: #C0C0C0;">litze zucken geräuschlos über grauschwarzes <span style="color: #C0C0C0;">F</span><span style="color: #C7B8B8;">i</span><span style="color: #CEB1B1;">r</span><span style="color: #D5AAAA;">m</span><span style="color: #DCA3A3;">a</span><span style="color: #E39C9C;">m</span><span style="color: #EA9595;">e</span><span style="color: #F18E8E;">n</span><span style="color: #F88787;">t</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">H</span><span style="color: #F98585;">e</span><span style="color: #F38B8B;">u</span><span style="color: #ED9191;">l</span><span style="color: #E89797;">e</span><span style="color: #E29D9D;">n</span><span style="color: #DCA2A2;"> </span><span style="color: #D6A8A8;">u</span><span style="color: #D1AEAE;">n</span><span style="color: #CBB4B4;">d</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">Wehklagen dringen an <span style="color: #C0C0C0;">d</span><span style="color: #C6B9B9;">e</span><span style="color: #CCB3B3;">i</span><span style="color: #D2ACAC;">n</span><span style="color: #D9A6A6;"> </span><span style="color: #DF9F9F;">G</span><span style="color: #E59999;">e</span><span style="color: #EC9393;">h</span><span style="color: #F28C8C;">ö</span><span style="color: #F88686;">r</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">E</span><span style="color: #F98585;">s</span><span style="color: #F38B8B;"> </span><span style="color: #ED9191;">s</span><span style="color: #E89797;">c</span><span style="color: #E29D9D;">h</span><span style="color: #DCA2A2;">e</span><span style="color: #D6A8A8;">i</span><span style="color: #D1AEAE;">n</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">von überall gleichzeitig he<span style="color: #C0C0C0;">r</span><span style="color: #C7B8B8;">z</span><span style="color: #CEB1B1;">u</span><span style="color: #D5AAAA;">k</span><span style="color: #DCA3A3;">o</span><span style="color: #E39C9C;">m</span><span style="color: #EA9595;">m</span><span style="color: #F18E8E;">e</span><span style="color: #F88787;">n</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">K</span><span style="color: #F88686;">l</span><span style="color: #F28C8C;">a</span><span style="color: #EC9393;">g</span><span style="color: #E59999;">e</span><span style="color: #DFA0A0;">n</span><span style="color: #D9A6A6;"> </span><span style="color: #D2ACAC;">h</span><span style="color: #CCB3B3;">i</span><span style="color: #C6B9B9;">e</span><span style="color: #C0C0C0;">r etwa nicht nur die Bewohner un<span style="color: #C0C0C0;">s</span><span style="color: #C6B9B9;">e</span><span style="color: #CCB3B3;">r</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;">r</span><span style="color: #DF9F9F;"> </span><span style="color: #E59999;">Z</span><span style="color: #EC9393;">e</span><span style="color: #F28C8C;">i</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">?</span> <span style="color: #FF8080;">H</span><span style="color: #F98585;">ö</span><span style="color: #F38B8B;">r</span><span style="color: #ED9191;">s</span><span style="color: #E89797;">t</span><span style="color: #E29D9D;"> </span><span style="color: #DCA2A2;">d</span><span style="color: #D6A8A8;">u</span><span style="color: #D1AEAE;"> </span><span style="color: #CBB4B4;">g</span><span style="color: #C5BABA;">a</span><span style="color: #BFC0C0;">r die Stimmen und das Wehklagen all jener, die der Legende nach hier ihren Tod gefun<span style="color: #C0C0C0;">d</span><span style="color: #C6B9B9;">e</span><span style="color: #CCB3B3;">n</span><span style="color: #D2ACAC;"> </span><span style="color: #D9A6A6;">h</span><span style="color: #DF9F9F;">a</span><span style="color: #E59999;">t</span><span style="color: #EC9393;">t</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">?</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">u</span><span style="color: #F48A8A;"> </span><span style="color: #EF8F8F;">w</span><span style="color: #EA9595;">e</span><span style="color: #E49A9A;">i</span><span style="color: #DF9F9F;">ß</span><span style="color: #DAA5A5;">t</span><span style="color: #D5AAAA;"> </span><span style="color: #CFAFAF;">e</span><span style="color: #CAB5B5;">s</span><span style="color: #C5BABA;"> </span><span style="color: #C0BFBF;">nicht und wahrscheinlich willst du es auch gar nich<span style="color: #C0C0C0;">t</span><span style="color: #C6B9B9;"> </span><span style="color: #CCB3B3;">w</span><span style="color: #D2ACAC;">i</span><span style="color: #D9A6A6;">s</span><span style="color: #DF9F9F;">s</span><span style="color: #E59999;">e</span><span style="color: #EC9393;">n</span><span style="color: #F28C8C;">.</span><span style="color: #F88686;">.</span><span style="color: #FE7F7F;">.`n`n

        <span style="color: #FF8080;">M</span><span style="color: #F98585;">i</span><span style="color: #F38B8B;">t</span><span style="color: #ED9191;">t</span><span style="color: #E89797;">e</span><span style="color: #E29D9D;">n</span><span style="color: #DCA2A2;"> </span><span style="color: #D6A8A8;">a</span><span style="color: #D1AEAE;">u</span><span style="color: #CBB4B4;">f</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">dem Feld, in verschwommener Entfernung, ragt ein Gebäude auf, von dem du zu wissen glaubst, dass es in der Welt der Lebenden nicht <span style="color: #C0C0C0;">e</span><span style="color: #C7B8B8;">x</span><span style="color: #CEB1B1;">i</span><span style="color: #D5AAAA;">s</span><span style="color: #DCA3A3;">t</span><span style="color: #E39C9C;">i</span><span style="color: #EA9595;">e</span><span style="color: #F18E8E;">r</span><span style="color: #F88787;">t</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">W</span><span style="color: #F98585;">e</span><span style="color: #F38B8B;">n</span><span style="color: #ED9191;">n</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">d</span><span style="color: #DCA2A2;">u</span><span style="color: #D6A8A8;"> </span><span style="color: #D1AEAE;">d</span><span style="color: #CBB4B4;">i</span><span style="color: #C5BABA;">c</span><span style="color: #BFC0C0;">h näherst, wirst du bald erkennen, dass es sich um eine Art Mausoleum aus schwarzem Ste<span style="color: #C0C0C0;">i</span><span style="color: #C6B9B9;">n</span><span style="color: #CCB3B3;"> </span><span style="color: #D2ACAC;">h</span><span style="color: #D9A6A6;">a</span><span style="color: #DF9F9F;">n</span><span style="color: #E59999;">d</span><span style="color: #EC9393;">e</span><span style="color: #F28C8C;">l</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">e</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">K</span><span style="color: #DFA0A0;">o</span><span style="color: #D9A6A6;">n</span><span style="color: #D2ACAC;">t</span><span style="color: #CCB3B3;">u</span><span style="color: #C6B9B9;">r</span><span style="color: #C0C0C0;">en scheinen beständig zu verschwimmen. Ein unheimliches <span style="color: #C0C0C0;">G</span><span style="color: #C7B8B8;">e</span><span style="color: #CEB1B1;">b</span><span style="color: #D5AAAA;">i</span><span style="color: #DCA3A3;">l</span><span style="color: #E39C9C;">d</span><span style="color: #EA9595;">e</span><span style="color: #F18E8E;">.</span><span style="color: #F88787;">.</span><span style="color: #FF8080;">.</span>`n`n

        <span style="color: #FF8080;">H</span><span style="color: #F98585;">i</span><span style="color: #F38B8B;">e</span><span style="color: #ED9191;">r</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">i</span><span style="color: #DCA2A2;">m</span><span style="color: #D6A8A8;"> </span><span style="color: #D1AEAE;">G</span><span style="color: #CBB4B4;">e</span><span style="color: #C5BABA;">i</span><span style="color: #BFC0C0;">sterreich ist selbst das Feld der Stille nur ein Schatten sei<span style="color: #C0C0C0;">n</span><span style="color: #C6B9B9;">e</span><span style="color: #CCB3B3;">r</span><span style="color: #D2ACAC;"> </span><span style="color: #D9A6A6;">s</span><span style="color: #DF9F9F;">e</span><span style="color: #E59999;">l</span><span style="color: #EC9393;">b</span><span style="color: #F28C8C;">s</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">E</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">n</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">u</span><span style="color: #DFA0A0;">n</span><span style="color: #D9A6A6;">a</span><span style="color: #D2ACAC;">n</span><span style="color: #CCB3B3;">g</span><span style="color: #C6B9B9;">e</span><span style="color: #C0C0C0;">nehmer, sehr unangene<span style="color: #C0C0C0;">h</span><span style="color: #C6B9B9;">m</span><span style="color: #CCB3B3;">e</span><span style="color: #D2ACAC;">r</span><span style="color: #D9A6A6;"> </span><span style="color: #DF9F9F;">O</span><span style="color: #E59999;">r</span><span style="color: #EC9393;">t</span><span style="color: #F28C8C;">.</span><span style="color: #F88686;">.</span><span style="color: #FE7F7F;">.</span>`0'
,true);

    if (
$session['user']['acctid']==getsetting('hasegg',0))
    
addnav('`%Benutze das Goldene Ei`0','newday.php?resurrection=egg');

    
addnav('Suche...');
    
addnav('Q?... etwas zum Quälen','graveyard.php?op=search');
    
addnav('M?... das Mausoleum auf','graveyard.php?op=enter');

    
addnav('Treibe dein Unwesen...');
    
addnav('B?... in der Bewohnerliste','list.php');
    
addnav('R?... in der Ruhmeshalle','hof.php');
    
addnav('N?... in den Neuigkeiten','news.php');
    
    
viewcommentary('Geisterreich','<span style="color: #FF8080;">D</span><span style="color: #F88686;">e</span><span style="color: #F28C8C;">i</span><span style="color: #EC9393;">n</span><span style="color: #E59999;"> </span><span style="color: #DFA0A0;">W</span><span style="color: #D9A6A6;">e</span><span style="color: #D2ACAC;">h</span><span style="color: #CCB3B3;">k</span><span style="color: #C6B9B9;">l</span><span style="color: #C0C0C0;">agen ander<span style="color: #C0C0C0;">e</span><span style="color: #C6B9B9;">n</span><span style="color: #CCB3B3;"> </span><span style="color: #D2ACAC;">k</span><span style="color: #D9A6A6;">u</span><span style="color: #DF9F9F;">n</span><span style="color: #E59999;">d</span><span style="color: #EC9393;">t</span><span style="color: #F28C8C;">u</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">:</span>',10,'wehklagt',true);
}

if (
$_GET['op']=='search')
{
    if (
$session['user']['gravefights']<=0)
    {
        
output('`n`c<span style="color: #FF8080;">D</span><span style="color: #F98585;">e</span><span style="color: #F38B8B;">i</span><span style="color: #ED9191;">n</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">G</span><span style="color: #DCA2A2;">e</span><span style="color: #D6A8A8;">i</span><span style="color: #D1AEAE;">s</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">ist zu erschöpft, um noch weitere Seele<span style="color: #C0C0C0;">n</span><span style="color: #C5BABA;"> </span><span style="color: #CBB4B4;">z</span><span style="color: #D1AEAE;">u</span><span style="color: #D6A8A8;"> </span><span style="color: #DCA2A2;">q</span><span style="color: #E29D9D;">u</span><span style="color: #E89797;">ä</span><span style="color: #ED9191;">l</span><span style="color: #F38B8B;">e</span><span style="color: #F98585;">n</span><span style="color: #FF7F7F;">.</span>`c',true);
        
        if (
$session['user']['acctid']==getsetting('hasegg',0))
        
addnav('`%Benutze das Goldene Ei`0','newday.php?resurrection=egg');
        
        
addnav('Suche...');
        
addnav('Q?... etwas zum Quälen','graveyard.php?op=search');
        
addnav('M?... das Mausoleum auf','graveyard.php?op=enter');

        
addnav('Treibe dein Unwesen...');
        
addnav('B?... in der Bewohnerliste','list.php');
        
addnav('R?... in der Ruhmeshalle','hof.php');
        
addnav('N?... in den Neuigkeiten','news.php');
    }
    
    else
    {
        
$session['user']['gravefights']--;
          
$battle=true;
          
$sql "SELECT * FROM creatures WHERE location=1 ORDER BY rand(".e_rand().") LIMIT 1";
        
$result db_query($sql) or die(db_error(LINK));
        
$badguy db_fetch_assoc($result);
        
$level $session['user']['level'];
        
$shift 0;
        
        if (
$level 5
        
$shift = -1;
        
        
$badguy['creatureattack'] = $shift + (int)(($level-1) * 1.5);
        
        
// Make graveyard creatures easier.
        
$badguy['creaturedefense'] = (int)(($shift + (($level-1) * 1.5)) * .7);
        
$badguy['creaturehealth'] = $level 50;
        
$badguy['creatureexp'] = e_rand(10 round($level/3),20 round($level/3));
        
$badguy['creaturelevel'] = $level;        
        
$session['user']['badguy']=createstring($badguy);
    }
}

if (
$_GET['op']=='fight' || $_GET['op']=='run')
{
    if (
$_GET['op']=='run')
    {
        if (
e_rand(0,2)==1)
        {
            
output('`pRamius`& verflucht dich für deine Feigheit.`n');

            
$favor e_rand(0$session['user']['level']);

            if (
$favor $session['user']['deathpower'])
            
$favor $session['user']['deathpower'];

            if (
$favor 0)
            {
                
output('`&Du hast `%'.$favor.'`& Gefallen bei `pRamius `&verloren.`0');

                
$session['user']['deathpower']-=$favor;
            }

            
addnav('Zurück');
            
addnav('G?ins Geisterreich','graveyard.php');

            
$session['user']['reputation']--;
        }

        else
        {
            
output('`$`n`i`b`cDu hast es nicht geschafft, vor deinem Gegner zu fliehen!`c`b`i`n`0');            
            
$battle=true;
        }
    } 
    
    else 
    {
$battle true;}
}

if (
$battle)
{
    
//make some adjustments to the user to put them on mostly even ground with the undead guy.
    
$originalhitpoints $session['user']['hitpoints'];
    
$session['user']['hitpoints'] = $session['user']['soulpoints'];
    
$originalattack $session['user']['attack'];
    
$originaldefense $session['user']['defence'];
    
$session['user']['attack'] = 10 round(($session['user']['level'] - 1) * 1.5);
    
$session['user']['defence'] = 10 round(($session['user']['level'] - 1) * 1.5);
    include(
'battle.php');
    
    
//reverse those adjustments, battle calculations are over.
    
$session['user']['attack'] = $originalattack;
    
$session['user']['defence'] = $originaldefense;
    
$session['user']['soulpoints'] = $session['user']['hitpoints'];
    
$session['user']['hitpoints'] = $originalhitpoints;
    
    if (
$victory
    {
        
output('`b`&'.$badguy['creaturelose'].'`0`b`n`n');
        
output('`b`6Du hast '.$badguy['creaturename'].' `6erniedrigt!`n
                Du steigst in des Seelenhäschers Gunst um `%'
.$badguy['creatureexp'].' `6Gefallen!`b`0');

        
$session['user']['deathpower']+=$badguy['creatureexp'];
        
$badguy=array();

        if (
$session['user']['acctid']==getsetting('hasegg',0))
        
addnav('`%Benutze das Goldene Ei`0','newday.php?resurrection=egg');

        
addnav('Suche...');

        if (
e_rand(1,10)==3)
        
addnav('G?... den Geisterlöser','styx.php');
    
        
addnav('Q?... etwas zum Quälen','graveyard.php?op=search');
        
addnav('M?... das Mausoleum auf','graveyard.php?op=enter');

        
addnav('Treibe dein Unwesen...');
        
addnav('B?... in der Bewohnerliste','list.php');
        
addnav('R?... in der Ruhmeshalle','hof.php');
        
addnav('N?... in den Neuigkeiten','news.php');
    }
    
    else
    {
        if (
$defeat)
        {
            
$sql 'SELECT taunt FROM taunts ORDER BY rand('.e_rand().') LIMIT 1';
            
$result db_query($sql) or die(db_error(LINK));
            
$taunt db_fetch_assoc($result);
            
$taunt str_replace('%s',($session['user']['sex']?'sie':'ihn'),$taunt['taunt']);
            
$taunt str_replace('%o',($session['user']['sex']?'sie':'er'),$taunt);
            
$taunt str_replace('%p',($session['user']['sex']?'ihre(m/r)':'seine(r/m)'),$taunt);
            
$taunt str_replace('%x',($session['user']['weapon']),$taunt);
            
$taunt str_replace('%X',$badguy['creatureweapon'],$taunt);
            
$taunt str_replace('%W',$badguy['creaturename'],$taunt);
            
$taunt str_replace('%w',$session['user']['name'],$taunt);
            
            
addnews('`o'.$session['user']['name'].'`o wurde auf dem Friedhof von `$'.$badguy['creaturename'].' `oerniedrigt.`n
                     '
.$taunt.'');

            
output('`n`b`lDu wurdest von `$'.$badguy['creaturename'].' `lerniedrigt!`n
                    Du kannst heute keine weiteren Seelen mehr quälen.'
);

            
$session['user']['donation']+=1;
            
$session['user']['gravefights']=0;

            
addnav('Zurück');
            
addnav('G?ins Geisterreich','graveyard.php');
        }
        
        else
        {
            
addnav('Q?Quälen','graveyard.php?op=fight');
            
addnav('F?Fliehen','graveyard.php?op=run');

            if (
getsetting('autofight',0))
            {
                
addnav('Quäle automatisch...');
                
addnav('5?... 5 Runden lang','graveyard.php?op=fight&auto=five');
                
addnav('E?... bis zum bitteren Ende','graveyard.php?op=fight&auto=full');
            }
        }
    }
}

elseif (
$_GET['op']=='enter')
{
    
output('`n`c`b<span style="color: #FF8080;">D</span><span style="color: #F48A8A;">a</span><span style="color: #EA9595;">s</span><span style="color: #DF9F9F;"> </span><span style="color: #D5AAAA;">M</span><span style="color: #CAB5B5;">a</span><span style="color: #C0BFBF;">u</span><span style="color: #C0C0C0;">s</span><span style="color: #CCB3B3;">o</span><span style="color: #D9A6A6;">l</span><span style="color: #E59999;">e</span><span style="color: #F28C8C;">u</span><span style="color: #FE7F7F;">m</span>`b`c<br />',true);
    
// = "Das Mausoleum"
    
    
output('<span style="color: #FF8080;">D</span><span style="color: #F98585;">u</span><span style="color: #F38B8B;"> </span><span style="color: #ED9191;">w</span><span style="color: #E89797;">a</span><span style="color: #E29D9D;">g</span><span style="color: #DCA2A2;">s</span><span style="color: #D6A8A8;">t</span><span style="color: #D1AEAE;"> </span><span style="color: #CBB4B4;">e</span><span style="color: #C5BABA;">s</span><span style="color: #BFC0C0;">, das schwarze, ständig flimmernde Gebäude z<span style="color: #C0C0C0;">u</span><span style="color: #C6B9B9;"> </span><span style="color: #CCB3B3;">b</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;">t</span><span style="color: #DF9F9F;">r</span><span style="color: #E59999;">e</span><span style="color: #EC9393;">t</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">u</span><span style="color: #F38B8B;"> </span><span style="color: #ED9191;">h</span><span style="color: #E89797;">ä</span><span style="color: #E29D9D;">t</span><span style="color: #DCA2A2;">t</span><span style="color: #D6A8A8;">e</span><span style="color: #D1AEAE;">s</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">eigentlich mehr erwartet, aber du findest lediglich einen einzigen Raum vor, der etwas in die Länge gezogen ist und gerade mal 6 Schritte in die Länge, 3 Schritte in die Br<span style="color: #C0C0C0;">e</span><span style="color: #C6B9B9;">i</span><span style="color: #CCB3B3;">t</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;"> </span><span style="color: #DF9F9F;">m</span><span style="color: #E59999;">i</span><span style="color: #EC9393;">s</span><span style="color: #F28C8C;">s</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">A</span><span style="color: #F88686;">n</span><span style="color: #F28C8C;">s</span><span style="color: #EC9393;">o</span><span style="color: #E59999;">n</span><span style="color: #DFA0A0;">s</span><span style="color: #D9A6A6;">t</span><span style="color: #D2ACAC;">e</span><span style="color: #CCB3B3;">n</span><span style="color: #C6B9B9;"> </span><span style="color: #C0C0C0;">sind die Wände dieses seltsamen Mausoleums schlicht u<span style="color: #C0C0C0;">n</span><span style="color: #C6B9B9;">d</span><span style="color: #CCB3B3;"> </span><span style="color: #D2ACAC;">s</span><span style="color: #D9A6A6;">c</span><span style="color: #DF9F9F;">h</span><span style="color: #E59999;">w</span><span style="color: #EC9393;">a</span><span style="color: #F28C8C;">r</span><span style="color: #F88686;">z</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">U</span><span style="color: #F98585;">n</span><span style="color: #F38B8B;">d</span><span style="color: #ED9191;"> </span><span style="color: #E89797;">e</span><span style="color: #E29D9D;">s</span><span style="color: #DCA2A2;"> </span><span style="color: #D6A8A8;">i</span><span style="color: #D1AEAE;">s</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;">.</span><span style="color: #BFC0C0;">.. irgen<span style="color: #C0C0C0;">d</span><span style="color: #C6B9B9;">w</span><span style="color: #CCB3B3;">i</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;"> </span><span style="color: #DF9F9F;">e</span><span style="color: #E59999;">i</span><span style="color: #EC9393;">s</span><span style="color: #F28C8C;">i</span><span style="color: #F88686;">g</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">a</span><span style="color: #F38B8B;">s</span><span style="color: #ED9191;"> </span><span style="color: #E89797;">e</span><span style="color: #E29D9D;">i</span><span style="color: #DCA2A2;">n</span><span style="color: #D6A8A8;">z</span><span style="color: #D1AEAE;">i</span><span style="color: #CBB4B4;">g</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">Interessante schwebt mittig auf Augenhöhe am Ende des Raumes: es sieht aus wie ein Irrlicht und vielleicht ist es <span style="color: #C0C0C0;">a</span><span style="color: #C6B9B9;">u</span><span style="color: #CCB3B3;">c</span><span style="color: #D2ACAC;">h</span><span style="color: #D9A6A6;"> </span><span style="color: #DF9F9F;">e</span><span style="color: #E59999;">i</span><span style="color: #EC9393;">n</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">s</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">E</span><span style="color: #F98585;">s</span><span style="color: #F48A8A;"> </span><span style="color: #EF8F8F;">h</span><span style="color: #EA9595;">a</span><span style="color: #E49A9A;">t</span><span style="color: #DF9F9F;"> </span><span style="color: #DAA5A5;">d</span><span style="color: #D5AAAA;">i</span><span style="color: #CFAFAF;">e</span><span style="color: #CAB5B5;"> </span><span style="color: #C5BABA;">G</span><span style="color: #C0BFBF;">röße eines Kinderkopfes und schwebt leich<span style="color: #C0C0C0;">t</span><span style="color: #C5BABA;"> </span><span style="color: #CAB5B5;">a</span><span style="color: #CFB0B0;">u</span><span style="color: #D5AAAA;">f</span><span style="color: #DAA5A5;"> </span><span style="color: #DFA0A0;">u</span><span style="color: #E49A9A;">n</span><span style="color: #EA9595;">d</span><span style="color: #EF9090;"> </span><span style="color: #F48A8A;">a</span><span style="color: #F98585;">b</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">a</span><span style="color: #F38B8B;">s</span><span style="color: #ED9191;"> </span><span style="color: #E89797;">L</span><span style="color: #E29D9D;">i</span><span style="color: #DCA2A2;">c</span><span style="color: #D6A8A8;">h</span><span style="color: #D1AEAE;">t</span><span style="color: #CBB4B4;">,</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">das es abstrahlt, wirkt aber irgendwie düster und du fühlst dich auf seltsame Art zu ihm h<span style="color: #C0C0C0;">i</span><span style="color: #C7B8B8;">n</span><span style="color: #CEB1B1;">g</span><span style="color: #D5AAAA;">e</span><span style="color: #DCA3A3;">z</span><span style="color: #E39C9C;">o</span><span style="color: #EA9595;">g</span><span style="color: #F18E8E;">e</span><span style="color: #F88787;">n</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">G</span><span style="color: #F88787;">l</span><span style="color: #F18E8E;">e</span><span style="color: #EA9595;">i</span><span style="color: #E39C9C;">c</span><span style="color: #DCA3A3;">h</span><span style="color: #D5AAAA;">z</span><span style="color: #CEB1B1;">e</span><span style="color: #C7B8B8;">i</span><span style="color: #C0BFBF;">tig weißt du, dass du dich dieser Lichtkugel nicht wirklich näher<span style="color: #C0C0C0;">n</span><span style="color: #C6B9B9;"> </span><span style="color: #CCB3B3;">s</span><span style="color: #D2ACAC;">o</span><span style="color: #D9A6A6;">l</span><span style="color: #DF9F9F;">l</span><span style="color: #E59999;">t</span><span style="color: #EC9393;">e</span><span style="color: #F28C8C;">s</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">.</span>`n`n
            
            `l"Du siehst mich, du siehst mich nicht"<span style="color: #C0BFBF;">, dröhnt dir eine mehrstimmige Stimm<span style="color: #C0C0C0;">e</span><span style="color: #C6B9B9;"> </span><span style="color: #CCB3B3;">e</span><span style="color: #D2ACAC;">n</span><span style="color: #D9A6A6;">t</span><span style="color: #DF9F9F;">g</span><span style="color: #E59999;">e</span><span style="color: #EC9393;">g</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">i</span><span style="color: #F38B8B;">r</span><span style="color: #ED9191;"> </span><span style="color: #E89797;">l</span><span style="color: #E29D9D;">ä</span><span style="color: #DCA2A2;">u</span><span style="color: #D6A8A8;">f</span><span style="color: #D1AEAE;">t</span><span style="color: #CBB4B4;"> </span><span style="color: #C5BABA;">e</span><span style="color: #BFC0C0;">in Schauer über <span style="color: #C0C0C0;">d</span><span style="color: #C6B9B9;">e</span><span style="color: #CCB3B3;">n</span><span style="color: #D2ACAC;"> </span><span style="color: #D9A6A6;">R</span><span style="color: #DF9F9F;">ü</span><span style="color: #E59999;">c</span><span style="color: #EC9393;">k</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">.</span> `l"Meine wahre Gestalt siehst du nicht, sie würde deinen Geist zersprengen. So siehst du mich nur in dieser Form"<span style="color: #C0BFBF;">, erklärt die L<span style="color: #C0C0C0;">i</span><span style="color: #C7B8B8;">c</span><span style="color: #CEB1B1;">h</span><span style="color: #D5AAAA;">t</span><span style="color: #DCA3A3;">k</span><span style="color: #E39C9C;">u</span><span style="color: #EA9595;">g</span><span style="color: #F18E8E;">e</span><span style="color: #F88787;">l</span><span style="color: #FF8080;">.</span> `l"Ich bin der Seelenhäscher und in diesem Geisterreich ist mein Wille Gesetz..."`n`n
            
            <span style="color: #FF8080;">D</span><span style="color: #F98585;">u</span><span style="color: #F38B8B;"> </span><span style="color: #ED9191;">h</span><span style="color: #E89797;">a</span><span style="color: #E29D9D;">s</span><span style="color: #DCA2A2;">t</span><span style="color: #D6A8A8;"> </span><span style="color: #D1AEAE;">a</span><span style="color: #CBB4B4;">l</span><span style="color: #C5BABA;">s</span><span style="color: #BFC0C0;">o den Seelenhäsc<span style="color: #C0C0C0;">h</span><span style="color: #C5BABA;">e</span><span style="color: #CBB4B4;">r</span><span style="color: #D1AEAE;"> </span><span style="color: #D6A8A8;">v</span><span style="color: #DCA2A2;">o</span><span style="color: #E29D9D;">r</span><span style="color: #E89797;"> </span><span style="color: #ED9191;">d</span><span style="color: #F38B8B;">i</span><span style="color: #F98585;">r</span><span style="color: #FF7F7F;">.</span> <span style="color: #FF8080;">E</span><span style="color: #F98585;">r</span><span style="color: #F38B8B;"> </span><span style="color: #ED9191;">i</span><span style="color: #E89797;">s</span><span style="color: #E29D9D;">t</span><span style="color: #DCA2A2;"> </span><span style="color: #D6A8A8;">g</span><span style="color: #D1AEAE;">l</span><span style="color: #CBB4B4;">e</span><span style="color: #C5BABA;">i</span><span style="color: #BFC0C0;">chzusetzen mit einem waschechten <span style="color: #C0C0C0;">T</span><span style="color: #C7B8B8;">o</span><span style="color: #CEB1B1;">t</span><span style="color: #D5AAAA;">e</span><span style="color: #DCA3A3;">n</span><span style="color: #E39C9C;">g</span><span style="color: #EA9595;">o</span><span style="color: #F18E8E;">t</span><span style="color: #F88787;">t</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">e</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">E</span><span style="color: #DFA0A0;">i</span><span style="color: #D9A6A6;">s</span><span style="color: #D2ACAC;">e</span><span style="color: #CCB3B3;">s</span><span style="color: #C6B9B9;">k</span><span style="color: #C0C0C0;">älte unterwandert dein Be<span style="color: #C0C0C0;">w</span><span style="color: #C7B8B8;">u</span><span style="color: #CEB1B1;">s</span><span style="color: #D5AAAA;">s</span><span style="color: #DCA3A3;">t</span><span style="color: #E39C9C;">s</span><span style="color: #EA9595;">e</span><span style="color: #F18E8E;">i</span><span style="color: #F88787;">n</span><span style="color: #FF8080;">.</span> `l"Manch eine Seele versucht sich aus meinem Griff zu befreien"<span style="color: #C0BFBF;">, säuselt die Mehrsti<span style="color: #C0C0C0;">m</span><span style="color: #C6B9B9;">m</span><span style="color: #CCB3B3;">e</span><span style="color: #D2ACAC;"> </span><span style="color: #D9A6A6;">w</span><span style="color: #DF9F9F;">e</span><span style="color: #E59999;">i</span><span style="color: #EC9393;">t</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">r</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">S</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">e</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">s</span><span style="color: #DFA0A0;">c</span><span style="color: #D9A6A6;">h</span><span style="color: #D2ACAC;">e</span><span style="color: #CCB3B3;">i</span><span style="color: #C6B9B9;">n</span><span style="color: #C0C0C0;">t von überal<span style="color: #C0C0C0;">l</span><span style="color: #C5BABA;"> </span><span style="color: #CBB4B4;">z</span><span style="color: #D1AEAE;">u</span><span style="color: #D6A8A8;"> </span><span style="color: #DCA2A2;">k</span><span style="color: #E29D9D;">o</span><span style="color: #E89797;">m</span><span style="color: #ED9191;">m</span><span style="color: #F38B8B;">e</span><span style="color: #F98585;">n</span><span style="color: #FF7F7F;">.</span> `l"Lehre sie, bestrafe sie, und es soll ein Nachteil dir nicht sein..."`0'
,true);

    
addnav('Seelenwert erfragen','graveyard.php?op=question');
    
    if (
$session['user']['soulpoints']<$max)
    
addnav('W?Wiederherstellung ('.$favortoheal.' Gefallen)','graveyard.php?op=restore');
    
    
addnav('Zurück');
    
addnav('G?ins Geisterreich','graveyard.php');
}

elseif (
$_GET['op']=='restore')
{
    if (
$session['user']['soulpoints']<$max)
    {
        if (
$session['user']['deathpower']>=$favortoheal)
        {
            
output('`l"Du bist schwach"<span style="color: #C0C0C0;">, raunt der Seel<span style="color: #C0C0C0;">e</span><span style="color: #C7B8B8;">n</span><span style="color: #CEB1B1;">h</span><span style="color: #D5AAAA;">ä</span><span style="color: #DCA3A3;">s</span><span style="color: #E39C9C;">c</span><span style="color: #EA9595;">h</span><span style="color: #F18E8E;">e</span><span style="color: #F88787;">r</span><span style="color: #FF8080;">.</span> <span style="color: #FF8080;">A</span><span style="color: #F98585;">b</span><span style="color: #F38B8B;">e</span><span style="color: #ED9191;">r</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">w</span><span style="color: #DCA2A2;">e</span><span style="color: #D6A8A8;">i</span><span style="color: #D1AEAE;">l</span><span style="color: #CBB4B4;"> </span><span style="color: #C5BABA;">d</span><span style="color: #BFC0C0;">u genügend Gefallen gesammelt hast, gewährt er dir die Wiederherstellung de<span style="color: #C0C0C0;">i</span><span style="color: #C6B9B9;">n</span><span style="color: #CCB3B3;">e</span><span style="color: #D2ACAC;">r</span><span style="color: #D9A6A6;"> </span><span style="color: #DF9F9F;">S</span><span style="color: #E59999;">e</span><span style="color: #EC9393;">e</span><span style="color: #F28C8C;">l</span><span style="color: #F88686;">e</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">a</span><span style="color: #F38B8B;">s</span><span style="color: #ED9191;"> </span><span style="color: #E89797;">k</span><span style="color: #E29D9D;">o</span><span style="color: #DCA2A2;">s</span><span style="color: #D6A8A8;">t</span><span style="color: #D1AEAE;">e</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">dich <span style="color: #FF8080;">'.$favortoheal.' <span style="color: #BFC0C0;"><span style="color: #C0C0C0;">G</span><span style="color: #C7B8B8;">e</span><span style="color: #CFB0B0;">f</span><span style="color: #D7A8A8;">a</span><span style="color: #DFA0A0;">l</span><span style="color: #E79898;">l</span><span style="color: #EF9090;">e</span><span style="color: #F78888;">n</span><span style="color: #FF8080;">.</span>`0',true);

            
$session['user']['deathpower']-=$favortoheal;
            
$session['user']['soulpoints']=$max;
        }

        else
        {
            
output('Ramius`) verflucht dich und wirft dich aus dem Mausoleum. Du mußt ihm erst genug Gefallen getan haben, bevor er dir die Wiederherstellung deiner Seele gewährt.');
        }
    }

    else
    {
        
output('Ramius`) seufzt und murmelt etwas von \'`7Nur weil sie tot sind, heißt das doch nicht, dass sie nicht zu denken brauchen, oder?`)\'`n`nVielleicht solltest du erstmal eine Wiederherstellung `inötig`i haben, bevor du danach fragst.');
    }

    
addnav('Seelenwert erfragen','graveyard.php?op=question');
    
    
addnav('Zurück');
    
addnav('G?ins Geisterreich','graveyard.php');
}

elseif (
$_GET['op']=='question')
{
    if (
$session['user']['deathpower']>=100
    {
        
output('<span style="color: #FF8080;">D</span><span style="color: #F88686;">u</span><span style="color: #F28C8C;"> </span><span style="color: #EC9393;">m</span><span style="color: #E59999;">ö</span><span style="color: #DFA0A0;">c</span><span style="color: #D9A6A6;">h</span><span style="color: #D2ACAC;">t</span><span style="color: #CCB3B3;">e</span><span style="color: #C6B9B9;">s</span><span style="color: #C0C0C0;">t vom Seelenhäscher gerne erfahren, wie es um seine G<span style="color: #C0C0C0;">u</span><span style="color: #C6B9B9;">n</span><span style="color: #CCB3B3;">s</span><span style="color: #D2ACAC;">t</span><span style="color: #D9A6A6;"> </span><span style="color: #DF9F9F;">s</span><span style="color: #E59999;">t</span><span style="color: #EC9393;">e</span><span style="color: #F28C8C;">h</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">E</span><span style="color: #F88686;">s</span><span style="color: #F28C8C;"> </span><span style="color: #EC9393;">v</span><span style="color: #E59999;">e</span><span style="color: #DFA0A0;">r</span><span style="color: #D9A6A6;">g</span><span style="color: #D2ACAC;">e</span><span style="color: #CCB3B3;">h</span><span style="color: #C6B9B9;">e</span><span style="color: #C0C0C0;">n einige Sekunden, bis die Lichtkugel schließlich mehrstimm<span style="color: #C0C0C0;">i</span><span style="color: #C6B9B9;">g</span><span style="color: #CCB3B3;"> </span><span style="color: #D2ACAC;">s</span><span style="color: #D9A6A6;">ä</span><span style="color: #DF9F9F;">u</span><span style="color: #E59999;">s</span><span style="color: #EC9393;">e</span><span style="color: #F28C8C;">l</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">:</span> `l"Bewiesen hast du dich, Körperlose'.($session['user']['sex']?'':'r').'. Es sei, dass du deinen irdischen Leib wieder zum Leben zu erwecken vermagst..."`0',true);

        
addnav('Gefallen ausgeben für...');
        
        if(
$session['user']['deathpower']>=25)
        {
addnav('... Heimsuchung (25 Gefallen)','graveyard.php?op=haunt');}

        
/*
        if($session['user']['deathpower']>=30)
        {addnav('... RP-Erweckung (30 Gefallen)','rpwiederbeleben.php');}
        */

        
if ($session['user']['reputation']<=-10)
        
output(' Er weist dich noch darauf hin, dass er keinen Einfluss auf das Gedächtnis der Lebenden - und besonders der Händler - hat.');

        if (
$session['user']['reputation']<=-40)
        
output('`n`n\'`7Wegen der Unehrenhaftigkeit deines Lebens kann ich dir nicht erlauben, vorzeitig zu den Lebenden zurückzukehren, obwohl du mir gute Dienste geleistet hast.`)\'');

        if (
$session['user']['reputation']>-40 && $session['user']['deathpower']>=100)
        
addnav('... Erweckung (100 Gefallen)','newday.php?resurrection=true');
        
        if (
$session['user']['deathpower'] >= 200)
        
addnav('... 5 DP (200 Gefallen)','graveyard.php?op=dona');
        
        if (
$session['user']['deathpower'] >= 1)
        
addnav('... Verweildauer (1 Gefallen)','graveyard.php?op=time');
        
        
addnav('Sonstiges');
    }
    
    elseif (
$session['user']['deathpower'] >= 25)
    {
        
output('<span style="color: #FF8080;">E</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">n</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">l</span><span style="color: #DFA0A0;">a</span><span style="color: #D9A6A6;">n</span><span style="color: #D2ACAC;">g</span><span style="color: #CCB3B3;">g</span><span style="color: #C6B9B9;">e</span><span style="color: #C0C0C0;">zogenes Knurren schwebt durch die Luft, als überlege der Seelenhäscher seine näch<span style="color: #C0C0C0;">s</span><span style="color: #C6B9B9;">t</span><span style="color: #CCB3B3;">e</span><span style="color: #D2ACAC;">n</span><span style="color: #D9A6A6;"> </span><span style="color: #DF9F9F;">W</span><span style="color: #E59999;">o</span><span style="color: #EC9393;">r</span><span style="color: #F28C8C;">t</span><span style="color: #F88686;">e</span><span style="color: #FE7F7F;">.</span> `l"Beeindruckt hast du mich bisher nicht wirklich"<span style="color: #C0C0C0;">, raunzt die unheimliche L<span style="color: #C0C0C0;">i</span><span style="color: #C7B8B8;">c</span><span style="color: #CEB1B1;">h</span><span style="color: #D5AAAA;">t</span><span style="color: #DCA3A3;">k</span><span style="color: #E39C9C;">u</span><span style="color: #EA9595;">g</span><span style="color: #F18E8E;">e</span><span style="color: #F88787;">l</span><span style="color: #FF8080;">.</span> `l"Aber ich sehe deine Bemühungen... Einen kleinen Gefallen kann ich dir erweisen. Willst du mehr, bestrafe mehr Seelen."',true);

        
addnav('Gefallen ausgeben für...');
        
addnav('... Heimsuchung (25 Gefallen)','graveyard.php?op=haunt');
        
        
/*
        if($session['user']['deathpower']>=30)
        {addnav('... RP-Erweckung (30 Gefallen)','rpwiederbeleben.php');}
        */
        
        
addnav('Sonstiges');
    }
         
    else
    {
        
output('<span style="color: #FF8080;">E</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">n</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">u</span><span style="color: #DFA0A0;">n</span><span style="color: #D9A6A6;">z</span><span style="color: #D2ACAC;">u</span><span style="color: #CCB3B3;">f</span><span style="color: #C6B9B9;">r</span><span style="color: #C0C0C0;">iedenes Knurren u<span style="color: #C0C0C0;">m</span><span style="color: #C6B9B9;">w</span><span style="color: #CCB3B3;">e</span><span style="color: #D2ACAC;">h</span><span style="color: #D9A6A6;">t</span><span style="color: #DF9F9F;"> </span><span style="color: #E59999;">d</span><span style="color: #EC9393;">i</span><span style="color: #F28C8C;">c</span><span style="color: #F88686;">h</span><span style="color: #FE7F7F;">.</span> `l"Mit deiner Leistung bin ich nicht zufrieden. Erledige meine Aufträge, dann lasse ich möglicherweise mit mir reden..."',true);
    }

    
output('`n`n<span style="color: #FF8080;">D</span><span style="color: #F98585;">u</span><span style="color: #F38B8B;"> </span><span style="color: #ED9191;">h</span><span style="color: #E89797;">a</span><span style="color: #E29D9D;">s</span><span style="color: #DCA2A2;">t</span><span style="color: #D6A8A8;"> </span><span style="color: #D1AEAE;">m</span><span style="color: #CBB4B4;">o</span><span style="color: #C5BABA;">m</span><span style="color: #BFC0C0;">entan <span style="color: #FF8080;">'.$session['user']['deathpower'].' <span style="color: #BFC0C0;">Gefallen beim Seel<span style="color: #C0C0C0;">e</span><span style="color: #C7B8B8;">n</span><span style="color: #CEB1B1;">h</span><span style="color: #D5AAAA;">ä</span><span style="color: #DCA3A3;">s</span><span style="color: #E39C9C;">c</span><span style="color: #EA9595;">h</span><span style="color: #F18E8E;">e</span><span style="color: #F88787;">r</span><span style="color: #FF8080;">.</span>',true);

    
addnav('Seelenwert erfragen','graveyard.php?op=question');
    
    if (
$session['user']['soulpoints']<$max)
    
addnav('W?Wiederherstellung ('.$favortoheal.' Gefallen)','graveyard.php?op=restore');
    
    
addnav('Zurück');
    
addnav('G?ins Geisterreich','graveyard.php');
}

elseif (
$_GET['op']=='dona')
{
    
output('Ramius`) Gelächter lässt den Boden erbeben. \'`7Du verzichtest für ein paar Punkte auf das Leben? Bitte, soll mir nur Recht sein.`)\' Mit diesen Worten gibt er deiner Bitte nach.`nDu bekommst 5 Donationpoints.');

    
$session['user']['deathpower']-=200;
    
$session['user']['donation']+=5;
    
    
addnav('Zurück...');
    
addnav('M?... ins Mausoleum','graveyard.php?op=enter');
    
addnav('G?... ins Geisterreich','graveyard.php');
}

elseif (
$_GET['op']=='time')
{
    
$time gametime();
    
$tomorrow strtotime(date("Y-m-d H:i:s",$time)." + 1 day");
    
$tomorrow strtotime(date("Y-m-d 00:00:00",$tomorrow));
    
$secstotomorrow $tomorrow-$time;
    
$realsecstotomorrow $secstotomorrow getsetting("daysperday",4);
    
    
output('<span style="color: #FF8080;">E</span><span style="color: #F88686;">t</span><span style="color: #F28C8C;">w</span><span style="color: #EC9393;">a</span><span style="color: #E59999;">s</span><span style="color: #DFA0A0;"> </span><span style="color: #D9A6A6;">e</span><span style="color: #D2ACAC;">i</span><span style="color: #CCB3B3;">n</span><span style="color: #C6B9B9;">g</span><span style="color: #C0C0C0;">eschüchtert fragst du den Seelenhäscher, wie lange dein Geist noch im Geisterreich verw<span style="color: #C0C0C0;">e</span><span style="color: #C6B9B9;">i</span><span style="color: #CCB3B3;">l</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;">n</span><span style="color: #DF9F9F;"> </span><span style="color: #E59999;">m</span><span style="color: #EC9393;">u</span><span style="color: #F28C8C;">s</span><span style="color: #F88686;">s</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">E</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">n</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">g</span><span style="color: #DFA0A0;">e</span><span style="color: #D9A6A6;">h</span><span style="color: #D2ACAC;">ä</span><span style="color: #CCB3B3;">s</span><span style="color: #C6B9B9;">s</span><span style="color: #C0C0C0;">iges, mehrstimmiges Lachen hallt durch deinen Kopf, bis du die Antwor<span style="color: #C0C0C0;">t</span><span style="color: #C6B9B9;"> </span><span style="color: #CCB3B3;">e</span><span style="color: #D2ACAC;">r</span><span style="color: #D9A6A6;">h</span><span style="color: #DF9F9F;">ä</span><span style="color: #E59999;">l</span><span style="color: #EC9393;">t</span><span style="color: #F28C8C;">s</span><span style="color: #F88686;">t</span><span style="color: #FE7F7F;">:</span> `l"Bist du zu feige, Seelen für mich zu quälen, wirst du noch <span style="color: #FE7F7F;">'.date('G\\h, i\\m, s\\s',strtotime('1980-01-01 00:00:00 + '.$realsecstotomorrow.' seconds')).' `lausharren müssen..."</span>',true);

    
$session['user']['deathpower']-=1;
    
    
addnav('Zurück...');
    
addnav('M?... ins Mausoleum','graveyard.php?op=enter');
    
addnav('G?... ins Geisterreich','graveyard.php');
}

elseif (
$_GET['op']=='haunt')
{
    
output('<span style="color: #FF8080;">D</span><span style="color: #F88686;">u</span><span style="color: #F28C8C;"> </span><span style="color: #EC9393;">e</span><span style="color: #E59999;">r</span><span style="color: #DFA0A0;">k</span><span style="color: #D9A6A6;">l</span><span style="color: #D2ACAC;">ä</span><span style="color: #CCB3B3;">r</span><span style="color: #C6B9B9;">s</span><span style="color: #C0C0C0;">t dem Seelenhäscher deinen Wunsch, ein Wesen aus der irdischen Welt heimsuche<span style="color: #C0C0C0;">n</span><span style="color: #C5BABA;"> </span><span style="color: #CBB4B4;">z</span><span style="color: #D1AEAE;">u</span><span style="color: #D6A8A8;"> </span><span style="color: #DCA2A2;">w</span><span style="color: #E29D9D;">o</span><span style="color: #E89797;">l</span><span style="color: #ED9191;">l</span><span style="color: #F38B8B;">e</span><span style="color: #F98585;">n</span><span style="color: #FF7F7F;">.</span> <span style="color: #FF8080;">E</span><span style="color: #F88787;">i</span><span style="color: #F18E8E;">g</span><span style="color: #EA9595;">e</span><span style="color: #E39C9C;">n</span><span style="color: #DCA3A3;">t</span><span style="color: #D5AAAA;">l</span><span style="color: #CEB1B1;">i</span><span style="color: #C7B8B8;">c</span><span style="color: #C0BFBF;">h kann man das an einer Lichtkugel ja nicht sehen, aber dir scheint es fast, als zeige sie ein gehässig<span style="color: #C0C0C0;">e</span><span style="color: #C6B9B9;">s</span><span style="color: #CCB3B3;"> </span><span style="color: #D2ACAC;">G</span><span style="color: #D9A6A6;">r</span><span style="color: #DF9F9F;">i</span><span style="color: #E59999;">n</span><span style="color: #EC9393;">s</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">.</span> `l"Sage mir, wer dein Opfer sein soll"<span style="color: #C0C0C0;">, fordert dich der Seelenhäscher in eisiger Mehrstimm<span style="color: #C0C0C0;">i</span><span style="color: #C6B9B9;">g</span><span style="color: #CCB3B3;">k</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;">i</span><span style="color: #DF9F9F;">t</span><span style="color: #E59999;"> </span><span style="color: #EC9393;">a</span><span style="color: #F28C8C;">u</span><span style="color: #F88686;">f</span><span style="color: #FE7F7F;">.</span>`n`n`0',true);
    
    
output('<form action="graveyard.php?op=haunt2" method="POST">',true);

    
addnav('','graveyard.php?op=haunt2');

    
output('<span style="color: #FF8080;">D</span><span style="color: #F98585;">e</span><span style="color: #F38B8B;">i</span><span style="color: #ED9191;">n</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">O</span><span style="color: #DCA2A2;">p</span><span style="color: #D6A8A8;">f</span><span style="color: #D1AEAE;">e</span><span style="color: #CBB4B4;">r</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">soll sein: <input name="name" id="name"> <input type="submit" class="button" style="cursor: pointer;" value="Suchen">',true);
    
    
output('</form>',true);
    
output('<script language="JavaScript">document.getElementById("name").focus()</script>',true);
    
    
addnav('Zurück...');
    
addnav('M?... ins Mausoleum','graveyard.php?op=enter');
}

elseif (
$_GET['op']=="haunt2")
{
    
$string="%";
    
    for (
$x=0;$x<strlen($_POST['name']);$x++)
    {
$string .= substr($_POST['name'],$x,1)."%";}
    
    
$sql "SELECT login,name,level FROM accounts WHERE name LIKE '".addslashes($string)."' AND locked=0 ORDER BY level,login";
    
$result db_query($sql);
    
    if (
db_num_rows($result)<=0)
    {
        
output('<span style="color: #FF8080;">D</span><span style="color: #F88686;">e</span><span style="color: #F28C8C;">r</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">S</span><span style="color: #DFA0A0;">e</span><span style="color: #D9A6A6;">e</span><span style="color: #D2ACAC;">l</span><span style="color: #CCB3B3;">e</span><span style="color: #C6B9B9;">n</span><span style="color: #C0C0C0;">häscher schweigt einig<span style="color: #C0C0C0;">e</span><span style="color: #C6B9B9;"> </span><span style="color: #CCB3B3;">S</span><span style="color: #D2ACAC;">e</span><span style="color: #D9A6A6;">k</span><span style="color: #DF9F9F;">u</span><span style="color: #E59999;">n</span><span style="color: #EC9393;">d</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F98585;">a</span><span style="color: #F38B8B;">n</span><span style="color: #ED9191;">n</span><span style="color: #E89797;"> </span><span style="color: #E29D9D;">l</span><span style="color: #DCA2A2;">ä</span><span style="color: #D6A8A8;">s</span><span style="color: #D1AEAE;">s</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">er d<span style="color: #C0C0C0;">i</span><span style="color: #C6B9B9;">c</span><span style="color: #CCB3B3;">h</span><span style="color: #D2ACAC;"> </span><span style="color: #D9A6A6;">w</span><span style="color: #DF9F9F;">i</span><span style="color: #E59999;">s</span><span style="color: #EC9393;">s</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">:</span> `l"Ein irdisches Wesen mit diesem Namen kann ich nicht ausfindig machen."',true);
    }
    
    elseif(
db_num_rows($result)>100)
    {
        
output("Ramius`) denkt, du solltest die Zahl derer, die du heimsuchen willst, etwas einschränken.");
        
output("<form action='graveyard.php?op=haunt2' method='POST'>",true);
        
        
addnav("","graveyard.php?op=haunt2");
        
        
output("Wen willst du heimsuchen? <input name='name' id='name'> <input type='submit' class='button' value='Suchen'>",true);
        
output("</form>",true);
        
output("<script language='JavaScript'>document.getElementById('name').focus()</script>",true);
    }
    
    else
    {
        
output('`c<span style="color: #FF8080;">E</span><span style="color: #F88686;">i</span><span style="color: #F28C8C;">n</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">z</span><span style="color: #DFA0A0;">u</span><span style="color: #D9A6A6;">f</span><span style="color: #D2ACAC;">r</span><span style="color: #CCB3B3;">i</span><span style="color: #C6B9B9;">e</span><span style="color: #C0C0C0;">denes Seufzen weht di<span style="color: #C0C0C0;">r</span><span style="color: #C6B9B9;"> </span><span style="color: #CCB3B3;">e</span><span style="color: #D2ACAC;">n</span><span style="color: #D9A6A6;">t</span><span style="color: #DF9F9F;">g</span><span style="color: #E59999;">e</span><span style="color: #EC9393;">g</span><span style="color: #F28C8C;">e</span><span style="color: #F88686;">n</span><span style="color: #FE7F7F;">.</span> <span style="color: #FF8080;">D</span><span style="color: #F88686;">e</span><span style="color: #F28C8C;">r</span><span style="color: #EC9393;"> </span><span style="color: #E59999;">S</span><span style="color: #DFA0A0;">e</span><span style="color: #D9A6A6;">e</span><span style="color: #D2ACAC;">l</span><span style="color: #CCB3B3;">e</span><span style="color: #C6B9B9;">n</span><span style="color: #C0C0C0;">häscher gibt dir folgende Auswahl zur He<span style="color: #C0C0C0;">i</span><span style="color: #C7B8B8;">m</span><span style="color: #CEB1B1;">s</span><span style="color: #D5AAAA;">u</span><span style="color: #DCA3A3;">c</span><span style="color: #E39C9C;">h</span><span style="color: #EA9595;">u</span><span style="color: #F18E8E;">n</span><span style="color: #F88787;">g</span><span style="color: #FF8080;">:</span>`c`n`n`0',true);
        
        
output('<table align="center" cellpadding="3" cellspacing="3" bgcolor="transparent"><tr class="trhead">',true);
        
output('<td>Name</td>
                <td>`cLevel`c</td></tr>'
,true);
        
        for (
$i=0;$i<db_num_rows($result);$i++)
        {
            
$row db_fetch_assoc($result);
            
            
output('<tr>
                    <td><a href="graveyard.php?op=haunt3&name='
.HTMLEntities($row['login']).'">`$',true);
            
output($row['name']);
            
output('</a></td><td>`c',true);
            
output($row['level']);
            
output('`c</td></tr>',true);

            
addnav('','graveyard.php?op=haunt3&name='.HTMLEntities($row['login']));
        }
        
        
output('</table>',true);
    }

    
addnav('Seelenwert erfragen','graveyard.php?op=question');
    
    if (
$session['user']['soulpoints']<$max)
    
addnav('W?Wiederherstellung ('.$favortoheal.' Gefallen)','graveyard.php?op=restore');
    
    
addnav('Zurück');
    
addnav('M?ins Mausoleum','graveyard.php?op=enter');
}

elseif (
$_GET['op']=='haunt3')
{
    
$sql 'SELECT name,level,hauntedby,acctid FROM accounts WHERE login="'.$_GET['name'].'"';
    
$result db_query($sql);

    if (
db_num_rows($result)>0)
    {
        
$row db_fetch_assoc($result);
        
        if (
$row['hauntedby']!='')
        {
output('Diese Person wurde bereits heimgesucht. Wähle eine andere');}
        
        else
        {
            
$session['user']['deathpower']-=25;
            
$roll1 e_rand(0,$row['level']);
            
$roll2 e_rand(0,$session['user']['level']);
            
            if (
$roll2>$roll1)
            {
                
output('<span style="color: #FF8080;">W</span><span style="color: #F98585;">e</span><span style="color: #F38B8B;">l</span><span style="color: #ED9191;">c</span><span style="color: #E89797;">h</span><span style="color: #E29D9D;"> </span><span style="color: #DCA2A2;">b</span><span style="color: #D6A8A8;">ö</span><span style="color: #D1AEAE;">s</span><span style="color: #CBB4B4;">e</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">Freude: Du hast `l'.$row['name'].' <span style="color: #BFC0C0;">erfolgreich he<span style="color: #C0C0C0;">i</span><span style="color: #C7B8B8;">m</span><span style="color: #CEB1B1;">g</span><span style="color: #D5AAAA;">e</span><span style="color: #DCA3A3;">s</span><span style="color: #E39C9C;">u</span><span style="color: #EA9595;">c</span><span style="color: #F18E8E;">h</span><span style="color: #F88787;">t</span><span style="color: #FF8080;">.</span>',true);

                
$sql 'UPDATE accounts SET hauntedby="'.$session['user']['name'].'" WHERE login="'.$_GET['name'].'"';
                
db_query($sql);

                
addnews('`+'.$session['user']['name'].'`p hat `+'.$row['name'].'`p heimgesucht!`0');

                
$session['user']['donation']+=1;

                 
systemmail($row['acctid'],'<span style="color: #FF8080;">D</span><span style="color: #F98585;">u</span><span style="color: #F38B8B;"> </span><span style="color: #ED9191;">w</span><span style="color: #E89797;">u</span><span style="color: #E29D9D;">r</span><span style="color: #DCA2A2;">d</span><span style="color: #D6A8A8;">e</span><span style="color: #D1AEAE;">s</span><span style="color: #CBB4B4;">t</span><span style="color: #C5BABA;"> </span><span style="color: #BFC0C0;">he<span style="color: #C0C0C0;">i</span><span style="color: #C7B8B8;">m</span><span style="color: #CEB1B1;">g</span><span style="color: #D5AAAA;">e</span><span style="color: #DCA3A3;">s</span><span style="color: #E39C9C;">u</span><span style="color: #EA9595;">c</span><span style="color: #F18E8E;">h</span><span style="color: #F88787;">t</span><span style="color: #FF8080;">!</span>','`)Du wurdest von '.$session['user']['name'].' heimgesucht',true);
            }
            
            else
            {
                
addnews("`7{$session['user']['name']}`) hat erfolglos versucht, `7{$row['name']}`) heimzusuchen!");
                
                switch (
e_rand(0,5))
                {
                case 
0:
                    
output("Gerade als du `7{$row['name']}`) heimsuchen wolltest, versaut dir ein Niesen komplett den Erfolg.");
                    break;
                    
                case 
1:
                    
output("Die Heimsuchung von `7{$row['name']}`) läuft richtig gut. Leider schläft dein Opfer tief und fest und bekommt von deiner Anwesenheit absolut nichts mit.");
                    break;
                    
                case 
2:
                    
output("Du machst dich zur Heimsuchung von `7{$row['name']}`) bereit, stolperst aber über deinen Geisterschwanz und landest flach auf deinem .... ähm ... Gesicht.");
                    break;
                    
                case 
3:
                    
output("Du willst `7{$row['name']}`) im Schlaf heimsuchen, doch dein Opfer dreht sich nur im Bett um und murmelt etwas von 'nie wieder Würstchen so kurz vor dem Schlafengehen'.");
                    break;
                    
                case 
4:
                    
output("Du weckst `7{$row['name']}`) auf. Dein Opfer schaut dich kurz an, sagt \"Niedlich!\" und versucht dich in einem Einmachglas einzufangen.");                    
                    break;
                    
                case 
5:
                    
output("Du versuchst `7{$row['name']}`) zu erschrecken, siehst dich dabei im Augenwinkel selbst im Spiegel und gerätst in Panik, weil du einen Geist gesehen hast!");
                    break;
                }
            }
        }
    }
    
    else
    {
output("Ramius`) kann sich nicht mehr auf diese Person konzentrieren. Du kannst sie jetzt nicht heimsuchen.");}
    
    
addnav('Seelenwert erfragen','graveyard.php?op=question');
    
    if (
$session['user']['soulpoints']<$max)
    
addnav('W?Wiederherstellung ('.$favortoheal.' Gefallen)','graveyard.php?op=restore');
    
    
addnav('Zurück');
    
addnav('M?ins Mausoleum','graveyard.php?op=enter');
}

if (
$session['user']['superuser']>2)
{
    
addnav('`6ADMIN/MOD');
    
addnav('x?(x) Admingrotte','superuser.php');
    
addnav('y?(y) Neuer Tag','newday.php');
}

page_footer();
?>
0.9.7+jt ext (GER)