"#"){// main cycle start +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ $x = $data1[$row1][$polyaMy]; $y = $data1[$row1][$polyaMy+1]; if ( $y != 0 ) { // y != 0 start +++,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, $countCol = 0 ; $countRow = 1 ; $countPage++ ; // } $rTmp = $y ; $yTmp = $y ; settype($yTmp, "integer"); } // y != 0 end +++,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, if ( $x != 0 ) { // x != 0 start +++.................................................. $countCol = 0 ; $cTmp = $x ; $xTmp = $x ; settype($xTmp, "integer"); if ( $y == 0 ) { $countRow++ ; } } // y != 0 end +++.................................................................................. $countPic++; if ( $countCol == $cTmp ) { $countCol = 1 ; $countRow++ ; if ( $yTmp > 0 ) { // counter row to default start ------------- $yTmp-- ; if ( $yTmp == 0 ) { $cTmp = $c ; $rTmp = $r ; } } // counter row to default end ----------------------------------- } else { $countCol++; } // colCounter end if ( $countRow > $rTmp ) { $countRow = 1 ; $countPage++ ; } // rowCounter end if ( $xTmp > 0 ) { // counter col to default start ------------- $xTmp-- ; if ( $xTmp < 0 ) { $cTmp = $c ; $countCol = 1 ; $countRow++ ; } } // counter row to default end ----------------------------------- $currentArray[ $countPage ][ $countRow ][ $countCol ] = $row1 ; $npTmp = ereg_replace(".jpg","",$data1[$row1][0]); if ( ($np == $npTmp) AND isset($np) ) { $p = $countPage; } $row1++; } // main cycle end +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ } else {$row1++;} } //echo( $countPage." / ".$countPic."

"); $row--; $cp=""; for ($k=0; $k<=$countPage; $k++) { $cp .=" "; if ($k==$p) { $cp .= ""."".($k+1)."";} else {$cp .="".($k+1)."";} } ?> Современное искусство. Живопись. Абстракция, акварель, масло, графика. Картины художника | Художник Темо Свирели
  О жудожнике Темо СвирелиГалереи / ПартнёрыНовости Темо Свирели  и Поиск по сайту
  " ); // row +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ end } // end while // end table :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: //////////////////// FUNCTIONS ///////////////// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ START function gallery( $tempArray ) { // ***************************************************************start reset( $tempArray ) ; $col = count( $tempArray ); $TDwidth = ( 100/$col ); global $data1, $lan, $d1, $n1, $isize1, $w1, $h1, $isize1, $w11, $h11, $js1, $tabStart, $tabEnd, $tmpLan, $menur, $mm, $cm; $picTD = ""; $txtTD = ""; while ( list ( $key ) = each ( $tempArray )) { $curCol = $key; $id = $tempArray["$curCol"] ; $js1=imageInfo($id); $np=ereg_replace(".jpg","",$data1[$id][0]); $picTD = $picTD.""; } $vyvod = "".$picTD."\r\n"; return $vyvod; } // ************************************************************************************************ end function imageInfo ( $i ) { // *******************************************************************start global $data1, $lan, $d1, $n1, $isize1, $w1, $h1, $isize1, $w11, $h11, $js1, $mm, $sm, $menup, $ptitle; $d1=$data1[$i][0]; $n1=$data1[$i][$lan+3]; $isize1 = getimagesize("../gallery/$d1"); $w1=$isize1[0]; $h1=$isize1[1]; $isize1 = getimagesize("../gallery/thumb_$d1"); $w11[$i]=$isize1[0]; $h11[$i]=$isize1[1]; // $js1="JustSoPicWindow('../gallery/$d1','$w1','$h1',' :: $n1','#FFFFFF','hug image','10','w1$i');return document.MM_returnValue"; //echo $lan." : ".$mm." : ".$sm." : ".$menup[$lan][$mm][$sm]."
"; $js1="JustSoPicWindow('../gallery/$d1','$w1','$h1',' ".$menup[$lan][$mm][$sm]." // ".$data1[$i][$lan+3]."','#FFFFFF','hug image','10','w1$i','');return document.MM_returnValue"; return $js1; } // ************************************************************************************************ end //////////////////// FUNCTIONS ///////////////// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ END ///////////////////////////////////////////////////////////////////////111111111111111111111111 ?>
".(($data1[$id][1]>0)?($data1[$id][1].', '):('')).(($data1[$id][$lan+4]!='')?($data1[$id][$lan+4].',
'):('
')).(($data1[$id][2]!='')?($data1[$id][2].$cm[$lan].'
'):('')).(($data1[$id][$lan+5]!='')?($data1[$id][$lan+5]):(''))."','".(($data1[$id][$lan+3]!='')?($data1[$id][$lan+3]):(''))."')\">
   
         
Programming by KSF :: Software Development Company   
Offshore Custom Development : Outsourcing and IT services