Lines Matching defs:y
140 for ($y=1;$y<count($cells)+1;$y=$y+1)
142 for ($x=0;$x<count($cells[$y]);$x=$x+1)
144 echo $cells[$y][$x]; echo "|";
152 for ($y=1;$y<count($cells)+1;$y=$y+1)
153 for ($x=0;$x<count($cells[$y]);$x=$x+1)
154 $rowspancells[$y][$x]=1;
157 for ($y=1;$y<count($cells);$y=$y+1)
159 for ($x=0;$x<count($cells[$y]);$x=$x+1)
162 while (($y+$z<=count($cells)) && (preg_match("/ *::: */",$cells[$y+$z][$x])))
164 $rowspancells[$y][$x]+=1;
171 for ($y=1;$y<count($cells)+1;$y=$y+1)
172 for ($x=0;$x<count($cells[$y]);$x=$x+1)
173 if (preg_match("/ *::: */",$cells[$y][$x])) $rowspancells[$y][$x]=0;
176 for ($y=1;$y<count($cells)+1;$y=$y+1)
178 for ($x=0;$x<count($cells[$y]);$x=$x+1)
179 echo $rowspancells[$y][$x];
195 for ($y=1;$y<count($cells)+1;$y=$y+1)
198 for ($x=0;$x<count($cells[$y]);$x=$x+1)
200 if ($rowspancells[$y][$x]>=1)
202 if ($rowspancells[$y][$x]>1) $tablesource.="rowspan=".$rowspancells[$y][$x]."|";
203 $tablesource.=$cells[$y][$x];
204 if ($x<count($cells[$y])-1) $tablesource.=" || ";