</font> <table border =0> <tr><td>Tentative Number of blazes</td><td><input type = "text" name= "tenblaze" value="<?php echo $tenblazes; ?> " onkeyup="putyield();" onblur="putyield();" /></input></td></tr> <tr><td>Type of Area</td><td><input type = "text" name= "type_area" value="<?php echo getTypeAr($lot, $divi); ?> " /></input></td></tr> <tr><td>Yield Fixed</td><td><input type = "text" name= "YieldFixed1" value="<?php echo get_yield_fixed($lot, $divi, $year); ?> " disabled=disabled /></input></td></tr><input type = "hidden" name= "YieldFixed" value="<?php echo get_yield_fixed($lot, $divi, $year); ?> " /> <tr><td>Total quantity of resin likely to be extracted as per yield fixed(Qtls) </td><td><input type = "text" name= "totalresin" value="<?php echo $totres; ?> " disabled=disabled /></input></td></tr> <tr><td>Resin Extraction Charges Per Qtls</td><td><input type = "text" name= "ResinEx" value="" onkeypress="return isNumberKey(event)"/></input></td></tr> <tr><td>Crop Setting Charges per Section</td><td><input type = "text" name= "cropset" value="<?php echo $cropset; ?> " onkeypress="return isNumberKey(event)" /></input></td></tr> <tr><td>Mate Commission*</td><td><input type = "text" name= "matecom" value="<?php echo $matecom; ?>
while ($row = mysql_fetch_array($rs)) { $lotno = $row['lotno']; $currlot = addslashes($lotno); $divi = $row['division']; $rate = $row['rate']; $transrate = $row['tchargeavg']; $tenblazes = $row['tenblazes']; $leadmanD = array(); $leadmanD = explode(",", $row['leadmanD']); $leadmulD = array(); $leadmulD = explode(",", $row['leadmulD']); $leadtracD = array(); $leadtracD = explode(",", $row['leadtracD']); $totblazes += $tenblazes; $leaddistance = ($row['leadmanD'] != 0) . "," . $row['leadmulD']; echo '<tr><td>' . $i . '</td><td>' . $lotno . '/' . $year . '(' . getExten($currlot, $divi) . ')</td><td>' . $tenblazes . '</td><td>' . get_yield_fixed($currlot, $divi, $year) . '</td><td>'; foreach ($leadmanD as $lead) { if ($lead != 0) { echo $lead . ","; } } foreach ($leadmulD as $lead) { if ($lead != 0) { echo $lead . ","; } } foreach ($leadtracD as $lead) { if ($lead != 0) { echo $lead . ","; } }
<td>' . $i . '</td> <td>' . $data['lotno'] . '/' . $kapa . '(' . getExten($lotno, $divi) . ')</td> <td>' . sum_blazes($lotno, $divi, $kapa - 3) . '</td> <td>' . sum_blazes($lotno, $divi, $kapa - 2) . '</td> <td>' . sum_blazes($lotno, $divi, $kapa - 1) . '</td> <td>' . sum_tenblazes($lotno, $divi, $kapa) . '</td> <td>' . get_yield_fixed($lotno, $divi, $kapa - 3) . '</td> <td>' . round(get_yield_fixed($lotno, $divi, $kapa - 3) * sum_blazes($lotno, $divi, $kapa - 3) / 1000, 2) . ' </td> <td>' . get_yield_Obtained($lotno, $divi, $kapa - 3) . '</td> <td>' . round(get_yield_Obtained($lotno, $divi, $kapa - 3) * sum_blazes($lotno, $divi, $kapa - 3) / 1000, 2) . ' </td> <td>' . get_yield_fixed($lotno, $divi, $kapa - 2) . '</td> <td>' . round(get_yield_fixed($lotno, $divi, $kapa - 2) * sum_blazes($lotno, $divi, $kapa - 2) / 1000, 2) . ' </td> <td>' . get_yield_Obtained($lotno, $divi, $kapa - 2) . '</td> <td>' . round(get_yield_Obtained($lotno, $divi, $kapa - 2) * sum_blazes($lotno, $divi, $kapa - 2) / 1000, 2) . ' </td> <td>' . get_yield_fixed($lotno, $divi, $kapa - 1) . '</td> <td>' . round(get_yield_fixed($lotno, $divi, $kapa - 1) * sum_blazes($lotno, $divi, $kapa - 1) / 1000, 2) . ' </td> <td>' . get_yield_ObtainedSS($lotno, $divi, $kapa - 1) . '</td> <td>' . round(get_yield_ObtainedSS($lotno, $divi, $kapa - 1) * sum_blazes($lotno, $divi, $kapa - 1) / 1000, 2) . ' </td> <td>' . AvgYield($lotno, $divi, $kapa) . '</td> <td> </td> <td> </td> </tr>'; $i++; } ?> </table> <br /> <input type="button" onclick="javascript:window.location.assign('client.php')" value="Back" style="background-color: #b6e38e; width: 130px;" /> <input type=submit value='Print the List' style="background-color: #b6e38e; width: 130px;" onclick="print()"></p>