76 lines
2.2 KiB
PHP
76 lines
2.2 KiB
PHP
<?
|
|
$sub_menu = '400740';
|
|
include_once('./_common.php');
|
|
|
|
auth_check($auth[$sub_menu], "w");
|
|
|
|
$html_title = '배송회사';
|
|
if ($w == "u") {
|
|
$html_title .= ' 수정';
|
|
$readonly = ' readonly';
|
|
|
|
$sql = " select * from {$g4['shop_delivery_table']} where dl_id = '$dl_id' ";
|
|
$dl = sql_fetch($sql);
|
|
if (!$dl['dl_id']) alert('등록된 자료가 없습니다.');
|
|
}
|
|
else
|
|
{
|
|
$html_title .= ' 입력';
|
|
$dl['dl_url'] = "http://";
|
|
}
|
|
|
|
$g4['title'] = $html_title;
|
|
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
|
?>
|
|
|
|
<form name="fdeliverycodeform" action="./deliverycodeformupdate.php" method="post">
|
|
<input type="hidden" name="w" value="<? echo $w ?>">
|
|
<input type="hidden" name="dl_id" value="<? echo $dl_id ?>">
|
|
|
|
<section class="cbox">
|
|
<h2>배송회사 입력 수정</h2>
|
|
<table class="frm_tbl">
|
|
<colgroup>
|
|
<col class="grid_3">
|
|
<col class="grid_15">
|
|
</colgroup>
|
|
<tbody>
|
|
<tr >
|
|
<th scope="row"><label for="dl_company">배송회사명</label></th>
|
|
<td>
|
|
<input type="text" name="dl_company" value="<? echo stripslashes($dl['dl_company']) ?>" id="dl_company" required class="frm_input">
|
|
</td>
|
|
</tr>
|
|
<tr >
|
|
<th scope="row"><label for="dl_url">화물추적 URL</label></th>
|
|
<td>
|
|
<input type="text" class="frm_input" name="dl_url" value="<? echo stripslashes($dl['dl_url']) ?>" id="dl_url" size="100">
|
|
</td>
|
|
</tr>
|
|
<tr >
|
|
<th scope="row"><label for="dl_tel">고객센터 전화</label></th>
|
|
<td>
|
|
<input type="text" class="frm_input" name="dl_tel" value="<? echo stripslashes($dl['dl_tel']) ?>" id="dl_tel">
|
|
</td>
|
|
</tr>
|
|
<tr >
|
|
<th scope="row"><label for="dl_order">출력 순서</label></th>
|
|
<td>
|
|
<?=help("셀렉트박스에서 출력할 때 순서를 정합니다.\n\n숫자가 작을수록 상단에 출력합니다.");?>
|
|
<?=order_select("dl_order", $dl['dl_order'])?>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
|
|
<div class="btn_confirm">
|
|
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
|
<a href="./deliverycodelist.php">목록</a>
|
|
</div>
|
|
</form>
|
|
|
|
<?
|
|
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
|
?>
|