query($req_sqlc); } catch (PDOException $e) { require($real.'/requires/php/PDOerror.php'); } while ($donnees = $reponse->fetch()) { $nbpic = $donnees[0]; } $b=20; //bas $h=21; //haut $e=20; //page $ch=1; $h=$h+$e; if ($nbpic>$b){ $ch=2; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=3; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=4; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=5; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=6; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=7; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=8; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=9; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=10; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=11; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=12; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=13; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=14; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=15; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=16; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=17; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=18; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=19; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=20; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=21; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=22; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=23; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=24; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=25; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=26; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=27; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=28; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=29; } $b=$b+$e; $h=$h+$e; if ($nbpic>$b){ $ch=30; } if ($pg!=''){ $lim = ($pg-1)*$e; $limite = "limit $lim,$e"; }else{ $pg=1; $limite = "limit 0,$e"; } $req_sqlx .= " $limite"; ?> Alphabetical order - <?php echo ucfirst($ilettre) ?> - Ducks Feet Links

Alphabetical order -

#

">#

'.$m.'

'; }else{ echo "

$m

"; } } if ($ilettre == 'z'){ ?>

z

">Z

query($req_sqlx); } catch (PDOException $e) { require($real.'/requires/php/PDOerror.php'); } while ($donnees = $reponse->fetch()) { $id_site = $donnees['id_site']; $sname = $donnees['titre']; $date_ajout = $donnees['date_ajout']; $date_upd = $donnees['date_upd']; $etat = $donnees['etat']; $url = $donnees['url']; $url_pub = $donnees['url_pub']; $c1 = $donnees['c1']; $c2 = $donnees['c2']; $c3 = $donnees['c3']; $des_en = $donnees['description_en']; $url_www = $donnees['url_www']; $plus1 = $donnees['plus1']; /* if ($url_pub != '') { $iurl = $url_pub; $iurl = str_replace('&','&',$iurl); }else{ $iurl = $url; } */ $new_img = ''; if ($date_ajout >= $new_date){ $new_img = ' new'; } if ($date_upd >= $new_date){ $new_img = ' new'; } if ($plus1 == 'y'){ $new_img = ' new'; } $url_image = $url; //retirer le http:// $nbc = strlen($url_image); $url_image = substr($url_image,7,$nbc); //retirer le www. $nbc = strlen($url_image); $www = substr($url_image,0,4); if ($www=='www.') { $url_image = substr($url_image,4,$nbc); } $url_image = str_replace('.','-',"$url_image"); $url_image = str_replace('/','-',"$url_image"); $url_image = str_replace('~','-',"$url_image"); ?>