Lines Matching refs:x
142 for ($x=0;$x<count($cells[$y]);$x=$x+1)
144 echo $cells[$y][$x]; echo "|";
153 for ($x=0;$x<count($cells[$y]);$x=$x+1)
154 $rowspancells[$y][$x]=1;
156 // every cell that needs an attribute rowspan=x gets x as its rowspan value
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;
172 for ($x=0;$x<count($cells[$y]);$x=$x+1)
173 if (preg_match("/ *::: */",$cells[$y][$x])) $rowspancells[$y][$x]=0;
178 for ($x=0;$x<count($cells[$y]);$x=$x+1)
179 echo $rowspancells[$y][$x];
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.=" || ";