<table id="" width="800" cellpadding="0" cellspacing="0" border="1">
<tr>
<th scope="col" bgcolor="#999999">Выполненные работы</th>
<span id="table" width="800">
<table id=""cellpadding="0" cellspacing="0" align="center" width="800" border="1">
<tr>
<th width="300">Выполненные работы</th>
<th width="100">Цена</th>
<th width="100">Норма/час</th>
<th width="100">Сумма</th>
<th width="200">Исполнитель</th>
<th align="center">
<img src="img/Round Thing.png" width="30" height="30" onclick="return addField();"/>
</th>
<th align="center">
<img src="img/x.png" width="25" height="25" onclick="return adeleteField(this);"/>
</th>
</tr>
<?
$i =-1;
do {
$i++;
printf ("
<tr>
<th width='300'><input size='60' type='text' id='%s' value='%s' class='textfield'/></th width='100'><th width='100'>1000</th><th width='100'><label width='100'><input type='text' size='5' id='%s' value='%s' class='textfield' onBlur='sd()' onChange='sd()' onkeyup=\"document.getElementById('%s').innerHTML = parseInt(this.value)*1000;\"/>
</label></th><th width='100'><div id='%s' />%s</div></th><th width='200'><select id='%s'><option value='%s'>%s</option><option value='Травин Николай'>Николай</option><option value='Малинин Вова'>Вова</option> <option value='Vlad'>Vlad</option><option value='Рамзанов Руслан'>Руслан</option> </select></th><th><img src='img/Round Thing.png' onclick='return addField()' onMouseOver='sd()' width='30' height='30'></th><th><img src='img/x.png' onclick='return deleteField(this)' onMouseOver='sd()' width='25' height='25'></th> <tr>
", $rabotas["$i"],$myrow1["rabota_1"],$normas["$i"],$myrow1["norma"],$results["$i"],$results["$i"],$myrow1["sum"],$ispols["$i"],$myrow1["ispol"],$myrow1["ispol"]);
}
while ($myrow1 = mysql_fetch_array ($result1));
?>
<table align="center" id="parentId" width="800" cellpadding="0" cellspacing="0" border="1" ></table>
</table>