';}###############B�����e�o�######################else{echo'';//COa�[$n = 0;$pages = ceil($all/$onpage);if($page>$pages or $page<=0)$page=1;if(!$pages) $pages = 1;if($page) $n = ($onpage*$page)-$onpage;//Ec� ��e�o��� �ff(!$all) echo '
Ha ������� ��e�ap���� �o� <�a �;
Oc[�m c����e�ap� �cc�e �p��
';//B������e��for($i=1; $i<=$onpage; $i++){if(!isset($array_id[$n])){$n++;continue;}if(is_integer($n / 2)) $row = '
'; else $row = '
';$komments = mysql_fetch_array(mysql_query('SELECT * FROM `komments` WHERE `id` = '.$array_id[$n]));$komments['time'] = date('d.m.Y/H:i',$komments['time']); //Bpe�$komments['text'] = str_replace("\n", '
',$komments['text']); //Te�.rint$row.''.$komments['name'].' ('.$komments['time'].')
'.$komments['text'].'
';$n++;}//�p� ���e�� ��e�o�cho '
';//Coa�
C�a��: ';$asd = $page - 2;$asd2 = $page + 3;if($asd<$all && $asd>0 &&$page>3) echo ' 1 ... ';for($i=$asd; $i<$asd2;$i++){if($i<$all && $i>0){if ($i > $pages ) break;if ($page==$i) echo '['.$i.'] ';else echo ''.$i.' ';}}if ($i <= $pages){if($asd2<$all) echo ' ... '.$pages.'';}echo '
';}echo '';if($setup['online'] == 1)echo '
';//A�omcga ��e�o�f($all > $setup['klimit']){$max = mysql_fetch_row(mysql_query('SELECT MIN(`id`) FROM `komments`;'));mysql_query('DELETE FROM `komments` WHERE `id` = '.$max[0]);$page=1;}require 'moduls/foot.php';?