<?
add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
$wr1 = explode('|',$write['wr_18']);
$ex_zip = $wr1[0];
$ex_addr1 = $wr1[1];
$ex_addr2 = $wr1[2];
$ex_addr3 = $wr1[3];
$ex_jibeon = $wr1[4];
?>
<tr>
<th scope="row"><label for="wr_1">회사주소</label></th>
<td>
<label for="ex_zip" class="sound_only">우편번호</label>
<input type="text" id="address01" name="ex_zip" value="<?php echo $ex_zip; ?>" id="ex_zip" class="frm_input" size="6" maxlength="6">
<button type="button" class="btn_frmline" onclick="win_zip('fwrite', 'ex_zip', 'ex_addr1', 'ex_addr2', 'ex_addr3', 'ex_jibeon');">우편번호 검색</button><br>
<input type="text" name="ex_addr1" value="<?php echo $ex_addr1; ?>" id="ex_addr1" class="frm_input frm_address" size="50">
<label for="ex_addr1"></label><br>
<input type="text" name="ex_addr2" value="<?php echo $ex_addr2; ?>" id="ex_addr2" class="frm_input frm_address" size="50">
<label for="ex_addr2"></label>
<br>
<input type="text" name="ex_addr3" value="<?php echo $ex_addr3; ?>" id="ex_addr3" class="frm_input frm_address" size="50" readonly="readonly">
<label for="ex_addr3"></label>
<input type="hidden" name="ex_jibeon" value="<?php echo $ex_jibeon; ?>">
</td>
</tr>