관리자 경로 수정 작업중
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
<?
|
||||
$sub_menu = "500125";
|
||||
include_once("./_common.php");
|
||||
$sub_menu = '500125';
|
||||
include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$g4[title] = "배송일괄등록";
|
||||
include_once ("$g4[admin_path]/admin.head.php");
|
||||
$g4['title'] = '배송일괄등록';
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<table width=550><tr><td>
|
||||
|
||||
<?=subtitle($g4[title])?>
|
||||
<?=subtitle($g4['title'])?>
|
||||
|
||||
<form name="finvoicebundle" method="post" action="invoicebundleupdate.php" onsubmit="return finvoicebundle_submit(this);" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type=hidden name=case value="1">
|
||||
@ -23,7 +23,7 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<td>CSV 파일</td>
|
||||
<td class=lh style='padding:3px 0 3px 0;'>
|
||||
<input type=file name='csv_file' size=40 class='ed'>
|
||||
<br><font color=crimson>주문내역출력에서 다운로드 받은 CSV 파일에 운송장번호만 입력하신 후 저장하여,
|
||||
<br><font color=crimson>주문내역출력에서 다운로드 받은 CSV 파일에 운송장번호만 입력하신 후 저장하여,
|
||||
반드시 이 CSV 파일로만 업로드 하시기 바랍니다.</font>
|
||||
</td>
|
||||
</tr>
|
||||
@ -33,10 +33,10 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<select name=dl_id>
|
||||
<option value=''>배송회사를 선택하세요.
|
||||
<?
|
||||
$sql = "select * from $g4[yc4_delivery_table] order by dl_order desc, dl_id desc ";
|
||||
$sql = "select * from {$g4['yc4_delivery_table']} order by dl_order desc, dl_id desc ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
echo "<option value='$row[dl_id]'>$row[dl_company]\n";
|
||||
echo "<option value='{$row['dl_id']}'>{$row['dl_company']}\n";
|
||||
mysql_free_result($result);
|
||||
?>
|
||||
</select>
|
||||
@ -47,7 +47,7 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
<td>
|
||||
<input type=text name='od_invoice_time' maxlength=19 class='ed'>
|
||||
<input type=checkbox name=od_invoice_chk
|
||||
value="<? echo date("Y-m-d H:i:s", $g4['server_time']); ?>"
|
||||
value="<? echo date("Y-m-d H:i:s", G4_SERVER_TIME); ?>"
|
||||
onclick="if (this.checked == true) this.form.od_invoice_time.value=this.form.od_invoice_chk.value; else this.form.od_invoice_time.value = this.form.od_invoice_time.defaultValue;">현재 시간
|
||||
</td>
|
||||
</tr>
|
||||
@ -79,22 +79,22 @@ include_once ("$g4[admin_path]/admin.head.php");
|
||||
</td></tr></table>
|
||||
|
||||
<script>
|
||||
function finvoicebundle_submit(f)
|
||||
function finvoicebundle_submit(f)
|
||||
{
|
||||
if (!f.csv_file.value)
|
||||
if (!f.csv_file.value)
|
||||
{
|
||||
alert('배송일괄 처리할 CSV 파일을 선택하십시오.');
|
||||
f.csv_file.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!f.csv_file.value.match(/\.(csv)$/i))
|
||||
{
|
||||
if (!f.csv_file.value.match(/\.(csv)$/i))
|
||||
{
|
||||
alert("쉼표로 분리(CSV : comma separated value) 된 파일이 아닙니다.\n\n예) filename.csv (확장자가 csv 인 파일만 업로드 가능합니다.)");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!f.dl_id.value)
|
||||
if (!f.dl_id.value)
|
||||
{
|
||||
alert('배송회사를 선택하세요.');
|
||||
f.dl_id.focus();
|
||||
@ -106,5 +106,5 @@ function finvoicebundle_submit(f)
|
||||
</script>
|
||||
|
||||
<?
|
||||
include_once ("$g4[admin_path]/admin.tail.php");
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user