if (isset($_GET['get'])) { if ($_GET['get'] == 'fs') { $depId = $_GET['depid']; if ($depId != '0') { $flist = array(); $flist = $forestDO->getForestListDFO($depId); echo makeForestlist($flist, "nameofforest_id", $nameofforest_id, "loadSelectTable", 0, "class='required'"); } } if ($_GET['get'] == 'vt') { $fId = $_GET['fid']; if ($fId != '0') { $arrVolumeTables = array(); $table = 'm_volume_table'; $arrVolumeTables = $common->getAllVolumeTables($fId); echo makeSelectOptions($arrVolumeTables, "i_table_id", $i_table_id, "", 0, "class='required'"); } } if ($_GET['get'] == 'selectlots') { $division = $_GET['division']; $lotDetailList = $common->getAllLotDetail($lotNo, $division); $toRetrun = "<select name='markId'>"; $toRetrun .= "<option value=''>All</option>"; foreach ($lotDetailList as $key => $detail) { $toRetrun .= "<option value='" . $key . "'>" . $detail['vc_lotno'] . "</option>"; } $toRetrun .= '</select>'; echo $toRetrun; } if ($_GET['get'] == 'entryPointsRSD') { $markId = $_GET['markId'];
echo $login; ?> ' size='25' maxlength='50' autocomplete="off"></td> </tr> <tr class='even'> <td valign='top' align='left' class='label'>Password</td> <td valign='top' align='left'><input type ='password' class='loginField' name='password' id ='password' value ='<?php echo $password; ?> ' size='15' maxlength='15' autocomplete="off"></td> </tr> <tr class='even'> <td valign='top' align='left' class='label'>Division</td> <td valign='top' align='left'> <?php echo makeSelectOptions($divionLoginList, "division", "0", "", "", ""); ?> </td> </tr> <tr class='odd'> <td valign='top' align='left' class='label'> </td> <td valign='top' align='left'> <input type ='hidden' name='loginSubmitted' value ='1'> <input type ='reset' class='btnSubmit' name='reset' id ='reset' value ='Reset'> <input type ='submit' class='btnSubmit' name='submit' id ='submit' value ='Submit'> </td> </tr> </table> </td> </tr> </table>
<tr> <td class="fill"><em>*</em><?php echo $carea; ?> </td> <td> <table> <tr> <td><input name="area" id="area" type="text" class="required number" value="<?php echo $area; ?> " /></td> <td><?php echo makeSelectOptions($arrUnits, "i_unit_id", $i_unit_id, "", "100", "class='required'"); ?> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" align="right"><input type="submit" name="submit" id="submit" value="Next" /></td> </tr> </table> </form>
<td><div id='timberType'> <select style='width: 100px'> <option value=''>- select -</option> </select> </div></td> <td> <div id='fromEntryPoint'> <select style='width: 100px'> <option value=''>- select -</option> </select> </div> </td> <td> <?php echo makeSelectOptions($allForestPoints, "destination[0]", $i_contractor_id, "", 100, "class='required'"); ?> </td> </tr> <tr> <td>Available To Transfer</td> <td>Number</td> <td>Charges</td> <td>Mate Comission</td> <td>Chargeable Lead</td> </tr> <tr> <td><input type='text' id='volumetotransfer' name='volumetotransfer' readonly="readonly"/></td> <td> <input type='text' id='i_count[0]' name='i_count[0]'
?> <option value='<?php echo $overHeadId; ?> '><?php echo $detail['vc_name']; ?> </option> <?php } ?> </select> <?php echo makeSelectOptions($arrAllcontractors, "contractorMaster", $i_contractor_id, "", 0, ""); echo makeSelectOptions($allForestPoints, "pointMaster", $i_contractor_id, "", 100, ""); ?> </div> <table align="center" width="90%" border="0" cellspacing="0" cellpadding=""> <tr> <td colspan='2' align="center"><label class="error"><?php echo $errorMsg; ?> </label> </td> </tr> <tr>
type='hidden' value='<?php echo $i_year; ?> ' /> </td> </tr> <?php } else { ?> <tr> <td width="30%"><?php echo makeSelectOptions($arrMonths, "i_month_id", $i_month_id, "", 150, "class='required'"); ?> </td> <td><?php echo makeSelectOptions($arrYears, "i_year", $i_year, "", 70, "class='required'"); ?> </td> </tr> <?php } ?> </table> </td> </tr> <tr> <td align="left" class="fill" colspan="3"> Tree Name/<?php echo $ccategory;
function generateSelectListAjaxRSD($markdId, $treeId, $month, $year, $i_timber_id, $i_timbertype_id) { $leftFromForest = 0; $markDetail = new MarkDetailDO(); $forestIEntryId = array(); $entryPointList = $this->getForestEntryPointsRSD($markdId, $treeId, $month, $year, $i_timber_id, $i_timbertype_id); if (display_float($treeForestVolume['i_count']) - $leftFromForest > 0) { $entryPointList[-1] = 'Forest'; } echo makeSelectOptions($entryPointList, "fromPoint", $i_contractor_id, "fetchVolumeAvailable", 100, ""); }
<?php foreach ($overHeadEntry as $overHeadId => $detail) { ?> <option value='<?php echo $overHeadId; ?> '><?php echo $detail['vc_name']; ?> </option> <?php } ?> </select></td> <td><?php echo makeSelectOptions($arrAllcontractors, "contract[0]", $i_contractor_id, "", 100, "class='required'"); ?> </td> <td><input type='text' id='source[0]' name='source[0]' /></td> <td><input type='text' id='destination[0]' name='destination[0]' /></td> <td><input type='text' id='volume[0]' name='volume[0]' onfocus="getFocus(this)" onblur="validateVolume(0);" /></td> <td><input type='text' id='charges[0]' name='charges[0]' /></td> <td><input type="checkbox" id='exit[0]' name='exit[0]' value='1' onchange="validateVolume(0);" /></td> <td colspan="20" style='text-align: right;'><input type='button' onclick="addMore('0')" value='Add More' /></td> </tr> <?php
</table> <table style="width: 400px"> <tr> <td>Choose Contractor</td> <td> <?php echo makeSelectOptions($arrAllcontractors, "i_contractor_id", $i_contractor_id, "", 0, ""); ?> </td> </tr> <tr> <td>Choose Lot</td> <td> <?php echo makeSelectOptions($arrgetAllLots, "i_lot_no", $i_contractor_id, "", 0, ""); ?> </td> </tr> <tr> <td>Felling</td> <td> <input type='checkbox' value='1' name='felling'/> </td> </tr> <tr> <td>Conversion</td> <td> <input type='checkbox' value='1' name='conversion'/> </td> </tr>
<option value='2011'>2011</option> <option value='2012'>2012</option> <option value='2013'>2013</option> <option value='2014'>2014</option> <option value='2015'>2015</option> <option value='2016'>2016</option> <option value='2017'>2017</option> </select></td> </tr> <tr> <td>To Month</td> <td width="30%"><?php echo makeSelectOptions($arrMonths, "i_month_id", $i_month_id, "", 150, "class='required'"); ?> </td> </tr> <tr> <td style="text-align: right;"><input type='button' value='Cancel' onclick="HideMarking()" /> </td> <td style="text-align: right;"><input type='submit' value='Save' name='submit' /> </td> </tr> </table> </div> </form> <div id='displayMarking'>
} </style> </head> <body> <h3>Web Calculator</h3> <form action="calculator.php" method="post"> <select name="num1" size="1"> <?php echo makeSelectOptions(getNumberOptions(), $_POST['num1']); ?> </select> <select name="operator" size="1"> <?php echo makeSelectOptions(getOperators(), $_POST['operator']); ?> </select> <select name="num2" size="1"> <?php echo makeSelectOptions(getNumberOptions(200, 500, 10), $_POST['num2']); ?> </select> = <span><?php echo number_format($answer, 3); ?> </span> <p><input type="submit" value="Process" /></p> </form> </body> </html>
onmouseout="this.className='normal'"> <td align='center' class='gridText'> <?php echo $srNo; ?> </td> <td align='left' class='gridText'> <?php echo $vc_name; ?> </td> <td align='center'><?php echo makeSelectOptions($appliedToLot, $id . "[i_applicable]", $i_applicable, "setClassName({$id})", "10px", "class='{$i_applicableC}'"); ?> </td> <td align='center'><?php echo makeSelectOptions($stateOfExpense, $id . "[i_stateOfExpence]", $i_stateOfExpence, "setClassName({$id})", "10px", "class='{$i_applicableC}'"); ?> </td> <td align='center'><input name="<?php echo $id . '[f_rate]'; ?> " id="<?php echo $id . '[f_rate]'; ?> " value="<?php echo $f_rate; ?> " class="<?php echo $f_rateC; ?>
<td align='center'><input name="<?php echo $id . '[f_rate]'; ?> " id="<?php echo $id . '[f_rate]'; ?> " value="<?php echo $f_rate; ?> " class="<?php echo $f_rateC; ?> " /></td> <td align='center'><?php echo makeSelectOptions($arrTreeType, $id . "[i_treeType_id]", $i_treeType_id, "", "", "class='{$i_treeType_idC}'"); ?> </td> <?php if ($records['i_overhead_type'] == 1) { ?> <td><input type='text' value="<?php echo $vc_source; ?> " name="<?php echo $id . '[vc_source]'; ?> " id="<?php echo $id . '[vc_source]'; ?> " style="width: 100px;" /></td>