쇼핑몰관리자 : #15 배송회사관리 배송회사 입력/수정 표준화 및 스타일 1차 작업 완료

This commit is contained in:
rollydream
2013-03-27 17:18:50 +09:00
parent 52cda1158a
commit 0d3e2a44ea
4 changed files with 48 additions and 37 deletions

View File

@ -28,6 +28,7 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<section class="cbox"> <section class="cbox">
<h2>배너 입력 수정</h2> <h2>배너 입력 수정</h2>
<?=$pg_anchor?>
<table class="frm_tbl"> <table class="frm_tbl">
<colgroup> <colgroup>
<col class="3"> <col class="3">
@ -120,7 +121,6 @@ include_once (G4_ADMIN_PATH.'/admin.head.php');
<?=order_select("bn_order", $bn['bn_order'])?> <?=order_select("bn_order", $bn['bn_order'])?>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</section> </section>

View File

@ -59,14 +59,13 @@ $result = sql_query($sql);
$list = $i%2; $list = $i%2;
echo " echo "
<tr class='list$list ht'> <tr class='list$list ht'>
<td align=center>{$row['co_id']}</td> <td style=\"text-align:center\">{$row['co_id']}</td>
<td>".htmlspecialchars2($row['co_subject'])."</td> <td>".htmlspecialchars2($row['co_subject'])."</td>
<td>$s_mod $s_del $s_vie</td> <td>$s_mod $s_del $s_vie</td>
</tr>"; </tr>";
} }
if ($i == 0) { if ($i == 0) {
echo "<tr><td colspan=\"3\" align=\"center\" height="100" bgcolor=\"#ffffff\"><span class=\"point\">자료가 한건도 없습니다.</span></td></tr>\n"; echo "<tr><td colspan=\"3\" align=\"center\" height=\"100\" bgcolor=\"#ffffff\"><span class=\"point\">자료가 한건도 없습니다.</span></td></tr>\n";
} }
?> ?>
</tbody> </tbody>

View File

@ -23,40 +23,52 @@ $g4['title'] = $html_title;
include_once (G4_ADMIN_PATH.'/admin.head.php'); include_once (G4_ADMIN_PATH.'/admin.head.php');
?> ?>
<?//=subtitle($html_title);?> <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 ?>">
<table cellpadding=0 cellspacing=0 width=100%> <section class="cbox">
<form name=fdeliverycodeform method=post action='./deliverycodeformupdate.php'> <h2>배송회사 입력 수정</h2>
<input type=hidden name=w value='<? echo $w ?>'> <?=$pg_anchor?>
<input type=hidden name=dl_id value='<? echo $dl_id ?>'> <table class="frm_tbl">
<colgroup width=15%></colgroup> <colgroup>
<colgroup width=85% bgcolor=#ffffff></colgroup> <col class="gird_3">
<tr><td colspan=2 height=2 bgcolor=#0E87F9></td></tr> <col class="grid_13">
<tr class=ht> </colgroup>
<td>배송회사명</td> <tbody>
<td><input type=text class=ed name=dl_company value='<? echo stripslashes($dl['dl_company']) ?>' required itemname="배송회사명"></td> <tr >
</tr> <th scope="col"><label for="dl_company">배송회사명</label></th>
<tr class=ht> <td>
<td>화물추적 URL</td> <input type="text" name="dl_company" value="<? echo stripslashes($dl['dl_company']) ?>" id="dl_company" required class="frm_input">
<td><input type=text class=ed name=dl_url value='<? echo stripslashes($dl['dl_url']) ?>' style='width:98%;'></td> </td>
</tr> </tr>
<tr class=ht> <tr >
<td>고객센터 전화</td> <th scope="col"><label for="dl_url">화물추적 URL</label></th>
<td><input type=text class=ed name=dl_tel value='<? echo stripslashes($dl['dl_tel']) ?>'></td> <td>
</tr> <input type="text" class="frm_input" name="dl_url" value="<? echo stripslashes($dl['dl_url']) ?>" id="dl_url" size="120">
<tr class=ht> </td>
<td>출력 순서</td> </tr>
<td> <tr >
<?=order_select("dl_order", $dl['dl_order'])?> <th scope="col"><label for="dl_tel">고객센터 전화</label></th>
<?=help("셀렉트박스에서 출력할 때 순서를 정합니다.\n\n숫자가 작을수록 상단에 출력합니다.");?> <td>
</td> <input type="text" class="frm_input" name="dl_tel" value="<? echo stripslashes($dl['dl_tel']) ?>" id="dl_tel">
</tr> </td>
<tr><td colspan=2 height=1 bgcolor=#CCCCCC></td></tr> </tr>
</table> <tr >
<th scope="col"><label for="dl_order">출력 순서</label></th>
<td>
<?=help("셀렉트박스에서 출력할 때 순서를 정합니다.\n\n숫자가 작을수록 상단에 출력합니다.");?>
<?=order_select("dl_order", $dl['dl_order'])?>
</td>
</tr>
</tbody>
</table>
</section>
<p align=center> <div class="btn_confirm">
<input type=submit class=btn1 accesskey='s' value=' 확 인 '>&nbsp; <input type="submit" value="확인" class="btn_submit" accesskey="s">
<input type=button class=btn1 accesskey='l' value=' 목 록 ' onclick="document.location.href='./deliverycodelist.php';"> <a href="./deliverycodelist.php">목록</a>
</div>
</form> </form>
<? <?

View File

@ -99,7 +99,7 @@ function frmfaqform_check(f)
return true; return true;
} }
document.getElementById('fa_order').focus(); // document.getElementById('fa_order').focus(); 포커스 해제
</script> </script>
<? <?