관리자: 쇼핑몰 따옴표 없거나 홑따옴표 쌍따옴표로

This commit is contained in:
whitedot
2013-01-30 16:18:00 +09:00
parent a8d750659c
commit 6c85d1a566
49 changed files with 795 additions and 794 deletions

View File

@ -34,7 +34,7 @@ if ($sel_ca_id != "") {
if ($sel_field == "") $sel_field = "od_id";
$sql_common = " from $g4[yc4_order_table] a
left join $g4[yc4_cart_table] b on (a.on_uid=b.on_uid)
left join $g4[yc4_cart_table] b on (a.on_uid="b".on_uid)
$sql_search ";
// 테이블의 전체 레코드수만 얻음
@ -71,24 +71,24 @@ $qstr1 = "sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&chk_misu=$chk
$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
?>
<form name=flist autocomplete='off' style="margin:0px;">
<input type=hidden name=doc value="<?=$doc?>">
<input type=hidden name=page value="<?=$page?>">
<table width=100% cellpadding=4 cellspacing=0>
<form id="flist" name="flist" autocomplete='off' style="margin:0px;">
<input type="hidden" id="doc" name="doc" value="<?=$doc?>">
<input type="hidden" id="page" name="page" value="<?=$page?>">
<table>
<tr>
<td width=20%><a href='<?=$_SERVER[PHP_SELF]?>'>처음</a></td>
<td width=60% align=center>
<label><input type="checkbox" name="chk_misu" value="1" <?=$chk_misu?"checked='checked'":"";?> /> 미수금없음</label>
<label><input type="checkbox" id="chk_misu" name="chk_misu" value="1" <?=$chk_misu?"checked='checked'":"";?> /> 미수금없음</label>
&nbsp;&nbsp;
<select name=sel_field>
<select id="sel_field" name="sel_field">
<option value='od_id'>주문번호
<option value='od_name'>주문자
<option value='od_invoice'>운송장번호
</select>
<? if ($sel_field) echo "<script> document.flist.sel_field.value = '$sel_field';</script>"; ?>
<input type=text name=search value='<? echo $search ?>'>
<input type=image src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
<input type="text" id="search" name="search" value='<? echo $search ?>'>
<input type="image" src='<?=$g4[admin_path]?>/img/btn_search.gif' align=absmiddle>
</td>
<td width=20% align=right>건수 : <? echo $total_count ?>&nbsp;</td>
</tr>
@ -96,13 +96,13 @@ $qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
</form>
<form name=fdeliverylistupate method=post action="./deliverylistupdate.php" autocomplete='off' style="margin:0px;">
<input type=hidden name=sel_ca_id value="<? echo $sel_ca_id ?>">
<input type=hidden name=sel_field value="<? echo $sel_field ?>">
<input type=hidden name=search value="<? echo $search ?>">
<input type=hidden name=page value="<? echo $page ?>">
<input type=hidden name=sort1 value="<? echo $sort1 ?>">
<input type=hidden name=sort2 value="<? echo $sort2 ?>">
<form id="fdeliverylistupate" name="fdeliverylistupate" method=post action="./deliverylistupdate.php" autocomplete='off' style="margin:0px;">
<input type="hidden" id="sel_ca_id" name="sel_ca_id" value="<? echo $sel_ca_id ?>">
<input type="hidden" id="sel_field" name="sel_field" value="<? echo $sel_field ?>">
<input type="hidden" id="search" name="search" value="<? echo $search ?>">
<input type="hidden" id="page" name="page" value="<? echo $page ?>">
<input type="hidden" id="sort1" name="sort1" value="<? echo $sort1 ?>">
<input type="hidden" id="sort2" name="sort2" value="<? echo $sort2 ?>">
<table cellpadding=0 cellspacing=0 width=100% border=0>
<colgroup width=70>
<colgroup width=100>
@ -153,8 +153,8 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
$list = $i%2;
echo "
<input type='hidden' name='od_id[$i]' value='$row[od_id]'>
<input type='hidden' name='on_uid[$i]' value='$row[on_uid]'>
<input type="hidden" name='od_id[$i]' value='$row[od_id]'>
<input type="hidden" name='on_uid[$i]' value='$row[on_uid]'>
<tr class='list$list center ht'>
<td><a href='./orderform.php?od_id=$row[od_id]'>$row[od_id]</a></td>
<td>$row[od_name]</td>
@ -162,17 +162,17 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
<td align=right>".display_amount($row[receiptamount])."&nbsp;</td>
<td align=right>".display_amount($row[misu])."&nbsp;</td>
<td>$hope_date</td>
<td><input type='text' name='od_invoice_time[$i]' class=ed size=20 maxlength=19 value='$invoice_time'></td>
<td><input type="text" name='od_invoice_time[$i]' class=ed size=20 maxlength=19 value='$invoice_time'></td>
<td>
<select name=dl_id[$i]>
<select id="dl_id" name="dl_id"[$i]>
<option value=''>--------
$delivery_options
</select>
</td>
<!-- 값이 바뀌었는지 비교하기 위하여 저장 -->
<input type='hidden' name='save_dl_id[$i]' value='$row[dl_id]'>
<input type='hidden' name='save_od_invoice[$i]' value='$row[od_invoice]'>
<td><input type='text' name='od_invoice[$i]' class=ed size=10 value='$row[od_invoice]'></td>
<input type="hidden" name='save_dl_id[$i]' value='$row[dl_id]'>
<input type="hidden" name='save_od_invoice[$i]' value='$row[od_invoice]'>
<td><input type="text" name='od_invoice[$i]' class=ed size=10 value='$row[od_invoice]'></td>
<td>$row[it_hit]</td>
</tr>";
@ -193,9 +193,9 @@ if ($i == 0)
<td width=50%>
<table>
<tr>
<td><input type=checkbox name='od_send_mail' value='1' checked> 메일발송&nbsp;</td>
<td><input type=checkbox name='send_sms' value='1' checked> SMS&nbsp;</td>
<td><input type=submit class=btn1 accesskey='s' value='일괄수정'></td>
<td><input type="checkbox" id="od_send_mail" name="od_send_mail" value='1' checked> 메일발송&nbsp;</td>
<td><input type="checkbox" id="send_sms" name="send_sms" value='1' checked> SMS&nbsp;</td>
<td><input type="submit" class=btn1 accesskey='s' value='일괄수정'></td>
</tr>
</table>
</td>