Viewing file: v_showAddrRow.php (2.19 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg = (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL;
?>
<table>
<tr>
<td><br /></td>
</tr>
<tr>
<td colspan="2">
<?php
$dataText = array('name' => 'addr',
'id' => 'addr',
'value' => setValue('cfgClgName',$row_cfg).' '.setValue('cfgClgAddr',$row_cfg),
'rows' => '2',
'cols' => '50');
echo form_textarea($dataText);
?> </td>
</tr>
<tr>
<td class="coltd_szone">ตำบล</td>
<td><input type="text" name="dtNameCurrent" id="dtNameCurrent" value="<?php echo set_value('dtNameCurrent');?>" class="input2" readonly />
<input type="input" name="sdtDtIdCurrent" id="sdtDtIdCurrent" value="<?php echo set_value('sdtDtIdCurrent');?>" />
<span class="error"><?php echo form_error('sdtDtIdCurrent');?></span></td>
<td class="coltd_szone">อำเภอ</td>
<td>
<input type="text" name="apNameCurrent" id="apNameCurrent" value="<?php echo set_value('apNameCurrent');?>" class="input2" readonly />
<?php
echo anchor_popup($this->config->item("rg_folder")."popup/dtCur_popup", "<img src=\"".base_url().$this->config->item('rg_search')."\" width=\"15\" height=\"19\" align=\"abmiddle\" border=\"0\" />", array("width" => "600", "height" => "350"));
?>
<span class="error">*</span>
<input type="input" name="sdtApIdCurrent" id="sdtApIdCurrent" value="<?php echo set_value('sdtApIdCurrent');?>" />
<span class="error"><?php echo form_error('sdtApIdCurrent');?></span></td>
</tr>
<tr>
<td class="coltd_szone">จังหวัด</td>
<td><input type="text" name="prvNameCurrent" id="prvNameCurrent" value="<?php echo set_value('prvNameCurrent');?>" class="input2" readonly />
<input type="input" name="sdtPrvIdCurrent" id="sdtPrvIdCurrent" value="<?php echo set_value('sdtPrvIdCurrent');?>" />
<span class="error"><?php echo form_error('sdtPrvIdCurrent');?></span></td>
<td class="coltd_szone">รหัสไปรษณีย์</td>
<td><input type="text" name="sdtCurrentPostCode" id="sdtCurrentPostCode" value="<?php echo set_value('sdtCurrentPostCode');?>" size="6" maxlength="5" class="required-int" />
<span class="error"><?php echo set_value('sdtCurrentPostCode');?></span></td>
</tr>
</table>
|