diee("Podaj nick lub numer usera!")."");} $q = $db->query("select * from `cau` where `nick` = '{$parts[1]}' and `kanal` = '{$kanal}'"); $t = ''; while($r = $q->fetch_assoc()) { $gg = $r['staff']; if( $gg > 50 and $user['staff'] < 100 and $ukanal['staff'] < 100){ $ggg ='ZABLOKOWANO'; } else{ $ggg = $r['numer']; } $gg = $r['staff']; if( $r['staff'] < 52 ){ $staff ='ZABLOKOWANO'; } else{ $staff = $r['staff']; } $txt = substr($r['opis'], 0, 200).''; $cza = $r['time']; $aktywny = date("d.m.Y G:i",$cza); $t .= "Numer usera $parts[1] to GG:" .$ggg. "\r\n"; } $main->echoo("$t");