$nazwa - TEST autoGALERIA.pl\n"; $opis = ereg_replace( "\"", "", $rekord[lead] ); print "\n"; $key = ereg_replace( " i ", " ", $rekord[nazwa] ); $key = ereg_replace( " w ", " ", $key ); $key = ereg_replace( "\"", "", $key ); $key = ereg_replace( " -", "", $key ); $key = ereg_replace( ",", "", $key ); $key = ereg_replace( ":", "", $key ); $key = ereg_replace( "!", "", $key ); $key = ereg_replace( " ", " ", $key ); $key = ereg_replace( " ", ", ", $key ); $keywords = strtolower ($key); print "\n"; print "\n"; meta (); top (); require($_SERVER['DOCUMENT_ROOT']."/_inc/data.inc"); print "testy aut › "; $wynik = mysql_query ("SELECT * FROM auto_test WHERE id=$id AND pub=1") or die ("B��d w pytaniu do bazy news�w") ; while ($rekord = mysql_fetch_array ($wynik)) { $wynik2 = mysql_query ("SELECT * FROM marki WHERE id=$rekord[marka]"); while ($rekord2 = mysql_fetch_array ($wynik2)) { print "$rekord2[nazwa]"; print " › "; print $rekord[nazwa]; } left (); $wynik_th = mysql_query("SELECT * FROM auto_test WHERE id=$id AND pub=1"); while ($rekord_th = mysql_fetch_array ($wynik_th)) { if ($rekord_th[photo]!='') { print "

Kliknij, aby powi�kszy�

"; $photo = explode(",", $rekord_th[photo]); foreach($photo AS $id_th) { miniaturka ($id_th,$id); } } else { print "
Tekst nie posiada materia�u zdj�ciowego.
"; } } center (); print "

$rekord[nazwa]

Czas trwania testu: $rekord[czas]
Na dystansie $rekord[km] km
\n"; print "

$rekord[tytul] "; print "

$rekord[data] | "; $wynik2 = mysql_query ("SELECT * FROM autorzy WHERE id=$rekord[autor]"); while ($rekord2 = mysql_fetch_array ($wynik2)) { print $rekord2[news]; } print "

"; print nl2br($rekord[lead]); print "

"; ?>

"; print nl2br($rekord[tresc]); print "

\n"; // include($_SERVER['DOCUMENT_ROOT']."/_inc/link_text_test.inc"); if ($rekord[video]!='') { ?>
Skomentuj test w temacie pt. $rekordf[title] na forum autoGALERIA.pl.

"; } } ?>
Powi�zane testy:
Nowo�ci na temat: