'.$result["nazev"].''; $result["body"] = Str_Replace('"','"', $result["body"]); $result["body"] = Str_Replace("'","'", $result["body"]); echo '
'.$result["body"].'
'; if($xlog["typ"]=="A") echo '
UPRAVIT TEXT
'; if($_GET["id"]==1){ // AKTUALITY $hquery = MySQL_Query("SELECT * FROM x_aktuality WHERE zobrazit = 1 AND typ = 0 ORDER BY datum DESC LIMIT 3"); if(Mysql_Num_Rows($hquery)>0){ echo '
Aktuality
'; while($hresult = mysql_fetch_array($hquery)){ echo '
'; if(file_exists('foto/a'.$hresult["id"].'.jpg')){ echo ''; }else{ echo ''; } echo ' '.$hresult["nazev"].' ['.Date("j.n.Y",$hresult["datum"]).']
'; $krtext = ""; $text = Strip_Tags($hresult["body"]); $text = Str_Replace('"','"', $text); $ttext = Explode(" ",$text); $pocet_slov = Count($ttext); for($i=0;$i<20;$i++){ $krtext = $krtext.' '.$ttext[$i]; } echo $krtext.' ... více
'; } } } if($_GET["id"]==1){ // ČLÁNKY $hquery = MySQL_Query("SELECT * FROM x_aktuality WHERE zobrazit = 1 AND typ = 2 ORDER BY datum DESC LIMIT 3"); if(Mysql_Num_Rows($hquery)>0){ echo '
O trenažérech CONCEPT2
'; while($hresult = mysql_fetch_array($hquery)){ echo '
'; if(file_exists('foto/a'.$hresult["id"].'.jpg')){ echo ''; }else{ echo ''; } echo ' '.$hresult["nazev"].' ['.Date("j.n.Y",$hresult["datum"]).']
'; $krtext = ""; $text = Strip_Tags($hresult["body"]); $text = Str_Replace('"','"', $text); $ttext = Explode(" ",$text); $pocet_slov = Count($ttext); for($i=0;$i<20;$i++){ $krtext = $krtext.' '.$ttext[$i]; } echo $krtext.' ... více
'; } } } require "./../paticka.php"; ?>