<?php
require("mysql.php");
$titel = 'Chat';
$version = '90anw';
//header("location:chat");
$styles = '<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="categories"><br><br> 
<ul class="cat_list"> 
<li id="cat0" class="top"> 
<a href="chat.php?v='.$version.'&c=1" class="category_link" onclick="this.blur()"> 
<span class="category_bubble"><img src="sf/f/index/cats/catstats_label_left.gif" class="border" /><span class="category_name">Flirt<script>liveCatUser(0)</script></span><img src="sf/f/index/cats/catstats_label_right.gif" class="border" /></span> 
<span class="category_img">&nbsp;</span>
</a> 
</li> 
<li id="cat1" class="top"> 
<a href="chat.php?v='.$version.'&c=2" class="category_link" onclick="this.blur()"> 
<span class="category_bubble"><img src="sf/f/index/cats/catstats_label_left.gif" class="border" /><span class="category_name">Over 20</span><img src="sf/f/index/cats/catstats_label_right.gif" class="border" /></span> 
<span class="category_img">&nbsp;</span> 
</a> 
</li> 
<li id="cat2" class="top"> 
<a href="chat.php?v='.$version.'&c=3" class="category_link" onclick="this.blur()"> 
<span class="category_bubble"><img src="sf/f/index/cats/catstats_label_left.gif" class="border" /><span class="category_name">Under 18</span><img src="sf/f/index/cats/catstats_label_right.gif" class="border" /></span> 
<span class="category_img">&nbsp;</span> 
</a> 
</li> 
<li id="cat3" class="top"> 
<a href="chat.php?v='.$version.'&c=4" class="category_link" onclick="this.blur()"> 
<span class="category_bubble"><img src="sf/f/index/cats/catstats_label_left.gif" class="border" /><span class="category_name">Lokalrunde</span><img src="sf/f/index/cats/catstats_label_right.gif" class="border" /></span> 
<span class="category_img">&nbsp;</span> 
</a> 
</li> 
<li id="cat4" class="bottom"> 
<a href="chat.php?v='.$version.'&c=5" class="category_link" onclick="this.blur()"> 
<span class="category_bubble"><img src="sf/f/index/cats/catstats_label_left.gif" class="border" /><span class="category_name">Games</span><img src="sf/f/index/cats/catstats_label_right.gif" class="border" /></span> 
<span class="category_img">&nbsp;</span> 
</a> 
</li> 
<li id="cat7" class="bottom"> 
<a href="chat.php?v='.$version.'&c=6" class="category_link" onclick="this.blur()"> 
<span class="category_bubble"><img src="sf/f/index/cats/catstats_label_left.gif" class="border" /><span class="category_name">Card Games</span><img src="sf/f/index/cats/catstats_label_right.gif" class="border" /></span> 
<span class="category_img">&nbsp;</span> 
</a> 
</li> 
<li id="cat6" class="bottom"> 
<a href="chat.php?v='.$version.'&c=7" class="category_link" onclick="this.blur()"> 
<span class="category_bubble"><img src="sf/f/index/cats/catstats_label_left.gif" class="border" /><span class="category_name">Themetalk</span><img src="sf/f/index/cats/catstats_label_right.gif" class="border" /></span> 
<span class="category_img">&nbsp;</span> 
</a> 
</li> 
<li id="cat9" class="bottom"> 
<a href="chat.php?v='.$version.'&c=8" class="category_link" onclick="this.blur()"> 
<span class="category_bubble"><img src="sf/f/index/cats/catstats_label_left.gif" class="border" /><span class="category_name">Top MyChannels</span><img src="sf/f/index/cats/catstats_label_right.gif" class="border" /></span> 
<span class="category_img">&nbsp;</span> 
</a> 
</li> 
</ul><style>
#fb_link #fancount { position: absolute; top: 25px; left: 2px; width: 54px; text-align: center; font-family: Arial; font-size: 16px; font-weight: bold;text-decoration:none;color:#000 !important;}
#fb_link #neededFans { position: absolute; top: 63px; left: 0px; width: 33px; text-align: right; font-family:Arial; font-size:11px; font-weight:bold; color:#fff200 !important;text-decoration:none;}
#fb_link {background-image:url(sf/f/facebook/fb.png);width:180px;height:80px;position:absolute;top:294px;left:61px;border:1px solid #ABB6EF;display:block;text-decoration:none !important;}
#fb_link:hover {border:1px solid #000;}
#kadbox { width: 300px; left: 260px; }
</style>
<a href="http://www.facebook.com/campaign/landing.php?campaign_id=240683732620817&partner_id=icechat.pm&placement=1&url=http://www.facebook.com/icechat.pm?sk=app_240683732620817" target="_blank" id="fb_link">
<span id="fancount"></span>
<span id="neededFans"></span>
</a>
<iframe src="http://www.facebook.com/plugins/like.php?app_id=240683732620817&amp;href=%2Ficechat.pm&amp;send=false&amp;layout=standard&amp;width=82&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:82px; height:35px;position:absolute;top:324px;left:121px;z-index:30;" allowTransparency="true"></iframe>
<script type="text/javascript">
function addDecimalSeperator (numberString)
{
numberString += \'\';
var x = numberString.split(\'.\');
var x1 = x[0];
var x2 = x.length > 1 ? \'.\' + x[1] : \'\';
var rgx = /(\d+)(\d{3})/;
while (rgx.test(x1))
{
x1 = x1.replace(rgx, \'$1\' + \'.\' + \'$2\');
}
return x1 + x2;
}
function fb_banner_fan_count_update(o)
{
var fans = o.likes * 1;
var neededFans = fans;
while (neededFans > 0)
{
neededFans -= 100;
}
neededFans = Math.abs(neededFans);
document.getElementById(\'fancount\').innerHTML = addDecimalSeperator(fans);
document.getElementById(\'neededFans\').innerHTML = addDecimalSeperator(neededFans);
window.setTimeout(includeFans, 60000);
}
function includeFans()
{
var element = document.getElementById(\'fb_script\');
var script = document.createElement(\'script\');
script.setAttribute(\'src\', \'https://graph.facebook.com/240683732620817&callback=fb_banner_fan_count_update\');
if (element)
{
document.getElementsByTagName(\'head\')[0].replaceChild(script, element);
}
else
{
document.getElementsByTagName(\'head\')[0].appendChild(script);
}
}
includeFans();
</script> 
</div></div>';

require_once 'filter.php';
require_once 'anti-ddos.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")));
?>   


<html>
<head>
<body>
</body>
</head>
</html>


