do { $x++; $gracz = $row["player_username"]; $admin = $row["admin_username"]; $data = $row["screenshot_time"]; $mapa = $row["map"]; $ip = $row["player_authid"]; $data = date("H:i:s d.m.Y",$data); /* $template->assign_block_vars('screeny', array( 'ID' => $x+$start, 'GRACZ' => $gracz, 'ADMIN' => $admin, 'DATA' => $data, 'MAPA' => $mapa, 'IP' => $ip) );*/ } while( $row = $db->fetch_array($sql) ) ;