No Records Found!

 


 "; } else { $totalt=0; $consulta = mysql_query("SELECT DATE_FORMAT(data,'%y/%m/%d - %H:%i') AS data,data2,nome,niver,cidade,email,msn,icq,site,mensagem,Mmail FROM afbook WHERE liberado = 'S' ORDER BY data DESC limit $inicio,$max"); echo "
"; while ($mostra = mysql_fetch_array($consulta)) { echo " "; } echo "
"; echo "  Data: $mostra[1]\n

"; if ($mostra[10] == "N"){ echo "  Nome:   $mostra[2]\n
"; }else{ echo "  Nome:   $mostra[2]\n
"; } if (strlen($mostra[3]) > 2) { echo "  Aniversário:   $mostra[3]\n
"; } if (strlen($mostra[4]) > 2) { echo "  Cidade:   $mostra[4]\n
"; } if ($mostra[10] == "N"){ }else{ if (strlen($mostra[5]) > 2) { echo "   \n"; } } //if (strlen($mostra[6]) > 2) { echo "   \n"; } //if (strlen($mostra[7]) > 2) { echo "   \n"; } if ((strlen($mostra[8]) > 10) && ($mostra[8] != "http://")) { echo " \n"; } echo "
"; $texto=$mostra[9]; $palavras = array("<",">","|:s001:|", "|:s002:|", "|:s003:|", "|:s004:|", "|:s005:|", "|:s006:|", "|:s007:|", "|:s008:|", "|:s009:|", "|:s010:|", "|:s011:|", "|:s012:|", "|:s013:|", "|:s014:|", "|:s015:|", "|:s016:|", "|:s017:|", "|:s018:|", "|:s019:|","|:s020:|","|:s021:|","|:s022:|","|:s023:|","|:s024:|","|:s025:|","|:s026:|","|:s027:|","|:s028:|","|:s029:|","|:s030:|","|:s031:|","|:s032:|","|:s033:|","|:s034:|","|:s035:|","|:s036:|","|:s037:|","|:s038:|","|:s039:|","|:s040:|","|:s041:|","|:s042:|","|:s043:|","|:s044:|","|:s045:|","|:s046:|","|:s047:|","|:s048:|","|:s049:|","|:s050:|","|:s051:|","|:s052:|","|:s053:|","|:s054:|","|:s055:|","|:s056:|","|:s057:|","|:s058:|","|:s059:|","|:s060:|",";","\n"); $substitui = array("<",">", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", " ","
",); $msg=str_replace($palavras, $substitui, $texto); echo "$msg\n
"; echo "

Paginas

"; $menos = $pagina - 1; $mais = $pagina + 1; $pgs = ceil($total / $max); if($pgs > 1 ) {if($menos>0)echo "<< back   "; if (($pagina-4) < 1 )$anterior = 1;else$anterior = $pagina-4; if (($pagina+4) > $pgs )$posterior = $pgs;else$posterior = $pagina + 4; for($i=$anterior;$i <= $posterior;$i++) if($i != $pagina) echo " ".$i." "; else echo "".$i.""; if($mais <= $pgs) echo "   next >>"; } echo "
"; } ?>