<?php
require("mysql.php");
$titel = 'Chat';
$port = '1338';
$version = 'netchat90aqa';

$styles = '<link href="/sf/m/boxes/boxes.css" rel="stylesheet" type="text/css"><link href="/sf/f/registration/registration.css" rel="stylesheet" type="text/css"><link href="/sf/m/buttons/buttons.css" rel="stylesheet" type="text/css"><link href="/sf/f/index/index.css" rel="stylesheet" type="text/css">';

$inhalt = '<div class="blog"></div><div id="kmain" role="main"><div class="noh1"></div><div  style="margin-top:16px;"><div class="box appletbox large"><div class="hd"><div class="tl"></div><div class="tr"></div><div class="tm"></div><div class="m"><div class="mi"><div class="h h2"><div class="hbegin"></div><h2>Chat Login</h2><div class="img boxHdImg under18 catimg" style="  height: 90px; width: 120px; bottom: -13px;" ><img src="/sf/f/index/cats/cat_2hd.png"></div></div></div></div></div><div class="bd fade bd-fade"><div class="m"><div class="mi"><p class="justified"><applet code="Start.class" archive="'.$version.'.jar" codebase="http://'.$_SERVER[SERVER_NAME].'/" width="100%" height="250"><param name=PORT value="'.$port.'"><param name=resource value="imgsk90anw.zip"><param name=background value="c7ccf4" /> <param name=foreground value="0" /><param name=backgroundList value="d9daf7" /><param name=suggestion value="Flirt"><param name=appletID value="'.$_GET[c].'" /><param name=categories value="Flirt|1|Lokalrunde|2|Games|3|Themetalk|4|Classic|5|Alle Channels|0" /><param name=languageID value="0"><param name=rempwd value="yes" /><param name="mayscript" value="yes"><param name="scriptable" value="true"></applet></div><a href="#" onclick="window.open(\'lostpassword.php\', \'Passwort vergessen?\', \'width=400,height=396,scrollbars=no\');">Passwort vergessen?</a> Dann klicke <a href="#" onclick="window.open(\'lostpassword.php\', \'Passwort vergessen?\', \'width=400,height=396,scrollbars=no\');">hier</a> um ein neues Passwort zu erstellen.</div><div class="bl"></div><div class="br"></div><div class="bm"></div></div></div></div></div></div>';

require_once 'filter.php';

echo str_replace(array('<?url?>','<?inhalt?>', '<?titel?>', '<?fotonavi?>', '<?registrieren?>', '<?styles?>', '<?fotos?>'),array($_SERVER[SERVER_NAME], $inhalt, $titel, $fotonavi, $registrieren, $styles, $fotos),implode("",file("sf/b/style.tpl")));
?>  