ACC SHELL
<?
include("db/auth.php");
include("db/connectdb.php");
include("head1.php");
$query="SELECT * FROM productd";
$result=mysql_query($query)
or die("Požadovaná data nelze nalézt");
$signnum=mysql_num_rows($result);
?>
<table border="1" >
<tr bgcolor="#0099CC">
<th nowrap>Pořadové číslo</th>
<th nowrap>Zjištění, neshoda, doporučení</th>
<th nowrap>Příčina neshod</th>
<th nowrap>Nápravná opatření</th>
<th nowrap>Zodpovědný pracovník</th>
<th nowrap>Termín realizace</th>
<th nowrap>Stav</th>
<th nowrap>Kontrola účinnosti - termín</th>
<th nowrap>Kontrola účinnosti - zhodnocení učinnosti</th>
</tr>
<?
for($i=1;$i<=$signnum;$i++){
$row_array=mysql_fetch_array($result);
?>
<tr align="center" bgcolor="#CCCCCC">
<td><? echo $row_array["idn"];?></td>
<td><textarea rows="5" cols="20" readonly="yes"><? echo $row_array["disc"];?></textarea></td>
<td><textarea rows="5" cols="20" readonly="yes"><? echo $row_array["tang"];?></textarea></td>
<td><textarea rows="5" cols="20" readonly="yes"><? echo $row_array["correct_m"];?></textarea></td>
<td ><? echo $row_array["resp_w"];?></td>
<td><? echo $row_array["term_r"];?></td>
<td><? echo $row_array["status"];?></td>
<td><? echo $row_array["check_d"];?></td>
<td><textarea rows="5" cols="20" readonly="yes"><? echo $row_array["check_n"];?></textarea></td>
</tr>
<? };
?>
</table>
<?
include("foot1.php");
?>
ACC SHELL 2018