Lines Matching defs:cells
127 $cells[$row]=explode("|",preg_replace("/^\|/","",$line));
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 "|";
149 $rowspancells=$cells;
152 for ($y=1;$y<count($cells)+1;$y=$y+1)
153 for ($x=0;$x<count($cells[$y]);$x=$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])))
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)
195 for ($y=1;$y<count($cells)+1;$y=$y+1)
198 for ($x=0;$x<count($cells[$y]);$x=$x+1)
203 $tablesource.=$cells[$y][$x];
204 if ($x<count($cells[$y])-1) $tablesource.=" || ";
215 unset($cells);
230 if ($in_table) $line=""; // if this is in a table then the table's content will be stored in $headers and $cells