|
|
|
<?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="table__switch">
|
|
|
|
<input class="checkbox" type="checkbox" onchange="Slider(\'',$class,'\')">
|
|
|
|
<span class="table__switch__slider"></span>
|
|
|
|
</label>
|
|
|
|
</td>
|
|
|
|
<td class=',$class,'><input class="button button--small" 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="table__switch">
|
|
|
|
<input class="checkbox" type="checkbox" onchange="Slider(\'',$class,'\')">
|
|
|
|
<span class="table__switch__slider"></span>
|
|
|
|
</label>
|
|
|
|
</td>
|
|
|
|
<td class=',$class,'><input class="button button--small" type="button" value="edit" onclick="Edit(\'',$class,'\')"></td>
|
|
|
|
</tr>';
|
|
|
|
}
|
|
|
|
?>
|