We use cookies to enhance the experience on our site. If you continue browsing you agree to use them
Agree Informations for management cookies
Rough Collie - Veterans
'$inizio' ORDER by cccucciolonome asc "; } else if ($id ==07) { $querystr = "SELECT * FROM alberogenealogico WHERE chitaliano ='Si' and figlio >'$inizio' and paradisecollie !='No' || chinternazionale ='Si' and figlio >'$inizio' and paradisecollie !='No' || chriproduttore ='Si' and figlio > '$inizio' and paradisecollie !='No' || gpromessa ='Si' and figlio >'$inizio' and paradisecollie !='No' || titolo != '' and figlio > '$inizio' and paradisecollie !='No' ORDER by figlio asc "; } else { $querystr = "SELECT * FROM alberogenealogico WHERE razza='$titolo' and tipocane='$sottotitolo' and paradisecollie ='Si' and figlio>'$inizio' ORDER by figlio asc "; } $result = mysql_query($querystr); if (mysql_num_rows($result)==0) { $modifica1 = "none"; } if ($result) { while($row = mysql_fetch_array($result) and $contatore<3 and $riga<2){ if($id ==01) { $canex = $row['cccucciolo']; $querystr = "SELECT * FROM alberogenealogico WHERE codice = '$row[cccucciolo]' "; $resultk = mysql_query($querystr); if (mysql_num_rows($resultk)==0) { } else {$row = mysql_fetch_array($resultk); if ($row['sesso'] == "Femmina") { $areacuccioli = "fe";} else { $areacuccioli = "ma";} } } $foto= $row['codice'].".jpg"; $filex = "fotocane/$foto"; if(file_exists($filex)) { $filename = "fotocane/".$row['codice'] .".jpg"; $width = $height = -1; $resource = @imagecreatefromjpeg($filename); if(!$resource) { } else{ $width = imagesx($resource); $height = imagesy($resource); imagedestroy($resource);} if($width <= 220 && $height <= 220 ) {$l = $width; $a =$height; }else{ $l = 220; $a = 220; if($width > $height) { $a = 220 * $height /$width; $l = 220; if($a > 220) { $l = $width * 220 / $height; $a = 220; }} if($height > $width) { $l = $width * 220 / $height; $a = 220; $l=round($l, 0); if($l > 220) { $a = 220 * $height /$width; $l = 220;}} if($height == $width) { $l = 220; $a= 220;} } } else { $filex= ""; $a = 0; $l = 0;} $contatore = $contatore+1; if ($contatore==1 and $riga ==0) { if($id ==01) { $pre= $canex; } else { $pre= $row['codice']; }} if ($contatore==1) { $nome1= $row['figlio']; $fotouno=$filex; $l1=$l; $a1=$a; $codice1= $row['codice']; $areacuccioli1=$areacuccioli; $nome2=""; $nome3=""; $cdx=""; $fotodue=""; $fototre=""; } if ($contatore==2) { $nome2= $row['figlio']; $fotodue=$filex; $l2=$l; $a2=$a; $codice2= $row['codice']; $areacuccioli2=$areacuccioli; } if ($contatore==3) { $nome3= $row['figlio']; $fototre=$filex; $l3=$l; $a3=$a; $codice3= $row['codice']; $areacuccioli3=$areacuccioli; $cdx=$row['codice']; } if($id ==01) { $end= $canex; } else{ $end= $row['codice']; } if ($contatore==3) {$contatore=0; $riga = $riga+1; ?>
 
"") { ?>
"") { ?>
"") { ?>
 
"") { ?>
 
"") { ?>
 
'$end' ORDER by cccucciolonome asc "; } else if ($id ==07) { $querystr = "SELECT * FROM alberogenealogico WHERE chitaliano ='Si' and figlio>'$ultimo' and paradisecollie !='No' || chinternazionale ='Si' and figlio>'$ultimo' and paradisecollie !='No' || chriproduttore ='Si' and figlio>'$ultimo' and paradisecollie !='No' || gpromessa ='Si' and figlio>'$ultimo' and paradisecollie !='No' || titolo != '' and figlio>'$ultimo' and paradisecollie !='No' ORDER by figlio asc "; } else { $querystr = "SELECT * FROM alberogenealogico WHERE razza='$titolo' and tipocane='$sottotitolo' and codice>'$cdx' and paradisecollie ='Si' ORDER by figlio asc "; } $resulto = mysql_query($querystr); if ($resulto) if (mysql_num_rows($resulto)==0) { $succe= "none"; } else { $succe= "visible"; } } ?> 0) {$contatore=0; ?>
 
"") { ?>
 
"") { ?>
 
"") { ?>
 
Breeding Paradise Collies P.I. O6947250723
Home  -  Login