i++ передвидул выше а то на выборка при нажатии на колонку происходила не правильно

This commit is contained in:
Igor I
2024-08-14 16:50:44 +05:00
parent ec85845d9e
commit 91e8b21d39
10 changed files with 20 additions and 19 deletions

View File

@ -1247,12 +1247,12 @@
fwrite($fh, ' <caption><b>'.findNode($currNode,'objects-list')->getAttribute("d").'</b></caption>'."\n");
fwrite($fh, ' <thead>'."\n");
fwrite($fh, ' <tr>');
fwrite($fh, '<td bgcolor="#d1d1d1">№</td>');
fwrite($fh, '<td style="background-color:#d1d1d1;">№</td>');
$nextnode=findNode($currNode,'objects-list')->firstChild;
$col=0;
while ($nextnode)
{ if ($nextnode->nodeName=='column')
{ fwrite($fh, '<td bgcolor="#d1d1d1" width="'.$nextnode->getAttribute("width").'px"><b>'.$nextnode->getAttribute("d")."</b></td>");
{ fwrite($fh, '<td style="background-color:#d1d1d1;" width="'.$nextnode->getAttribute("width").'px"><b>'.$nextnode->getAttribute("d")."</b></td>");
}
$nextnode = $nextnode->nextSibling;
}