|
|
|
<?php
|
|
|
|
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" width="40%"></td>';
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
echo '<td class=', $class , '><img src="../img/excla.png" width="40%"></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" width="40%"></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>';
|
|
|
|
}
|
|
|
|
?>
|