='".$date."'"; $result_count=mysql_query($sql_count,$vk); $dat_count=mysql_num_rows($result_count); if(isset($_GET['p'])){ $d=$_GET['p']-1; }else{ $d=$dat_count-1; } if(isset($_GET['b'])){ $d=$_GET['b']+1; } if($d<0){ $d=0; } if ($d>($dat_count-1)){ $d=$dat_count-1; }?>
     
    ='".$date."' ORDER BY start LIMIT ".$d.",1"; $result=mysql_query($sql_select,$vk); $dat=mysql_fetch_array($result); echo ""; ?>
".$dat['titel']."
".$dat['inl']."
".$dat['tekst']."
0){ $n=0; while ($n

"; $n=$n+1; } }else{ echo"

"; } ?>
 
"; } else{ echo " "; } } if(isset($_GET['b'])){ if ($d>=$dat_count-1){ echo " "; } else{ echo " "; } } if((!isset($_GET['p'])) && (!isset($_GET['b']))){ echo " "; } } ?>