Prijava na forum:
Ime:
Lozinka:
Prijavi me trajno:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:

ConQUIZtador
Trenutno vreme je: 19. Jul 2025, 21:12:20
nazadnapred
Korisnici koji su trenutno na forumu 0 članova i 0 gostiju pregledaju ovu temu.


Tema za pitanja
o SMF forumu, phpBB2 i phpBB3 forumu, Wordpress i Joomla CMS sistemima!

Za vecinu drugih pitanja nacicete odgovor citajuci Top teme!

Idi dole
Stranice:
2  Sve
Počni novu temu Nova anketa Odgovor Štampaj Dodaj temu u favorite Pogledajte svoje poruke u temi
Tema: Search + pagination  (Pročitano 1141 puta)
12. Apr 2011, 16:25:22
Pocetnik

Zodijak
Pol
Poruke 11
OS
Windows 7
Browser
Chrome 10.0.648.204
Potrebno mi je da izlistam neke podatke iz baze uz pomoc pretrage, a da podaci budu podeljene po stranama (pagination).


Forma

<form action="index. php" method="post" name="search">
<input name="search" type="hidden" value="search">
<input name="keyword" type="text" value="keyword" size="30" maxlength="30">
<input name="search" type="submit" value="search">
</form>


query

SELECT * FROM websites WHERE `title` LIKE '%$SearchString%' OR `url` LIKE '%$SearchString%' OR `description` LIKE '%$SearchString%'



Pagination


<?php
/*
Place code to connect to your DB here.
*/
include('config. php');   // include your code to connect to DB.

$tbl_name="";    //your table name
// How many adjacent pages should be shown on each side?
$adjacents = 3;

/*
First get total number of rows in data table.  
If you have a WHERE clause in your query, make sure you mirror it here.
*/
$query = "SELECT COUNT(*) as num FROM $tbl_name";
$total_pages = mysql_fetch_array(mysql_query($query));
$total_pages = $total_pages[num];

/* Setup vars for query.  */
$targetpage = "filename. php"; //your file name (the name of this file)
$limit = 2; //how many items to show per page
$page = $_GET['page'];
if($page)
$start = ($page - 1) * $limit; //first item to display on this page
else
$start = 0;    //if no page var is given, set start to 0

/* Get data.  */
$sql = "SELECT column_name FROM $tbl_name LIMIT $start, $limit";
$result = mysql_query($sql);

/* Setup page vars for display.  */
if ($page == 0) $page = 1;    //if no page var is given, default to 1.
$prev = $page - 1;    //previous page is page - 1
$next = $page + 1;    //next page is page + 1
$lastpage = ceil($total_pages/$limit);    //lastpage is = total pages / items per page, rounded up.
$lpm1 = $lastpage - 1;    //last page minus 1

/*
Now we apply our rules and draw the pagination object.  
We're actually saving the code to a variable in case we want to draw it more than once.
*/
$pagination = "";
if($lastpage > 1)
{   
$pagination . = "<div class=\"pagination\">";
//previous button
if ($page > 1)
$pagination. = "<a href=\"$targetpage?page=$prev\">« previous</a>";
else
$pagination. = "<span class=\"disabled\">« previous</span>";   

//pages   
if ($lastpage < 7 + ($adjacents * 2))   //not enough pages to bother breaking it up
{   
for ($counter = 1; $counter <= $lastpage; $counter++)
{
if ($counter == $page)
$pagination. = "<span class=\"current\">$counter</span>";
else
$pagination. = "<a href=\"$targetpage?page=$counter\">$counter</a>";   
}
}
elseif($lastpage > 5 + ($adjacents * 2))   //enough pages to hide some
{
//close to beginning; only hide later pages
if($page < 1 + ($adjacents * 2))   
{
for ($counter = 1; $counter < 4 + ($adjacents * 2); $counter++)
{
if ($counter == $page)
$pagination. = "<span class=\"current\">$counter</span>";
else
$pagination. = "<a href=\"$targetpage?page=$counter\">$counter</a>";   
}
$pagination. = ". . . ";
$pagination. = "<a href=\"$targetpage?page=$lpm1\">$lpm1</a>";
$pagination. = "<a href=\"$targetpage?page=$lastpage\">$lastpage</a>";   
}
//in middle; hide some front and some back
elseif($lastpage - ($adjacents * 2) > $page && $page > ($adjacents * 2))
{
$pagination. = "<a href=\"$targetpage?page=1\">1</a>";
$pagination. = "<a href=\"$targetpage?page=2\">2</a>";
$pagination. = ". . . ";
for ($counter = $page - $adjacents; $counter <= $page + $adjacents; $counter++)
{
if ($counter == $page)
$pagination. = "<span class=\"current\">$counter</span>";
else
$pagination. = "<a href=\"$targetpage?page=$counter\">$counter</a>";   
}
$pagination. = ". . . ";
$pagination. = "<a href=\"$targetpage?page=$lpm1\">$lpm1</a>";
$pagination. = "<a href=\"$targetpage?page=$lastpage\">$lastpage</a>";   
}
//close to end; only hide early pages
else
{
$pagination. = "<a href=\"$targetpage?page=1\">1</a>";
$pagination. = "<a href=\"$targetpage?page=2\">2</a>";
$pagination. = ". . . ";
for ($counter = $lastpage - (2 + ($adjacents * 2)); $counter <= $lastpage; $counter++)
{
if ($counter == $page)
$pagination. = "<span class=\"current\">$counter</span>";
else
$pagination. = "<a href=\"$targetpage?page=$counter\">$counter</a>";   
}
}
}

//next button
if ($page < $counter - 1)
$pagination. = "<a href=\"$targetpage?page=$next\">next »</a>";
else
$pagination. = "<span class=\"disabled\">next »</span>";
$pagination. = "</div>\n";   
}
?>

<?php
while($row = mysql_fetch_array($result))
{

// Your while loop here

}
?>

<?=$pagination?>





Jel zna neko ovo da sastavi ????
IP sačuvana
social share
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Zvezda u usponu

Zodijak Capricorn
Pol Muškarac
Poruke 1662
Zastava Zemun
OS
Windows XP
Browser
Opera 9.80
mob
HTC Desire
Ovaj tutorijal ti je dobar, imas lepo objasnjeno kako funkcionise:
http://php.about.com/od/phpwithmysql/ss/php_pagination_2.htm
IP sačuvana
social share
Ko uci znace, ko se snadje imace.
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Pocetnik

Zodijak
Pol
Poruke 11
OS
Windows 7
Browser
Chrome 10.0.648.204
Jel moze neka konkretna pomoc oko koda.
IP sačuvana
social share
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Zvezda u usponu

Zodijak Capricorn
Pol Muškarac
Poruke 1662
Zastava Zemun
OS
Windows XP
Browser
Opera 9.80
mob
HTC Desire
Sta ti nije jasno u tutorijalu koji sam ti poslao?
« Poslednja izmena: 14. Apr 2011, 23:31:36 od cvrle_bg »
IP sačuvana
social share
Ko uci znace, ko se snadje imace.
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Pocetnik

Zodijak
Pol
Poruke 11
OS
Windows 7
Browser
Chrome 10.0.648.204
Tutorijal je o paginaciji, ja znam da odradim paginaciju, znam da odradim i pretragu ali neznam da napravim skriptu koja ce da radi i pretragu i paginaciju. Znaci potrebno mi je da se gore navedene skripte povezu u jednu.
IP sačuvana
social share
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Zvezda u usponu

Zodijak Capricorn
Pol Muškarac
Poruke 1662
Zastava Zemun
OS
Windows XP
Browser
Opera 9.80
mob
HTC Desire
Ajmo sad ovako, ti hoces da se ukuca neka rec i da se u bazi pronadju te reci i izlistaju na stranici? Ako je tako, ti bi trebalo da povezes ove input box-ove sa samim upitom, sto znaci, da vrednost input boxa ubacis u bazu:

Kod:
<?php
$con 
mysql_connect("nazivservera""username","password");
  if(!
$con){
      die(
"Konekcija sa bazom nije uspela!!".mysql_error());
  }
  
mysql_select_db("imebaze",$con);
  
$keyword=$_REQUEST['keyword'];

$Upit="SELECT * FROM websites WHERE `title` LIKE $keyword";
$res=mysql_query($Upit);
while(
$row=mysql_fetch_array($res){
echo "Kolona 1: ".$row['title']."<br />";
}
mysql_close($con);
?>


<form action="index.php" method="post" name="search">
<input name="search" type="hidden" value="search">
<input name="keyword" type="text" value="keyword" size="30" maxlength="30">
<input name="search" type="submit" value="search">
</form>

Ovo je ugrubo, ti sad vidi da li mozes nesto da iskoristis od toga. Ti pretragu mozes da odradis u samom upitu, koji ti kasnije izlistava podatke i ukoliko ih ima vise ti pravis paginaciju i podatke prebacujes na sledecu stranu.

Nadam se da je to sto trazis.
IP sačuvana
social share
Ko uci znace, ko se snadje imace.
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Pocetnik

Zodijak
Pol
Poruke 11
OS
Windows 7
Browser
Chrome 10.0.648.204
Skripta koja meni treba, izgleda otprilike ovako:









Kod:
<form action="index.php" method="post" name="search">
<input name="search" type="hidden" value="search">
<input name="keyword" type="text" value="keyword" size="30" maxlength="30">
<input name="search" type="submit" value="search">
</form>
<?
include "config.php";

$tbl_name="websites";

$adjacents = 3;
if (@$_POST['search']=="search")
{
$keyword=$_POST['keyword'];





$result = "SELECT COUNT(*) as num FROM $tbl_name ";
$total_pages = mysql_fetch_array(mysql_query($result));
$total_pages = $total_pages[num];

/* Setup vars for query. */
$targetpage = "index.php"; //your file name  (the name of this file)
$limit = 2; //how many items to show per page
$page = $_GET['page'];
if($page)
$start = ($page - 1) * $limit; //first item to display on this page
else
$start = 0;
$result=mysql_query("SELECT * FROM websites WHERE `title` LIKE '%$keyword%' OR `url` LIKE '%$keyword%' OR `description` LIKE '%$keyword%' LIMIT $start, $limit ");



if ($page == 0) $page = 1; //if no page var is given, default to 1.
$prev = $page - 1; //previous page is page - 1
$next = $page + 1; //next page is page + 1
$lastpage = ceil($total_pages/$limit); //lastpage is = total pages / items per page, rounded up.
$lpm1 = $lastpage - 1; //last page minus 1

/*
Now we apply our rules and draw the pagination object.
We're actually saving the code to a variable in case we want to draw it more than once.
*/
$pagination = "";
if($lastpage > 1)
{
$pagination .= "<div class=\"pagination\">";
//previous button
if ($page > 1)
$pagination.= "<a href=\"$targetpage?page=$prev\">« previous</a>";
else
$pagination.= "<span class=\"disabled\">« previous</span>";

//pages
if ($lastpage < 7 + ($adjacents * 2)) //not enough pages to bother breaking it up
{
for ($counter = 1; $counter <= $lastpage; $counter++)
{
if ($counter == $page)
$pagination.= "<span class=\"current\">$counter</span>";
else
$pagination.= "<a href=\"$targetpage?page=$counter\">$counter</a>";
}
}
elseif($lastpage > 5 + ($adjacents * 2)) //enough pages to hide some
{
//close to beginning; only hide later pages
if($page < 1 + ($adjacents * 2))
{
for ($counter = 1; $counter < 4 + ($adjacents * 2); $counter++)
{
if ($counter == $page)
$pagination.= "<span class=\"current\">$counter</span>";
else
$pagination.= "<a href=\"$targetpage?page=$counter\">$counter</a>";
}
$pagination.= "...";
$pagination.= "<a href=\"$targetpage?page=$lpm1\">$lpm1</a>";
$pagination.= "<a href=\"$targetpage?page=$lastpage\">$lastpage</a>";
}
//in middle; hide some front and some back
elseif($lastpage - ($adjacents * 2) > $page && $page > ($adjacents * 2))
{
$pagination.= "<a href=\"$targetpage?page=1\">1</a>";
$pagination.= "<a href=\"$targetpage?page=2\">2</a>";
$pagination.= "...";
for ($counter = $page - $adjacents; $counter <= $page + $adjacents; $counter++)
{
if ($counter == $page)
$pagination.= "<span class=\"current\">$counter</span>";
else
$pagination.= "<a href=\"$targetpage?page=$counter\">$counter</a>";
}
$pagination.= "...";
$pagination.= "<a href=\"$targetpage?page=$lpm1\">$lpm1</a>";
$pagination.= "<a href=\"$targetpage?page=$lastpage\">$lastpage</a>";
}
//close to end; only hide early pages
else
{
$pagination.= "<a href=\"$targetpage?page=1\">1</a>";
$pagination.= "<a href=\"$targetpage?page=2\">2</a>";
$pagination.= "...";
for ($counter = $lastpage - (2 + ($adjacents * 2)); $counter <= $lastpage; $counter++)
{
if ($counter == $page)
$pagination.= "<span class=\"current\">$counter</span>";
else
$pagination.= "<a href=\"$targetpage?page=$counter\">$counter</a>";
}
}
}

//next button
if ($page < $counter - 1)
$pagination.= "<a href=\"$targetpage?page=$next\">next »</a>";
else
$pagination.= "<span class=\"disabled\">next »</span>";
$pagination.= "</div>\n";
}
?>
<?php
while ($results mysql_fetch_array($result))
{
$title=$results['title'];
$url=$results['url'];
$description=$results['description'];
echo 
"<a href='$url'>$title</a><br><i>$description</i><br>$url<hr>";
}
}
?>

<?=$pagination?>






Ovo sam sam sklapao pa naravno ne radi, bilo bi dobro ako bi mi pokazao gde gresim.
IP sačuvana
social share
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Zvezda u usponu

Zodijak Capricorn
Pol Muškarac
Poruke 1662
Zastava Zemun
OS
Windows XP
Browser
Opera 9.80
mob
HTC Desire
A sta ne radi? Da li izbacuje neku gresku ili ne izbacuje dobre podatke? Da li je ovaj upit gore bas taj koji tebi treba ili si samo pokupio sa nekog sajta? Ako budem imao vremena gledacu da iskoristim ovaj upit, ako je to pravi upit koji ti treba, ovu forum i da napisem kod, koji ce ti izvlaciti podatke iz baze i prikazivati iste.
IP sačuvana
social share
Ko uci znace, ko se snadje imace.
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Pocetnik

Zodijak
Pol
Poruke 11
OS
Windows 7
Browser
Chrome 10.0.648.204
Ne izbacuje nikakvu gresku, pretraga radi dobro ali paginacija se ne pojavljuje. Taj mi upit treba. Hvala ti u svakom slucaju, bas sam te iscimao oko ovoga.
IP sačuvana
social share
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Pocetnik

Zodijak
Pol
Poruke 11
OS
Windows 7
Browser
Chrome 10.0.648.204
Uz mnogo muke, uspeo sam !!!!  Smile Smile Smile Smile




Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title></title>
<?php

include 
"config.php"; // include your code to connect to DB.
error_reporting(E_ALL E_NOTICE);
$tbl_name="websites";
?>

</head>

<body>
<form name="Item Search" method="post" action="index1.php">
  Item Search:<br>
  <label>
  <input name="swords" type="text" size="30" maxlength="30">
  </label> 
  <input name="search" type="submit" id="search" value="Search" />
  <br>
  <label>  </label>
</form>
<?php 
 
if(isset($_POST['submit'])||isset($_POST['swords'])||isset($_GET['swords'])){
if (isset(
$_POST['swords']))

$search=$_POST['swords'];
$_SESSION['sword'] = $_POST['swords'];
}else
{
$search=$_GET['swords'];
}
$newurl "search.php?swords=";
$searchwords addslashes(htmlspecialchars($_POST['swords'])); 

$words explode(' ',$searchwords); 
$totalwords count($words); 
$i 0
$searchstring ""
while (
$i != $totalwords){ 
if (
$i != and $i != $wordcount){ 
$searchstring .= " and ";; 

$searchstring .= "title LIKE '%$words[$i]%'"
$searchstring1 .= "url LIKE '%$words[$i]%'";
$searchstring2 .= "description LIKE '%$words[$i]%'";
$i $i 1
 
// How many adjacent pages should be shown on each side?
$adjacents 3;
$query "SELECT COUNT(*) as num FROM $tbl_name WHERE $searchstring or $searchstring1 or $searchstring2";
$total_pages mysql_fetch_array(mysql_query($query));
$total_pages $total_pages[num];
$targetpage "index1.php" //your file name  (the name of this file)
$limit 2 //how many items to show per page
$page $_GET['swords'];
if($page
$start = ($page 1) * $limit //first item to display on this page
else
$start 0; //if no page var is given, set start to 0
 
/* Get data. */
$sql "SELECT DISTINCT * FROM $tbl_name  WHERE $searchstring or $searchstring1 or $searchstring2 LIMIT $start$limit";
$result mysql_query($sql);
 
/* Setup page vars for display. */
if ($page == 0$page 1; //if no page var is given, default to 1.
$prev $page 1; //previous page is page - 1
$next $page 1; //next page is page + 1
$lastpage ceil($total_pages/$limit); //lastpage is = total pages / items per page, rounded up.
$lpm1 $lastpage 1; //last page minus 1
 
$pagination "";
if($lastpage 1)
{
$pagination .= "<div class=\"pagination\">";
//previous button
if ($page 1
$pagination.= "<a href=\"$targetpage?swords=$prev?=\">« previous</a>";
else
$pagination.= "<span class=\"disabled\">« previous</span>";
 
//pages
if ($lastpage + ($adjacents 2)) //not enough pages to bother breaking it up
{
for ($counter 1$counter <= $lastpage$counter++)
{
if ($counter == $page)
$pagination.= "<span class=\"current\">$counter</span>";
else
$pagination.= "<a href=\"$targetpage?swords=$counter\">$counter</a>";
}
}
elseif($lastpage + ($adjacents 2)) //enough pages to hide some
{
//close to beginning; only hide later pages
if($page + ($adjacents 2))
{
for ($counter 1$counter + ($adjacents 2); $counter++)
{
if ($counter == $page)
$pagination.= "<span class=\"current\">$counter</span>";
else
$pagination.= "<a href=\"$targetpage?swords=$counter\">$counter</a>";
}
$pagination.= "...";
$pagination.= "<a href=\"$targetpage?swords=$lpm1\">$lpm1</a>";
$pagination.= "<a href=\"$targetpage?swords=$lastpage\">$lastpage</a>";
}
//in middle; hide some front and some back
elseif($lastpage - ($adjacents 2) > $page && $page > ($adjacents 2))
{
$pagination.= "<a href=\"$targetpage?swords=1\">1</a>";
$pagination.= "<a href=\"$targetpage?swords=2\">2</a>";
$pagination.= "...";
for ($counter $page $adjacents$counter <= $page $adjacents$counter++)
{
if ($counter == $page)
$pagination.= "<span class=\"current\">$counter</span>";
else
$pagination.= "<a href=\"$targetpage?swords=$counter\">$counter</a>";
}
$pagination.= "...";
$pagination.= "<a href=\"$targetpage?swords=$lpm1\">$lpm1</a>";
$pagination.= "<a href=\"$targetpage?swords=$lastpage\">$lastpage</a>";
}
//close to end; only hide early pages
else
{
$pagination.= "<a href=\"$targetpage?swords=1\">1</a>";
$pagination.= "<a href=\"$targetpage?swords=2\">2</a>";
$pagination.= "...";
for ($counter $lastpage - (+ ($adjacents 2)); $counter <= $lastpage$counter++)
{
if ($counter == $page)
$pagination.= "<span class=\"current\">$counter</span>";
else
$pagination.= "<a href=\"$targetpage?swords=$counter\">$counter</a>";
}
}
}
 
//next button
if ($page $counter 1
$pagination.= "<a href=\"$targetpage?swords=$next\">next »</a>";
else
$pagination.= "<span class=\"disabled\">next »</span>";
$pagination.= "</div>\n";
}
 
if (
mysql_num_rows($result) == 0){ 
echo 
"No results were found"
}
        
while($row mysql_fetch_array($result))
{
$title=$row['title'];
$url=$row['url'];
$description=$row['description'];
echo 
"<a href='$url'>$title</a><br><i>$description</i><br>$url<hr>";

}
echo 
$pagination
}
}
}
 
?>

</body>
</html>
IP sačuvana
social share
Pogledaj profil WWW
 
Prijava na forum:
Ime:
Lozinka:
Zelim biti prijavljen:
Trajanje:
Registruj nalog:
Ime:
Lozinka:
Ponovi Lozinku:
E-mail:
Idi gore
Stranice:
2  Sve
Počni novu temu Nova anketa Odgovor Štampaj Dodaj temu u favorite Pogledajte svoje poruke u temi
Trenutno vreme je: 19. Jul 2025, 21:12:20
nazadnapred
Prebaci se na:  

Poslednji odgovor u temi napisan je pre više od 6 meseci.  

Temu ne bi trebalo "iskopavati" osim u slučaju da imate nešto važno da dodate. Ako ipak želite napisati komentar, kliknite na dugme "Odgovori" u meniju iznad ove poruke. Postoje teme kod kojih su odgovori dobrodošli bez obzira na to koliko je vremena od prošlog prošlo. Npr. teme o određenom piscu, knjizi, muzičaru, glumcu i sl. Nemojte da vas ovaj spisak ograničava, ali nemojte ni pisati na teme koje su završena priča.

web design

Forum Info: Banneri Foruma :: Burek Toolbar :: Burek Prodavnica :: Burek Quiz :: Najcesca pitanja :: Tim Foruma :: Prijava zloupotrebe

Izvori vesti: Blic :: Wikipedia :: Mondo :: Press :: Naša mreža :: Sportska Centrala :: Glas Javnosti :: Kurir :: Mikro :: B92 Sport :: RTS :: Danas

Prijatelji foruma: Triviador :: Nova godina Beograd :: nova godina restorani :: FTW.rs :: MojaPijaca :: Pojacalo :: 011info :: Burgos :: Sudski tumač Novi Beograd

Pravne Informacije: Pravilnik Foruma :: Politika privatnosti :: Uslovi koriscenja :: O nama :: Marketing :: Kontakt :: Sitemap

All content on this website is property of "Burek.com" and, as such, they may not be used on other websites without written permission.

Copyright © 2002- "Burek.com", all rights reserved. Performance: 0.078 sec za 13 q. Powered by: SMF. © 2005, Simple Machines LLC.