You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.1 KiB
61 lines
2.1 KiB
<?php
|
|
if (isset($_POST['class'])) {
|
|
$class = $_POST['class'];
|
|
}
|
|
|
|
if (isset($line)) {
|
|
echo '<tr>
|
|
<td class=', $class , ' style="font-weight: bold;" >',$class,'</td>
|
|
<td class=', $class , '>',$line[1],'</td>
|
|
<td class=', $class , '>',$line[2],'</td>
|
|
<td class=', $class , '>',$line[3],'</td>
|
|
<td class=', $class , '>',$line[4],'</td>
|
|
<td class=', $class , '>',$line[5],'</td>
|
|
<td class=', $class , '>',$line[6],'</td>
|
|
<td class=', $class , '>',$line[7],'</td>
|
|
<td class=', $class , '>',$line[8],'</td>
|
|
<td class=', $class , '>',$line[9],'</td>
|
|
<td class=', $class , '>',$line[10],'</td>';
|
|
|
|
if ($line[11] == 1) {
|
|
echo '<td class=', $class , '><img src="../img/check.png"></td>';
|
|
}
|
|
else {
|
|
echo '<td class=', $class , '><img src="../img/excla.png" ></td>';
|
|
}
|
|
|
|
|
|
|
|
echo ' <td class=', $class , '>
|
|
<label class="switch">
|
|
<input class="checkbox" type="checkbox" onchange="Slider(\'',$class,'\')">
|
|
<span class="slider"></span>
|
|
</label>
|
|
</td>
|
|
<td class=',$class,'><input class="edit" type="button" value="edit" onclick="Edit(\'',$class,'\')"></td>
|
|
</tr>';
|
|
}
|
|
else {
|
|
echo '<tr>
|
|
<td class=', $class , ' style="font-weight: bold;" ></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '></td>
|
|
<td class=', $class , '><img src="../img/check.png"></td>
|
|
<td class=', $class , '>
|
|
<label class="switch">
|
|
<input class="checkbox" type="checkbox" onchange="Slider(\'',$class,'\')">
|
|
<span class="slider"></span>
|
|
</label>
|
|
</td>
|
|
<td class=',$class,'><input class="edit" type="button" value="edit" onclick="Edit(\'',$class,'\')"></td>
|
|
</tr>';
|
|
}
|
|
?>
|
|
|