<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
<script type="text/javascript">
jqry(document).ready(function() {
jqry(".imgmiddle img").load(function() {
if(jqry(this).height() < 30) {
jqry(this).css("margin-top", ((30 - jqry(this).height())/2) + "px");
}
});
});
</script>
<script type="text/javascript">
jqry.get('pokoje.php', function (data) {
jqry('#roomList').html(data);
jqry('[rel=tooltip]').tooltip();
});
</script>
</head>
<body>
{$header}
{$itph}
{$board_messages}
<br />
<?php
$czas = strtotime(date('Y-m-d'));
$linknb2= mysql_query('SELECT * FROM `mybb_events` WHERE `cid` = 2 AND`starttime` = "'.$czas.'" ORDER BY `description` ASC');
if(mysql_num_rows($linknb2) != 0){
echo'<div id="streambox" class="modal hide fade" tabindex="-1" style="width: 650px; margin-left:-325px;" role="dialog" aria-labelledby="streamboxheader" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="streamboxheader">PL-HB.tv</h3>
</div>
<div class="modal-body" style="padding-bottom: 0px">
<div class="control-group">
<div class="controls">
<object type="application/x-shockwave-flash" height="378" width="620" id="live_embed_player_flash" data="http://pl.twitch.tv/widgets/live_embed_player.swf?channel=plhb" bgcolor="#000000"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://pl.twitch.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=pl.twitch.tv&channel=plhb&auto_play=false&start_volume=25" /></object> </div>
</div>
</div>
</div>';
echo '
<div class="alert alert-danger" style="padding:10px;">
<table class="tborder table-bordered" style="margin:0;"><tbody><tr><td class="trow2" colspan="3" style="width:990px; text-align: center; border-left:0; padding-left: 100px;">
'.date('d-m-Y', $czas).' <span class="muted">w PL-HB.tv</span><a class="pull-right btn btn-mini btn-inverse" href="#streambox" role="button" data-toggle="modal" >Oglądaj na żywo</a></td></tr>
';
$linknb= mysql_query('SELECT * FROM `mybb_events` WHERE `cid` = 2 AND`starttime` = "'.$czas.'" ORDER BY `description` ASC');
while($wiersznb=mysql_fetch_array($linknb)){
if($wiersznb['eid'] == 18){
echo'<tr><td class="trow1" style="text-align: center; border-left:0;"><span class="muted">Losowanie lig 1A i 1B 1vs1</span><br />16:30
</td></tr>';
} else {
preg_match_all("#\[(.*?)\] (.*?) -:- (.*)#", $wiersznb['name'], $found, PREG_SET_ORDER);
foreach ($found as $val) {
$reszta1 = preg_replace('#\[.*\]#', '', $wiersznb['name']);
$zamiana1 = '<br /><span class="muted">vs.</span>';
$reszta2= preg_replace('#-:-#', $zamiana1, $reszta1);
echo '
<tr>';
$linkd1= mysql_query('SELECT * FROM `mybb_teams` WHERE `id` = "'.$val[2].'" ORDER BY `id` DESC LIMIT 1');
while($wierszd1=mysql_fetch_array($linkd1)){
$linktrener=mysql_query("SELECT `uid`, `username` FROM `mybb_users` WHERE `uid` = ".$wierszd1['trener']." LIMIT 1");
$wiersztrener=mysql_fetch_array($linktrener);
$trenerlink = '<span class="muted">zarządzane przez</span> <a href="member.php?action=profile&uid='.$wiersztrener['uid'].'">'.$wiersztrener['username'].'</a>';
$druzynalink = '<a href="liga.php?typ=3vs3&strona=druzyna&id='.$wierszd1['id'].'">'.$wierszd1['nazwa'].'</a>';
$herb = $wierszd1['herb'];
}
if($val[2] == "PL-HB"){
$herb = 'http://www.pl-hb.net/images/pl-hb-net.png';
$trenerlink = '<span class="muted">uczestnik gali</span>';
$druzynalink = 'PL-HB.net';
}
echo'
<td width="46%" class="trow1" style="text-align: right; border-left:0;">
<div style="padding: 3px;display: block; background: white;border: 1px solid #E5E5E5;border-radius: 4px;width: 30px;height: 30px;float: right;margin-left: 10px;"><div class="imgmiddle" style="height:30px; width: 30px; overflow: hidden; float: left;"><img src="'.$herb.'" alt="" style="width: 30px;"></div></div>
<div style="margin-top: 5px;float: right;line-height: 15px;">'.$druzynalink.'
<br><span style="font-size: 12px;">'.$trenerlink.'</span></div></span></td>';
echo'<td width="8%" class="trow2" valign="middle" style="text-align: center;">'.$wiersznb['description'].'</td>';
$linkd2= mysql_query('SELECT * FROM `mybb_teams` WHERE `id` = "'.$val[3].'" ORDER BY `id` DESC LIMIT 1');
while($wierszd2=mysql_fetch_array($linkd2)){
$linktrener=mysql_query("SELECT `uid`, `username` FROM `mybb_users` WHERE `uid` = ".$wierszd2['trener']." LIMIT 1");
$wiersztrener=mysql_fetch_array($linktrener);
$trenerlink = '<span class="muted">zarządzane przez</span> <a href="member.php?action=profile&uid='.$wiersztrener['uid'].'">'.$wiersztrener['username'].'</a>';
$druzynalink = '<a href="liga.php?typ=3vs3&strona=druzyna&id='.$wierszd2['id'].'">'.$wierszd2['nazwa'].'</a>';
$herb = $wierszd2['herb'];
}
if($val[3] == "Modern hax"){
$herb = 'http://www.pl-hb.net/images/herb.png';
$trenerlink = '<span class="muted">uczestnik gali</span>';
$druzynalink = 'Modern Hax';
}
echo'
<td width="46%" class="trow1" style="text-align: left;">
<div style="padding: 3px;display: block; background: white;border: 1px solid #E5E5E5;border-radius: 4px;width: 30px;height: 30px;float: left;margin-right:10px;"><div class="imgmiddle" style="height:30px; width: 30px; overflow: hidden; float: left;"><img src="'.$herb.'" alt="" style="width: 30px;"></div></div>
<div style="margin-top: 5px;float: left;line-height: 15px;">'.$druzynalink.'
<br><span style="font-size: 12px;"> '.$trenerlink.'</span></div></span></td>';
echo'
</tr>';
}
}
}
echo'</tbody></table>';
echo '</div>';
}
/*
<img src="stay-tuned.png" border="0" style="margin: 0 154px 20px 154px;" alt="">
*/
?>
<div class="" style="width: 690px; float:left;">
<style type="text/css" scoped>
.shoutbox {
margin: 0;
padding: 0;
left: 0;
}
li.shoutbox_normal {
list-style: none;
margin: 0;
position: relative;
cursor: pointer;
color: transparent;
display: inline ;
border: 1px;
border-color: #FFFFFF;
}
li.shoutbox_color {
list-style: none;
position: relative;
cursor: pointer;
color: transparent;
display: inline ;
border: 0px;
float: left;
margin: 1px;
}
.shoutbox_button_color a {
width: 9px;
height: 9px;
display: block;
border: 1px solid #FFF;
}
#shoutbox_data a {
color: #333;
font-weight: none;
}
</style>
<div>
<table class="tborder" style="border-top: 0; width: 687px; margin:auto; margin-bottom:20px;">
<tr>
<td class="thead" style="width:690px; height: 25px; background-image: url(../images/ababab.png);">
<?php
if($postyusera < 5){
$postblock = 'disabled class="disabled" value="Shoutbox dostępny od 5 postów"';
$postblock2 = ' type="button" class="btn btn-small btn-success disabled" disabled';
$postblock3='';
} else {
$postblock = 'placeholder="Treść wiadomości"';
$postblock2 = ' type="submit" class="btn btn-small btn-success"';
$postblock3 = "onsubmit=\"ShoutBox.postShout(); $('shout_data').value = ''; return false;\"";
}
?>
<form style="float:right;height: 0px;" {$postblock3}> <input type="text" {$postblock} id="shout_data" size="270" style="
margin-top: 0px;
height: 15px;
font-size: 85%;
width: 600px;
margin-right: 3px;"><button {$postblock2} id="shouting-status" value="" style="
margin-top: -8px;
">Wyślij</button></form>
</td>
</tr>
<tr>
<td class="trow1" style="width:100%;"><div id="shoutbox_data" style="height: 160px; overflow: auto;"><div class="smalltext" style="margin:auto;">Ładowanie shoutów...</div></div></td>
</tr>
<tr>
<td class="trow1" style="width:100%;">
<a href="http://pl-hb.net/index.php?action=full_shoutbox" class="pull-right btn btn-mini">Archiwum shoutboxa</a>
<a style="cursor: pointer; margin-right: 8px;" class="pull-right btn btn-mini" id="smilies" onclick="window.open('misc.php?action=smilies&popup=true&editor=clickableEditor','{$lang->mysb_smilies}','scrollbars=yes, menubar=no,width=460,height=360,toolbar=no');">Emotikony</a></td></tr>
</table>
</div>
<script type="text/javascript">
ShoutBox.refreshInterval = {$mybb->settings['mysb_refresh_interval']};
ShoutBox.MaxEntries = {$mybb->settings['mysb_shouts_main']};
ShoutBox.lang = ['{$lang->mysb_posting}', '{$lang->mysb_shoutnow}', '{$lang->mysb_loading}', '{$lang->mysb_flood_check}', '{$lang->mysb_no_perform}', '{$lang->mysb_already_sent}', '{$lang->mysb_deleted}', '{$lang->mysb_invalid}', '{$lang->mysb_self}', '{$lang->mysb_report_invalid_sid}', '{$lang->mysb_shout_reported}', '{$lang->mysb_shout_already_reported}'];
{$extra_js}
Event.observe(window, 'load', ShoutBox.showShouts);
</script>
<?php
if($mybb->user['uid'] == '0'){
echo'<div style="height: 258px; background: rgba(218, 218, 218, 0.81); text-align: center;width: 687px; float: left;margin-top: -280px;position: absolute;border: 1px solid #DDD; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);"><a href="http://pl-hb.net/member.php?action=login" class="btn btn-small btn-success disabled" style="
margin-top: 125px;
">Aby przeglądać shoutbox, musisz się zalogować!</a></div>';
}
?>
{$forums}
</div>
<div id="sidebar" style="width: 280px; float:right;">
<?php
if($mybb->user['unreadpms'] != 0){
echo '<div class="alert alert-info" style="text-align: justify;padding: 8px 14px 8px 14px;"><strong>Hej!</strong> Masz co najmniej jedną nieodebraną prywatną wiadomość, zajrzyj tutaj: <a href="http://pl-hb.net/private.php?fid=1">klik</a>.
</div>';
}
?>
<div id="roomList" style="margin-bottom: 20px;">
<ul class="nav profile-sidenav" style="width:100%; margin-top:0; text-align: left;">
<li class="active" style="color: white;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-image: url(../images/ababab.png);margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;"><i class="icon-play pull-right" style="margin: 3px 0"></i> Zagraj z nami!</li>
<li class="muted" style="text-align: center; margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;">
Ładowanie pokoi...</li>
</ul>
</div>
<a class="twitter-timeline" href="https://twitter.com/PLHBnet" data-widget-id="399923220037373952">Tweety na temat @PLHBnet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<ul class="nav profile-sidenav" style="width:100%; margin-top:20px;">
<li class="active" style="color: white;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-image: url(../images/ababab.png);margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;"><i class="icon-comment pull-right" style="margin: 3px 0"></i> Ostatnie posty </li>
<?php
$query = $db->simple_select('posts', '*', "fid!=64 AND fid!=78 AND fid!=58 AND fid!=30 AND fid!=450 AND fid!=126 AND visible!=0", array('order_by' => 'dateline', "order_dir" => 'DESC', "limit" => 5));
while($post = $db->fetch_array($query)) {
$sqkl = $db->simple_select('threads', '*', "tid={$post['tid']}");
$thread = $db->fetch_array($sqkl);
$lastpostdate = my_date($mybb->settings['dateformat'], $post['dateline']);
$lastposttime = my_date($mybb->settings['timeformat'], $post['dateline']);
if(strlen($thread['subject']) > 25){
$tytul = mb_substr($thread['subject'], 0, 25, 'utf-8').'...';
} else {
$tytul = $thread['subject'];
}
if(strlen($post['username']) > 10){
$post['username'] = mb_substr($post['username'], 0, 10, 'utf-8')."...";
}
$lastposteravatar_sql = $db->simple_select("users", "`avatar`", "`uid` = ".$post['uid']);
$lastposteravatar = $db->fetch_array($lastposteravatar_sql);
$lastpost_profilelink = '<a href="member.php?action=profile&uid='.$post['uid'].'">'.$post['username'].'</a>';
echo '<li class="smalltext" style="margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;">
<div style="padding: 3px;display: block; background: white;border: 1px solid #E5E5E5;border-radius: 4px;width: 30px;height: 30px;float: left;margin-right: 10px;"><div class="imgmiddle" style="height:30px; width: 30px; overflow: hidden; float: left;"><img src="'.$lastposteravatar['avatar'].'" alt style="width: 30px;"/></div></div>
<div style="margin-top: 3px;float: left;line-height: 15px;"><a href="showthread.php?tid='.$post['tid'].'&action=lastpost">'.$tytul.'</a>
<br /><span style="font-size: 12px;">'.$lang->by.' '.$lastpost_profilelink.', <span class="muted">'.strtolower($lastpostdate).' '.$lastposttime.'</span></span></div><br style="clear:both;" /></li>';
}
?>
</ul>
<ul class="nav profile-sidenav" style="width:100%; margin-top:20px;">
<li class="active" style="color: white;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-image: url(../images/ababab.png);margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;"><i class="icon-star pull-right" style="margin: 3px 0"></i> Ekstraklasa </li>
<?php
$query = $db->simple_select('teams', '*', "liga = 'ekstraklasa'", array('order_by' => 'miejsce', "order_dir" => 'ASC', "limit" => 12));
while($team = $db->fetch_array($query)) {
$m = $team['miejsce'];
$rm = $team['wygrane'] + $team['przegrane'] + $team['remisy'];
$pkt = $team['punkty'];
$skrot = '<a href="liga/3vs3/?strona=druzyna&id='.$team['id'].'">'.$team['nazwa'].'</a>';
echo '<li class="smalltext" style="margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;">
<div style="background: url('.$team['herb'].') no-repeat center center; height: 36px;width: 44px; margin: -8px 0 0 -12px;position: absolute;display: inline-block; z-index: 1; background-size: cover;opacity: 0.6;"></div>
<div style="padding: 1px 5px 1px; font-weight: bold; position: absolute; margin-left: 1px; z-index: 3;text-align: center;" class="label">'.$m.'</div>
<div style="width: 146px; margin-left: 45px; display: inline-block;">'.$skrot.'</div>
<div style="width: 26px; text-align: right; display: inline-block;">'.$rm.'</div>
<div style="width: 26px; text-align: right; font-weight: bold; display: inline-block;">'.$pkt.'</div></li>';
}
?>
</ul>
<ul class="nav profile-sidenav" style="width:100%; margin-top:20px;">
<li class="active" style="color: white;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-image: url(../images/ababab.png);margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;"><i class="icon-list pull-right" style="margin: 3px 0"></i> Ostatnie ogłoszenia drużyn </li>
<?php
$queryad = $db->simple_select('ads', '*', "CHAR_LENGTH(tresc) > 60", array('order_by' => 'id', "order_dir" => 'DESC', "limit" => 3));
while($ad = $db->fetch_array($queryad)) {
$sqkt = $db->simple_select('teams', '`herb`, `nazwa`', "id=".$ad['tid']);
$team = $db->fetch_array($sqkt);
if(strlen($ad['tytul']) > 25){
$adtytul = substr($ad['tytul'], 0, 20).'...';
} else {
$adtytul = $ad['tytul'];
}
echo '<li class="smalltext" style="margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5; text-align:justify;">
<div style="padding: 3px;display: block; background: white;border: 1px solid #E5E5E5;border-radius: 4px;width: 70px;height: 70px;float: left;margin-right: 10px;"><div class="imgmiddle" style="height:70px; width: 70px; overflow: hidden; float: left;"><img src="'.$team['herb'].'" data-rel="tooltip" data-original-title="'.$team['nazwa'].'" alt style="width: 70px;"/></div></div>
<div style="margin-top: 3px;line-height: 15px;"><a href="http://pl-hb.net/liga.php?typ=3vs3&strona=druzyna&id='.$ad['tid'].'&ref=ticker#ad'.$ad['id'].'" style="font-size: 13px;">'.$adtytul.'</a>
<br />'.strip_tags(mb_substr($ad['tresc'], 0, 80, 'utf-8')).'...</div><cite class="pull-right" style="opacity: 1; margin-top: -1px;">'.$team['nazwa'].'</cite><br style="clear:both;" /></li>';
}
?>
</ul>
<ul class="nav profile-sidenav" style="width:100%; margin-top:20px;">
<li class="active" style="color: white;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-image: url(../images/ababab.png);margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;"><i class="icon-bullhorn pull-right" style="margin: 3px 0"></i> Serwer głosowy</li>
<li class="" style="margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;">
<div id="ts3viewer_1030761" style="width:; background-color:; height: 135px; display: flex;"> </div>
<script type="text/javascript" src="http://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script>
<script type="text/javascript">
<!--
var ts3v_url_1 = "http://www.tsviewer.com/ts3viewer.php?ID=1030761&text=000000&text_size=12&text_family=1&js=1&text_s_weight=bold&text_s_style=normal&text_s_variant=normal&text_s_decoration=none&text_s_color_h=525284&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=underline&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_i_color_h=525284&text_i_weight_h=normal&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=underline&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_c_color_h=525284&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=underline&text_u_weight=bold&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_u_color_h=525284&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none";
ts3v_display.init(ts3v_url_1, 1030761, 100);
-->
</script>
</li>
</ul>
<ul class="nav profile-sidenav" style="width:100%; margin-top:20px;">
<li class="active" style="color: white;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-image: url(../images/ababab.png);margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;"><i class="icon-gift pull-right" style="margin: 3px 0"></i>Sklep z gadżetami</li>
<li class="" style="margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5; text-align:justify;">
<div style="padding: 3px;display: block; background: white;border: 1px solid #E5E5E5;border-radius: 4px;width: 70px;height: 70px;float: left;margin-right: 8px;"><div class="imgmiddle" style="height:70px; width: 70px; overflow: hidden; float: left;/* background: #333; */">
<a href="http://sklep.pl-hb.net/"><img src="http://pl-hb.cupsell.pl/upload/generator/1145/74873/product/print-1.jpg" data-original-title="" alt="" style="width: 70px;"></a>
</div></div><div style="padding: 3px;display: block; background: white;border: 1px solid #E5E5E5;border-radius: 4px;width: 70px;height: 70px;float: left;margin-right: 8px;"><div class="imgmiddle" style="height:70px; width: 70px; overflow: hidden; float: left;/* background: #333; */">
<a href="http://sklep.pl-hb.net/"><img src="http://pl-hb.cupsell.pl/upload/generator/1148/74876/product/print-1.jpg" data-original-title="" alt="" style="width: 70px;"></a>
</div></div><div style="padding: 3px;display: block; background: white;border: 1px solid #E5E5E5;border-radius: 4px;width: 70px;height: 70px;float: left;/* margin-right: 10px; */"><div class="imgmiddle" style="height:70px; width: 70px; overflow: hidden; float: left;/* background: #333; */">
<a href="http://sklep.pl-hb.net/"><img src="http://pl-hb.cupsell.pl/upload/generator/1152/74880/product/print-1.jpg" alt="" style="width: 70px;"></a>
</div></div>
<br style="clear:both;"></li>
</ul>
<a href="http://hbtube.pl-hb.net/"><img src="images/hbtube-baner.png" alt="" style="width:100%; margin-top:20px;" /></a>
<ul class="nav profile-sidenav" style="width:100%; margin-top:20px;">
<li class="active" style="color: white;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
background-image: url(../images/ababab.png);margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5;"><i class="icon-search pull-right" style="margin: 3px 0"></i> Wyszukiwarka sparingpartnerów</li>
<?php
$link=$db->write_query('SELECT * FROM `playnow_ads` ORDER BY `id` DESC LIMIT 6');
while($wiersz=$db->fetch_array($link))
{
echo '
<li class="" style="margin: 0 0 -1px;
border: 1px solid #E5E5E5; float:left;">
<div style="margin-top: -1px; opacity: 0.8;">';
if($wiersz['host'] == 1){
echo'<div class="btn-success" style="border-right:1px solid #ddd;text-align: center;border-top: 0;width: 40px;display: block;float: left;height: 39px;"><i class="icon-ok-sign" data-placement="right" data-rel="tooltip" data-original-title="Host jest zapewniony" style="margin-top:13px;"></i></div>';
} elseif($wiersz['host'] == 0){
echo'<div class="btn-danger" style="border-right:1px solid #ddd;text-align: center;border-top: 0;width: 40px;display: block;float: left;height: 39px;"><i class="icon-remove-sign" data-rel="tooltip" data-placement="right" data-original-title="Host nie jest zapewniony" style="margin-top:13px;"></i></div>';
} else {
echo'<div class="btn-warning" style="border-right:1px solid #ddd;text-align: center;border-top: 0;width: 40px;display: block;float: left;height: 39px;"><i class="icon-question-sign" data-rel="tooltip" data-placement="right" data-original-title="Dostępność hosta nie została określona" style="margin-top:13px;"></i></div>';
}
if(strlen($wiersz['text']) > 30){
$wiersz['text'] = substr($wiersz['text'], 0, 30).'<span data-rel="tooltip" data-original-title="'.substr($wiersz['text'], 30, strlen($wiersz['text'])).'" data-placement="right">...</span>';
}
echo'<div style="
height: 30px;
padding-left: 45px;
padding-bottom: 4px;
padding-top: 4px;
width: 233px;
"><small style="
line-height: 15px;
">'.$wiersz['text'].'</small><br>
<span class="muted smalltext" style="float: left; line-height: 15px;text-align: left;">'.formatujDate($wiersz['time']).'</span></div></div>';
echo'</li>
';
}
echo'<li style="color: white;
margin: 0 0 -1px;
padding: 1px 4px;
text-align: right;
height: 231px;
border: 1px solid #E5E5E5;"></li>';
?>
</ul>
<ul class="nav profile-sidenav" style="width:100%; margin-top:20px;">
<li class="" style="margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #E5E5E5; text-align: center;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-7471788589273857";
/* PL-HB */
google_ad_slot = "5059640060";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</li>
</ul>
</div>
{$boardstats}
<br style="clear: both" />
{$footer}
</body>
</html>