예제 #1
0
  </td>
 </tr>
 <tr>
  <td colspan='2'>
  <br>
  </td>
 </tr>
 <tr>
  <td>
   <em>*</em><?php 
echo $cnameofforest;
?>
  </td>
  <td>
   <?php 
echo makeForestlist($flist, "nameofforest_id", $nameofforest_id, "", 0, "class='required'");
?>
  </td>
  </tr>
 <tr>
  <td colspan="2" align="right">
   <input type="submit" name="submit" id="submit" value="Next"/>
  </td>
 </tr>
</table>

 <table align="center" width="80%" border="0" cellspacing=""
	cellpadding="" height="">
   <?php 
if (isset($markList)) {
    if (!empty($markList)) {
예제 #2
0
파일: ajax_call.php 프로젝트: hpie/hpie
<?php

include 'include_files.php';
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;