Read()) { if($number == $i) $return[0] = $directory ."/" .$file ; $i++; } $return[1] = $i-2; return $return; } function references($count, $type,$number,$size) { if($number > 1 && $number <= $count) $previous = "Previous"; else $previous = "Previous"; $center_text = "[ "; $begin = $number - 14; $end = $number + 15; if($end >= $count) $begin -= $end - $count; $x = max($begin, 1); $generated_num = 0; $begin = $x; if($x > 1) { $center_text .= "... "; } while ( $x <= $count && $generated_num < 30) { if($x == $number): $center_text .= "" . $x . " "; else: $center_text .= "" . $x . " "; endif; $x++; $generated_num++; } if($x <= $count) { $center_text .= " ..."; } $center_text .= " ]"; if($number >= 1 && $number < $count) $next = "Next"; else $next = "Next"; $return[0] = $next; $return[1] = $center_text; $return[2] = $previous; draw_ref($return); } function draw_ref($strings) { ?>
Read()) { $dir[$i] = $d; $i++; } if($directory != "") $file = picture($directory, $number+1,$size); ?>
Největší chyba na Internet Exploreru je ta, že jde spustit.
$sizes[0]) { $image_width -= $image_height; $image_height = $image_width + $image_height; $image_width = $image_height - $image_width; } } //if(empty($file[0])) // $file[0] = if(!empty($file[0])) { echo "Main picture"; references($file[1],$_GET["type"] ,$number,$size); } else echo "Main picture"; ?>