Fix phpcs
This commit is contained in:
parent
b480301a37
commit
63fad7dc07
@ -112,7 +112,6 @@ if ($resql) {
|
|||||||
$num = $db->num_rows($resql);
|
$num = $db->num_rows($resql);
|
||||||
|
|
||||||
while ($row = $db->fetch_row($resql)) {
|
while ($row = $db->fetch_row($resql)) {
|
||||||
|
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
for($i = 1; $i <= 12; $i ++) {
|
for($i = 1; $i <= 12; $i ++) {
|
||||||
print '<td class="right">' . $row[$i] . '</td>';
|
print '<td class="right">' . $row[$i] . '</td>';
|
||||||
@ -120,6 +119,7 @@ if ($resql) {
|
|||||||
print '<td class="right"><b>' . $row[13] . '</b></td>';
|
print '<td class="right"><b>' . $row[13] . '</b></td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$db->free($resql);
|
$db->free($resql);
|
||||||
} else {
|
} else {
|
||||||
print $db->lasterror(); // Show last sql error
|
print $db->lasterror(); // Show last sql error
|
||||||
|
|||||||
@ -134,7 +134,6 @@ if ($resql) {
|
|||||||
$num = $db->num_rows($resql);
|
$num = $db->num_rows($resql);
|
||||||
|
|
||||||
while ($row = $db->fetch_row($resql)) {
|
while ($row = $db->fetch_row($resql)) {
|
||||||
|
|
||||||
for($i = 1; $i <= 12; $i ++) {
|
for($i = 1; $i <= 12; $i ++) {
|
||||||
print '<td class="nowrap center">' . $row[$i] . '<br><br>';
|
print '<td class="nowrap center">' . $row[$i] . '<br><br>';
|
||||||
print '<input id="cb'.$row[$i].'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$row[$i].'"'.($selected?' checked="checked"':'').'>';
|
print '<input id="cb'.$row[$i].'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$row[$i].'"'.($selected?' checked="checked"':'').'>';
|
||||||
@ -142,7 +141,7 @@ if ($resql) {
|
|||||||
}
|
}
|
||||||
print '<td class="valigntop"><b>' . $row[13] . '</b></td>';
|
print '<td class="valigntop"><b>' . $row[13] . '</b></td>';
|
||||||
}
|
}
|
||||||
print
|
|
||||||
$db->free($resql);
|
$db->free($resql);
|
||||||
} else {
|
} else {
|
||||||
print $db->lasterror(); // Show last sql error
|
print $db->lasterror(); // Show last sql error
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user