stat4u
UltraNews v04 - © PhpByBastek"; //koniec echo"$menu
"; $plk = file("ultranews/news.txt"); $cl="89"; for ($index=$start; $index < $page*$max; $index++) { $grupa = split("\|", chop($plk[$index])); $split = explode("||", $plk[$index]); $nl=""; $temat = str_replace(" ","_",$split[0]); if(($split[2]!="") && (strlen($cp)==$cl)) { $nl="| więcej >>"; } $prl=""; $pol=""; if($split[7]>""){ $prl="".$split[3]."
"; if(($split[0]!="") && (strlen($cp)==$cl)){ echo "
".$split[0] = str_replace("_"," ",$split[0])."

$prl$split[7]$pol ".$split[1] = str_replace("_"," ",$split[1])."

".$split[4] = str_replace("_"," ",$split[4])." / dodał: $split[3]
skomentuj  | komentarze [$split[6]] |  |  $nl

"; } } //linki do starszych echo"
"; $el=count($plk); $stron=ceil($el/$max); if($page*$max > $max){ echo" <<"; } else{ echo" <<"; } $dz="|"; for ($index=1; $index <= $stron; $index++) { if($stron<2){ $dz=""; } if($page==$index){ echo" $index $dz"; } else{ echo" $index $dz"; }} if($page < $stron){ echo" >>
"; } else{ echo" >>
"; } //linki do starszych end echo $cp; echo"
"; ?>
Tabela
all rights reserved ©endriu 2003