AnonSec Team
Server IP : 10.2.73.233  /  Your IP : 216.73.216.59
Web Server : Apache/2.4.59 (Debian)
System : Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : www-data ( 33)
PHP Version : 5.6.40-64+0~20230107.71+debian10~1.gbp673146
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/ilpnowa/../slownik/web/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ilpnowa/../slownik/web/pasekPorcjowania.php
<?php 
$iloscStron=ceil($iloscWszystkichRekordow/$porcjaPorcjowania-1);
$porcjowanieMarginesWyswietlania=7;
$separatorPodstron="&nbsp;&nbsp;";
$separatorPodstronDlaPustej="&middot;";
$numerowanieSeparator="&nbsp;&nbsp;&nbsp;";


$commony="m=".$_GET['m'];
if($_GET['sz']!=null) $commony=$commony."&sz=".$_GET['sz'];
if($_GET['pole']!=null) $commony=$commony."&pole=".$_GET['pole']."";


if ($porcjaPorcjowania!=10000)
{
  if ($numerStronyBiezacej>0) echo "<a href=?".$commony."&page=".($numerStronyBiezacej-1).">&lt;&lt;".$numerowanieSeparator."</a>"; 
  for($x=0;$x<=$iloscStron;$x++) 
	 { 
		if ($x==$numerStronyBiezacej)
			  {
				  echo "<span style='font:bold;color:red;background-color:yellow'>".($x+1)."</span>";
				  echo $separatorPodstron;
			  }
			  else 
				   if($x<$porcjowanieMarginesWyswietlania || $x>($iloscStron-$porcjowanieMarginesWyswietlania))
				  {	
					  echo "<a href=?".$commony."&page=$x>".($x+1)."</a>";
					  if($x<$iloscStron) echo $separatorPodstron;
				  }
				  else 
					  if(($x % 15) ==0) echo $separatorPodstronDlaPustej;
	 } 
  if ($numerStronyBiezacej<$iloscStron) echo "<a href=?".$commony."&page=".($numerStronyBiezacej+1).">".$numerowanieSeparator."&gt;&gt;</a>"; 
  if($_SESSION['widziIlosciLeksemow']=="1") echo "&nbsp;&nbsp;<span title='Całkowita ilość elementów spełniających kryteria wyszukiwania.'>(".$iloscWszystkichRekordow.")</span>";
}

?>

AnonSec - 2021